/*
 * Tsamali – pharmacy template · Abedev (abedev.com)
 *
 * Design: a calm, bright pharmacy – very light mint, deep teal ink and one pharmacy green, a friendly round sans with
 * tabular numbers like on a price label, soft round corners and shelf colours for every kind of product. Products are
 * drawn as their packs (blister, jar, spray, tube, bottle, box), never with brands. The language switch is a blister
 * strip: every language is a pill with its flag, the one in use is pressed out of its pocket. On phones the menu is a
 * prescription sheet that slides up, with "Rx" and every page as one line with its dose. All motion stops with
 * "reduce motion".
 */
@font-face { font-family: "Tsamali"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ysabeau-infant-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: "Tsamali"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ysabeau-infant-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: "Tsamali"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ysabeau-infant-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: "Tsamali"; 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: "Tsamali"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ysabeau-infant-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: "Tsamali"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ysabeau-infant-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: "Tsamali"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ysabeau-infant-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: "Tsamali"; 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: "Tsamali Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/noto-sans-mono-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: "Tsamali Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/noto-sans-mono-latin-ext-500-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: "Tsamali Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/noto-sans-mono-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: "Tsamali Mono"; font-style: normal; font-weight: 500; 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; }

:root {
    --bg: #f3f7f5;
    --white: #fff;
    --mint: #dff1e8;
    --mint-2: #c6e8d7;
    --ink: #0f2f2c;
    --ink-2: #2a4a46;
    --accent: #0b9e6a;
    --accent-ink: #fff;
    --muted: #5b716d;
    --line: #d7e3de;
    --r: 18px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --font: "Tsamali", system-ui, sans-serif;
    --mono: "Tsamali Mono", ui-monospace, monospace;
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
:lang(ka) h1, :lang(ka) h2, :lang(ka) h3 { letter-spacing: 0; line-height: 1.3; }
:lang(de) h1, :lang(ru) h1, :lang(de) h2, :lang(ru) h2 { -webkit-hyphens: auto; hyphens: auto; }
p { margin: 0 0 .8em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: var(--ink); color: #fff; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 1rem; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.small-label, .field-label { display: flex; align-items: center; gap: .45rem; margin: 0 0 .6rem; font: 500 .74rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
:lang(ka) .small-label, :lang(ka) .field-label { font: 700 .85rem/1.3 var(--font); letter-spacing: 0; text-transform: none; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li + li { margin-top: .3rem; }
.cross { position: relative; display: inline-block; width: 14px; height: 14px; flex: none; }
.cross::before, .cross::after { content: ""; position: absolute; background: var(--accent); border-radius: 1px; }
.cross::before { left: 5px; top: 0; width: 4px; height: 14px; } .cross::after { left: 0; top: 5px; width: 14px; height: 4px; }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.2rem; font: 500 .8rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
:lang(ka) .eyebrow { font: 700 .92rem/1.3 var(--font); letter-spacing: 0; text-transform: none; }
.display { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.8rem); line-height: .98; }
:lang(ka) .display { font-size: clamp(1.8rem, 1.1rem + 3vw, 3.4rem); line-height: 1.22; }
:lang(ru) .display { font-size: clamp(2.3rem, 1.3rem + 4.2vw, 5rem); }
.display--page { font-size: clamp(2.3rem, 1.3rem + 4vw, 4.6rem); max-width: 18ch; }
:lang(ka) .display--page { font-size: clamp(1.5rem, .9rem + 2.8vw, 2.9rem); max-width: 26ch; }
.display--cta { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.4rem); }
:lang(ka) .display--cta { font-size: clamp(1.35rem, 1rem + 1.9vw, 2.3rem); }
.h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
:lang(ka) .h2 { font-size: clamp(1.3rem, 1rem + 1.3vw, 1.95rem); }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 56ch; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .7rem 1.4rem; border: 2px solid transparent; border-radius: 999px; background: transparent; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover:not(:disabled) { background: var(--ink); }
.btn-line { border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 42px; padding: .4rem 1rem; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 0; }
.more { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); font-weight: 700; text-decoration: none; }
.more .icon { transition: transform .3s var(--ease); }
.more:hover .icon { transform: translateX(4px); }

/* header */
.header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.2rem; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; min-width: 0; }
.logo-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent); color: #fff; transition: transform .4s var(--ease); }
.logo:hover .logo-mark { transform: rotate(90deg); }
.logo-mark .icon { width: 26px; height: 26px; stroke-width: 3; }
.logo-img { max-height: 44px; width: auto; }
.logo > span:last-child { display: flex; flex-direction: column; font: 700 1.6rem/1 var(--font); letter-spacing: -.02em; }
.logo small { margin-top: .2rem; font: 500 .66rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
:lang(ka) .logo small { font: 400 .78rem/1.3 var(--font); letter-spacing: 0; text-transform: none; }
.nav { display: flex; gap: .3rem; }
.nav a { padding: .45rem .9rem; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 700; transition: background .2s, color .2s; }
.nav a:hover { background: var(--mint); }
.nav a[aria-current] { background: var(--ink); color: #fff; }
.header-cta[aria-current] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.bag-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mint); text-decoration: none; }
.bag-link .icon { width: 22px; height: 22px; }
.bag-count { position: absolute; right: -4px; top: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font: 500 .72rem/20px var(--mono); text-align: center; }
.panel-btn { display: none; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem 1rem; border: 2px solid var(--ink); border-radius: 999px; background: none; cursor: pointer; font-weight: 700; }
.panel-btn .icon { width: 20px; height: 20px; }

