/* ==========================================================================
   Shop / Archive Product Styles - Nosaci Farova
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shop Categories Grid (above products on main shop page)
   -------------------------------------------------------------------------- */

.shop-categories {
	padding: 30px 0 10px;
	background: var(--color-white);
}

.shop-categories__grid {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	justify-content: center;
	padding-bottom: 10px;
}

.shop-cat-card {
	flex: 0 0 auto;
	width: 150px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: inherit;
	transition: transform var(--transition);
}

.shop-cat-card:hover {
	transform: translateY(-4px);
}

.shop-cat-card__image {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--color-light);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
	border: 2px solid var(--color-border);
	transition: border-color var(--transition), box-shadow var(--transition);
}

.shop-cat-card:hover .shop-cat-card__image {
	border-color: var(--color-primary);
	box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.15);
}

.shop-cat-card__image img {
	width: 80%;
	height: 80%;
	object-fit: contain;
}

.shop-cat-card__initial {
	font-family: var(--font-heading);
	font-size: 2rem;
	font-weight: 800;
	color: var(--color-primary);
	opacity: 0.3;
}

.shop-cat-card__info {
	text-align: center;
}

.shop-cat-card__name {
	display: block;
	font-family: var(--font-heading);
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--color-dark);
	margin-bottom: 2px;
}

.shop-cat-card__count {
	font-size: 0.75rem;
	color: var(--color-text-light);
}

@media (max-width: 768px) {
	.shop-categories__grid {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.shop-categories__grid::-webkit-scrollbar {
		height: 4px;
	}

	.shop-categories__grid::-webkit-scrollbar-thumb {
		background: var(--color-light-2);
		border-radius: 2px;
	}

	.shop-cat-card {
		width: 120px;
		scroll-snap-align: start;
	}

	.shop-cat-card__image {
		width: 80px;
		height: 80px;
	}
}

/* --------------------------------------------------------------------------
   Shop Hero Banner
   -------------------------------------------------------------------------- */

.shop-hero {
	background-color: var(--color-dark);
	padding: 60px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
	min-height: 250px;
	display: flex;
	align-items: center;
}

.shop-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-2) 50%, var(--color-dark-3) 100%);
	z-index: 0;
}

.shop-hero .container {
	position: relative;
	z-index: 1;
}

.shop-hero h1 {
	color: var(--color-white);
	font-size: 2.5rem;
	font-family: var(--font-heading);
	font-weight: 800;
	margin-bottom: 14px;
}

/* Category submenu in hero */
.shop-hero__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.shop-hero__cat-link {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 50px;
	font-size: 0.85rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.2);
	text-decoration: none;
	transition: all var(--transition);
}

.shop-hero__cat-link:hover {
	color: var(--color-white);
	border-color: rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.1);
}

.shop-hero__cat-link--active {
	color: var(--color-white);
	background: var(--color-primary);
	border-color: var(--color-primary);
}

