/* ==========================================================================
   Just Cell IT — storefront
   Quiet, product-first. Neutral type and light panels; the logo's tile colours
   appear only where they mean something: the hero phone and condition dots
   (blue = Sealed, cyan = Grade A, yellow = Grade B).
   ========================================================================== */

:root {
	--text: #1d1d1f;
	--muted: #6e6e73;
	--brand: #16183a;
	--brand-2: #2a2d57;
	--panel: #f5f5f7;
	--panel-2: #ebebef;
	--line: #d2d2d7;
	--line-soft: #e8e8ed;
	--bg: #ffffff;
	--link: #2b43b0;
	--sale: #b3124f;
	--ok: #1b7a4a;
	--wa: #147a41;

	--yellow: #ffc20e;
	--magenta: #d81b6a;
	--cyan: #12b0cf;
	--blue: #4a5aae;
	--c-sealed: var(--blue);
	--c-grade-a: var(--cyan);
	--c-grade-b: var(--yellow);

	--f-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
	--f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

	--r-sm: 10px;
	--r: 18px;
	--r-lg: 28px;

	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);

	--gutter: clamp(16px, 4vw, 44px);
	--max: 1260px;
	--header-h: 60px;
	--bar-h: 40px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
	margin: 0; font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.5; letter-spacing: -.005em;
	color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: rgba(74, 90, 174, .22); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }

.sr, .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; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 999; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
.ic--sm { width: 1em; height: 1em; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 780px; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--panel { background: var(--panel); }
.muted { color: var(--muted); }

/* ---------- Type: two faces, one scale ---------- */
.display, .h1, .h2 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.03em; }
.display { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.02; letter-spacing: -.035em; }
.h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.05; }
.h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.07; }
.h3 { font-size: 1.1875rem; letter-spacing: -.01em; }
.dim { color: var(--muted); }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.45; color: var(--muted); max-width: 34em; margin: 20px 0 0; }
.headline { max-width: 26ch; margin-bottom: clamp(32px, 4vw, 52px); text-wrap: balance; }
.headline--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.headline--row .h2 { max-width: 22ch; }

