/* ==========================================================================
   Arctic Hunter — app.css
   A cool arctic system with a single warm signal-orange accent.
   Mobile-first. All tokens inherited from theme.json presets.
   ========================================================================== */

:root {
	--ah-ink: var(--wp--preset--color--contrast);
	--ah-signal: var(--wp--preset--color--signal);
	--ah-frost: var(--wp--preset--color--frost);
	--ah-slate: var(--wp--preset--color--slate);
	--ah-line: var(--wp--preset--color--line);
	--ah-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ah-header-h: 68px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

::selection { background: var(--ah-signal); color: #fff; }

a { text-underline-offset: 0.2em; }

img { max-width: 100%; height: auto; }

:focus-visible {
	outline: 2px solid var(--ah-signal);
	outline-offset: 3px;
}

/* Utility: the monospace "field-tag" eyebrow — the theme's signature motif. */
.is-style-eyebrow,
.ah-eyebrow {
	font-family: var(--wp--preset--font-family--mono) !important;
	font-size: 0.72rem !important;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ah-slate);
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	line-height: 1;
}
.is-style-eyebrow::before,
.ah-eyebrow::before {
	content: "";
	width: 18px;
	height: 2px;
	background: var(--ah-signal);
	display: inline-block;
	flex: none;
}

/* ==========================================================================
   Buttons — refine the theme.json defaults + a "ghost" outline variant.
   ========================================================================== */
.wp-block-button__link {
	transition: background-color .3s var(--ah-ease), color .3s var(--ah-ease), transform .3s var(--ah-ease), box-shadow .3s var(--ah-ease);
	will-change: transform;
}
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: var(--wp--preset--shadow--signal); }

.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--ah-ink);
	border: 1.5px solid var(--ah-ink);
}
.is-style-outline .wp-block-button__link:hover {
	background: var(--ah-ink);
	color: #fff;
	box-shadow: none;
}
.wp-block-buttons.is-style-stretch .wp-block-button { flex: 1; }
.wp-block-buttons.is-style-stretch .wp-block-button__link { width: 100%; text-align: center; }

/* Buttons that sit on dark panels */
.is-style-panel-dark .wp-block-button__link,
.has-basalt-deep-background-color .wp-block-button__link {
	background: #fff;
	color: var(--ah-ink);
}
.is-style-panel-dark .is-style-outline .wp-block-button__link {
	background: transparent;
	color: #fff;
	border-color: rgba(255,255,255,.4);
}
.is-style-panel-dark .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--ah-ink); }

/* ==========================================================================
   Group block styles
   ========================================================================== */
.wp-block-group.is-style-card {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--ah-line);
	border-radius: var(--wp--custom--radius--md);
	overflow: clip;
}
.wp-block-group.is-style-panel-dark {
	background: var(--wp--preset--color--basalt-deep);
	color: var(--ah-frost);
}
.wp-block-group.is-style-panel-dark :where(h1,h2,h3,h4,h5,h6) { color: #fff; }
.wp-block-group.is-style-panel-dark a { color: #fff; }
.wp-block-group.is-style-hairline-frame {
	border: 1px solid var(--ah-line);
	border-radius: var(--wp--custom--radius--lg);
}

.wp-block-columns.is-style-divide { gap: 0 !important; }
.wp-block-columns.is-style-divide > .wp-block-column + .wp-block-column {
	border-left: 1px solid var(--ah-line);
	padding-left: clamp(1.25rem, 3vw, 2.5rem);
}
.wp-block-columns.is-style-divide > .wp-block-column { padding-right: clamp(1.25rem, 3vw, 2.5rem); }

/* ==========================================================================
   Site header
   ========================================================================== */
.ah-announce {
	background: var(--ah-ink);
	color: #fff;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.ah-announce a { color: var(--ah-signal); text-decoration: none; }

.ah-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--ah-line);
}
/* 3-track grid: logo | centered nav | utilities */
.ah-header-row.wp-block-group {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
	padding-inline: clamp(1rem, 3.4vw, 3.25rem);
}
.ah-header-row > .wp-block-site-logo { justify-self: start; }
.ah-header-row > .wp-block-navigation { justify-self: center; min-width: 0; }
.ah-header-row > .ah-header-utils { justify-self: end; }

.ah-header .wp-block-site-logo { line-height: 0; }
.ah-header .wp-block-site-logo img { width: clamp(120px, 11vw, 150px); height: auto; display: block; }

.ah-header .wp-block-navigation a {
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0;
	text-decoration: none;
	color: var(--ah-ink);
	white-space: nowrap;
}
.ah-header .wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--ah-signal); }

/* Icon-only search toggle */
.ah-header-search .wp-block-search__button {
	background: none;
	border: 0;
	padding: 0.35rem;
	margin: 0;
	cursor: pointer;
	color: var(--ah-ink);
	display: inline-grid;
	place-items: center;
}
.ah-header-search .wp-block-search__button:hover { color: var(--ah-signal); }
.ah-header-search .wp-block-search__button svg { width: 22px; height: 22px; }
.ah-header-search .wp-block-search__input {
	border: 1px solid var(--ah-line);
	border-radius: 999px;
	padding: 0.35rem 0.9rem;
	font-size: 0.85rem;
}
.ah-header .ah-account-link { font-size: 0.9rem; text-decoration: none; color: var(--ah-ink); }
.ah-header .ah-account-link:hover { color: var(--ah-signal); }

