/* Default Theme: deployable source, no build or remote font required.
   Client themes may replace this entire file through /shop/theme.css. */
:root {
    color-scheme: light;
    --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --ink: #18382f;
    --muted: #56665f;
    --paper: #faf9f6;
    --surface: #fff;
    --accent: #245744;
    --soft: #e9eee7;
    --line: #d4ddd3;
    --focus: #a25100;
    --radius: 1.25rem;
    --radius-sm: .6rem;
    --radius-pill: 999px;
    --space-1: .5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 3rem;
    --space-6: 5rem;
    --container: 1280px;
    --content-reading: 68ch;
    --control-height: 46px;
    --shadow-sm: 0 2px 12px #18382f0a;
    --shadow: 0 18px 50px #18382f0d;
    --shadow-raised: 0 24px 70px #18382f17;
    --success: #17613a;
    --success-soft: #e8f5ec;
    --danger: #9b2424;
    --danger-soft: #fff0f0;
    font: 16px/1.65 var(--font-sans);
    color: var(--ink);
    background: var(--paper);
}
.palette-clay { --ink: #462d24; --muted: #72594e; --accent: #8a4430; --soft: #f2e5dc; --line: #e0cec2; }
.palette-ink { --ink: #263349; --muted: #556278; --accent: #344e76; --soft: #e7ebf1; --line: #cdd6e3; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
::selection { color: #fff; background: var(--accent); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; overflow-wrap: anywhere; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 650; margin: 1rem 0 1.5rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.1rem; }
p, address { overflow-wrap: anywhere; }
button, input, select, textarea { font: inherit; }
.container { width: min(100% - 4rem, var(--container)); margin-inline: auto; }
main.container { padding-block: var(--space-4) var(--space-6); min-height: 65vh; }
.announcement { text-align: center; padding: .6rem 1.5rem; background: var(--accent); color: #fff; font-size: .8rem; letter-spacing: .03em; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: var(--space-4); min-height: 104px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-size: 1.3rem; line-height: 1.2; font-weight: 750; letter-spacing: -.045em; text-decoration: none; margin-right: auto; max-width: 18rem; }
.brand img { object-fit: contain; flex-shrink: 0; }
.desktop-nav, .header-actions { display: flex; align-items: center; gap: var(--space-3); }
.desktop-nav { flex-wrap: wrap; padding-block: 1rem; }
.desktop-nav a { text-decoration: none; font-size: .9rem; padding-block: .6rem; border-bottom: 2px solid transparent; }
.desktop-nav a[aria-current], .desktop-nav a:hover { border-color: var(--accent); }
.header-actions { gap: .75rem; flex-shrink: 0; }
.cart-link { border: 1px solid var(--line); padding: .6rem 1rem; border-radius: 3rem; text-decoration: none; white-space: nowrap; font-size: .9rem; }
.cart-link { display: inline-flex; align-items: center; gap: .4rem; }
.cart-icon { flex-shrink: 0; }
.locale-switch { display: flex; align-items: center; gap: .4rem; margin: 0; }
.locale-switch select { width: auto; margin: 0; font-size: .85rem; padding: .5rem; }
.locale-switch button { padding: .5rem .65rem; font-size: .8rem; margin: 0; }
.menu-trigger, .mobile-fallback { display: none; }
.menu-drawer { color: var(--ink); background: var(--paper); width: min(90vw, 420px); height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 1.5rem; border: 0; border-left: 1px solid var(--line); overflow-y: auto; }
.menu-drawer:not([open]) { display: none; }
.menu-drawer::backdrop { background: #142c26a6; }
.drawer-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.drawer-heading h2 { font-size: 1.15rem; }
.menu-drawer nav, .mobile-fallback nav { display: flex; flex-direction: column; margin: 1.5rem 0; }
.menu-drawer nav a, .mobile-fallback nav a { padding: .9rem .25rem; text-decoration: none; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
.menu-drawer .locale-switch { margin-top: 2rem; flex-wrap: wrap; }
.menu-open { overflow: hidden; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 2rem; padding: clamp(2rem, 5vw, 5rem); background: var(--soft); border-radius: var(--radius); margin: 1rem 0 var(--space-6); overflow: hidden; min-height: 480px; }
.hero h1, .hero h2 { font-size: clamp(2.7rem, 5.5vw, 5.3rem); max-width: 15ch; margin: .3rem 0 1.5rem; }
.hero p, .hero .prose { max-width: 45ch; color: var(--muted); font-size: 1.05rem; }
.hero img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }
.hero .button { margin-top: 1.8rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 700; }
.hero-art { position: relative; min-height: 360px; background: radial-gradient(ellipse at 50% 85%, #25412e26, transparent 65%); isolation: isolate; }
.hero-art span { position: absolute; display: block; box-shadow: 15px 22px 30px #203c3420; }
.hero-art span:nth-child(1) { width: 36%; height: 65%; background: linear-gradient(110deg, #cda984, #efe0c9 55%, #b5906d); left: 6%; bottom: 12%; border-radius: 38% 38% 14% 14%; transform: rotate(-12deg); }
.hero-art span:nth-child(2) { width: 38%; height: 44%; background: linear-gradient(120deg, #52705b, #91a181); right: 5%; bottom: 8%; border-radius: 12% 12% 42% 42%; transform: rotate(10deg); }
.hero-art span:nth-child(3) { width: 42%; height: 15%; background: #eee6d7; left: 22%; bottom: 4%; border-radius: 50%; transform: rotate(-8deg); }
.section { margin-block: var(--space-6); }
.section > h2 { margin-bottom: 2rem; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.card, .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.product-card { border: 0; background: transparent; padding: 0; margin: 0 0 1.5rem; min-width: 0; box-shadow: none; }
.product-media { display: block; overflow: hidden; border-radius: var(--radius); background: var(--soft); text-decoration: none; }
.product-card img, .media-placeholder { display: block; width: 100%; aspect-ratio: 4/5; object-fit: contain; }
.product-card img { padding: 1rem; }
.product-card h2, .product-card h3 { font-size: 1.05rem; letter-spacing: -.015em; line-height: 1.4; margin: 1rem 0 .25rem; }
.product-card h2 a, .product-card h3 a { text-decoration: none; }
.product-card:focus-within .product-media { outline: 2px solid var(--accent); outline-offset: 4px; }
.price { margin: .25rem 0; font-size: .95rem; font-weight: 600; color: var(--muted); }
.media-placeholder { position: relative; background: linear-gradient(145deg, #f0ede5, #e3e6dc); overflow: hidden; border-radius: var(--radius); }
.media-placeholder span { position: absolute; width: 45%; height: 48%; left: 27%; top: 25%; background: linear-gradient(110deg, #afbea5, #dae0ce 60%, #a1af99); border-radius: 25% 25% 40% 40%; box-shadow: 14px 20px 20px #203c3420; transform: rotate(-7deg); }
.product-card:nth-child(2n) .media-placeholder { background: #eee5db; }
.product-card:nth-child(2n) .media-placeholder span { background: linear-gradient(110deg, #b99b7b, #ecd9ba); border-radius: 8%; transform: rotate(7deg); }
.product-card:nth-child(3n) .media-placeholder { background: #e2e8e9; }
.product-card:nth-child(3n) .media-placeholder span { border-radius: 50%; background: linear-gradient(110deg, #8196a0, #ced9db); }
.category-grid, .category-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-grid a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--soft); padding: 2rem; border-radius: var(--radius); font-size: 1.2rem; text-decoration: none; min-height: 120px; }
.category-links { margin: 2rem 0; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.category-links:empty { display: none; }
.category-links a { display: inline-block; border: 1px solid var(--line); border-radius: 2rem; padding: .6rem 1.1rem; text-decoration: none; }
.category-links a:hover, .category-grid a:hover { background: var(--accent); color: #fff; }
.features { list-style: none; border-block: 1px solid var(--line); padding: 2rem 0; }
.features li { padding: 1rem; font-size: .95rem; }
.features span { display: block; font-size: 2rem; color: var(--accent); margin-bottom: .6rem; }
.split, .product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.split { align-items: center; background: var(--soft); border-radius: var(--radius); padding: 2rem; margin-block: var(--space-6); }
.split img { border-radius: var(--radius); }
.split .section { margin: 1rem 0; }
.prose { white-space: pre-line; overflow-wrap: anywhere; max-width: var(--content-reading); line-height: 1.85; }
.newsletter { padding: 1rem 3rem; background: var(--ink); color: #fff; border-radius: var(--radius); }
.newsletter a { color: #fff; }
.newsletter .section { margin: 2rem 0; }
.button, button { display: inline-flex; justify-content: center; align-items: center; gap: .5rem; background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: var(--radius-pill); padding: .8rem 1.5rem; font: inherit; font-weight: 650; cursor: pointer; text-decoration: none; margin: .6rem 0; min-height: var(--control-height); }
.button:hover, button:hover { filter: brightness(.9); color: #fff; }
.button-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.button-secondary:hover { background: var(--soft); color: var(--ink); filter: none; }
button:disabled { opacity: .6; cursor: not-allowed; }
.badge { display: inline-block; border: 1px solid var(--line); border-radius: 2rem; padding: .25rem .7rem; font-size: .75rem; }
label { display: block; margin: .9rem 0; color: var(--ink); font-size: .95rem; }
input, select, textarea { background: var(--surface); color: var(--ink); padding: .7rem .8rem; border: 1px solid #809087; border-radius: var(--radius-sm); max-width: 100%; min-height: var(--control-height); }
input:not([type=checkbox]):not([type=hidden]), select, textarea { display: block; width: 100%; margin-top: .3rem; }
input[type=checkbox] { min-height: 0; width: 1.2rem; height: 1.2rem; vertical-align: middle; accent-color: var(--accent); }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin: 1.5rem 0; min-width: 0; }
legend { font-weight: 650; padding: 0 .5rem; }
form { margin-block: 1rem; }
.notice, [role=status], [role=alert] { padding: 1rem 1.25rem; border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--soft); border-radius: var(--radius-sm); }
.notice.success, [role=status] { color: var(--success); background: var(--success-soft); border-color: #81bc95; }
.notice.error, [role=alert] { color: var(--danger); background: var(--danger-soft); border-color: #df9c9c; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gallery > :first-child { grid-column: 1/-1; }
.gallery img { width: 100%; height: auto; object-fit: contain; aspect-ratio: 1; background: var(--soft); border-radius: var(--radius); }
.product-details { min-width: 0; }
.product-details h1 { margin-top: .5rem; font-size: clamp(2rem, 4vw, 3.6rem); }
.product-intro { color: var(--muted); margin-block: 1.5rem 2rem; }
.product-price { font-size: 1.8rem; font-weight: 600; margin: 0 0 1.5rem; }
.purchase-form { padding-block: 1.5rem; border-block: 1px solid var(--line); }
.variant-field { margin-top: 0; }
.field-hint, .purchase-help { color: var(--muted); font-size: .85rem; }
.purchase-actions { display: flex; align-items: end; gap: 1rem; }
.purchase-actions label { margin: 0; }
.purchase-actions button { flex: 1; margin: 0; }
.purchase-actions input { max-width: 6rem; }
.information-panel { margin-top: 2rem; border-block: 1px solid var(--line); padding: 1rem 0; font-size: .9rem; }
summary { cursor: pointer; min-height: 44px; padding-block: .5rem; font-weight: 600; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2rem; font-size: .8rem; color: var(--muted); }
.page-heading { max-width: 760px; margin: 2.5rem 0 3rem; }
.page-heading .prose { color: var(--muted); font-size: 1.1rem; }
.editorial > h1 { max-width: 20ch; margin: 3rem auto 2rem; text-align: center; }
.editorial > .prose { margin: 0 auto 4rem; font-size: 1.15rem; color: var(--muted); }
.editorial > .section { max-width: 800px; margin-inline: auto; padding-block: 1rem; border-top: 1px solid var(--line); }
.contact-details { max-width: 800px; margin: 2rem auto; }
.contact-details address { font-style: normal; }
.commerce-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(270px, 1fr); gap: 2rem; align-items: start; }
.summary { position: sticky; top: 1.5rem; background: var(--soft); }
.summary h2 { margin-top: 0; font-size: 1.5rem; }
.summary .button { width: 100%; }
.cart-line { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 1.5rem; margin-bottom: 1rem; }
.cart-line > img, .cart-line > .media-placeholder { border-radius: .75rem; width: 100%; aspect-ratio: 1; object-fit: contain; }
.cart-line h2 { font-size: 1.2rem; margin-top: 0; }
.cart-line form { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; margin: .4rem 0; }
.cart-line label { margin: 0; }
.cart-line input { max-width: 7rem; }
.cart-line button { font-size: .85rem; margin: 0; padding: .6rem 1rem; }
.checkout-layout { grid-template-columns: minmax(0, 1.7fr) minmax(270px, 1fr); }
.checkout-forms { padding: 0 1rem; }
.checkout-forms > h2 { margin-top: 0; }
.review-line { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.review-line h3 { margin-bottom: .5rem; }
.review-line ul:empty { display: none; }
.payment-result { max-width: 760px; margin: 2rem auto; padding: 3rem; }
.payment-result > a { display: inline-block; margin-right: 1.5rem; }
.empty-state { padding: 3rem; background: var(--soft); border-radius: var(--radius); grid-column: 1/-1; text-align: center; }
.pagination { display: flex; justify-content: center; gap: 2rem; margin-top: 3rem; }
.pagination a { padding: .6rem 1.2rem; border: 1px solid var(--line); border-radius: 2rem; }
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding: 4.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-size: 1.1rem; margin-bottom: 1.5rem; }
.site-footer nav { display: flex; flex-direction: column; align-items: start; gap: .75rem; }
.site-footer address { font-style: normal; color: var(--muted); }
.site-footer address span { display: block; }
.copyright { grid-column: 1/-1; border-top: 1px solid var(--line); padding-top: 1.5rem; font-size: .85rem; color: var(--muted); margin-bottom: 0; }
.agency-credit { grid-column: 1/-1; margin: -1rem 0 0; font-size: .8rem; color: var(--muted); }
.agency-credit a { font-weight: 600; }
.skip { position: absolute; left: -10000px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: 1rem; z-index: 10; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
dt { font-weight: 700; }
dd { margin: 0 0 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1100px) {
    .header-inner { gap: 1rem; flex-wrap: wrap; min-height: 84px; padding-block: 1rem; }
    .desktop-nav, .header-actions > .locale-switch { display: none; }
    .menu-trigger { display: inline-flex; margin: 0; padding: .4rem .8rem; }
    .hamburger { font-size: 1.2rem; }
    .mobile-fallback { display: block; width: 100%; }
    .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .split, .product-layout { gap: 2rem; }
    .hero-art { min-height: 270px; }
    .footer-grid { grid-template-columns: 2fr 1fr; }
}
@media (max-width: 760px) {
    .container { width: min(100% - 2rem, var(--container)); }
    main.container { padding-top: 1.25rem; }
    .brand { font-size: 1.05rem; flex: 1; min-width: 0; }
    .brand img { width: 32px; height: 32px; }
    .header-actions { gap: .4rem; }
    .cart-link { padding: .6rem .75rem; font-size: .8rem; }
    .hero { grid-template-columns: 1fr; gap: 0; margin-top: .5rem; padding: 2rem; min-height: 0; }
    .hero h1, .hero h2 { font-size: clamp(2.3rem, 8vw, 3.5rem); max-width: 18ch; }
    .hero-art { min-height: 240px; max-width: 360px; width: 100%; margin: auto; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .category-grid { grid-template-columns: 1fr; }
    .category-grid a { padding: 1.25rem; min-height: 75px; }
    .split, .product-layout, .commerce-layout, .checkout-layout { grid-template-columns: 1fr; }
    .summary { position: static; }

    .checkout-forms { padding: 0; }
    .cart-line { grid-template-columns: 75px minmax(0, 1fr); gap: 1rem; padding: 1rem; }
    .features { grid-template-columns: 1fr 1fr; }
    .newsletter { padding: 1rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .payment-result { padding: 1.5rem; }
    .section { margin-block: 3.5rem; }
    .editorial > h1 { text-align: left; margin-top: 2rem; }
    .editorial > .prose { font-size: 1.05rem; }
}
@media (max-width: 380px) {
    .brand { font-size: .95rem; }
    .cart-link span { display: none; }
    .purchase-actions { flex-wrap: wrap; }
    .purchase-actions button { flex-basis: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
    a, button { transition: color .18s ease, background-color .18s ease; }
    .product-media img, .product-media .media-placeholder { transition: transform .3s ease; }
    .product-card:hover .product-media img, .product-card:hover .media-placeholder { transform: scale(1.035); }
}
@media print {
    .site-header, .site-footer, dialog, button, .button, .skip { display: none; }
    .container { width: 100%; }
    .summary { position: static; }
    .commerce-layout { display: block; }
}

/* Reviews: static SSR, no color-only rating or inline styles. */
.rating-summary { display: inline-flex; flex-wrap: wrap; gap: .5rem; align-items: center; min-height: 44px; }
.rating-summary > span:first-child { letter-spacing: .08em; }
.product-section { margin-block: 2.5rem; scroll-margin-top: 2rem; }
.rating-distribution { list-style: none; padding: 0; max-width: 32rem; }
.rating-distribution li { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 3rem; align-items: center; gap: 1rem; min-height: 32px; }
.rating-distribution meter { width: 100%; height: 1.2rem; }
.review-card { padding-block: 1.5rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.product-section .prose { max-width: 75ch; overflow-wrap: anywhere; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 3rem; }
.specifications { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); max-width: 48rem; }
.specifications dt, .specifications dd { margin: 0; padding: .8rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.specifications dt { font-weight: 600; }
.product-section .prose, .editorial > .prose { white-space: pre-line; }
.catalog-count { margin-block: 1.5rem; }
.checkout-forms [id] { scroll-margin-top: 2rem; }

/* Source order: title, introduction, media, features, purchase, policies. */
.product-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.product-heading h1 { margin: 0 0 .75rem; font-size: clamp(2rem, 4vw, 3.6rem); }
.product-highlights { padding-inline-start: 1.25rem; }
.product-highlights li { margin-block: .5rem; }
.purchase-information { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.purchase-information h2 { font-size: 1.15rem; }
.purchase-information dd { margin: 0 0 .75rem; }
.address-disclosure, .business-disclosure { margin-block: 1rem; }
.address-disclosure > summary, .business-disclosure > summary { cursor: pointer; padding: .75rem 0; min-height: 44px; }
@media (min-width: 801px) {
    .product-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 3rem; }
    .product-heading { grid-column: 2; grid-row: 1; }
    .product-layout > .gallery { grid-column: 1; grid-row: 1 / span 2; }
    .product-details { grid-column: 2; grid-row: 2; }
}

/* Consent is server-rendered; the native disclosure also works without JavaScript. */
.consent-banner {
    position: fixed;
    inset: auto 0 0;
    z-index: 5;
    max-height: 65vh;
    max-height: 65dvh;
    overflow-y: auto;
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 32px #18382f1a;
    padding-bottom: env(safe-area-inset-bottom);
}
/* Reserve scrolling space so the fixed panel cannot hide the final footer links. */
body:has(.consent-banner) { padding-bottom: 65vh; padding-bottom: 65dvh; }
html:has(.consent-banner) { scroll-padding-bottom: 67vh; scroll-padding-bottom: 67dvh; }
.consent-manager { padding-block: var(--space-3); }
.consent-manager h2 { font-size: 1.4rem; margin: 0 0 .75rem; }
.consent-manager h3 { font-size: 1rem; letter-spacing: normal; line-height: 1.5; margin: 0; }
.consent-manager p { margin-block: .5rem 1rem; max-width: 95ch; }
.consent-necessary { padding: var(--space-2); background: var(--soft); border-radius: var(--radius-sm); margin-block: var(--space-2); }
.consent-necessary p { margin-bottom: 0; }
.consent-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.consent-actions form { flex: 1 1 18rem; margin: 0; min-width: 0; }
.consent-actions button { width: 100%; height: 100%; margin: 0; white-space: normal; }
.consent-customize { margin-top: var(--space-2); }
.consent-customize > summary { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .75rem 1rem; }
.consent-category { padding-block: var(--space-2); border-top: 1px solid var(--line); }
.consent-category label { font-weight: 600; cursor: pointer; }
.consent-category p { margin-bottom: 0; }
.consent-settings { max-width: 56rem; margin-inline: auto; }
.consent-links { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.consent-links a { display: inline-flex; align-items: center; min-height: 44px; }
/* Compact decision surface; detailed settings retain their explanatory layout. */
.consent-banner .consent-manager {
    max-width: min(var(--container), 72rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
    align-items: start;
    gap: var(--space-3);
    padding-block: 1rem;
    font-size: .875rem;
    line-height: 1.45;
}
.consent-banner .consent-overview, .consent-banner .consent-decisions { min-width: 0; }
.consent-banner h2 { font-size: 1.2rem; margin-bottom: .5rem; }
.consent-banner p { margin: .25rem 0 .5rem; max-width: 75ch; }
.consent-banner .consent-necessary { background: none; padding: 0; margin: 0; }
.consent-banner .consent-necessary h3 { font-size: .875rem; font-weight: 500; }
.consent-banner .consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.consent-banner button { min-height: 44px; padding: .5rem .75rem; margin: 0; overflow-wrap: anywhere; }
.consent-banner .consent-customize { margin-top: .5rem; }
.consent-banner .consent-customize > summary { min-height: 44px; padding: .65rem 1rem; overflow-wrap: anywhere; }
.consent-banner .consent-customize > form { margin: 0; }
.consent-banner fieldset { min-width: 0; padding: .25rem .75rem; margin: .5rem 0; border-radius: var(--radius-sm); }
.consent-banner legend { font-size: .875rem; max-width: 100%; overflow-wrap: anywhere; }
.consent-banner .consent-category { padding: 0 0 .5rem; }
.consent-banner .consent-category:first-of-type { border-top: 0; }
.consent-banner .consent-category label { display: flex; align-items: center; gap: .5rem; min-height: 44px; margin: 0; overflow-wrap: anywhere; }
.consent-banner .consent-category p { margin: 0 0 0 1.7rem; }
.consent-banner input[type=checkbox] { flex-shrink: 0; padding: 0; }
.consent-banner .consent-customize button { width: 100%; }
.consent-banner .consent-links a { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 56rem) {
    .consent-banner .consent-manager { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
    .consent-banner .container { width: calc(100% - 2rem); }
}
@media (max-width: 600px) {
    .consent-settings fieldset { padding: 1rem; }
    .consent-actions { gap: .5rem; }
}
@media print { .consent-banner { display: none; } body:has(.consent-banner) { padding-bottom: 0; } }

/* Core editorial surfaces reuse the existing tokens and remain usable without JS. */
.discovery-controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; padding: .75rem 0; background: transparent; border-bottom: 1px solid var(--line); }
.discovery-controls > *, .gallery, .product-details, .product-heading { min-width: 0; }
.discovery-controls .field-hint { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.discovery-controls label { margin: 0; }
.discovery-controls .content-actions { align-self: end; }
.product-details p, .variant-field, .category-links a { overflow-wrap: anywhere; }
@media (min-width: 1000px) {
    .discovery-controls { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; }
    .discovery-controls .content-actions { gap: .5rem; }
}
.content-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.editorial > .content-actions { max-width: 800px; margin: 2rem auto; }
.editorial-image { display: block; width: min(100%, 800px); height: auto; margin: 2rem auto; border-radius: var(--radius); }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.social-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; list-style: none; padding: 0; }
.social-links a, .site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.brand span, .desktop-nav a, .mobile-fallback a, .menu-drawer a, .site-footer a { overflow-wrap: anywhere; }
.desktop-nav, .brand, .footer-grid > *, .review-grid > * { min-width: 0; }
.content-actions .button { max-width: 100%; overflow-wrap: anywhere; text-align: center; }
.home-hero img { aspect-ratio: 4 / 3; height: auto; }
@media (max-width: 760px) {
    .review-grid { grid-template-columns: minmax(0, 1fr); }
    .header-inner > .brand { flex-basis: 10rem; }
    .header-actions { flex-wrap: wrap; }
    .home-hero { padding: 1.5rem; }
}

/* Shared commerce surfaces: calm hierarchy, explicit states and touch-safe controls. */
.site-header { position: relative; z-index: 2; }
.product-media, .gallery img, .editorial-image { box-shadow: var(--shadow-sm); }
.product-card h2 a, .product-card h3 a { display: inline-block; }
.product-card .price { min-height: 1.5em; }
.card > :first-child, .panel > :first-child { margin-top: 0; }
.card > :last-child, .panel > :last-child { margin-bottom: 0; }
.account-heading { display: flex; align-items: end; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-5); padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.account-heading h1 { margin-block: .25rem; }
.account-heading form { margin: 0; }
.order-list { display: grid; gap: .75rem; }
.order-card { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--space-2); color: var(--ink); text-decoration: none; }
.order-card:hover { border-color: var(--accent); color: var(--ink); box-shadow: var(--shadow); }
.checkout-forms > form, .checkout-forms > section { max-width: 52rem; }
.checkout-forms fieldset { background: var(--surface); box-shadow: var(--shadow-sm); }
.summary { border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.summary dl { margin-bottom: 0; }
.summary dt, .summary dd { padding-block: .2rem; }
.summary .total, .summary > p:last-of-type { font-size: 1.1rem; font-weight: 700; }
.empty-state { border: 1px dashed var(--line); }
.loading-state, [aria-busy=true] { position: relative; cursor: progress; opacity: .72; }
.loading-state::after, [aria-busy=true]::after { content: ""; display: inline-block; width: 1em; height: 1em; margin-inline-start: .6rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -.15em; }
input:hover, select:hover, textarea:hover { border-color: var(--accent); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
[aria-invalid=true] { border-color: var(--danger); box-shadow: 0 0 0 2px color-mix(in srgb, var(--danger) 15%, transparent); }
button:active, .button:active { transform: translateY(1px); }

@media (min-width: 1000px) {
    .product-layout { grid-template-columns: minmax(0, 1.25fr) minmax(22rem, .75fr); column-gap: clamp(3rem, 6vw, 6rem); }
    .product-layout > .gallery { position: sticky; top: 1.5rem; }
    .gallery img { min-height: 32rem; }
}
@media (max-width: 600px) {
    .account-heading { align-items: stretch; flex-direction: column; }
    .account-heading button { width: 100%; }
    .order-card { grid-template-columns: minmax(0, 1fr) auto; }
    .order-card span:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: no-preference) {
    .card, .panel, input, select, textarea { transition: border-color .18s ease, box-shadow .18s ease; }
    .loading-state::after, [aria-busy=true]::after { animation: storefront-spin .7s linear infinite; }
    @keyframes storefront-spin { to { transform: rotate(360deg); } }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    button:active, .button:active { transform: none; }
}
@media (forced-colors: active) {
    .button, button, input, select, textarea, .card, .panel { border: 1px solid ButtonText; }
    .product-media, :focus-visible { outline-color: Highlight; }
}