.shop-hero__cat-link--active:hover {
	background: var(--color-primary-dark);
	border-color: var(--color-primary-dark);
	letter-spacing: -0.5px;
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */

.shop-breadcrumb {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	font-size: 0.95rem;
}

.shop-breadcrumb a {
	color: rgba(255, 255, 255, 0.6);
	transition: color var(--transition);
}

.shop-breadcrumb a:hover {
	color: var(--color-white);
}

.shop-breadcrumb__separator {
	color: rgba(255, 255, 255, 0.3);
	margin: 0 10px;
	font-size: 0.85rem;
}

.shop-breadcrumb__current {
	color: var(--color-white);
	font-weight: 500;
}

/* --------------------------------------------------------------------------
   Category Description (in hero)
   -------------------------------------------------------------------------- */

.shop-hero__description {
	max-width: 700px;
	margin: 16px auto 0;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.95rem;
	line-height: 1.7;
}

.shop-hero__description p {
	margin: 0;
}

/* --------------------------------------------------------------------------
   Category Long Description (SEO, after products)
   -------------------------------------------------------------------------- */

.shop-long-description {
	padding: 60px 0 80px;
	background: var(--color-light);
	border-top: 1px solid var(--color-border);
}

.shop-long-description__content {
	max-width: 900px;
	margin: 0 auto;
	font-size: 0.9375rem;
	line-height: 1.8;
	color: var(--color-text);
}

.shop-long-description__content h1,
.shop-long-description__content h2,
.shop-long-description__content h3,
.shop-long-description__content h4 {
	font-family: var(--font-heading);
	color: var(--color-dark);
	margin-top: 32px;
	margin-bottom: 12px;
}

.shop-long-description__content h2 {
	font-size: 1.5rem;
	font-weight: 700;
}

.shop-long-description__content h3 {
	font-size: 1.25rem;
	font-weight: 600;
}

.shop-long-description__content h4 {
	font-size: 1.0625rem;
	font-weight: 600;
}

.shop-long-description__content p {
	margin-bottom: 16px;
}

.shop-long-description__content ul,
.shop-long-description__content ol {
	margin: 12px 0 16px 20px;
}

.shop-long-description__content li {
	margin-bottom: 6px;
	line-height: 1.7;
}

.shop-long-description__content a {
	color: var(--color-primary);
	text-decoration: none;
	font-weight: 500;
	transition: color var(--transition);
}

.shop-long-description__content a:hover {
	color: var(--color-primary-dark);
	text-decoration: underline;
}

.shop-long-description__content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius);
	margin: 16px 0;
}

.shop-long-description__content blockquote {
	border-left: 4px solid var(--color-primary);
	padding: 16px 20px;
	margin: 20px 0;
	background: var(--color-white);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-style: italic;
	color: var(--color-text-light);
}

.shop-long-description__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 16px 0;
}

.shop-long-description__content th,
.shop-long-description__content td {
	padding: 10px 14px;
	border: 1px solid var(--color-border);
	text-align: left;
}

.shop-long-description__content th {
	background: var(--color-dark);
	color: var(--color-white);
	font-family: var(--font-heading);
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   Shop Content Area
   -------------------------------------------------------------------------- */

.shop-content {
	padding: 0 0 80px;
}

/* --------------------------------------------------------------------------
   Shop Layout: Sidebar + Products Grid
   -------------------------------------------------------------------------- */

.shop-layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 30px;
	padding: 30px 0 0;
}

/* --------------------------------------------------------------------------
   Filter Sidebar
   -------------------------------------------------------------------------- */

.shop-filters {
	position: sticky;
	top: 100px;
	align-self: start;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.shop-filters__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--color-border);
	background: var(--color-light);
}

.shop-filters__header h3 {
	font-size: 1rem;
	font-weight: 700;
	margin: 0;
}

.shop-filters__close {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--color-text-light);
	padding: 4px;
}

.shop-filters__body {
	padding: 20px;
}

.shop-filter-group {
	margin-bottom: 20px;
}

.shop-filter-group:last-child {
	margin-bottom: 0;
}

.shop-filter-group label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-dark);
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.shop-filter-group select {
	width: 100%;
	padding: 10px 36px 10px 14px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-size: 0.9rem;
	font-family: var(--font-body);
	background-color: var(--color-white);
	cursor: pointer;
	transition: border-color var(--transition);
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}

