/*
Theme Name: ZecHub Store
Theme URI: https://zechub.store
Author: ZecHub
Author URI: https://zechub.wiki
Description: Minimal block theme for the ZecHub Store (WooCommerce), using the ZecHub wiki look: aurora background, brand blue, JetBrains Mono headings, Inter body text. Dark by default like the wiki, with a Light style variation.
Version: 0.15.1
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zechub-store
Tags: block-theme, e-commerce, full-site-editing
*/

/* Aurora background (same as the wiki's AuroraBackground component) */
body { background: var(--wp--preset--color--page); }
.wp-site-blocks,
.wp-site-blocks > main { background: transparent; }
.zh-aurora {
	position: fixed;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
	background: var(--wp--preset--color--page);
}
.zh-aurora::before,
.zh-aurora::after { content: ""; position: absolute; }
.zh-aurora::before {
	inset: -20%;
	opacity: var(--wp--custom--aurora--strength, 0.9);
	background:
		radial-gradient(ellipse 55% 45% at calc(18% + var(--zh-scroll, 0) * 48%) calc(8% + var(--zh-scroll, 0) * 36%), var(--wp--custom--aurora--brand), transparent 58%),
		radial-gradient(ellipse 50% 40% at calc(88% - var(--zh-scroll, 0) * 40%) calc(22% + var(--zh-scroll, 0) * 28%), var(--wp--custom--aurora--teal), transparent 62%),
		radial-gradient(ellipse 70% 50% at calc(48% + var(--zh-scroll, 0) * 10%) calc(92% - var(--zh-scroll, 0) * 34%), var(--wp--custom--aurora--shade), transparent 70%);
}
.zh-aurora::after { inset: 0; background: var(--wp--custom--aurora--overlay); }

/* Header: sticky on the template-part wrapper, translucent like the wiki */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 0); }
.zh-header {
	background: var(--wp--custom--aurora--header);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding-top: 0.875rem;
	padding-bottom: 0.875rem;
}
.zh-header .wp-block-navigation { font-family: var(--wp--preset--font-family--heading); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; gap: 1.5rem; }
.zh-header .wp-block-navigation-item__content { color: var(--wp--preset--color--muted); }
.zh-header .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--ink); text-decoration: none; }
.zh-header .wc-block-mini-cart__button { color: var(--wp--preset--color--ink); padding: 0.25rem; }
.wc-block-mini-cart__badge { background: var(--wp--preset--color--brand); color: var(--wp--preset--color--on-brand); border-color: transparent; }

/* Logo: same files as the wiki header */
.zh-logo { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--wp--preset--color--ink); text-decoration: none; }
.zh-logo:hover { text-decoration: none; color: var(--wp--preset--color--ink); }
.zh-logo img { width: 46px; height: 46px; }
.zh-logo-white { display: var(--wp--custom--logo--white, block); }
.zh-logo-blue { display: var(--wp--custom--logo--blue, none); }
.zh-logo-text {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding-left: 0.75rem;
	border-left: 1px solid var(--wp--preset--color--line);
}

/* ------------------------------------------------------------------
   Tech-store layout: hairline grid, square product tiles, mono labels
   (in the spirit of Ledger, Teenage Engineering and Nothing stores)
   ------------------------------------------------------------------ */

/* Small mono label used for page titles, meta and footer */
.zh-label {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.4;
	margin: 0;
	color: var(--wp--preset--color--ink);
}
.zh-label-muted,
.zh-label-muted a { color: var(--wp--preset--color--muted); }
.zh-label-muted a:hover { color: var(--wp--preset--color--ink); text-decoration: none; }

.zh-main { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--70); }

/* Product-type tabs (All, T-shirts, Hoodies...) under the header */
.zh-tabs {
	display: flex;
	gap: 1.75rem;
	overflow-x: auto;
	scrollbar-width: none;
	white-space: nowrap;
	padding: 0 0 0.875rem;
	margin-bottom: var(--wp--preset--spacing--40) !important;
	border-bottom: 1px solid var(--wp--preset--color--line);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.zh-tabs::-webkit-scrollbar { display: none; }
.zh-tabs a { position: relative; color: var(--wp--preset--color--muted); padding: 0.25rem 0; }
.zh-tabs a:hover { color: var(--wp--preset--color--ink); text-decoration: none; }
.zh-tabs a[aria-current="page"] { color: var(--wp--preset--color--ink); }
.zh-tabs a[aria-current="page"]::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(-0.875rem - 1px);
	height: 1px;
	background: var(--wp--preset--color--brand);
}
.zh-main > .wp-block-template-part:first-child { margin-top: 0; }

/* Thin bar above the grid: title left, meta/sorting right */
.zh-bar {
	align-items: center;
	padding-bottom: 0.875rem;
	margin-bottom: 0 !important;
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.zh-bar h1 { font-size: 0.75rem; }
.zh-bar .woocommerce-ordering { margin: 0; }
.zh-bar .woocommerce-ordering select {
	background: transparent !important;
	border: 0 !important;
	color: var(--wp--preset--color--muted) !important;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	padding: 0;
	cursor: pointer;
}

/* Product grid: hairlines between tiles, no cards, no shadows */
.zh-products { margin-top: 0 !important; }
.zh-products .wc-block-product-template {
	gap: 0 !important;
	border-left: 1px solid var(--wp--preset--color--line);
}
.zh-products .wc-block-product {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: baseline;
	column-gap: 1rem;
	padding: 1rem 1rem 1.25rem;
	margin: 0 !important;
	border-right: 1px solid var(--wp--preset--color--line);
	border-bottom: 1px solid var(--wp--preset--color--line);
	text-align: left;
	transition: background 150ms ease;
}
.zh-products .wc-block-product:hover { background: var(--wp--custom--aurora--glass); }
.zh-products .wc-block-components-product-image {
	grid-column: 1 / -1;
	margin: 0 0 1rem !important;
	aspect-ratio: 1;
	border-radius: var(--wp--custom--radius--sm);
	overflow: hidden;
	background: var(--wp--custom--aurora--glass);
}
.zh-products .wc-block-components-product-image a,
.zh-products .wc-block-components-product-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.zh-products .wc-block-components-product-image img { transition: transform 400ms ease; }
.zh-products .wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.03); }
.zh-products .wp-block-post-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0;
}
.zh-products .wp-block-post-title a { color: var(--wp--preset--color--ink); }
.zh-products .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.zh-products .wc-block-product { position: relative; }
.zh-products .wp-block-post-title a:hover { text-decoration: none; }
.zh-products .wc-block-components-product-price,
.zh-products .wp-block-woocommerce-product-price {
	margin: 0 !important;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
	white-space: nowrap;
	text-align: right;
}
.zh-products .wp-block-query-pagination {
	margin-top: var(--wp--preset--spacing--50);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ------------------------------------------------------------------
   Home: horizontal product rails (Ledger-style), scroll-snap + arrows
   ------------------------------------------------------------------ */
.zh-section { margin-top: var(--wp--preset--spacing--60) !important; }
.zh-section:first-of-type { margin-top: var(--wp--preset--spacing--30) !important; }
.zh-section-head { align-items: center; margin-bottom: 1rem; gap: 1rem; }
.zh-section-head h2 { font-size: 0.75rem; }
.zh-section-head > p { margin-left: auto; }
.zh-rail-nav { display: flex; gap: 0.5rem; }
.zh-rail-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	border: 1px solid var(--wp--preset--color--line);
	background: var(--wp--custom--aurora--glass);
	color: var(--wp--preset--color--ink);
	cursor: pointer;
	transition: border-color 150ms ease, background 150ms ease, opacity 150ms ease;
}
.zh-rail-btn:hover:not(:disabled) { border-color: var(--wp--preset--color--brand); background: color-mix(in srgb, var(--wp--preset--color--brand) 16%, transparent); }
.zh-rail-btn:disabled { opacity: 0.3; cursor: default; }
.zh-rail-static .zh-rail-progress { visibility: hidden; }
.zh-section:has(.zh-rail-static) .zh-rail-nav { display: none; }

