/*
 * WooLogger Storefront — design "Meridian".
 * Mobile first: 768px (tablet) and 1024px (desktop). No framework, no
 * WooCommerce stylesheet underneath: every store screen is styled here.
 * No cascade layers: WooCommerce's block styles are unlayered and must lose
 * to these rules on specificity, not win on layer order.
 */


/* ─── Tokens ───────────────────────────────────────────────────────── */

:root {
	--ink: #111111;
	--body: #3c3c43;
	--muted: #6e6e73;
	--faint: #8e8e93;
	--line: #e6e6e6;
	--line-strong: #d2d2d7;
	--surface: #f5f5f5;
	--base: #ffffff;
	--ok: #1e7f4a;
	--danger: #c62828;
	--accent: #111111;
	--accent-ink: #ffffff;
	--sale: #c8341b;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--r-sm: 8px;
	--r: 14px;
	--r-lg: 22px;
	--pill: 999px;
	--gutter: 16px;
	--max: 1440px;
	--header: 60px;
	--announce: 38px;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--focus: 0 0 0 2px var(--base), 0 0 0 4px #0a66ff;
	color-scheme: light;
}

@media (min-width: 768px) { :root { --gutter: 32px; --header: 68px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --header: 72px; } }

/* Page changes cross-fade where the browser supports it. */
@view-transition { navigation: auto; }

/* ─── Reset & base ─────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; }
img, svg, video, picture { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class], .footer ul, .crumbs ol { margin: 0; padding: 0; list-style: none; }
dialog { padding: 0; border: 0; color: inherit; }

body {
	background: var(--base);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 650; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
::selection { background: var(--ink); color: #fff; }
input, select, textarea { accent-color: var(--ink); }

/* ─── Layout ───────────────────────────────────────────────────────── */

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)); }
.main { display: block; min-height: 50vh; outline: none; }
.section { padding-block: 40px; }
@media (min-width: 1024px) { .section { padding-block: 56px; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-title { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -.03em; }

/* ─── Components ───────────────────────────────────────────────────── */

.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: var(--pill); background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.icon { flex: none; }

.btn, .button, button.button, .wp-element-button, input[type=submit].button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 28px;
	border: 1.5px solid var(--accent); border-radius: var(--pill);
	background: var(--accent); color: var(--accent-ink);
	font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
	cursor: pointer;
	transition: opacity .2s, background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
	-webkit-tap-highlight-color: transparent;
}
.btn:hover, .button:hover { opacity: .85; color: var(--accent-ink); }
.btn:active, .button:active { transform: scale(.98); }
.btn:disabled, .btn[aria-disabled=true], .button:disabled { border-color: var(--line-strong); background: var(--surface); color: var(--muted); opacity: 1; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); opacity: 1; border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 14px 32px; font-size: 17px; }
.btn-block { width: 100%; }

.link { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 15px; font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.link .icon { transition: transform .2s var(--ease); }
.link:hover .icon { transform: translateX(3px); }

.iconbtn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0;
	border: 0; border-radius: var(--pill); background: transparent; color: var(--ink);
	cursor: pointer; text-decoration: none; transition: background-color .2s;
	-webkit-tap-highlight-color: transparent;
}
.iconbtn:hover { background: var(--surface); }
.iconbtn-round { width: 40px; height: 40px; border: 1px solid var(--line-strong); }
.iconbtn:disabled { opacity: .3; cursor: default; }
.rail-prev .icon { rotate: 180deg; }

.eyebrow { margin-bottom: 10px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow a { text-decoration: none; }
.eyebrow-plain { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 500; }
.eyebrow-sale { color: var(--sale); }

.pills { display: flex; gap: 8px; margin: 16px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 4px; overflow-x: auto; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pills a { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: var(--pill); font-size: 14px; font-weight: 550; white-space: nowrap; text-decoration: none; transition: border-color .2s; }
.pills a:hover { border-color: var(--ink); }
.pills-center { justify-content: center; flex-wrap: wrap; margin-inline: 0; }

.crumbs { margin: 20px 0 0; }
.crumbs ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 13px; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

.pages ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 8px 0 56px; }
.pages .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--pill); font-weight: 600; text-decoration: none; }
.pages a.page-numbers:hover { background: var(--surface); }
.pages .current { background: var(--ink); color: #fff; }

.empty { padding: 48px 0 64px; text-align: center; }
.empty-title { margin-bottom: 8px; font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.empty p { color: var(--body); }
.empty .btn { margin-top: 16px; }

.stars { --rating: 0%; display: inline-block; width: 86px; height: 16px; vertical-align: -2px; background: linear-gradient(90deg, var(--ink) var(--rating), var(--line-strong) var(--rating)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17.2' height='16' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.8 5.8 6.3.9-4.6 4.4 1.1 6.3L12 17.2l-5.6 3 1.1-6.3L2.9 9.5l6.3-.9z'/%3E%3C/svg%3E") 0 0 / 17.2px 16px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17.2' height='16' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.8 5.8 6.3.9-4.6 4.4 1.1 6.3L12 17.2l-5.6 3 1.1-6.3L2.9 9.5l6.3-.9z'/%3E%3C/svg%3E") 0 0 / 17.2px 16px repeat-x; }
.stars-count { margin-left: 4px; color: var(--muted); font-size: 13px; }

.badge { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 10px; border-radius: var(--pill); background: var(--base); color: var(--ink); font-size: 12px; font-weight: 700; box-shadow: 0 1px 2px rgb(0 0 0 / .06); }
.badge-sale { background: var(--sale); color: #fff; }
.badge-out { background: var(--ink); color: #fff; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; color: var(--ink); font-weight: 600; }
.price del { order: 2; color: var(--muted); font-weight: 400; font-size: .92em; text-decoration-thickness: 1px; }
.price ins { order: 1; color: var(--sale); text-decoration: none; }
.price .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.toast {
	position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 400;
	display: flex; align-items: center; gap: 16px; max-width: calc(100vw - 32px);
	padding: 12px 12px 12px 20px; border-radius: var(--pill);
	background: var(--ink); color: #fff; box-shadow: 0 20px 40px -12px rgb(0 0 0 / .35);
	font-size: 15px; font-weight: 550; translate: -50% 0;
	animation: toast-in .45s var(--ease);
}
.toast a { flex: none; padding: 8px 16px; border-radius: var(--pill); background: #fff; color: #111; font-size: 14px; font-weight: 650; text-decoration: none; }
.toast.is-out { opacity: 0; translate: -50% 12px; transition: opacity .3s, translate .3s; }
@keyframes toast-in { from { opacity: 0; translate: -50% 16px; } }

/* ─── Header ───────────────────────────────────────────────────────── */

.announce { background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 500; text-align: center; }
.announce p, .announce a { display: block; height: var(--announce); padding: 0 var(--gutter); overflow: hidden; line-height: var(--announce); white-space: nowrap; text-overflow: ellipsis; text-decoration: none; }
.announce a:hover { text-decoration: underline; }

.header {
	position: sticky; top: 0; z-index: 100;
	background: rgb(255 255 255 / .86);
	-webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
	view-transition-name: header;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } }

.header-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; height: var(--header); }
.header-menu { justify-self: start; margin-left: -10px; }
.header-bar > .logo { justify-self: center; }
.logo { display: flex; align-items: center; min-width: 0; text-decoration: none; }
.logo-img { width: auto; max-height: 36px; }
.logo-text { overflow: hidden; max-width: 52vw; font-size: 20px; font-weight: 750; letter-spacing: -.03em; white-space: nowrap; text-overflow: ellipsis; }
.nav { display: none; }
.actions { display: flex; align-items: center; justify-self: end; gap: 2px; margin-right: -10px; }
.hide-sm { display: none; }
.bag-count { position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--pill); background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; transition: scale .3s var(--ease); }
.bag-count[data-count="0"] { display: none; }
.bag-count.is-bump { scale: 1.3; }

@media (min-width: 1024px) {
	.header-bar { grid-template-columns: auto 1fr auto; gap: 32px; }
	.header-menu { display: none; }
	.header-bar > .logo { justify-self: start; }
	.logo-img { max-height: 40px; }
	.logo-text { max-width: 280px; font-size: 22px; }
	.hide-sm { display: inline-flex; }
	.nav { display: block; justify-self: center; }
	.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
	.nav-list > li { position: relative; }
	.nav-list > li > a { display: block; padding: 10px 14px; border-radius: var(--pill); font-size: 15px; font-weight: 550; white-space: nowrap; text-decoration: none; transition: background-color .2s; }
	.nav-list > li > a:hover, .nav-list > li:focus-within > a { background: var(--surface); }
	.nav-list > .current-menu-item > a, .nav-list > .current-menu-ancestor > a, .nav-list > li > a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }
	.nav .sub-menu { position: absolute; top: 100%; left: 50%; min-width: 220px; margin: 0; padding: 10px; list-style: none; background: var(--base); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 20px 40px -12px rgb(0 0 0 / .18); opacity: 0; visibility: hidden; translate: -50% 6px; transition: opacity .2s, translate .2s var(--ease), visibility .2s; }
	.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; translate: -50% 0; }
	.nav .sub-menu a { display: block; padding: 9px 12px; border-radius: var(--r-sm); font-size: 15px; text-decoration: none; }
	.nav .sub-menu a:hover { background: var(--surface); }
}