/* Cart badge */
.ah-cart-link { position: relative; display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; color: var(--ah-ink); }
.ah-cart-count {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.68rem;
	min-width: 1.15rem;
	height: 1.15rem;
	padding: 0 0.3rem;
	border-radius: 999px;
	display: inline-grid;
	place-items: center;
	background: var(--ah-line);
	color: var(--ah-ink);
	line-height: 1;
	transition: background .25s var(--ah-ease), color .25s var(--ah-ease);
}
.ah-cart-count.is-active { background: var(--ah-signal); color: #fff; }

/* ==========================================================================
   HERO — the thesis. Full-bleed image, oversized display headline.
   ========================================================================== */
.ah-hero {
	position: relative;
	min-height: min(92svh, 820px);
	display: flex;
	align-items: flex-end;
	overflow: clip;
}
.ah-hero__media,
.ah-hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ah-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(14,15,17,.15) 0%, rgba(14,15,17,.05) 40%, rgba(14,15,17,.82) 100%);
}
.ah-hero__inner { position: relative; z-index: 2; width: 100%; color: #fff; }
.ah-hero__inner :where(h1,h2,h3) { color: #fff; }
.ah-hero h1 {
	font-size: clamp(3rem, 13vw, 8.5rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 0.92;
	text-wrap: balance;
}
.ah-hero .ah-eyebrow { color: rgba(255,255,255,.85); }
.ah-hero__lede { max-width: 44ch; color: rgba(255,255,255,.82); }

/* Coordinate ticker — a thin engineered detail bottom-right of the hero. */
.ah-hero__coords {
	position: absolute;
	right: clamp(1.25rem, 5vw, 3.5rem);
	bottom: clamp(1.25rem, 5vw, 3.5rem);
	z-index: 2;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	color: rgba(255,255,255,.6);
	writing-mode: vertical-rl;
	text-orientation: mixed;
}

/* Cover-based hero (editable in Gutenberg) styled to the immersive spec. */
.ah-hero-cover.wp-block-cover {
	min-height: min(92svh, 840px);
	align-items: flex-end;
	border-radius: 0;
	padding: clamp(1.5rem, 5vw, 4rem) !important;
}
.ah-hero-cover .wp-block-cover__background { background: linear-gradient(180deg, rgba(14,15,17,.12) 0%, rgba(14,15,17,.05) 38%, rgba(14,15,17,.86) 100%) !important; }
.ah-hero-cover .wp-block-cover__inner-container { width: 100%; max-width: 1320px; margin-inline: auto; }
.ah-hero-cover h1 {
	font-size: clamp(2.75rem, 11vw, 7.5rem) !important;
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 0.9;
	text-wrap: balance;
	max-width: 16ch;
}
.ah-hero-cover .ah-eyebrow,
.ah-hero-cover .is-style-eyebrow { color: rgba(255,255,255,.9) !important; }
.ah-hero-cover .ah-hero__lede { max-width: 46ch; color: rgba(255,255,255,.82); }

/* ==========================================================================
   HERO CARD SLIDER — inset rounded image card, arrows + dots (ref: arctichunter-eg.com)
   ========================================================================== */
.ah-hero-frame {
	padding: clamp(0.75rem, 1.6vw, 1.25rem) clamp(1rem, 3.4vw, 3.25rem) 0;
}
.ah-hero-slider {
	position: relative;
	height: min(80svh, 720px);
	border-radius: clamp(14px, 1.5vw, 20px);
	overflow: clip;
	isolation: isolate;
	background: var(--ah-ink);
}
.ah-hero-slider .ah-slide.wp-block-cover {
	position: absolute;
	inset: 0;
	min-height: 100%;
	align-items: flex-end;
	padding: clamp(1.5rem, 4vw, 3.5rem) !important;
	opacity: 0;
	transition: opacity 0.9s var(--ah-ease);
	pointer-events: none;
}
.ah-hero-slider .ah-slide.is-active,
.ah-hero-slider.no-js .ah-slide:first-child {
	opacity: 1;
	pointer-events: auto;
	z-index: 2;
}
.ah-hero-slider .ah-slide .wp-block-cover__background {
	background: rgba(14,15,17,.06) !important;
}
.ah-hero-slider .ah-slide .wp-block-cover__inner-container { width: 100%; }
.ah-hero-slider .ah-slide h1,
.ah-hero-slider .ah-slide h2 {
	font-size: clamp(2.4rem, 5.4vw, 4.6rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 0.94;
	color: #fff;
	text-wrap: balance;
	max-width: 16ch;
}
.ah-hero-slider .ah-slide .ah-eyebrow,
.ah-hero-slider .ah-slide .is-style-eyebrow { color: rgba(255,255,255,.9) !important; }
.ah-hero-slider .ah-slide .ah-hero__lede { max-width: 44ch; color: rgba(255,255,255,.85); }

/* Arrows */
.ah-hero-nav {
	position: absolute;
	bottom: clamp(1.25rem, 3vw, 2.25rem);
	z-index: 5;
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	background: none;
	border: 0;
	cursor: pointer;
	color: rgba(255,255,255,.9);
	font-size: 1.5rem;
	line-height: 1;
	transition: color .25s var(--ah-ease), transform .25s var(--ah-ease);
}
.ah-hero-nav { text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.ah-hero-nav:hover { color: #fff; transform: scale(1.12); }
.ah-hero-nav--prev { left: clamp(1rem, 2.5vw, 2rem); }
.ah-hero-nav--next { right: clamp(1rem, 2.5vw, 2rem); }

/* Dots */
.ah-hero-dots {
	position: absolute;
	left: 50%;
	bottom: clamp(1.4rem, 3vw, 2.4rem);
	transform: translateX(-50%);
	z-index: 5;
	display: flex;
	gap: 0.55rem;
}
.ah-hero-dots button {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: rgba(255,255,255,.45);
	box-shadow: 0 1px 4px rgba(0,0,0,.35);
	cursor: pointer;
	transition: background .25s var(--ah-ease), transform .25s var(--ah-ease);
}
.ah-hero-dots button.is-active { background: #fff; transform: scale(1.3); }

@media (max-width: 781px) {
	.ah-hero-slider { height: min(64svh, 540px); }
	.ah-hero-nav { display: none; }
}

/* ==========================================================================
   WHAT'S NEW — story strip: ringed circular product thumbnails
   ========================================================================== */
/* The strip's scrollable overflow escapes the constrained-layout wrapper and
   inflates the document scroll area on mobile — clip at the section. */
.ah-whats-new { overflow: hidden; }
.ah-stories {
	display: flex;
	gap: clamp(1rem, 2.5vw, 1.75rem);
	overflow-x: auto;
	padding: 0.25rem 0.25rem 0.75rem;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.ah-stories::-webkit-scrollbar { display: none; }
/* Auto-scrolling marquee mode (JS wraps items in a track and duplicates). */
.ah-stories.is-marquee { display: block; overflow: hidden; scroll-snap-type: none; }
.ah-stories__track {
	display: flex;
	width: max-content;
	animation: ah-stories-scroll 48s linear infinite;
	will-change: transform;
}
.ah-stories.is-marquee:hover .ah-stories__track { animation-play-state: paused; }
.ah-stories.is-marquee .ah-story { flex: none; margin-right: clamp(1rem, 2.5vw, 1.75rem); }
@keyframes ah-stories-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.ah-stories__track { animation: none; }
}
.ah-story {
	flex: none;
	width: clamp(96px, 9.5vw, 126px);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
	text-decoration: none;
	scroll-snap-align: start;
}
.ah-story__ring {
	display: block;
	width: clamp(86px, 8.5vw, 112px);
	aspect-ratio: 1;
	border-radius: 50%;
	padding: 3px;
	background: conic-gradient(from 210deg, var(--ah-signal), #ffb17a, var(--ah-signal));
	transition: transform 0.3s var(--ah-ease);
}
.ah-story:hover .ah-story__ring { transform: scale(1.06); }
.ah-story__avatar {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 3px solid #fff;
	overflow: clip;
	background: var(--ah-frost);
}
.ah-story__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}
.ah-story__name {
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--ah-ink);
	text-align: center;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ah-story:hover .ah-story__name { color: var(--ah-signal); }
.ah-story__price {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.68rem;
	color: var(--ah-slate);
}
.ah-story__price del { opacity: 0.6; margin-right: 0.3rem; }
.ah-story__price ins { text-decoration: none; color: var(--ah-signal); font-weight: 700; }

/* ==========================================================================
   REELS — YouTube Shorts rail (9:16 cards) + popup player
   ========================================================================== */
.ah-reels-section { overflow: hidden; }
.ah-reels {
	display: flex;
	gap: clamp(0.75rem, 1.6vw, 1.25rem);
	overflow-x: auto;
	padding: 0.25rem 0.25rem 0.75rem;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.ah-reels::-webkit-scrollbar { display: none; }
.ah-reel {
	flex: none;
	width: clamp(180px, 18vw, 250px);
	aspect-ratio: 9 / 16;
	position: relative;
	border: 0;
	padding: 0;
	border-radius: clamp(12px, 1.2vw, 18px);
	overflow: clip;
	cursor: pointer;
	background: var(--ah-ink);
	scroll-snap-align: start;
}
.ah-reel img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s var(--ah-ease), opacity 0.3s var(--ah-ease);
}
.ah-reel:hover img { transform: scale(1.05); opacity: 0.85; }
.ah-reel__play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(14, 15, 17, 0.55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #fff;
	transition: transform 0.3s var(--ah-ease), background 0.3s var(--ah-ease);
}
.ah-reel__play svg { width: 22px; height: 22px; margin-left: 2px; }
.ah-reel:hover .ah-reel__play { transform: scale(1.12); background: var(--ah-signal); }

/* Showroom video card — 16:10 poster with centered play, opens the popup */
.ah-video-card {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	border: 0;
	padding: 0;
	border-radius: clamp(14px, 1.5vw, 20px);
	overflow: clip;
	cursor: pointer;
	background: var(--ah-ink);
}
.ah-video-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s var(--ah-ease), opacity 0.3s var(--ah-ease);
}
.ah-video-card:hover img { transform: scale(1.04); opacity: 0.85; }
.ah-video-card .ah-reel__play { width: 68px; height: 68px; }
.ah-video-card .ah-reel__play svg { width: 28px; height: 28px; }
.ah-video-card:hover .ah-reel__play { transform: scale(1.12); background: var(--ah-signal); }

/* Popup player */
.ah-reel-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	place-items: center;
	background: rgba(10, 11, 12, 0.88);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.ah-reel-modal__frame {
	position: relative;
	height: min(86svh, 800px);
	aspect-ratio: 9 / 16;
	max-width: 92vw;
}
.ah-reel-modal__frame.is-wide {
	width: min(92vw, 1100px);
	height: auto;
	max-height: 86svh;
	aspect-ratio: 16 / 9;
}
.ah-reel-modal__frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: clamp(12px, 1.4vw, 18px);
	background: #000;
	display: block;
}
.ah-reel-modal__close {
	position: absolute;
	top: -2.75rem;
	right: 0;
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.25s var(--ah-ease), transform 0.25s var(--ah-ease);
}
.ah-reel-modal__close:hover { background: var(--ah-signal); transform: scale(1.08); }

/* ==========================================================================
   Section headings — scroll-triggered underline draw
   ========================================================================== */
h2.ah-underline {
	position: relative;
	display: inline-block;
	padding-bottom: 0.12em;
}
h2.ah-underline::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 0.09em;
	background: var(--ah-signal);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.9s var(--ah-ease) 0.2s;
}
h2.ah-underline.is-in::after { transform: scaleX(1); }
.has-text-align-center.ah-underline::after { transform-origin: center; }

/* ==========================================================================
   Homepage — category tiles (cover blocks with stretched link)
   ========================================================================== */
.ah-cat-cover.wp-block-cover {
	aspect-ratio: 3 / 4;
	min-height: 0;
	border-radius: var(--wp--custom--radius--lg);
	overflow: clip;
	align-items: flex-end;
	justify-content: flex-start;
	padding: 1.25rem !important;
}
.ah-cat-cover .wp-block-cover__image-background { transition: transform .8s var(--ah-ease); }
.ah-cat-cover:hover .wp-block-cover__image-background { transform: scale(1.06); }
.ah-cat-cover .wp-block-cover__background { background: linear-gradient(180deg, rgba(14,15,17,0) 40%, rgba(14,15,17,.75) 100%) !important; }
.ah-cat-cover .wp-block-cover__inner-container { width: 100%; z-index: 2; }
.ah-cat-cover h3 { font-size: 1.3rem !important; margin: 0; }
.ah-cat-cover .wp-block-button { position: static; }
.ah-cat-cover .wp-block-button__link {
	background: transparent !important; color: rgba(255,255,255,.85) !important;
	padding: 0 !important; font-family: var(--wp--preset--font-family--mono);
	font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; box-shadow: none !important;
}
.ah-cat-cover .wp-block-button__link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.ah-cat-cover .wp-block-button__link:hover { transform: none; color: #fff !important; }

/* Materials */
.ah-material { position: relative; overflow: clip; border-radius: var(--wp--custom--radius--md); }
.ah-material img { transition: transform .8s var(--ah-ease); width:100%; aspect-ratio: 1; object-fit: cover; }
.ah-material:hover img { transform: scale(1.05); }

/* Editorial split image */
.ah-editorial-img img { border-radius: var(--wp--custom--radius--lg); width:100%; object-fit: cover; }

/* Section eyebrow spacing helper for homepage headings */
.ah-section-head h2 { text-wrap: balance; }

/* Big brand band */
.ah-band { text-align: center; }
.ah-band .ah-band__word { font-family: var(--wp--preset--font-family--display); font-weight: 800; letter-spacing: -.03em; line-height: .95; }

/* ==========================================================================
   MARQUEE — running field-notes strip.
   ========================================================================== */
.ah-marquee {
	background: var(--ah-ink);
	color: #fff;
	overflow: hidden;
	border-block: 1px solid rgba(255,255,255,.08);
	padding-block: 1rem;
}
.ah-marquee__track {
	display: inline-flex;
	gap: 3rem;
	white-space: nowrap;
	will-change: transform;
	animation: ah-scroll 32s linear infinite;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	align-items: center;
}
.ah-marquee__track span { display: inline-flex; align-items: center; gap: 3rem; }
.ah-marquee__track span::after { content: "◆"; color: var(--ah-signal); }
@keyframes ah-scroll { to { transform: translateX(-50%); } }

/* ==========================================================================
   PRODUCT CARDS (WooCommerce loop)
   ========================================================================== */
ul.products {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(0.75rem, 3vw, 1.5rem) clamp(0.75rem, 2vw, 1rem);
	margin: 0;
	padding: 0;
	list-style: none;
}
/* Woo's .woocommerce ul.products::before clearfix out-specifies a bare
   selector and becomes a grid item, leaving an empty first cell. */
ul.products::before,
ul.products::after { display: none !important; content: none !important; }
ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	display: flex;
	flex-direction: column;
}
.ah-card-media {
	position: relative;
	overflow: clip;
	border-radius: var(--wp--custom--radius--md);
	background: var(--ah-frost);
	aspect-ratio: 4 / 5;
}
/* height !important: Woo's `.woocommerce ul.products li.product a img
   { height: auto }` out-specifies this rule and leaves the 4:5 box unfilled. */
.ah-card-media img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform .7s var(--ah-ease);
}
li.product:hover .ah-card-media img { transform: scale(1.05); }
li.product .ah-card-eyebrow {
	display: block;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.66rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ah-slate);
	margin-top: 1rem;
}
ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	padding: 0.25rem 0 0;
	color: var(--ah-ink);
	line-height: 1.2;
}
ul.products li.product .price {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.9rem;
	color: var(--ah-ink);
	margin-top: 0.35rem;
	display: block;
}
ul.products li.product .price del { color: var(--ah-slate); opacity: .7; margin-right: .4rem; }
ul.products li.product .price ins { text-decoration: none; color: var(--ah-signal); font-weight: 700; }

/* Sale flag */
.woocommerce span.onsale,
ul.products .onsale {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 3;
	background: var(--ah-signal);
	color: #fff;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.35rem 0.6rem;
	border-radius: 999px;
	margin: 0;
	min-height: 0;
	min-width: 0;
	line-height: 1;
}

/* Add-to-cart on the card */
ul.products li.product .button,
ul.products li.product .added_to_cart {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background: transparent;
	color: var(--ah-ink);
	border: 1px solid var(--ah-line);
	border-radius: 999px;
	padding: 0.7rem 1.1rem;
	margin-top: 0.75rem;
	text-align: center;
	text-decoration: none;
	transition: all .25s var(--ah-ease);
	align-self: flex-start;
}
ul.products li.product .button:hover,
ul.products li.product .added_to_cart:hover { background: var(--ah-ink); color: #fff; border-color: var(--ah-ink); }
ul.products li.product .button.loading { opacity: .6; }
ul.products li.product .star-rating { display: none; }

/* ==========================================================================
   SHOP / ARCHIVE layout
   ========================================================================== */
.ah-shop-head {
	border-bottom: 1px solid var(--ah-line);
}

/* Sidebar + loop grid */
.ah-shop-layout.wp-block-group {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: clamp(1.5rem, 3vw, 2.75rem);
	align-items: start;
}
.ah-shop-layout > .ah-filters { grid-column: 1; }
.ah-shop-layout > .ah-shop-main { grid-column: 2; min-width: 0; }
.ah-shop-layout > p:empty { display: none; }
.ah-filters-toggle { display: none; }

/* Compact cards on archive pages */
.ah-shop ul.products li.product .woocommerce-loop-product__title { font-size: 0.95rem; }
.ah-shop ul.products li.product .price { font-size: 0.8rem; }
.ah-shop li.product .ah-card-eyebrow { font-size: 0.6rem; margin-top: 0.7rem; }
.ah-shop ul.products li.product .button,
.ah-shop ul.products li.product .added_to_cart { font-size: 0.6rem; padding: 0.55rem 0.9rem; margin-top: 0.55rem; }

/* Filters column */
.ah-filters {
	position: sticky;
	top: calc(var(--ah-header-h) + 24px);
	border: 1px solid var(--ah-line);
	border-radius: var(--wp--custom--radius--md);
	padding: 1.25rem;
	background: #fff;
}
.ah-filters__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 0.9rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--ah-line);
}
.ah-filters__name {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.ah-filters__close { display: none; border: 0; background: none; font-size: 1rem; cursor: pointer; color: var(--ah-ink); }

.ah-filter { margin-bottom: 1.5rem; }
.ah-filter:last-child { margin-bottom: 0; }
.ah-filter__title {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ah-slate);
	margin: 0 0 0.75rem;
}
.ah-filter ul { list-style: none; margin: 0; padding: 0; }
.ah-filter ul li { padding: 0.28rem 0; font-size: 0.9rem; display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.ah-filter ul li a { color: var(--ah-ink); text-decoration: none; }
.ah-filter ul li a:hover { color: var(--ah-signal); }
.ah-filter ul li.current-cat > a { color: var(--ah-signal); font-weight: 700; }
.ah-filter ul li .count { font-family: var(--wp--preset--font-family--mono); font-size: 0.7rem; color: var(--ah-slate); }
.ah-filter ul.children { width: 100%; padding-left: 0.9rem; }
.ah-filter .woocommerce-widget-layered-nav-filters ul li a::before { color: var(--ah-signal); }

/* Woo price slider, re-skinned */
.ah-filters .price_slider_wrapper { padding-top: 0.35rem; }
.ah-filters .price_slider {
	position: relative;
	height: 3px;
	background: var(--ah-line);
	border: 0;
	border-radius: 999px;
	margin: 0 7px 1.1rem;
}
.ah-filters .price_slider .ui-slider-range {
	position: absolute;
	height: 100%;
	background: var(--ah-signal) !important;
	border-radius: 999px;
}
.ah-filters .price_slider .ui-slider-handle {
	position: absolute;
	top: -6px;
	margin-left: -7px;
	width: 15px;
	height: 15px;
	background: #fff;
	border: 2px solid var(--ah-signal);
	border-radius: 50%;
	cursor: grab;
	outline: none;
}
/* Column layout — Woo injects <br>/hidden inputs that would break a flex row
   and push the Filter button outside the sidebar column. column-reverse puts
   the price label above the button (DOM order is button then label). */
.ah-filters .price_slider_amount {
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
	gap: 0;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	color: var(--ah-slate);
}
.ah-filters .price_slider_amount br,
.ah-filters .price_slider_amount label.screen-reader-text,
.ah-filters .price_slider_amount input[type="text"] { display: none; }
.ah-filters .price_slider_amount .price_label {
	display: block;
	margin-bottom: 0.85rem;
	white-space: normal;
	text-align: left;
}
.ah-filters .price_slider_amount .price_label .amount { white-space: nowrap; }
.ah-filters .price_slider_amount .button {
	float: none;
	display: inline-block;
	width: auto;
	max-width: 100%;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background: var(--ah-ink);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 0.6rem 1.25rem;
	cursor: pointer;
	transition: background 0.25s var(--ah-ease);
}
.ah-filters .price_slider_amount .button:hover { background: var(--ah-signal); }

/* Mobile: filters become an off-canvas drawer */
@media (max-width: 899px) {
	.ah-shop-layout.wp-block-group { grid-template-columns: 1fr; }
	.ah-shop-layout > .ah-shop-main { grid-column: 1; }
	.ah-filters-toggle {
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
		justify-self: start;
		font-family: var(--wp--preset--font-family--mono);
		font-size: 0.7rem;
		font-weight: 700;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		background: #fff;
		color: var(--ah-ink);
		border: 1px solid var(--ah-line);
		border-radius: 999px;
		padding: 0.6rem 1.1rem;
		cursor: pointer;
	}
	.ah-filters {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		z-index: 400;
		width: min(320px, 86vw);
		border: 0;
		border-radius: 0;
		overflow-y: auto;
		transform: translateX(-105%);
		transition: transform 0.35s var(--ah-ease);
		padding: 1.25rem 1.25rem 2rem;
	}
	.ah-filters.is-open { transform: translateX(0); box-shadow: 0 0 60px rgba(14,15,17,.35); }
	.ah-filters__close { display: block; }
}
.ah-filters-backdrop {
	position: fixed;
	inset: 0;
	z-index: 390;
	background: rgba(14, 15, 17, 0.5);
}
.woocommerce-result-count,
.woocommerce-ordering select {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	color: var(--ah-slate);
}
.woocommerce-ordering select {
	border: 1px solid var(--ah-line);
	border-radius: 999px;
	padding: 0.5rem 1rem;
	background: #fff;
}
.woocommerce-pagination ul { display: flex; gap: 0.4rem; list-style: none; padding: 0; justify-content: center; border: 0; }
.woocommerce-pagination a,
.woocommerce-pagination span {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.8rem;
	width: 2.6rem; height: 2.6rem;
	display: grid; place-items: center;
	border: 1px solid var(--ah-line);
	border-radius: 999px;
	text-decoration: none;
	color: var(--ah-ink);
}
.woocommerce-pagination span.current { background: var(--ah-ink); color: #fff; border-color: var(--ah-ink); }

/* ==========================================================================
   SINGLE PRODUCT — immersive PDP
   ========================================================================== */
.ah-pdp { --pdp-gap: clamp(1.5rem, 4vw, 4rem); }
.ah-pdp .product {
	position: relative;
}
/* Gallery — scroll-snap carousel, arrows + dots injected by app.js */
.ah-gallery {
	position: relative;
	border-radius: var(--wp--custom--radius--lg);
	overflow: clip;
	background: var(--ah-frost);
}
.ah-gallery .onsale { top: 1rem; left: 1rem; }
.ah-gallery__viewport {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.ah-gallery__viewport::-webkit-scrollbar { display: none; }
.ah-gallery__slide {
	flex: 0 0 100%;
	margin: 0;
	scroll-snap-align: start;
	aspect-ratio: 1 / 1;
}
.ah-gallery__slide img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
}
.ah-gallery .ah-gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	color: var(--ah-ink);
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 12px rgba(14, 15, 17, 0.12);
	transition: background 0.25s var(--ah-ease), transform 0.25s var(--ah-ease);
}
.ah-gallery .ah-gallery-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.ah-gallery .ah-gallery-nav--prev { left: 0.9rem; }
.ah-gallery .ah-gallery-nav--next { right: 0.9rem; }
.ah-gallery .ah-gallery-dots {
	position: absolute;
	left: 50%;
	bottom: 0.9rem;
	transform: translateX(-50%);
	z-index: 4;
	display: flex;
	gap: 0.5rem;
}
.ah-gallery .ah-gallery-dots button {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: rgba(14, 15, 17, 0.25);
	cursor: pointer;
	transition: background 0.25s var(--ah-ease), transform 0.25s var(--ah-ease);
}
.ah-gallery .ah-gallery-dots button.is-active { background: var(--ah-ink); transform: scale(1.3); }

/* Thumbnail strip under the gallery */
.ah-gallery-thumbs {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0.5rem;
	margin-top: 0.75rem;
}
.ah-gallery-thumb {
	border: 1px solid var(--ah-line);
	border-radius: var(--wp--custom--radius--sm);
	overflow: clip;
	padding: 0;
	cursor: pointer;
	background: var(--ah-frost);
	aspect-ratio: 1 / 1;
	transition: border-color 0.2s var(--ah-ease);
}
.ah-gallery-thumb img { width: 100%; height: 100% !important; object-fit: cover; display: block; }
.ah-gallery-thumb.is-active { border-color: var(--ah-signal); }
.ah-gallery-thumb:hover { border-color: var(--ah-ink); }

/* Colour swatches */
.ah-swatches { margin: 1.25rem 0; }
.ah-swatches__label {
	display: block;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ah-slate);
	margin-bottom: 0.6rem;
}
.ah-swatches__row { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.ah-swatch {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.75rem 0.4rem 0.5rem;
	border: 1px solid var(--ah-line);
	border-radius: 999px;
	font-size: 0.82rem;
}
.ah-swatch.is-active { border-color: var(--ah-ink); box-shadow: inset 0 0 0 1px var(--ah-ink); }
.ah-swatch__dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(14,15,17,.12); flex: none; }