.zh-rail { margin-top: 0 !important; }
.zh-rail .wc-block-product-template {
	display: flex !important;
	flex-wrap: nowrap !important;
	grid-template-columns: none !important;
	gap: 1rem !important;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 0 0 0.25rem;
	margin: 0;
	border: 0 !important;
}
.zh-rail .wc-block-product-template::-webkit-scrollbar { display: none; }
.zh-rail .wc-block-product-template:focus-visible { outline: 2px solid var(--wp--preset--color--brand-soft); outline-offset: 4px; border-radius: var(--wp--custom--radius--lg); }
.zh-rail .wc-block-product {
	position: relative;
	flex: 0 0 clamp(13.5rem, 23vw, 18.5rem);
	max-width: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0.75rem 0.75rem 1rem;
	scroll-snap-align: start;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: baseline;
	column-gap: 0.75rem;
	text-align: left;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--custom--aurora--glass);
	transition: border-color 150ms ease, background 150ms ease;
}
.zh-rail-lg .wc-block-product { flex-basis: clamp(16rem, 36vw, 30rem); }
.zh-rail .wc-block-product:hover { border-color: color-mix(in srgb, var(--wp--preset--color--brand) 55%, transparent); background: var(--wp--custom--aurora--hover); }
.zh-rail .wc-block-components-product-image {
	grid-column: 1 / -1;
	margin: 0 0 0.875rem !important;
	aspect-ratio: 1;
	border-radius: var(--wp--custom--radius--md);
	overflow: hidden;
	background: var(--wp--custom--aurora--glass);
}
/* Store photos are square (300 of 302), so large tiles stay square too: no cropping. */
.zh-rail .wc-block-components-product-image a,
.zh-rail .wc-block-components-product-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.zh-rail .wc-block-components-product-image img { transition: transform 500ms ease; }
.zh-rail .wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.04); }
.zh-rail .wp-block-post-title { margin: 0; font-family: var(--wp--preset--font-family--body); font-size: 0.9375rem; font-weight: 500; line-height: 1.4; letter-spacing: 0; }
.zh-rail .wp-block-post-title a { color: var(--wp--preset--color--ink); }
.zh-rail .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.zh-rail .wp-block-post-title a:hover { text-decoration: none; }
.zh-rail .wc-block-components-product-price,
.zh-rail .wp-block-woocommerce-product-price { margin: 0 !important; font-family: var(--wp--preset--font-family--heading); font-size: 0.8125rem; color: var(--wp--preset--color--muted); white-space: nowrap; text-align: right; }

.zh-rail-progress { position: relative; height: 2px; margin-top: 1rem; background: var(--wp--preset--color--line); border-radius: 2px; overflow: hidden; }
.zh-rail-progress span { position: absolute; inset: 0 auto 0 0; width: 20%; background: var(--wp--preset--color--brand); border-radius: 2px; transition: transform 120ms linear; }

.zh-cta { margin-top: var(--wp--preset--spacing--60) !important; }

@media (max-width: 600px) {
	.zh-rail .wc-block-product { flex-basis: 72vw; }
	.zh-rail-lg .wc-block-product { flex-basis: 84vw; }
	.zh-rail-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.zh-rail .wc-block-product-template { scroll-behavior: auto; }
	.zh-rail .wc-block-components-product-image img { transition: none; }
}

/* Product page: big image, sticky buy box */
.zh-product .wp-block-columns { gap: var(--wp--preset--spacing--60); align-items: flex-start !important; }
.zh-product .woocommerce-product-gallery img { border-radius: var(--wp--custom--radius--sm); background: var(--wp--custom--aurora--glass); }
.zh-buybox { position: sticky; top: 6rem; }
.zh-buybox > * + * { margin-top: 1rem; }
.zh-buybox .wp-block-post-title { font-family: var(--wp--preset--font-family--body); font-size: var(--wp--preset--font-size--x-large); font-weight: 600; letter-spacing: -0.01em; margin-top: 0.5rem; }
.zh-buybox .wc-block-components-product-price,
.zh-buybox .wp-block-woocommerce-product-price { font-family: var(--wp--preset--font-family--heading); font-size: 1rem; color: var(--wp--preset--color--muted); }
.zh-buybox form.cart { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.zh-buybox form.cart .variations { width: 100%; border: 0; margin: 0; }
.zh-buybox form.cart .variations th,
.zh-buybox form.cart .variations td { display: block; padding: 0; text-align: left; }
.zh-buybox form.cart .variations label { font-family: var(--wp--preset--font-family--heading); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.zh-buybox form.cart .variations select { width: 100%; padding: 0.7rem 0.75rem; border-radius: var(--wp--custom--radius--sm); margin: 0.35rem 0 0.75rem; }
.zh-buybox form.cart .single_add_to_cart_button,
.zh-buybox form.cart button[type="submit"] { width: 100%; }
.zh-buybox .reset_variations { font-size: 0.75rem; color: var(--wp--preset--color--muted); }
.zh-buybox .wp-block-post-excerpt { color: var(--wp--preset--color--muted); font-size: 0.875rem; border-top: 1px solid var(--wp--preset--color--line); padding-top: 1rem; margin-top: 1.5rem; }

/* Description / details tabs as plain underlined labels */
.zh-product .wp-block-woocommerce-product-details { margin-top: var(--wp--preset--spacing--60); border-top: 1px solid var(--wp--preset--color--line); padding-top: 1.5rem; }
.zh-product .woocommerce-tabs ul.tabs { display: flex; gap: 1.5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; border: 0; }
.zh-product .woocommerce-tabs ul.tabs::before,
.zh-product .woocommerce-tabs ul.tabs li::before,
.zh-product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.zh-product .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; margin: 0; padding: 0; }
.zh-product .woocommerce-tabs ul.tabs li a {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	padding: 0 0 0.35rem;
	border-bottom: 1px solid transparent;
}
.zh-product .woocommerce-tabs ul.tabs li.active a { color: var(--wp--preset--color--ink); border-bottom-color: var(--wp--preset--color--brand); }
.zh-product .woocommerce-Tabs-panel { color: var(--wp--preset--color--muted); font-size: 0.9375rem; max-width: 46rem; }
.zh-product .woocommerce-Tabs-panel h2 { display: none; }

/* WooCommerce forms on a dark page (product options, cart, checkout) */
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select,
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-blocks-components-select select,
.wc-block-components-quantity-selector,
.wc-block-components-quantity-selector input,
.wp-block-woocommerce-add-to-cart-form input.qty,
.wp-block-woocommerce-add-to-cart-form select {
	background-color: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--ink) !important;
	border-color: var(--wp--preset--color--line) !important;
}
.wc-block-components-text-input label,
.wc-blocks-components-select label { color: var(--wp--preset--color--muted) !important; }
.wc-block-components-panel,
.wc-block-components-totals-wrapper,
.wc-block-components-order-summary,
.wc-block-cart-items,
.wc-block-components-sidebar { border-color: var(--wp--preset--color--line) !important; }
.wc-block-mini-cart__drawer .components-modal__frame,
.wc-block-mini-cart__drawer .wc-block-mini-cart__template-part,
.wp-block-woocommerce-mini-cart-contents { background: var(--wp--preset--color--page) !important; color: var(--wp--preset--color--ink); }