.shop-filter-group select:focus {
	border-color: var(--color-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.shop-filter-group input[type="text"] {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-size: 0.9rem;
	font-family: var(--font-body);
	background-color: var(--color-white);
	transition: border-color var(--transition);
	box-sizing: border-box;
}

.shop-filter-group input[type="text"]:focus {
	border-color: var(--color-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.shop-filters__footer {
	padding: 16px 20px;
	border-top: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.shop-filters__footer .btn {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 10px 16px;
	font-size: 0.85rem;
	font-weight: 600;
	border-radius: var(--radius);
	cursor: pointer;
	border: none;
	transition: background var(--transition), color var(--transition);
}

.shop-filters__footer .btn--primary {
	background: var(--color-primary);
	color: var(--color-white);
}

.shop-filters__footer .btn--primary:hover {
	background: var(--color-primary-dark);
}

.shop-filters__footer .btn--outline {
	background: transparent;
	color: var(--color-text-light);
	border: 1px solid var(--color-border);
}

.shop-filters__footer .btn--outline:hover {
	border-color: var(--color-dark);
	color: var(--color-dark);
}

/* --------------------------------------------------------------------------
   Filter Overlay (mobile)
   -------------------------------------------------------------------------- */

.shop-filters__overlay {
	display: none;
}

/* --------------------------------------------------------------------------
   Mobile Filter Toggle Button
   -------------------------------------------------------------------------- */

.shop-filter-toggle-wrap {
	display: none;
	padding: 30px 0 0 0;
	max-width: var(--container-width);
	margin: 0 auto;
}

.shop-filter-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-weight: 600;
	font-size: 0.9rem;
	font-family: var(--font-body);
	cursor: pointer;
	color: var(--color-dark);
	transition: all var(--transition);
}

.shop-filter-toggle:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.shop-filter-toggle svg {
	color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Results Count
   -------------------------------------------------------------------------- */

.shop-results-count {
	margin-bottom: 20px;
	font-size: 0.9rem;
	color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   Products Container (relative for loading overlay)
   -------------------------------------------------------------------------- */

.shop-products {
	position: relative;
	min-height: 200px;
}

/* --------------------------------------------------------------------------
   Loading Overlay
   -------------------------------------------------------------------------- */

.shop-loading {
	display: none;
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.8);
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 12px;
	z-index: 10;
	border-radius: var(--radius);
}

.shop-loading__spinner {
	width: 36px;
	height: 36px;
	border: 3px solid var(--color-border);
	border-top-color: var(--color-primary);
	border-radius: 50%;
	animation: nf-spin 0.8s linear infinite;
}

@keyframes nf-spin {
	to {
		transform: rotate(360deg);
	}
}

.shop-loading span {
	font-size: 0.9rem;
	color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   No Results
   -------------------------------------------------------------------------- */

.shop-no-results {
	text-align: center;
	padding: 60px 20px;
	color: var(--color-text-light);
}

.shop-no-results p {
	margin-bottom: 16px;
	font-size: 1.05rem;
}

.shop-no-results .btn--outline {
	display: inline-block;
	padding: 10px 24px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	color: var(--color-text);
	background: transparent;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all var(--transition);
}

.shop-no-results .btn--outline:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Shop Toolbar
   -------------------------------------------------------------------------- */

.shop-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	margin-bottom: 30px;
	border-bottom: 1px solid var(--color-border);
}

.shop-toolbar .woocommerce-result-count {
	color: var(--color-text-light);
	font-size: 0.95rem;
	margin: 0;
}

.shop-toolbar .woocommerce-ordering {
	margin: 0;
}

.shop-toolbar .woocommerce-ordering select {
	padding: 10px 40px 10px 16px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-size: 0.9rem;
	color: var(--color-text);
	background-color: var(--color-white);
	cursor: pointer;
	min-width: 200px;
	transition: border-color var(--transition);
}

.shop-toolbar .woocommerce-ordering select:hover,
.shop-toolbar .woocommerce-ordering select:focus {
	border-color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Product Grid
   -------------------------------------------------------------------------- */

ul.products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	list-style: none;
	padding: 0;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Product Card
   -------------------------------------------------------------------------- */

li.product,
.product-card {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform var(--transition), box-shadow var(--transition);
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
}

li.product:hover,
.product-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
}

/* Product Card - Image Area */
.product-card__image-wrap {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: var(--color-light);
	display: block;
}

.product-card__image-wrap img,
.product-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
	display: block;
}

.product-card:hover .product-card__image-wrap img,
.product-card:hover .product-card__image {
	transform: scale(1.05);
}

/* Sale Badge */
.product-card__sale-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: var(--color-primary);
	color: var(--color-white);
	padding: 6px 14px;
	border-radius: var(--radius);
	font-size: 0.8rem;
	font-weight: 700;
	z-index: 2;
	line-height: 1.3;
	letter-spacing: 0.3px;
}

/* Product Card - Content Area */
.product-card__content {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

/* Category Label */
.product-card__category,
.product-category-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--color-primary);
	font-weight: 600;
	margin-bottom: 6px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	line-height: 1.3;
}

.product-card__category svg,
.product-category-label svg {
	flex-shrink: 0;
	width: 12px;
	height: 12px;
}

.product-card__category-img,
.products__category-img {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	object-fit: contain;
	flex-shrink: 0;
}

/* Product Title */
.product-card__title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-dark);
	margin-bottom: 10px;
	line-height: 1.4;
	font-family: var(--font-heading);
}

