/*
Theme Name: Gaxios Child - Zero
Theme URI: https://gaxios.dev/
Template: gaxios-core-theme
Author: Gaxios Team
Description: Zero project child theme. Starts blank — overrides parent templates/styling only as this project needs them.
Version: 0.1.17
Text Domain: gaxios-child-zero
*/

/*
 * Site-wide corner radius: 5px everywhere except intentional circles
 * (icon buttons, count badges, carousel arrows all use rounded-full).
 * Loads after the parent stylesheet (see functions.php dependency), and
 * :not(.rounded-full) gives this higher specificity than any single
 * Tailwind rounded-* utility, so no !important needed.
 */
[class*="rounded-"]:not(.rounded-full) {
	border-radius: 5px;
}

/*
 * Product loop's "-X% OFF" badge (.onsale, in .gaxios-badges-wrapper):
 * requested smaller, scoped to the loop only — the same single-product-page
 * badge (not inside this wrapper) is untouched. !important: parent's
 * .onsale rule (same unconditional selector, no scoping) loads after this
 * stylesheet and wins at equal specificity otherwise — same cascade-order
 * reason as the rest of this file. The `.gaxios-badges-wrapper` scope gives
 * this a higher specificity than that single-class parent rule anyway, but
 * !important is kept for consistency/defensiveness with the rest of the file.
 */
.gaxios-badges-wrapper .onsale {
	font-size: 0.55rem !important;
	padding: 0.3rem 0.55rem !important;
}

/*
 * Product loop card: parent's .product-card component class bakes in
 * border-radius:1rem directly (not a Tailwind rounded-* utility, so the
 * rule above never matches it) — pin it explicitly.
 */
.product-card,
.product-card img {
	border-radius: 5px !important;
}

/*
 * Product loop buttons (wishlist, quick view, add-to-cart) — scoped to
 * .product-card/.gaxios-card-add-to-cart only, so header/footer's own
 * .btn-icon circular buttons elsewhere are untouched.
 */
.product-card .btn-icon,
.product-card .gaxios-card-add-to-cart .add_to_cart_button,
.product-card .gaxios-card-add-to-cart .button {
	border-radius: 5px !important;
}

/*
 * Single-product page's own "-X% OFF" badge (requested to match the loop's
 * .onsale 5px corners): this is a DIFFERENT element from .onsale --
 * `.gaxios-sp-sale-pill` (template-parts/product/summary-modern.php /
 * summary-core.php, parent theme) -- with its own inline
 * `border-radius: 1rem` (a full rounded pill), which the site-wide
 * `.onsale` flat-corner rule above never touched since the class doesn't
 * match. !important needed here specifically to beat that inline style
 * (inline styles otherwise win over any external, non-!important rule).
 */
.gaxios-sp-sale-pill {
	border-radius: 5px !important;
}

/*
 * Corner radius, pass 2: the rule at the top of this file only catches
 * Tailwind rounded-* utility classes. Parent also ships ~20 custom
 * component classes with their own hardcoded border-radius (not a
 * rounded-* utility, so that selector never matches them) — flatten those
 * too. Left untouched (genuinely circular/pill, not missed): .avatar,
 * .gaxios-drawer-close, .gaxios-lightbox-close, .gaxios-sp-share-btn,
 * .gaxios-zoom-lens, .gaxios-ingredient-pill, .page-numbers, .swatch-color,
 * .btn-icon/.btn-primary/.btn-secondary, badges (.blue, .gray,
 * .woocommerce-review__verified), urgency/rating-bar fills — all use 50%
 * or 9999px, same "intentional circle" category as rounded-full.
 * .gaxios-sp-wishlist is excluded from itself (:not) because the gallery
 * overlay instance (.gaxios-sp-wishlist--gallery, this file, above) is one
 * of those intentional circles. .onsale (the sale/discount badge) used to
 * be grouped with these too, but was flattened to 5px below (requested —
 * match the rest of the site instead of staying a pill).
 */
.onsale,
.rounded,
.button,
.comment,
.gaxios-countdown-unit,
.gaxios-form-input,
.gaxios-form-submit,
.gaxios-reviews-summary-large,
.gaxios-sp-buy-now,
.gaxios-sp-delivery,
.gaxios-sp-gallery,
.gaxios-sp-info,
.gaxios-sp-nav-btn,
.gaxios-sp-reviews-wrap,
.gaxios-sp-savings,
.gaxios-sp-strip-item,
.gaxios-sp-trust-item,
.gaxios-sp-wishlist:not(.gaxios-sp-wishlist--gallery),
.gaxios-sticky-img,
.qty,
.select2-selection--single,
.single_add_to_cart_button,
.swatch-text,
.woocommerce-MyAccount-downloads {
	border-radius: 5px !important;
}

/*
 * Mini-cart "View cart" / "Checkout" buttons: markup (woocommerce/cart/mini-cart.php)
 * hardcodes Tailwind rounded-full on these two specifically (reference design
 * wanted pills there) — 5px corners requested instead. Scoped selector
 * (.woocommerce-mini-cart__buttons a) outweighs .rounded-full on specificity
 * alone (class+tag beats single class), so no !important needed.
 */
.woocommerce-mini-cart__buttons a {
	border-radius: 5px;
}

/*
 * Mini-cart variation attributes (Size/Color etc): wc_get_formatted_cart_item_data()
 * outputs a plain dl/dt/dd list with no layout CSS, so each pair stacks on
 * its own line. Flow it inline instead, comma-separated, same as how
 * variation attributes read on the product page itself.
 */
.woocommerce-mini-cart-item dl.variation {
	margin: 0;
}
.woocommerce-mini-cart-item dl.variation dt,
.woocommerce-mini-cart-item dl.variation dd {
	display: inline;
	float: none;
	clear: none;
	margin: 0;
	padding: 0;
	font-size: inherit;
}
.woocommerce-mini-cart-item dl.variation dd p {
	display: inline;
	margin: 0;
}
.woocommerce-mini-cart-item dl.variation dt {
	font-weight: 600;
}
.woocommerce-mini-cart-item dl.variation dt::after {
	content: " ";
}
.woocommerce-mini-cart-item dl.variation dd:not(:last-of-type)::after {
	content: ", ";
}