/* Footer: one mono line */
.zh-footer { border-top: 1px solid var(--wp--preset--color--line); padding-top: 1.25rem; padding-bottom: 1.25rem; }
.zh-footer p { margin: 0; }
.zh-footer a + a { margin-left: 1.25rem; }
.zh-footer-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.zh-footer-row > * { margin: 0 !important; }
.zh-social { display: flex; align-items: center; gap: 1rem; }
.zh-social a { display: inline-flex; margin: 0 !important; color: var(--wp--preset--color--muted, currentColor); opacity: .75; transition: opacity .2s, color .2s; }
.zh-social a:hover, .zh-social a:focus-visible { opacity: 1; color: var(--wp--preset--color--ink); }
.zh-social svg { width: 16px; height: 16px; fill: currentColor; }

/* Keyboard focus, same ring color as the wiki */
:where(a, button, input, select, textarea):focus-visible {
	outline: 2px solid var(--wp--preset--color--brand-soft);
	outline-offset: 2px;
}

@media (max-width: 781px) {
	.zh-buybox { position: static; }
}
@media (prefers-reduced-motion: reduce) {
	.zh-products .wc-block-components-product-image img,
	.zh-products .wc-block-product { transition: none; }
}

/* Visually hidden, still read by screen readers (home page h1) */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ------------------------------------------------------------------
   Product photo tile: every photo (transparent PNG, same framing) sits on
   the same blue-gray tile, light enough to hide leftovers of the background
   removal and keep black garments in contrast. Change it in theme.json:
   settings.custom.product.tile (other tested options: #E8F4FB ice blue,
   #9FB3C8 steel, which shows white edges until the photos are redone)
   ------------------------------------------------------------------ */
.zh-products .wc-block-components-product-image,
.zh-rail .wc-block-components-product-image,
.zh-product .woocommerce-product-gallery__image,
.zh-product .flex-control-thumbs li {
	background: var(--wp--custom--product--tile, #eceff4) !important;
}
.zh-products .wc-block-components-product-image img,
.zh-rail .wc-block-components-product-image img { object-fit: contain !important; }
.zh-product .woocommerce-product-gallery__image,
.zh-product .woocommerce-product-gallery__image img { border-radius: var(--wp--custom--radius--md); }
.zh-product .flex-control-thumbs li { border-radius: var(--wp--custom--radius--sm); overflow: hidden; }

/* ------------------------------------------------------------------
   Single card + spotlight (overrides the earlier grid/rail card rules)
   The photo tile IS the card: no outer frame, no hairlines. A soft blue
   spotlight behind the product keeps black garments readable on the dark page.
   ------------------------------------------------------------------ */
.zh-products .wc-block-components-product-image,
.zh-rail .wc-block-components-product-image,
.zh-product .woocommerce-product-gallery__image,
.zh-product .flex-control-thumbs li {
	background: var(--wp--custom--product--tile) !important;
	border-radius: var(--wp--custom--radius--lg) !important;
	transition: background 200ms ease, box-shadow 200ms ease;
}
.zh-products .wc-block-product:hover .wc-block-components-product-image,
.zh-rail .wc-block-product:hover .wc-block-components-product-image {
	background: var(--wp--custom--product--tile-hover) !important;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--brand) 45%, transparent);
}

/* Rails: no outer card */
.zh-rail .wc-block-product,
.zh-rail .wc-block-product:hover {
	border: 0 !important;
	background: transparent !important;
	padding: 0 !important;
	border-radius: 0;
}
.zh-rail .wc-block-components-product-image { margin-bottom: 0.875rem !important; }

/* Grids (shop, categories): plain gaps instead of hairline cells */
.zh-products .wc-block-product-template {
	border-left: 0 !important;
	gap: 2rem 1.25rem !important;
}
.zh-products .wc-block-product,
.zh-products .wc-block-product:hover {
	border: 0 !important;
	background: transparent !important;
	padding: 0 !important;
}
.zh-products .wc-block-components-product-image { margin-bottom: 0.875rem !important; }

/* ------------------------------------------------------------------
   Home hero: soft brand-blue gradient light drifting very slowly
   ------------------------------------------------------------------ */
.zh-hero-z {
	position: relative;
	min-height: clamp(240px, 32vw, 380px);
	display: flex;
	align-items: flex-end;
	margin-bottom: var(--wp--preset--spacing--40) !important;
}
.zh-hero-z__glow {
	position: absolute;
	inset: -30% -10% -20% 20%;
	pointer-events: none;
	filter: blur(50px);
	opacity: 0.9;
	-webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent);
	mask-image: radial-gradient(closest-side, #000 55%, transparent);
}
.zh-hero-z__glow span { position: absolute; border-radius: 50%; }
.zh-hero-z__glow .b1 { width: 60%; aspect-ratio: 1; left: 35%; top: 0; background: radial-gradient(circle, rgba(20, 125, 246, 0.55), transparent 62%); animation: zh-drift1 38s ease-in-out infinite alternate; }
.zh-hero-z__glow .b2 { width: 50%; aspect-ratio: 1; left: 5%; top: 25%; background: radial-gradient(circle, rgba(14, 95, 143, 0.5), transparent 62%); animation: zh-drift2 46s ease-in-out infinite alternate; }
.zh-hero-z__glow .b3 { width: 40%; aspect-ratio: 1; left: 45%; top: 40%; background: radial-gradient(circle, rgba(125, 175, 235, 0.22), transparent 60%); animation: zh-drift3 52s ease-in-out infinite alternate; }
@keyframes zh-drift1 { to { transform: translate(-20%, 12%) scale(1.1); } }
@keyframes zh-drift2 { to { transform: translate(25%, -10%) scale(0.95); } }
@keyframes zh-drift3 { to { transform: translate(-18%, -16%) scale(1.15); } }
.zh-hero-z__copy { position: relative; z-index: 1; padding-bottom: var(--wp--preset--spacing--40); max-width: 34rem; }
.zh-hero-z__eyebrow {
	margin: 0 0 0.75rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-soft);
}
.zh-hero-z__title { margin: 0; font-size: var(--wp--preset--font-size--xx-large); }
.zh-hero-z__lead { margin: 0.5rem 0 0; color: var(--wp--preset--color--muted); }
@media (prefers-reduced-motion: reduce) {
	.zh-hero-z__glow span { animation: none; }
}