.link { display: inline-flex; align-items: center; color: var(--link); font-weight: 500; }
.link::after { content: "›"; font-size: 1.25em; line-height: 1; margin-left: 4px; transition: transform .3s var(--ease); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link:hover::after { transform: translateX(3px); }
.link--plain::after { content: none; }
.link .ic { margin-right: 6px; }

/* ---------- Buttons ---------- */
.btn, .button, button.button, input.button, #place_order {
	--bg: var(--brand); --fg: #fff; --bd: var(--brand);
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 11px 24px;
	font-family: var(--f-body); font-weight: 500; font-size: 1.0625rem; line-height: 1.2; letter-spacing: -.01em;
	color: var(--fg); background: var(--bg); border: 1px solid var(--bd); border-radius: 999px;
	cursor: pointer; white-space: nowrap; position: relative;
	transition: background-color .25s, color .25s, border-color .25s, transform .2s var(--ease);
}
.btn:hover, .button:hover, #place_order:hover { --bg: var(--brand-2); --bd: var(--brand-2); }
.btn:active, .button:active { transform: scale(.98); }
.btn--ghost { --bg: transparent; --fg: var(--text); --bd: var(--line); }
.btn--ghost:hover { --bg: var(--panel); --fg: var(--text); --bd: var(--line); }
.btn--light { --bg: #fff; --fg: var(--brand); --bd: #fff; }
.btn--light:hover { --bg: var(--panel); --fg: var(--brand); --bd: var(--panel); }
.btn--wa { --bg: var(--wa); --fg: #fff; --bd: var(--wa); }
.btn--wa:hover { --bg: #0f6334; --bd: #0f6334; }
.btn--lg { min-height: 54px; padding: 14px 30px; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn--block { width: 100%; }
.button.disabled, .button:disabled, .button[disabled] { opacity: .45; pointer-events: none; }
.button.loading, .btn.is-loading { color: transparent !important; pointer-events: none; }
.button.loading::after, .btn.is-loading::after {
	content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px;
	border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn { display: inline-grid; place-items: center; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--text); transition: background-color .2s; }
.icon-btn:hover { background: var(--panel); }

/* Condition marker: small tile + label (replaces badges). */
.cond-tag { display: inline-flex; align-items: center; gap: 7px; font-size: .8125rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--line); flex: none; }
.dot--sealed { background: var(--c-sealed); }
.dot--grade-a { background: var(--c-grade-a); }
.dot--grade-b { background: var(--c-grade-b); }
.dot.is-off { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.save { font-size: .8125rem; font-weight: 600; color: var(--sale); }
.save.is-muted { color: var(--muted); }

/* Notched corner: a cut-out in the bottom-right of a panel, joined by two
   concave corners. --notch-bg must match the surface behind the panel. */
.notch {
	--r: 18px; --notch-bg: var(--bg);
	position: absolute; right: 0; bottom: 0; z-index: 3;
	padding: 10px 0 0 10px; background: var(--notch-bg); border-top-left-radius: var(--r);
}
.notch::before, .notch::after {
	content: ""; position: absolute; width: var(--r); height: var(--r); pointer-events: none;
	background: radial-gradient(circle at 0 0, transparent calc(var(--r) - .5px), var(--notch-bg) var(--r));
}
.notch::before { right: 0; bottom: 100%; }
.notch::after { right: 100%; bottom: 0; }
.notch--left { right: auto; left: 0; padding: 12px 12px 0 0; border-top-left-radius: 0; border-top-right-radius: var(--r); }
.notch--left::before, .notch--left::after { background: radial-gradient(circle at 100% 0, transparent calc(var(--r) - .5px), var(--notch-bg) var(--r)); }
.notch--left::before { left: 0; right: auto; }
.notch--left::after { left: 100%; right: auto; }
.round-go { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--panel); color: var(--text); transition: background-color .3s, color .3s, transform .45s var(--ease); }
.round-go .ic { width: 20px; height: 20px; }

/* ---------- Announcement bar (JS fills the width and drives the scroll) ---------- */
.announce { height: var(--bar-h); background: var(--panel); color: var(--text); font-size: .8125rem; overflow: hidden; display: flex; align-items: center; }
.announce__track { display: flex; width: max-content; will-change: transform; }
.announce__list { display: flex; list-style: none; flex: none; }
.announce__list li { display: flex; align-items: center; white-space: nowrap; padding-right: 48px; }
.announce__list li::before { content: ""; width: 5px; height: 5px; border-radius: 1.5px; background: var(--c, var(--blue)); margin-right: 12px; }
.announce__list li:nth-child(4n+1) { --c: var(--yellow); }
.announce__list li:nth-child(4n+2) { --c: var(--magenta); }
.announce__list li:nth-child(4n+3) { --c: var(--cyan); }
.announce.is-static .announce__track { width: 100%; justify-content: center; }
.announce.is-static .announce__list + .announce__list { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 transparent; transition: box-shadow .3s, background-color .3s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line-soft); }
.site-header.has-open { background: #fff; box-shadow: 0 1px 0 var(--line-soft); }
.site-header__bar { display: flex; align-items: stretch; gap: 12px; height: var(--header-h); }
.brand, .custom-logo-link { display: flex; align-items: center; flex: none; }
.brand img, .custom-logo { width: auto; height: 42px; }
.nav-toggle { display: none; align-self: center; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > ul { display: flex; list-style: none; }
.main-nav > ul > li { display: flex; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 0 16px; font-size: .9375rem; color: #333336; transition: color .2s; }
.main-nav > ul > li > a:hover, .has-mega.is-open > a { color: var(--text); }
.main-nav > ul > li > a[aria-current] { color: var(--text); font-weight: 600; }
.has-mega > a .ic { transition: transform .3s var(--ease); opacity: .6; }
.has-mega.is-open > a .ic { transform: rotate(180deg); }
.site-header__actions { display: flex; align-items: center; gap: 2px; }
.cart-count {
	position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
	background: var(--brand); color: #fff; font-size: .6875rem; font-weight: 600; line-height: 18px; text-align: center;
	transition: transform .3s var(--ease), opacity .3s;
}
.cart-count[data-count="0"] { transform: scale(.4); opacity: 0; }
.cart-btn.is-bump .cart-count { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* Flyout. The li spans the full header height so there is no hover gap. */
.mega {
	position: absolute; left: 0; right: 0; top: 100%; background: #fff;
	visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0);
	transition: clip-path .45s var(--ease), opacity .25s, visibility 0s .45s;
}
.has-mega.is-open .mega { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0); transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 56px; padding-block: 36px 56px; }
.mega__inner > * { opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .4s var(--ease); }
.has-mega.is-open .mega__inner > * { opacity: 1; transform: none; transition-delay: .08s; }
.has-mega.is-open .mega__inner > *:nth-child(2) { transition-delay: .13s; }
.has-mega.is-open .mega__inner > *:nth-child(3) { transition-delay: .18s; }
.mega__h { font-size: .8125rem; font-weight: 500; color: var(--muted); margin-bottom: 14px; }
.mega__models { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 32px; }
.mega__models a { display: flex; align-items: baseline; gap: 10px; padding: 5px 0; font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.mega__models a small { font-family: var(--f-body); font-size: .8125rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.mega__models a:hover { color: var(--link); }
.mega__list { list-style: none; display: grid; gap: 2px; }
.mega__list a { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: .9375rem; font-weight: 500; }
.mega__list a:hover { color: var(--link); }
.nav-scrim {
	position: fixed; inset: 0; z-index: 50; background: rgba(232, 232, 237, .45);
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
	opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
}
.nav-scrim.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }

/* ---------- Overlays & drawers ---------- */
.overlay, .drawer { position: fixed; inset: 0; z-index: 100; background: rgba(29, 29, 31, .32); opacity: 0; transition: opacity .3s; }
.overlay.is-open, .drawer.is-open { opacity: 1; }
.search-panel { position: relative; background: #fff; padding: calc(32px + env(safe-area-inset-top, 0px)) var(--gutter) 44px; transform: translateY(-16px); transition: transform .45s var(--ease); }
.overlay.is-open .search-panel { transform: none; }
.search-form { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 8px 0; }
.search-form .ic { color: var(--muted); width: 22px; height: 22px; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-family: var(--f-display); font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 500; letter-spacing: -.02em; padding: 6px 0; min-height: 0; box-shadow: none !important; }
.search-form input::placeholder { color: #86868b; }
.search-panel__quick { max-width: 720px; margin: 28px auto 0; }
.search-panel__quick .mega__h { margin-bottom: 8px; }
.search-panel__quick ul { list-style: none; display: grid; }
.search-panel__quick a { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: .9375rem; font-weight: 500; }
.search-panel__quick a .ic { color: var(--muted); width: 16px; height: 16px; }
.search-panel__quick a:hover { color: var(--link); }
.overlay__close { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; }

.drawer__panel {
	position: absolute; top: 0; bottom: 0; width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column;
	transition: transform .5s var(--ease); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
.drawer--right .drawer__panel { right: 0; transform: translateX(100%); }
.drawer--left .drawer__panel { left: 0; transform: translateX(-100%); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 8px 12px 8px 24px; }
.drawer__head .brand img { height: 36px; }
.drawer__title { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.drawer__scroll { overflow-y: auto; padding: 8px 24px 24px; flex: 1; }
.drawer__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.drawer__items { list-style: none; overflow-y: auto; flex: 1; padding: 0 24px; }
.drawer__empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 40px; text-align: center; color: var(--muted); }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; }
.drawer__perk { font-size: .875rem; color: var(--muted); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.0625rem; }
.drawer__total strong { font-family: var(--f-display); font-size: 1.375rem; letter-spacing: -.02em; }
.mini { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.mini__img { background: var(--panel); border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.mini__img img { width: 100%; height: 100%; object-fit: contain; }
.mini__info { display: grid; gap: 3px; justify-items: start; }
.mini__name { font-weight: 600; line-height: 1.25; }
.mini__meta { font-size: .875rem; color: var(--muted); }
.mini__remove { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--muted); }
.mini__remove:hover { background: var(--panel); color: var(--text); }
.mini__remove .ic { width: 16px; height: 16px; }

.drawer__label { font-size: .8125rem; color: var(--muted); margin: 12px 0 4px; }
.mnav { list-style: none; margin: 0 0 24px; }
.mnav a { display: flex; align-items: baseline; gap: 10px; padding: 6px 0; font-family: var(--f-display); font-size: 1.625rem; font-weight: 600; letter-spacing: -.025em; }
.mnav a small { font-family: var(--f-body); font-size: .8125rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.mnav--sub a { font-family: var(--f-body); font-size: 1.0625rem; font-weight: 500; letter-spacing: 0; padding: 10px 0; align-items: center; }

/* ==========================================================================
   Home
   ========================================================================== */
.hero { padding: 12px 12px 0; }
.hero__panel {
	position: relative; border-radius: var(--r-lg); background: var(--panel); overflow: hidden;
	display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 32px;
	min-height: min(780px, calc(100svh - var(--header-h) - var(--bar-h) - 24px));
	padding: clamp(40px, 6vw, 88px) clamp(24px, 6vw, 96px) clamp(96px, 8vw, 112px);
}
.hero__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.75rem, 6.4vw, 5.25rem); line-height: 1; letter-spacing: -.04em; max-width: 11ch; text-wrap: balance; }
.hero__title > .dim { display: block; color: var(--muted); }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; }
.hero__notch { --r: 22px; }
.hero__notch ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 28px; padding: 16px clamp(20px, 3vw, 36px) 4px clamp(10px, 2vw, 20px); font-size: .875rem; color: var(--muted); }
.hero__notch li { display: flex; align-items: center; gap: 8px; }
.hero__notch .ic { width: 18px; height: 18px; }
.hero__notch li:nth-child(1) .ic { color: var(--magenta); }
.hero__notch li:nth-child(2) .ic { color: #0b8ba4; }
.hero__notch li:nth-child(3) .ic { color: var(--blue); }

/* Phone finder — the signature element */
.finder { position: relative; display: grid; justify-items: center; width: 100%; }
.phone-tilt { width: min(330px, 100%); transform: perspective(1400px) rotateY(var(--ry, -9deg)) rotateX(var(--rx, 4deg)); transition: transform .9s var(--ease); }
.phone {
	position: relative; width: 100%; aspect-ratio: 9 / 18.8; padding: 10px; border-radius: 54px; background: #1b1c2e;
	box-shadow: 0 50px 80px -40px rgba(22, 24, 58, .45), 0 20px 40px -24px rgba(22, 24, 58, .3), inset 0 0 0 1.5px #3b3e62, inset 0 0 0 5px #0d0e1c;
}
.phone__btn { position: absolute; width: 3px; border-radius: 3px; background: #2e3050; }
.phone__btn--a { left: -2px; top: 22%; height: 52px; }
.phone__btn--b { right: -2px; top: 28%; height: 80px; }
.phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 45px; background: linear-gradient(170deg, #f8f8fb 0%, #eceef6 100%); isolation: isolate; }
.phone__status { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 30px; font-weight: 600; font-size: .8125rem; }
.phone__island { position: absolute; left: 50%; top: 11px; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 20px; background: #05060f; }
.phone__sig { display: flex; align-items: flex-end; gap: 2px; height: 10px; }
.phone__sig i { width: 3px; background: var(--text); border-radius: 1px; }
.phone__sig i:nth-child(1) { height: 4px; } .phone__sig i:nth-child(2) { height: 7px; } .phone__sig i:nth-child(3) { height: 10px; }

.sh { position: absolute; inset: 50px 0 0; display: flex; flex-direction: column; padding: 16px 22px 18px; }
.sh__label { text-align: center; font-size: .8125rem; font-weight: 500; color: var(--muted); margin: 2px 0 20px; }
.tiles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; }
.tiles li { min-width: 0; }
.tile { width: 100%; display: grid; justify-items: center; gap: 7px; background: none; border: 0; padding: 0; }
.tile__num {
	display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 23%; background: var(--t-bg); color: var(--t-fg);
	font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.03em;
	box-shadow: 0 1px 2px rgba(22, 24, 58, .18), 0 6px 14px -8px rgba(22, 24, 58, .5);
	transition: transform .35s var(--ease), filter .25s;
}
.tile__label { max-width: 100%; font-size: .75rem; font-weight: 500; line-height: 1.15; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile:hover .tile__num { transform: scale(1.06); }
.tile:active .tile__num { transform: scale(.92); filter: brightness(.9); }
.tile:focus-visible { outline: none; }
.tile:focus-visible .tile__num { outline: 2px solid var(--link); outline-offset: 3px; }
.tile--0, .tile--2 { --t-bg: var(--yellow); --t-fg: var(--brand); }
.tile--1, .tile--6 { --t-bg: var(--magenta); --t-fg: #fff; }
.tile--3, .tile--8 { --t-bg: var(--cyan); --t-fg: var(--brand); }
.tile--4 { --t-bg: var(--brand); --t-fg: #fff; }
.tile--5, .tile--7 { --t-bg: var(--blue); --t-fg: #fff; }
.sh__dock { margin-top: auto; text-align: center; font-size: .75rem; color: var(--muted); padding: 12px; border-radius: 22px; background: rgba(255, 255, 255, .72); }

.app { position: absolute; inset: 0; z-index: 2; padding: 58px 20px 20px; background: #fff; display: flex; flex-direction: column; transform-origin: var(--ox, 50%) var(--oy, 50%); border-radius: 45px; }
.app.is-opening { animation: appOpen .5s var(--ease) both; }
.app.is-closing { animation: appClose .36s var(--ease-in-out) both; pointer-events: none; }
@keyframes appOpen { from { transform: scale(.18); opacity: 0; } 35% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes appClose { from { transform: none; opacity: 1; } 65% { opacity: 1; } to { transform: scale(.18); opacity: 0; } }
.app__back { align-self: flex-start; display: inline-flex; align-items: center; gap: 2px; min-height: 36px; background: none; border: 0; padding: 4px 8px 4px 0; font-size: .875rem; font-weight: 500; color: var(--link); }
.app__back .ic { width: 18px; height: 18px; }
.app__name { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.025em; line-height: 1.1; margin-top: 2px; }
.app__from { font-size: .8125rem; color: var(--muted); margin: 4px 0 0; }
.app__img { flex: 1; min-height: 0; display: grid; place-items: center; margin: 6px 0; }
.app__img img { max-height: 100%; width: auto; object-fit: contain; }
.app__rows { display: grid; }
.app__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 2px; border-top: 1px solid var(--line-soft); font-size: .875rem; }
.app__row:hover .app__row-price { color: var(--link); }
.app__row.is-out { color: var(--muted); }
.app__row-price { text-align: right; font-weight: 600; line-height: 1.2; transition: color .2s; }
.app__row-price small { display: block; font-size: .75rem; color: var(--muted); font-weight: 400; }
.app__cta { margin-top: 12px; min-height: 44px; font-size: .9375rem; }

/* Conditions */
.conds__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cond { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 340px; padding: 32px 32px 40px; border-radius: var(--r-lg); background: var(--panel); overflow: hidden; }
.cond__name { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: 1.75rem; font-weight: 600; letter-spacing: -.025em; }
.cond__name .dot { width: 16px; height: 16px; border-radius: 5px; }
.cond__text { color: var(--muted); max-width: 30ch; }
.cond__from { margin-top: auto; font-size: .9375rem; color: var(--muted); }
.cond__from strong { display: block; font-family: var(--f-display); font-size: 2rem; font-weight: 600; color: var(--text); letter-spacing: -.03em; line-height: 1.1; }
.cond .notch { --r: 20px; }
.cond--sealed { background: #eceefa; }
.cond--grade-a { background: #e3f5f9; }
.cond--grade-b { background: #fff4d4; }
.cond--sealed .round-go { background: var(--blue); color: #fff; }
.cond--grade-a .round-go { background: var(--cyan); color: var(--brand); }
.cond--grade-b .round-go { background: var(--yellow); color: var(--brand); }
.cond:hover .round-go, .cond:focus-visible .round-go { transform: rotate(-45deg); }

/* Segmented control */
.seg { position: relative; display: inline-flex; padding: 3px; background: var(--panel-2); border-radius: 999px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg__btn { position: relative; z-index: 1; min-height: 38px; padding: 7px 18px; border: 0; background: none; border-radius: 999px; font-size: .875rem; font-weight: 500; white-space: nowrap; color: var(--text); }
.seg__ink { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 0; width: 100px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); transform-origin: left center; transition: transform .45s var(--ease); }
.tabpanel .more { margin-top: 44px; text-align: center; }
.empty { padding: 48px; text-align: center; color: var(--muted); background: var(--panel); border-radius: var(--r-lg); }

/* ---------- Product grid & card ---------- */
ul.products { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 20px; margin: 0; padding: 0; }
ul.products::before, ul.products::after { display: none; }
.card { position: relative; display: flex; flex-direction: column; gap: 8px; }
.card__media { position: relative; display: block; aspect-ratio: 1; background: var(--panel); border-radius: var(--r); overflow: hidden; margin-bottom: 6px; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 9%; transition: transform .8s var(--ease), opacity .5s; }
.card:hover .card__img { transform: scale(1.04); }
.card__img--alt { opacity: 0; }
.card:hover .card__img--alt { opacity: 1; }
.card:hover .card__img:has(+ .card__img--alt) { opacity: 0; }
.card.is-sold .card__img { opacity: .45; }
.card__media .notch { --r: 14px; padding: 8px 0 0 8px; }
.card__atc.button, a.card__atc { width: 44px; height: 44px; min-height: 0; padding: 0; border-radius: 50%; }
.card__atc .ic { width: 19px; height: 19px; }
.card__atc.added { --bg: var(--ok); --bd: var(--ok); }
.card__atc.added .ic { display: none; }
.card__atc.added::before { content: ""; width: 12px; height: 7px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-2px) rotate(-45deg); }
.card__atc.loading .ic { opacity: 0; }
.card__atc.is-view { --bg: var(--panel-2); --fg: var(--text); --bd: var(--panel-2); }
.added_to_cart.wc-forward { display: none; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; min-height: 20px; }
.card__title { font-family: var(--f-body); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }

.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.price__now { font-weight: 500; font-size: 1.0625rem; }
.price__was { font-size: .875rem; color: var(--muted); }
.price--ask { color: var(--muted); }

/* ---------- Model rail ---------- */
.rail {
	list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding: 12px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 36px;
	scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.rail::-webkit-scrollbar { display: none; }
.rail > li { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 10px; }
.rail-nav .icon-btn { background: var(--panel-2); }
.rail-nav .icon-btn:hover { background: var(--line); }
.rail-nav .icon-btn:disabled { opacity: .35; cursor: default; }
.model-card { display: flex; flex-direction: column; height: 100%; padding: 28px 28px 24px; border-radius: var(--r-lg); background: #fff; box-shadow: 2px 4px 12px rgba(0, 0, 0, .06); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.model-card:hover { box-shadow: 2px 8px 24px rgba(0, 0, 0, .1); transform: scale(1.012); }
.model-card__tile { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: var(--t-bg); color: var(--t-fg); font-family: var(--f-display); font-weight: 700; font-size: .9375rem; letter-spacing: -.02em; }
.model-card__name { font-family: var(--f-display); font-weight: 600; font-size: 1.625rem; letter-spacing: -.025em; }
.model-card__meta { color: var(--muted); font-size: .9375rem; margin-top: 4px; }
.model-card__img { aspect-ratio: 1; display: grid; place-items: center; margin-top: 12px; }
.model-card__img img { width: 88%; height: 88%; object-fit: contain; }
.model-card__conds { display: flex; gap: 6px; margin-top: auto; padding-top: 8px; }

/* ---------- Why (editorial list) ---------- */
.why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.why__lead p { color: var(--muted); font-size: 1.1875rem; margin-top: 24px; max-width: 30em; }
.why__lead .link { margin-top: 20px; }
.why__list { list-style: none; border-top: 1px solid var(--line); }
.why__list li { display: grid; grid-template-columns: 11rem 1fr; gap: 8px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.why__list h3 { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; }
.why__list h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.why__list li:nth-child(1) { --c: var(--yellow); }
.why__list li:nth-child(2) { --c: var(--magenta); }
.why__list li:nth-child(3) { --c: var(--cyan); }
.why__list li:nth-child(4) { --c: var(--blue); }
.why__list p { color: var(--muted); margin: 0; }

/* ---------- Quotes ---------- */
.quotes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); }
.quote { margin: 0; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 500; line-height: 1.2; letter-spacing: -.025em; text-wrap: pretty; }
.quote figcaption { margin-top: 20px; color: var(--muted); }

/* ---------- Visit ---------- */
.visit__panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; padding: clamp(36px, 6vw, 72px); border-radius: var(--r-lg); background: var(--brand); color: #fff; overflow: hidden; }
.visit__panel .h2 { color: #fff; }
.visit__panel address { font-size: 1.1875rem; margin: 18px 0 8px; color: #fff; }
.visit__panel p { color: rgba(255, 255, 255, .74); }
.visit__panel a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.visit__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Pages
   ========================================================================== */
.page-hero { padding-block: clamp(56px, 9vw, 120px) clamp(28px, 4vw, 56px); text-align: center; }
.page-hero .display { max-width: 16ch; margin-inline: auto; text-wrap: balance; }
.page-hero .lede { margin-inline: auto; }

.prose { font-size: 1.0625rem; line-height: 1.7; padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 104px); }
.prose h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 1.875rem); letter-spacing: -.02em; margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1875rem; margin: 1.6em 0 .4em; }
.prose ul:not(.ticks), .prose ol { padding-left: 1.2em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose a:not(.btn) { color: var(--link); }
.prose a:not(.btn):hover { text-decoration: underline; }
.prose img { border-radius: var(--r); }
.prose .divi-img { margin: 1.5em 0; }
.prose__lead { font-family: var(--f-display); font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.3; font-weight: 500; letter-spacing: -.02em; color: var(--text); }
.ticks { list-style: none; display: grid; gap: 10px; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 28px; margin: 0; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.statement { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }

.about-intro__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.about-intro .prose { padding: 0; }
.about-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 30px; background: var(--brand); border-radius: 56px; max-width: 360px; aspect-ratio: 1; margin-inline: auto; }
.about-tiles i { border-radius: 24%; }
.about-tiles i:nth-child(1), .about-tiles i:nth-child(3) { background: var(--yellow); }
.about-tiles i:nth-child(2), .about-tiles i:nth-child(7) { background: var(--magenta); }
.about-tiles i:nth-child(4), .about-tiles i:nth-child(9) { background: var(--cyan); }
.about-tiles i:nth-child(5) { background: #2b2f5e; }
.about-tiles i:nth-child(6), .about-tiles i:nth-child(8) { background: var(--blue); }
.list-rows { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 88px); }
.list-rows li { padding: 26px 0; border-top: 1px solid var(--line); }
.list-rows h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.list-rows p { color: var(--muted); margin: 0; }

.contact-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.contact-cols > div { padding: 28px 28px 28px 0; }
.contact-cols > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.contact-cols h2 { font-size: .9375rem; font-weight: 500; color: var(--muted); margin-bottom: 10px; }
.contact-cols .big { display: block; font-family: var(--f-display); font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; word-break: break-word; }
.contact-cols address { font-size: 1.125rem; line-height: 1.45; margin-bottom: 8px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.form-card { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); }
.form-card .h2 { margin-bottom: 28px; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .btn { justify-self: start; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 500; font-size: .875rem; }
.field em { font-style: normal; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.notice { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: var(--r-sm); margin-bottom: 20px; font-weight: 500; }
.notice--ok { background: #e6f4ec; color: #145c37; }
.notice--err { background: #fbe9ef; color: #8e0f45; }

.faqs { border-top: 1px solid var(--line); margin-top: 28px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 16px 0; font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; margin-top: -.75px; border-radius: 2px; background: var(--text); transition: transform .35s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq[open] .faq__icon::after { transform: rotate(0); }
.faq__body, .faq > div { padding: 0 32px 22px 0; color: var(--muted); }
.map { line-height: 0; }
.map iframe { width: 100%; height: clamp(320px, 38vw, 440px); border: 0; filter: grayscale(1) contrast(1.05); }

.facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fact { padding: 24px 24px 24px 0; display: grid; gap: 6px; align-content: start; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact__k { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; }
.fact__v { color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.policy { display: grid; grid-template-columns: 200px minmax(0, 720px); gap: clamp(28px, 7vw, 104px); }
.policy__toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; padding-top: clamp(32px, 5vw, 64px); }
.policy__toc ul { list-style: none; display: grid; gap: 2px; }
.policy__toc a { display: block; padding: 6px 0; color: var(--muted); font-size: .9375rem; transition: color .2s; }
.policy__toc a:hover, .policy__toc a.is-active { color: var(--text); }
.policy__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.callout { padding: 18px 20px; border-radius: var(--r-sm); background: var(--panel); margin: 0 0 1.2em; }
.callout p { margin: 0; }

.notfound__inner { padding-block: clamp(80px, 12vw, 160px); text-align: center; display: grid; justify-items: center; }
.notfound .lede { margin-inline: auto; }
.notfound .hero__cta { justify-content: center; }
.post-list { list-style: none; display: grid; padding-block: 32px 64px; border-top: 1px solid var(--line); }
.post-list a { display: block; padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-list p { color: var(--muted); margin-top: 8px; }
.empty-state { display: grid; justify-items: center; text-align: center; gap: 14px; padding-block: 72px; }
.empty-state p { color: var(--muted); max-width: 42ch; }
.empty-state .hero__cta { justify-content: center; margin-top: 8px; }

/* ==========================================================================
   Shop
   ========================================================================== */
.shop-head { padding-block: clamp(28px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .8125rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs .sep { opacity: .5; }
.shop-head .lede { margin-top: 14px; }

.shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); padding-bottom: clamp(64px, 8vw, 112px); }
.shop.is-busy .shop__main { opacity: .45; pointer-events: none; }
.shop__main { transition: opacity .2s; min-width: 0; }

.filters { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; scrollbar-width: thin; padding-right: 6px; }
.filters__head { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.filters__title { font-size: 1.0625rem; font-weight: 600; }
.filters__clear { font-size: .875rem; color: var(--link); padding: 10px 0; }
.filters__clear:hover { text-decoration: underline; }
.fgroup { border: 0; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.fgroup legend { float: left; width: 100%; padding: 0; margin-bottom: 10px; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.fgroup legend + * { clear: both; }
.fopt { display: flex; align-items: center; gap: 12px; min-height: 36px; font-size: .9375rem; cursor: pointer; }
.fopt span { flex: 1; display: inline-flex; align-items: center; gap: 8px; }
.fopt small { color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.fopt.is-empty { color: #a1a1a6; cursor: default; }
.fopts--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fchip { position: relative; }
.fchip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.fchip span { display: grid; place-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .875rem; font-weight: 500; transition: border-color .2s, box-shadow .2s; }
.fchip input:checked + span { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.fchip input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 2px; }
.fchip input:disabled + span { color: #b8b8bd; border-style: dashed; }
.fchip:hover input:not(:disabled) + span { border-color: var(--muted); }

.range { position: relative; height: 28px; margin: 6px 11px 10px; }
.range__track, .range__fill { position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; }
.range__track { left: -11px; right: -11px; background: var(--line); }
.range__fill { background: var(--text); left: var(--lo, 0%); right: calc(100% - var(--hi, 100%)); }
.range input[type="range"] { position: absolute; left: -12px; top: 0; width: calc(100% + 24px); height: 28px; margin: 0; padding: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; border: 0; min-height: 0; box-shadow: none; }
.range input[type="range"]::-webkit-slider-runnable-track { background: none; height: 28px; }
.range input[type="range"]::-moz-range-track { background: none; }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .2); cursor: grab; }
.range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .2); cursor: grab; }
.range input[type="range"]:focus-visible { outline: none; }
.range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--link); }
.range input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--link); }
.range__vals { display: flex; justify-content: space-between; font-size: .875rem; font-variant-numeric: tabular-nums; }

.switch { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; font-size: .9375rem; cursor: pointer; border-bottom: 1px solid var(--line); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--line); transition: background-color .25s; flex: none; }
.switch__track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.switch input:checked + .switch__track { background: var(--ok); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--link); outline-offset: 2px; }
.filters__foot, .filters__close, .filters-scrim { display: none; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 57px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.toolbar__count { font-size: .9375rem; color: var(--muted); }
.toolbar__right { display: flex; align-items: center; gap: 10px; }
.filter-btn { display: none; }
.sort select { width: auto; min-height: 44px; padding: 8px 38px 8px 16px; border-radius: 999px; font-size: .875rem; font-weight: 500; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 24px; }
.afilter { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 4px 8px 4px 12px; border-radius: 999px; background: var(--panel); font-size: .8125rem; font-weight: 500; transition: background-color .2s; }
.afilter:hover { background: var(--panel-2); }
.afilter .ic { width: 14px; height: 14px; color: var(--muted); }
.pager { margin-top: 56px; display: flex; justify-content: center; }
.pager ul, .page-numbers { list-style: none; display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.pager .page-numbers:not(ul) { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px; font-size: .9375rem; }
.pager a.page-numbers:hover { background: var(--panel); }
.pager .page-numbers.current { background: var(--text); color: #fff; }
.pager ul.page-numbers { padding: 0; }

/* Shared form controls */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], textarea, select,
.woocommerce form .input-text, .woocommerce form select {
	width: 100%; min-height: 48px; padding: 11px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
	font-size: 1rem; line-height: 1.4; outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
select { padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; }
input:focus, select:focus, textarea:focus { border-color: var(--link); box-shadow: 0 0 0 4px rgba(43, 67, 176, .14); }
textarea { min-height: 120px; resize: vertical; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--text); margin: 0; flex: none; }

/* ==========================================================================
   Product page
   ========================================================================== */
.pdp { padding-top: 20px; }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); margin-top: 16px; align-items: start; }
.pdp__gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pdp__summary { display: flex; flex-direction: column; gap: 24px; padding-top: 12px; }
.pdp__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .875rem; }
.pdp__stock { color: var(--ok); font-weight: 500; }
.pdp__stock.is-out { color: var(--muted); }
.pdp__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; margin-top: -12px; }
.pdp__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: -8px; }
.pdp__price .price__now { font-size: 1.5rem; font-weight: 500; }
.pdp__price .price__was { font-size: 1rem; }
.variant__label { font-size: 1.1875rem; font-weight: 600; margin-bottom: 14px; }
.variant__label span { color: var(--muted); }
.variant__opts { display: grid; gap: 12px; }
.variant__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; transition: border-color .2s; }
.variant__opt:hover { border-color: var(--muted); }
.variant__opt.is-on { border-color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.variant__opt.is-out { color: var(--muted); }
.variant__name { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.variant__price { font-size: .9375rem; }
.pdp__grade { font-size: .9375rem; color: var(--muted); margin: -8px 0 0; }
.woocommerce-product-details__short-description { color: var(--muted); }
.woocommerce-product-details__short-description strong { color: var(--text); font-weight: 500; }
.pdp__buy form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.pdp__buy form.cart .single_add_to_cart_button { flex: 1; min-height: 56px; }
.pdp__buy .stock, .pdp__buy .quantity { display: none; }
.pdp__buy .woocommerce-product-rating { display: flex; align-items: center; gap: 10px; font-size: .9375rem; margin-bottom: 14px; }
.pdp__buy .woocommerce-product-details__short-description { margin-bottom: 22px; }
.pdp__perks { list-style: none; display: grid; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.pdp__perks li { display: flex; gap: 14px; align-items: flex-start; font-size: .9375rem; color: var(--muted); line-height: 1.4; }
.pdp__perks strong { color: var(--text); font-weight: 600; }
.pdp__perks .ic { color: var(--text); margin-top: 1px; }
.pdp__ask { align-self: flex-start; }
.quantity { display: inline-flex; align-items: center; }
.quantity .qty { width: 64px; min-height: 44px; text-align: center; padding: 0 8px; -moz-appearance: textfield; }

.star-rating { position: relative; display: inline-block; font-size: 1rem; width: 5.4em; height: 1.1em; line-height: 1.1; overflow: hidden; letter-spacing: .1em; }
.star-rating::before { content: "★★★★★"; color: var(--line); position: absolute; inset: 0; }
.star-rating span { position: absolute; top: 0; left: 0; overflow: hidden; padding-top: 1.5em; }
.star-rating span::before { content: "★★★★★"; position: absolute; top: 0; left: 0; color: var(--text); }
.woocommerce-review-link { color: var(--muted); }

.woocommerce-product-gallery { position: relative; margin: 0 !important; opacity: 1 !important; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery .flex-viewport { border-radius: var(--r-lg); overflow: hidden; }
.woocommerce-product-gallery__image { background: var(--panel); border-radius: var(--r-lg); overflow: hidden; }
.woocommerce-product-gallery__image a { display: block; cursor: zoom-in; }
.woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 6%; }
.woocommerce-product-gallery__wrapper:not(:has(.flex-active-slide)) .woocommerce-product-gallery__image:nth-child(n+2) { display: none; }
.woocommerce-product-gallery__trigger { display: none !important; }
.flex-control-thumbs { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px !important; }
.flex-control-thumbs li { border-radius: 12px; overflow: hidden; background: var(--panel); cursor: pointer; }
.flex-control-thumbs img { opacity: .5; transition: opacity .2s; aspect-ratio: 1; object-fit: contain; padding: 8%; }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { opacity: 1; }

.pdp__more { margin-top: clamp(64px, 9vw, 120px); }
.woocommerce-tabs { max-width: 72ch; }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 28px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; padding: 0; }
.woocommerce-tabs ul.tabs li { margin: 0; }
.woocommerce-tabs ul.tabs li a { display: flex; align-items: center; min-height: 48px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .2s, border-color .2s; }
.woocommerce-tabs ul.tabs li.active a { color: var(--text); border-color: var(--text); }
.woocommerce-tabs .panel { padding-block: 32px; line-height: 1.7; margin: 0; }
.woocommerce-tabs .panel h2 { font-family: var(--f-display); font-weight: 600; font-size: 1.375rem; letter-spacing: -.02em; margin: 1.8em 0 .5em; }
.woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce-tabs .panel h2:first-of-type { margin-top: 0; }
.woocommerce-tabs .panel a { color: var(--link); }
.shop_attributes { width: 100%; border-collapse: collapse; }
.shop_attributes th, .shop_attributes td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pdp__related { margin-block: clamp(64px, 9vw, 120px); }
.pdp__related .related > h2, .cross-sells > h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.03em; margin-bottom: 32px; }

#reviews .commentlist { list-style: none; padding: 0; display: grid; gap: 16px; }
#reviews .comment_container { display: flex; gap: 14px; }
#reviews .avatar { border-radius: 50%; width: 44px; height: 44px; }
#respond .comment-form { display: grid; gap: 14px; }
#respond .comment-form p { margin: 0; }
#respond label { font-weight: 500; font-size: .875rem; display: block; margin-bottom: 6px; }
.comment-form-rating .stars a { color: var(--text); font-size: 0; }
.comment-form-rating .stars a::before { content: "★"; font-size: 1.4rem; }
.comment-form-rating .stars span { display: inline-flex; gap: 4px; }

.buybar {
	position: fixed; left: 12px; right: 12px; z-index: 40; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px;
	background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .14), 0 0 0 1px rgba(0, 0, 0, .04);
	transform: translateY(160%); transition: transform .5s var(--ease);
}
.buybar.is-shown { transform: none; }
.buybar__info { display: grid; min-width: 0; }
.buybar__name { font-weight: 600; font-size: .875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .price__now { font-size: .9375rem; }
.buybar .price__was { display: none; }

/* ==========================================================================
   Cart, checkout, account (classic WooCommerce)
   ========================================================================== */
.store-page { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 104px); background: var(--panel); min-height: 60vh; }
.store-page__head { margin-bottom: clamp(24px, 3vw, 40px); }
.store-page__head .dim { font-size: 1rem; margin-bottom: 6px; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	padding: 16px 20px; margin: 0 0 24px; border-radius: 14px; background: #fff; border: 1px solid var(--line-soft); font-weight: 500;
}
.woocommerce-error { display: block; background: #fbe9ef; border-color: #f3c6d6; color: #8e0f45; }
.woocommerce-error li { margin: 2px 0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 40px; padding: 7px 16px; font-size: .9375rem; }
.woocommerce-info a:not(.button), .woocommerce-message a:not(.button) { color: var(--link); }

.woocommerce-cart-form, .cart-collaterals .cart_totals, #order_review, .woocommerce-checkout #customer_details, .woocommerce-MyAccount-content, .woocommerce-MyAccount-navigation, .woocommerce-form-login, .woocommerce-form-register, .woocommerce-order, .woocommerce-ResetPassword, .woocommerce-form-coupon {
	background: #fff; border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px);
}
.woocommerce-cart .store-page .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper, .woocommerce-cart .woocommerce > .cart-empty, .woocommerce-cart .woocommerce > .return-to-shop, .woocommerce-cart .woocommerce > .wc-empty-cart-message { grid-column: 1 / -1; }
.cart-collaterals { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.cart-collaterals .cross-sells { order: 2; }
.cart-collaterals .cross-sells ul.products { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
table.shop_table { width: 100%; border-collapse: collapse; }
table.shop_table th { text-align: left; font-size: .8125rem; font-weight: 500; color: var(--muted); padding: 0 12px 14px; border-bottom: 1px solid var(--line-soft); }
table.shop_table td { padding: 18px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.shop_table tr:last-child td { border-bottom: 0; }
.woocommerce-cart-form .product-thumbnail { width: 96px; }
.woocommerce-cart-form .product-thumbnail img { width: 84px; border-radius: 12px; background: var(--panel); }
.woocommerce-cart-form .product-name a { font-weight: 600; }
.woocommerce-cart-form .product-remove a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: 1.3rem; color: var(--muted); }
.woocommerce-cart-form .product-remove a:hover { background: var(--panel); color: var(--text); }
.woocommerce-cart-form .product-price, .woocommerce-cart-form .product-subtotal { white-space: nowrap; }
.woocommerce-cart-form td.actions { padding-top: 24px; }
.woocommerce-cart-form .coupon { display: flex; gap: 8px; flex-wrap: wrap; float: left; }
.woocommerce-cart-form .coupon .input-text { width: 180px; min-height: 46px; }
.woocommerce-cart-form .coupon label { display: none; }
.woocommerce-cart-form button[name="update_cart"] { float: right; --bg: transparent; --fg: var(--text); --bd: var(--line); }
.woocommerce-cart-form td.actions::after { content: ""; display: table; clear: both; }
.perks-inline { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 20px 12px 0; color: var(--muted); font-size: .875rem; }
.perks-inline span { display: flex; align-items: center; gap: 8px; }
.cart_totals h2, #order_review_heading, .woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3, .woocommerce-order-details__title, .woocommerce-column__title, .woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3, .u-column1 h2, .u-column2 h2 {
	font-family: var(--f-display); font-weight: 600; font-size: 1.375rem; letter-spacing: -.02em; margin-bottom: 20px;
}
.cart_totals table th, .cart_totals table td, .woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: .9375rem; color: var(--text); }
.cart_totals table td, .woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout-review-order-table th:last-child { text-align: right; }
.cart_totals .order-total td, .woocommerce-checkout-review-order-table .order-total td { font-family: var(--f-display); font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; }
.cart_totals .order-total th, .woocommerce-checkout-review-order-table .order-total th { font-weight: 600; }
.woocommerce-shipping-methods { list-style: none; display: grid; gap: 6px; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: .875rem; color: var(--muted); }
.woocommerce-shipping-calculator a { color: var(--link); }
.shipping-calculator-form { display: grid; gap: 10px; margin-top: 10px; }
.wc-proceed-to-checkout { padding-top: 20px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; }
.cart-empty.woocommerce-info { justify-content: center; font-size: 1.1rem; }
.return-to-shop { text-align: center; }

.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 20px; align-items: start; }
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; display: grid; gap: 28px; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { width: auto; float: none; }
.woocommerce-checkout #order_review_heading { grid-column: 2; margin: 0; padding: 32px 36px 0; background: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.woocommerce-checkout #order_review { grid-column: 2; border-radius: 0 0 var(--r-lg) var(--r-lg); padding-top: 8px; margin-top: -1px; position: sticky; top: calc(var(--header-h) + 20px); }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-row { margin: 0 0 16px; display: grid; gap: 6px; grid-column: 1 / -1; }
.form-row-first { grid-column: 1; }
.form-row-last { grid-column: 2; }
.form-row label { font-weight: 500; font-size: .875rem; }
.form-row label.checkbox, .form-row .woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 10px; font-weight: 400; cursor: pointer; }
.form-row .required { color: var(--sale); text-decoration: none; }
.form-row .optional { color: var(--muted); font-weight: 400; }
.form-row.woocommerce-invalid input.input-text, .form-row.woocommerce-invalid select { border-color: var(--sale); }
.woocommerce-input-wrapper { display: block; }
#ship-to-different-address label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-body); font-size: 1rem; font-weight: 500; cursor: pointer; }
.woocommerce-checkout-review-order-table .product-quantity { color: var(--muted); }
.pay-note { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 16px; font-size: .875rem; color: var(--muted); }
.pay-note .ic { color: var(--text); margin-top: 1px; }
#payment .payment_methods { list-style: none; display: grid; gap: 10px; margin-bottom: 20px; }
#payment .payment_methods > li { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
#payment .payment_methods > li:has(input:checked) { border-color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
#payment .payment_methods > li > label { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
#payment .payment_methods li img { display: inline-block; max-height: 26px; width: auto; margin-left: 8px; vertical-align: middle; }
#payment .payment_box { margin-top: 10px; font-size: .875rem; color: var(--muted); }
#payment .payment_box p { margin: 0; }
.woocommerce-terms-and-conditions-wrapper { font-size: .875rem; color: var(--muted); margin-bottom: 16px; }
.woocommerce-terms-and-conditions-wrapper a { color: var(--link); }
#place_order { width: 100%; min-height: 56px; }
.woocommerce-form-coupon { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 24px; }
.woocommerce-form-coupon p { margin: 0; }
.woocommerce-form-coupon .form-row { margin: 0; }
.woocommerce-form-coupon .form-row-first { flex: 1; min-width: 200px; }
.woocommerce-form-coupon .clear { display: none; }
.select2-container { width: 100% !important; }
.select2-container .select2-selection--single { height: 48px; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; }
.select2-container .select2-selection--single .select2-selection__rendered { padding-left: 14px; line-height: 1.4; color: var(--text); }
.select2-container .select2-selection--single .select2-selection__arrow { height: 46px; right: 8px; }
.select2-container--open .select2-selection--single, .select2-container--focus .select2-selection--single { border-color: var(--link); }
.select2-dropdown { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.select2-results__option--highlighted[aria-selected], .select2-results__option--highlighted[data-selected] { background: var(--brand) !important; }

.woocommerce-account .store-page .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; align-items: start; }
.woocommerce-account:not(.logged-in) .store-page .woocommerce { display: block; max-width: 960px; }
.woocommerce-MyAccount-navigation ul { list-style: none; display: grid; gap: 2px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 500; color: var(--muted); transition: background-color .2s, color .2s; }
.woocommerce-MyAccount-navigation a:hover { background: var(--panel); color: var(--text); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--panel); color: var(--text); font-weight: 600; }
.woocommerce-MyAccount-content a:not(.button) { color: var(--link); }
.u-columns, .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.woocommerce-account .col2-set .col-1, .woocommerce-account .col2-set .col-2, .u-column1, .u-column2 { width: auto; float: none; }
.woocommerce-form-login, .woocommerce-form-register { display: grid; gap: 4px; }
.woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.woocommerce-LostPassword { margin-top: 12px; }
.woocommerce-LostPassword a { color: var(--link); }
.woocommerce-orders-table .button, .woocommerce-table .button { min-height: 36px; padding: 6px 14px; font-size: .875rem; margin: 2px; }
.woocommerce-Address { background: var(--panel); padding: 20px; border-radius: 14px; }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; }
.woocommerce-order-overview { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 20px 0 32px; }
.woocommerce-order-overview li { background: var(--panel); padding: 16px; border-radius: 14px; font-size: .8125rem; color: var(--muted); }
.woocommerce-order-overview li strong { display: block; font-size: 1rem; color: var(--text); margin-top: 4px; }
.woocommerce-thankyou-order-received { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.woocommerce-customer-details address { background: var(--panel); padding: 20px; border-radius: 14px; }
.woocommerce-password-strength { font-size: .875rem; margin-top: 6px; }
.show-password-input { display: none; }
.clear { clear: both; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--panel); color: var(--muted); font-size: .8125rem; line-height: 1.5; border-top: 3px solid; border-image: linear-gradient(90deg, var(--yellow) 0 25%, var(--magenta) 25% 50%, var(--cyan) 50% 75%, var(--blue) 75%) 1; }
.site-footer__note { padding-block: 20px; border-bottom: 1px solid var(--line); }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 28px 32px; }
.site-footer__h { font-size: .8125rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.site-footer__links { list-style: none; display: grid; }
.site-footer__links a { display: inline-block; padding: 5px 0; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.site-footer address { margin-bottom: 8px; }
.site-footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 18px calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.site-footer__base p { margin: 0; }
.site-footer__brand { display: flex; align-items: center; gap: 16px; }
.site-footer__brand .brand img, .site-footer__brand .custom-logo { height: 34px; }
.socials { list-style: none; display: flex; gap: 18px; }
.socials a { display: inline-block; padding: 8px 0; }

/* ==========================================================================
   Motion — one authored moment: the hero phone. Everything else is state.
   ========================================================================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes phoneIn { from { opacity: 0; transform: perspective(1200px) translateY(80px) rotateY(-24deg) rotateX(12deg) scale(.94); } to { opacity: 1; transform: perspective(1200px); } }
@keyframes tileIn { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.js .hero__title .w > span { animation: rise 1s var(--ease) backwards; animation-delay: calc(var(--i) * 55ms + 80ms); }
.js .hero__copy > :not(h1) { animation: fadeUp 1s .55s var(--ease) backwards; }
.js .hero__copy > :nth-child(3) { animation-delay: .65s; }
.js .hero__notch { animation: fadeUp 1s .8s var(--ease) backwards; }
.js .finder .phone { animation: phoneIn 1.3s .2s var(--ease) backwards; }
.js .tiles li { animation: tileIn .55s var(--ease) backwards; animation-delay: calc(.55s + var(--i) * 45ms); }
.js .finder:not(.is-ready) .tiles { pointer-events: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.js .hero__title .w > span, .js .hero__copy > *, .js .hero__notch, .js .finder .phone, .js .tiles li { animation: none; }
	.phone-tilt { transition: none; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.app.is-opening, .app.is-closing { animation-duration: .01s; }
	.mega, .mega__inner > *, .drawer__panel, .search-panel { transition-duration: .01s; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mega__inner { grid-template-columns: 1.4fr 1fr; }
	.mega__inner > :nth-child(3) { display: none; }
}

@media (max-width: 1024px) {
	:root { --header-h: 54px; }
	.main-nav { display: none; }
	.nav-toggle { display: inline-grid; }
	.site-header__bar { justify-content: space-between; }
	.brand img, .custom-logo { height: 36px; }
	.hero__panel { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; gap: 40px; min-height: 0; padding-bottom: 104px; }
	.hero__title { margin-inline: auto; }
	.hero__cta { justify-content: center; }
	.lede { margin-inline: auto; }
	.why__grid, .contact-grid, .about-intro__grid { grid-template-columns: minmax(0, 1fr); }
	.pdp__grid { grid-template-columns: minmax(0, 1fr); }
	.pdp__gallery { position: static; }
	.pdp { padding-bottom: 96px; }
	.buybar { display: flex; }
	.policy { grid-template-columns: minmax(0, 1fr); }
	.policy__toc { display: none; }
	.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fact:nth-child(3) { padding-left: 0; border-left: 0; }
	.fact:nth-child(n+3) { border-top: 1px solid var(--line); }
	.visit__panel { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-cart .store-page .woocommerce, .woocommerce-checkout form.checkout { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; }
	.woocommerce-checkout #order_review, .cart-collaterals { position: static; }
	.woocommerce-account .store-page .woocommerce { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; scrollbar-width: none; }
	.woocommerce-MyAccount-navigation a { white-space: nowrap; }

	/* Filters become a bottom sheet */
	.shop { grid-template-columns: minmax(0, 1fr); }
	.filter-btn { display: inline-flex; }
	.filters {
		position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 110; max-height: 88svh; padding: 0 20px;
		background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -20px 60px rgba(0, 0, 0, .18);
		transform: translateY(105%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s;
	}
	.filters.is-open { transform: none; visibility: visible; transition-delay: 0s; }
	.filters__head { position: sticky; top: 0; z-index: 2; background: #fff; padding-top: 14px; }
	.filters__close { display: inline-grid; }
	.filters__foot { display: grid; grid-template-columns: auto 1fr; gap: 10px; position: sticky; bottom: 0; background: #fff; padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px)); }
	.filters-scrim { display: block; position: fixed; inset: 0; z-index: 105; background: rgba(29, 29, 31, .32); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
	.filters-scrim.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
}

@media (max-width: 820px) {
	.conds__grid, .quotes__grid, .list-rows { grid-template-columns: minmax(0, 1fr); }
	.cond { min-height: 0; }
	.contact-cols { grid-template-columns: minmax(0, 1fr); }
	.contact-cols > div { padding-right: 0; }
	.contact-cols > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
	.why__list li { grid-template-columns: minmax(0, 1fr); }
	.u-columns, .col2-set { grid-template-columns: minmax(0, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	body { font-size: 1rem; }
	.hide-sm { display: none; }
	.hero { padding: 8px 8px 0; }
	.hero__panel { padding: 40px 20px 128px; border-radius: 22px; }
	.phone { width: min(290px, 100%); }
	.hero__notch ul { gap: 4px 16px; font-size: .8125rem; max-width: 290px; }
	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
	.card__title { font-size: .9375rem; }
	.card__media .notch { --r: 12px; padding: 6px 0 0 6px; }
	.price__now { font-size: .9375rem; }
	.headline--row { align-items: flex-start; }
	.seg { width: 100%; }
	.seg__btn { flex: 1; min-height: 44px; padding-inline: 10px; }
	.rail { grid-auto-columns: 78%; }
	.form__row { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
	.form-row-first, .form-row-last { grid-column: 1; }
	.woocommerce-checkout #order_review_heading { padding: 24px 20px 0; }
	.site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.facts { grid-template-columns: minmax(0, 1fr); }
	.fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }

	.woocommerce-cart-form table.shop_table thead { display: none; }
	.woocommerce-cart-form table.shop_table tr.cart_item { display: grid; grid-template-columns: 76px 1fr auto; grid-template-areas: "img name remove" "img price qty" "img sub sub"; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
	.woocommerce-cart-form table.shop_table td { border: 0; padding: 0; }
	.woocommerce-cart-form td.product-thumbnail { grid-area: img; width: auto; }
	.woocommerce-cart-form td.product-thumbnail img { width: 76px; }
	.woocommerce-cart-form td.product-name { grid-area: name; }
	.woocommerce-cart-form td.product-remove { grid-area: remove; }
	.woocommerce-cart-form td.product-price { grid-area: price; font-size: .875rem; color: var(--muted); }
	.woocommerce-cart-form td.product-quantity { grid-area: qty; }
	.woocommerce-cart-form td.product-subtotal { grid-area: sub; }
	.woocommerce-cart-form tr:not(.cart_item) { display: block; }
	.woocommerce-cart-form td.actions { display: block; }
	.woocommerce-cart-form .coupon { float: none; margin-bottom: 12px; }
	.woocommerce-cart-form .coupon .input-text { flex: 1; width: auto; }
	.woocommerce-cart-form button[name="update_cart"] { float: none; width: 100%; }
}

@media (hover: none) {
	.card:hover .card__img, .model-card:hover { transform: none; }
}

.cta-end { text-align: center; }
.cta-end__btn { margin-top: 32px; }
.section-top { padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(48px, 6vw, 80px); }
