/*
 * Bazari – concept store template · Abedev (abedev.com)
 *
 * Design: a small shop for handmade things – linen and terracotta, an elegant serif with a calm sans, price tags that
 * hang on strings as the language switch, a bag that remembers what you like and a menu that opens like a shopping bag.
 * Colours, fonts and spacing are variables: change them here and the whole site follows.
 * Sections: 1 fonts · 2 tokens · 3 base · 4 header, tags, menu & bag · 5 hero & home · 6 catalog & quick view · 7 story
 * · 8 order · 9 footer
 */

/* 1 ─ Fonts (bundled, SIL Open Font License – see assets/fonts/OFL.txt) */
@font-face { font-family: "Bazari Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bona-nova-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: "Bazari Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bona-nova-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bazari Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bona-nova-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: "Bazari Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-700-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Bazari Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/geologica-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: "Bazari Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/geologica-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bazari Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/geologica-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: "Bazari Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-400-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Bazari Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/geologica-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: "Bazari Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/geologica-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bazari Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/geologica-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: "Bazari Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-600-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }

/* 2 ─ Tokens */
:root {
    --terra: #c8553d;
    --ink: #2e2a26;
    --linen: #f3e9dc;
    --paper: #fbf7f1;
    --clay: #e6d5c3;
    --sage: #5b8a72;
    --line: #e2d6c6;
    --mid: #6f6459;
    --serif: "Bazari Serif", "Bona Nova", Georgia, serif;
    --text: "Bazari Text", "Geologica", system-ui, sans-serif;
    --wrap: 1240px;
}

/* 3 ─ Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--text); overflow-x: hidden; }
img { display: block; max-width: 100%; }
svg { display: block; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; overflow-wrap: break-word; hyphens: manual; }
h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }
:lang(ka) h1, :lang(ka) h2, :lang(ka) h3 { line-height: 1.3; }
:lang(ka) h1 { font-size: clamp(1.7rem, 3.7vw, 2.9rem); }
:lang(ka) h2 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
:lang(ka) h3 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
q { quotes: "\201C" "\201D"; }
q:lang(de), q:lang(ka) { quotes: "\201E" "\201C"; }
q:lang(ru) { quotes: "\00AB" "\00BB"; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.eyebrow { margin: 0 0 14px; font: 600 13px/1.3 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
:lang(ka) .eyebrow { letter-spacing: .02em; text-transform: none; }
.lead { font-size: 1.1rem; color: var(--mid); max-width: 38em; }
.muted, .empty, .count { color: var(--mid); }
.small { font-size: .85rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border: 1.5px solid transparent; border-radius: 2px; font: 600 15px/1.2 var(--text); text-decoration: none; cursor: pointer; text-align: center; transition: background .2s, color .2s; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-terra { background: var(--terra); color: #fff; }
.btn-terra:hover { background: #a9432f; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-small { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; white-space: nowrap; border-bottom: 1.5px solid var(--terra); }
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--tight { padding-top: 26px; }
.section--linen { background: var(--linen); }
.head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 26px; }
.head-row > * { min-width: 0; }
.head-row h2 { margin: 0; }
.page-head { padding: clamp(40px, 6vw, 76px) 0 30px; text-align: center; }
.page-head .lead { margin-inline: auto; }
.plain { list-style: none; margin: 0; padding: 0; }

/* 4 ─ Header, tags, menu & bag */
.ribbon { margin: 0; padding: 7px 16px; background: var(--ink); color: var(--linen); text-align: center; font-size: .85rem; }
.header { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.logo > span { display: flex; flex-direction: column; font: 700 1.8rem/1 var(--serif); }
.logo small { font: 400 .72rem/1.3 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--mid); margin-top: 4px; }
:lang(ka) .logo small { letter-spacing: 0; text-transform: none; }
.logo-img { max-height: 46px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 8px 10px; text-decoration: none; color: var(--mid); white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -1.5px 0 var(--terra); }
/* each language is a price tag on a string; the one in use hangs lower and is coloured */
.tags { display: flex; gap: 6px; align-self: flex-start; margin-top: -2px; }
.tags a { position: relative; display: grid; justify-items: center; text-decoration: none; color: var(--mid); padding-top: 14px; transform-origin: 50% 0; transition: transform .3s; }
.tags a::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 16px; background: var(--ink); }
.tags a:nth-child(odd) { transform: rotate(-5deg); }
.tags a:nth-child(even) { transform: rotate(4deg); }
.tags a:hover { transform: rotate(0); }
.tag { width: 34px; height: 31px; }
.tag-body { fill: #fff; stroke: var(--ink); stroke-width: 1.2; }
.tag-hole { fill: var(--paper); stroke: var(--ink); stroke-width: .8; }
.tags span { font: 600 9px/1 var(--text); letter-spacing: .1em; margin-top: 1px; }
.tags a[aria-current] { padding-top: 22px; }
.tags a[aria-current]::before { height: 24px; }
.tags a[aria-current] .tag-body { fill: var(--terra); }
.tags a[aria-current] span { color: var(--terra); }
.bag-btn { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.bag-btn .icon { width: 22px; height: 22px; }
.bag-count { position: absolute; right: -6px; top: -6px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--terra); color: #fff; font-size: 12px; }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 46px; padding: 6px 14px 6px 10px; border: 1.5px solid var(--ink); background: var(--linen); font: 600 14px var(--text); color: var(--ink); cursor: pointer; }
.menu-handles { width: 22px; height: 14px; border: 2px solid var(--ink); border-bottom: 0; border-radius: 11px 11px 0 0; box-shadow: 0 8px 0 -4px var(--terra); }
.menu { position: fixed; inset: 0; z-index: 50; background: rgba(46, 42, 38, .45); display: grid; place-items: start center; padding: 96px 16px 16px; overflow-y: auto; }
.menu-bag { position: relative; isolation: isolate; width: min(420px, 100%); padding: 40px 26px 30px; color: #fff; transform: translateY(-30px) scaleY(.6); transform-origin: 50% 0; opacity: 0; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), opacity .2s; }
.menu.is-open .menu-bag { transform: none; opacity: 1; }
.menu-bag::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--terra); clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%); }
.menu-bag::before { content: ""; position: absolute; left: 50%; top: -46px; width: 120px; height: 60px; margin-left: -60px; border: 6px solid var(--ink); border-bottom: 0; border-radius: 60px 60px 0 0; }
.menu-close { position: absolute; right: 18px; top: 12px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; cursor: pointer; }
.menu-nav { display: grid; gap: 4px; margin: 12px 0 26px; }
.menu-nav a { padding: 10px 6px; border-bottom: 1px dashed rgba(255, 255, 255, .4); color: #fff; text-decoration: none; font: 700 1.5rem/1.2 var(--serif); }
.menu-nav a[aria-current="page"]::before { content: "◆ "; font-size: .7em; vertical-align: middle; }
.tags--menu { justify-content: center; align-self: auto; gap: 14px; }
.tags--menu a::before { background: #fff; }
.tags--menu a { color: #fff; }
.tags--menu .tag { width: 44px; height: 40px; }
.tags--menu a[aria-current] .tag-body { fill: var(--ink); }
.tags--menu a[aria-current] span { color: #fff; }
.bag { position: fixed; right: 0; top: 0; bottom: 0; z-index: 60; width: min(380px, 100%); display: flex; flex-direction: column; padding: 20px 22px; background: var(--paper); box-shadow: -20px 0 50px rgba(46, 42, 38, .2); overflow-y: auto; }
.bag-shade { position: fixed; inset: 0; z-index: 55; background: rgba(46, 42, 38, .4); }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.bag-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.5rem; }
.bag-close { display: grid; place-items: center; width: 42px; height: 42px; border: 0; background: var(--linen); border-radius: 50%; cursor: pointer; color: var(--ink); }
.bag-list, .order-list { list-style: none; margin: 0; padding: 0; }
.bag-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.bag-name { min-width: 0; overflow-wrap: anywhere; }
.qty { display: inline-flex; align-items: center; gap: 4px; }
.qty button { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.qty output { min-width: 22px; text-align: center; font-weight: 600; }
.bag-price { white-space: nowrap; }
.bag-empty { margin: 20px 0; }
.bag-foot { margin-top: auto; padding-top: 16px; display: grid; gap: 12px; }
.bag-total { display: flex; justify-content: space-between; margin: 0; font: 700 1.3rem var(--serif); }
@media (max-width: 1080px) {
    .nav, .tags--top { display: none; }
    .menu-btn { display: inline-flex; }
    .bag-btn { margin-left: auto; }
}
@media (min-width: 1081px) { .menu { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .menu-bag { transition: none; } }

/* 5 ─ Hero & home */
.hero { padding: clamp(30px, 5vw, 70px) 0 clamp(50px, 7vw, 90px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-text { min-width: 0; }
.hero-pic { aspect-ratio: 5 / 4; overflow: hidden; border-radius: 200px 200px 4px 4px; }
.hero-pic img, .hero-pic picture { width: 100%; height: 100%; object-fit: cover; }
.hero-collage { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 5 / 4; }
.hero-collage span { overflow: hidden; border-radius: 4px; }
.hero-collage span:first-child { grid-row: 1 / 3; border-radius: 200px 200px 4px 4px; }
.hero-collage svg { width: 100%; height: 100%; }
.strip { border-block: 1px solid var(--line); background: #fff; }
.strip-list { list-style: none; margin-block: 0; padding: 14px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 26px; }
.strip-list li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; }
.strip-list .icon { color: var(--terra); }
.shelves { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.shelves a { display: grid; gap: 10px; text-decoration: none; text-align: center; }
.shelf-art { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 50%; transition: transform .3s; }
.shelf-art svg { width: 100%; height: 100%; }
.shelves a:hover .shelf-art { transform: scale(1.04); }
.shelves b { font: 700 1.1rem var(--serif); }
.makers-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.maker-names { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.maker-names li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.maker-names b { font: 700 1.15rem var(--serif); }
.maker-names span { color: var(--mid); }
.receipts { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.receipt { margin: 0; padding: 26px 24px 30px; background: #fff; font-size: .98rem; position: relative; filter: drop-shadow(0 6px 10px rgba(46, 42, 38, .08)); -webkit-mask: radial-gradient(7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x; mask: radial-gradient(7px at 50% 100%, transparent 98%, #000) 50% 0 / 18px 100% repeat-x; }
.receipt blockquote { margin: 0 0 14px; }
.receipt figcaption { font-family: var(--serif); font-weight: 700; }
.cta { padding: clamp(56px, 8vw, 96px) 0; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; padding: clamp(24px, 4vw, 46px); border: 1.5px solid var(--ink); background: #fff; }
.cta-inner p { margin: 0; color: var(--mid); }

/* 6 ─ Catalog & quick view */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px 20px; }
.products--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product { display: flex; flex-direction: column; min-width: 0; }
.product-pic { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--linen); }
.product-pic img, .product-pic picture, .product-pic svg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product:hover .product-pic img, .product:hover .product-pic svg { transform: scale(1.04); }
.badge { position: absolute; left: 10px; top: 10px; padding: 3px 9px; background: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.badge--new { background: var(--sage); color: #fff; }
.badge--last { background: var(--terra); color: #fff; }
.peek { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; box-shadow: 0 4px 10px rgba(46, 42, 38, .15); }
.product-body { display: flex; flex-direction: column; flex: 1; padding-top: 12px; }
.product-maker { margin: 0 0 2px; color: var(--mid); font-size: .82rem; letter-spacing: .04em; }
.product-body h3 { margin-bottom: 6px; }
.product-price { margin: 0 0 12px; }
.product-price s { color: var(--mid); margin-right: 4px; }
.product-price b { font: 700 1.15rem var(--serif); }
.add { margin-top: auto; align-self: flex-start; }
.add.is-added { background: var(--sage); border-color: var(--sage); color: #fff; }
.toolbar { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 14px 20px; align-items: end; margin-bottom: 18px; }
.search { display: flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 48px; border: 1.5px solid var(--ink); background: #fff; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 16px var(--text); color: var(--ink); outline: none; }
.range { display: grid; gap: 4px; min-width: 0; font-size: .9rem; }
.range input { width: 100%; margin: 0; accent-color: var(--terra); }
.sort select { min-height: 48px; padding: 8px 12px; border: 1.5px solid var(--ink); background: #fff; font: 400 15px var(--text); color: var(--ink); }
.cats { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.cats label { position: relative; cursor: pointer; }
.cats input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cats span { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .92rem; }
.cats input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.cats input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.count { margin: 0 0 16px; }
.detail { width: min(860px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow: auto; }
.detail::backdrop { background: rgba(46, 42, 38, .55); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.detail-pic { aspect-ratio: 4 / 5; overflow: hidden; }
.detail-pic img, .detail-pic picture, .detail-pic svg { width: 100%; height: 100%; object-fit: cover; }
.detail-body { padding: 34px 28px 90px; }
.detail-close { position: absolute; right: 12px; top: 12px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; color: var(--ink); }
.detail-add { position: absolute; right: 28px; bottom: 28px; }
.detail-add.is-added { background: var(--sage); }

/* 7 ─ Story */
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; align-items: center; }
.story-pic { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 200px 200px 4px 4px; }
.story-pic img, .story-pic picture, .story-pic svg { width: 100%; height: 100%; object-fit: cover; }
.story-text p:first-child::first-letter { float: left; margin: 6px 10px 0 0; font: 700 4rem/.8 var(--serif); color: var(--terra); }
.makers { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.maker { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 22px; background: var(--paper); }
.maker-pic { width: 96px; height: 96px; overflow: hidden; border-radius: 50%; background: var(--clay); }
.maker-pic img, .maker-pic picture { width: 100%; height: 100%; object-fit: cover; }
.maker-initial { display: grid; place-items: center; width: 100%; height: 100%; font: 700 2.4rem var(--serif); color: var(--terra); }
.maker-craft { color: var(--terra); font-size: .9rem; margin-bottom: 8px; }
.maker p:last-child { margin: 0; color: var(--mid); }

/* 8 ─ Order */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.panel { min-width: 0; padding: clamp(20px, 4vw, 34px); background: #fff; border: 1px solid var(--line); scroll-margin-top: 100px; }
.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.order-box { padding: 16px 18px; background: var(--linen); }
.order-sum { margin: 12px 0 0; display: grid; gap: 4px; }
.order-sum div { display: flex; justify-content: space-between; gap: 10px; }
.order-sum dd { margin: 0; }
.order-total { padding-top: 8px; border-top: 1px solid var(--ink); font: 700 1.2rem var(--serif); }
.how { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 0; }
.how legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.how label { position: relative; cursor: pointer; min-width: 0; }
.how input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.how span { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; align-items: center; height: 100%; padding: 12px 14px; border: 1.5px solid var(--line); }
.how small { grid-column: 2; color: var(--mid); }
.how input:checked + span { border-color: var(--ink); background: var(--paper); }
.how input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.field { display: grid; gap: 6px; min-width: 0; }
.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--line); background: var(--paper); font: 400 16px/1.4 var(--text); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--terra); flex: none; }
.form-status { display: none; padding: 12px 16px; font-weight: 600; }
.form-status.is-shown { display: block; }
.form-status.ok { background: #e3efe7; color: #2c5a3f; }
.form-status.info { background: #f8eccf; color: #6b4a00; }
.form-status.error { background: #f8dfd8; color: #8c2219; }
.side { display: grid; gap: 20px; min-width: 0; }
.side-block { padding: 22px; border: 1px solid var(--line); background: #fff; }
.side-block h2 { font-size: 1.3rem; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.faq details { border-bottom: 1px dashed var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; color: var(--mid); }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 1.4em; }

/* 9 ─ Footer */
.footer { background: var(--ink); color: #d6cabb; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.footer-name { font: 700 2.2rem/1 var(--serif); color: #fff; margin-bottom: 12px; }
.footer .footer-h { font: 600 .8rem var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--clay); }
:lang(ka) .footer .footer-h { font: 700 .95rem/1.3 var(--text); letter-spacing: 0; text-transform: none; }
.footer a { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; }
.socials a:hover { background: var(--terra); border-color: var(--terra); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; }

/* Responsive */
@media (max-width: 960px) {
    .hero-grid, .makers-teaser, .story-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .products--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .toolbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .search { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .wrap { width: calc(100% - 32px); }
    .logo small { display: none; }
    .menu-btn span:last-child { display: none; }
    .menu-btn { padding: 6px 10px; }
    .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
    .product-body h3 { font-size: 1rem; }
    .add span { display: none; }
    .toolbar { grid-template-columns: minmax(0, 1fr); }
    .form, .how, .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .detail-grid { grid-template-columns: minmax(0, 1fr); }
    .detail-pic { aspect-ratio: 4 / 3; }
    .cta-inner { grid-template-columns: minmax(0, 1fr); }
    .maker { grid-template-columns: 64px minmax(0, 1fr); padding: 16px; }
    .maker-pic { width: 64px; height: 64px; }
    .makers { grid-template-columns: minmax(0, 1fr); }
    .strip-list { justify-content: flex-start; }
}
/* iOS Safari: date fields ignore width:100% and keep their own minimum width – make them behave like other fields */
input[type="date"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%; }
input[type="date"]::-webkit-date-and-time-value { min-height: 1.4em; text-align: left; }