/*
 * Single-product page width: match the header's inner bar (max-w-screen-2xl,
 * 1536px — header.php's nav row), which is wider than the parent's own
 * .gaxios-single-product cap of 1280px. !important for the same cascade-order
 * reason as the rules below (parent's bundle loads after this file).
 */
.gaxios-single-product {
	max-width: 1536px !important;
}

/*
 * Single-product gallery: vertical thumbnail rail on the left, main image
 * filling the rest (reference design). Desktop only — mobile keeps the
 * parent's existing stacked layout (image on top, thumbnails in a row
 * below), which already works fine on small screens.
 *
 * DOM order (content-single-product-classic.php) is: main image div, then
 * .gaxios-sp-strip. row-reverse flips that visually (strip left, image
 * right) with no markup change, so the click-to-swap JS (app.js) — which
 * only cares about class names, not position — keeps working untouched.
 *
 * Thumbnail count stays at the parent's existing cap of 4 (+1 for video):
 * showing more would mean duplicating content-single-product-classic.php
 * (267 lines) just to change one slice length, not worth it for this.
 */
@media (min-width: 1024px) {
	/*
	 * !important here (and below) because the parent's compiled Tailwind
	 * bundle enqueues AFTER this stylesheet (see functions.php) and ships its
	 * own unconditional rules for these same classes at equal specificity —
	 * without !important those later, same-specificity rules silently win
	 * per-property and this whole reskin collapses back to the old stacked/
	 * grid layout. Same fix pattern already used above for .product-card.
	 */
	.gaxios-sp-gallery-inner {
		flex-direction: row-reverse !important;
		align-items: flex-start;
		gap: 1rem;
	}
	.gaxios-product-gallery {
		width: auto !important;
		flex: 1 1 auto;
		min-width: 0;
	}
	.gaxios-product-gallery .woocommerce-product-gallery__wrapper {
		width: 100% !important;
	}
	.gaxios-sp-strip {
		display: flex !important;
		flex-direction: column;
		flex-shrink: 0;
		width: 84px;
		margin-top: 0 !important;
		max-height: none;
		overflow-y: visible;
	}
	.gaxios-sp-strip-item {
		flex-shrink: 0;
	}
}

/*
 * Hot Deals grid (loop-deal-countdown.php): this child theme's own compiled
 * Tailwind bundle (loads last, see functions.php) also ships an unconditional
 * .grid-cols-1 rule — used by some other child template — at equal
 * specificity to the parent's responsive sm:/lg: variants. Same cascade-order
 * problem as the gallery fix above: without !important, that later,
 * unconditional rule silently wins per-property and this grid collapses to
 * 1 column at every width regardless of breakpoint. Restore the breakpoints
 * explicitly, scoped to this section only.
 */
.gaxios-deals-section .grid {
	grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}