/* Product photo zoom (hover) and full-screen viewer: same dark tile, never white */
.zh-product .woocommerce-product-gallery__image .zoomImg {
	background: #14263b;
}
.zh-product .woocommerce-product-gallery__image .zoomImg { background: var(--wp--custom--product--tile, #14263b); }
.pswp .pswp__bg { background: #0b1520 !important; opacity: 0.97 !important; }
.pswp .pswp__img { background: radial-gradient(ellipse 75% 65% at 50% 42%, #27466f 0%, #1a3150 42%, #111f33 100%); }
.pswp .pswp__img--placeholder { background: transparent; }
.zh-product .woocommerce-product-gallery__trigger { background: var(--wp--preset--color--base); color: var(--wp--preset--color--ink); }

/* ==================================================================
   Home v2: editorial scroll page (hero, drops, categories, closing)
   Motion: elements start hidden only when <html> has .zh-js (set in
   the head) and appear when motion.js adds .zh-ready / .is-in.
   ================================================================== */
.zh-home { padding-top: 0; overflow-x: clip; }
.zh-home > * + * { margin-block-start: 0; }

/* Shared pieces */
.zh-eyebrow {
	margin: 0 0 1rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-soft);
}
.zh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 3rem;
	padding: 0 1.5rem;
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: background 200ms ease, border-color 200ms ease, transform 200ms ease, color 200ms ease;
}
.zh-btn--primary { background: var(--wp--preset--color--brand); color: var(--wp--preset--color--on-brand) !important; }
.zh-btn--primary:hover { background: var(--wp--preset--color--brand-hover); transform: translateY(-1px); }
.zh-btn--ghost { border: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--ink) !important; }
.zh-btn--ghost:hover { border-color: var(--wp--preset--color--brand); transform: translateY(-1px); }
.zh-display {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1;
}

/* Hero */
.zh-hero {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
	min-height: min(calc(100svh - 7rem), 58rem);
	padding: clamp(2rem, 5vh, 4rem) 0 clamp(2.5rem, 6vh, 4.5rem);
}
.zh-hero__glow { position: absolute; inset: -10% -20% 0 10%; pointer-events: none; filter: blur(60px); z-index: 0; }
.zh-hero__glow span { position: absolute; border-radius: 50%; }
.zh-hero__glow .b1 { width: 55%; aspect-ratio: 1; left: 40%; top: 5%; background: radial-gradient(circle, rgba(20, 125, 246, 0.5), transparent 62%); animation: zh-drift1 38s ease-in-out infinite alternate; }
.zh-hero__glow .b2 { width: 45%; aspect-ratio: 1; left: 0; top: 30%; background: radial-gradient(circle, rgba(14, 95, 143, 0.45), transparent 62%); animation: zh-drift2 46s ease-in-out infinite alternate; }
.zh-hero__glow .b3 { width: 35%; aspect-ratio: 1; left: 55%; top: 50%; background: radial-gradient(circle, rgba(244, 183, 40, 0.12), transparent 60%); animation: zh-drift3 52s ease-in-out infinite alternate; }
.zh-hero__copy { position: relative; z-index: 1; will-change: transform, opacity; }
.zh-hero__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: clamp(2.75rem, 5.2vw, 6.5rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 0.98;
}
.zh-line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.06em; }
.zh-line > span { display: inline-block; }
.zh-hero__accent {
	background: linear-gradient(90deg, #a9cdf5, var(--wp--preset--color--brand-soft) 45%, #4f97ec);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.zh-hero__lead { margin: 1.5rem 0 0; max-width: 31rem; font-size: 1.0625rem; line-height: 1.6; color: var(--wp--preset--color--muted); }
.zh-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.zh-hero__media { position: relative; z-index: 1; }
.zh-hero__tile {
	position: relative;
	aspect-ratio: 1;
	border-radius: 28px;
	overflow: hidden;
	background: var(--wp--custom--product--tile);
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.zh-hero__tile img { position: absolute; left: 0; top: -5%; width: 100%; height: 110%; object-fit: cover; object-position: center top; will-change: transform; }
.zh-chip {
	position: absolute;
	left: clamp(-2.5rem, -3vw, -1rem);
	top: 2rem;
	display: grid;
	grid-template-columns: auto auto;
	align-items: center;
	column-gap: 1.25rem;
	row-gap: 0.15rem;
	padding: 0.9rem 1.1rem 0.9rem 1.25rem;
	border-radius: 18px;
	background: color-mix(in srgb, var(--wp--preset--color--page) 72%, transparent);
	border: 1px solid var(--wp--preset--color--line);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	color: var(--wp--preset--color--ink) !important;
	text-decoration: none !important;
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
	transition: border-color 200ms ease, transform 200ms ease;
}
.zh-chip:hover { border-color: var(--wp--preset--color--brand); transform: translateY(-2px); }
.zh-chip__label { grid-column: 1 / -1; font-family: var(--wp--preset--font-family--heading); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--brand-soft); }
.zh-chip__name { font-weight: 600; font-size: 0.9375rem; }
.zh-chip__price { grid-column: 1; font-family: var(--wp--preset--font-family--heading); font-size: 0.8125rem; color: var(--wp--preset--color--muted); }
.zh-chip__arrow { grid-column: 2; grid-row: 2 / 4; justify-self: end; display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--wp--preset--color--brand); color: var(--wp--preset--color--on-brand); transition: transform 200ms ease; }
.zh-chip:hover .zh-chip__arrow { transform: translateX(3px); }
.zh-scroll-cue { position: absolute; left: 50%; bottom: 0.5rem; width: 22px; height: 36px; margin-left: -11px; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; }
.zh-scroll-cue span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--wp--preset--color--ink); animation: zh-cue 1.8s ease-in-out infinite; }
@keyframes zh-cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Marquee strip */
.zh-marquee {
	overflow: hidden;
	border-top: 1px solid var(--wp--preset--color--line);
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 1rem 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.zh-marquee__track { display: flex; width: max-content; align-items: center; gap: 2rem; animation: zh-marquee 45s linear infinite; font-family: var(--wp--preset--font-family--heading); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--muted); white-space: nowrap; }
.zh-marquee__track i { font-style: normal; color: #f4b728; font-size: 0.625rem; }
@keyframes zh-marquee { to { transform: translateX(-50%); } }

/* Featured drops */
.zh-stories { margin-top: 0 !important; scroll-margin-top: 5rem; }
.zh-story {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: center;
	gap: clamp(2.5rem, 7vw, 7rem);
	padding-block: clamp(2.5rem, 6vh, 5rem);
}
.zh-story:first-child { padding-top: 0.5rem; }
.zh-story--flip .zh-story__media { order: 2; }
.zh-story__media { position: relative; }
.zh-story__tile {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	border-radius: 28px;
	overflow: hidden;
	background: var(--wp--custom--product--tile);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.zh-story__tile img { position: absolute; left: 0; top: -4%; width: 100%; height: 108%; object-fit: cover; object-position: center bottom; will-change: transform; transition: scale 1400ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.zh-story__flat {
	position: absolute;
	right: -7%;
	bottom: -7%;
	width: 38%;
	aspect-ratio: 1;
	border-radius: 22px;
	overflow: hidden;
	background: var(--wp--custom--product--tile-hover);
	border: 1px solid var(--wp--preset--color--line);
	box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.75);
	will-change: transform;
}
.zh-story__flat img { width: 100%; height: 100%; object-fit: contain; }
.zh-story--flip .zh-story__flat { right: auto; left: -7%; }
.zh-story__index { margin: 0 0 1.75rem; font-family: var(--wp--preset--font-family--heading); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--wp--preset--color--muted); }
.zh-story__title { margin: 0; text-wrap: balance; font-family: var(--wp--preset--font-family--body); font-size: clamp(2.25rem, 4.6vw, 4.25rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.zh-story__text { margin: 1.25rem 0 0; max-width: 30rem; font-size: 1.0625rem; line-height: 1.6; color: var(--wp--preset--color--muted); }
.zh-story__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2rem; }
.zh-story__price { font-family: var(--wp--preset--font-family--heading); font-size: 0.9375rem; color: var(--wp--preset--color--ink); }

/* Section heading */
.zh-head { margin-bottom: 2rem; }
.zh-head__title { margin: 0; font-family: var(--wp--preset--font-family--body); font-size: clamp(2rem, 3.6vw, 3.25rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }

/* Shop by category */
.zh-cats { margin-top: clamp(3rem, 8vw, 6rem) !important; }
.zh-cats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.zh-cat {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: 24px;
	overflow: hidden;
	background: var(--wp--custom--product--tile);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
	color: var(--wp--preset--color--ink) !important;
	text-decoration: none !important;
	transition: box-shadow 250ms ease, translate 250ms ease;
}
.zh-cat:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--brand) 60%, transparent); translate: 0 -4px; }
.zh-cat__img { display: block; aspect-ratio: 5 / 4; overflow: hidden; }
.zh-cat__img img { width: 100%; height: 100%; object-fit: contain; padding: 6% 10% 0; transition: scale 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.zh-cat:hover .zh-cat__img img { scale: 1.06; }
.zh-cat__meta { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem 1.25rem; }
.zh-cat__name { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
.zh-cat__count { font-family: var(--wp--preset--font-family--heading); font-size: 0.75rem; color: var(--wp--preset--color--muted); }
.zh-cat__arrow { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--wp--preset--color--line); transition: background 200ms ease, border-color 200ms ease, transform 200ms ease; }
.zh-cat:hover .zh-cat__arrow { background: var(--wp--preset--color--brand); border-color: var(--wp--preset--color--brand); color: var(--wp--preset--color--on-brand); transform: translateX(2px); }

/* New arrivals rail on the home page */
.zh-home .zh-section--rail { margin-top: clamp(4rem, 9vw, 7rem) !important; }

/* Closing banner */
.zh-closing {
	position: relative;
	overflow: hidden;
	margin-top: clamp(4rem, 9vw, 7rem) !important;
	padding: clamp(3rem, 8vw, 6.5rem) clamp(1.5rem, 5vw, 4rem);
	border-radius: 32px;
	border: 1px solid var(--wp--preset--color--line);
	background: var(--wp--custom--aurora--glass);
	text-align: center;
}
.zh-closing__glow { position: absolute; inset: -40%; background: radial-gradient(closest-side, rgba(20, 125, 246, 0.35), transparent 70%); filter: blur(30px); animation: zh-drift1 30s ease-in-out infinite alternate; pointer-events: none; }
.zh-closing > *:not(.zh-closing__glow) { position: relative; }
.zh-closing__title { margin: 0 auto; max-width: 16ch; text-wrap: balance; font-family: var(--wp--preset--font-family--body); font-size: clamp(2.25rem, 5.2vw, 4.75rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.zh-closing__text { margin: 1.25rem auto 2rem; max-width: 34rem; color: var(--wp--preset--color--muted); font-size: 1.0625rem; line-height: 1.6; }

/* ---------- Motion states ---------- */
.zh-js .zh-in { opacity: 0; transform: translateY(28px); transition: opacity 900ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 1000ms cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--d, 0) * 110ms + 120ms); }
.zh-js .zh-line > .zh-in { transform: translateY(105%); opacity: 1; }
.zh-js.zh-ready .zh-in { opacity: 1; transform: none; }
.zh-js .zh-hero__media.zh-in { transform: translateY(40px) scale(0.96); }
.zh-js.zh-ready .zh-hero__media.zh-in { transform: none; }

.zh-js .zh-r { opacity: 0; transform: translateY(30px); transition: opacity 800ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--d, 0) * 90ms + 150ms); }
.zh-js .is-in .zh-r { opacity: 1; transform: none; }