.search-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--base); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgb(0 0 0 / .25); animation: drop .25s var(--ease); }
.search-panel[hidden] { display: none; }
.search-panel .wrap { display: flex; align-items: center; gap: 8px; padding-block: 16px; }
.search-panel .searchform { flex: 1; }
@keyframes drop { from { opacity: 0; translate: 0 -8px; } }

.searchform { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 16px; border: 1px solid var(--line-strong); border-radius: var(--pill); background: var(--base); }
.searchform:focus-within { border-color: var(--ink); }
.searchform .icon { color: var(--muted); }
.searchform input[type=search] { flex: 1; min-width: 0; height: 44px; padding: 0; border: 0; outline: 0; background: transparent; font-size: 16px; }
.searchform input[type=search]:focus-visible { box-shadow: none; }
.searchform input::-webkit-search-cancel-button { -webkit-appearance: none; }

.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 4px var(--gutter) 8px; }
.sheet-title { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.sheet-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gutter) 16px; }
.sheet-foot { display: grid; gap: 10px; padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--base); }
.drawer-list, .drawer-links { margin: 0; padding: 0; list-style: none; }
.drawer-list a { display: block; padding: 12px 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.drawer-list .sub-menu { margin: 0 0 8px; padding: 0 0 0 14px; list-style: none; border-left: 1px solid var(--line); }
.drawer-list .sub-menu a { padding: 8px 0; font-size: 17px; font-weight: 500; color: var(--body); }
.drawer-links { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.drawer-links a { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-weight: 600; text-decoration: none; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { translate: -100% 0; } }

/* Sheets — the menu and the bag. On a phone they rise from the bottom like
   an iOS sheet (drag the handle down to put one away); on a large screen the
   menu slides in from the left and the bag from the right. */
.sheet {
	--sheet-from: bottom;
	position: fixed; inset: auto 0 0; z-index: 500;
	display: none; flex-direction: column;
	width: 100%; max-width: none; height: auto; max-height: min(92dvh, 860px);
	margin: 0; padding: 0; border: 0; border-radius: 22px 22px 0 0;
	background: var(--base); color: var(--ink);
	box-shadow: 0 -20px 60px -20px rgb(0 0 0 / .35);
	translate: 0 var(--drag, 0px);
}
.sheet[open] { display: flex; animation: sheet-up .5s var(--ease); }
.sheet.is-dragging { transition: none; }
.sheet:not(.is-dragging) { transition: translate .3s var(--ease); }
.sheet.is-closing { animation: sheet-down .32s cubic-bezier(.4, 0, 1, 1) forwards; }
.sheet::backdrop { background: rgb(0 0 0 / .42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); animation: fade .3s; }
.sheet.is-closing::backdrop { animation: fade .3s reverse forwards; }
.sheet-grab { flex: none; display: grid; place-items: center; height: 22px; cursor: grab; touch-action: none; }
.sheet-grab::before { content: ""; width: 38px; height: 5px; border-radius: var(--pill); background: var(--line-strong); }
.sheet .sheet-head { touch-action: none; }
.sheet-start .sheet-body { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
@keyframes sheet-up { from { translate: 0 100%; } }
@keyframes sheet-down { to { translate: 0 100%; } }
@keyframes sheet-in-start { from { translate: -100% 0; } }
@keyframes sheet-out-start { to { translate: -100% 0; } }
@keyframes sheet-in-end { from { translate: 100% 0; } }
@keyframes sheet-out-end { to { translate: 100% 0; } }

@media (min-width: 1024px) {
	.sheet { --sheet-from: side; inset: 0 auto 0 0; width: min(440px, 92vw); height: 100dvh; max-height: none; border-radius: 0; box-shadow: 20px 0 60px -20px rgb(0 0 0 / .3); translate: none; }
	.sheet-end { inset: 0 0 0 auto; box-shadow: -20px 0 60px -20px rgb(0 0 0 / .3); }
	.sheet-grab { display: none; }
	.sheet .sheet-head { padding-top: 16px; touch-action: auto; }
	.sheet-start[open] { animation-name: sheet-in-start; }
	.sheet-start.is-closing { animation-name: sheet-out-start; }
	.sheet-end[open] { animation-name: sheet-in-end; }
	.sheet-end.is-closing { animation-name: sheet-out-end; }
}
@media (prefers-reduced-motion: reduce) { .sheet[open], .sheet::backdrop { animation: none; } }

/* The bag sheet */
.bag-sheet .sheet-body { padding-top: 4px; }
.mini-items { margin: 0; padding: 0; list-style: none; }
.mini-item { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 14px 32px 14px 0; border-bottom: 1px solid var(--line); transition: opacity .2s, translate .2s; }
.mini-item.is-busy { opacity: .5; pointer-events: none; }
.mini-item.is-leaving { opacity: 0; translate: 24px 0; }
.mini-item-media { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-sm); background: var(--surface); }
.mini-item-media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.mini-item-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mini-item-name { font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.mini-item-opts { margin: 0; color: var(--muted); font-size: 13px; }
.mini-item-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.mini-item-price { margin: 0; font-weight: 650; }
.mini-item-remove { position: absolute; top: 10px; right: -6px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: var(--pill); background: none; color: var(--muted); cursor: pointer; }
.mini-item-remove:hover { background: var(--surface); color: var(--ink); }
.qty-sm { flex: none; display: inline-flex; align-items: center; height: 36px; border: 1px solid var(--line-strong); border-radius: var(--pill); }
.qty-sm .qty-btn { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: var(--pill); background: none; color: var(--ink); cursor: pointer; }
.qty-sm .qty-btn:disabled { color: var(--faint); cursor: not-allowed; }
.qty-n { min-width: 24px; font-size: 14px; font-weight: 650; text-align: center; font-variant-numeric: tabular-nums; }
.mini-sum { display: flex; justify-content: space-between; margin: 0; font-size: 17px; }
.mini-note { margin: -4px 0 4px; color: var(--muted); font-size: 13px; }
.bag-sheet .ship-goal { margin: 0; padding: 0 0 4px; background: none; }
.mini-empty { display: grid; justify-items: center; gap: 16px; padding: 48px 0; color: var(--muted); text-align: center; }
.mini-empty svg { color: var(--faint); }
.mini-empty p { margin: 0; color: var(--ink); font-size: 17px; font-weight: 600; }
.mini-loading { display: flex; justify-content: center; gap: 6px; padding: 48px 0; }
.mini-loading span { width: 8px; height: 8px; border-radius: var(--pill); background: var(--line-strong); animation: dot 1s infinite ease-in-out; }
.mini-loading span:nth-child(2) { animation-delay: .15s; }
.mini-loading span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: .3; scale: .7; } }

.header-focus { position: static; background: var(--base); border-bottom: 1px solid var(--line); }
.header-focus .header-bar { grid-template-columns: 1fr auto; }
.header-focus .header-bar > .logo { justify-self: start; }
.header-focus .back { display: none; }
.secure { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 500; }
@media (min-width: 768px) {
	.header-focus .header-bar { grid-template-columns: 1fr auto 1fr; }
	.header-focus .back { display: inline-flex; justify-self: end; }
}

/* ─── Home ─────────────────────────────────────────────────────────── */

.hero { position: relative; display: grid; min-height: min(82svh, 760px); overflow: hidden; background: #1b1b1d; color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-dark::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / 0) 35%, rgb(0 0 0 / .55) 100%), linear-gradient(90deg, rgb(0 0 0 / .35), rgb(0 0 0 / 0) 60%); }
.hero-inner { display: flex; align-items: flex-end; padding-block: 48px; }
.hero-copy { max-width: 660px; animation: rise .9s var(--ease) both; }
.hero .eyebrow { color: inherit; opacity: .85; }
.hero-title { margin-bottom: 16px; color: inherit; font-size: clamp(40px, 7.4vw, 96px); font-weight: 800; line-height: .98; letter-spacing: -.045em; }
.hero-text { max-width: 520px; margin-bottom: 28px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; opacity: .92; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-hero { background: #fff; color: #111; border-color: #fff; }
.btn-hero:hover { color: #111; }
.btn-hero-alt { background: transparent; color: #fff; border-color: rgb(255 255 255 / .7); }
.btn-hero-alt:hover { background: rgb(255 255 255 / .12); color: #fff; opacity: 1; }
.hero-light { background: var(--surface); color: var(--ink); }
.hero-light .eyebrow { color: var(--muted); opacity: 1; }
.hero-light .btn-hero { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.hero-light .btn-hero-alt { color: var(--ink); border-color: var(--line-strong); }
.hero-light .btn-hero-alt:hover { background: var(--base); color: var(--ink); }
.hero-plain { min-height: 0; }
.hero-plain .hero-inner { padding-block: 96px; }
.hero-stage { min-height: 0; }
.hero-stage .hero-media { position: relative; inset: auto; z-index: 0; aspect-ratio: 1; max-height: 64vh; }
.hero-stage .hero-img { object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.hero-stage .hero-inner { padding-block: 24px 48px; }
@media (min-width: 1024px) {
	.hero-inner { padding-block: 72px; }
	.hero-stage { grid-template-columns: 1fr 1fr; align-items: center; min-height: min(78vh, 720px); }
	.hero-stage .hero-media { order: 2; height: 100%; max-height: none; aspect-ratio: auto; }
	.hero-stage .hero-inner { margin: 0; max-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 24px; }
}
@keyframes rise { from { translate: 0 14px; } }

.tiles { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.tiles::-webkit-scrollbar { display: none; }
.tile { scroll-snap-align: start; }
.tile a { display: block; text-decoration: none; }
.tile-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--surface); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.tile a:hover img { scale: 1.04; }
.tile-label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 2px 0; }
.tile-name { font-size: 18px; font-weight: 650; }
.tile-cta { color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 768px) { .tiles { grid-auto-columns: 40%; } }
@media (min-width: 1024px) {
	.tiles { grid-auto-flow: row; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 16px; margin: 0; padding: 0; overflow: visible; }
	.tiles-1 { --n: 1; } .tiles-2 { --n: 2; } .tiles-3 { --n: 3; }
}

.promo { display: grid; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); }
.promo-copy { align-self: center; padding: 32px 24px; }
.promo-title { margin-bottom: 14px; font-size: clamp(32px, 4.6vw, 60px); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.promo-text { max-width: 440px; margin-bottom: 24px; color: var(--body); font-size: 17px; }
.promo-media { position: relative; order: -1; aspect-ratio: 4 / 3; background: #ececec; }
.promo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
	.promo { grid-template-columns: 1fr 1fr; min-height: 440px; }
	.promo-copy { padding: 56px; }
	.promo-media { order: 2; aspect-ratio: auto; }
}

.section-values { border-top: 1px solid var(--line); }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.values li { display: flex; flex-direction: column; gap: 6px; }
.values h3 { margin-top: 6px; font-size: 16px; }
.values p { color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }

.posts { display: grid; gap: 32px 20px; margin-bottom: 40px; }
@media (min-width: 768px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card a { display: block; text-decoration: none; }
.post-card-media { aspect-ratio: 3 / 2; margin-bottom: 14px; overflow: hidden; border-radius: var(--r); background: var(--surface); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.post-card a:hover img { scale: 1.03; }
.post-card-date { margin-bottom: 4px; color: var(--muted); font-size: 13px; }
.post-card-title { margin-bottom: 6px; font-size: 20px; }
.post-card-excerpt { color: var(--body); font-size: 15px; }

/* ─── Product cards ────────────────────────────────────────────────── */

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; margin-bottom: 32px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 16px; } }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.rail { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62%; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; }
@media (min-width: 768px) { .rail { grid-template-columns: none; grid-auto-columns: 38%; } }
@media (min-width: 1200px) { .rail { grid-template-columns: none; grid-auto-columns: calc((100% - 3 * 16px - 2 * var(--gutter)) / 4); } }
.rail-nav:not([hidden]) { display: none; gap: 8px; margin-left: auto; }
@media (min-width: 1024px) { .rail-nav:not([hidden]) { display: flex; } }

.card { position: relative; display: flex; flex-direction: column; }
.card-link { display: flex; flex: 1; flex-direction: column; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 1; margin-bottom: 12px; overflow: hidden; border-radius: var(--r); background: var(--surface); }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), scale .8s var(--ease); }
.card-img-alt { opacity: 0; }
@media (hover: hover) {
	.card:hover .card-img { scale: 1.03; }
	.card:hover .card-img-alt { opacity: 1; }
}
.card-cat { margin-bottom: 2px; color: var(--muted); font-size: 13px; font-weight: 500; }
.card-title { display: -webkit-box; overflow: hidden; margin-bottom: 2px; font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: -.005em; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card-meta { color: var(--muted); font-size: 13px; }
.card .price { margin-top: 6px; font-size: 15px; }
.card-add { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; margin-top: 10px; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: var(--pill); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .2s, background-color .2s; }
.card-add:hover { border-color: var(--ink); }
.card-add.is-busy { opacity: .5; pointer-events: none; }
.card-add.is-done { border-color: var(--ok); color: var(--ok); }

/* ─── Shop ─────────────────────────────────────────────────────────── */

.archive-head { padding-bottom: 20px; }
.archive-title { margin: 20px 0 8px; font-size: clamp(32px, 4.4vw, 52px); font-weight: 750; letter-spacing: -.04em; }
.archive-desc { max-width: 720px; color: var(--body); }
.archive-search { max-width: 560px; margin-top: 16px; }

.toolbar { position: sticky; top: var(--header); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 calc(-1 * var(--gutter)) 16px; padding: 10px var(--gutter); background: rgb(255 255 255 / .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.admin-bar .toolbar { top: calc(var(--header) + 46px); }
@media (min-width: 783px) { .admin-bar .toolbar { top: calc(var(--header) + 32px); } }
.toolbar-count { display: none; color: var(--muted); font-size: 14px; }
.sort select, .store-content select {
	height: 40px; padding: 0 38px 0 16px;
	border: 1px solid var(--line-strong); border-radius: var(--pill);
	background: var(--base) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
	font-size: 14px; font-weight: 550; -webkit-appearance: none; appearance: none; cursor: pointer;
}
.sort { display: flex; gap: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 14px; border-radius: var(--pill); background: var(--surface); font-size: 14px; font-weight: 550; text-decoration: none; }
.chip:hover { background: var(--line); }

.filters { position: fixed; inset: 0 0 0 auto; z-index: 300; width: min(400px, 90vw); padding: 16px var(--gutter) 32px; overflow-y: auto; overscroll-behavior: contain; background: var(--base); box-shadow: -24px 0 48px -12px rgb(0 0 0 / .2); translate: 105% 0; visibility: hidden; transition: translate .35s var(--ease), visibility .35s; }
.filters.is-open { translate: 0 0; visibility: visible; }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filters-head h2 { font-size: 22px; }
.scrim { position: fixed; inset: 0; z-index: 299; background: rgb(0 0 0 / .4); animation: fade .25s; }
.filter { padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter-title { margin-bottom: 10px; font-size: 15px; font-weight: 650; letter-spacing: 0; }
.filter-list a { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; color: var(--body); font-size: 15px; text-decoration: none; }
.filter-list a:hover, .filter-list a[aria-current] { color: var(--ink); }
.filter-list a[aria-current] { font-weight: 650; }
.filter-list .count { color: var(--faint); font-size: 13px; font-weight: 400; }
.check { justify-content: flex-start !important; gap: 10px; }
.check::before { content: ""; flex: none; width: 20px; height: 20px; border: 1.5px solid var(--line-strong); border-radius: 6px; transition: background-color .15s, border-color .15s; }
.check.is-on::before { border-color: var(--ink); background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") no-repeat center; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-range label { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 12px; font-weight: 600; }
.price-range input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--base); color: var(--ink); font-size: 15px; }
.price-range .btn { grid-column: 1 / -1; }

@media (min-width: 768px) { .toolbar-count { display: block; margin-right: auto; } .toolbar-filter { order: -1; } }
@media (min-width: 1024px) {
	.shop { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: 24px; }
	.filters { position: sticky; top: calc(var(--header) + 16px); inset: auto; z-index: auto; width: auto; max-height: calc(100vh - var(--header) - 32px); padding: 0; box-shadow: none; translate: none; visibility: visible; scrollbar-width: thin; }
	.filters-head, .toolbar-filter, .scrim { display: none; }
	.filter:first-of-type { padding-top: 0; }
	.toolbar { position: static; margin: 0 0 20px; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
	.grid-shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1440px) { .grid-shop { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ─── Product page ─────────────────────────────────────────────────── */

.product-page { padding-bottom: 24px; }
.product-page > .crumbs { margin-bottom: 16px; }
.product { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) {
	.product { grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr); gap: 56px; }
	.summary { position: sticky; top: calc(var(--header) + 24px); align-self: start; }
}

.gallery { position: relative; display: grid; gap: 10px; margin-inline: calc(-1 * var(--gutter)); }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--surface); }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { scroll-snap-align: center; aspect-ratio: 1; }
.gallery-img, .gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery .badge { top: 14px; left: calc(var(--gutter) + 0px); }
.gallery-zoom { position: absolute; top: 12px; right: calc(var(--gutter) - 4px); background: rgb(255 255 255 / .9); box-shadow: 0 1px 3px rgb(0 0 0 / .12); }
.gallery-thumbs { display: flex; gap: 8px; padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
.gallery-thumbs a { display: block; width: 64px; aspect-ratio: 1; overflow: hidden; border: 2px solid transparent; border-radius: var(--r-sm); opacity: .6; transition: opacity .2s, border-color .2s; }
.gallery-thumbs a[aria-current], .gallery-thumbs a:hover { border-color: var(--ink); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
	.gallery { margin-inline: 0; }
	.gallery-track { border-radius: var(--r-lg); }
	.gallery .badge { left: 14px; }
	.gallery-zoom { right: 14px; }
	.gallery-thumbs { padding-inline: 0; }
	.gallery-thumbs a { width: 84px; }
}

.zoom-dialog { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; background: #fff; }
.zoom-dialog[open] { display: flex; align-items: center; justify-content: center; }
.zoom-dialog img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zoom-dialog .iconbtn { position: fixed; top: 16px; right: 16px; background: var(--surface); }
.zoom-dialog::backdrop { background: #fff; }

.product-title { margin-bottom: 8px; font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.rating { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--muted); font-size: 14px; text-decoration: none; }
.rating:hover span:last-child { text-decoration: underline; }
.product-price { margin-bottom: 20px; font-size: 22px; font-weight: 650; }
.product-intro { margin-bottom: 24px; color: var(--body); }
.product-meta { padding-top: 16px; color: var(--muted); font-size: 13px; }

.buy { margin-bottom: 24px; }
.opt { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.opt legend { margin-bottom: 10px; padding: 0; font-size: 15px; font-weight: 650; }
.opt-chosen { margin-left: 6px; color: var(--muted); font-weight: 500; }
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-item { position: relative; cursor: pointer; }
.opt-item input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt-item span { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--base); font-size: 15px; font-weight: 550; transition: border-color .15s, box-shadow .15s; }
.opt-item:hover span { border-color: var(--ink); }
.opt-item input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt-item input:focus-visible + span { box-shadow: var(--focus); }
.opt-item.is-unavailable span { color: var(--faint); background: linear-gradient(to top left, transparent calc(50% - .5px), var(--line-strong) 50%, transparent calc(50% + .5px)); }
.opt-swatch { width: 40px; height: 40px; border-radius: var(--pill); background: var(--swatch); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14), inset 0 0 0 3px var(--base); }
.opt-swatch:has(input:checked) { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14), inset 0 0 0 3px var(--base), 0 0 0 2px var(--ink); }
.opt-swatch:has(input:focus-visible) { box-shadow: inset 0 0 0 3px var(--base), var(--focus); }
.opt-swatch.is-unavailable { opacity: .35; }

.buy-stock { min-height: 0; margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.buy-stock:empty { display: none; }
.buy-stock .in-stock, .buy-stock.is-in { color: var(--ok); }
.buy-stock .out-of-stock, .buy-stock.is-out { color: var(--danger); }
.buy-stock p { margin: 0; }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.btn-buy { flex: 1 1 220px; min-height: 54px; font-size: 17px; }
.buy-msg { margin-top: 10px; font-size: 14px; color: var(--danger); }
.buy-msg:empty { display: none; }

.qty { display: inline-flex; align-items: center; height: 52px; border: 1px solid var(--line-strong); border-radius: var(--pill); overflow: hidden; }
.qty input { width: 44px; height: 100%; padding: 0; border: 0; background: transparent; font-size: 16px; font-weight: 600; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 42px; height: 100%; padding: 0; border: 0; background: transparent; font-size: 20px; cursor: pointer; }
.qty-btn:hover { background: var(--surface); }

.assure { margin-bottom: 24px; padding: 16px 18px; border-radius: var(--r); background: var(--surface); }
.assure li { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0; color: var(--body); font-size: 14px; line-height: 1.45; }

.details { border-top: 1px solid var(--line); }
.details-item { border-bottom: 1px solid var(--line); }
.details-item summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; list-style: none; cursor: pointer; }
.details-item summary::-webkit-details-marker { display: none; }
.details-item summary h2 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.details-item summary .icon { transition: rotate .25s var(--ease); }
.details-item[open] summary .icon { rotate: 180deg; }
.details-body { padding-bottom: 20px; color: var(--body); font-size: 15px; }
.details-body > * + * { margin-top: .9em; }
.details-body h3, .details-body h4 { margin-top: 1.2em; font-size: 15px; }
.details-body ul { padding-left: 1.2em; }
.details-body table { width: 100%; border-collapse: collapse; }
.details-body th, .details-body td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.details-body th { width: 40%; color: var(--muted); font-weight: 500; }
.details-body td p { margin: 0; }

/* Reviews (WooCommerce's review list and form). */
#reviews .commentlist { margin: 0; padding: 0; list-style: none; }
#reviews .commentlist li { margin-bottom: 14px; }
#reviews .comment_container { padding: 14px 16px; border-radius: var(--r); background: var(--surface); }
#reviews .avatar { display: none; }
#reviews .meta { margin: 4px 0; color: var(--muted); font-size: 13px; }
#reviews .star-rating { position: relative; width: 86px; height: 16px; overflow: hidden; font-size: 0; background: var(--line-strong); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17.2' height='16' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.8 5.8 6.3.9-4.6 4.4 1.1 6.3L12 17.2l-5.6 3 1.1-6.3L2.9 9.5l6.3-.9z'/%3E%3C/svg%3E") 0 0 / 17.2px 16px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17.2' height='16' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.8 5.8 6.3.9-4.6 4.4 1.1 6.3L12 17.2l-5.6 3 1.1-6.3L2.9 9.5l6.3-.9z'/%3E%3C/svg%3E") 0 0 / 17.2px 16px repeat-x; }
#reviews .star-rating span { position: absolute; inset: 0 auto 0 0; display: block; background: var(--ink); }
#reviews .woocommerce-Reviews-title, #review_form .comment-reply-title { display: block; margin-bottom: 10px; font-size: 16px; font-weight: 650; }
#review_form { margin-top: 16px; }
#review_form select { height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--base); }

/* ─── Forms: account, reviews, comments, order pay ─────────────────── */

.store-content label, .comment-form label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.4; }
.store-content .required, .comment-form .required { color: var(--danger); text-decoration: none; }
.store-content input.input-text, .store-content input[type=text], .store-content input[type=email], .store-content input[type=password], .store-content input[type=tel], .store-content textarea, .store-content select.input-select,
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea, #review_form textarea {
	width: 100%; min-height: 50px; padding: 12px 16px;
	border: 1px solid var(--line-strong); border-radius: var(--r-sm);
	background: var(--base); color: var(--ink); font-size: 16px; line-height: 1.4;
	transition: border-color .2s, box-shadow .2s;
}
.store-content input:focus, .store-content textarea:focus, .store-content select:focus, .comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.store-content select { width: 100%; height: 50px; border-radius: var(--r-sm); font-size: 16px; }
.store-content textarea, .comment-form textarea { min-height: 120px; }
.store-content .form-row { margin: 0 0 16px; padding: 0; }
.store-content .form-row-first, .store-content .form-row-last { width: 100%; }
@media (min-width: 768px) {
	.store-content .woocommerce-address-fields__field-wrapper, .store-content .woocommerce-EditAccountForm { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
	.store-content .form-row-wide, .store-content fieldset, .store-content .woocommerce-EditAccountForm > p:not(.form-row-first):not(.form-row-last), .store-content .woocommerce-EditAccountForm > .clear { grid-column: 1 / -1; }
}
.store-content input[type=checkbox], .store-content input[type=radio] { width: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: -3px; }
.store-content fieldset { margin: 8px 0 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); }
.store-content legend { padding: 0 6px; font-weight: 650; }
.store-content .clear { display: none; }
.store-content em, .store-content .description { color: var(--muted); font-size: 13px; font-style: normal; }
.comment-form p { margin-bottom: 14px; }

/* Notices */
.notices:empty, .woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
	margin: 16px 0 24px; padding: 14px 18px;
	border: 0; border-radius: var(--r); background: var(--surface); color: var(--ink);
	font-size: 15px; list-style: none;
}
.woocommerce-message { background: #edf7f0; }
.woocommerce-error { background: #fdf0ef; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { order: 2; min-height: 38px; padding: 8px 18px; font-size: 14px; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button) { font-weight: 600; }

/* ─── Bag ──────────────────────────────────────────────────────────── */

.store-content { padding-bottom: 72px; }
.bag { display: grid; gap: 32px; }
@media (min-width: 1024px) { .bag { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; } }
.bag-list { border-top: 1px solid var(--line); }
.bag-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .bag-item { grid-template-columns: 140px minmax(0, 1fr) auto; gap: 24px; } }
.bag-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); background: var(--surface); }
.bag-name { font-weight: 650; }
.bag-name a, .bag-name a:visited { color: inherit; text-decoration: none; }
.bag-name a:hover { text-decoration: underline; }
.bag-meta { color: var(--muted); font-size: 14px; }
.bag-meta dl { display: grid; grid-template-columns: auto 1fr; gap: 0 6px; margin: 2px 0 0; }
.bag-meta dt, .bag-meta dd, .bag-meta dd p { margin: 0; font-weight: 400; }
.bag-unit { margin-top: 2px; color: var(--muted); font-size: 14px; }
.bag-unit .price, .bag-unit del { font-weight: 400; }
.bag-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.bag-actions .qty { height: 42px; }
.bag-actions .qty-btn { width: 36px; }
.bag-actions .qty input { width: 36px; font-size: 15px; }
.bag-remove { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; text-decoration: none; }
.bag-remove:hover { color: var(--ink); text-decoration: underline; }
.bag-line { font-weight: 650; text-align: right; white-space: nowrap; }
.bag-update { margin-top: 16px; }
.js .bag-update { display: none; }
[data-bag].is-busy { opacity: .6; pointer-events: none; transition: opacity .2s; }

.bag-summary { padding: 24px; border-radius: var(--r-lg); background: var(--surface); }
@media (min-width: 1024px) { .bag-summary { position: sticky; top: calc(var(--header) + 24px); } }
.bag-summary-title { margin-bottom: 16px; font-size: 22px; }
.totals { margin: 0 0 20px; }
.totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; color: var(--body); }
.totals dd { margin: 0; color: var(--ink); text-align: right; }
.totals-discount dd { color: var(--ok); }
.totals-discount a { margin-left: 6px; color: var(--muted); font-size: 13px; }
.totals-total { margin-top: 8px; padding-top: 16px !important; border-top: 1px solid var(--line-strong); font-size: 18px; font-weight: 700; }
.totals-total dt, .totals-total dd { color: var(--ink); }
.totals small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.coupon { margin-top: 16px; border-top: 1px solid var(--line-strong); }
.coupon summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-size: 15px; font-weight: 600; list-style: none; cursor: pointer; }
.coupon summary::-webkit-details-marker { display: none; }
.coupon[open] summary .icon { rotate: 180deg; }
.coupon-form { display: flex; gap: 8px; padding-bottom: 8px; }
.coupon-form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--pill); background: var(--base); }
.bag-summary .assure { margin: 16px 0 0; padding: 0; background: none; }

.ship-goal { margin-bottom: 16px; padding: 14px 16px; border-radius: var(--r); background: var(--base); font-size: 14px; }
.ship-goal p { margin-bottom: 8px; font-weight: 550; }
.ship-bar { height: 6px; overflow: hidden; border-radius: var(--pill); background: var(--line); }
.ship-bar i { display: block; height: 100%; border-radius: inherit; background: var(--ink); transition: width .6s var(--ease); }
.ship-goal.is-done .ship-bar i { background: var(--ok); }

/* ─── Account ──────────────────────────────────────────────────────── */

.woocommerce-account .store-content > .woocommerce { display: grid; gap: 24px; }
.woocommerce-MyAccount-navigation ul { display: flex; gap: 8px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 16px; border-radius: var(--pill); background: var(--surface); font-size: 15px; font-weight: 550; white-space: nowrap; text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: #fff; }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content > p:first-of-type { font-size: 17px; }
@media (min-width: 1024px) {
	.woocommerce-MyAccount-navigation ul { flex-direction: column; gap: 2px; margin: 0; padding: 0; overflow: visible; }
	.woocommerce-MyAccount-navigation a { padding: 10px 14px; background: none; }
	.woocommerce-MyAccount-navigation a:hover { background: var(--surface); }
	.woocommerce-MyAccount-navigation .is-active a { background: var(--surface); color: var(--ink); font-weight: 650; }
}
.u-columns { display: grid; gap: 24px; }
@media (min-width: 900px) { .u-columns { grid-template-columns: 1fr 1fr; gap: 40px; } }
.woocommerce-account:not(.logged-in) .store-content > .woocommerce { max-width: 1040px; }
.woocommerce-account h2 { margin-bottom: 14px; font-size: 22px; }
.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.woocommerce-form-login .button, .woocommerce-form-register .button, .woocommerce-ResetPassword .button { width: 100%; min-height: 52px; margin-top: 8px; }
.woocommerce-form-login__rememberme { display: flex !important; align-items: center; font-weight: 500 !important; }
.lost_password { margin-top: 12px; font-size: 14px; }
.woocommerce-privacy-policy-text { color: var(--muted); font-size: 13px; }
.woocommerce-Addresses { display: grid; gap: 24px; }
@media (min-width: 768px) { .woocommerce-Addresses { grid-template-columns: 1fr 1fr; } }
.woocommerce-Address { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); }
.woocommerce-Address-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.woocommerce-Address-title h2 { font-size: 18px; }
address { font-style: normal; color: var(--body); }

/* Tables: orders, downloads, order details */
.shop_table, .woocommerce-table, .woocommerce-orders-table { width: 100%; margin-bottom: 24px; border-collapse: collapse; font-size: 15px; }
.shop_table th, .shop_table td, .woocommerce-table th, .woocommerce-table td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.shop_table thead th, .woocommerce-table thead th { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.shop_table tfoot th { font-weight: 500; color: var(--body); }
.shop_table tfoot tr:last-child th, .shop_table tfoot tr:last-child td { font-weight: 700; color: var(--ink); }
.woocommerce-orders-table .button, .woocommerce-table .button { min-height: 36px; padding: 6px 14px; font-size: 13px; }
@media (max-width: 767px) {
	.woocommerce-orders-table thead { display: none; }
	.woocommerce-orders-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.woocommerce-orders-table td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; }
	.woocommerce-orders-table td::before { content: attr(data-title); color: var(--muted); }
}
mark { background: none; color: var(--ink); font-weight: 650; }

/* ─── Checkout (WooCommerce block checkout) and order received ─────── */

.wc-block-components-sidebar-layout { margin-bottom: 0; }
.wc-block-components-button:not(.is-link) { min-height: 54px; border-radius: var(--pill) !important; background: var(--accent); color: var(--accent-ink); font-weight: 600; box-shadow: none; transition: opacity .2s; }
.wc-block-components-button:not(.is-link):hover { opacity: .85; }
.wc-block-components-button:not(.is-link):focus-visible { box-shadow: var(--focus); }
.wc-block-components-checkout-place-order-button { min-height: 58px !important; font-size: 17px !important; }
.wc-block-components-text-input input, .wc-blocks-components-select .wc-blocks-components-select__select, .wc-block-components-textarea, .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
	border-color: var(--line-strong) !important; border-radius: var(--r-sm) !important; background: var(--base) !important;
}
.wc-block-components-text-input input:focus, .wc-blocks-components-select .wc-blocks-components-select__select:focus, .wc-block-components-textarea:focus { border-color: var(--ink) !important; box-shadow: 0 0 0 1px var(--ink) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--ink); border-color: var(--ink); }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff; }
.wc-block-components-radio-control__input:checked { border-color: var(--ink) !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--ink) !important; }
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: var(--r-sm); }
.wc-block-components-radio-control--highlight-checked::after { border-color: var(--line-strong); border-radius: var(--r-sm); }
.wc-block-checkout__sidebar.wc-block-components-sidebar { padding: 8px 24px 24px; border-radius: var(--r-lg); background: var(--surface); }
.wc-block-components-order-summary-item__image img { border-radius: var(--r-sm); }
.wc-block-components-sale-badge { border-color: var(--sale) !important; color: var(--sale) !important; border-radius: var(--pill) !important; }
.wc-block-components-product-price ins, .wc-block-components-product-price__value.is-discounted { color: var(--sale); }
.wc-block-components-title.wc-block-components-title { font-weight: 650; letter-spacing: -.01em; }