/* Promo callout */
.ah-promo {
	display: flex;
	gap: 0.85rem;
	align-items: center;
	background: var(--ah-frost);
	border: 1px solid var(--ah-line);
	border-radius: var(--wp--custom--radius--md);
	padding: 0.9rem 1.1rem;
	margin: 1.25rem 0;
}
.ah-promo__icon {
	flex: none;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--ah-signal);
	color: #fff;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 1.1rem;
	font-weight: 700;
}
.ah-promo__text { font-size: 0.88rem; line-height: 1.5; color: var(--ah-slate); }
.ah-promo__text strong { color: var(--ah-ink); }

/* Ships-within line */
.ah-ships {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 1rem 0 0;
	font-size: 0.9rem;
	color: var(--ah-slate);
}
.ah-ships svg { color: var(--ah-signal); flex: none; }
.ah-ships strong { color: var(--ah-ink); font-weight: 600; }

/* Icon feature grid */
.ah-icongrid {
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid var(--ah-line);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.15rem 1.25rem;
}
.ah-icongrid li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.9rem; line-height: 1.3; }
.ah-icongrid__icon { flex: none; width: 26px; height: 26px; color: var(--ah-ink); }
.ah-icongrid__icon svg { width: 100%; height: 100%; }

/* Full-width stat band */
.ah-statband {
	margin: clamp(2.5rem, 6vw, 5rem) 0 0;
	padding: clamp(2.5rem, 6vw, 4.5rem) 0;
	border-top: 1px solid var(--ah-line);
	border-bottom: 1px solid var(--ah-line);
}
.ah-statband__inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	text-align: center;
}
.ah-stat { display: flex; flex-direction: column; gap: 0.35rem; }
.ah-stat + .ah-stat { border-left: 1px solid var(--ah-line); }
.ah-stat__num {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.6rem, 4vw, 2.75rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
}
.ah-stat__label {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ah-slate);
}