@media (min-width: 640px) {
	.gaxios-deals-section .grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
@media (min-width: 1024px) {
	.gaxios-deals-section .grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

/*
 * Wishlist heart overlaid on the main image's top-right corner — matches Zero
 * Clothing's 5px sharp-corner card/button aesthetic (.gaxios-sp-nav-btn,
 * .gaxios-sp-wishlist, .gaxios-sp-strip-item) instead of a generic circle.
 */
.gaxios-product-gallery {
	position: relative;
}
.gaxios-sp-wishlist--gallery {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 10;
	width: 2.375rem !important;
	height: 2.375rem !important;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.94) !important;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1.5px solid rgb(var(--color-border)) !important;
	border-radius: 5px !important;
	color: rgb(var(--color-text-primary));
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
	transition: all 0.15s ease;
}
.gaxios-sp-wishlist--gallery svg {
	width: 1.125rem;
	height: 1.125rem;
}
.gaxios-sp-wishlist--gallery:hover,
.gaxios-sp-wishlist--gallery.is-wishlisted {
	color: #ef4444 !important;
	border-color: #fecaca !important;
	background: #fef2f2 !important;
}

/*
 * Variation rows (table.variations, woocommerce/single-product/add-to-cart/variable.php):
 * Unified stacked row architecture (th.label on top, td.value swatches below) on all screens.
 * 1. Size Guide left-aligned: sits right beside the attribute label (e.g. SIZE: MEN [Size Guide])
 *    with a consistent 8px gap, perfectly vertically centered and left-aligned.
 * 2. Unbreakable Labels: removes fixed 7rem constraint, preventing "COLOR WOMEN" from wrapping into 2 awkward lines.
 * 3. Unified Left Alignment: swatches across ALL rows start at the exact same horizontal position (x = 0).
 * 4. Full Width Budget: swatches have full container width, avoiding cramped swatches or awkward line breaks.
 */
table.variations tbody tr {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	width: 100% !important;
	gap: 0.375rem !important;
	margin-bottom: 1.25rem !important;
}

table.variations tbody tr:last-child {
	margin-bottom: 0.75rem !important;
}

/* Couple product divider row */
table.variations tbody tr:has(.border-t) {
	display: block !important;
	width: 100% !important;
	margin: 0.75rem 0 1.25rem 0 !important;
}
table.variations tbody tr td.border-t {
	width: 100% !important;
	display: block !important;
	padding: 0 !important;
}

/* Label cell: flex row placing label and Size Guide trigger side-by-side */
table.variations th.label {
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	flex: none !important;
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 0.75rem !important;
	padding: 0 !important;
	margin: 0 0 0.25rem 0 !important;
	text-align: left !important;
}

table.variations th.label label {
	display: inline-flex !important;
	align-items: center !important;
	white-space: nowrap !important;
	margin: 0 0.5rem 0 0 !important;
	font-size: 0.8125rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.05em !important;
	text-transform: uppercase !important;
	color: #0f172a !important;
}

/* Size Guide trigger: cleanly left-aligned right beside attribute label */
table.variations th.label .gaxios-row-size-trigger,
table.variations th.label .gaxios-open-size-guide-btn {
	margin: 0 0 0 0.5rem !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	background: #f8fafc !important;
	color: #0f172a !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 4px !important;
	padding: 3px 8px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	line-height: 1.3 !important;
	white-space: nowrap !important;
	flex-shrink: 0 !important;
	cursor: pointer !important;
	transition: all 0.15s ease !important;
}
table.variations th.label .gaxios-row-size-trigger:hover,
table.variations th.label .gaxios-open-size-guide-btn:hover {
	background: #f1f5f9 !important;
	border-color: #94a3b8 !important;
	color: #0284c7 !important;
}
table.variations th.label .gaxios-row-size-trigger svg,
table.variations th.label .gaxios-open-size-guide-btn svg {
	width: 11px !important;
	height: 11px !important;
	stroke: currentColor !important;
	flex-shrink: 0 !important;
}

/* Value cell: swatches aligned cleanly starting at x = 0 */
table.variations td.value {
	width: 100% !important;
	flex: 1 1 100% !important;
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 0.5rem !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Suppress legacy/duplicate trigger button inside td.value */
table.variations td.value > button.text-brand {
	display: none !important;
}

/* Suppress distracting green saved size notice per design spec */
.gaxios-saved-size-notice {
	display: none !important;
}

/*
 * Reset variations ("Clear"): restyle from aggressive loose red text into a
 * clean, quiet secondary pill that doesn't look like an accidental swatch overflow.
 */
table.variations .reset_variations {
	font-size: 11px !important;
	font-weight: 500 !important;
	text-transform: capitalize !important;
	letter-spacing: 0 !important;
	color: #64748b !important;
	background: #f8fafc !important;
	border: 1px solid #e2e8f0 !important;
	padding: 2px 8px !important;
	border-radius: 9999px !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 3px !important;
	margin-left: 6px !important;
	vertical-align: middle !important;
	transition: all 0.15s ease !important;
}
table.variations .reset_variations:hover {
	color: #0f172a !important;
	background: #f1f5f9 !important;
	border-color: #cbd5e1 !important;
}

/* Swatches sizing & comfortable padding */
.swatch-text {
	padding: 6px 10px !important;
	font-size: 13px !important;
}
.gaxios-swatches:has(.swatch-text) {
	gap: 6px !important;
}
.gaxios-swatches:has(.swatch-color) {
	gap: 6px !important;
}

/*
 * Single-product Qty/Add-to-Cart/Wishlist row (.gaxios-sp-cart), mobile
 * (requested): the qty stepper is a fixed `!w-[120px]` box (plain, +/-
 * buttons `!w-8`=32px each -- woocommerce/global/quantity-input.php's
 * non-compact variant) regardless of screen size, and Add to Cart is
 * `flex:1` (fills whatever's left) -- so shrinking qty directly grows Add
 * to Cart, no separate change needed there. Scoped to `.gaxios-sp-cart`
 * only (not the mini-cart's own compact instance, already smaller).
 * New width (~88px) and button width (1.5rem=24px) reuse the exact values
 * that file's own `$compact` variant already uses elsewhere (mini-cart) --
 * known-compiled, not a new arbitrary value. !important: same cascade-order
 * reason as the rest of this file (parent's bundle loads after).
 */
@media (max-width: 767px) {
	.gaxios-sp-cart .gaxios-custom-quantity-wrapper {
		width: 88px !important;
	}
	.gaxios-sp-cart .gaxios-custom-quantity-wrapper .qty-minus,
	.gaxios-sp-cart .gaxios-custom-quantity-wrapper .qty-plus {
		width: 1.5rem !important;
	}
}

/*
 * "You May Also Like" / upsell-related grid (woocommerce/loop/loop-start.php,
 * ul.products grid-cols-2 md:grid-cols-3 lg:grid-cols-4): same cascade-order
 * bug as the Hot Deals fix above — this child bundle has its own
 * .md\:grid-cols-3 rule (used elsewhere) but never uses lg:grid-cols-4
 * anywhere in child markup, so that utility gets purged from this bundle.
 * Loading after parent's sheet, child's md:grid-cols-3 rule still sits later
 * in the cascade than parent's lg:grid-cols-4 rule, and wins at any width
 * where both media queries are active (>=1024px) — collapsing the 4-column
 * row to 3. Restore it explicitly, scoped to this section only.
 */
@media (min-width: 1024px) {
	.gaxios-sp-related ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

/*
 * Size Guide modal (inc/size-guide.php): the close button is `absolute
 * top-4 right-4 w-10 h-10` on the modal panel, not this header row — its
 * 40px hit area sits on top of whatever's in the row's top-right corner
 * (the EN/SI language toggle), swallowing clicks meant for it. A `pr-10`
 * Tailwind class was tried first but this file is PHP, outside both
 * bundles' Tailwind content scan, so the class compiled to nothing (same
 * class of bug as the other fixes in this file) — plain CSS instead.
 */
#gaxios-size-guide .flex.items-start.justify-between.mb-1 {
	padding-right: 2.5rem;
}

/*
 * Quantity stepper (woocommerce/global/quantity-input.php): the box is a
 * fixed 120px (88px compact) but its three children (minus/input/plus,
 * each a fixed width) only ever add up to ~96px (~80px compact) — the
 * container is deliberately wider than its content, presumably for visual
 * breathing room. flex's default packing (justify-content: normal, i.e.
 * flex-start) shoves that leftover space entirely to one side instead of
 * splitting it, so the control reads as lopsided — confirmed empirically
 * (measured the real gap sitting after the + button, not a compiled-CSS
 * issue). Center the content so the leftover space is balanced instead of
 * dumped on one edge.
 */
.gaxios-custom-quantity-wrapper {
	justify-content: center !important;
}

/*
 * Checkout page (woocommerce/checkout/form-checkout.php): same cascade-order
 * bug as the Hot Deals / "You May Also Like" grid fixes above — child's own
 * bundle has an unconditional .grid-cols-1 rule (used elsewhere in child
 * markup) that, loading after parent's bundle, wins over parent's
 * lg:grid-cols-12 at any width, collapsing the billing-form/order-summary
 * layout to a single column even on desktop. Restore it explicitly.
 */
@media (min-width: 1024px) {
	form.checkout.woocommerce-checkout {
		grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
	}
}

/*
 * Same quantity stepper, mini-cart instance: parent's app.css hides the
 * browser's native number-input spin buttons (the stacked up/down arrows
 * every <input type="number"> gets by default) but only scoped to
 * `.gaxios-sp-cart .quantity input.qty` — the single-product page. The
 * mini-cart renders this exact same custom wrapper (compact variant) in a
 * different container, outside that scope, so the native arrows show
 * through there, uncovered. Scope the suppression to the wrapper class
 * itself instead, so it's covered everywhere this template renders.
 */
.gaxios-custom-quantity-wrapper input.qty::-webkit-inner-spin-button,
.gaxios-custom-quantity-wrapper input.qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.gaxios-custom-quantity-wrapper input.qty {
	-moz-appearance: textfield;
}

/*
 * Checkout review-order item variation details (woocommerce/checkout/
 * review-order.php — wc_get_formatted_cart_item_data() -> plain <dl
 * class="variation"><dt>Label:</dt><dd><p>Value</p></dd>...</dl>, block by
 * default, each pair on its own line). The mini-cart shows this same data
 * on one compact line ("Kids Age: 10-11 Years , Color: Ash") via WC core's
 * own CSS, but that rule only matches a .wc-item-meta-label class this
 * template's plain dt/dd never uses — so it has no effect here. Make dt/dd
 * inline directly rather than chase the exact mechanism mini-cart relies on.
 */
.woocommerce-checkout-review-order-table .variation {
	display: inline;
}
.woocommerce-checkout-review-order-table .variation dt,
.woocommerce-checkout-review-order-table .variation dd,
.woocommerce-checkout-review-order-table .variation dd p {
	display: inline;
	margin: 0;
}
.woocommerce-checkout-review-order-table .variation dd:not(:last-child)::after {
	content: ", ";
}
.woocommerce-checkout-review-order-table .variation dt {
	font-weight: 600;
	color: rgb(var(--color-text-primary));
}

/*
 * Checkout coupon form (woocommerce/checkout/form-coupon.php): the Apply
 * button is `w-full sm:w-auto` — full-width on mobile (stacked column),
 * content-width from the sm: breakpoint up (sits inline next to the input).
 * `sm:w-auto` never compiled (same PHP-template Tailwind-scan gap as other
 * fixes in this file) while the unconditional `w-full` did, so the button
 * stays 100% wide at every screen size. Inside the flex row that squeezes
 * its `flex-1` sibling input down to near nothing. Restore the intended
 * desktop behaviour explicitly.
 */
@media (min-width: 640px) {
	.checkout_coupon button[name="apply_coupon"] {
		width: auto !important;
	}
}

/*
 * Product-loop size pills (woocommerce/content-product.php override):
 * always visible on mobile (no hover there -- requested), hover-reveal on
 * desktop like the old Quick View bar did. `md:translate-y-full` and
 * `md:group-hover:translate-y-0` never compiled (same Tailwind-scan gap as
 * every other fix in this file -- not used anywhere else in either bundle),
 * so the slide/reveal is plain CSS instead. Mobile stays untransformed
 * (visible, static); only >=768px gets pushed off and revealed on
 * `.group:hover`, matching the card's own `group` class.
 */
@media (min-width: 768px) {
	.gaxios-loop-size-pills {
		transform: translateY(100%);
		transition: transform 300ms ease-out;
	}
	.group:hover .gaxios-loop-size-pills {
		transform: translateY(0);
	}
}

/*
 * Same pills, smaller on mobile (requested) -- always-visible there (see
 * above) so they compete for space with the "FREE DELIVERY" badge on the
 * same row; shrinking them is plain CSS rather than new text-[Npx]/px-*/py-*
 * Tailwind arbitrary values, same uncompiled-class reasoning as the rest of
 * this file.
 */
@media (max-width: 767px) {
	.gaxios-loop-size-pills span {
		font-size: 8px;
		padding: 1px 5px;
	}
	.gaxios-loop-size-pills {
		gap: 0.2rem;
	}
}

/* -----------------------------------------------------------------------
 * Subcategory circle carousel — shown at top of parent category archive pages,
 * full-width above the sidebar+product grid.
 * ----------------------------------------------------------------------- */

/*
 * Hide scrollbar on the carousel track. Centered when the row fits inside
 * its container; falls back to normal left-start scrolling when it doesn't
 * (plain `justify-content: center` on an overflow-x:auto flex container
 * permanently clips the first item off-screen with no way to scroll back
 * to it — max-content + auto margins avoids that: width only shrinks to
 * content size up to 100%, so margins only kick in when there's slack).
 */
.gaxios-subcat-carousel-track {
	-ms-overflow-style: none;
	scrollbar-width: none;
	width: max-content;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}
.gaxios-subcat-carousel-track::-webkit-scrollbar {
	display: none;
}

/* Circle image container — square box that clip-paths to circle via rounded-full */
.gaxios-subcat-circle-img {
	width: 80px;
	height: 80px;
	border: 1px solid transparent;
	transition: border-color 300ms;
}

.gaxios-subcat-circle:hover .gaxios-subcat-circle-img {
	border-color: rgb(var(--color-brand));
}

/* Wider circles on desktop */
@media (min-width: 768px) {
	.gaxios-subcat-circle-img {
		width: 100px;
		height: 100px;
	}
}

/* Label max-width so long names wrap instead of stretching the column */
.gaxios-subcat-circle {
	width: 88px;
}

@media (min-width: 768px) {
	.gaxios-subcat-circle {
		width: 112px;
	}
}

/* -----------------------------------------------------------------------
 * Filter sidebar: Size pills + Colour circle swatches
 * (gaxios_zero_layered_nav_swatches filter, inc/shop-filters.php) replacing
 * WooCommerce's default plain-text layered-nav list for just these two
 * attributes. Active state driven off WC's own `--chosen` class.
 * ----------------------------------------------------------------------- */
.woocommerce-widget-layered-nav-list:has(.gaxios-size-swatch),
.woocommerce-widget-layered-nav-list:has(.gaxios-color-swatch) {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.woocommerce-widget-layered-nav-list:has(.gaxios-size-swatch) > li,
.woocommerce-widget-layered-nav-list:has(.gaxios-color-swatch) > li {
	margin: 0;
	padding: 0;
	border: 0;
}

/* Size pills */
.gaxios-size-swatch {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 7px 14px;
	border: 1px solid rgb(var(--color-border));
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: rgb(var(--color-text-primary));
	background: #fff;
	text-decoration: none;
	transition: border-color 150ms, color 150ms, background-color 150ms;
}
a.gaxios-size-swatch:hover {
	border-color: rgb(var(--color-brand));
	color: rgb(var(--color-brand));
}
.gaxios-size-swatch-count {
	font-size: 11px;
	font-weight: 400;
	opacity: 0.55;
}
li.woocommerce-widget-layered-nav-list__item--chosen .gaxios-size-swatch {
	background: rgb(var(--color-brand));
	border-color: rgb(var(--color-brand));
	color: #fff;
}
li.woocommerce-widget-layered-nav-list__item--chosen .gaxios-size-swatch-count {
	opacity: 0.85;
}
span.gaxios-size-swatch {
	opacity: 0.35;
	cursor: default;
}

/* Colour circle swatches */
.gaxios-color-swatch {
	display: inline-block;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 2px solid rgb(var(--color-border));
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
	transition: transform 150ms, outline-color 150ms;
}
a.gaxios-color-swatch:hover {
	transform: scale(1.12);
}
li.woocommerce-widget-layered-nav-list__item--chosen .gaxios-color-swatch {
	outline: 2px solid rgb(var(--color-brand));
	outline-offset: 2px;
	border-color: transparent;
}
.gaxios-color-swatch--light {
	border-color: #d1d5db;
}
.gaxios-color-swatch--text {
	width: auto;
	height: auto;
	border-radius: 999px;
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 600;
	color: rgb(var(--color-text-primary));
	background: rgb(var(--color-border) / 0.3);
}
span.gaxios-color-swatch {
	opacity: 0.35;
	cursor: default;
}

/* -----------------------------------------------------------------------
 * "Filter by Price" widget (WC_Widget_Price_Filter, jQuery UI slider):
 * this theme never loads WooCommerce's/jQuery UI's own CSS (replaced by
 * Tailwind everywhere else), so the slider track + handles render with
 * zero height/no styling -- effectively invisible, confirmed via DOM
 * inspection (.price_slider existed with 2 handles but height:0, no
 * background/size on handles). Styled from scratch here. The raw
 * #min_price/#max_price text inputs (JS progressive-enhancement fallback,
 * hidden via inline style once the slider initializes) are also styled
 * properly rather than force-hidden, so the widget still looks intentional
 * if the slider JS is ever slow/blocked, instead of two bare browser-
 * default number boxes.
 * ----------------------------------------------------------------------- */
.price_slider_wrapper {
	padding-top: 6px;
}

.price_slider.ui-slider {
	position: relative;
	height: 4px;
	background: rgb(var(--color-border));
	border-radius: 999px;
	margin: 10px 4px 20px;
}

.price_slider .ui-slider-range {
	position: absolute;
	top: 0;
	height: 100%;
	background: rgb(var(--color-brand));
	border-radius: 999px;
}

.price_slider .ui-slider-handle {
	position: absolute;
	top: 50%;
	width: 16px;
	height: 16px;
	margin-left: -8px;
	transform: translateY(-50%);
	background: #fff;
	border: 2px solid rgb(var(--color-brand));
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	outline: none;
	transition: transform 150ms;
}
.price_slider .ui-slider-handle:hover,
.price_slider .ui-slider-handle:focus {
	transform: translateY(-50%) scale(1.15);
}

.price_slider_amount {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.price_slider_amount #min_price,
.price_slider_amount #max_price {
	width: 72px;
	padding: 6px 8px;
	border: 1px solid rgb(var(--color-border));
	border-radius: 5px;
	font-size: 13px;
	color: rgb(var(--color-text-primary));
}

.price_slider_amount .price_label {
	width: 100%;
	order: -1;
	font-size: 13px;
	font-weight: 600;
	color: rgb(var(--color-text-primary));
}

.price_slider_amount .button {
	padding: 7px 18px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background: #111111;
	color: #fff;
	border: none;
	cursor: pointer;
}
.price_slider_amount .button:hover {
	opacity: 0.9;
}

/* -----------------------------------------------------------------------
 * Hero slider: YouTube video slide (template-parts/home/banner-slider.php).
 * An <iframe> has no intrinsic size the way <img>/<video> do (which is why
 * every other slide type is just `w-full h-auto`), so it needs an
 * aspect-ratio'd positioning container instead. 16:9 on mobile, a wider
 * cinematic crop on desktop to better match the image/video slides' usual
 * hero proportions.
 * ----------------------------------------------------------------------- */
.gaxios-hero-youtube {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
}
@media (min-width: 768px) {
	.gaxios-hero-youtube {
		aspect-ratio: 21 / 9;
	}
}

/* -----------------------------------------------------------------------
 * Hero slider: mobile-vs-desktop media override (template-parts/home/
 * banner-slider.php, Mobile Media field). Plain CSS, not Tailwind's
 * hidden/md:hidden/md:block -- confirmed neither theme's compiled CSS
 * bundle includes md:block (grepped both dist/*.css, zero matches), and
 * even the parent's own scroll-to-top button (which uses the same pair)
 * is permanently display:none on desktop because of it -- a pre-existing
 * parent-theme bug, not something introduced here, just one this template
 * has to route around rather than inherit.
 * ----------------------------------------------------------------------- */
.gaxios-hero-desktop-only {
	display: none;
}
.gaxios-hero-mobile-only {
	display: block;
}
@media (min-width: 768px) {
	.gaxios-hero-desktop-only {
		display: block;
	}
	.gaxios-hero-mobile-only {
		display: none;
	}
}

/* -----------------------------------------------------------------------
 * Header Wishlist/Cart count badges: requested to match the site's brand
 * color instead of the gold #bfa15f they shipped with. header.php's own
 * markup was updated to bg-brand directly, but the DESKTOP cart badge is
 * also regenerated by the parent's WC add-to-cart AJAX fragment handler
 * (gaxios-core-theme/inc/woocommerce.php, hardcodes bg-[#bfa15f] there,
 * not editable) -- every add-to-cart click would silently revert the color
 * back to gold without this override. !important beats that fragment's
 * same-specificity utility class regardless of which one happens to load/
 * render last.
 * ----------------------------------------------------------------------- */
.gaxios-wishlist-count,
.gaxios-cart-count-desktop,
.gaxios-cart-count-mobile {
	background-color: rgb(var(--color-brand)) !important;
}

/*
 * Footer main grid (footer.php #colophon): reported broken -- confirmed via
 * computed styles that `md:grid-cols-2`/`lg:grid-cols-12` never take effect
 * at any width (container stays at its unprefixed `grid-cols-1` track),
 * even though the per-column `lg:col-span-*`/`lg:pl-8` utilities on the
 * items DO apply. With no matching column tracks for those spans, the grid
 * auto-generates extra zero-width implicit tracks and every "column" ends
 * up full-width, stacked vertically instead of sitting in one row --
 * exactly the same uncompiled-responsive-utility gap already hit and fixed
 * this way for the Hot Deals grid above; same fix here.
 */
#colophon .grid {
	grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}
@media (min-width: 768px) {
	#colophon .grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
@media (min-width: 1024px) {
	#colophon .grid {
		grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
	}
}

/*
 * "Popular Product Types" tiles (template-parts/home/popular-categories.php):
 * each tile's only content is absolutely-positioned (image, scrim, text),
 * so it needs an explicit height -- Tailwind's `aspect-[21/9]` arbitrary
 * value isn't compiled in either bundle (confirmed, same uncompiled-utility
 * gap hit repeatedly this session), which collapsed every tile to 0px tall
 * and hid the whole grid. Plain CSS instead.
 */
.gaxios-popular-cat-tile {
	aspect-ratio: 21 / 9;
}

/*
 * "Popular Product Types" column count (requested): 2 on mobile (the
 * template's own grid-cols-2 default, already compiled/confirmed working),
 * 3 on desktop. Plain CSS media query rather than Tailwind's md:grid-cols-3
 * -- not risking another uncompiled-arbitrary-class gap right after finding
 * one in this exact section. !important: same cascade-order reason as the
 * rest of this file -- the parent's compiled .grid-cols-2 utility (same
 * specificity, unconditional) loads after this stylesheet and otherwise
 * wins at this viewport too, confirmed this was silently happening.
 */
@media (min-width: 768px) {
	.gaxios-popular-cat-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

/*
 * Shop sidebar "Categories" filter (WC_Widget_Product_Categories, see
 * woocommerce/archive-product.php): WC's own output already nests
 * subcategories as <ul class="children"> inside a parent <li class="cat-item
 * cat-parent">, but with no styling they render as one long always-expanded
 * flat list -- subcategories are visually there but easy to miss/scroll past
 * (reported as "subcategories aren't showing"). Matches the collapsible
 * accordion look+behaviour from gaxios-child-cakeclouds (reference site,
 * src/css/app.css + src/js/app.js) -- same WC markup/classes on both sites
 * (cat-item, cat-parent, children, current-cat), just porting the styling.
 * The accordion's expand/collapse state itself is added by JS toggling
 * `.is-expanded` on the parent <li> (see inc/shop-filters.php) -- this is
 * the CSS half of that pair.
 */
.widget_product_categories ul.product-categories,
.widget_product_categories ul.children {
	list-style: none;
	margin: 0;
	padding: 0;
}
.widget_product_categories ul.product-categories {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.widget_product_categories li.cat-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	border-radius: 5px;
	border: 1px solid transparent;
	padding: 10px 12px;
	font-size: 14px;
	font-weight: 500;
}
.widget_product_categories li.cat-item:hover {
	background: rgb(var(--color-surface-alt));
	border-color: rgb(var(--color-border));
}
.widget_product_categories li.cat-item.is-expanded,
.widget_product_categories li.cat-item.current-cat {
	background: rgb(var(--color-brand) / 0.05);
	border-color: rgb(var(--color-brand) / 0.1);
}
.widget_product_categories li.cat-item > a {
	flex: 1;
	min-width: 0;
	color: rgb(var(--color-text-primary));
	text-decoration: none;
}
.widget_product_categories li.cat-item.is-expanded > a,
.widget_product_categories li.cat-item.current-cat > a {
	color: rgb(var(--color-brand));
	font-weight: 600;
}
/*
 * current-cat (this exact category is the one being viewed, WC core class)
 * gets a left accent bar on top of the shared is-expanded tint above, so the
 * literally-active category reads as distinct from a parent that's merely
 * auto-expanded because a child of it is active (current-cat-parent, no
 * accent -- correctly less emphasis than the true selection).
 */
.widget_product_categories li.cat-item.current-cat {
	border-left: 3px solid rgb(var(--color-brand));
	padding-left: 9px;
}
.widget_product_categories li.cat-item > .count {
	font-size: 11px;
	color: rgb(var(--color-text-secondary));
	background: #fff;
	border: 1px solid rgb(var(--color-border));
	border-radius: 999px;
	padding: 2px 8px;
	margin-left: 8px;
	flex-shrink: 0;
}
.widget_product_categories ul.children {
	flex-basis: 100%;
	width: 100%;
	margin: 8px 0 2px 2px;
	padding-left: 16px;
	border-left: 2px solid rgb(var(--color-brand) / 0.2);
	max-height: 0;
	opacity: 0;
	visibility: hidden;
	overflow: hidden;
	transition: max-height 0.3s ease, opacity 0.3s ease;
}
.widget_product_categories li.cat-item.is-expanded > ul.children {
	max-height: 1500px;
	opacity: 1;
	visibility: visible;
}
.widget_product_categories ul.children li.cat-item {
	padding: 6px 8px;
	font-size: 13px;
}
.gaxios-cat-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	margin-left: 8px;
	border-radius: 999px;
	border: 1px solid rgb(var(--color-border));
	background: rgb(var(--color-surface-alt));
	color: rgb(var(--color-text-secondary));
	cursor: pointer;
}
.gaxios-cat-toggle svg {
	width: 14px;
	height: 14px;
	transition: transform 0.3s ease;
}
.widget_product_categories li.cat-item.is-expanded > .gaxios-cat-toggle {
	background: #fff;
	border-color: rgb(var(--color-brand) / 0.2);
	color: rgb(var(--color-brand));
}
.widget_product_categories li.cat-item.is-expanded > .gaxios-cat-toggle svg {
	transform: rotate(180deg);
}

/*
 * Highlights pills (template-parts/product/summary-core.php): parent's
 * .gaxios-ingredient-pill is a full pill shape (border-radius: 2rem,
 * app.css). Requested less rounded, matching this site's own 5px corner
 * convention used everywhere else (see the [class*="rounded-"] rule near
 * the top of this file). !important: same cascade-order reason as the rest
 * of this file -- the parent's compiled rule (same specificity) loads after
 * this stylesheet and otherwise wins.
 */
.gaxios-ingredient-pill {
	border-radius: 5px !important;
}

/* ==========================================================================
   ZERO Clothing Care Guide Styles
   ========================================================================== */
.zero-care-root {
	font-family: inherit;
	color: #0f172a;
}
.zero-care-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
	transition: all 0.2s ease;
}
.zero-care-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 6px 16px -3px rgba(0, 0, 0, 0.08);
}
.zero-care-pill-btn {
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 10px;
}
.zero-care-pill-btn.active {
	background-color: #0f172a !important;
	color: #ffffff !important;
	box-shadow: 0 2px 8px -1px rgba(15, 23, 42, 0.25) !important;
	font-weight: 700 !important;
}
.zero-care-pill-btn:not(.active) {
	background-color: transparent !important;
	color: #64748b !important;
	font-weight: 600 !important;
}
.zero-care-pill-btn:not(.active):hover {
	color: #0f172a !important;
	background-color: #f1f5f9 !important;
}
.zero-badge-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.zero-hero-banner-plain {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
	color: #ffffff !important;
	border-radius: 16px;
}
.zero-hero-banner-printed {
	background: linear-gradient(135deg, #271404 0%, #0f172a 100%) !important;
	color: #ffffff !important;
	border: 1px solid rgba(245, 158, 11, 0.3) !important;
	border-radius: 16px;
}
.zero-warning-banner {
	background-color: #fef2f2 !important;
	border: 2px solid #f87171 !important;
	border-radius: 14px;
}
.zero-method-card-rec {
	border: 2px solid #10b981 !important;
	background: #f0fdf4 !important;
	border-radius: 14px;
}
.zero-method-card-alt {
	border: 1px solid #e2e8f0 !important;
	background: #ffffff !important;
	border-radius: 14px;
}
.zero-step-num {
	width: 26px;
	height: 26px;
	border-radius: 6px;
	background-color: #0f172a;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 800;
	flex-shrink: 0;
}
.zero-avoid-item {
	background-color: #ffffff;
	border: 1px solid #fee2e2;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 12px;
	font-weight: 600;
	color: #991b1b;
	display: flex;
	align-items: center;
	gap: 6px;
}

/* Hide default page title on Care page (page ID 3915) and match site-wide 1280px container width */
body.page-id-3915 .entry-header {
	display: none !important;
}
body.page-id-3915 .entry-content {
	max-width: 80rem !important;
}
body.page-id-3915 .zero-care-root {
	max-width: 100% !important;
}

/* Shop WooCommerce pagination: match theme main brand color instead of parent #bfa15f */
.woocommerce-pagination ul.page-numbers li span.current {
	background-color: rgb(var(--color-brand)) !important;
	border-color: rgb(var(--color-brand)) !important;
	color: #ffffff !important;
}
.woocommerce-pagination ul.page-numbers li a:hover {
	color: rgb(var(--color-brand)) !important;
	border-color: rgb(var(--color-brand)) !important;
}

/*
 * Single-Product Gallery: Option B Full-Frame Inline Pan Zoom (PC >= 1024px).
 * Replaces parent's 150px circular .gaxios-zoom-lens with Zara/Gymshark-style
 * full-frame 2.2x inline zoom + cursor pan, ideal for fabric weave & fit.
 */
@media (min-width: 1024px) {
	.gaxios-product-gallery .gaxios-zoom-lens {
		display: none !important;
	}
	.gaxios-product-gallery .woocommerce-product-gallery__wrapper {
		overflow: hidden;
		cursor: zoom-in;
	}
	.gaxios-product-gallery .woocommerce-product-gallery__wrapper.is-inline-zoomed {
		cursor: crosshair;
	}
	.gaxios-product-gallery .woocommerce-product-gallery__image {
		overflow: hidden;
	}
	.gaxios-product-gallery .woocommerce-product-gallery__image img {
		transition: transform 0.18s ease-out;
		will-change: transform;
	}
}

/*
 * Single-Product UX Improvements (v0.1.3) — scoped & reversible:
 * 1) Active thumbnail indicator across mobile & desktop
 * 2) Subtle hairline border on floating gallery wishlist circle
 * 3) Mobile compact gallery + 60px square strip so Title/Price sit above fold
 * 4) Mobile WhatsApp FAB compact sizing on single-product pages
 * 5) Inline variation prompt + Lightbox double-tap zoom support
 */
.gaxios-sp-strip-item.is-active {
	border: 2px solid rgb(var(--color-brand)) !important;
	box-shadow: 0 0 0 1px rgb(var(--color-brand)) !important;
}
.gaxios-sp-trust-grid {
	margin-top: 0.75rem !important;
	padding-top: 0.875rem !important;
	margin-bottom: 1.25rem !important;
}

@media (max-width: 1023px) {
	.gaxios-single-product .gaxios-sp-topbar {
		margin-bottom: 0.625rem !important;
		gap: 0.5rem;
	}
	.gaxios-single-product .gaxios-sp-breadcrumb {
		min-width: 0;
		flex: 1;
		overflow: hidden;
	}
	.gaxios-single-product .gaxios-sp-breadcrumb .gaxios-crumbs {
		display: block !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
	}
	.gaxios-single-product .gaxios-sp-breadcrumb .gaxios-crumb-sep {
		display: inline-block !important;
		vertical-align: middle;
	}
	.gaxios-single-product .gaxios-sp-gallery {
		padding: 0.5rem !important;
		min-height: 0 !important;
		border-color: rgb(var(--color-border) / 0.75);
	}
	.gaxios-single-product .gaxios-sp-gallery-inner {
		gap: 0.5rem !important;
	}
	.gaxios-single-product .gaxios-product-gallery .woocommerce-product-gallery__wrapper {
		width: 98% !important;
		margin: 0 auto !important;
	}
	.gaxios-single-product .gaxios-product-gallery .woocommerce-product-gallery__image img {
		/* max-height caps the rendered height below what width:100% would need,
		   so the browser shrinks the actual width to keep aspect ratio — the
		   image then sits flush-left inside its (still full-width) wrapper
		   instead of centering. display:block + margin:auto centers it. */
		max-height: 52vh !important;
		width: 100% !important;
		height: auto !important;
		object-fit: contain;
		display: block !important;
		margin: 0 auto !important;
	}
	.gaxios-single-product .gaxios-sp-strip {
		display: grid !important;
		grid-template-columns: repeat(auto-fill, 58px);
		flex-wrap: unset;
		overflow-x: visible;
		gap: 0.5rem !important;
		margin-top: 0.5rem !important;
		padding-bottom: 2px;
		scrollbar-width: none;
	}
	.gaxios-single-product .gaxios-sp-strip::-webkit-scrollbar {
		display: none;
	}
	.gaxios-single-product .gaxios-sp-strip-item {
		flex: 0 0 58px;
		width: 58px;
		height: 58px;
		aspect-ratio: 1;
	}
	.gaxios-single-product .gaxios-sp-info {
		padding: 1rem !important;
	}
	body.single-product #gaxios-wa-root {
		bottom: 88px !important;
		right: 14px !important;
	}
	body.single-product #gaxios-wa-root .gaxios-wa-btn {
		width: 44px !important;
		height: 44px !important;
	}
}