.woocommerce-order { max-width: 880px; padding-top: 32px; }
.woocommerce-thankyou-order-received { margin-bottom: 28px; font-size: clamp(26px, 3.2vw, 38px); font-weight: 750; line-height: 1.1; letter-spacing: -.03em; }
.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 40px !important; }
.woocommerce-order-overview li { padding: 16px; border-radius: var(--r); background: var(--surface); color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.woocommerce-order-overview strong { display: block; margin-top: 4px; color: var(--ink); font-size: 16px; letter-spacing: 0; text-transform: none; }
.woocommerce-order-details__title, .woocommerce-column__title { margin: 24px 0 12px; font-size: 22px; }
.woocommerce-columns--addresses { display: grid; gap: 24px; }
@media (min-width: 768px) { .woocommerce-columns--addresses { grid-template-columns: 1fr 1fr; } }
.woocommerce-customer-details address { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); }

/* ─── Pages & posts ────────────────────────────────────────────────── */

.page-head { padding: 24px 0; }
.page-title { font-size: clamp(32px, 4.4vw, 56px); font-weight: 750; letter-spacing: -.04em; line-height: 1.04; }
.page-head-store { padding: 28px 0 12px; }
.page-head-store .page-title { font-size: clamp(28px, 3.4vw, 40px); }
.article-head { max-width: 760px; margin-inline: auto; padding: 8px 0 32px; }
.article-head .crumbs { margin-bottom: 24px; }
.article-media { margin-bottom: 40px; overflow: hidden; border-radius: var(--r-lg); }
.article-media img { width: 100%; }