/* Below-the-fold feature showcase — alternating image/text blocks */
.ah-showcase { margin: clamp(3rem, 7vw, 6rem) 0 0; }
.ah-showcase__title {
	text-align: center;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.6rem, 3.5vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 clamp(2rem, 5vw, 3.5rem);
}
.ah-showcase__blocks { display: flex; flex-direction: column; gap: clamp(2.5rem, 6vw, 5rem); }
.ah-showcase__block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(1.5rem, 5vw, 4.5rem);
	align-items: center;
}
.ah-showcase__block:nth-child(even) .ah-showcase__media { order: 2; }
.ah-showcase__media {
	border-radius: var(--wp--custom--radius--lg);
	overflow: clip;
	background: var(--ah-frost);
	aspect-ratio: 4 / 3;
}
.ah-showcase__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ah-showcase__copy h3 {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.35rem, 2.6vw, 1.9rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.12;
	margin: 0 0 0.9rem;
}
.ah-showcase__copy p {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--ah-slate);
	max-width: 44ch;
	margin: 0;
}
@media (max-width: 899px) {
	.ah-showcase__block { grid-template-columns: 1fr; gap: 1.25rem; }
	.ah-showcase__block:nth-child(even) .ah-showcase__media { order: 0; }
}

/* ==========================================================================
   Shop by Brand — vertical scrolling logo wall
   ========================================================================== */
