/* Negozio WooCommerce — griglia URBS + filtri */

body.urbs-shop-page,
body.post-type-archive-product {
	background-color: #f2f2f2 !important;
}

body.urbs-shop-page .site-main,
body.urbs-shop-page #content,
body.post-type-archive-product .site-main,
body.post-type-archive-product #content {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow-x: hidden;
	background-color: #f2f2f2 !important;
}

body.urbs-shop-page .page-header,
body.urbs-shop-page .woocommerce-products-header,
body.post-type-archive-product .page-header,
body.post-type-archive-product .woocommerce-products-header {
	display: none;
}

.urbs-shop-top-bar {
	display: flex;
	align-items: center;
	padding: 20px;
	border-bottom: 1px solid #e0e0e0;
	background: #f2f2f2;
}

.urbs-shop-filter-trigger {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	border: 0;
	background: none;
	color: #000;
	font-family: 'Afacad', sans-serif;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
}

.urbs-shop-filter-trigger:hover,
.urbs-shop-filter-trigger:focus {
	color: #000;
	outline: none;
	box-shadow: none;
}

.urbs-shop-empty {
	margin: 0;
	padding: 48px 20px;
	text-align: center;
	font-family: 'Afacad', sans-serif;
}

.urbs-shop-pagination {
	margin: 48px 0 64px;
	text-align: center;
}

.urbs-shop-pagination .page-numbers {
	display: inline-flex;
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.urbs-shop-pagination .page-numbers li {
	margin: 0;
}

.urbs-shop-pagination a.page-numbers,
.urbs-shop-pagination span.page-numbers {
	font-family: 'Afacad', sans-serif;
	color: #000;
	text-decoration: none;
	font-size: 16px;
	padding: 8px 12px;
}

.urbs-shop-pagination span.page-numbers.current {
	border-bottom: 2px solid #000;
	font-weight: 600;
}

.urbs-shop-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 100000000;
	backdrop-filter: blur(3px);
}

.urbs-shop-overlay.is-active {
	display: block;
}

.urbs-shop-sidebar {
	position: fixed;
	top: 0;
	right: -100%;
	width: 380px;
	max-width: 85vw;
	height: 100vh;
	background: #fff;
	z-index: 100000001;
	padding: 40px;
	box-sizing: border-box;
	overflow-y: auto;
	transition: right 0.45s cubic-bezier(0.77, 0, 0.175, 1);
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}

.urbs-shop-sidebar.is-active {
	right: 0;
}

.urbs-shop-sidebar__close {
	display: block;
	width: 100%;
	margin: 0 0 32px;
	padding: 0;
	border: 0;
	background: none;
	text-align: right;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.urbs-shop-sidebar__title {
	margin: 0 0 24px;
	padding-bottom: 10px;
	border-bottom: 2px solid #000;
	font-family: 'Afacad', sans-serif;
	font-size: 18px;
	font-weight: 600;
	text-transform: uppercase;
}

.urbs-shop-sidebar__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.urbs-shop-sidebar__list li {
	margin: 0 0 14px;
}

.urbs-shop-sidebar__list a {
	color: #666;
	text-decoration: none;
	font-family: 'Afacad', sans-serif;
	font-size: 16px;
	transition: color 0.2s ease, padding-left 0.2s ease;
}

.urbs-shop-sidebar__list a:hover {
	color: #000;
	padding-left: 4px;
}

@media (max-width: 768px) {
	.urbs-shop-top-bar {
		padding: 15px;
	}
}
