/**
 * Starter Adult Shop — Product Pages (Shop + Single)
 * Dark tech-seductive aesthetic
 */

/* ===== Global: dark background for WC pages ===== */
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag,
body.single-product {
	background: #0e0a14 !important;
}

/* Widen .site-main */
body.post-type-archive-product .site-main,
body.tax-product_cat .site-main,
body.tax-product_tag .site-main,
body.single-product .site-main {
	max-width: 1200px !important;
	width: 100% !important;
	padding: 2rem 2rem 4rem !important;
	box-sizing: border-box !important;
}

/* ===== Breadcrumb ===== */
.woocommerce-breadcrumb {
	font-size: .8rem;
	color: rgba(255, 255, 255, .4);
	margin-bottom: 1.5rem;
	font-family: 'Inter', sans-serif;
	padding: 0;
}
.woocommerce-breadcrumb a {
	color: rgba(255, 255, 255, .5);
	text-decoration: none;
	transition: color .2s;
}
.woocommerce-breadcrumb a:hover { color: #e8628a; }

/* ===== Result count & ordering bar ===== */
.woocommerce-result-count,
.woocommerce-ordering {
	color: rgba(255, 255, 255, .5);
	font-size: .8rem;
	font-family: 'Inter', sans-serif;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
	width: 100% !important;
}

.woocommerce-ordering select {
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(232, 98, 138, .15);
	color: #fff;
	border-radius: 8px;
	padding: .5rem .75rem;
	font-size: .8rem;
	font-family: 'Inter', sans-serif;
	cursor: pointer;
}
.woocommerce-ordering select:focus {
	outline: none;
	border-color: #e8628a;
}

/* ===== Shop page title ===== */
.woocommerce-products-header__title,
.page-header .entry-title {
	font-family: 'Playfair Display', serif;
	color: #fff;
	font-size: 1.75rem;
	font-weight: 600;
	margin-bottom: .5rem;
}
.term-description,
.page-header .archive-description {
	color: rgba(255, 255, 255, .5);
	font-size: .9rem;
}

/* ===== Product Grid Cards ===== */
ul.products,
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid !important;
	gap: 1.25rem;
	list-style: none;
	padding: 0;
	margin: 0;
	justify-items: stretch;
}
/* WooCommerce clearfix pseudo-elements become grid items — hide them */
ul.products::before,
ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none !important;
	content: none !important;
}
ul.products.columns-3,
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, 1fr) !important; }
ul.products.columns-4,
.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, 1fr) !important; }
ul.products.columns-5,
.woocommerce ul.products.columns-5 { grid-template-columns: repeat(5, 1fr) !important; }

/* When inside sidebar layout, reduce columns by 1 */
.sas-shop-content ul.products.columns-4,
.sas-shop-content .woocommerce ul.products.columns-4 { grid-template-columns: repeat(3, 1fr) !important; }
.sas-shop-content ul.products.columns-5,
.sas-shop-content .woocommerce ul.products.columns-5 { grid-template-columns: repeat(4, 1fr) !important; }
.sas-shop-content ul.products.columns-3,
.sas-shop-content .woocommerce ul.products.columns-3 { grid-template-columns: repeat(2, 1fr) !important; }

