/* -----------------------------------------------------------------------
   Desktop Filter Section
----------------------------------------------------------------------- */
.geno-wc-shop *{
	font-family: 'Century Gothic',Helvetica,Arial,Lucida,sans-serif;
}
.geno-shop-filter-section {
	margin-bottom: 32px;
}

.geno-filter-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 15px;
	color: #333;
	margin: 0 0 14px;
}

.geno-filter-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.geno-filter-pill {
	display: inline-block;
	padding: 8px 18px;
	border: 1.5px solid #ccc;
	border-radius: 999px;
	background: #fff;
	color: #333;
	font-size: 14px;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.18s, color 0.18s, border-color 0.18s;
	white-space: nowrap;
}

.geno-filter-pill:hover {
	border-color: #8C1C2C;
	color: #8C1C2C;
}

.geno-filter-pill.active {
	background: #8C1C2C;
	border-color: #8C1C2C;
	color: #fff;
}

/* -----------------------------------------------------------------------
   Mobile bar & offcanvas trigger
----------------------------------------------------------------------- */
.geno-shop-mobile-bar {
	display: none;
	margin-bottom: 20px;
}

.geno-filter-open-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border: 1.5px solid #333;
	border-radius: 6px;
	background: #fff;
	color: #333;
	font-size: 14px;
	font-family: inherit;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.geno-filter-open-btn:hover {
	background: #333;
	color: #fff;
}

/* -----------------------------------------------------------------------
   Offcanvas Sidebar
----------------------------------------------------------------------- */
.geno-filter-offcanvas {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 300px;
	max-width: 85vw;
	background: #fff;
	z-index: 9000;
	transform: translateX( -100% );
	transition: transform 0.3s ease;
	overflow-y: auto;
}

.geno-filter-offcanvas.is-open {
	transform: translateX( 0 );
}

.geno-offcanvas-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba( 0, 0, 0, 0.45 );
	z-index: 8999;
}

.geno-offcanvas-overlay.is-visible {
	display: block;
}

.geno-offcanvas-inner {
	padding: 24px 20px;
}

.geno-offcanvas-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
	font-weight: 600;
	font-size: 16px;
}
.geno-offcanvas-pills {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.geno-filter-close-btn {
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	line-height: 1;
	color: #555;
	padding: 4px;
}

.geno-offcanvas-pills .geno-filter-pills {
	flex-direction: column;
	gap: 8px;
}

.geno-offcanvas-pills .geno-filter-pill {
	width: 100%;
	text-align: left;
	border-radius: 8px;
}

/* -----------------------------------------------------------------------
   Product Grid — 4 columns desktop
----------------------------------------------------------------------- */
.geno-product-grid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 24px;
}

.geno-no-products {
	text-align: center;
	color: #777;
	padding: 40px 0;
}

/* -----------------------------------------------------------------------
   Product Card
----------------------------------------------------------------------- */
.geno-product-card {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 6px rgba( 0, 0, 0, 0.08 );
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s;
	border: 1px solid #e5e7eb;
}

.geno-product-card:hover {
	box-shadow: 0 4px 18px rgba( 0, 0, 0, 0.13 );
}

.geno-product-image {
	background: #F3F1EB;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.geno-product-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.geno-product-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 16px;
	box-sizing: border-box;
	transition: transform 0.25s ease;
}

.geno-product-card:hover .geno-product-img {
	transform: scale( 1.04 );
}

.geno-product-body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 8px;
}

.geno-product-title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0;
}

.geno-product-title a {
	color: #111;
	text-decoration: none;
}

.geno-product-title a:hover {
	color: #8C1C2C;
}

.geno-product-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}

.geno-cat-tag {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 999px;
	font-size: 12px;
	line-height: 16px;
	color: #364153;
	background-color: #F1EDE5;
}

.geno-product-excerpt {
	font-size: 13px;
	color: #666;
	line-height: 1.5;
	margin: 0 0 16px 0;
	flex: 1;
}

.geno-product-price-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
}

.geno-price {
	font-size: 24px;
	font-weight: 700;
	color: #8C1C2C;
}

.geno-price .woocommerce-Price-amount {
	color: inherit;
}

.geno-price-original {
	font-size: 13px;
	font-weight: 400;
	color: #999;
}

.geno-price-original del {
	text-decoration: line-through;
}

.geno-product-sku {
	font-size: 12px;
	color: #6a7282;
	margin-left: auto;
}

/* Add to Cart button */
.geno-add-to-cart-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 11px 16px;
	border: none;
	border-radius: 6px;
	background: #8C1C2C;
	color: #fff;
	font-size: 14px;
	font-family: inherit;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.18s;
	margin-top: auto;
}

.geno-add-to-cart-btn:hover:not( :disabled ) {
	background: #7e1717;
}

.geno-add-to-cart-btn.out-of-stock,
.geno-add-to-cart-btn:disabled {
	background: #ccc;
	color: #888;
	cursor: default;
}

/* -----------------------------------------------------------------------
   Results loading state
----------------------------------------------------------------------- */
.geno-shop-results.geno-loading {
	opacity: 0.5;
	pointer-events: none;
	min-height: 200px;
}

/* -----------------------------------------------------------------------
   Responsive — tablet
----------------------------------------------------------------------- */
@media ( max-width: 1100px ) {
	.geno-product-grid {
		grid-template-columns: repeat( 3, 1fr );
	}
}

@media ( max-width: 740px ) {
	.geno-product-grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

/* -----------------------------------------------------------------------
   Responsive — mobile (<980px): hide desktop filters, show offcanvas trigger
----------------------------------------------------------------------- */
@media ( max-width: 980px ) {
	.geno-shop-filter-section {
		display: none;
	}

	.geno-shop-mobile-bar {
		display: block;
	}
}

@media ( max-width: 480px ) {
	.geno-product-grid {
		grid-template-columns: 1fr;
	}
}