.product-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color var(--transition);
}

.product-card__title a:hover {
	color: var(--color-primary);
}

/* WooCommerce default title class (fallback) */
.woocommerce-loop-product__title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-dark);
	margin-bottom: 10px;
	line-height: 1.4;
	font-family: var(--font-heading);
}

/* Product Price */
.product-card__price,
li.product .price,
.product-card .price {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--color-dark);
	margin-bottom: 15px;
}

li.product .price del,
.product-card .price del,
.product-card__price del {
	color: var(--color-text-light);
	font-weight: 400;
	font-size: 0.9rem;
	margin-right: 6px;
}

li.product .price ins,
.product-card .price ins,
.product-card__price ins {
	text-decoration: none;
	color: var(--color-primary);
	font-weight: 700;
}

/* Add to Cart Button */
.product-card__actions {
	margin-top: auto;
}

.product-card__actions .button,
li.product .button,
.product-card .button {
	display: block;
	width: 100%;
	text-align: center;
	padding: 12px;
	background: var(--color-dark);
	color: var(--color-white);
	border-radius: var(--radius);
	font-weight: 600;
	font-size: 0.9rem;
	font-family: var(--font-body);
	border: none;
	cursor: pointer;
	transition: background var(--transition), transform var(--transition);
	line-height: 1.4;
	text-decoration: none;
}

.product-card__actions .button:hover,
li.product .button:hover,
.product-card .button:hover {
	background: var(--color-primary);
	color: var(--color-white);
}

.product-card__actions .added_to_cart,
li.product .added_to_cart {
	display: block;
	width: 100%;
	text-align: center;
	padding: 8px;
	color: var(--color-primary);
	font-weight: 600;
	font-size: 0.85rem;
	margin-top: 6px;
	text-decoration: none;
	transition: color var(--transition);
}

.product-card__actions .added_to_cart:hover,
li.product .added_to_cart:hover {
	color: var(--color-primary-dark);
}

/* Hide WooCommerce default sale flash (we use custom badge) */
li.product .onsale,
.product-card .onsale {
	display: none;
}

/* --------------------------------------------------------------------------
   Load More Button
   -------------------------------------------------------------------------- */

.shop-load-more-wrap {
	text-align: center;
	margin-top: 40px;
	padding-top: 10px;
}

.shop-load-more-wrap button.shop-load-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 200px;
	padding: 14px 36px;
	background: var(--color-dark);
	color: var(--color-white);
	border: none;
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: background var(--transition), transform var(--transition);
}

.shop-load-more-wrap button.shop-load-more:hover {
	background: var(--color-primary);
	transform: translateY(-2px);
}

.shop-load-more-wrap button.shop-load-more:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

/* --------------------------------------------------------------------------
   No Products Found
   -------------------------------------------------------------------------- */

.woocommerce-no-products-found {
	text-align: center;
	padding: 60px 20px;
}

