:root {
  --bg: #fff;
  --soft: #F4F6F8;
  --line: #E9ECF0;
  --ink: #0E1116;
  --ink2: #5B6270;
  --ink3: #8A909B;
  --acc: #E30613;
  --acc-d: #C10510;
  --acc-t: #FDECEE;
  --navy: #0B1F4B;
  --navy-2: #12295C;
  --R: 40px;
  --r: 30px;
  --r-sm: 22px;
  --maxw: 1440px;
  --gut: 14px;
}
@media (min-width: 900px) {
  :root { --R: 56px; --r: 40px; --gut: 24px; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 14px/1.6 'Inter', 'Noto Sans Georgian', sans-serif; -webkit-font-smoothing: antialiased; padding-bottom: 96px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
h1 { font-size: 28px; }
h2 { font-size: 22px; }
@media (min-width: 900px) { h1 { font-size: 40px; } h2 { font-size: 28px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .2s, color .2s; }
.btn-acc { background: var(--acc); color: #fff; }
.btn-acc:hover { background: var(--acc-d); }
.btn-ghost { background: var(--soft); color: var(--ink); }
.btn-ghost:hover { background: var(--line); }
.btn-dark { background: var(--ink); color: #fff; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; padding: 0 var(--gut); transition: padding .25s; }
.hdr-in { max-width: var(--maxw); margin: 0 auto; height: 68px; display: flex; align-items: center; gap: 22px; background: #fff; border: 1px solid transparent; border-radius: 999px; transition: height .25s, padding .25s, border-color .25s, box-shadow .25s, background .25s; }
.hdr.float { padding-top: 10px; }
.hdr.float .hdr-in { height: 62px; padding: 0 10px 0 24px; background: rgba(255,255,255,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); box-shadow: 0 10px 30px rgba(14,17,22,.06); }
.logo img { height: 38px; width: auto; }
@media (min-width: 900px) { .hdr-in { height: 84px; } .logo img { height: 44px; } }
.nav { display: none; position: relative; gap: 4px; padding: 4px; border-radius: 999px; background: var(--soft); }
.nav a { position: relative; z-index: 1; height: 38px; padding: 0 18px; display: flex; align-items: center; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink2); transition: color .2s; }
.nav a.on { color: var(--ink); }
.nav .pill { position: absolute; top: 4px; left: 0; height: 38px; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(14,17,22,.08); transition: transform .3s, width .3s; }
.hsearch { display: none; flex: 1; max-width: 420px; height: 46px; align-items: center; padding: 0 6px 0 20px; border-radius: 999px; background: var(--soft); }
.hsearch input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 14px; }
.hsearch input::placeholder { color: var(--ink3); }
.hsearch button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink2); }
.hsearch button:hover { background: #fff; }
.hcall { margin-left: auto; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 6px; border-radius: 999px; background: var(--acc); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; }
.hcall i { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.hcall .ico { width: 16px; height: 16px; }
.hcall span { font-family: 'Inter', sans-serif; }
.hsoc { margin-left: auto; display: flex; gap: 6px; }
.hsoc + .hcall { margin-left: 0; }
.soc { width: 44px; height: 44px; border-radius: 50%; background: var(--soft); color: var(--ink); display: grid; place-items: center; transition: background .2s, color .2s; }
.soc:hover { background: var(--acc-t); color: var(--acc); }
.soc .ico { width: 20px; height: 20px; }
.hsoc .soc { width: 40px; height: 40px; }
.fsoc { display: flex; gap: 8px; margin-top: 14px; }
@media (max-width: 899px) { .hsoc .soc { width: 40px; height: 40px; } }
@media (max-width: 899px) { .hcall { height: 40px; padding: 0 6px; } .hcall span { display: none; } .hcall i { background: none; } }
@media (min-width: 900px) { .nav, .hsearch { display: flex; } }

/* ---------- hero ---------- */
.hero { padding-top: 4px; }
.hero-box { position: relative; border-radius: var(--R); background: var(--navy); color: #fff; overflow: hidden; display: grid; padding: 44px 24px 30px; }
.hero-txt { position: relative; z-index: 2; min-width: 0; }
.hero h1 { max-width: 13em; }
.hero p { margin-top: 14px; color: rgba(255,255,255,.66); font-size: 15px; max-width: 30em; }
.hsearch-big { margin-top: 26px; display: flex; align-items: center; width: 100%; max-width: 420px; height: 60px; padding: 0 6px 0 24px; border-radius: 999px; background: #fff; color: var(--ink); }
.hsearch-big input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 16px; }
.hsearch-big input::placeholder { color: var(--ink3); }
.hsearch-big button { width: 48px; height: 48px; border-radius: 50%; background: var(--acc); color: #fff; display: grid; place-items: center; }
.hsearch-big button:hover { background: var(--acc-d); }
.hsearch-big .ico { width: 22px; height: 22px; stroke-width: 2; }
.hero-chips { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips a { height: 34px; padding: 0 14px; display: flex; align-items: center; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.82); font-size: 13px; font-weight: 500; transition: background .2s; }
.hero-chips a:hover { background: rgba(255,255,255,.08); }
.hero-art { display: none; }
@media (min-width: 900px) {
  .hero-box { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 24px 24px 24px 64px; min-height: 460px; }
  .hero-art { display: block; position: relative; align-self: stretch; border-radius: calc(var(--R) - 24px); background: var(--navy-2); overflow: hidden; }
  .hero-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero-card { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-sm); background: #fff; color: var(--ink); }
  .hero-card i { width: 44px; height: 44px; border-radius: 50%; background: var(--acc-t); color: var(--acc); display: grid; place-items: center; flex-shrink: 0; }
  .hero-card b { display: block; font-size: 14px; }
  .hero-card span { display: block; font-size: 13px; color: var(--ink2); line-height: 1.45; }
}

/* ---------- sections ---------- */
.sec { padding-top: 44px; }
@media (min-width: 900px) { .sec { padding-top: 64px; } }
.sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sh p { margin-top: 6px; color: var(--ink2); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--acc); white-space: nowrap; }
.more .ico { width: 16px; height: 16px; stroke-width: 2; }

/* ---------- categories (one-row slider of square tiles) ---------- */
.slider { position: relative; }
.cats { display: grid; grid-auto-flow: column; grid-auto-columns: 112px; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 4px; }
.cats::-webkit-scrollbar { display: none; }
.cat { display: flex; flex-direction: column; gap: 8px; min-width: 0; scroll-snap-align: start; }
.cat .im { aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--soft); }
.cat .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat:hover .im img { transform: scale(1.05); }
.cat b { font-size: 13px; font-weight: 600; line-height: 1.35; text-align: center; overflow-wrap: anywhere; }
.sl-btn { position: absolute; z-index: 2; top: 0; width: 48px; height: 48px; margin-top: calc(56px - 24px); border-radius: 50%; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(14,17,22,.14); transition: background .2s, color .2s, transform .2s; }
.sl-btn:hover { background: var(--acc); color: #fff; }
.sl-btn:active { transform: scale(.94); }
.sl-btn .ico { width: 20px; height: 20px; stroke-width: 2; }
.sl-btn.prev { left: -8px; }
.sl-btn.prev .ico { transform: rotate(180deg); }
.sl-btn.next { right: -8px; }
.sl-btn[hidden] { display: none; }
@media (max-width: 899px) { .sl-btn { display: none; } }
@media (min-width: 900px) {
  .cats { grid-auto-columns: calc((100% - 8 * 16px) / 9); gap: 16px; margin: 0; padding: 0 0 4px; scroll-padding: 0; }
  .cat .im { border-radius: 28px; }
  .cat b { font-size: 14px; }
  .sl-btn { margin-top: calc((min(100vw, var(--maxw)) - 2 * var(--gut) - 8 * 16px) / 18 - 24px); }
  .sl-btn.prev { left: -20px; }
  .sl-btn.next { right: -20px; }
}

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; } }
.card { display: flex; flex-direction: column; min-width: 0; padding: 8px 8px 14px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: transparent; box-shadow: 0 16px 40px rgba(14,17,22,.08); }
.card .im { aspect-ratio: 1; border-radius: calc(var(--r) - 8px); overflow: hidden; background: var(--soft); display: grid; place-items: center; }
.card .im img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.card .im img.fit { width: 84%; height: 84%; object-fit: contain; }
.card .body { padding: 12px 8px 0; display: flex; flex-direction: column; flex-grow: 1; }
.card .lbl { font-size: 12px; color: var(--ink3); }
.card h3 { margin-top: 2px; font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.card .foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; }
.price small { font-family: 'Noto Sans Georgian', sans-serif; font-size: 12px; font-weight: 500; color: var(--ink3); margin-left: 2px; }
.card .go { width: 38px; height: 38px; border-radius: 50%; background: var(--acc-t); color: var(--acc); display: grid; place-items: center; flex-shrink: 0; transition: background .2s, color .2s; }
.card:hover .go { background: var(--acc); color: #fff; }
.card .go .ico { width: 18px; height: 18px; stroke-width: 2; }
@media (min-width: 900px) { .card { padding: 10px 10px 16px; } .card .im { border-radius: calc(var(--r) - 10px); } .card h3 { font-size: 15px; } .price { font-size: 20px; } }

/* ---------- category groups ---------- */
#all { scroll-margin-top: 80px; }
.group + .group { margin-top: 44px; }
@media (min-width: 900px) { .group + .group { margin-top: 64px; } }
.sh h2 em { font-style: normal; font-family: 'Inter', sans-serif; font-weight: 500; font-size: .6em; color: var(--ink3); margin-left: 6px; vertical-align: middle; }
.price s { margin-left: 6px; font-size: .62em; font-weight: 500; color: var(--ink3); }
.price .ask { font-family: 'Noto Sans Georgian', sans-serif; font-size: 13px; font-weight: 600; color: var(--ink2); letter-spacing: 0; }
.pd-info .price .ask { font-size: 18px; }

/* ---------- how to order ---------- */
.steps { display: grid; border-top: 2px solid var(--ink); }
.step { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; }
.step i { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; }
.step i .ico { width: 22px; height: 22px; }
.step b { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.step b em { font-style: normal; font-family: 'Inter', sans-serif; color: var(--acc); margin-right: 8px; }
.step span { color: var(--ink2); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { grid-template-columns: 1fr; padding: 28px 32px 8px; border-bottom: 0; border-left: 1px solid var(--line); }
  .step:first-child { padding-left: 0; border-left: 0; }
  .step i { grid-row: auto; margin-bottom: 14px; }
}

/* ---------- catalog page ---------- */
.ptitle { padding-top: 20px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ink3); margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); }
.crumbs .ico { width: 14px; height: 14px; }
.sh + .filters { margin-top: 0; }
.filters { margin: 22px 0 18px; display: flex; flex-direction: column; gap: 12px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
.chips::-webkit-scrollbar { display: none; }
.chip { height: 40px; padding: 0 18px; display: flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--soft); font-weight: 600; font-size: 13px; color: var(--ink2); white-space: nowrap; transition: background .2s, color .2s; }
.chip:hover { color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; }
.chip em { font-style: normal; font-family: 'Inter', sans-serif; font-size: 12px; opacity: .6; }
.fsearch { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border-radius: 999px; background: var(--soft); }
.fsearch input { flex: 1; min-width: 0; border: 0; background: none; outline: none; }
.fsearch .ico { color: var(--ink3); }
@media (min-width: 900px) { .filters { flex-direction: row; align-items: center; justify-content: space-between; } .chips { margin: 0; padding: 0; flex-wrap: wrap; } .fsearch { width: 320px; flex-shrink: 0; } }
.empty { padding: 48px 24px; border-radius: var(--r); background: var(--soft); text-align: center; }
.empty b { display: block; font-size: 16px; }
.empty p { margin: 6px auto 18px; color: var(--ink2); max-width: 26em; }

/* ---------- product page ---------- */
.pd { display: grid; gap: 14px; }
.pd-img { padding: 10px; border-radius: var(--R); background: var(--soft); min-width: 0; }
.pd-img div { aspect-ratio: 1; border-radius: calc(var(--R) - 10px); background: #fff; display: grid; place-items: center; overflow: hidden; }
.pd-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-img img.fit { width: 80%; height: 80%; object-fit: contain; }
.pd-info { min-width: 0; padding: 8px 4px 0; }
.pd-info .lbl { display: inline-flex; height: 30px; padding: 0 14px; align-items: center; border-radius: 999px; background: var(--acc-t); color: var(--acc); font-size: 12px; font-weight: 600; }
.pd-info h1 { margin-top: 14px; font-size: 26px; }
.pd-info .price { display: block; margin-top: 10px; font-size: 28px; }
.pd-info .price small { font-size: 14px; }
.pd-desc { margin-top: 14px; color: var(--ink2); font-size: 15px; white-space: pre-line; }
.order { margin-top: 24px; padding: 24px; border-radius: var(--r); background: var(--soft); }
.order h2 { font-size: 18px; }
.order > p { margin-top: 4px; color: var(--ink2); }
.order form { margin-top: 18px; display: grid; gap: 10px; }
.fld { display: block; }
.fld span { display: block; font-size: 12px; font-weight: 600; color: var(--ink2); margin: 0 0 6px 18px; }
.fld input { width: 100%; height: 54px; padding: 0 20px; border-radius: 20px; border: 1.5px solid transparent; background: #fff; outline: none; font-size: 15px; transition: border-color .2s; }
.fld input:focus { border-color: var(--ink); }
.fld input.bad { border-color: var(--acc); }
.order .btn { width: 100%; height: 56px; margin-top: 6px; font-size: 15px; }
.order .btn[disabled] { opacity: .6; pointer-events: none; }
.order .alt { margin-top: 14px; text-align: center; font-size: 13px; color: var(--ink2); }
.order .alt a { font-weight: 700; color: var(--ink); font-family: 'Inter', sans-serif; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.done { display: none; text-align: center; padding: 18px 0 6px; }
.done i { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #fff; color: var(--acc); display: grid; place-items: center; }
.done i .ico { width: 30px; height: 30px; stroke-width: 2; }
.done b { display: block; font-size: 17px; }
.done p { margin-top: 4px; color: var(--ink2); }
.order.sent form, .order.sent > h2, .order.sent > p { display: none; }
.order.sent .done { display: block; }
.facts { margin-top: 18px; display: grid; gap: 0; }
.facts li { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink2); }
.facts li:last-child { border-bottom: 0; }
.facts .ico { color: var(--ink); }
@media (min-width: 900px) {
  .pd { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .pd-info { position: sticky; top: 100px; padding-top: 24px; }
  .pd-info h1 { font-size: 36px; }
  .pd-info .price { font-size: 34px; }
  .order { padding: 30px; }
}

/* ---------- footer ---------- */
footer { margin-top: 72px; }
.fcols { border-top: 2px solid var(--ink); padding: 36px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.fcols > div:first-child { grid-column: span 2; }
.fcols .logo img { height: 40px; }
.fcols p { margin-top: 12px; color: var(--ink2); max-width: 24em; }
.fcols h4 { font-size: 14px; margin-bottom: 12px; }
.fcols ul { list-style: none; display: grid; gap: 8px; color: var(--ink2); }
.fcols ul a:hover { color: var(--ink); }
.faddr { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; color: var(--ink2); }
.faddr:hover { color: var(--ink); }
.faddr .ico { width: 18px; height: 18px; margin-top: 2px; }
.pd-addr { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--ink2); }
.pd-addr .ico { width: 16px; height: 16px; }
.ftel { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.copy { border-top: 1px solid var(--line); padding: 18px 0 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: 13px; color: var(--ink3); }
@media (min-width: 900px) { .fcols { grid-template-columns: 1.6fr 1fr 1fr 1fr; padding-top: 48px; } .fcols > div:first-child { grid-column: auto; } }

/* ---------- mobile tab bar ---------- */
.tabbar { position: fixed; z-index: 60; left: 14px; right: 14px; bottom: 14px; height: 66px; padding: 6px; display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 28px; background: rgba(255,255,255,.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(14,17,22,.12); }
.tabbar .pill { position: absolute; top: 6px; left: 6px; height: 54px; border-radius: 22px; background: var(--soft); transition: transform .3s; }
.tabbar a { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--ink2); }
.tabbar a.on { color: var(--ink); }
.tabbar a.call { color: var(--acc); }
.tabbar .ico { width: 22px; height: 22px; }
@media (min-width: 900px) { .tabbar { display: none; } }

/* ---------- toast (dynamic island) ---------- */
.toast { position: fixed; z-index: 100; top: 14px; left: 50%; transform: translate(-50%, -140%); display: flex; align-items: center; gap: 12px; min-height: 48px; max-width: calc(100% - 28px); padding: 8px 20px 8px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 13px; box-shadow: 0 16px 40px rgba(14,17,22,.25); visibility: hidden; transition: transform .45s cubic-bezier(.2,.9,.3,1.2), visibility 0s .45s; }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .45s cubic-bezier(.2,.9,.3,1.2); }
.toast i { width: 32px; height: 32px; border-radius: 50%; background: var(--acc); display: grid; place-items: center; flex-shrink: 0; }
.toast .ico { width: 16px; height: 16px; stroke-width: 2.2; }