.ah-brands { overflow: hidden; }
.ah-brands-wall {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(0.75rem, 1.5vw, 1rem);
	height: clamp(380px, 58vh, 560px);
	overflow: hidden;
	-webkit-mask: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
	mask: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.ah-brands-col { overflow: hidden; }
.ah-brands-track {
	display: flex;
	flex-direction: column;
	animation: ah-brands-up 26s linear infinite;
	will-change: transform;
}
.ah-brands-col--down .ah-brands-track { animation-name: ah-brands-down; }
.ah-brands-wall:hover .ah-brands-track { animation-play-state: paused; }

.ah-brand-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 128px;
	margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
	padding: 1.5rem 1rem;
	border: 1px solid var(--ah-line);
	border-radius: var(--wp--custom--radius--md);
	background: #fff;
	text-decoration: none;
	text-align: center;
	transition: border-color 0.3s var(--ah-ease), background 0.3s var(--ah-ease), transform 0.3s var(--ah-ease);
}
.ah-brand-card:hover { border-color: var(--ah-ink); background: var(--ah-frost); transform: translateY(-2px); }
.ah-brand-card__logo {
	max-width: 78%;
	max-height: 52px;
	width: auto;
	height: auto;
	object-fit: contain;
	/* Unify the mixed-colour logos; restore full colour on hover. */
	filter: grayscale(1);
	opacity: 0.72;
	transition: filter 0.3s var(--ah-ease), opacity 0.3s var(--ah-ease);
}
.ah-brand-card:hover .ah-brand-card__logo { filter: none; opacity: 1; }
.ah-brand-card__name {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: clamp(1rem, 1.5vw, 1.3rem);
	letter-spacing: -0.01em;
	line-height: 1.1;
	color: var(--ah-ink);
}
.ah-brand-card__cta {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.62rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ah-slate);
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.3s var(--ah-ease), transform 0.3s var(--ah-ease), color 0.3s var(--ah-ease);
}
.ah-brand-card:hover .ah-brand-card__cta { opacity: 1; transform: translateY(0); color: var(--ah-signal); }