.woocommerce-no-products-found .woocommerce-info {
	font-size: 1.1rem;
	color: var(--color-text-light);
	background: var(--color-light);
	padding: 30px;
	border-radius: var(--radius-lg);
	border: none;
	box-shadow: none;
}

.woocommerce-no-products-found .woocommerce-info::before {
	display: none;
}

/* --------------------------------------------------------------------------
   WooCommerce Notices (on shop page)
   -------------------------------------------------------------------------- */

.shop-content .woocommerce-message,
.shop-content .woocommerce-info,
.shop-content .woocommerce-error {
	padding: 16px 20px;
	border-radius: var(--radius);
	margin-bottom: 20px;
	font-size: 0.95rem;
}

.shop-content .woocommerce-message {
	background: #f0fdf4;
	border-left: 4px solid #22c55e;
	border-top: none;
}

.shop-content .woocommerce-error {
	background: #fef2f2;
	border-left: 4px solid var(--color-primary);
	border-top: none;
}

.shop-content .woocommerce-message .button,
.shop-content .woocommerce-info .button {
	float: right;
	padding: 8px 16px;
	background: var(--color-primary);
	color: var(--color-white);
	border-radius: var(--radius);
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	transition: background var(--transition);
}

.shop-content .woocommerce-message .button:hover,
.shop-content .woocommerce-info .button:hover {
	background: var(--color-primary-dark);
}

/* --------------------------------------------------------------------------
   Responsive: Tablet (max-width: 1024px) - 3 columns
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	ul.products {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}

	.shop-hero h1 {
		font-size: 2rem;
	}

	.shop-layout {
		grid-template-columns: 220px 1fr;
		gap: 20px;
	}
}

/* --------------------------------------------------------------------------
   Responsive: Small Tablet (max-width: 768px) - 2 columns + mobile filters
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
	ul.products {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.shop-hero {
		padding: 40px 0;
	}

	.shop-hero h1 {
		font-size: 1.75rem;
	}

	.shop-hero__description {
		font-size: 0.875rem;
		margin-top: 12px;
	}

	.shop-long-description {
		padding: 40px 0 60px;
	}

	.shop-long-description__content h2 {
		font-size: 1.25rem;
	}

	.shop-content {
		padding: 0 0 60px;
	}

	.product-card__content {
		padding: 16px;
	}

	.product-card__title {
		font-size: 0.9rem;
	}

	.product-card__price,
	li.product .price,
	.product-card .price {
		font-size: 1rem;
		margin-bottom: 12px;
	}

	.product-card__actions .button,
	li.product .button,
	.product-card .button {
		padding: 10px;
		font-size: 0.85rem;
	}

	/* Switch to single column layout */
	.shop-layout {
		grid-template-columns: 1fr;
		gap: 0;
		padding-top: 20px;
	}

	/* Show mobile filter toggle */
	.shop-filter-toggle-wrap {
		display: block;
	}

	/* Filter sidebar becomes slide-in panel */
	.shop-filters {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		max-width: 340px;
		height: 100vh;
		height: 100dvh;
		z-index: 9999;
		border-radius: 0;
		border: none;
		transform: translateX(-100%);
		transition: transform 0.3s ease;
		overflow-y: auto;
		box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
	}

	.shop-filters--open {
		transform: translateX(0);
	}

	.shop-filters__close {
		display: flex;
	}

	/* Overlay behind mobile filter panel */
	.shop-filters__overlay {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.5);
		z-index: 9998;
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease;
	}

	.shop-filters__overlay--open {
		opacity: 1;
		visibility: visible;
	}
}

/* --------------------------------------------------------------------------
   Responsive: Mobile (max-width: 480px) - 1 column (optionally 2 on 400px+)
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {
	ul.products {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.shop-breadcrumb {
		font-size: 0.85rem;
	}

	.shop-filters {
		max-width: 100%;
	}
}

/* Two columns on larger phones */
@media (min-width: 400px) and (max-width: 480px) {
	ul.products {
		grid-template-columns: repeat(2, 1fr);
	}
}