.zh-js .zh-story__tile { clip-path: inset(14% 10% 14% 10% round 28px); transition: clip-path 1300ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.zh-js .zh-story__tile img { scale: 1.15; }
.zh-js .zh-story.is-in .zh-story__tile { clip-path: inset(0 0 0 0 round 28px); }
.zh-js .zh-story.is-in .zh-story__tile img { scale: 1; }
.zh-js .zh-story__flat > img { opacity: 0; transform: translateY(40px) scale(0.9); transition: opacity 900ms ease 500ms, transform 1100ms cubic-bezier(0.2, 0.7, 0.2, 1) 500ms; }
.zh-js .zh-story__flat { opacity: 0; transition: opacity 700ms ease 450ms; }
.zh-js .zh-story.is-in .zh-story__flat { opacity: 1; }
.zh-js .zh-story.is-in .zh-story__flat > img { opacity: 1; transform: none; }

.zh-js .zh-card-in { opacity: 0; transform: translateY(36px); transition: opacity 800ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.zh-js .zh-card-in.is-in { opacity: 1; transform: none; }
.zh-js .zh-section--rail .zh-section-head { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 800ms ease; }
.zh-js .zh-section--rail.is-in .zh-section-head { opacity: 1; transform: none; }

/* ---------- Shop: category list on the left ---------- */
.zh-shop { display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.zh-shop > * { margin: 0 !important; }
.zh-side { position: sticky; top: 6.5rem; }
.zh-side__toggle { display: none; }
.zh-side__nav { display: flex; flex-direction: column; border-top: 1px solid var(--wp--preset--color--line); }
.zh-side__nav a {
	position: relative;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	text-decoration: none !important;
	transition: color 150ms ease, padding 200ms ease;
}
.zh-side__nav a em { font-style: normal; font-size: 0.6875rem; opacity: 0.7; }
.zh-side__nav a:hover { color: var(--wp--preset--color--ink); padding-left: 0.5rem; }
.zh-side__nav a[aria-current="page"] { color: var(--wp--preset--color--ink); padding-left: 0.875rem; }
.zh-side__nav a[aria-current="page"]::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--wp--preset--color--brand); }
.zh-shop__main .zh-bar { margin-bottom: 1.5rem !important; }

@media (max-width: 1100px) {
	.zh-cats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 781px) {
	.zh-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 1.5rem; }
	.zh-chip { position: relative; left: auto; top: auto; margin-top: 0.75rem; grid-template-columns: 1fr auto; }
	.zh-hero__actions .zh-btn { padding: 0 1.15rem; }
	.zh-scroll-cue { display: none; }
	.zh-story, .zh-story--flip { grid-template-columns: 1fr; gap: 3rem; padding-block: 2.5rem; }
	.zh-story--flip .zh-story__media { order: 0; }
	.zh-story__flat { width: 34%; right: -2%; bottom: -5%; }
	.zh-story--flip .zh-story__flat { left: auto; right: -2%; }
	.zh-cats__grid { gap: 0.75rem; }
	.zh-cat__meta { padding: 0.75rem 0.875rem 0.9rem; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
	.zh-cat__arrow { display: none; }
	.zh-shop { grid-template-columns: 1fr; gap: 1.5rem; }
	.zh-side { position: static; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; }
	.zh-side__toggle { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1rem; cursor: pointer; list-style: none; font-family: var(--wp--preset--font-family--heading); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
	.zh-side__toggle::-webkit-details-marker { display: none; }
	.zh-side__toggle::after { content: "+"; font-size: 1rem; color: var(--wp--preset--color--muted); }
	.zh-side[open] .zh-side__toggle::after { content: "–"; }
	.zh-side__nav { padding: 0 1rem 0.25rem; }
	.zh-side__nav a:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.zh-hero__glow span, .zh-closing__glow, .zh-marquee__track, .zh-scroll-cue span { animation: none; }
}

/* Header on phones: one line (logo mark, links, account, cart) */
@media (max-width: 600px) {
	.zh-logo-text { display: none; }
	.zh-logo img { width: 38px; height: 38px; }
	.zh-header .wp-block-navigation { gap: 0.9rem; font-size: 0.6875rem; letter-spacing: 0.06em; }
	.zh-header .wp-block-navigation__container { flex-wrap: nowrap; }
	.zh-header-actions { gap: 0.6rem; }
}

/* Wide screens: hero title lines never break inside, story tiles keep a sane height */
@media (min-width: 782px) {
	.zh-line { white-space: nowrap; }
	.zh-story__media { max-width: 46rem; width: 100%; justify-self: center; }
	.zh-hero__media { max-width: 50rem; justify-self: end; width: 100%; }
}
@media (min-width: 1600px) {
	.zh-hero__lead, .zh-story__text { font-size: 1.1875rem; max-width: 34rem; }
	.zh-story__title { font-size: clamp(3.5rem, 3.6vw, 5rem); }
	.zh-cats__grid { grid-template-columns: repeat(6, 1fr); }
	.zh-cat__meta { flex-wrap: wrap; row-gap: 0.25rem; }
	.zh-cat__name { flex-basis: 100%; }
	.zh-cat__arrow { width: 1.9rem; height: 1.9rem; }
}
@media (min-width: 1500px) {
	.zh-products .wc-block-product-template { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (min-width: 2100px) {
	.zh-products .wc-block-product-template { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
}

/* Hero product caption: a clean bar under the photo (replaces the floating chip) */
.zh-feature {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 1rem;
	padding: 0.875rem 0.875rem 0.875rem 1.25rem;
	border-radius: 16px;
	border: 1px solid var(--wp--preset--color--line);
	background: var(--wp--custom--aurora--glass);
	color: var(--wp--preset--color--ink) !important;
	text-decoration: none !important;
	transition: border-color 200ms ease, background 200ms ease;
}
.zh-feature:hover { border-color: color-mix(in srgb, var(--wp--preset--color--brand) 60%, transparent); }
.zh-feature__label { font-family: var(--wp--preset--font-family--heading); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--brand-soft); }
.zh-feature__name { font-weight: 600; font-size: 0.9375rem; }
.zh-feature__price { margin-left: auto; font-family: var(--wp--preset--font-family--heading); font-size: 0.8125rem; color: var(--wp--preset--color--muted); }
.zh-feature__arrow { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--wp--preset--color--brand); color: var(--wp--preset--color--on-brand); transition: transform 200ms ease; }
.zh-feature:hover .zh-feature__arrow { transform: translateX(3px); }
@media (max-width: 480px) { .zh-feature__label { display: none; } }
/* Hero photo: the face stays in frame (no parallax drift above the tile) */
.zh-hero__tile img { top: 0; height: 100%; object-position: center 20%; }
/* Poster collage: never cropped */
.zh-story__tile img[src*="story-posters"] { object-fit: contain; top: 0; height: 100%; }

/* ==================================================================
   Header v2: logo | centered nav with panels | search, account, cart
   ================================================================== */
.zh-header { position: relative; z-index: 45; padding-top: 0.75rem; padding-bottom: 0.75rem; transition: padding 250ms ease, background 250ms ease; }
.zh-header.is-scrolled { padding-top: 0.45rem; padding-bottom: 0.45rem; background: color-mix(in srgb, var(--wp--preset--color--page) 88%, transparent); }
.zh-header.is-scrolled .zh-logo img { width: 38px; height: 38px; }
.zh-logo img { transition: width 250ms ease, height 250ms ease; }
.zh-header__bar { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.zh-header__bar > * { margin: 0 !important; }
.zh-header-actions { justify-self: end; gap: 0.35rem !important; align-items: center; }
.zh-header-actions > * { margin: 0 !important; }

.zh-nav { display: flex; align-items: center; gap: 0.25rem; }
.zh-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.6rem 0.9rem;
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted) !important;
	text-decoration: none !important;
	transition: color 150ms ease, background 150ms ease;
}
.zh-nav__link:hover,
.zh-nav__link[aria-expanded="true"],
.zh-nav__link[aria-current="page"] { color: var(--wp--preset--color--ink) !important; }
.zh-nav__link:hover,
.zh-nav__link[aria-expanded="true"] { background: var(--wp--custom--aurora--glass); }
.zh-nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 0.2rem; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--wp--preset--color--brand); }
.zh-nav__chev { transition: transform 200ms ease; opacity: 0.7; }
.zh-nav__link[aria-expanded="true"] .zh-nav__chev { transform: rotate(180deg); }
.zh-nav__ext { opacity: 0.6; }