ul.products li.product,
.woocommerce ul.products li.product {
	background: linear-gradient(180deg, #1a1028 0%, #150d20 100%);
	border-radius: 14px;
	border: 1px solid rgba(232, 98, 138, .08);
	overflow: hidden;
	transition: all .35s ease;
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
}

ul.products li.product:hover {
	border-color: rgba(232, 98, 138, .2);
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(232, 98, 138, .1);
}
ul.products li.product a img,
ul.products li.product .attachment-woocommerce_thumbnail {
	width: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0;
	margin: 0 !important;
	transition: transform .5s ease;
}
ul.products li.product:hover a img { transform: scale(1.05); }
ul.products li.product .sas-card-img-wrap {
	position: relative;
	overflow: hidden;
}
ul.products li.product .sas-badge {
	position: absolute;
	top: .75rem;
	left: .75rem;
	padding: .25rem .65rem;
	border-radius: 6px;
	font-size: .65rem;
	font-weight: 700;
	font-family: 'Inter', sans-serif;
	text-transform: uppercase;
	letter-spacing: .05em;
	z-index: 2;
}
ul.products li.product .sas-badge--sale {
	background: linear-gradient(135deg, #e8628a, #d4507a);
	color: #fff;
}
ul.products li.product .sas-badge--new {
	background: linear-gradient(135deg, #a855f7, #7c3aed);
	color: #fff;
}
ul.products li.product .onsale { display: none !important; }
.single-product .woocommerce-product-gallery > .onsale,
.single-product span.onsale { display: none !important; }

ul.products li.product .sas-card-actions {
	position: absolute;
	bottom: .75rem;
	left: 50%;
	transform: translateX(-50%) translateY(10px);
	display: flex;
	gap: .5rem;
	opacity: 0;
	transition: all .3s ease;
	z-index: 3;
}
ul.products li.product:hover .sas-card-actions {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}
ul.products li.product .sas-card-action-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(26, 16, 40, .85);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(232, 98, 138, .2);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all .25s;
	padding: 0;
}
ul.products li.product .sas-card-action-btn:hover {
	background: #e8628a;
	border-color: #e8628a;
	transform: scale(1.1);
}
ul.products li.product .sas-card-action-btn svg { width: 16px; height: 16px; }
ul.products li.product .sas-card-action-btn.wishlisted { background: #e8628a; border-color: #e8628a; }
ul.products li.product .sas-card-body { padding: 1rem 1.25rem 1.25rem; }
/* Card meta row: stock + rating inline */
ul.products li.product .sas-card-meta {
	display: flex; align-items: center; gap: .5rem; margin-bottom: .4rem; flex-wrap: wrap;
}
ul.products li.product .sas-card-stock {
	font-size: .65rem; font-weight: 600; font-family: 'Inter', sans-serif;
	padding: .15rem .5rem; border-radius: 4px; text-transform: lowercase;
}
ul.products li.product .sas-card-stock--in {
	background: rgba(34, 197, 94, .12); color: #22c55e;
}
ul.products li.product .sas-card-stock--out {
	background: rgba(239, 68, 68, .12); color: #ef4444;
}
/* Savings info */
ul.products li.product .sas-card-savings {
	font-size: .7rem; color: rgba(255, 255, 255, .4); font-family: 'Inter', sans-serif;
	margin-top: .25rem;
}
ul.products li.product .sas-card-savings .woocommerce-Price-amount {
	text-decoration: line-through;
}
ul.products li.product > a:first-child { display: contents; }

ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2 {
	font-family: 'Inter', sans-serif;
	font-size: .85rem;
	font-weight: 600;
	color: #fff;
	margin: 0 0 .4rem;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
ul.products li.product .woocommerce-loop-product__title a,
ul.products li.product h2 a { color: inherit; text-decoration: none; }
ul.products li.product .star-rating { font-size: .7rem; color: #e8628a; margin-bottom: .4rem; }
ul.products li.product .star-rating::before { color: rgba(255, 255, 255, .15); }
ul.products li.product .price { color: #e8628a; font-size: .95rem; font-weight: 700; font-family: 'Inter', sans-serif; }
ul.products li.product .price del { color: rgba(255, 255, 255, .3); font-size: .8rem; font-weight: 400; }
ul.products li.product .price ins { text-decoration: none; color: #e8628a; }
ul.products li.product .button.add_to_cart_button,
ul.products li.product .added_to_cart { display: none !important; }

/* ===== Pagination ===== */
.woocommerce-pagination { margin-top: 2.5rem; text-align: center; }
.woocommerce-pagination ul.page-numbers { display: inline-flex; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
	display: flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 10px;
	font-size: .8rem; font-weight: 600; font-family: 'Inter', sans-serif;
	text-decoration: none; transition: all .25s;
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(232, 98, 138, .1);
	color: rgba(255, 255, 255, .6);
}
.woocommerce-pagination .page-numbers li a:hover { background: rgba(232, 98, 138, .1); border-color: rgba(232, 98, 138, .3); color: #fff; }
.woocommerce-pagination .page-numbers li span.current { background: linear-gradient(135deg, #e8628a, #d4507a); border-color: #e8628a; color: #fff; }

/* ===== SINGLE PRODUCT PAGE ===== */
.single-product div.product {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 3rem;
	align-items: start;
	color: rgba(255, 255, 255, .7);
}
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary.entry-summary { float: none !important; width: 100% !important; }
.single-product div.product .woocommerce-tabs,
.single-product div.product .related.products,
.single-product div.product .upsells.products { float: none !important; width: 100% !important; }

/* Gallery */
.single-product .woocommerce-product-gallery {
	background: linear-gradient(180deg, #1a1028, #150d20);
	border-radius: 16px;
	border: 1px solid rgba(232, 98, 138, .08);
	overflow: hidden;
	padding: 0;
	width: 100% !important;
	box-sizing: border-box;
}
.single-product .woocommerce-product-gallery .flex-viewport { border-radius: 16px 16px 0 0; overflow: hidden; }
@media (min-width: 769px) {
	.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img { height: auto; display: block; }
}
@media (max-width: 768px) {
	.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img { display: block; width: 100%; }
}
.single-product .woocommerce-product-gallery .flex-control-thumbs {
	display: flex; gap: .5rem; margin-top: 0; padding: .5rem .5rem .5rem;
	list-style: none; overflow: hidden; justify-content: center;
	position: relative;
}
/* 5个以内居中，超过5个滚动 */
.single-product .woocommerce-product-gallery .flex-control-thumbs.sas-thumbs-scroll {
	justify-content: flex-start;
	scroll-behavior: smooth;
	overflow-x: hidden;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li {
	flex: 1 1 0; min-width: 0; max-width: calc(20% - .4rem);
	border-radius: 8px; overflow: hidden;
	border: 2px solid transparent; cursor: pointer; transition: border-color .2s;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs.sas-thumbs-scroll li {
	flex: 0 0 calc(20% - .4rem);
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Thumb nav arrows */
.sas-thumb-nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 28px; height: 28px; border-radius: 50%;
	background: rgba(0,0,0,.5); color: #fff; border: none;
	display: flex; align-items: center; justify-content: center;
	cursor: pointer; z-index: 3; font-size: .75rem;
	transition: background .2s; padding: 0;
}
.sas-thumb-nav:hover { background: #e8628a; }
.sas-thumb-nav--prev { left: .25rem; }
.sas-thumb-nav--next { right: .25rem; }
.single-product .woocommerce-product-gallery .flex-control-thumbs li:hover,
.single-product .woocommerce-product-gallery .flex-control-thumbs li .flex-active { border-color: #e8628a; }
.sas-thumbs-wrap { position: relative; padding: 0 .5rem; }
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	position: absolute; top: 1.5rem; right: 1.5rem; z-index: 5;
	background: rgba(26, 16, 40, .8); border: 1px solid rgba(232, 98, 138, .2);
	border-radius: 50%; width: 40px; height: 40px;
	display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 0; transition: all .25s;
}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger::before { content: '🔍'; font-size: 1rem; }
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger img { display: none; }
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover { background: #e8628a; }

/* Gallery layout: left thumbnails */
body.sas-gallery-left .woocommerce-product-gallery {
	display: flex; flex-direction: row-reverse;
}
body.sas-gallery-left .woocommerce-product-gallery .flex-viewport {
	flex: 1; min-width: 0; border-radius: 0 16px 16px 0;
}
body.sas-gallery-left .woocommerce-product-gallery .flex-control-thumbs {
	flex: 0 0 calc(20% - .4rem); flex-direction: column; max-width: calc(20% - .4rem); gap: .5rem;
	padding: .5rem; overflow-y: auto; overflow-x: hidden;
	justify-content: flex-start;
}
body.sas-gallery-left .woocommerce-product-gallery .flex-control-thumbs li {
	flex: 0 0 auto; max-width: none; width: 100% !important;
}
body.sas-gallery-left .sas-thumbs-wrap { padding: 0; }
body.sas-gallery-left .sas-thumb-nav { display: none; }

/* Gallery layout: right thumbnails */
body.sas-gallery-right .woocommerce-product-gallery {
	display: flex; flex-direction: row;
}
body.sas-gallery-right .woocommerce-product-gallery .flex-viewport {
	flex: 1; min-width: 0; border-radius: 16px 0 0 16px;
}
body.sas-gallery-right .woocommerce-product-gallery .flex-control-thumbs {
	flex: 0 0 calc(20% - .4rem); flex-direction: column; max-width: calc(20% - .4rem); gap: .5rem;
	padding: .5rem; overflow-y: auto; overflow-x: hidden;
	justify-content: flex-start;
}
body.sas-gallery-right .woocommerce-product-gallery .flex-control-thumbs li {
	flex: 0 0 auto; max-width: none; width: 100% !important;
}
body.sas-gallery-right .sas-thumbs-wrap { padding: 0; }
body.sas-gallery-right .sas-thumb-nav { display: none; }

/* Gallery layout: hidden thumbnails (dots) */
body.sas-gallery-hidden .woocommerce-product-gallery .flex-control-thumbs { display: none !important; }
body.sas-gallery-hidden .woocommerce-product-gallery .flex-viewport { border-radius: 16px; }
body.sas-gallery-hidden .woocommerce-product-gallery .flex-control-nav {
	display: flex; justify-content: center; gap: .5rem;
	padding: .75rem 0; list-style: none;
}
body.sas-gallery-hidden .woocommerce-product-gallery .flex-control-nav li a {
	display: block; width: 10px; height: 10px; border-radius: 50%;
	background: rgba(255,255,255,.2); text-indent: -9999px; transition: background .2s;
}
body.sas-gallery-hidden .woocommerce-product-gallery .flex-control-nav li a.flex-active { background: #e8628a; }

/* Summary */
.single-product .summary.entry-summary { padding: 1rem 0; }
.single-product .product_title {
	font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 600;
	color: #fff; margin: 0 0 .75rem; line-height: 1.3;
}
.single-product .woocommerce-product-rating { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.single-product .woocommerce-product-rating .star-rating { color: #e8628a; font-size: .85rem; }
.single-product .woocommerce-product-rating .star-rating::before { color: rgba(255, 255, 255, .15); }
.single-product .woocommerce-product-rating .woocommerce-review-link { color: rgba(255, 255, 255, .4); font-size: .8rem; text-decoration: none; }
.single-product .woocommerce-product-rating .woocommerce-review-link:hover { color: #e8628a; }
.single-product .summary .price { font-size: 1.75rem; font-weight: 700; color: #e8628a; font-family: 'Inter', sans-serif; margin-bottom: .75rem; display: block; }
.single-product .summary .price del { color: rgba(255, 255, 255, .3); font-size: 1.1rem; font-weight: 400; }
.single-product .summary .price ins { text-decoration: none; }
.single-product .summary .woocommerce-product-details__short-description {
	color: rgba(255, 255, 255, .55); font-size: .9rem; line-height: 1.7;
	margin-bottom: .75rem; padding-bottom: .75rem;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.single-product .summary .woocommerce-product-details__short-description p:empty,
.single-product .summary .woocommerce-product-details__short-description p:last-child:has(> br:only-child) {
	display: none;
}
/* Hide &nbsp; only paragraphs */
.single-product .summary .woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}
.single-product .summary .cart { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; flex-wrap: wrap; }
/* Variable product: the inner wrapper must also be flex */
.single-product .summary .cart .woocommerce-variation-add-to-cart {
	display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; width: 100%;
}
.single-product .summary .quantity {
	display: flex; align-items: center;
	background: rgba(255, 255, 255, .05); border: 1px solid rgba(232, 98, 138, .15);
	border-radius: 10px; overflow: hidden; height: 48px;
}
.single-product .summary .quantity .qty {
	width: 50px; text-align: center; background: transparent; border: none;
	color: #fff; font-size: .9rem; font-weight: 600; font-family: 'Inter', sans-serif;
	padding: .6rem 0; -moz-appearance: textfield; appearance: textfield;
}
.single-product .summary .quantity .qty::-webkit-inner-spin-button,
.single-product .summary .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; }
.single-product .summary .single_add_to_cart_button {
	flex: 1; background: linear-gradient(135deg, #e8628a, #d4507a); color: #fff;
	border: none; border-radius: 10px; padding: 0 1.5rem;
	font-size: .85rem; font-weight: 700; font-family: 'Inter', sans-serif;
	text-transform: uppercase; letter-spacing: .05em; cursor: pointer; transition: all .3s;
	box-sizing: border-box; height: 48px; line-height: 48px;
}
.single-product .summary .single_add_to_cart_button:hover {
	background: linear-gradient(135deg, #f48ba6, #e8628a);
	box-shadow: 0 8px 24px rgba(232, 98, 138, .3); transform: translateY(-1px);
}
/* Buy Now button */
.sas-buy-now {
	flex: 1; background: transparent; color: #e8628a;
	border: 2px solid #e8628a; border-radius: 10px; padding: 0 1.5rem;
	font-size: .85rem; font-weight: 700; font-family: 'Inter', sans-serif;
	text-transform: uppercase; letter-spacing: .05em; cursor: pointer; transition: all .3s;
	text-align: center; text-decoration: none; display: inline-flex;
	align-items: center; justify-content: center; box-sizing: border-box;
	height: 48px;
}
.sas-buy-now:hover {
	background: rgba(232, 98, 138, .1);
	box-shadow: 0 8px 24px rgba(232, 98, 138, .15); transform: translateY(-1px);
}
/* Wishlist button (single product) */
.sas-sp-wishlist {
	width: 48px; height: 48px; flex-shrink: 0;
	border: 2px solid rgba(232, 98, 138, .3); border-radius: 10px;
	background: transparent; color: #e8628a; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	transition: all .3s; padding: 0; box-sizing: border-box;
}
.sas-sp-wishlist:hover {
	border-color: #e8628a; background: rgba(232, 98, 138, .1);
	transform: translateY(-1px);
}
.sas-sp-wishlist.wishlisted {
	background: #e8628a; border-color: #e8628a; color: #fff;
}
.sas-sp-wishlist.wishlisted svg { stroke: #fff; fill: #fff; }
.sas-sp-wishlist svg { width: 20px; height: 20px; }
.single-product .summary .product_meta {
	font-size: .8rem; color: rgba(255, 255, 255, .35);
	margin-top: 1.5rem; padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, .06); line-height: 2;
}
.single-product .summary .product_meta a { color: rgba(255, 255, 255, .5); text-decoration: none; transition: color .2s; }
.single-product .summary .product_meta a:hover { color: #e8628a; }
.sas-trust-badges { display: flex; gap: 1rem; margin-top: 1.25rem; }
.sas-trust-badge { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: rgba(255, 255, 255, .45); font-family: 'Inter', sans-serif; }
.sas-trust-badge__icon { font-size: 1rem; }

/* ===== Freebies / Included Items ===== */
@keyframes sas-freebie-in {
	from { opacity: 0; transform: translateY(12px) scale(.92); }
	to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.sas-freebies {
	margin-top: 1.25rem; margin-bottom: .75rem;
}
.sas-freebies__title {
	font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	color: rgba(255,255,255,.5); font-family: 'Inter', sans-serif; margin: 0 0 .6rem;
}
.sas-freebies__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(var(--sas-freebie-size, 64px), 1fr));
	gap: var(--sas-freebie-gap, .5rem);
}

/* stagger animation — items animate in on page load */
.sas-freebies__item {
	display: flex; flex-direction: column; align-items: center;
	gap: .25rem; text-align: center;
	opacity: 0;
	animation: sas-freebie-in .4s ease forwards;
}
.sas-freebies__item:nth-child(1)  { animation-delay: .05s; }
.sas-freebies__item:nth-child(2)  { animation-delay: .10s; }
.sas-freebies__item:nth-child(3)  { animation-delay: .15s; }
.sas-freebies__item:nth-child(4)  { animation-delay: .20s; }
.sas-freebies__item:nth-child(5)  { animation-delay: .25s; }
.sas-freebies__item:nth-child(6)  { animation-delay: .30s; }
.sas-freebies__item:nth-child(7)  { animation-delay: .35s; }
.sas-freebies__item:nth-child(8)  { animation-delay: .40s; }
.sas-freebies__item:nth-child(n+9){ animation-delay: .45s; }

.sas-freebies__img {
	width: 100%; aspect-ratio: 1/1;
	border-radius: 10px; overflow: hidden;
	border: 1.5px solid rgba(232,98,138,.1);
	background: rgba(255,255,255,.03);
	position: relative;
	transition: border-color .25s, transform .25s, box-shadow .25s;
}
/* glow ring on hover */
.sas-freebies__img::after {
	content: '';
	position: absolute; inset: 0;
	border-radius: 10px;
	box-shadow: 0 0 0 0 rgba(232,98,138,0);
	transition: box-shadow .3s;
	pointer-events: none;
}
.sas-freebies__item:hover .sas-freebies__img {
	border-color: rgba(232,98,138,.45);
	transform: translateY(-3px) scale(1.04);
	box-shadow: 0 8px 20px rgba(232,98,138,.18);
}
.sas-freebies__item:hover .sas-freebies__img::after {
	box-shadow: 0 0 0 3px rgba(232,98,138,.15);
}
.sas-freebies__img img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform .35s ease;
}
.sas-freebies__item:hover .sas-freebies__img img {
	transform: scale(1.08);
}
.sas-freebies__name {
	font-size: .6rem; color: rgba(255,255,255,.45); font-family: 'Inter', sans-serif;
	line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	transition: color .2s;
}
.sas-freebies__item:hover .sas-freebies__name {
	color: rgba(232,98,138,.8);
}

/* ===== Custom Info Box ===== */
.sas-infobox {
	margin-top: 1rem; padding: 1rem 1.25rem;
	border: 1px solid rgba(232, 98, 138, .1);
	border-radius: 10px; font-family: 'Inter', sans-serif;
	line-height: 1.6;
}
.sas-infobox__list {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-direction: column; gap: .4rem;
}
.sas-infobox__item {
	display: flex; align-items: center; gap: .5rem;
}
.sas-infobox__icon {
	flex-shrink: 0; font-size: 1em;
}

/* ===== Product Tabs ===== */
.woocommerce div.product .woocommerce-tabs {
	grid-column: 1 / -1; margin-top: 2.5rem;
	border: none !important; box-shadow: none !important;
	background: none !important; padding: 0 !important;
}
.single-product div.product > .woocommerce-notices-wrapper,
.single-product div.product > .woocommerce-message,
.single-product div.product > .woocommerce-info,
.single-product div.product > .woocommerce-error { grid-column: 1 / -1; }

.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex !important; justify-content: center !important; gap: 2rem;
	list-style: none !important; padding: 0 !important; margin: 0 0 2rem !important;
	border: none !important; border-bottom: 1px solid rgba(255, 255, 255, .06) !important;
	background: none !important; overflow: visible !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none !important; }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0 !important; padding: 0 !important;
	background: none !important; background-color: transparent !important;
	border: none !important; border-radius: 0 !important;
	box-shadow: none !important; display: inline-block; position: relative;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block; padding: .85rem 1.5rem; font-size: .85rem; font-weight: 600;
	font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: .05em;
	color: var(--sas-text4, rgba(255, 255, 255, .4)); text-decoration: none;
	border-bottom: 2px solid transparent; transition: all .25s; background: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--sas-text2, rgba(255, 255, 255, .7)); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #e8628a; border-bottom-color: #e8628a; }

/* Tab panels — transparent background, no border */
.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce div.product .woocommerce-tabs .wc-tab {
	background: none !important; border: none !important;
	border-radius: 0 !important; padding: 1.5rem 0 !important;
	box-shadow: none !important; color: var(--sas-text2, rgba(255, 255, 255, .6));
	font-size: .9rem; line-height: 1.8;
}
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }

/* ===== Additional Information Table ===== */
.woocommerce div.product .woocommerce-tabs .wc-tab table.shop_attributes {
	border: none; border-collapse: separate; border-spacing: 0;
	width: 100%; margin: 0; border-radius: 12px; overflow: hidden;
	background: rgba(255, 255, 255, .03);
	border: 1px solid rgba(255, 255, 255, .06);
}
.woocommerce div.product .woocommerce-tabs .wc-tab table.shop_attributes tr {
	transition: background .2s;
}
.woocommerce div.product .woocommerce-tabs .wc-tab table.shop_attributes tr:hover {
	background: rgba(232, 98, 138, .04);
}
.woocommerce div.product .woocommerce-tabs .wc-tab table.shop_attributes tr:not(:last-child) th,
.woocommerce div.product .woocommerce-tabs .wc-tab table.shop_attributes tr:not(:last-child) td {
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.woocommerce div.product .woocommerce-tabs .wc-tab table.shop_attributes th {
	background: rgba(232, 98, 138, .06);
	color: var(--sas-text1, #fff);
	font-family: 'Inter', sans-serif; font-weight: 600; font-size: .82rem;
	text-transform: uppercase; letter-spacing: .04em;
	padding: .9rem 1.25rem; width: 180px;
	border: none; text-align: left; vertical-align: middle;
}
.woocommerce div.product .woocommerce-tabs .wc-tab table.shop_attributes td {
	color: var(--sas-text2, rgba(255, 255, 255, .65));
	font-family: 'Inter', sans-serif; font-size: .88rem; line-height: 1.6;
	padding: .9rem 1.25rem; border: none; vertical-align: middle;
}
.woocommerce div.product .woocommerce-tabs .wc-tab table.shop_attributes td p {
	margin: 0; padding: 0;
}

/* Reviews */
.single-product #reviews .comment-text {
	background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06);
	border-radius: 10px; padding: 1.25rem;
}
.single-product #reviews .comment-text .meta { color: rgba(255, 255, 255, .5); font-size: .8rem; margin-bottom: .5rem; }
.single-product #reviews .comment-text .meta strong { color: #fff; }
.single-product #reviews .comment-text .description p { color: rgba(255, 255, 255, .6); }
.single-product #reviews #respond .comment-form-rating label { color: rgba(255, 255, 255, .6); }
.single-product #reviews #respond textarea,
.single-product #reviews #respond input[type="text"],
.single-product #reviews #respond input[type="email"] {
	background: rgba(255, 255, 255, .05); border: 1px solid rgba(232, 98, 138, .15);
	color: #fff; border-radius: 8px; padding: .7rem 1rem; font-family: 'Inter', sans-serif;
}
.single-product #reviews #respond .form-submit input[type="submit"] {
	background: linear-gradient(135deg, #e8628a, #d4507a); color: #fff;
	border: none; border-radius: 8px; padding: .7rem 2rem;
	font-weight: 600; cursor: pointer; transition: all .3s;
}
.single-product #reviews #respond .form-submit input[type="submit"]:hover { box-shadow: 0 6px 20px rgba(232, 98, 138, .3); }

/* ===== Related / Upsell ===== */
.single-product .related.products,
.single-product .upsells.products,
.sas-recently-viewed { grid-column: 1 / -1; margin-top: 2rem; }
.single-product .related.products > h2,
.single-product .upsells.products > h2,
.sas-recently-viewed > h2 {
	font-family: 'Playfair Display', serif; color: #fff;
	font-size: 1.35rem; font-weight: 600; margin: 0 0 1.25rem;
}

/* ===== Why Choose Us Banner ===== */
.sas-wcu-banner { grid-column: 1 / -1; margin: 2.5rem 0 0; }
.sas-wcu-banner__inner {
	display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; overflow: hidden;
	background: linear-gradient(135deg, #1a1028, #150d20);
	border: 1px solid rgba(232,98,138,.1);
	min-height: 280px;
}
.sas-wcu-banner__image {
	position: relative; overflow: hidden;
}
.sas-wcu-banner__image img {
	width: 100%; height: 100%; object-fit: cover; display: block;
}
.sas-wcu-banner__overlay {
	position: absolute; inset: 0;
}
.sas-wcu-banner__content {
	display: flex; flex-direction: column; justify-content: center;
	padding: 2.5rem 2.5rem 2.5rem 2rem;
}
.sas-wcu-banner__subtitle {
	font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
	color: rgba(232,98,138,.8); font-family: 'Inter', sans-serif; margin-bottom: .5rem;
}
.sas-wcu-banner__title {
	font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700;
	color: #fff; line-height: 1.3; margin: 0 0 1rem;
}
.sas-wcu-banner__text {
	font-size: .88rem; line-height: 1.65; color: rgba(255,255,255,.6);
	font-family: 'Inter', sans-serif;
}
.sas-wcu-banner__text p { margin: 0 0 .5rem; }

/* ===== Quick View Modal ===== */
.sas-qv-overlay {
	position: fixed; inset: 0; background: rgba(10, 6, 16, .85);
	backdrop-filter: blur(6px); z-index: 99999;
	display: none; align-items: center; justify-content: center;
	opacity: 0; transition: opacity .3s;
}
.sas-qv-overlay.active { display: flex; opacity: 1; }
.sas-qv-modal {
	background: linear-gradient(180deg, #1a1028, #150d20);
	border: 1px solid rgba(232, 98, 138, .15); border-radius: 18px;
	max-width: 900px; width: 90%; max-height: 85vh; overflow-y: auto;
	display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2rem;
	position: relative; box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}
.sas-qv-close {
	position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px;
	border-radius: 50%; background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-size: 1.1rem;
	cursor: pointer; display: flex; align-items: center; justify-content: center;
	transition: all .25s; z-index: 2; padding: 0;
}
.sas-qv-close:hover { background: #e8628a; border-color: #e8628a; }
.sas-qv-img { border-radius: 12px; overflow: hidden; }
.sas-qv-img img { width: 100%; height: auto; display: block; border-radius: 12px; }
.sas-qv-info { padding: .5rem 0; }
.sas-qv-title { font-family: 'Playfair Display', serif; font-size: 1.35rem; color: #fff; margin: 0 0 .75rem; }
.sas-qv-price { font-size: 1.25rem; font-weight: 700; color: #e8628a; margin-bottom: 1rem; }
.sas-qv-price del { color: rgba(255, 255, 255, .3); font-size: .9rem; font-weight: 400; }
.sas-qv-price ins { text-decoration: none; }
.sas-qv-excerpt { color: rgba(255, 255, 255, .5); font-size: .85rem; line-height: 1.7; margin-bottom: 1.5rem; }
.sas-qv-actions { display: flex; gap: .75rem; }
.sas-qv-atc {
	flex: 1; background: linear-gradient(135deg, #e8628a, #d4507a); color: #fff;
	border: none; border-radius: 10px; padding: .75rem 1.5rem;
	font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
	cursor: pointer; transition: all .3s; font-family: 'Inter', sans-serif;
	text-decoration: none; text-align: center;
}
.sas-qv-atc:hover { box-shadow: 0 8px 24px rgba(232, 98, 138, .3); }
.sas-qv-view {
	background: rgba(255, 255, 255, .05); border: 1px solid rgba(232, 98, 138, .2);
	color: #fff; border-radius: 10px; padding: .75rem 1.5rem;
	font-size: .8rem; font-weight: 600; text-decoration: none; text-align: center;
	transition: all .3s; font-family: 'Inter', sans-serif;
}
.sas-qv-view:hover { background: rgba(232, 98, 138, .1); border-color: rgba(232, 98, 138, .4); }

/* ===== Sticky ATC bar (mobile) ===== */
.sas-sticky-atc {
	display: none; position: fixed; bottom: 0; left: 0; right: 0;
	background: rgba(26, 16, 40, .95); backdrop-filter: blur(12px);
	border-top: 1px solid rgba(232, 98, 138, .15);
	padding: .75rem 1.25rem; z-index: 9999; align-items: center; gap: 1rem;
}
.sas-sticky-atc.visible { display: flex; }
.sas-sticky-atc__info { flex: 1; min-width: 0; }
.sas-sticky-atc__name { font-size: .8rem; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sas-sticky-atc__price { font-size: .75rem; color: #e8628a; font-weight: 700; }
.sas-sticky-atc__btn {
	background: linear-gradient(135deg, #e8628a, #d4507a); color: #fff;
	border: none; border-radius: 8px; padding: .6rem 1.5rem;
	font-size: .75rem; font-weight: 700; text-transform: uppercase;
	cursor: pointer; white-space: nowrap; font-family: 'Inter', sans-serif;
}

/* ===== Wishlist toast ===== */
.sas-toast {
	position: fixed; bottom: 2rem; left: 50%;
	transform: translateX(-50%) translateY(20px);
	background: rgba(26, 16, 40, .95); border: 1px solid rgba(232, 98, 138, .2);
	border-radius: 10px; padding: .75rem 1.5rem; color: #fff;
	font-size: .8rem; font-family: 'Inter', sans-serif; z-index: 100000;
	opacity: 0; transition: all .3s; pointer-events: none; backdrop-filter: blur(8px);
}
.sas-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
	ul.products.columns-4,
	.woocommerce ul.products.columns-4 { grid-template-columns: repeat(3, 1fr) !important; }
	ul.products.columns-5,
	.woocommerce ul.products.columns-5 { grid-template-columns: repeat(3, 1fr) !important; }
	.sas-shop-content ul.products.columns-4,
	.sas-shop-content ul.products.columns-5,
	.sas-shop-content ul.products.columns-3 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
	/* Overflow containment for single product */
	body.single-product .site-main,
	body.single-product div.product,
	body.single-product .woocommerce-product-gallery,
	body.single-product .summary.entry-summary {
		max-width: 100% !important;
		overflow-x: hidden !important;
		box-sizing: border-box !important;
	}
	body.single-product .woocommerce-tabs {
		max-width: 100% !important;
		box-sizing: border-box !important;
	}
	/* Tabs: wrap on mobile */
	.woocommerce div.product .woocommerce-tabs ul.tabs {
		flex-wrap: wrap !important;
		justify-content: center !important;
		gap: 0 1rem !important;
	}
	.woocommerce div.product .woocommerce-tabs ul.tabs li a {
		padding: .5rem .6rem !important;
		font-size: .72rem !important;
	}
	/* Additional Information table: stack on mobile */
	.woocommerce div.product .woocommerce-tabs .wc-tab table.shop_attributes,
	.woocommerce div.product .woocommerce-tabs .wc-tab table.shop_attributes tbody,
	.woocommerce div.product .woocommerce-tabs .wc-tab table.shop_attributes tr,
	.woocommerce div.product .woocommerce-tabs .wc-tab table.shop_attributes th,
	.woocommerce div.product .woocommerce-tabs .wc-tab table.shop_attributes td {
		display: block !important; width: 100% !important;
	}
	.woocommerce div.product .woocommerce-tabs .wc-tab table.shop_attributes th {
		padding: .7rem 1rem .3rem !important; font-size: .75rem !important;
	}
	.woocommerce div.product .woocommerce-tabs .wc-tab table.shop_attributes td {
		padding: .3rem 1rem .7rem !important;
	}
	.woocommerce div.product .woocommerce-tabs .wc-tab table.shop_attributes tr:not(:last-child) th {
		border-bottom: none !important;
	}
	/* Cart page: prevent overflow */
	.woocommerce-cart .site-main,
	.woocommerce-checkout .site-main {
		padding: 1.5rem 1rem 3rem !important;
		box-sizing: border-box !important;
	}
	.woocommerce table.shop_table {
		width: 100% !important;
		table-layout: fixed;
	}
	.woocommerce .cart-collaterals,
	.woocommerce .cart-collaterals .cart_totals {
		width: 100% !important;
		float: none !important;
	}

	/* Product grid: 2 columns */
	ul.products.columns-3,
	ul.products.columns-4,
	ul.products.columns-5 { grid-template-columns: repeat(2, 1fr); }

	/* Single product: stack vertically instead of side-by-side */
	.single-product div.product {
		grid-template-columns: 1fr !important;
		gap: 1.5rem;
	}
	/* Grid children must not overflow their track */
	.single-product div.product > * {
		min-width: 0 !important;
		max-width: 100% !important;
	}
	body.post-type-archive-product .site-main,
	body.tax-product_cat .site-main,
	body.single-product .site-main {
		padding: 1.5rem 1rem 3rem !important;
	}

	/* Quick view */
	.sas-qv-modal { grid-template-columns: 1fr; max-height: 90vh; }

	/* Gallery: ensure it's full width, thumbnails below */
	.single-product .woocommerce-product-gallery {
		max-width: 100% !important;
		width: 100% !important;
		overflow: hidden !important;
	}
	.single-product .woocommerce-product-gallery .flex-viewport {
		width: 100% !important;
		max-width: 100% !important;
		overflow: hidden !important;
	}
	.single-product .woocommerce-product-gallery .flex-viewport img {
		max-width: 100% !important;
	}
	/* Thumbnails: horizontal row */
	.single-product .woocommerce-product-gallery .flex-control-thumbs {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		gap: .4rem;
		padding: .5rem;
	}
	.single-product .woocommerce-product-gallery .flex-control-thumbs li {
		flex: 0 0 22% !important;
		max-width: 22% !important;
	}
	/* Hide thumb nav arrows on mobile */
	.sas-thumb-nav { display: none !important; }
	.single-product .sas-thumbs-wrap { width: 100% !important; padding: 0 !important; }

	/* Left/right gallery → stack on mobile */
	body.sas-gallery-left .woocommerce-product-gallery,
	body.sas-gallery-right .woocommerce-product-gallery {
		flex-direction: column !important;
	}
	body.sas-gallery-left .woocommerce-product-gallery .flex-control-thumbs,
	body.sas-gallery-right .woocommerce-product-gallery .flex-control-thumbs {
		flex-direction: row !important;
		width: 100% !important;
		max-width: none !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
	}
	body.sas-gallery-left .woocommerce-product-gallery .flex-control-thumbs li,
	body.sas-gallery-right .woocommerce-product-gallery .flex-control-thumbs li {
		flex: 0 0 22% !important;
		max-width: 22% !important;
	}

	/* Why Choose Us banner: stack on mobile */
	.sas-wcu-banner__inner { grid-template-columns: 1fr; }
	.sas-wcu-banner__image { max-height: 200px; }
	.sas-wcu-banner__content { padding: 1.5rem; }
	.sas-wcu-banner__title { font-size: 1.15rem; }
}
@media (max-width: 480px) {
	ul.products.columns-3,
	ul.products.columns-4,
	ul.products.columns-5 { grid-template-columns: 1fr; }
}

/* ===== Variation Swatches (replace dropdowns) ===== */
.single-product .variations_form { margin-bottom: .5rem !important; }
.single-product .variations_form .single_variation_wrap { margin-top: 0; }
/* Reduce gap between variation price display and cart button */
.single-product .woocommerce-variation { margin-bottom: .5rem !important; }
.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-description,
.single-product .woocommerce-variation-availability { margin-bottom: .25rem; }
.single-product .variations {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	margin-bottom: .5rem;
	background: none !important;
	border: none !important;
}
.single-product .variations tbody {
	background: none !important;
}
.single-product .variations tr {
	display: flex;
	flex-direction: column;
	gap: .3rem;
	margin-bottom: .5rem;
	background: none !important;
}
.single-product .variations td,
.single-product .variations th {
	background: none !important;
	border: none !important;
	padding: 0 !important;
}
.single-product .variations .label {
	display: block;
}
.single-product .variations .label label {
	font-size: .78rem;
	font-weight: 600;
	font-family: 'Inter', sans-serif;
	color: rgba(255, 255, 255, .6);
	text-transform: uppercase;
	letter-spacing: .06em;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .3rem .7rem .3rem 0;
	position: relative;
}
.single-product .variations .label label::before {
	content: '';
	display: inline-block;
	width: 3px;
	height: 14px;
	background: linear-gradient(180deg, #e8628a, #d4a0b9);
	border-radius: 2px;
}
.single-product .variations .label .sas-swatch-selected {
	font-weight: 500;
	color: #e8628a;
	text-transform: none;
	letter-spacing: 0;
	margin-left: .15rem;
	font-size: .82rem;
}
/* Hide the original select when swatches are active */
.single-product .variations td.value select.sas-swatched {
	position: absolute !important;
	opacity: 0 !important;
	pointer-events: none !important;
	height: 0 !important;
	overflow: hidden !important;
}
.single-product .variations td.value {
	position: relative;
}
/* Swatch button row */
.sas-swatch-row {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	align-items: center;
}
/* --- Text swatch --- */
.sas-swatch-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 36px;
	padding: 0 .85rem;
	border-radius: 8px;
	border: 1.5px solid rgba(232, 98, 138, .12);
	background: rgba(255, 255, 255, .03);
	color: rgba(255, 255, 255, .65);
	font-size: .78rem;
	font-weight: 500;
	font-family: 'Inter', sans-serif;
	cursor: pointer;
	transition: all .2s;
	white-space: nowrap;
	position: relative;
	overflow: hidden;
}
.sas-swatch-btn:hover {
	border-color: rgba(232, 98, 138, .35);
	color: #fff;
	background: rgba(232, 98, 138, .06);
}
.sas-swatch-btn.active {
	border-color: #e8628a;
	background: rgba(232, 98, 138, .12);
	color: #fff;
	font-weight: 600;
	box-shadow: 0 0 0 1px #e8628a;
}
.sas-swatch-btn.disabled {
	opacity: .25;
	cursor: not-allowed;
	text-decoration: line-through;
}
/* --- Image swatch --- */
.sas-swatch-btn--image {
	min-width: 0;
	padding: 2px;
	border-radius: 10px;
	border-color: rgba(232, 98, 138, .1);
}
.sas-swatch-btn--image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}
.sas-swatch-btn--image:hover {
	border-color: rgba(232, 98, 138, .4);
	box-shadow: 0 2px 8px rgba(232, 98, 138, .12);
}
.sas-swatch-btn--image.active {
	border-color: #e8628a;
	box-shadow: 0 0 0 1px #e8628a, 0 4px 12px rgba(232, 98, 138, .2);
}
/* --- Color swatch --- */
.sas-swatch-btn--color {
	min-width: 0;
	padding: 2px;
	border-radius: 50%;
	border-width: 2px;
	position: relative;
}
.sas-swatch-btn--color .sas-swatch-color {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	display: block;
}
.sas-swatch-btn--color.active {
	box-shadow: 0 0 0 2px #e8628a;
	border-color: #fff;
}
.sas-swatch-btn--color .sas-swatch-tooltip {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	background: rgba(14, 10, 20, .9);
	color: #fff;
	font-size: .65rem;
	padding: .2rem .5rem;
	border-radius: 4px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity .15s;
}
.sas-swatch-btn--color:hover .sas-swatch-tooltip {
	opacity: 1;
}
/* Reset link */
.single-product .variations .reset_variations {
	font-size: .7rem;
	color: rgba(255, 255, 255, .35);
	text-decoration: none;
	transition: color .2s;
	display: inline-block;
	margin-top: .25rem;
}
.single-product .variations .reset_variations:hover {
	color: #e8628a;
}

/* ===== Shipping Flow Banner ===== */
.sas-shipping-flow {
	grid-column: 1 / -1;
	margin: .75rem 0 2rem;
	text-align: center;
}
.sas-shipping-flow__title {
	font-family: 'Playfair Display', serif;
	font-size: 1.25rem;
	font-weight: 600;
	color: #fff;
	margin: 0 0 1.25rem;
}
.sas-shipping-flow__img-wrap {
	margin: 0 auto;
	width: 100%;
}
.sas-shipping-flow__img-wrap img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
	border: 1px solid rgba(232, 98, 138, .1);
}
@media (max-width: 768px) {
	.sas-shipping-flow__title { font-size: 1rem; }
}

/* ===== Shop Sidebar + Two-column layout ===== */
.sas-shop-layout {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
}

.sas-shop-sidebar {
	flex: 0 0 220px;
	position: sticky;
	top: 2rem;
}

.sas-shop-content {
	flex: 1 1 0%;
	min-width: 0;
}

.sas-shop-content ul.products {
	width: 100% !important;
}

/* Remove old overrides that are no longer needed */
body.post-type-archive-product .site-main,
body.tax-product_cat .site-main,
body.tax-product_tag .site-main {
	display: block !important;
}

/* ── Sidebar widget styles ── */
.sas-shop-sidebar__widget {
	background: linear-gradient(180deg, #1a1028, #150d20);
	border: 1px solid rgba(232,98,138,.1);
	border-radius: 14px;
	padding: 1.25rem 1.25rem 1rem;
	margin-bottom: 1rem;
}
.sas-shop-sidebar__widget-title {
	font-family: 'Inter', sans-serif;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(232,98,138,.8);
	margin: 0 0 .85rem;
}

/* Category list */
.sas-shop-sidebar__cats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: .15rem;
}
.sas-shop-sidebar__cats li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: .45rem .6rem;
	border-radius: 8px;
	font-size: .82rem;
	font-family: 'Inter', sans-serif;
	color: rgba(255,255,255,.6);
	text-decoration: none;
	transition: background .2s, color .2s;
}
.sas-shop-sidebar__cats li a:hover,
.sas-shop-sidebar__cats li.current-cat > a {
	background: rgba(232,98,138,.1);
	color: #fff;
}
.sas-shop-sidebar__cats li.current-cat > a {
	color: #e8628a;
	font-weight: 600;
}
.sas-shop-sidebar__cats .count {
	font-size: .7rem;
	color: rgba(255,255,255,.25);
	background: rgba(255,255,255,.05);
	border-radius: 4px;
	padding: .1rem .35rem;
}

/* Price filter */
.sas-shop-sidebar__price {
	display: flex;
	flex-direction: column;
	gap: .6rem;
}
.sas-shop-sidebar__price-inputs {
	display: flex;
	gap: .5rem;
	align-items: center;
}
.sas-shop-sidebar__price-inputs input {
	width: 100%;
	background: rgba(255,255,255,.05);
	border: 1px solid rgba(232,98,138,.15);
	border-radius: 8px;
	color: #fff;
	font-size: .8rem;
	font-family: 'Inter', sans-serif;
	padding: .4rem .6rem;
	text-align: center;
}
.sas-shop-sidebar__price-inputs input:focus {
	outline: none;
	border-color: #e8628a;
}
.sas-shop-sidebar__price-sep {
	color: rgba(255,255,255,.3);
	font-size: .8rem;
	flex-shrink: 0;
}
.sas-shop-sidebar__price-btn {
	background: linear-gradient(135deg, #e8628a, #d4507a);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: .45rem 1rem;
	font-size: .75rem;
	font-weight: 700;
	font-family: 'Inter', sans-serif;
	cursor: pointer;
	transition: opacity .2s;
	width: 100%;
}
.sas-shop-sidebar__price-btn:hover { opacity: .85; }

/* Mobile: filter drawer */
.sas-filter-toggle {
	display: none;
}
.sas-filter-overlay {
	display: none;
}
.sas-filter-drawer-header {
	display: none;
}

@media (max-width: 768px) {
	.sas-shop-layout {
		flex-wrap: wrap;
	}

	/* Toggle button */
	.sas-filter-toggle {
		display: inline-flex;
		align-items: center;
		gap: .4rem;
		background: linear-gradient(135deg, #e8628a, #d4507a);
		color: #fff;
		border: none;
		border-radius: 10px;
		padding: .55rem 1.1rem;
		font-size: .8rem;
		font-weight: 600;
		font-family: 'Inter', sans-serif;
		cursor: pointer;
		margin-bottom: .75rem;
		width: 100%;
		justify-content: center;
	}
	.sas-filter-toggle svg {
		flex-shrink: 0;
	}

	/* Overlay */
	.sas-filter-overlay {
		display: none;
		position: fixed;
		inset: 0;
		background: rgba(0,0,0,.55);
		z-index: 9998;
	}
	.sas-filter-overlay.is-active {
		display: block;
	}

	/* Drawer */
	.sas-shop-sidebar {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: 85vw;
		max-width: 320px;
		z-index: 9999;
		background: #0f0a16;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding: 0 1rem 2rem;
		transform: translateX(-100%);
		transition: transform .3s ease;
		flex-direction: column;
		display: flex;
		gap: 0;
	}
	.sas-shop-sidebar.is-open {
		transform: translateX(0);
	}

	/* Drawer header */
	.sas-filter-drawer-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 1rem 0;
		border-bottom: 1px solid rgba(232,98,138,.15);
		margin-bottom: .75rem;
		position: sticky;
		top: 0;
		background: #0f0a16;
		z-index: 1;
	}
	.sas-filter-drawer-header span {
		font-family: 'Inter', sans-serif;
		font-size: .95rem;
		font-weight: 700;
		color: #e8628a;
		text-transform: uppercase;
		letter-spacing: .08em;
	}
	.sas-filter-close {
		background: none;
		border: none;
		color: rgba(255,255,255,.6);
		font-size: 1.5rem;
		cursor: pointer;
		padding: 0 .25rem;
		line-height: 1;
	}
	.sas-filter-close:hover {
		color: #fff;
	}

	/* Widget accordion */
	.sas-shop-sidebar__widget {
		flex: unset;
		margin-bottom: 0;
		border-radius: 0;
		border-left: none;
		border-right: none;
		border-top: none;
		border-bottom: 1px solid rgba(232,98,138,.08);
		background: transparent;
		padding: 0;
	}
	.sas-shop-sidebar__widget-title {
		cursor: pointer;
		padding: .85rem .25rem;
		margin: 0;
		display: flex;
		align-items: center;
		justify-content: space-between;
		user-select: none;
		-webkit-user-select: none;
	}
	.sas-shop-sidebar__widget-title::after {
		content: '+';
		font-size: 1rem;
		color: rgba(255,255,255,.35);
		transition: transform .2s;
	}
	.sas-shop-sidebar__widget-title.is-expanded::after {
		content: '−';
	}
	.sas-shop-sidebar__widget-body {
		max-height: 0;
		overflow: hidden;
		transition: max-height .3s ease;
	}
	.sas-shop-sidebar__widget-body.is-expanded {
		max-height: 600px;
	}
	.sas-shop-sidebar__widget-body > * {
		padding: 0 .25rem .85rem;
	}
}