/* -50% is exactly one duplicated set (each card carries its own bottom
   margin, so the pattern is perfectly periodic → seamless loop). */
@keyframes ah-brands-up {
	from { transform: translateY(0); }
	to { transform: translateY(-50%); }
}
@keyframes ah-brands-down {
	from { transform: translateY(-50%); }
	to { transform: translateY(0); }
}

@media (max-width: 781px) {
	.ah-brands-wall { grid-template-columns: repeat(2, 1fr); height: clamp(340px, 62vh, 460px); }
	.ah-brands-col--third { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.ah-brands-track { animation: none; }
}

/* ==========================================================================
   Side-cart drawer
   ========================================================================== */
.ah-cart-drawer-backdrop {
	position: fixed;
	inset: 0;
	z-index: 1100;
	background: rgba(14, 15, 17, 0.5);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	opacity: 0;
	transition: opacity 0.3s var(--ah-ease);
}
.ah-cart-drawer-backdrop.is-open { opacity: 1; }
.ah-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1110;
	width: min(420px, 92vw);
	display: flex;
	flex-direction: column;
	background: #fff;
	transform: translateX(105%);
	transition: transform 0.38s var(--ah-ease);
	box-shadow: -10px 0 50px rgba(14, 15, 17, 0.18);
}
.ah-cart-drawer.is-open { transform: translateX(0); }
.ah-cart-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.15rem 1.5rem;
	border-bottom: 1px solid var(--ah-line);
	flex: none;
}
.ah-cart-drawer__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.ah-cart-drawer__close {
	border: 0;
	background: none;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	color: var(--ah-ink);
	padding: 0.25rem;
}
.ah-cart-drawer__close:hover { color: var(--ah-signal); }
.ah-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; }

/* Mini-cart contents */
.ah-cart-drawer .woocommerce-mini-cart__empty-message { color: var(--ah-slate); font-size: 0.95rem; }
.ah-cart-drawer ul.cart_list { list-style: none; margin: 0; padding: 0; }
.ah-cart-drawer ul.cart_list li {
	position: relative;
	display: grid;
	grid-template-columns: 60px 1fr auto;
	gap: 0.9rem;
	align-items: start;
	padding: 1rem 0;
	border-bottom: 1px solid var(--ah-line);
}
.ah-cart-drawer ul.cart_list li img {
	grid-row: 1 / span 2;
	width: 60px !important;
	height: 60px;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--sm);
	float: none !important;
	margin: 0 !important;
}
.ah-cart-drawer ul.cart_list li a:not(.remove) {
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--ah-ink);
	text-decoration: none;
	line-height: 1.25;
}
.ah-cart-drawer ul.cart_list li .quantity {
	grid-column: 2;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.8rem;
	color: var(--ah-slate);
}
.ah-cart-drawer ul.cart_list li a.remove {
	grid-column: 3;
	grid-row: 1;
	position: static;
	width: 22px;
	height: 22px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--ah-frost);
	color: var(--ah-ink) !important;
	font-size: 1rem;
	line-height: 1;
}
.ah-cart-drawer ul.cart_list li a.remove:hover { background: var(--ah-signal); color: #fff !important; }
.ah-cart-drawer .woocommerce-mini-cart__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding: 1.1rem 0 0;
	margin: 0.5rem 0 0;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ah-slate);
}
.ah-cart-drawer .woocommerce-mini-cart__total strong { color: var(--ah-ink); }
.ah-cart-drawer .woocommerce-mini-cart__total .amount { font-size: 1.15rem; }
.ah-cart-drawer .woocommerce-mini-cart__buttons {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin: 1.25rem 0 0;
	padding: 0;
}
.ah-cart-drawer .woocommerce-mini-cart__buttons .button {
	display: block;
	text-align: center;
	border-radius: 999px;
	padding: 1rem 1.5rem;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid var(--ah-line);
	background: #fff;
	color: var(--ah-ink);
	transition: background 0.25s var(--ah-ease), color 0.25s var(--ah-ease), border-color 0.25s var(--ah-ease);
}
.ah-cart-drawer .woocommerce-mini-cart__buttons .button:hover { border-color: var(--ah-ink); }
.ah-cart-drawer .woocommerce-mini-cart__buttons .checkout {
	background: var(--ah-signal);
	color: #fff;
	border-color: var(--ah-signal);
	order: -1;
}
.ah-cart-drawer .woocommerce-mini-cart__buttons .checkout:hover { background: var(--ah-ink); border-color: var(--ah-ink); }

/* Video review section */
.ah-videoreview { margin: clamp(3rem, 7vw, 6rem) 0 0; text-align: center; }
.ah-videoreview__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.6rem, 3.5vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 0.5rem;
}
.ah-videoreview__sub { color: var(--ah-slate); font-size: 1rem; margin: 0 0 clamp(1.5rem, 4vw, 2.5rem); }
.ah-videoreview__card {
	max-width: 860px;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
}

.ah-pdp .summary.entry-summary { position: relative; width: 100%; float: none; margin: 0; }
.ah-pdp .product_title {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.6rem, 2.8vw, 2.35rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.08;
	margin: 0.5rem 0 0.75rem;
}
.ah-pdp .ah-pdp__eyebrow {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ah-slate);
	display: flex; align-items: center; gap: .6em;
}
.ah-pdp .ah-pdp__eyebrow::before { content:""; width:18px; height:2px; background: var(--ah-signal); }
.ah-pdp .price {
	font-family: var(--wp--preset--font-family--mono) !important;
	font-size: 1.5rem !important;
	color: var(--ah-ink) !important;
	font-weight: 700;
	margin-bottom: 1.25rem;
}
.ah-pdp .price del { color: var(--ah-slate); font-weight: 400; opacity:.7; margin-right:.5rem; }
.ah-pdp .price ins { text-decoration: none; color: var(--ah-signal); }
.ah-pdp .woocommerce-product-details__short-description { color: var(--ah-slate); font-size: 1.0625rem; line-height: 1.7; max-width: 46ch; }
.ah-pdp .woocommerce-product-details__short-description p { margin: 0 0 1rem; }