.gaxios-zero-var-alert {
	margin-top: 0.625rem;
	padding: 0.5rem 0.75rem;
	border-radius: 5px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	font-size: 0.78rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 0.375rem;
}

.gaxios-lightbox img.is-zoomed-2x {
	transform: scale(2);
	cursor: zoom-out;
}
.gaxios-lightbox img {
	transition: transform 0.22s ease-out;
	cursor: zoom-in;
}

/*
 * Zero Clothing Category Mega Menu (DrCream architecture, Zero 5px sharp design).
 * Trigger <li> sits inside #masthead (which carries an active transform), so
 * position: fixed on .gaxios-zero-mega-wrap anchors full-width directly below #masthead.
 */
@media (min-width: 768px) {
	#menu-category-menu {
		gap: 1.25rem !important;
	}
}
@media (min-width: 1280px) {
	#menu-category-menu {
		gap: 1.75rem !important;
	}
}
.gaxios-zero-mega-item {
	display: flex;
	align-items: center;
	height: 5rem;
}
.gaxios-zero-mega-trigger {
	white-space: nowrap;
}
.gaxios-zero-mega-wrap {
	position: fixed;
	left: 1.5rem;
	right: 1.5rem;
	top: 100%;
	padding-top: 0.375rem;
	z-index: 999;
	text-transform: none;
	letter-spacing: normal;
	font-weight: 400;
}
.gaxios-zero-mega-panel {
	background: #ffffff;
	border: 1px solid rgb(var(--color-border));
	border-radius: 5px;
	box-shadow: 0 20px 44px -12px rgba(15, 23, 42, 0.18);
	max-height: calc(100vh - 140px);
	overflow-y: auto;
}
.gaxios-zero-mega-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 1.375rem 1.75rem 1.5rem;
}
.gaxios-zero-mega-subcats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 1.125rem;
}
.gaxios-zero-mega-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4375rem 0.875rem;
	background: rgb(var(--color-surface-alt));
	border: 1px solid rgb(var(--color-border));
	border-radius: 5px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgb(var(--color-text-primary));
	transition: all 0.15s ease;
	text-decoration: none;
}
.gaxios-zero-mega-chip:hover,
.gaxios-zero-mega-chip--all {
	background: #0f172a;
	border-color: #0f172a;
	color: #ffffff;
}
.gaxios-zero-mega-chip--all:hover {
	background: rgb(var(--color-brand));
	border-color: rgb(var(--color-brand));
}
.gaxios-zero-mega-chip-img {
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 3px !important;
	object-fit: cover;
	flex-shrink: 0;
}
.gaxios-zero-mega-products-wrap {
	border-top: 1px solid rgb(var(--color-border));
	padding-top: 1rem;
}
.gaxios-zero-mega-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.875rem;
}
.gaxios-zero-mega-heading {
	font-size: 0.7rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgb(var(--color-text-secondary));
}
.gaxios-zero-mega-viewall {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgb(var(--color-text-primary));
	text-decoration: none;
	transition: color 0.15s ease;
}
.gaxios-zero-mega-viewall:hover {
	color: rgb(var(--color-brand));
}
.gaxios-zero-mega-products {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	gap: 0.875rem !important;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
.gaxios-zero-mega-products[data-cols="4"] {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
.gaxios-zero-mega-products[data-cols="3"] {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.gaxios-zero-mega-products[data-cols="2"] {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.gaxios-zero-mega-products .product-card {
	border: 1px solid rgb(var(--color-border)) !important;
	box-shadow: none !important;
}
.gaxios-zero-mega-products .product-card:hover {
	border-color: #0f172a !important;
}
.gaxios-zero-mega-products .gaxios-card-add-to-cart {
	display: none !important;
}
.gaxios-zero-mega-products .gaxios-loop-size-pills {
	display: none !important;
}
.gaxios-zero-mega-products .product-card h2 {
	font-size: 0.8125rem !important;
	margin-bottom: 0.25rem !important;
	line-height: 1.3 !important;
}
.gaxios-zero-mega-products .gaxios-card-price-rating {
	margin-bottom: 0.25rem !important;
}
.gaxios-zero-mega-products ins {
	text-decoration: none !important;
}
.gaxios-zero-simple-dropdown {
	position: absolute;
	left: 0;
	top: 100%;
	padding-top: 0.375rem;
	width: 14rem;
	z-index: 999;
}
.gaxios-zero-simple-dropdown > ul {
	background: #ffffff;
	border: 1px solid rgb(var(--color-border));
	border-radius: 5px;
	box-shadow: 0 12px 28px -8px rgba(15, 23, 42, 0.16);
	padding: 0.375rem 0;
	list-style: none;
	margin: 0;
}