/* language switch: a blister strip – the pill in use is pressed out of its pocket */
.blister { display: flex; gap: 6px; padding: 5px 7px; border-radius: 12px; background: linear-gradient(160deg, #eef3f2, #d6e0de); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 1px 2px rgba(15, 47, 44, .2); }
.pocket { display: grid; justify-items: center; gap: 1px; padding: 3px 3px 1px; border-radius: 10px; text-decoration: none; box-shadow: inset 0 2px 4px rgba(15, 47, 44, .18); background: rgba(255, 255, 255, .5); }
.capsule { display: block; width: 34px; height: 18px; border-radius: 9px; overflow: hidden; box-shadow: 0 0 0 1.5px #fff, 0 1px 2px rgba(0, 0, 0, .2); transition: transform .3s var(--ease), box-shadow .3s; }
.capsule .flag { width: 100%; height: 100%; }
.pocket-code { font: 500 .58rem/1.2 var(--mono); color: var(--muted); }
.pocket:hover .capsule { transform: translateY(-1px); }
.pocket[aria-current] { background: var(--white); box-shadow: 0 4px 8px -4px rgba(15, 47, 44, .45); }
.pocket[aria-current] .capsule { transform: translateY(-3px) rotate(-6deg); box-shadow: 0 0 0 2px var(--accent), 0 6px 8px -4px rgba(0, 0, 0, .35); }
.pocket[aria-current] .pocket-code { color: var(--accent); }
.blister--panel { align-self: flex-start; gap: 10px; padding: 8px 10px; margin: 1.6rem 0 0; }
.blister--panel .capsule { width: 52px; height: 28px; border-radius: 14px; }
.blister--panel .pocket-code { font-size: .72rem; }

/* menu on phones: a prescription sheet slides up */
.panel { position: fixed; inset: 0; z-index: 60; background: rgba(15, 47, 44, 0); transition: background .4s; }
.panel.is-open { background: rgba(15, 47, 44, .5); }
.panel-inner { position: absolute; left: 0; right: 0; bottom: 0; max-height: 94vh; overflow-y: auto; padding: 1.4rem 1.4rem 2rem; border-radius: 24px 24px 0 0; background: var(--white) repeating-linear-gradient(transparent 0 43px, var(--line) 43px 44px); background-position: 0 92px; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .5s var(--ease); }
.panel.is-open .panel-inner { transform: none; }
.rx { position: absolute; left: 1.4rem; top: 1rem; font: 700 2.6rem/1 var(--font); color: var(--accent); }
.rx small { font-size: 1.4rem; margin-left: -.15rem; }
.panel-top { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; margin-bottom: 2rem; }
.panel-label { font: 500 .74rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.panel-close { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); cursor: pointer; }
.panel-nav { display: grid; }
.panel-nav a { display: grid; grid-template-columns: 2rem 1fr; column-gap: .4rem; min-height: 88px; align-content: center; text-decoration: none;
    opacity: 0; transform: translateX(-12px); transition: opacity .4s var(--ease) calc(.25s + var(--i) * 70ms), transform .4s var(--ease) calc(.25s + var(--i) * 70ms); }
.panel.is-open .panel-nav a { opacity: 1; transform: none; }
.panel-num { grid-row: span 2; font: 500 1rem/1.6 var(--mono); color: var(--muted); }
.panel-text { font: 700 1.9rem/1.1 var(--font); }
:lang(ka) .panel-text { font-size: 1.35rem; line-height: 1.3; }
.panel-cap { font: 500 .8rem/1.4 var(--mono); color: var(--muted); }
:lang(ka) .panel-cap { font: 400 .9rem/1.4 var(--font); }
.panel-nav a[aria-current] .panel-text { color: var(--accent); }
.panel-contact { margin-top: 1.4rem; color: var(--muted); }
.panel-contact a { text-decoration: none; }

/* hero */
.hero { padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0 clamp(2rem, 1rem + 3vw, 3.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero .lead { margin-top: 1.4rem; }
.hero-photo { position: relative; margin: 0 0 2rem; }
.hero-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 40px 40px 40px 140px; }
.status-card { position: absolute; left: -2rem; right: 15%; bottom: -2rem; display: grid; gap: .6rem; padding: 1rem 1.2rem; border-radius: var(--r); background: var(--white); box-shadow: 0 24px 40px -24px rgba(15, 47, 44, .45); }
.open-state { display: inline-flex; align-items: center; gap: .55rem; margin: 0; font-weight: 700; }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #9aa9a5; flex: none; }
.open-state.is-open .pulse { background: var(--accent); }
.open-state.is-open .pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.night { display: flex; gap: .55rem; margin: 0; font-size: .92rem; color: var(--muted); }
.night .icon { margin-top: .15em; color: var(--ink); }
.night b { color: var(--ink); }
.night a { color: var(--ink); font-weight: 700; white-space: nowrap; }

/* facts */
.facts { margin-top: 1rem; }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.fact { display: grid; gap: .3rem; padding: 1.4rem 1.3rem; border-radius: var(--r); background: var(--white); }
.fact b { font: 500 clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem)/1 var(--mono); color: var(--accent); letter-spacing: -.03em; white-space: nowrap; }
.fact span { color: var(--muted); font-size: .95rem; }

/* sections */
.section { padding: clamp(3.5rem, 2rem + 5vw, 6rem) 0; }
.section--tight { padding-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.section--mint { background: var(--mint); }
.section--soft { background: var(--white); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.page-head { padding: clamp(3rem, 2rem + 4vw, 5rem) 0 1.4rem; }
.page-head .lead { margin-top: 1.2rem; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.tea { margin: 0; }
.tea img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 140px 40px 40px 40px; }
.note { display: flex; gap: .5rem; align-items: flex-start; margin: 1rem 0 0; color: var(--muted); font-size: .92rem; }
.note .icon { margin-top: .2em; color: var(--accent); }
.no-match { padding: 2rem; text-align: center; color: var(--muted); border-radius: var(--r); background: var(--white); }

/* products */
.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1rem; }
.product { display: flex; flex-direction: column; border-radius: var(--r); background: var(--white); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.product:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -22px rgba(15, 47, 44, .45); }
.product-pack { position: relative; padding: 1rem 1.4rem .4rem; background: color-mix(in srgb, var(--shelf) 14%, #fff); }
.pack { width: 100%; height: auto; max-height: 150px; }
.pack .shade { filter: brightness(.85); }
.sale { position: absolute; right: .8rem; top: .8rem; padding: .15rem .5rem; border-radius: 999px; background: #e0533d; color: #fff; font: 500 .78rem/1.4 var(--mono); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.1rem; }
.product-cat { margin: 0 0 .2rem; font: 500 .7rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--shelf) 75%, #000); }
:lang(ka) .product-cat { font: 700 .82rem/1.3 var(--font); letter-spacing: 0; text-transform: none; }
.product h3 { font-size: 1.2rem; line-height: 1.2; letter-spacing: -.01em; }
:lang(ka) .product h3 { font-size: 1.02rem; line-height: 1.35; }
.product-size { margin: .2rem 0 .4rem; color: var(--muted); font-size: .92rem; }
.product-note { font-size: .86rem; color: var(--muted); }
.product-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem .8rem; margin: auto 0 .8rem; padding-top: .6rem; }
.price { font: 500 1.25rem/1.2 var(--mono); letter-spacing: -.03em; }
.price del { margin-left: .2rem; font-size: .85rem; color: var(--muted); }
.stock { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; color: var(--muted); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.stock--low::before { background: #e3a23b; }
.stock--order::before { background: #8fa19c; }
.btn-add { width: 100%; }
.btn-add.is-in { border-color: var(--accent); background: var(--mint); color: var(--ink); }
.btn-add.is-pop .icon { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.4) rotate(-10deg); } }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.search { display: flex; align-items: center; gap: .5rem; flex: 1 1 260px; min-height: 50px; padding: 0 1rem; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 2px var(--line); }
.search:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.search input { flex: 1; min-width: 0; border: 0; background: none; font-size: 16px; outline: none; }
.cats { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; border: 0; min-width: 0; width: 100%; }
.cats label { position: relative; }
.cats input, .choices input, .day input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cats span { display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; padding: .35rem 1rem; border-radius: 999px; background: var(--white); cursor: pointer; font-weight: 700; font-size: .95rem; transition: background .2s, color .2s; }
.cats .icon { color: var(--shelf, var(--accent)); }
.cats input:checked + span { background: var(--ink); color: #fff; }
.cats input:checked + span .icon { color: #fff; }
.cats input:focus-visible + span, .choices input:focus-visible + span, .day input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.count { margin-left: auto; font: 500 .85rem/1 var(--mono); color: var(--muted); }

/* services */
.svc-list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .5rem; }
.svc-list li { display: grid; grid-template-columns: 44px 1fr; column-gap: .9rem; align-items: center; padding: .7rem .9rem; border-radius: 14px; background: var(--white); }
.svc-list b { line-height: 1.25; }
.svc-list .svc-meta { grid-column: 2; font: 500 .8rem/1.4 var(--mono); color: var(--muted); }
.svc-ico { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mint); color: var(--accent); }
.svc-ico .icon { width: 24px; height: 24px; }
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1rem; }
.service { display: flex; flex-direction: column; align-items: flex-start; padding: 1.4rem; border-radius: var(--r); background: var(--white); }
.service .svc-ico { margin-bottom: 1rem; }
.service h3 { font-size: 1.45rem; margin-bottom: .3rem; }
:lang(ka) .service h3 { font-size: 1.12rem; }
.service .svc-meta { display: flex; align-items: center; gap: .35rem; font: 500 .85rem/1.4 var(--mono); color: var(--muted); }
.service .svc-meta b { color: var(--accent); font-weight: 500; }
.service p:not(.svc-meta) { color: var(--muted); }
.service .btn { margin-top: auto; }

/* advice */
.advice { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; }
.advice li { padding: 1.4rem; border-radius: var(--r); background: var(--white); border-top: 4px solid var(--accent); }
.advice-ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: .8rem; border-radius: 50%; background: var(--mint); color: var(--accent); }
.advice h3 { font-size: 1.3rem; margin-bottom: .4rem; }
:lang(ka) .advice h3 { font-size: 1.08rem; }
.advice p { margin: 0; color: var(--muted); }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; }
.quote { margin: 0; padding: 1.5rem; border-radius: var(--r); background: var(--bg); }
.quote blockquote { margin: 0 0 1rem; font-size: 1.15rem; line-height: 1.5; }
.quote blockquote p::before { content: "“"; } .quote blockquote p::after { content: "”"; }
:lang(de) .quote blockquote p::before, :lang(ka) .quote blockquote p::before { content: "„"; }
:lang(de) .quote blockquote p::after, :lang(ka) .quote blockquote p::after { content: "“"; }
:lang(ru) .quote blockquote p::before { content: "«"; } :lang(ru) .quote blockquote p::after { content: "»"; }
.quote figcaption { font: 500 .8rem/1.4 var(--mono); color: var(--accent); }
:lang(ka) .quote figcaption { font: 700 .9rem/1.4 var(--font); }

/* call to action */
.cta { padding: clamp(3rem, 2rem + 4vw, 5rem) 0; background: var(--ink); color: #fff; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; align-items: end; }
.cta p { font-size: 1.1rem; color: rgba(255, 255, 255, .78); }
.cta .btn-white { background: var(--accent); color: #fff; }
.cta .btn-white:hover { background: #fff; color: var(--ink); }

/* order and book */
.book-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.book { display: grid; gap: 1rem; }
.block { margin: 0; padding: 1.5rem; border: 0; border-radius: var(--r); background: var(--white); min-width: 0; }
.block legend { float: left; width: 100%; display: flex; align-items: center; gap: .7rem; margin: 0 0 1.1rem; padding: 0; font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; }
:lang(ka) .block legend { font-size: 1.15rem; }
.block legend + * { clear: both; }
.step-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mint); color: var(--accent); font: 500 .95rem/1 var(--mono); flex: none; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .4rem; }
.choices label { position: relative; min-width: 0; }
.choices span { display: grid; gap: .15rem; align-content: start; height: 100%; padding: .9rem 1rem; border-radius: 14px; box-shadow: inset 0 0 0 2px var(--line); cursor: pointer; transition: box-shadow .2s, background .2s; }
.choices .icon { width: 24px; height: 24px; margin-bottom: .3rem; color: var(--accent); }
.choices small { color: var(--muted); font-size: .86rem; }
.choices input:checked + span { box-shadow: inset 0 0 0 2px var(--accent); background: var(--mint); }
.choices input:disabled + span { opacity: .45; cursor: not-allowed; }
.bag { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .5rem; }
.bag li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto auto 32px; align-items: center; gap: .7rem; padding: .6rem .7rem; border-radius: 12px; background: var(--bg); }
.bag-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--shelf); }
.bag-name { display: grid; min-width: 0; }
.bag-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bag-name small { color: var(--muted); }
.bag-price { font: 500 .95rem/1 var(--mono); min-width: 5ch; text-align: right; }
.bag-x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; cursor: pointer; font-size: 1.3rem; color: var(--muted); }
.bag-x:hover { background: #f6dcd6; color: #9b2c17; }
.bag-empty { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; padding: 1rem; border-radius: 12px; background: var(--bg); color: var(--muted); }
.stepper { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--line); }
.stepper button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; border-radius: 50%; font-size: 1.2rem; }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 2ch; text-align: center; font: 500 1rem/1 var(--mono); }
.stepper--sm button { width: 32px; height: 32px; }
.days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; margin-bottom: 1rem; }
.day { position: relative; min-width: 0; }
.day span { display: grid; justify-items: center; padding: .5rem .2rem; border-radius: 14px; box-shadow: inset 0 0 0 2px var(--line); cursor: pointer; }
.day small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .76rem; color: var(--muted); }
.day b { font: 500 1.4rem/1.2 var(--mono); }
.day em { font-size: .74rem; font-style: normal; color: var(--muted); }
.day input:checked + span { background: var(--ink); box-shadow: none; color: #fff; }
.day input:checked + span small, .day input:checked + span em { color: var(--mint-2); }
.field--time { max-width: 220px; margin-bottom: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; align-content: start; }
.field label { font-size: .95rem; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .65rem .9rem; border: 2px solid var(--line); border-radius: 12px; background: var(--bg); font-size: 16px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--white); }
.consent { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: 1.2rem; font-size: .92rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--accent); flex: none; }
.form-status { margin-top: 1rem; }
.form-status.is-shown { padding: .8rem 1rem; border-radius: 12px; }
.form-status.ok { background: var(--mint); }
.form-status.info { background: #fdf1d8; }
.form-status.error { background: #f8ddd6; color: #8a2a14; }
.book-side { display: grid; gap: 1rem; position: sticky; top: 96px; }
.card { padding: 1.4rem; border-radius: var(--r); background: var(--white); }
.card--receipt { position: relative; border-radius: var(--r) var(--r) 0 0; padding-bottom: 1.8rem; -webkit-mask: radial-gradient(10px at 50% 100%, #0000 98%, #000) 0 0 / 20px 100% repeat-x; mask: radial-gradient(10px at 50% 100%, #0000 98%, #000) 0 0 / 20px 100% repeat-x; }
.r-title { margin: 0 0 .6rem; font-size: 1.3rem; font-weight: 700; line-height: 1.25; }
.r-lines { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .3rem; font: 500 .85rem/1.4 var(--mono); color: var(--ink-2); }
.r-lines li { display: flex; justify-content: space-between; gap: 1rem; }
.r-sum { margin: 0; display: grid; border-top: 2px dashed var(--line); padding-top: .4rem; }
.r-sum div { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; }
.r-sum dt { color: var(--muted); }
.r-sum dd { margin: 0; font: 500 1rem/1.4 var(--mono); }
.r-total dt { color: var(--ink); font-weight: 700; }
.r-total dd { font-size: 1.4rem; color: var(--accent); }
.r-when { margin: .6rem 0 0; font-weight: 700; }
.addr { margin-bottom: 1rem; }
.addr a { text-decoration: none; }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; font-size: .95rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; }
.hours li span:last-child { font-family: var(--mono); font-size: .88rem; }

/* legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.45rem; margin: 1.8rem 0 .5rem; }
.legal p { color: var(--muted); }
.page-head h1 { font-size: clamp(1.7rem, 1rem + 3.4vw, 3.6rem); }
:lang(ka) .page-head h1 { font-size: clamp(1.15rem, .7rem + 3vw, 2.4rem); }

/* footer */
.footer { padding: 4rem 0 1.5rem; background: var(--ink); color: rgba(255, 255, 255, .7); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-name { font: 700 2rem/1 var(--font); color: #fff; }
.footer-h { margin: 0 0 .9rem; font: 500 .74rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mint-2); }
:lang(ka) .footer-h { font: 700 .88rem/1.3 var(--font); letter-spacing: 0; text-transform: none; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.socials { display: flex; gap: .5rem; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease) calc(var(--i, 0) * 60ms), transform .7s var(--ease) calc(var(--i, 0) * 60ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1160px) {
    .blister--top { display: none; }
}
@media (max-width: 960px) {
    .nav, .header-cta { display: none; }
    .panel-btn { display: inline-flex; }
    .hero-grid, .split, .cta-inner, .book-grid { grid-template-columns: minmax(0, 1fr); }
    .book-side { position: static; }
    .hero-photo img { aspect-ratio: 4 / 3; }
    .status-card { left: 1rem; right: 1rem; }
    .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .tea img { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
    .wrap { width: calc(100% - 2rem); }
    .row2, .choices { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .block, .card { padding: 1.1rem; }
    .panel-btn span { display: none; }
    .panel-btn { width: 44px; padding: 0; justify-content: center; }
    .hero-photo img { border-radius: 30px 30px 30px 90px; }
    .status-card { position: relative; left: auto; right: auto; bottom: auto; margin: -2.5rem .8rem 0; }
    .hero-photo { margin-bottom: 0; }
    .bag li { grid-template-columns: 10px minmax(0, 1fr) auto 32px; }
    .bag .bag-price { grid-column: 2; grid-row: 2; text-align: left; }
    .bag .stepper { grid-column: 3; grid-row: 1 / span 2; }
    .bag .bag-x { grid-column: 4; grid-row: 1 / span 2; }
    .count { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
    .panel-nav a { opacity: 1; transform: none; }
    @view-transition { navigation: none; }
}