.prose { max-width: 760px; padding-bottom: 64px; color: var(--body); font-size: 18px; line-height: 1.7; }
.prose-center { margin-inline: auto; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: 28px; }
.prose h3 { margin-top: 1.6em; font-size: 22px; }
.prose a { color: var(--ink); }
.prose img { border-radius: var(--r); }
.prose blockquote { padding-left: 20px; border-left: 3px solid var(--ink); color: var(--ink); font-size: 22px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose .alignwide { max-width: 1280px; }
.prose .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: var(--pill); background: var(--surface); font-size: 14px; text-decoration: none; }
.comments { max-width: 760px; margin: 0 auto 64px; }
.comment-list { padding: 0; list-style: none; }

.notfound { max-width: 720px; padding-block: 80px 96px; text-align: center; }
.notfound .page-title { margin-bottom: 12px; }
.notfound p { color: var(--body); font-size: 18px; }
.notfound-search { max-width: 480px; margin: 28px auto 20px; }

/* ─── Footer ───────────────────────────────────────────────────────── */

.footer { margin-top: 24px; border-top: 1px solid var(--line); color: var(--body); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding-block: 48px 32px; }
.footer-about { grid-column: 1 / -1; max-width: 360px; }
.footer-about .logo { margin-bottom: 12px; }
.footer-about p { color: var(--muted); }
.footer-col h2 { margin-bottom: 12px; font-size: 14px; font-weight: 650; letter-spacing: 0; }
.footer-col a, .footer-contact a { display: inline-block; padding: 5px 0; color: var(--muted); text-decoration: none; }
.footer-col a:hover, .footer-contact a:hover { color: var(--ink); text-decoration: underline; }
.footer-contact { margin-top: 12px; }
.footer .footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-social a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--pill); font-size: 13px; font-weight: 600; text-decoration: none; }
.footer-social a:hover { border-color: var(--ink); }
.legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-block: 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.legal a { color: var(--muted); }
.pay { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto !important; }
.pay li { padding: 3px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--body); font-size: 12px; font-weight: 600; }
.footer-focus { margin-top: 0; }
@media (min-width: 768px) {
	.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; padding-block: 64px 40px; }
	.footer-about { grid-column: auto; }
}