.zh-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: transparent; color: var(--wp--preset--color--ink); cursor: pointer; transition: background 150ms ease; }
.zh-icon-btn:hover, .zh-icon-btn[aria-expanded="true"] { background: var(--wp--custom--aurora--glass); }
.zh-header .wc-block-customer-account a { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; color: var(--wp--preset--color--ink) !important; transition: background 150ms ease; }
.zh-header .wc-block-customer-account a:hover { background: var(--wp--custom--aurora--glass); }
.zh-header .wc-block-customer-account svg { width: 20px; height: 20px; }
.zh-header .wc-block-mini-cart__button { width: 2.4rem; height: 2.4rem; justify-content: center; border-radius: 50%; }
.zh-header .wc-block-mini-cart__button:hover { background: var(--wp--custom--aurora--glass); }

/* Panels */
.zh-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 60;
	padding: 2rem var(--wp--style--root--padding-right, 2rem) 2.25rem var(--wp--style--root--padding-left, 2rem);
	background: var(--wp--preset--color--page);
	border-bottom: 1px solid var(--wp--preset--color--line);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
	animation: zh-mega-in 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.zh-mega[hidden] { display: none; }
@keyframes zh-mega-in { from { opacity: 0; transform: translateY(-8px); } }
.zh-mega__inner { max-width: var(--wp--style--global--wide-size, 1720px); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1.3fr 1.3fr; gap: 2.5rem; }
.zh-mega__title { margin: 0 0 1rem; font-family: var(--wp--preset--font-family--heading); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--brand-soft); }
.zh-mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.zh-mega__list a { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; font-size: 1rem; font-weight: 500; color: var(--wp--preset--color--ink) !important; text-decoration: none !important; transition: color 150ms ease, padding 200ms ease; }
.zh-mega__list a:hover { color: var(--wp--preset--color--brand-soft) !important; padding-left: 0.35rem; }
.zh-mega__list em { font-style: normal; font-family: var(--wp--preset--font-family--heading); font-size: 0.6875rem; color: var(--wp--preset--color--muted); }
.zh-mega__card { display: flex; flex-direction: column; gap: 0.35rem; color: var(--wp--preset--color--ink) !important; text-decoration: none !important; }
.zh-mega__card-img { display: block; aspect-ratio: 16 / 11; border-radius: 18px; overflow: hidden; background: var(--wp--custom--product--tile); margin-bottom: 0.5rem; }
.zh-mega__card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: scale 500ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.zh-mega__card:hover .zh-mega__card-img img { scale: 1.05; }
.zh-mega__card-label { font-family: var(--wp--preset--font-family--heading); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.zh-mega__card-name { font-weight: 600; }
.zh-mega__inner--cols { display: block; }
.zh-mega__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.25rem; }
.zh-mega__all { font-family: var(--wp--preset--font-family--heading); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--ink) !important; }
.zh-mega--search .zh-mega__inner { display: block; max-width: 46rem; }
.zh-search__form { display: flex; gap: 0.75rem; }
.zh-search__form input[type="search"] { flex: 1; min-height: 3rem; padding: 0 1.25rem; border-radius: 999px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--base); color: var(--wp--preset--color--ink); font: inherit; font-size: 1rem; }
.zh-search__form input[type="search"]:focus { outline: 2px solid var(--wp--preset--color--brand-soft); outline-offset: 1px; }
.zh-mega-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(5, 10, 18, 0.45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.zh-mega-backdrop[hidden] { display: none; }

/* Collection tiles */
.zh-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.zh-col { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--wp--custom--product--tile); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); color: var(--wp--preset--color--ink) !important; text-decoration: none !important; transition: box-shadow 200ms ease, translate 200ms ease; }
.zh-col:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--brand) 60%, transparent); translate: 0 -3px; }
.zh-col__img { display: block; aspect-ratio: 1; overflow: hidden; }
.zh-col__img img { width: 100%; height: 100%; object-fit: contain; transition: scale 500ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.zh-col:hover .zh-col__img img { scale: 1.05; }
.zh-col__meta { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.75rem 0.9rem 0.9rem; }
.zh-col__name { font-weight: 600; font-size: 0.9375rem; }
.zh-col__count { font-family: var(--wp--preset--font-family--heading); font-size: 0.6875rem; color: var(--wp--preset--color--muted); }
.zh-colpage .zh-head { margin-bottom: 1.5rem; }
.zh-colpage__lead { margin: 1rem 0 0; color: var(--wp--preset--color--muted); font-size: 1.0625rem; max-width: 36rem; }
.zh-cols--page { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.zh-cols--page .zh-col__img { aspect-ratio: 16 / 11; }
.zh-cols--page .zh-col__img img { padding: 5% 0 0; }
.zh-cols--page .zh-col__meta { padding: 1rem 1.25rem 1.25rem; }
.zh-cols--page .zh-col__name { font-size: 1.125rem; }

@media (max-width: 1100px) {
	.zh-mega__inner { grid-template-columns: 1fr 1fr 1fr; }
	.zh-mega__card:last-child { display: none; }
	.zh-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
	.zh-header__bar { grid-template-columns: auto 1fr auto; gap: 0.5rem; }
	.zh-nav { justify-content: center; gap: 0; }
	.zh-nav__link { padding: 0.5rem 0.5rem; font-size: 0.6875rem; letter-spacing: 0.06em; }
	.zh-nav__chev, .zh-nav__ext { display: none; }
	.zh-mega { position: absolute; top: 100%; max-height: calc(100svh - var(--zh-header-h, 64px)); overflow-y: auto; overscroll-behavior: contain; padding: 1.25rem; }
	.zh-mega__inner { grid-template-columns: 1fr; gap: 1.75rem; }
	.zh-mega__card { display: none; }
	.zh-cols, .zh-cols--page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
	.zh-search__form { flex-direction: column; }
}
@media (max-width: 600px) {
	.zh-header .wp-block-navigation { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.zh-mega { animation: none; }
}
@media (max-width: 480px) {
	.zh-header__bar { gap: 0.25rem; }
	.zh-logo img, .zh-header.is-scrolled .zh-logo img { width: 34px; height: 34px; }
	.zh-nav__link { padding: 0.45rem 0.35rem; font-size: 0.625rem; letter-spacing: 0.04em; }
	.zh-icon-btn,
	.zh-header .wc-block-customer-account a,
	.zh-header .wc-block-mini-cart__button { width: 2rem; height: 2rem; }
	.zh-header-actions { gap: 0 !important; }
}

/* Shop panel: product types + two featured cards (collections live only in the Collections panel) */
.zh-mega__inner--shop { grid-template-columns: minmax(14rem, 1fr) 1.5fr 1.5fr; }
@media (max-width: 1100px) { .zh-mega__inner--shop { grid-template-columns: 1fr 1.4fr; } }
@media (max-width: 781px) { .zh-mega__inner--shop { grid-template-columns: 1fr; } }

/* Rail arrows: light pump on click */
.zh-rail .wc-block-product.zh-pump { animation: zh-pump-next 520ms cubic-bezier(0.3, 0.7, 0.3, 1); }
.zh-rail .wc-block-product.zh-pump-prev { animation: zh-pump-back 520ms cubic-bezier(0.3, 0.7, 0.3, 1); }
.zh-rail-btn.zh-pump, .zh-rail-btn.zh-pump-prev { animation: zh-pump-btn 380ms cubic-bezier(0.3, 0.7, 0.3, 1); }
@keyframes zh-pump-next { 0% { scale: 1; translate: 0; } 30% { scale: 0.965; translate: -6px 0; } 65% { scale: 1.012; translate: 2px 0; } 100% { scale: 1; translate: 0; } }
@keyframes zh-pump-back { 0% { scale: 1; translate: 0; } 30% { scale: 0.965; translate: 6px 0; } 65% { scale: 1.012; translate: -2px 0; } 100% { scale: 1; translate: 0; } }
@keyframes zh-pump-btn { 0% { scale: 1; } 35% { scale: 0.86; } 70% { scale: 1.08; } 100% { scale: 1; } }

/* Shop panel v3: three tidy columns, centered, no images */
.zh-mega__inner--shop { max-width: 60rem; grid-template-columns: 1fr 1fr 0.8fr; gap: 0; }
.zh-mega__inner--shop .zh-mega__col { padding: 0 2.5rem; border-left: 1px solid var(--wp--preset--color--line); }
.zh-mega__inner--shop .zh-mega__col:first-child { border-left: 0; padding-left: 0; }
.zh-mega__list--big a { padding: 0.55rem 0; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
.zh-mega__list a i { font-style: normal; opacity: 0; transform: translateX(-6px); transition: opacity 180ms ease, transform 180ms ease; color: var(--wp--preset--color--brand-soft); }
.zh-mega__list a:hover i { opacity: 1; transform: none; }
.zh-mega__list--big a:hover { padding-left: 0; }
.zh-mega__col--links .zh-mega__list a { font-size: 0.9375rem; font-weight: 500; color: var(--wp--preset--color--muted) !important; }
.zh-mega__col--links .zh-mega__list a:hover { color: var(--wp--preset--color--ink) !important; }
@media (max-width: 781px) {
	.zh-mega__inner--shop { grid-template-columns: 1fr; gap: 1.5rem; }
	.zh-mega__inner--shop .zh-mega__col { padding: 0; border-left: 0; }
}

/* Contribute: outlined pill next to the header icons */
.zh-contribute {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-right: 0.5rem;
	padding: 0.5rem 0.95rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--brand) 55%, transparent);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ink) !important;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background 180ms ease, border-color 180ms ease;
}
.zh-contribute:hover { background: var(--wp--preset--color--brand); border-color: var(--wp--preset--color--brand); color: var(--wp--preset--color--on-brand) !important; }
.zh-contribute svg { opacity: 0.7; }
.zh-search { display: contents; }
.zh-mega__mobile-only { display: none; }
@media (max-width: 781px) {
	.zh-nav__item--desktop { display: none; }
	.zh-mega__mobile-only { display: block; }
}

/* ==================================================================
   Product page v2: gallery + buy box, details sheet, reviews
   ================================================================== */
.zh-product > .wp-block-columns { gap: clamp(2rem, 5vw, 5.5rem) !important; }
.zh-product .zh-buybox { max-width: 34rem; }
.zh-buybox .wp-block-post-title { font-size: clamp(1.75rem, 2.6vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.zh-buybox .wc-block-components-product-price, .zh-buybox .wp-block-woocommerce-product-price { font-size: 1.125rem; color: var(--wp--preset--color--ink); }
.zh-buybox .zh-label-muted a { color: var(--wp--preset--color--brand-soft); }
.zh-lead { margin: 1.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--muted); font-size: 1rem; line-height: 1.65; }
.zh-assure { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.zh-assure li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.875rem; color: var(--wp--preset--color--muted); }
.zh-assure svg { color: var(--wp--preset--color--brand-soft); flex: none; }
.zh-jump { display: inline-block; margin-top: 1.75rem; font-family: var(--wp--preset--font-family--heading); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--ink) !important; text-decoration: none !important; border-bottom: 1px solid var(--wp--preset--color--line); padding-bottom: 0.25rem; }
.zh-jump:hover { border-color: var(--wp--preset--color--brand); }
.zh-buybox form.cart .single_add_to_cart_button, .zh-buybox .wp-block-button__link, .zh-buybox button.single_add_to_cart_button { border-radius: 999px !important; min-height: 3.25rem; font-family: var(--wp--preset--font-family--heading); letter-spacing: 0.1em; }
.zh-buybox .quantity input.qty { border-radius: 999px !important; min-height: 3.25rem; text-align: center; }

/* Details sheet */
.zh-pinfo, .zh-reviews {
	display: grid;
	grid-template-columns: minmax(14rem, 0.8fr) 1.4fr;
	gap: clamp(2rem, 6vw, 6rem);
	margin-top: clamp(4rem, 8vw, 6.5rem) !important;
	padding-top: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid var(--wp--preset--color--line);
	scroll-margin-top: 6rem;
}
.zh-pinfo__head, .zh-reviews__head { align-self: start; position: sticky; top: 7rem; }
.zh-pinfo__title { margin: 0; font-family: var(--wp--preset--font-family--body); font-size: clamp(1.75rem, 2.8vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.zh-pinfo__text p { margin: 0 0 1rem; max-width: 42rem; font-size: 1.0625rem; line-height: 1.7; color: var(--wp--preset--color--ink); }
.zh-pinfo__text p:first-child { font-size: 1.1875rem; }
.zh-specs { margin: 0; border-top: 1px solid var(--wp--preset--color--line); }
.zh-specs__row { display: grid; grid-template-columns: 12rem 1fr; gap: 1.5rem; padding: 0.95rem 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.zh-specs__row--plain { grid-template-columns: 1fr; }
.zh-specs dt { margin: 0; font-family: var(--wp--preset--font-family--heading); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--muted); padding-top: 0.15rem; }
.zh-specs dd { margin: 0; font-size: 0.9375rem; color: var(--wp--preset--color--ink); }
.zh-specs__row--plain dd::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 0.85rem 0.15rem 0; border-radius: 50%; background: var(--wp--preset--color--brand-soft); vertical-align: middle; }

/* Reviews */
.zh-reviews__score { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; font-size: 0.875rem; color: var(--wp--preset--color--muted); }
.zh-reviews__empty { margin: 0.75rem 0 0; color: var(--wp--preset--color--muted); max-width: 22rem; line-height: 1.6; }
.zh-stars { position: relative; display: inline-block; width: 5.6em; height: 1em; font-size: 1rem; line-height: 1; }
.zh-stars::before, .zh-stars__fill::before { content: "★★★★★"; position: absolute; inset: 0; letter-spacing: 0.12em; white-space: nowrap; }
.zh-stars::before { color: rgba(255, 255, 255, 0.22); }
.zh-stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.zh-stars__fill::before { color: #f4b728; }
.zh-review-list { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--wp--preset--color--line); }
.zh-review { padding: 1.5rem 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.zh-review__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; font-size: 0.875rem; }
.zh-review__meta time { margin-left: auto; font-family: var(--wp--preset--font-family--heading); font-size: 0.75rem; color: var(--wp--preset--color--muted); }
.zh-badge { font-family: var(--wp--preset--font-family--heading); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--brand-soft); border: 1px solid var(--wp--preset--color--line); border-radius: 999px; padding: 0.2rem 0.55rem; }
.zh-review__text { margin-top: 0.75rem; color: var(--wp--preset--color--ink); line-height: 1.65; }
.zh-review__text p { margin: 0 0 0.5rem; }

.zh-review-form > summary { list-style: none; cursor: pointer; display: inline-flex; }
.zh-review-form > summary::-webkit-details-marker { display: none; }
.zh-review-form[open] > summary { display: none; }
.zh-review-form__panel { padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--wp--preset--color--line); border-radius: 20px; background: var(--wp--custom--aurora--glass); }
.zh-review-form__panel .comment-respond { margin: 0; }
.zh-review-form__panel #reply-title { display: none; }
.zh-review-form__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; margin: 0; }
.zh-review-form__form > * { margin: 0; }
.zh-form-note { grid-column: 1 / -1; margin: 0; font-size: 0.8125rem; color: var(--wp--preset--color--muted); }
.zh-rate, .zh-field--wide, .zh-check, .zh-review-form__form .form-submit { grid-column: 1 / -1; }
.zh-rate { border: 0; padding: 0; margin: 0; }
.zh-rate legend, .zh-field label { display: block; margin-bottom: 0.5rem; padding: 0; font-family: var(--wp--preset--font-family--heading); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.zh-rate__stars { display: inline-flex; flex-direction: row-reverse; gap: 0.3rem; }
.zh-rate__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.zh-rate__stars label { width: 1.9rem; height: 1.9rem; cursor: pointer; background: currentColor; color: rgba(255, 255, 255, 0.22); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") center / contain no-repeat; transition: color 120ms ease, transform 120ms ease; }
.zh-rate__stars label:hover, .zh-rate__stars label:hover ~ label, .zh-rate__stars input:checked ~ label { color: #f4b728; }
.zh-rate__stars label:hover { transform: scale(1.1); }
.zh-rate__stars input:focus-visible + label { outline: 2px solid var(--wp--preset--color--brand-soft); outline-offset: 3px; border-radius: 4px; }
.zh-field input, .zh-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	border: 1px solid var(--wp--preset--color--line) !important;
	background: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--ink) !important;
	font: inherit;
	font-size: 0.9375rem;
	transition: border-color 150ms ease;
}
.zh-field textarea { min-height: 8rem; resize: vertical; line-height: 1.6; }
.zh-field input:focus, .zh-field textarea:focus { border-color: var(--wp--preset--color--brand) !important; outline: none; }
.zh-field textarea::placeholder { color: var(--wp--preset--color--muted); opacity: 0.7; }
.zh-check { display: flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; color: var(--wp--preset--color--muted); }
.zh-check input { width: 1rem; height: 1rem; accent-color: var(--wp--preset--color--brand); }
.zh-review-form__form .form-submit { margin: 0.25rem 0 0; }

@media (max-width: 900px) {
	.zh-pinfo, .zh-reviews { grid-template-columns: 1fr; gap: 1.5rem; }
	.zh-pinfo__head, .zh-reviews__head { position: static; }
	.zh-specs__row { grid-template-columns: 8.5rem 1fr; gap: 1rem; }
	.zh-review-form__form { grid-template-columns: 1fr; }
}
.zh-product .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; }
.zh-product .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; margin-top: 0.75rem !important; }
.zh-product .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.zh-product .flex-control-thumbs img { opacity: 0.6; transition: opacity 150ms ease; }
.zh-product .flex-control-thumbs img.flex-active, .zh-product .flex-control-thumbs img:hover { opacity: 1; }
.zh-buybox .quantity input.qty { width: 4.5rem; }
.zh-product .wp-block-woocommerce-product-image-gallery { max-width: none !important; width: 100%; }
.zh-pinfo__text + .zh-specs { margin-top: 1.5rem; }
.zh-note { margin-top: 1.5rem; padding: 1rem 1.25rem; border-radius: 14px; background: var(--wp--custom--aurora--glass); border: 1px solid var(--wp--preset--color--line); font-size: 0.875rem; color: var(--wp--preset--color--muted); line-height: 1.6; }
.zh-note p { margin: 0; }
.zh-note__title { margin-bottom: 0.25rem !important; font-family: var(--wp--preset--font-family--heading); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--ink); }
button.zh-btn { border: 0; cursor: pointer; } .zh-review-form > summary.zh-btn { border: 1px solid var(--wp--preset--color--line); }