/* Variation selectors / quantity */
.ah-pdp .variations { border-collapse: collapse; margin: 1.5rem 0 0; width: 100%; }
.ah-pdp .variations th { font-family: var(--wp--preset--font-family--mono); font-size:.7rem; letter-spacing:.12em; text-transform:uppercase; color: var(--ah-slate); text-align:left; padding: .5rem 0; vertical-align: top; width: 90px; }
.ah-pdp .variations td { padding: .5rem 0; }
.ah-pdp select { border:1px solid var(--ah-line); border-radius:999px; padding:.7rem 1rem; font-family: var(--wp--preset--font-family--body); background:#fff; }
.ah-pdp .quantity input.qty {
	width: 4rem; text-align:center; border:1px solid var(--ah-line); border-radius:999px; padding:.9rem .5rem; font-family: var(--wp--preset--font-family--mono);
}
.ah-pdp form.cart { display:flex; flex-wrap:wrap; gap:.6rem; align-items:stretch; margin: 1.5rem 0 0; }
.ah-pdp .quantity { flex: none; }

/* Add-to-cart: icon-only round button (accessible label kept, text hidden) */
.ah-pdp .single_add_to_cart_button {
	flex: none;
	width: 58px; min-width: 0; padding: 0;
	display: inline-grid; place-items: center;
	background: #fff; color: var(--ah-ink);
	border: 1px solid var(--ah-line); border-radius: 999px;
	font-size: 0; line-height: 0; cursor: pointer;
	transition: background .3s var(--ah-ease), border-color .3s var(--ah-ease), transform .3s var(--ah-ease);
}
.ah-pdp .single_add_to_cart_button svg { width: 22px; height: 22px; display: block; }
.ah-pdp .single_add_to_cart_button:hover { background: var(--ah-frost); border-color: var(--ah-ink); transform: translateY(-2px); }
.ah-pdp .single_add_to_cart_button.loading { opacity: .6; pointer-events: none; }

/* Buy now: the prominent primary CTA */
.ah-pdp .ah-buynow {
	flex: 1; min-width: 160px;
	background: var(--ah-signal); color: #fff; border: 0; border-radius: 999px;
	font-family: var(--wp--preset--font-family--mono); font-size:.75rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
	padding: 1.15rem 2.25rem; cursor: pointer;
	transition: background .3s var(--ah-ease), transform .3s var(--ah-ease);
}
.ah-pdp .ah-buynow:hover { background: var(--ah-ink); transform: translateY(-2px); }
.ah-pdp .ah-buynow.loading { opacity: .6; pointer-events: none; }

/* Perks — reassurance list under the CTA */
.ah-perks {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 1rem 0 0;
	border-top: 1px solid var(--ah-line);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.45rem 1rem;
}
.ah-perks li {
	position: relative;
	padding-left: 1.4rem;
	font-size: 0.85rem;
	color: var(--ah-slate);
}
.ah-perks li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--ah-signal);
	font-weight: 700;
}

/* Accordions — native <details> */
.ah-accs { margin-top: 1.5rem; border-top: 1px solid var(--ah-line); }
.ah-acc { border-bottom: 1px solid var(--ah-line); }
.ah-acc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.95rem;
	font-weight: 600;
}
.ah-acc summary::-webkit-details-marker { display: none; }
.ah-acc summary::after {
	content: "+";
	font-family: var(--wp--preset--font-family--mono);
	font-size: 1.1rem;
	color: var(--ah-slate);
	transition: transform 0.25s var(--ah-ease);
}
.ah-acc[open] summary::after { content: "−"; color: var(--ah-signal); }
.ah-acc__body { padding: 0 0 1.15rem; font-size: 0.9rem; color: var(--ah-slate); line-height: 1.65; }
.ah-acc__body p { margin: 0; }
.ah-acc__body .ah-spec { margin-top: 0; }

.ah-pdp .product_meta { font-family: var(--wp--preset--font-family--mono); font-size:.72rem; color: var(--ah-slate); margin-top:1.5rem; border-top:1px solid var(--ah-line); padding-top:1.25rem; }
.ah-pdp .product_meta > span { display:block; margin-bottom:.35rem; }
.ah-pdp .product_meta a { color: var(--ah-ink); text-decoration:none; }

/* The engineered spec readout — the theme's signature on the PDP */
.ah-spec {
	margin-top: 1.75rem;
	border: 1px solid var(--ah-line);
	border-radius: var(--wp--custom--radius--md);
	overflow: clip;
}
.ah-spec__row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1rem;
	padding: 0.85rem 1.1rem;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.78rem;
	border-bottom: 1px solid var(--ah-line);
}
.ah-spec__row:last-child { border-bottom: 0; }
.ah-spec__row dt { color: var(--ah-slate); letter-spacing: .08em; text-transform: uppercase; margin:0; }
.ah-spec__row dd { color: var(--ah-ink); margin:0; text-align:right; font-weight:700; }

