/* Skuju Darbnīca - storefront. Design: main.png (catalogue) + board.png (product, mobile). */

@font-face { font-family: "Playfair Display"; font-weight: 400; font-display: swap; src: url(../fonts/playfair-display-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-display: swap; src: url(../fonts/playfair-display-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-weight: 600; font-display: swap; src: url(../fonts/playfair-display-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-weight: 600; font-display: swap; src: url(../fonts/playfair-display-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-display: swap; src: url(../fonts/playfair-display-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-display: swap; src: url(../fonts/playfair-display-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: "Playfair Display"; font-weight: 400; font-display: swap; src: url(../fonts/playfair-display-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-weight: 600; font-display: swap; src: url(../fonts/playfair-display-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-display: swap; src: url(../fonts/playfair-display-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(../fonts/inter-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(../fonts/inter-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(../fonts/inter-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
    --curtain: #3E5641;
    --linen: #EDE6DA;
    --pine: #1F2E24;
    --wine: #7A1426;
    --brass: #B48A45;
    --brass-on-light: #7F5D29; /* same brass, darkened to pass 4.5:1 on linen */
    --brass-on-dark: #E6CB92;  /* lightened to pass 4.5:1 on curtain green */
    --card: #F4EFE7;
    --soft: #E4DCCE;
    --line: #CFC5B4;
    --ink: #1F2E24;
    --muted: #4B5A4E;
    --serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --wrap: 1280px;
    --gutter: clamp(16px, 4.6vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; font-variant-numeric: lining-nums !important; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--linen); color: var(--ink); font: 400 16px/1.5 var(--sans); font-feature-settings: "lnum" 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--pine); color: var(--linen); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(820px + 2 * var(--gutter)); }

.curtain { background: linear-gradient(rgba(62, 86, 65, .5), rgba(62, 86, 65, .5)), var(--curtain) url(../img/aizkars.webp) center top / auto 100% repeat-x; }

/* ---------- Buttons, pills, labels ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-wine { background: var(--wine); color: #fff; }
.btn-wine:hover { background: #5f0f1d; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline-light { border-color: rgba(237, 230, 218, .75); }
.btn-disabled { background: var(--soft); color: var(--muted); cursor: not-allowed; }
.btn-sm { min-height: 32px; padding: 0 16px; font-size: 13px; }
.btn-slim { min-height: 34px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13px; }

.badge { font: 600 10px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-on-light); }
.bases-band .badge { color: var(--brass-on-dark); }
.label { font: 600 10px/1 var(--sans); letter-spacing: .16em; color: var(--brass-on-light); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span, .pill-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; font: 500 14px/1 var(--sans); background: transparent; color: var(--ink); transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.pill input:checked + span { background: var(--wine); border-color: var(--wine); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.pills-serif .pill span { font: 400 16px/1 var(--serif); min-height: 40px; padding: 0 22px; }
.pills-pine .pill input:checked + span { background: var(--pine); border-color: var(--pine); }
.pills-dark .pill-btn { color: var(--linen); border-color: rgba(237, 230, 218, .7); cursor: pointer; }
.pills-dark .pill-btn[aria-pressed="true"] { background: var(--wine); border-color: var(--linen); color: #fff; }

/* ---------- Header ---------- */
.site-header { background: var(--linen); position: relative; z-index: 20; transition: box-shadow .2s; }
/* desktop: menu stays on top while scrolling (html/body use overflow-x: clip, which keeps sticky working) */
@media (min-width: 761px) {
    .site-header { position: sticky; top: 0; }
    .site-header.is-stuck { box-shadow: 0 1px 0 rgba(31, 46, 36, .08), 0 6px 18px rgba(31, 46, 36, .08); }
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.wordmark { font: 600 21px/1 var(--serif); letter-spacing: .26em; text-decoration: none; white-space: nowrap; }
.main-nav { display: flex; gap: clamp(14px, 2.2vw, 30px); margin: 0 auto; }
.main-nav a, .header-end a { font-size: 13.5px; text-decoration: none; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--wine); }
.header-end { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 42px); }
.langs { display: inline-flex; align-items: baseline; gap: 10px; font: 400 12.5px/1 var(--sans); letter-spacing: .06em; }
.langs .lang { font: inherit; padding: 0; }
.lang { text-decoration: none; color: var(--muted); }
a.lang:hover { color: var(--ink); text-decoration: underline; }
.langs .lang.is-current { color: var(--ink); font-weight: 600; }
.footer-legal .langs { margin-left: auto; }
.footer-legal .lang { color: rgba(237, 230, 218, .6); }
.footer-legal .lang.is-current { color: var(--linen); }
.mobile-langs { padding-top: 10px; }
.mobile-langs .langs { font-size: 15px; gap: 18px; }
.mobile-nav .mobile-langs .lang { padding: 6px 0; }
.hero-title.is-long { font-size: clamp(48px, 10.6vw, 150px); padding-bottom: clamp(0px, 5.8vw, 82px); }
.hero-name a { text-decoration: none; }
.link-list { margin: 16px 0 0; padding-left: 20px; font-size: 17px; line-height: 1.9; }
.delivery-band .section-title a { text-decoration: none; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); }
.burger { display: grid; gap: 5px; width: 22px; }
.burger span { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-nav { display: grid; gap: 2px; padding: 8px var(--gutter) 18px; border-top: 1px solid var(--line); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 10px 0; text-decoration: none; font: 400 19px/1.2 var(--serif); }

/* ---------- Hero (main.png, owner's hero version) ---------- */
.hero-green { position: relative; background: var(--curtain); color: var(--linen); padding: 24px 0 clamp(18px, 2.4vw, 34px); overflow: visible; }
.spec-line { display: flex; justify-content: space-between; gap: 16px; font: 500 10.5px/1.4 var(--sans); letter-spacing: .26em; color: var(--brass-on-dark); }
.hero-title { font: 700 clamp(64px, 14.2vw, 196px)/.8 var(--serif); letter-spacing: -.01em; text-align: center; margin-top: clamp(8px, 1.4vw, 22px); }
.hero-title span { display: block; }
/* accented capitals need room in the tight .8 line-height (title_line_class) */
.hero-title .acc-top, .m-hero-title .acc-top { padding-top: .22em; }
.hero-title .acc-bottom, .m-hero-title .acc-bottom { padding-bottom: .14em; }
.hero-title span + span { padding-right: 15%; }
.hero-wreath { position: absolute; z-index: 2; top: 0; right: max(calc(50vw - 640px + 4%), 5%); width: clamp(150px, 15.5vw, 230px); filter: drop-shadow(0 14px 16px rgba(10, 20, 12, .32)); pointer-events: none; }

.hero-buy { padding-top: clamp(16px, 1.8vw, 24px); padding-bottom: clamp(16px, 1.8vw, 22px); }
.hero-lead { font: 400 clamp(17px, 1.7vw, 22px)/1.35 var(--serif); max-width: 42ch; }
.hero-price-row { display: flex; align-items: flex-end; gap: clamp(16px, 2.4vw, 30px); margin-top: 12px; }
.hero-price { font: 400 clamp(30px, 3vw, 42px)/1 var(--serif); margin-top: 4px; }
.hero-price-row .pills { margin-bottom: 2px; }
.split-bar { display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; background: var(--pine); border-radius: 999px; min-height: 46px; }
.split-bar > * { display: flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--linen); font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer; position: relative; }
.split-bar > * + *::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: rgba(237, 230, 218, .5); }
.split-bar > *:hover { color: #fff; }

/* ---------- Catalogue band ---------- */
.catalogue { color: var(--linen); padding: clamp(20px, 2.4vw, 32px) 0 clamp(22px, 2.4vw, 34px); }
.tabs { display: flex; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap; }
.tabs a { text-decoration: none; font: 500 15.5px/1 var(--sans); padding: 6px 0 10px; border-bottom: 3px solid transparent; color: var(--linen); opacity: .92; }
.tabs a[aria-current] { border-bottom-color: var(--wine); opacity: 1; }
.catalogue .pills { margin: 16px 0 22px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.grid-few { grid-template-columns: repeat(auto-fill, minmax(200px, 240px)); }
.card { display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.card-photo, .bases-photo { text-decoration: none; }
.card-photo { display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-photo img { transform: scale(1.03); }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 4px; background: var(--card); color: var(--ink); padding: 12px 12px 12px; border-radius: 0 0 3px 3px; }
.card-title { font: 400 17px/1.2 var(--serif); }
.card-title a { text-decoration: none; }
.card-spec { font-size: 11.5px; color: var(--muted); }
.card-price { font: 600 15px/1.3 var(--sans); margin: 2px 0 8px; }
.card-body .btn { margin-top: auto; font-weight: 600; }
.photo-soon { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 100%; min-height: 100%; background: linear-gradient(rgba(62, 86, 65, .45), rgba(62, 86, 65, .45)), var(--curtain) url(../img/aizkars.webp) center / auto 100%; padding: 16px; text-decoration: none; }
.photo-soon span { font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-on-dark); }
.empty-note { padding: 30px 0; }
.empty-note a { color: var(--linen); }

/* ---------- Add-ons ---------- */
.addons-band, .delivery-band { padding: clamp(24px, 2.6vw, 36px) 0 clamp(24px, 2.6vw, 34px); }
.section-title { font: 400 clamp(28px, 2.6vw, 36px)/1.15 var(--serif); }
.section-title a { text-decoration: none; }
.two-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.three-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 16px 0 14px; }
.soft-card { background: var(--soft); border-radius: 3px; padding: clamp(16px, 1.7vw, 22px) clamp(18px, 2.1vw, 30px); }
.soft-card h2, .soft-card h3 { font: 400 clamp(22px, 2.3vw, 31px)/1.15 var(--serif); margin-bottom: 8px; }
.three-cards .soft-card h2, .three-cards .soft-card h3 { font-size: clamp(20px, 1.9vw, 25px); }
.soft-card p { font-size: 15px; }
.soft-wide { margin-top: 12px; text-align: center; font: 400 clamp(18px, 1.8vw, 23px)/1.3 var(--serif); padding-top: 12px; padding-bottom: 12px; }

/* ---------- Bases ---------- */
.bases-band { background: var(--curtain); color: var(--linen); padding: clamp(14px, 1.4vw, 18px) 0; }
.bases-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 3vw, 44px); align-items: center; }
.bases-photo { display: block; aspect-ratio: 2.4 / 1; overflow: hidden; }
.bases-photo img { width: 100%; height: 100%; object-fit: cover; }
.bases-text p { font-size: 15.5px; margin-top: 6px; }
.price-rows { margin: 16px 0 18px; display: grid; gap: 6px; max-width: 360px; }
.price-row { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; font: 500 clamp(18px, 1.7vw, 22px)/1.5 var(--sans); cursor: pointer; }
.price-row input { accent-color: var(--wine); width: 15px; height: 15px; margin: 0; }
.price-row strong { font-weight: 500; }

/* ---------- Delivery ---------- */
.delivery-band .btn { margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine); color: var(--linen); padding: 22px 0 18px; }
.footer-row { display: flex; align-items: center; gap: 24px; }
.footer-row .wordmark { color: var(--linen); font-size: 18px; }
.footer-nav { display: flex; gap: clamp(14px, 2vw, 26px); margin: 0 auto; flex-wrap: wrap; }
.footer-nav a, .footer-wa { font-size: 13px; text-decoration: none; }
.footer-nav a:hover, .footer-wa:hover { text-decoration: underline; }
.footer-legal { display: flex; gap: 20px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(237, 230, 218, .12); flex-wrap: wrap; }
.footer-legal a { font-size: 12px; color: rgba(237, 230, 218, .6); text-decoration: none; }
.footer-legal a:hover { color: var(--linen); }

/* ---------- Product page (board.png) ---------- */
.crumb-bar { background: #2E4434; }
.crumbs { display: flex; gap: 10px; align-items: center; min-height: 40px; font: 400 15px/1.2 var(--serif); color: #D8C9A4; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "gallery buy" "gallery suggest"; column-gap: clamp(28px, 3.6vw, 56px); padding-top: 24px; padding-bottom: 56px; align-items: start; }
.gallery { grid-area: gallery; }
.buy { grid-area: buy; }
.suggest { grid-area: suggest; margin-top: 22px; }
.gallery-main { aspect-ratio: 440 / 530; overflow: hidden; background: var(--curtain); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.thumb { padding: 0; border: 0; background: none; cursor: pointer; aspect-ratio: 1; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity .15s; }
.thumb:hover img { opacity: .85; }
.product-title { font: 600 clamp(34px, 3.6vw, 48px)/1.08 var(--serif); margin-top: 6px; }
.product-lead { font: 400 17.5px/1.55 var(--serif); margin-top: 10px; }
.product-price { font: 400 clamp(36px, 3.6vw, 48px)/1 var(--serif); margin: 18px 0 6px; }
.opt { margin-top: 18px; }
.opt legend { font: 600 18px/1.2 var(--serif); margin-bottom: 10px; padding: 0; }
.check { display: flex; align-items: center; gap: 12px; padding: 4px 0; cursor: pointer; font: 400 16.5px/1.35 var(--serif); }
.check input { appearance: none; width: 19px; height: 19px; border: 1.5px solid var(--wine); border-radius: 3px; margin: 0; display: grid; place-content: center; flex: none; cursor: pointer; background: transparent; }
.check input:checked { background: var(--wine); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check em { font-style: normal; color: var(--muted); font-size: 14px; }
.hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.buy-buttons { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.buy-buttons .btn { flex: 1 1 200px; min-height: 46px; font: 500 17px/1 var(--serif); }
.suggest-card { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; background: #E6DED1; border-radius: 6px; padding: 12px; }
.suggest-photo { display: block; aspect-ratio: 120 / 128; overflow: hidden; border-radius: 2px; }
.suggest-photo img { width: 100%; height: 100%; object-fit: cover; }
.suggest-kicker { font: 400 18px/1.3 var(--serif); }
.suggest-name { font: 400 17px/1.3 var(--serif); }
.suggest-name a { text-decoration: none; }
.suggest-meta { font: 400 15px/1.3 var(--serif); margin: 4px 0 10px; }
.suggest .btn { font: 500 15px/1 var(--serif); }
.m-hero, .m-more, .sticky-buy, .only-mob, .split-price { display: none; }

/* ---------- Category intro, text pages, cart ---------- */
.page-intro { padding: clamp(22px, 3vw, 40px) 0; }
.intro-text { font: 400 clamp(17px, 1.6vw, 20px)/1.5 var(--serif); margin-top: 10px; max-width: 60ch; }
.text-page { padding: clamp(26px, 3.4vw, 48px) 0 64px; }
.prose h2 { font: 400 24px/1.2 var(--serif); margin: 28px 0 8px; }
.prose p { margin-top: 10px; font-size: 16.5px; }
.prose .btn { margin-top: 26px; }
.prose .three-cards h2 { margin-top: 0; }
.faq-item { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.todo { background: #f3d9a4; color: #5b3b00; padding: 0 4px; border-radius: 2px; font-size: .9em; }

.cart-page { padding: clamp(24px, 3vw, 44px) 0 72px; }
.flash { margin-top: 12px; background: var(--soft); padding: 10px 14px; border-radius: 4px; font-size: 14px; }
.cart-lines { margin-top: 18px; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.cart-thumb img, .cart-thumb .photo-soon { width: 100%; height: 100%; object-fit: cover; }
.cart-name { font: 400 19px/1.25 var(--serif); }
.cart-name a { text-decoration: none; }
.cart-meta { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.qty { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.qty input { width: 64px; height: 36px; border: 1px solid var(--line); border-radius: 999px; background: transparent; text-align: center; }
.cart-price { font: 400 21px/1.2 var(--serif); }
.checkout { margin-top: 10px; }
.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; }
.fields legend { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 13.5px; color: var(--muted); }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #F6F1E9; padding: 11px 14px; font-size: 16px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: transparent; }
.js-locker { margin-top: 12px; max-width: 460px; }
.error { color: var(--wine); font-size: 13px; }
.cart-total { margin: 24px 0 12px; font: 400 22px/1.3 var(--serif); }
.cart-total strong { font-weight: 400; margin: 0 6px; }
.cart-help { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }
.cart-help a { color: var(--ink); }
.cart-page .section-title + .btn, .cart-page .intro-text + .btn { margin-top: 20px; }
.summary { margin-top: 22px; border-top: 1px solid var(--line); }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary-total { font: 400 20px/1.3 var(--serif); }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
    .main-nav { display: none; }
    .menu-toggle { display: inline-flex; }
    .header-row { justify-content: space-between; }
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
    :root { --gutter: max(22px, 6vw); }
    body { font-size: 15.5px; }
    .header-row { min-height: 56px; gap: 12px; }
    .wordmark { font-size: 16px; letter-spacing: .2em; }
    .header-wa, .header-end > .langs { display: none; }
    .header-end { gap: 12px; }

    .spec-line { font-size: 13.5px; letter-spacing: .14em; }
    .only-desk, .hero .spec-line span:last-child { display: none; }
    .only-mob { display: block; }
    .spec-line .only-mob { display: inline; }
    .hero-green { padding-top: 18px; padding-bottom: 26px; }
    /* each line is fitted to the full width by site.js, like the concept block */
    .hero-title span, .m-hero-title span { display: block; width: max-content; white-space: nowrap; }
    .hero-title { line-height: .82; }
    .hero-title.is-long { font-size: 12.4vw; padding-bottom: 0; }
    .hero-title { font-size: 17.2vw; text-align: left; margin-top: 12px; }
    .hero-title span + span { padding-right: 0; }
    .hero-green { padding-bottom: 0; display: flow-root; }
    .hero-wreath { position: relative; right: auto; display: block; width: 90vw; max-width: none; height: auto; margin: 3vw auto -35.5vw; position: relative; }
    .hero-buy { padding-top: calc(35.5vw + 20px); }
    .hero-green { padding-bottom: 0; }
    .hero-lead, .hero-price-row .label, .hero-price { display: none; }
    .hero-name { font: 600 24px/1.2 var(--serif); }
    .hero-m-price { font: 700 34px/1.1 var(--serif); margin-top: 6px; }
    .hero-price-row { margin-top: 18px; }
    .hero-price-row .pills { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
    .hero-buy .pill span { font: 400 17px/1 var(--serif); min-height: 46px; padding: 0 12px; width: 100%; }
    .split-bar { grid-template-columns: 1fr; border-radius: 16px; min-height: 64px; margin-top: 30px; }
    .split-bar .js-wa { display: none; }
    .split-bar button { display: grid; grid-template-columns: 1fr auto; padding: 0 26px 0 34px; font: 400 19px/1 var(--serif); text-align: left; }
    .split-price { display: flex; align-items: center; padding-left: 22px; min-height: 26px; border-left: 1px solid rgba(237, 230, 218, .4); }
    .hero-lead { font-size: 17px; }
    .hero-price-row { flex-wrap: wrap; align-items: center; margin-top: 14px; }
    .hero-price-row > div { display: none; }
    .split-bar > * { font-size: 15px; }

    .grid-6 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .card-body { padding: 10px; }
    .card-title { font-size: 16px; }
    .tabs { gap: 16px; }
    .tabs a { font-size: 14.5px; }

    .two-cards, .three-cards { grid-template-columns: 1fr; gap: 10px; }
    .bases-grid { grid-template-columns: 1fr; gap: 16px; }
    .bases-band { padding: 0 0 26px; }
    .bases-band .wrap { padding: 0; }
    .bases-text { padding: 0 var(--gutter); }
    .bases-photo { aspect-ratio: 16 / 10; }

    .footer-row { flex-direction: column; align-items: flex-start; gap: 14px; }
    .footer-nav { margin: 0; gap: 10px 18px; }

    /* Product: phone 1-2 of the board */
    .crumb-bar { display: none; }
    .m-hero { display: block; background: var(--curtain); color: var(--linen); padding: 18px var(--gutter) 0; overflow: hidden; }
    .m-hero-title { font: 700 15.6vw/.82 var(--serif); margin-top: 10px; letter-spacing: -.01em; position: relative; z-index: 3; }
    .m-hero-title.is-long { font-size: 10.6vw; }
    .m-hero-title span { display: block; }
    .m-hero img { margin: 4vw calc(var(--gutter) * -1) 0; width: calc(100% + var(--gutter) * 2); max-width: none; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center 30%; position: relative; z-index: 2; }
    .buy { display: flex; flex-direction: column; }
    .product-lead { order: 10; margin-top: 22px; }
    .product-grid { grid-template-columns: 1fr; grid-template-areas: "buy" "gallery" "suggest" "more"; padding-top: 18px; padding-bottom: 96px; }
    .gallery-main { display: none; }
    .thumbs { margin-top: 26px; }
    .product-title { font-size: 26px; font-weight: 400; margin-top: 4px; }
    .product-price { font-size: 30px; margin: 10px 0 0; }
    .buy-buttons .btn-wine { display: none; }
    .m-more { display: grid; grid-area: more; gap: 4px; margin-top: 26px; text-decoration: none; }
    .m-more img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
    .m-more-name { font: 400 22px/1.2 var(--serif); margin-top: 8px; }
    .m-more-price { font: 400 20px/1.2 var(--serif); }
    .sticky-buy { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; }
    .sticky-buy button { display: grid; grid-template-columns: 1fr auto; align-items: center; width: 100%; min-height: 54px; padding: 0 24px; border: 0; border-radius: 14px; background: var(--pine); color: var(--linen); font: 400 18px/1 var(--serif); cursor: pointer; box-shadow: 0 10px 24px rgba(15, 25, 18, .28); }
    .sticky-buy button span:last-child { padding-left: 22px; border-left: 1px solid rgba(237, 230, 218, .4); min-height: 26px; display: flex; align-items: center; }
    .suggest-card { grid-template-columns: 96px 1fr; gap: 14px; }

    .fields { grid-template-columns: 1fr; }
    .cart-line { grid-template-columns: 76px 1fr; }
    .cart-price { grid-column: 2; }
    .pills-serif .pill span { padding: 0 16px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}