/* Add to cart: always full brand blue, also before a size is picked (WooCommerce
   marks it .disabled and shows a "choose an option" notice on click) */
.zh-buybox .single_add_to_cart_button,
.zh-buybox .single_add_to_cart_button.disabled,
.zh-buybox .single_add_to_cart_button:disabled {
	opacity: 1 !important;
	background: var(--wp--preset--color--brand) !important;
	color: #fff !important;
	border: 0 !important;
	cursor: pointer;
	transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.zh-buybox .single_add_to_cart_button:hover { background: #2f8cff !important; transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(20, 125, 246, 0.7); }
.zh-buybox .single_add_to_cart_button:active { transform: translateY(0); background: var(--wp--preset--color--brand-hover) !important; }
.zh-buybox .single_add_to_cart_button.disabled:hover { transform: none; box-shadow: none; background: var(--wp--preset--color--brand) !important; }
/* Quantity: clean pill with an even hairline */
.zh-buybox .quantity input.qty { border: 1px solid var(--wp--preset--color--line) !important; box-shadow: none !important; outline: none; background: var(--wp--preset--color--base) !important; }
.zh-buybox .quantity input.qty:focus { border-color: var(--wp--preset--color--brand) !important; }

/* Photos with their own white background (not yet cut out): light tile, so
   they look intentional instead of a white square on the dark tile */
.zh-products .wc-block-components-product-image:has(img.zh-img-opaque),
.zh-rail .wc-block-components-product-image:has(img.zh-img-opaque),
.zh-product .woocommerce-product-gallery__image:has(img.zh-img-opaque),
.zh-product .flex-control-thumbs li:has(img.zh-img-opaque) { background: #f4f6f9 !important; }
.zh-products .wc-block-product:hover .wc-block-components-product-image:has(img.zh-img-opaque),
.zh-rail .wc-block-product:hover .wc-block-components-product-image:has(img.zh-img-opaque) { background: #ffffff !important; }