/* Feature icon strip */
.ah-features { display:grid; grid-template-columns: repeat(2,1fr); gap:1px; background: var(--ah-line); border:1px solid var(--ah-line); border-radius: var(--wp--custom--radius--md); overflow:clip; margin-top:1.75rem; }
.ah-features__item { background:#fff; padding:1.1rem; display:flex; flex-direction:column; gap:.4rem; }
.ah-features__item .ah-features__k { font-family: var(--wp--preset--font-family--mono); font-size:.62rem; letter-spacing:.12em; text-transform:uppercase; color: var(--ah-slate); }
.ah-features__item .ah-features__v { font-family: var(--wp--preset--font-family--display); font-weight:700; font-size:1.05rem; }

/* PDP tabs */
.woocommerce-tabs { margin-top: clamp(3rem, 7vw, 6rem); }
.woocommerce-tabs ul.tabs { display:flex; gap:1.5rem; flex-wrap:wrap; list-style:none; padding:0 0 1rem; margin:0; border-bottom:1px solid var(--ah-line); }
.woocommerce-tabs ul.tabs li { }
.woocommerce-tabs ul.tabs li a { font-family: var(--wp--preset--font-family--mono); font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color: var(--ah-slate); text-decoration:none; padding-bottom:.5rem; }
.woocommerce-tabs ul.tabs li.active a { color: var(--ah-ink); box-shadow: 0 2px 0 var(--ah-signal); }
.woocommerce-tabs .panel { padding-top: 1.75rem; max-width: 68ch; color: var(--ah-slate); line-height:1.75; }
.woocommerce-tabs .panel h2 { color: var(--ah-ink); }

/* Sticky mobile add-to-cart bar */
.ah-sticky-cart {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 90;
	background: color-mix(in srgb, #fff 92%, transparent);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border-top: 1px solid var(--ah-line);
	padding: 0.7rem clamp(1rem,5vw,1.5rem);
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	transform: translateY(100%);
	transition: transform .4s var(--ah-ease);
}
.ah-sticky-cart.is-visible { transform: translateY(0); }
.ah-sticky-cart__meta { display:flex; flex-direction:column; }
.ah-sticky-cart__name { font-family: var(--wp--preset--font-family--display); font-weight:700; font-size:.95rem; line-height:1.1; }
.ah-sticky-cart__price { font-family: var(--wp--preset--font-family--mono); font-size:.8rem; color: var(--ah-signal); }
.ah-sticky-cart__btn {
	background: var(--ah-ink); color:#fff; border:0; border-radius:999px;
	font-family: var(--wp--preset--font-family--mono); font-size:.7rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
	padding: 1rem 1.75rem; cursor:pointer; white-space:nowrap;
}

/* Related products heading */
.related.products > h2,
.up-sells > h2 { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.5rem,4vw,2.25rem); }

/* ==========================================================================
   Category tiles (homepage / category index)
   ========================================================================== */
.ah-cat-tile { position:relative; display:block; overflow:clip; border-radius: var(--wp--custom--radius--lg); aspect-ratio: 3/4; text-decoration:none; }
.ah-cat-tile img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition: transform .8s var(--ah-ease); }
.ah-cat-tile::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(14,15,17,0) 35%, rgba(14,15,17,.72) 100%); }
.ah-cat-tile:hover img { transform: scale(1.06); }
.ah-cat-tile__label { position:absolute; left:1.25rem; bottom:1.25rem; z-index:2; color:#fff; }
.ah-cat-tile__label .n { font-family: var(--wp--preset--font-family--display); font-weight:700; font-size:1.35rem; display:block; }
.ah-cat-tile__label .k { font-family: var(--wp--preset--font-family--mono); font-size:.66rem; letter-spacing:.14em; text-transform:uppercase; opacity:.8; }

/* ==========================================================================
   Footer
   ========================================================================== */
.ah-footer { background: var(--wp--preset--color--basalt-deep); color: rgba(255,255,255,.7); }
.ah-footer :where(h1,h2,h3,h4) { color:#fff; }
.ah-footer a { color: rgba(255,255,255,.7); text-decoration:none; transition: color .2s var(--ah-ease); }
.ah-footer a:hover { color: var(--ah-signal); }
.ah-footer .wp-block-navigation { font-family: var(--wp--preset--font-family--body); }
.ah-footer-lockup { font-family: var(--wp--preset--font-family--display); font-weight:800; font-size: clamp(3rem, 12vw, 9rem); letter-spacing:-.03em; line-height:.85; color: rgba(255,255,255,.06); }

/* ==========================================================================
   Sections & scroll reveal
   ========================================================================== */
.ah-reveal { opacity:0; transform: translateY(24px); transition: opacity .8s var(--ah-ease), transform .8s var(--ah-ease); }
.ah-reveal.is-in { opacity:1; transform:none; }

/* Apple-style scroll reveal — subtle rise + scale, staggered per element.
   Class + --fx-delay are applied by app.js (so no-JS leaves content visible). */
.ah-fx {
	opacity: 0;
	transform: translateY(30px) scale(0.98);
	transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
	transition-delay: var(--fx-delay, 0s);
	will-change: opacity, transform;
}
.ah-fx.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.ah-fx { opacity: 1 !important; transform: none !important; }
}

/* Newsletter */
.ah-newsletter input[type="email"] {
	width:100%; border:1px solid rgba(255,255,255,.25); background:transparent; color:#fff;
	border-radius:999px; padding:1rem 1.25rem; font-family: var(--wp--preset--font-family--body);
}
.ah-newsletter input::placeholder { color: rgba(255,255,255,.45); }

/* ==========================================================================
   WooCommerce notices & cart/checkout polish
   ========================================================================== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: var(--wp--custom--radius--md);
	border: 1px solid var(--ah-line);
	border-left: 3px solid var(--ah-signal);
	background: var(--ah-frost);
	font-size: .9rem;
	list-style: none;
	padding: 1rem 1.25rem;
}
.woocommerce-message .button, .woocommerce-info .button { background: var(--ah-ink); color:#fff; border-radius:999px; padding:.5rem 1rem; font-size:.7rem; }
table.shop_table { border:1px solid var(--ah-line); border-radius: var(--wp--custom--radius--md); border-collapse:separate; border-spacing:0; overflow:clip; }
table.shop_table th { font-family: var(--wp--preset--font-family--mono); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color: var(--ah-slate); }
.cart_totals h2, .woocommerce-checkout h3 { font-family: var(--wp--preset--font-family--display); }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 700px) {
	ul.products { grid-template-columns: repeat(3, 1fr); }
	.ah-features { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
	:root { --ah-header-h: 76px; }
	/* Two-column region wrapped by app.js so the sticky buy box is bounded to
	   it and can't overlap the full-width sections below. */
	.ah-pdp .ah-pdp-top { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 0 var(--pdp-gap); align-items: start; }
	.ah-pdp .ah-pdp-top > .ah-pdp-left { grid-column: 1; grid-row: 1; }
	.ah-pdp .ah-pdp-top > .summary.entry-summary { grid-column: 2; grid-row: 1 / 3; align-self: start; width: 100%; position: sticky; top: calc(var(--ah-header-h) + 24px); }
	.ah-pdp .ah-pdp-top > .ah-accs { grid-column: 1; grid-row: 2; margin-top: 2rem; }
	/* Fallback before JS wraps (or if it fails): plain two-column grid.
	   Scoped to div.product so related-products li.product cards are untouched. */
	.ah-pdp div.product:not(:has(.ah-pdp-top)) { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 0 var(--pdp-gap); align-items: start; }
	.ah-pdp div.product:not(:has(.ah-pdp-top)) > .ah-pdp-left { grid-column: 1; }
	.ah-pdp div.product:not(:has(.ah-pdp-top)) > .summary.entry-summary { grid-column: 2; width: 100%; }
	.ah-pdp div.product:not(:has(.ah-pdp-top)) > .ah-accs { grid-column: 1; }
	.ah-pdp div.product:not(:has(.ah-pdp-top)) > .ah-statband,
	.ah-pdp div.product:not(:has(.ah-pdp-top)) > .ah-showcase,
	.ah-pdp div.product:not(:has(.ah-pdp-top)) > .ah-videoreview,
	.ah-pdp div.product:not(:has(.ah-pdp-top)) > .woocommerce-tabs,
	.ah-pdp div.product:not(:has(.ah-pdp-top)) > .related.products { grid-column: 1 / -1; }
	.ah-sticky-cart { display: none !important; }
}
@media (max-width: 899px) {
	.ah-sticky-cart { display: flex; }
	/* Compact mobile header: hamburger · logo · cart. */
	.ah-header-row .wp-block-search { display: none; }
	.ah-header-row .ah-account-link { display: none; }
	.ah-header-row.wp-block-group { gap: 0.5rem; }
	/* PDP stacks: gallery, buy box, then accordions all full width. */
	.ah-pdp .product { display: flex; flex-direction: column; }
	.ah-pdp .summary.entry-summary { margin-top: 1.5rem; }
	.ah-pdp .ah-accs { margin-top: 1.75rem; }
	.ah-statband__inner { grid-template-columns: repeat(2, 1fr); gap: 0; }
	.ah-stat { padding: 1.25rem 0.5rem; }
	.ah-stat:nth-child(odd) { border-left: 0; }
	.ah-stat:nth-child(n+3) { border-top: 1px solid var(--ah-line); }
	/* Room for the sticky add-to-cart bar. */
	.ah-pdp { padding-bottom: 6rem !important; }
}
@media (max-width: 599px) {
	/* Nav is a hamburger here — pin it left, center the logo, cart stays right. */
	.ah-header-row > .wp-block-navigation { grid-column: 1; grid-row: 1; justify-self: start; }
	.ah-header-row > .wp-block-site-logo { grid-column: 2; grid-row: 1; justify-self: center; }
	.ah-header-row > .ah-header-utils { grid-column: 3; grid-row: 1; }
}
@media (max-width: 480px) {
	.ah-header .wp-block-navigation__responsive-container-open { padding: 0; }
	.ah-announce p { font-size: 0.62rem !important; }
}
@media (min-width: 1200px) {
	ul.products { grid-template-columns: repeat(4, 1fr); }
	.woocommerce-page ul.products,
	.ah-shop ul.products { grid-template-columns: repeat(3, 1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.ah-reveal { opacity:1 !important; transform:none !important; }
}