/* ─── Header layouts and tones ─────────────────────────────────────── */

.header:not(.is-sticky) { position: relative; }
.announce-dark { background: #000; color: #fff; }

.header.tone-dark { background: #111; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header.tone-dark.is-scrolled { border-bottom-color: rgb(255 255 255 / .12); }
.tone-dark .iconbtn, .tone-dark .logo, .tone-dark .nav-list > li > a { color: #fff; }
.tone-dark .iconbtn:hover, .tone-dark .nav-list > li > a:hover, .tone-dark .nav-list > li:focus-within > a { background: rgb(255 255 255 / .12); }
.tone-dark .bag-count { background: #fff; color: #111; }
.tone-dark .nav .sub-menu { color: var(--ink); }

/* Over the picture: transparent until the page scrolls, then a white bar. */
.header.tone-overlay { margin-bottom: calc(-1 * (var(--header) + var(--extra, 0px) + 1px)); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background-color .3s, color .3s, border-color .3s; }
.header.tone-overlay:not(.is-scrolled) .iconbtn, .header.tone-overlay:not(.is-scrolled) .logo, .header.tone-overlay:not(.is-scrolled) .nav-list > li > a { color: #fff; }
.header.tone-overlay:not(.is-scrolled) .iconbtn:hover, .header.tone-overlay:not(.is-scrolled) .nav-list > li > a:hover { background: rgb(255 255 255 / .16); }
.header.tone-overlay:not(.is-scrolled) .bag-count { background: #fff; color: #111; }
.header.tone-overlay:not(.is-scrolled) .logo-img { filter: brightness(0) invert(1); }
.header.tone-overlay.is-scrolled { background: rgb(255 255 255 / .9); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.has-overlay-header .hero-dark::after { background: linear-gradient(180deg, rgb(0 0 0 / .35) 0, rgb(0 0 0 / 0) 28%, rgb(0 0 0 / 0) 40%, rgb(0 0 0 / .55) 100%), linear-gradient(90deg, rgb(0 0 0 / .3), rgb(0 0 0 / 0) 60%); }
.has-overlay-header .hero-inner { padding-top: calc(var(--header) + 48px); }

@media (min-width: 1024px) {
	/* Split: menu left, logo centre, icons right. */
	.header-split .header-bar { grid-template-columns: 1fr auto 1fr; }
	.header-split .nav { grid-column: 1; grid-row: 1; justify-self: start; margin-left: -14px; }
	.header-split .header-bar > .logo { grid-column: 2; grid-row: 1; justify-self: center; }
	.header-split .actions { grid-column: 3; grid-row: 1; }

	/* Centered: logo in the middle, the menu on its own row below. */
	.header-centered { --extra: 52px; }
	.header-centered .header-bar { grid-template-columns: 1fr auto 1fr; grid-template-rows: var(--header) var(--extra); height: auto; row-gap: 0; }
	.header-centered .header-bar > .logo { grid-column: 2; grid-row: 1; justify-self: center; }
	.header-centered .actions { grid-column: 3; grid-row: 1; }
	.header-centered .nav { grid-column: 1 / -1; grid-row: 2; justify-self: center; align-self: start; }
	.header-centered .logo-text { font-size: 26px; }

	/* Minimal: logo and icons; the menu opens from the button on every screen. */
	.header-minimal .header-bar { display: flex; }
	.header-minimal .header-bar > .logo { margin-right: auto; }
	.header-minimal .header-menu { display: inline-flex; order: 3; margin: 0 -10px 0 2px; }
	.header-minimal .actions { margin-right: 0; }
}

/* ─── Footer layouts and tones ─────────────────────────────────────── */

.footer-center { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-block: 56px 32px; text-align: center; }
.footer-center > p { max-width: 520px; color: var(--muted); }
.footer-inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.footer-inline a { color: var(--muted); text-decoration: none; }
.footer-inline a:hover { color: var(--ink); text-decoration: underline; }
.footer-center ul.footer-social { justify-content: center; margin-top: 4px; }
.footer-centered .legal { justify-content: center; }
.footer-centered .pay { margin-left: 0 !important; }
.footer-minimal { margin-top: 40px; }
.footer-minimal .legal { border-top: 0; }

.footer.tone-dark { background: #111; color: #d2d2d7; border-top-color: transparent; }
.footer.tone-dark .logo, .footer.tone-dark h2 { color: #fff; }
.footer.tone-dark p, .footer.tone-dark .footer-col a, .footer.tone-dark .footer-contact a, .footer.tone-dark .footer-inline a, .footer.tone-dark .legal, .footer.tone-dark .legal a { color: #a1a1a6; }
.footer.tone-dark .footer-col a:hover, .footer.tone-dark .footer-inline a:hover, .footer.tone-dark .footer-contact a:hover { color: #fff; }
.footer.tone-dark .legal { border-top-color: rgb(255 255 255 / .12); }
.footer.tone-dark .pay li { border-color: rgb(255 255 255 / .2); color: #d2d2d7; }
.footer.tone-dark .footer-social a { border-color: rgb(255 255 255 / .25); color: #fff; }
.footer.tone-dark .footer-social a:hover { border-color: #fff; }

/* ─── Motion & print ───────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	@view-transition { navigation: none; }
}
@media print {
	.announce, .header, .footer, .filters, .toolbar, .buy, .assure { display: none !important; }
}


/* ─── Home cover (full screen, slider) ─────────────────────────────── */

/* The picture fills the screen; the header lies over it (overlay tone), and
   the words and button sit centred at the bottom. Slides cross-fade while
   the picture slowly settles; the current dot fills for the interval. */
.cover { position: relative; display: grid; height: 100svh; min-height: 560px; max-height: 1200px; overflow: hidden; background: #1b1b1d; color: #fff; isolation: isolate; }
.cover-slide { grid-area: 1 / 1; position: relative; display: flex; align-items: flex-end; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s 1.1s; }
.cover-slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease), visibility 0s; }
.cover-slide.is-leaving { visibility: visible; }
.cover-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.cover-img { width: 100%; height: 100%; object-fit: cover; scale: 1.08; transition: scale 0s 1.2s; }
.cover-slide.is-active .cover-img { scale: 1; transition: scale calc(var(--interval, 6s) + 2s) cubic-bezier(.2, .6, .3, 1); }
.cover-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .32) 0, rgb(0 0 0 / 0) 26%, rgb(0 0 0 / 0) 46%, rgb(0 0 0 / .62) 100%); }
.cover-slide[data-light="1"] { color: var(--ink); }
.cover-slide[data-light="1"]::after { background: linear-gradient(180deg, rgb(255 255 255 / .35) 0, rgb(255 255 255 / 0) 30%, rgb(255 255 255 / 0) 50%, rgb(255 255 255 / .55) 100%); }
.cover-copy { display: flex; flex-direction: column; align-items: center; width: 100%; padding-bottom: calc(96px + env(safe-area-inset-bottom)); text-align: center; }
.announce ~ .main .cover { height: calc(100svh - var(--announce)); }
.cover:not(:has(.cover-nav)) .cover-copy { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
.cover-eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.cover-title { max-width: 16ch; margin: 0 0 14px; color: inherit; font-size: clamp(40px, 8vw, 104px); font-weight: 800; line-height: .96; letter-spacing: -.045em; text-wrap: balance; }
.cover-text { max-width: 560px; margin: 0 0 28px; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.45; opacity: .92; text-wrap: pretty; }
.cover-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-cover { min-width: 220px; background: #fff; color: #111; border-color: #fff; }
.btn-cover:hover { color: #111; opacity: .9; }
.btn-cover-alt { background: rgb(255 255 255 / .12); color: #fff; border-color: rgb(255 255 255 / .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-cover-alt:hover { background: rgb(255 255 255 / .22); color: #fff; opacity: 1; }
.cover-slide[data-light="1"] .btn-cover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.cover-slide[data-light="1"] .btn-cover-alt { background: rgb(255 255 255 / .5); color: var(--ink); border-color: var(--line-strong); }
/* The words rise in after the picture. */
.cover-copy > * { opacity: 0; translate: 0 18px; transition: opacity .7s var(--ease), translate .9s var(--ease); }
.cover-slide.is-active .cover-copy > * { opacity: 1; translate: 0 0; }
.cover-slide.is-active .cover-copy > :nth-child(2) { transition-delay: .08s; }
.cover-slide.is-active .cover-copy > :nth-child(3) { transition-delay: .16s; }
.cover-slide.is-active .cover-copy > :nth-child(4) { transition-delay: .24s; }
.cover-slide.is-active .cover-copy > .sr { opacity: 1; }

.cover-nav { position: absolute; inset: auto 0 calc(24px + env(safe-area-inset-bottom)); z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px; pointer-events: none; }
.cover-nav > * { pointer-events: auto; }
.cover-dots { display: flex; gap: 6px; }
.cover-dot { position: relative; width: 36px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.cover-dot::before, .cover-dot i { content: ""; position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: var(--pill); }
.cover-dot::before { right: 0; background: rgb(255 255 255 / .38); }
.cover-dot i { width: 0; background: #fff; }
.cover-dot[aria-current] i { width: 100%; }
.cover.is-auto .cover-dot[aria-current] i { width: auto; right: 100%; animation: cover-progress var(--interval, 6s) linear forwards; }
.cover[class*="hold-"] .cover-dot i { animation-play-state: paused; }
@keyframes cover-progress { to { right: 0; } }
.cover-arrow { display: none; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgb(255 255 255 / .35); border-radius: var(--pill); background: rgb(0 0 0 / .18); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .2s; }
.cover-arrow:hover { background: rgb(0 0 0 / .35); }
.cover-pause { display: grid; }
.cover-pause .icon:last-of-type, .cover-pause[aria-pressed="true"] .icon:first-of-type { display: none; }
.cover-pause[aria-pressed="true"] .icon:last-of-type { display: block; }
.cover:has(.cover-slide.is-active[data-light="1"]) .cover-dot::before { background: rgb(0 0 0 / .2); }
.cover:has(.cover-slide.is-active[data-light="1"]) .cover-dot i { background: var(--ink); }
.cover:has(.cover-slide.is-active[data-light="1"]) .cover-arrow { border-color: rgb(0 0 0 / .2); background: rgb(255 255 255 / .5); color: var(--ink); }
@media (min-width: 1024px) {
	.cover-arrow { display: grid; }
	.cover-nav { gap: 14px; }
	.cover-copy { padding-bottom: 112px; }
}
@media (prefers-reduced-motion: reduce) {
	.cover-slide, .cover-img, .cover-copy > * { transition: none !important; }
	.cover-img { scale: 1; }
}

/* The header over a light picture reads dark. */
.header.tone-overlay.on-light:not(.is-scrolled) .iconbtn, .header.tone-overlay.on-light:not(.is-scrolled) .logo, .header.tone-overlay.on-light:not(.is-scrolled) .nav-list > li > a { color: var(--ink); }
.header.tone-overlay.on-light:not(.is-scrolled) .iconbtn:hover, .header.tone-overlay.on-light:not(.is-scrolled) .nav-list > li > a:hover { background: rgb(0 0 0 / .06); }
.header.tone-overlay.on-light:not(.is-scrolled) .bag-count { background: var(--ink); color: #fff; }
.header.tone-overlay.on-light:not(.is-scrolled) .logo-img { filter: none; }
.header.tone-overlay .iconbtn, .header.tone-overlay .logo, .header.tone-overlay .nav-list > li > a { transition: color .5s var(--ease), background-color .2s; }


/* ─── Shop filters: collapsible sections, swatches, sizes ──────────── */

details.filter > summary { display: flex; align-items: center; gap: 8px; margin: 0; list-style: none; cursor: pointer; user-select: none; }
details.filter > summary::-webkit-details-marker { display: none; }
details.filter > summary .icon { margin-left: auto; color: var(--muted); transition: rotate .25s var(--ease); }
details.filter[open] > summary .icon { rotate: 180deg; }
details.filter > summary:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.filter-body { padding-top: 12px; }
.filter-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--pill); background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; }
.filter-values { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.filter-list.filter-list, .filter-values.filter-list { display: block; }
.filter-values.filter-list li, .filter-values.filter-list { width: 100%; }
.filter-values.filter-list a, .filter-values .check { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 7px 0; color: var(--body); font-size: 15px; text-decoration: none; }
.filter-values .check .count { margin-left: auto; color: var(--faint); font-size: 13px; }
.filter-colour { gap: 10px 6px; }
.swatch-link { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 60px; padding: 4px 0; color: var(--body); font-size: 12px; text-align: center; text-decoration: none; }
.swatch-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--c, var(--surface)); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14); transition: box-shadow .15s; }
.swatch-dot.is-unknown { background: conic-gradient(from 45deg, #f87171, #facc15, #4ade80, #60a5fa, #c084fc, #f87171); }
.swatch-link:hover .swatch-dot { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14), 0 0 0 2px var(--base), 0 0 0 3px var(--line-strong); }
.swatch-link.is-on { color: var(--ink); font-weight: 650; }
.swatch-link.is-on .swatch-dot { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14), 0 0 0 2px var(--base), 0 0 0 4px var(--ink); }
.swatch-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.size-link { display: grid; place-items: center; min-width: 52px; height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .15s, background-color .15s; }
.size-link:hover { border-color: var(--ink); }
.size-link.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.filter .check .stars { margin-right: 4px; }
.chip-clear { display: inline-flex; align-items: center; height: 34px; padding: 0 6px; color: var(--ink); font-size: 14px; font-weight: 600; text-underline-offset: 3px; }


/* ─── Order received ───────────────────────────────────────────────── */

.thanks { padding-block: 8px 48px; }
.thanks-head { display: grid; justify-items: center; gap: 10px; max-width: 720px; margin: 0 auto 36px; text-align: center; }
.thanks-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: #fff; animation: thanks-pop .6s var(--ease) both; }
.thanks.is-failed .thanks-icon { background: var(--danger); }
@keyframes thanks-pop { from { scale: .6; opacity: 0; } }
.thanks-title { margin: 6px 0 0; font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.thanks-lead { max-width: 560px; margin: 0; color: var(--body); font-size: 17px; line-height: 1.5; }
.thanks-actions { margin: 8px 0 0; }
.thanks-steps { display: flex; gap: 0; width: min(100%, 520px); margin: 18px 0 0; padding: 0; list-style: none; counter-reset: none; }
.thanks-steps li { position: relative; flex: 1; display: grid; justify-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.thanks-steps li span { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 700; }
.thanks-steps li + li::before { content: ""; position: absolute; top: 15px; right: 50%; left: -50%; height: 2px; background: var(--line); }
.thanks-steps li.is-done { color: var(--ink); }
.thanks-steps li.is-done span { background: var(--ink); color: #fff; }
.thanks-steps li.is-done + li.is-done::before { background: var(--ink); }
.thanks-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 1024px) { .thanks-grid { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 24px; } .thanks-side { position: sticky; top: calc(var(--header) + 24px); } }
.thanks-main, .thanks-side { display: grid; gap: 16px; }
.thanks-card { padding: 22px; border-radius: var(--r-lg); background: var(--surface); }
.thanks-h { margin: 0 0 14px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.thanks-items { margin: 0; padding: 0; list-style: none; }
.thanks-items li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.thanks-pic { position: relative; display: block; width: 64px; height: 64px; border-radius: var(--r-sm); background: var(--base); }
.thanks-pic img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.thanks-qty { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--pill); background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
.thanks-name { display: grid; gap: 2px; font-size: 15px; font-weight: 600; }
.thanks-meta { color: var(--muted); font-size: 13px; font-weight: 400; }
.thanks-meta p, .thanks-meta ul { display: inline; margin: 0; padding: 0; list-style: none; }
.thanks-meta li { display: inline; }
.thanks-price { font-weight: 650; white-space: nowrap; }
.thanks-totals { display: grid; gap: 8px; margin: 14px 0 0; }
.thanks-totals div, .thanks-facts div { display: flex; justify-content: space-between; gap: 12px; }
.thanks-totals dt, .thanks-facts dt { color: var(--muted); }
.thanks-totals dd, .thanks-facts dd { margin: 0; text-align: right; font-weight: 600; }
.thanks-totals .is-total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line-strong); font-size: 18px; }
.thanks-totals .is-total dt { color: var(--ink); font-weight: 700; }
.thanks-facts { display: grid; gap: 10px; margin: 0; font-size: 14px; }
.thanks-side address { font-style: normal; line-height: 1.6; }
.thanks-muted { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.thanks-cta { display: grid; gap: 10px; }
.thanks-pay h2, .thanks-pay h3 { margin: 0 0 10px; font-size: 18px; }
.thanks-pay ul { margin: 0; padding: 0; list-style: none; }
.thanks-pay li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.thanks-pay li strong { text-align: right; }


/* ─── Style: Atelier ───────────────────────────────────────────────── */

/* A second look on the same pages: a warm paper background, serif
   headlines, small capitals in the menu and on buttons, near-square
   corners. Only tokens and type change; every layout stays the same. */
body.style-atelier {
	--base: #fbf9f6;
	--surface: #f3eee7;
	--line: #e8e1d7;
	--line-strong: #d7cdbf;
	--ink: #1f1b16;
	--body: #4a443c;
	--muted: #7b7268;
	--faint: #a39a8f;
	--r-sm: 2px;
	--r: 3px;
	--r-lg: 4px;
	--pill: 2px;
	--serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
	background: var(--base);
}
.style-atelier :is(.cover-title, .hero-title, .promo-title, .archive-title, .page-title, .product-title, .section-title, .thanks-title, .sheet-title, .logo-text, .footer .logo-text) { font-family: var(--serif); font-weight: 500; letter-spacing: -.012em; }
.style-atelier :is(.cover-title, .hero-title) { font-weight: 400; line-height: 1.02; }
.style-atelier :is(.eyebrow, .cover-eyebrow) { font-size: 12px; letter-spacing: .24em; }
.style-atelier .nav-list > li > a { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.style-atelier :is(.btn, .button, .wp-element-button) { font-size: 13px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.style-atelier .header:not(.tone-overlay):not(.tone-dark) { background: rgb(251 249 246 / .9); }
.style-atelier .header.tone-overlay.is-scrolled { background: rgb(251 249 246 / .92); }
.style-atelier .announce { background: var(--ink); color: var(--base); letter-spacing: .06em; }
.style-atelier .badge { border-radius: 2px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.style-atelier .chip, .style-atelier .pills a { border-radius: 2px; }
.style-atelier .sheet { border-radius: 6px 6px 0 0; }
@media (min-width: 1024px) { .style-atelier .sheet { border-radius: 0; } }
.style-atelier .swatch-dot { border-radius: 50%; }
.style-atelier .thanks-icon { background: var(--ink); }


/* ─── Home: two half-width pictures under the cover ────────────────── */

.split { display: grid; gap: 4px; }
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; } }
.split-tile { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.split-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
@media (min-width: 768px) { .split-media { aspect-ratio: auto; height: min(88svh, 900px); } }
.split-img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.split-tile:hover .split-img { scale: 1.04; }
.split-tile::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 45%, rgb(0 0 0 / .55)); pointer-events: none; }
.split-copy { position: absolute; inset: auto 0 0; z-index: 1; display: grid; justify-items: start; gap: 8px; padding: 28px var(--gutter) 32px; }
.split-title { font-size: clamp(28px, 4vw, 48px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.split-text { max-width: 420px; font-size: 16px; opacity: .92; }
.split-cta { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--pill); background: #fff; color: #111; font-size: 15px; font-weight: 650; transition: gap .2s var(--ease); }
.split-tile:hover .split-cta { gap: 12px; }


/* ─── Atelier: its own layout, not only its own type ───────────────── */

/* The cover is an editorial spread: words on paper at the left, the
   picture at the right (stacked on phones). */
@media (min-width: 900px) {
	.style-atelier .cover { height: calc(100svh - var(--header) - var(--announce)); min-height: 560px; background: var(--base); color: var(--ink); }
	.style-atelier .cover-slide { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; }
	.style-atelier .cover-media { position: relative; inset: auto; z-index: 0; grid-column: 2; grid-row: 1; }
	.style-atelier .cover-slide::after { display: none; }
	.style-atelier .cover-copy { grid-column: 1; grid-row: 1; align-self: center; align-items: flex-start; padding: 0 clamp(32px, 6vw, 96px); text-align: left; }
	.style-atelier .cover-slide, .style-atelier .cover-slide[data-light="1"] { color: var(--ink); }
	.style-atelier .cover-title { max-width: 12ch; font-size: clamp(44px, 5.6vw, 88px); }
	.style-atelier .cover-ctas { justify-content: flex-start; }
	.style-atelier .btn-cover { background: var(--ink); color: var(--base); border-color: var(--ink); }
	.style-atelier .btn-cover-alt { background: transparent; color: var(--ink); border-color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
	.style-atelier .cover-nav { inset: auto auto 28px clamp(32px, 6vw, 96px); justify-content: flex-start; }
	.style-atelier .cover-dot::before { background: rgb(0 0 0 / .15); }
	.style-atelier .cover-dot i { background: var(--ink); }
	.style-atelier .cover-arrow { border-color: var(--line-strong); background: transparent; color: var(--ink); }
}

/* Half-width pictures with their captions underneath, a gap between them. */
.style-atelier .split { gap: clamp(12px, 2vw, 24px); padding: clamp(16px, 3vw, 40px) var(--gutter) 0; }
.style-atelier .split-tile { color: var(--ink); }
.style-atelier .split-tile::after { display: none; }
@media (min-width: 768px) { .style-atelier .split-media { height: min(72svh, 760px); } }
.style-atelier .split-copy { position: static; justify-items: center; padding: 18px 0 8px; text-align: center; }
.style-atelier .split-title { font-family: var(--serif); font-weight: 400; letter-spacing: 0; }
.style-atelier .split-cta { height: auto; padding: 0 0 2px; border-radius: 0; background: none; color: var(--ink); border-bottom: 1px solid currentColor; font-size: 12.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }

/* Sections open with a centred title over a hairline. */
.style-atelier .section-head { flex-direction: column; align-items: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); text-align: center; }
.style-atelier .section-head .link { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }

/* Products in three generous columns, square pictures, centred captions. */
@media (min-width: 1024px) { .style-atelier .grid:not(.rail) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; } }
.style-atelier .card-media { border-radius: 0; aspect-ratio: 4 / 5; }
.style-atelier .card-body { text-align: center; }
.style-atelier .card-cat { display: none; }
.style-atelier .card-title { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.style-atelier .card .price { justify-content: center; font-weight: 500; }
.style-atelier .card-add { align-self: center; border-radius: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
