/* Deluxe Interior Studio - site styles. Plain CSS, no build step. */
/* Fonts: Noto Sans/Serif Georgian (SIL Open Font License), self-hosted from Google Fonts. */
@font-face { font-family: "Noto Sans Georgian"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/sans-georgian.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31; }
@font-face { font-family: "Noto Sans Georgian"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Serif Georgian"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/serif-georgian.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31; }
@font-face { font-family: "Noto Serif Georgian"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/serif-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #f6f1e7;
  --bg-2: #efe8da;
  --surface: #fffdf8;
  --ink: #1d2a31;
  --ink-2: #4a555b;
  --muted: #7a7a72;
  --line: #e3dccd;
  --brand: #28546e;
  --brand-dark: #1d4057;
  --wood: #9a7552;
  --sale: #a4462a;
  --wa: #1d7f4e;
  --wa-dark: #166a40;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(29, 42, 49, .05), 0 8px 24px rgba(29, 42, 49, .06);
  --shadow-lg: 0 2px 6px rgba(29, 42, 49, .06), 0 18px 48px rgba(29, 42, 49, .12);
  --sans: "Noto Sans Georgian", "BPG Nino Mtavruli", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Noto Serif Georgian", "Noto Sans Georgian", Georgia, serif;
  --gutter: 16px;
  --max: 1240px;
  --hdr: 64px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --hdr: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.25; margin: 0; letter-spacing: -.005em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }

/* ---------- header ---------- */
.hdr {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 231, .96);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .hdr { background: rgba(246, 241, 231, .82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
}
.hdr.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(29, 42, 49, .05); }
.hdr-in { height: var(--hdr); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; min-width: 0; }
.brand img { width: 34px; height: 34px; object-fit: contain; margin-right: 10px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-name { font-family: "Noto Sans Georgian", var(--sans); font-weight: 400; letter-spacing: .28em; font-size: 17px; color: var(--brand); }
.brand-sub { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.nav { display: flex; align-items: center; }
.nav a.nl { display: none; padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a.nl:hover, .nav a.nl[aria-current="page"] { color: var(--ink); background: rgba(40, 84, 110, .08); }
.nav .hbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 999px; margin-left: 6px;
  border: 1px solid var(--line); background: var(--surface); color: var(--brand);
}
.nav .hbtn.wa { color: #fff; background: var(--wa); border-color: var(--wa); }
.nav .hbtn-txt { display: none; }
@media (min-width: 768px) {
  .brand img { width: 42px; height: 42px; margin-right: 14px; }
  .brand-name { font-size: 20px; }
  .nav a.nl { display: inline-block; margin-left: 4px; }
  .nav .hbtn { width: auto; padding: 0 16px 0 12px; margin-left: 12px; }
  .nav .hbtn-txt { display: inline; margin-left: 8px; font-size: 14.5px; font-weight: 500; }
}
@media (max-width: 359px) { .brand-sub { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-align: center;
  transition: background .2s, transform .15s, box-shadow .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn .ico { margin-right: 10px; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(29, 127, 78, .25); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { background: transparent; border-color: rgba(29, 42, 49, .18); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { display: flex; width: 100%; }

/* ---------- hero ---------- */
.hero { padding: 20px 0 8px; }
.hero-grid { display: grid; grid-template-columns: 1fr; grid-gap: 24px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13.5px; letter-spacing: .02em; color: var(--wood); font-weight: 600; margin-bottom: 12px; }
.eyebrow .lat { letter-spacing: .16em; font-size: 12px; }
.hero h1 { font-size: 31px; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-lead { margin-top: 14px; font-size: 16.5px; color: var(--ink-2); max-width: 34em; }
.hero-cta { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 10px; margin-top: 22px; }
.hero-cta .btn { padding: 0 12px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; border-top: 1px solid var(--line); }
.hero-facts div { padding: 14px 6px 0 0; }
.hero-facts b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--brand); line-height: 1.2; }
.hero-facts span { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; margin-top: 2px; }
.hero-media { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; grid-gap: 10px; }
.hero-media .hm { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.hero-media .hm::before { content: ""; display: block; padding-top: 150%; }
.hero-media .hm picture { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero-media .hm img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; }
.hero-media .hm-col { display: grid; grid-template-rows: 1fr 1fr; grid-gap: 10px; }
.hero-media .hm-col .hm::before { padding-top: 0; }
.hero-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  background: rgba(255, 253, 248, .94); border-radius: 999px; padding: 7px 14px 7px 10px;
  font-size: 13px; display: flex; align-items: center; box-shadow: var(--shadow); white-space: nowrap; max-width: calc(100% - 24px);
}
@media (max-width: 599px) { .hero-tag { display: none; } }
.hero-tag i { width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; display: inline-block; }
@media (min-width: 900px) {
  .hero { padding: 48px 0 24px; }
  .hero-grid { grid-template-columns: 1fr 1.05fr; grid-gap: 64px; }
  .hero h1 { font-size: 50px; }
  .hero-lead { font-size: 18px; margin-top: 20px; }
  .hero-cta { display: flex; margin-top: 32px; }
  .hero-cta .btn { padding: 0 28px; margin-right: 12px; }
  .hero-facts { margin-top: 40px; max-width: 460px; }
  .hero-facts b { font-size: 30px; }
  .hero-media { grid-gap: 14px; }
  .hero-media .hm-col { grid-gap: 14px; }
}

/* ---------- section ---------- */
.sec { padding: 40px 0; }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.sec-hd h2 { font-size: 26px; }
.sec-hd p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
@media (min-width: 768px) { .sec { padding: 64px 0; } .sec-hd h2 { font-size: 36px; } .sec-hd { margin-bottom: 26px; } }

/* ---------- filters ---------- */
.filters {
  position: -webkit-sticky; position: sticky; top: var(--hdr); z-index: 30;
  background: var(--bg); margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter) 10px;
  transition: box-shadow .2s;
}
.filters.is-stuck { box-shadow: 0 10px 18px -12px rgba(29, 42, 49, .18); }
.frow { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
.frow::-webkit-scrollbar { display: none; }
.frow + .frow { margin-top: 8px; }
.frow::after { content: ""; flex: 0 0 var(--gutter); }
.chip {
  flex: none; display: inline-flex; align-items: center; height: 40px; padding: 0 16px; margin-right: 8px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: 14.5px; color: var(--ink-2); white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.chip:hover { border-color: #cfc5b2; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .n { margin-left: 7px; font-size: 12px; opacity: .6; }
.chip .sw { width: 16px; height: 16px; border-radius: 50%; margin-right: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.chip[aria-pressed="true"] .sw { box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
.frow { min-height: 44px; }
.flabel { display: none; }
@media (min-width: 900px) {
  .filters { margin: 0; padding: 12px 0; }
  .frow { margin: 0; padding: 0; flex-wrap: wrap; overflow: visible; align-items: center; }
  .frow::after { display: none; }
  .frow + .frow { margin-top: 6px; }
  .flabel { display: inline-block; width: 64px; flex: none; font-size: 14px; color: var(--muted); }
  .chip { margin-bottom: 4px; margin-top: 4px; height: 38px; }
}
.result-line { color: var(--muted); font-size: 14px; margin: 14px 0 0; min-height: 22px; }
.result-line button { background: none; border: 0; padding: 0; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; font-size: 14px; }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: 1fr; grid-gap: 22px; margin-top: 14px; }
@media (min-width: 560px) { .grid { grid-template-columns: 1fr 1fr; grid-gap: 18px; } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); grid-gap: 28px; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
@media (hover: hover) { .card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); } }
.card-media { position: relative; background: var(--bg-2); }
.card-media::before { content: ""; display: block; padding-top: 118%; }
.card-track {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  display: flex; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.card-track::-webkit-scrollbar { display: none; }
.card-slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.card-slide picture, .card-slide img { position: relative; display: block; width: 100%; height: 100%; }
.card-slide img { object-fit: contain; }
.card-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; pointer-events: none; }
.card-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); margin: 0 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); transition: background .2s, width .2s; }
.card-dots i.on { background: #fff; width: 16px; border-radius: 3px; }
.card-arrow {
  position: absolute; top: 50%; margin-top: -20px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255, 253, 248, .92); color: var(--ink); box-shadow: var(--shadow);
  display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; z-index: 3;
}
.card-arrow.prev { left: 10px; } .card-arrow.next { right: 10px; }
@media (hover: hover) and (pointer: fine) {
  .card-arrow { display: flex; }
  .card:hover .card-arrow { opacity: 1; }
}
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--sale); color: #fff; font-size: 13px; font-weight: 600; line-height: 1;
  padding: 7px 10px; border-radius: 999px;
}
.card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.card-type { font-size: 13.5px; color: var(--wood); font-weight: 600; }
.card-title { font-size: 21px; margin-top: 4px; }
.card-title a::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; margin-top: 8px; color: var(--ink-2); font-size: 14px; }
.card-meta > span { display: inline-flex; align-items: center; margin-right: 14px; margin-top: 2px; }
.dot { width: 12px; height: 12px; border-radius: 50%; margin-right: 7px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); display: inline-block; flex: none; }
.card-desc { font-size: 14px; color: var(--muted); margin-top: 6px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; }
.price-new { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--ink); line-height: 1.1; }
.price-old { margin-left: 10px; font-size: 15px; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(164, 70, 42, .7); }
.card-wa {
  position: relative; z-index: 2; display: inline-flex; align-items: center; height: 44px; padding: 0 16px 0 12px;
  border-radius: 999px; background: rgba(29, 127, 78, .1); color: var(--wa); font-weight: 600; font-size: 14.5px;
  transition: background .2s, color .2s;
}
.card-wa .ico { margin-right: 6px; }
.card-wa:hover { background: var(--wa); color: #fff; }
.card.sk .card-body > * { background: var(--bg-2); color: transparent; border-radius: 6px; }
.card.sk .card-media::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); background-size: 200% 100%; animation: sk 1.3s linear infinite; }
@keyframes sk { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); grid-column: 1 / -1; }

/* ---------- how to order ---------- */
.steps { display: grid; grid-template-columns: 1fr; grid-gap: 12px; counter-reset: st; }
.step { background: var(--surface); border-radius: var(--radius); padding: 20px 20px 22px; box-shadow: var(--shadow); display: grid; grid-template-columns: 44px 1fr; grid-gap: 14px; align-items: start; }
.step::before { counter-increment: st; content: counter(st); width: 44px; height: 44px; border-radius: 50%; background: rgba(40, 84, 110, .09); color: var(--brand); font-family: var(--serif); font-weight: 600; font-size: 19px; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 18px; margin-top: 8px; }
.step p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); grid-gap: 20px; } .step { grid-template-columns: 1fr; padding: 26px; } .step h3 { margin-top: 0; } }

.band { background: var(--ink); color: #f3ede1; border-radius: 24px; padding: 28px 22px; display: grid; grid-gap: 18px; }
.band h2 { font-size: 26px; color: #fff; }
.band p { color: rgba(243, 237, 225, .75); margin-top: 6px; }
.band .btns { display: grid; grid-gap: 10px; }
.band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.band .btn-ghost:hover { border-color: #fff; }
@media (min-width: 768px) {
  .band { grid-template-columns: 1fr auto; align-items: center; padding: 44px 48px; }
  .band h2 { font-size: 34px; }
  .band .btns { grid-auto-flow: column; }
}

/* ---------- footer ---------- */
.ftr { margin-top: 48px; background: #1a2328; color: rgba(243, 237, 225, .8); font-size: 15px; padding: 44px 0 calc(28px + env(safe-area-inset-bottom)); }
.ftr-grid { display: grid; grid-template-columns: 1fr; grid-gap: 30px; }
.ftr-logo { width: 104px; opacity: .95; }
.ftr h3 { font-family: var(--sans); font-size: 14px; color: rgba(243, 237, 225, .55); font-weight: 600; margin-bottom: 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin: 0 0 10px; }
.ftr li a, .ftr li span { display: inline-flex; align-items: center; }
.ftr li .ico { margin-right: 10px; opacity: .8; width: 18px; height: 18px; }
.ftr a:hover { color: #fff; }
.ftr-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(243, 237, 225, .5); }
@media (min-width: 768px) { .ftr { margin-top: 72px; padding-top: 64px; } .ftr-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

/* ---------- product page ---------- */
.crumbs { font-size: 13.5px; color: var(--muted); padding: 12px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--brand); }
.crumbs span { margin: 0 6px; opacity: .6; }
.pd { display: grid; grid-template-columns: 1fr; grid-gap: 22px; padding-top: 12px; }
@media (min-width: 960px) { .pd { grid-template-columns: 1.15fr 1fr; grid-gap: 56px; padding-top: 24px; align-items: start; } }

.gal { position: relative; margin: 0 calc(-1 * var(--gutter)); }
@media (min-width: 600px) { .gal { margin: 0; } }
.gal-main { position: relative; background: var(--bg-2); overflow: hidden; }
@media (min-width: 600px) { .gal-main { border-radius: var(--radius); } }
.gal-main::before { content: ""; display: block; padding-top: 106%; }
@media (min-width: 600px) { .gal-main::before { padding-top: 118%; } }
.gal-track {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.gal-track::-webkit-scrollbar { display: none; }
.gal-slide { position: relative; overflow: hidden; flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; border: 0; padding: 0; margin: 0; background: none; cursor: zoom-in; }
.gal-slide picture, .gal-slide img { position: relative; display: block; width: 100%; height: 100%; }
.gal-slide img { object-fit: contain; }
.gal-count { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(29, 42, 49, .72); color: #fff; font-size: 13px; padding: 5px 11px; border-radius: 999px; pointer-events: none; }
.gal-zoom { position: absolute; right: 12px; top: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 253, 248, .92); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.gal-arrow { position: absolute; top: 50%; margin-top: -24px; width: 48px; height: 48px; border-radius: 50%; border: 0; z-index: 2; background: rgba(255, 253, 248, .92); color: var(--ink); box-shadow: var(--shadow); display: none; align-items: center; justify-content: center; }
.gal-arrow.prev { left: 14px; } .gal-arrow.next { right: 14px; }
@media (hover: hover) and (pointer: fine) { .gal-arrow { display: flex; } }
.thumbs { display: flex; overflow-x: auto; scrollbar-width: none; padding: 12px var(--gutter) 2px; }
@media (min-width: 600px) { .thumbs { padding: 12px 0 2px; } }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: none; width: 58px; height: 68px; border-radius: 10px; overflow: hidden; margin-right: 8px; padding: 0; border: 2px solid transparent; background: var(--bg-2); opacity: .7; transition: opacity .2s, border-color .2s; }
.thumb { position: relative; }
.thumb picture, .thumb img { position: relative; display: block; width: 100%; height: 100%; }
.thumb img { object-fit: contain; }
.thumb.on { border-color: var(--ink); opacity: 1; }
@media (min-width: 960px) { .thumb { width: 84px; height: 100px; margin-right: 10px; } }

.info .card-type { font-size: 12.5px; }
.info h1 { font-size: 30px; margin-top: 6px; }
@media (min-width: 960px) { .info { position: -webkit-sticky; position: sticky; top: calc(var(--hdr) + 24px); } .info h1 { font-size: 42px; } }
.info .price { margin-top: 14px; }
.info .price-new { font-size: 34px; }
.info .price-old { font-size: 18px; }
.save { display: inline-block; margin-top: 8px; font-size: 13.5px; color: var(--sale); background: rgba(164, 70, 42, .08); padding: 4px 10px; border-radius: 999px; font-weight: 500; }
.specs { margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.specs div { padding: 12px 12px 12px 14px; border-left: 1px solid var(--line); }
.specs div:first-child { border-left: 0; }
.specs dt { font-size: 12.5px; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.specs dd small { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 2px; }
.facts { list-style: none; padding: 0; margin: 14px 0 0; }
.facts li { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts li:last-child { border-bottom: 0; }
.facts .k { color: var(--muted); width: 92px; flex: none; }
.opts { margin-top: 22px; }
.opts h2 { font-family: var(--sans); font-size: 14.5px; color: var(--ink-2); font-weight: 600; margin-bottom: 10px; }
.opt { position: relative; display: flex; align-items: center; min-height: 60px; padding: 12px 16px; margin-bottom: 10px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .15s, background .15s; -webkit-tap-highlight-color: transparent; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt .box { width: 24px; height: 24px; flex: none; border-radius: 7px; border: 1.5px solid #c7bda9; margin-right: 14px; display: flex; align-items: center; justify-content: center; transition: background .15s, border-color .15s; }
.opt .box svg { width: 15px; height: 15px; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.opt .lbl { flex: 1; font-weight: 500; font-size: 16px; }
.opt .add { color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.opt input:checked ~ .box { background: var(--brand); border-color: var(--brand); }
.opt input:checked ~ .box svg { opacity: 1; transform: none; }
.opt.on { border-color: var(--brand); background: #f7fafb; }
.opt input:focus-visible ~ .box { outline: 2px solid var(--brand); outline-offset: 2px; }
.total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.total span { color: var(--ink-2); }
.total b { font-family: var(--serif); font-size: 30px; font-weight: 600; transition: color .3s; }
.total b.bump { color: var(--brand); }
.order { display: grid; grid-gap: 10px; }
.order .btn { min-height: 58px; font-size: 17px; }
.order-note { font-size: 13.5px; color: var(--muted); margin-top: 10px; text-align: center; }
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between;
  transform: translateY(110%); transition: transform .25s ease;
  box-shadow: 0 -8px 24px rgba(29, 42, 49, .08);
}
.mbar.show { transform: none; }
.mbar .mt { line-height: 1.15; min-width: 0; margin-right: 12px; }
.mbar .mt small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbar .mt small { display: block; font-size: 12px; color: var(--muted); }
.mbar .mt b { font-family: var(--serif); font-size: 22px; }
.mbar .btn { min-height: 48px; padding: 0 18px; font-size: 15.5px; }
body[data-page="product"] .ftr { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { .mbar { display: none; } body[data-page="product"] .ftr { padding-bottom: 28px; } }
.related { margin-top: 8px; }
.notfound { text-align: center; padding: 64px 0; }
.notfound h1 { font-size: 28px; }
.notfound p { color: var(--muted); margin: 10px 0 22px; }

/* ---------- lightbox ---------- */
.lb { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 100; background: #0f1417; display: none; }
.lb.open { display: block; }
.lb-track { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lb-track::-webkit-scrollbar { display: none; }
.lb.zoomed .lb-track { overflow: hidden; }
.lb-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: pan-x; }
.lb.zoomed .lb-slide { touch-action: none; }
.lb-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transform-origin: 0 0; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; will-change: transform; }
.lb-bar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: calc(10px + env(safe-area-inset-top)) 12px 10px 18px; color: #fff; z-index: 2; background: linear-gradient(rgba(0, 0, 0, .45), transparent); pointer-events: none; }
.lb-bar > * { pointer-events: auto; }
.lb-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: flex; align-items: center; justify-content: center; }
.lb-nav { position: absolute; top: 50%; margin-top: -24px; z-index: 2; display: none; }
.lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }
@media (hover: hover) and (pointer: fine) { .lb-nav { display: flex; } }
.lb.zoomed .lb-hint { display: none; }
.lb-hint { position: absolute; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom)); text-align: center; color: rgba(255, 255, 255, .6); font-size: 13px; pointer-events: none; }

/* ---------- contact page ---------- */
.ct-hero { padding: 28px 0 8px; }
.ct-hero h1 { font-size: 34px; }
.ct-hero p { color: var(--ink-2); margin-top: 8px; font-size: 16.5px; }
@media (min-width: 768px) { .ct-hero { padding: 56px 0 12px; } .ct-hero h1 { font-size: 48px; } }
.ct-grid { display: grid; grid-template-columns: 1fr; grid-gap: 18px; margin-top: 22px; }
@media (min-width: 900px) { .ct-grid { grid-template-columns: 1fr 1.2fr; grid-gap: 28px; } }
.ct-list { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px 0; }
.ct-item { display: flex; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); transition: background .15s; }
.ct-item:last-child { border-bottom: 0; }
a.ct-item:hover { background: #fbf8f1; }
.ct-ic { width: 46px; height: 46px; border-radius: 14px; flex: none; margin-right: 14px; display: flex; align-items: center; justify-content: center; background: rgba(40, 84, 110, .08); color: var(--brand); }
.ct-ic.wa { background: rgba(29, 127, 78, .1); color: var(--wa); }
.ct-item small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.ct-item b { display: block; font-weight: 500; font-size: 16px; line-height: 1.4; word-break: break-word; }
.ct-item .go { margin-left: auto; color: #b6ad9b; padding-left: 8px; }
.map-card { display: block; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.map-card .mi { position: relative; background: #f3f2f0; }
.map-card .mi::before { content: ""; display: block; padding-top: 62%; }
.map-card .mi img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.map-card .mc { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; }
.map-card .mc b { display: block; font-weight: 600; }
.map-card .mc small { color: var(--muted); font-size: 13.5px; }
.map-card .mc .btn { min-height: 44px; padding: 0 16px; font-size: 14.5px; flex: none; margin-left: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- uncropped photos (r2) ----------
   Photos are never cropped: object-fit: contain inside fixed aspect boxes (no layout shift). Behind each photo
   sits .bd, a tiny pre-blurred copy of the same photo (img/w/<name>-bd.jpg, about 1 KB, made by
   tools/build_images.py) stretched over the box, so tall phone photos stand on their own soft colours instead of
   empty bars. No CSS filter, so it costs nothing while scrolling. If the copy is missing the warm grey shows. */
.bd { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg-2) center / cover no-repeat; opacity: .5; pointer-events: none; }
.thumb .bd { opacity: .45; }

/* ---------- 3D model as slide 1 of the product gallery (r2) ---------- */
.g3d { position: relative; background: #e9e6e1; cursor: grab; }
.g3d-poster, .g3d-poster img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.g3d-poster img { object-fit: cover; }
.g3d.no-poster .g3d-poster { display: none; }
.g3d iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; display: block; opacity: 0; transition: opacity .35s; background: #e9e6e1; }
.g3d.live iframe { opacity: 1; }
.g3d-load { position: absolute; left: 50%; bottom: 76px; z-index: 2; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; padding: 10px 16px 9px; border-radius: 14px; background: rgba(255, 253, 248, .92); box-shadow: var(--shadow); font-size: 15px; color: var(--ink-2); white-space: nowrap; transition: opacity .3s; pointer-events: none; }
.g3d-load .bar { width: 150px; height: 5px; border-radius: 3px; background: var(--line); margin-top: 6px; overflow: hidden; }
.g3d-load .bar i { display: block; height: 100%; width: 4%; border-radius: 3px; background: var(--brand); transition: width .25s; }
.g3d.live .g3d-load, .g3d.failed .g3d-load { opacity: 0; }
.g3d-hint { position: absolute; left: 50%; bottom: 64px; z-index: 2; transform: translateX(-50%); display: flex; align-items: center; padding: 9px 16px; border-radius: 999px; background: rgba(29, 42, 49, .8); color: #fff; font-size: 14px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .5s; }
.g3d-hint.show { opacity: 1; }
.g3d-hint svg { width: 22px; height: 22px; margin-right: 8px; }
.g3d-fail { position: absolute; left: 16px; right: 16px; bottom: 76px; z-index: 2; text-align: center; font-size: 13.5px; color: var(--ink-2); display: none; }
.g3d-fail span { white-space: normal; font-size: 15px; display: inline-block; padding: 8px 14px; border-radius: 12px; background: rgba(255, 253, 248, .92); box-shadow: var(--shadow); }
.g3d.failed .g3d-fail { display: block; }
.g3d.failed { cursor: default; }
/* on the 3D slide: the finger turns the model, so the gallery does not swipe. Big labelled buttons instead of
   small icons (Giorgi: easy for older people): "კარის გაღება" + "ფოტოები" at the bottom. (r4: no "სრულ ეკრანზე" any more) */
.gal-main.on3d .gal-track { overflow-x: hidden; }
.gal-main.on3d .gal-zoom, .gal-main.on3d .gal-count, .gal-main.on3d .gal-arrow { display: none; }
.gal-main:not(.on3d) .g3d-btn, .gal-main:not(.on3d) .g3d-actions { display: none; }
.g3d-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 18px;
  border: 0; border-radius: 999px; background: rgba(255, 253, 248, .96); color: var(--ink);
  font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.15; white-space: nowrap;
  box-shadow: 0 2px 12px rgba(29, 42, 49, .2); -webkit-tap-highlight-color: transparent; cursor: pointer;
}
.g3d-btn .ico { width: 22px; height: 22px; flex: none; }
.g3d-btn > .ico:first-child { margin-right: 8px; }
.g3d-btn:disabled { opacity: .55; cursor: default; }
.g3d-btn.on { background: var(--ink); color: #fff; }
.g3d-actions { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.g3d-actions .g3d-btn { pointer-events: auto; }
.g3d-actions .g3d-btn + .g3d-btn { margin-left: 10px; }
.g3d-next { background: var(--brand); color: #fff; padding: 0 12px 0 20px; margin-left: auto; }
.g3d-next .ico { margin-left: 4px; }
.g3d-next:hover { background: var(--brand-dark); }
.g3d-load, .g3d-hint { bottom: 76px; }
.g3d-hint { font-size: 16px; padding: 10px 18px; }
.g3d-hint svg { width: 26px; height: 26px; }
@media (max-width: 380px) { .g3d-btn { font-size: 16px; padding: 0 14px; } .g3d-btn > .ico:first-child { margin-right: 6px; } }
/* photo slides: big, always visible arrows (also on phones) */
.gal-arrow { display: flex; width: 48px; height: 48px; background: rgba(255, 253, 248, .96); box-shadow: 0 2px 10px rgba(29, 42, 49, .2); }
.gal-arrow .ico { width: 24px; height: 24px; }
@media (max-width: 599px) { .gal-arrow.prev { left: 10px; } .gal-arrow.next { right: 10px; } }
.thumb.t3d { background: #e9e6e1; }
.thumb.t3d img { object-fit: cover; }
.thumb.t3d b { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .04em; color: #fff; }
.thumb.t3d b span { display: inline-block; padding: 3px 6px; border-radius: 999px; background: var(--brand); }

/* =====================================================================================================
   Round 4 (9 Oct 2026): shop. Beds as products, mirror by default, custom bed size, cart.
   Everything here is for a 60+ customer on a phone: targets >= 56 px, text >= 18 px, one question per block.
   ===================================================================================================== */
.btn-xl { min-height: 60px; font-size: 18px; padding: 0 22px; }
.btn-xl .ico { width: 24px; height: 24px; }

/* header: big buttons, the cart with its count at the right edge */
:root { --hdr: 72px; }
@media (min-width: 768px) { :root { --hdr: 80px; } }
.nav .hbtn { width: 56px; height: 56px; margin-left: 6px; position: relative; }
.nav .hbtn .ico { width: 24px; height: 24px; }
.nav .hbtn.cart { color: #fff; background: var(--brand); border-color: var(--brand); }
.nav .hbtn.cart[aria-current="page"] { box-shadow: 0 0 0 3px rgba(40, 84, 110, .25); }
.cart-n { position: absolute; top: -6px; right: -6px; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; background: var(--sale); color: #fff;
  font-size: 18px; font-weight: 700; line-height: 28px; text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.cart-n[hidden] { display: none; }
@media (max-width: 380px) { .brand img { margin-right: 6px; } .nav .hbtn { width: 52px; margin-left: 4px; } .nav .hbtn.cart { width: 56px; } .brand-name { letter-spacing: .2em; } }
@media (min-width: 768px) {
  .nav .hbtn { width: auto; padding: 0 18px 0 14px; margin-left: 10px; }
  .nav .hbtn-txt { font-size: 18px; font-weight: 600; }
  .nav a.nl { font-size: 18px; padding: 10px 14px; }
  .nav .hbtn.cart { padding-right: 20px; }
}

/* breadcrumbs: bigger and tappable */
.crumbs { font-size: 18px; padding: 14px 0 0; }
.crumbs { padding-top: 4px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 56px; min-width: 56px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(29, 42, 49, .25); }

/* cards: price on request, colour count, mirror note */
.price-ask { font-family: var(--sans); font-size: 18px; font-weight: 700; color: var(--wa-dark); line-height: 1.25; }
.card-note { font-size: 18px; color: var(--ink-2); margin-top: 8px; line-height: 1.35; }
.card-meta .cols .dot { margin-right: 3px; }
.card-meta .cols .dot:last-of-type { margin-right: 8px; }
.card-slide.rnd { background: #e9e6e1; }
.card-slide.rnd img { object-fit: cover; }
.card-wa { height: 56px; font-size: 18px; padding: 0 18px 0 14px; }
.card-wa .ico { width: 22px; height: 22px; }

/* home: beds section (replaces the 3D salon promo) */
.beds { display: grid; grid-template-columns: 1fr; background: var(--surface); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.beds-media { display: block; background: #e9e6e1; }
.beds-media img { width: 100%; height: auto; aspect-ratio: 1100 / 1298; object-fit: cover; }
.beds-txt { padding: 22px 18px 24px; }
.beds-txt h2 { font-size: 28px; }
.beds-txt > p { color: var(--ink-2); margin-top: 10px; font-size: 18px; }
.beds-txt .beds-h { color: var(--ink); font-weight: 700; margin-top: 18px; }
.bsizes { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 10px; margin: 10px 0 12px; }
.bsize { display: flex; align-items: center; justify-content: center; min-height: 64px; border-radius: 16px; border: 2px solid var(--line); background: #fff;
  font-size: 21px; font-weight: 700; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.bsize small { font-size: 18px; font-weight: 600; color: var(--ink-2); margin-left: 6px; }
.bsize:hover { border-color: var(--ink); }
.beds-txt .beds-note { font-size: 18px; color: var(--ink-2); margin-top: 10px; }
@media (min-width: 768px) {
  .beds { grid-template-columns: 1fr 1.1fr; align-items: center; }
  .beds-media img { height: 100%; }
  .beds-txt { padding: 40px 44px; }
  .beds-txt h2 { font-size: 36px; }
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step h3 { font-size: 20px; }
.step p { font-size: 18px; }

/* product page: price, notes, sizes */
.price-note { font-size: 18px; color: var(--ink-2); margin-top: 6px; }
.price-note:empty { display: none; }
.info .price-ask { font-size: 26px; }
.save { font-size: 18px; }
.bsz { margin: 18px 0 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.bsz div { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 16px; border-top: 1px solid var(--line); }
.bsz div:first-child { border-top: 0; }
.bsz dt { font-size: 18px; color: var(--ink-2); }
.bsz dd { margin: 0 0 0 12px; font-family: var(--serif); font-size: 22px; font-weight: 600; white-space: nowrap; }
.bsz dd small { font-family: var(--sans); font-size: 18px; font-weight: 400; color: var(--muted); }
.bsz-note { font-size: 18px; color: var(--ink-2); margin-top: 10px; line-height: 1.45; }
.specs dt { font-size: 15px; }
.facts li { font-size: 18px; }

/* choices: one question per block */
.pick { margin-top: 26px; }
.pick-h, .opts h2.pick-h { font-family: var(--sans); font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 0 12px; }
.pick-h b { font-weight: 600; color: var(--ink-2); }
.pick-h small { font-size: 18px; font-weight: 500; color: var(--ink-2); margin-left: 6px; }
.cgrid { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 10px; }
.cbtn { position: relative; display: flex; flex-direction: column; align-items: stretch; min-height: 56px; padding: 8px 8px 10px; border-radius: 16px;
  border: 3px solid var(--line); background: #fff; color: var(--ink); text-align: center; -webkit-tap-highlight-color: transparent; }
.cbtn .cimg { display: block; aspect-ratio: 1100 / 1298; max-height: 150px; border-radius: 10px; overflow: hidden; background: #e9e6e1; }
.cbtn .cimg picture, .cbtn .cimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cbtn .cname { display: block; margin-top: 8px; font-size: 18px; font-weight: 700; line-height: 1.2; }
.cbtn.on { border-color: var(--ink); background: #fffdf8; }
.cbtn.on::after { content: ""; position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 22px no-repeat; }
.sgrid { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 10px; }
.sbtn { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 0 10px; border-radius: 16px; border: 3px solid var(--line); background: #fff;
  color: var(--ink); font-size: 21px; font-weight: 700; -webkit-tap-highlight-color: transparent; }
.sbtn .ico { width: 26px; height: 26px; margin-right: 10px; color: var(--brand); }
.sbtn.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.sbtn.on .ico { color: #fff; }
.sbtn-own { grid-column: 1 / -1; font-size: 20px; }
  -webkit-tap-highlight-color: transparent; }

/* on / off options (mirror is ticked by default): bigger box and text */
.opt { min-height: 64px; }
.opt .box { width: 32px; height: 32px; border-width: 2px; border-radius: 9px; }
.opt .box svg { width: 20px; height: 20px; }
.opt .lbl { font-size: 19px; font-weight: 600; }
.opt .lbl small { display: block; font-size: 18px; font-weight: 400; color: var(--ink-2); }
.opt .add { font-size: 18px; }
.fab { margin: -2px 0 12px; padding: 0 0 4px 4px; }
.fab[hidden] { display: none; }
.fab-h { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.fgrid { display: flex; flex-wrap: wrap; }
.fbtn { display: flex; align-items: center; min-height: 56px; padding: 0 14px 0 10px; margin: 0 8px 8px 0; border-radius: 999px; border: 3px solid var(--line); background: #fff;
  font-size: 18px; font-weight: 600; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.fbtn i { width: 30px; height: 30px; border-radius: 50%; margin-right: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.fbtn.on { border-color: var(--ink); }

/* total + order buttons */
.total span { font-size: 18px; }
.total b.ask { font-family: var(--sans); font-size: 22px; color: var(--wa-dark); }
.order .btn { min-height: 60px; font-size: 18px; }
.order .btn .ico { width: 24px; height: 24px; }
.order-note { font-size: 18px; line-height: 1.45; }

/* phone bar: price on top, "კალათაში" + "შეკვეთა" side by side */
.mbar { flex-direction: column; align-items: stretch; padding-top: 8px; }
.mbar .mt { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 8px; }
.mbar .mt small { font-size: 18px; color: var(--ink-2); flex: 1; min-width: 0; margin-right: 10px; }
.mbar .mt b { font-size: 24px; white-space: nowrap; }
.mbar .mt b.ask { font-family: var(--sans); font-size: 18px; color: var(--wa-dark); }
.mbtns { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 8px; }
.mbar .btn { min-height: 56px; padding: 0 10px; font-size: 18px; }
.mbar .btn .ico { width: 22px; height: 22px; margin-right: 8px; }
body[data-page="product"] .ftr { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { body[data-page="product"] .ftr { padding-bottom: 28px; } }

/* 3D slide buttons: >= 56 px */
.g3d-btn { min-height: 56px; font-size: 18px; }
.g3d-btn[hidden] { display: none; }
.g3d-hint { font-size: 18px; }
.g3d-load { font-size: 18px; }
.g3d-fail span { font-size: 18px; }
.gal-slide.rnd { background: #e9e6e1; cursor: default; }
.gal-slide.rnd img { object-fit: cover; }

/* "added to cart" confirmation */
.added { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--surface); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(29, 42, 49, .25);
  padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); visibility: hidden; }
.added.show { transform: none; visibility: visible; }
.added-t { display: flex; align-items: center; font-size: 22px; font-weight: 700; color: var(--wa-dark); }
.added-t .ico { width: 30px; height: 30px; margin-right: 10px; padding: 4px; border-radius: 50%; background: var(--wa); color: #fff; }
.added-n { font-size: 18px; color: var(--ink-2); margin: 6px 0 14px; }
.added-b { display: grid; grid-gap: 10px; }
.added-b .btn { min-height: 60px; font-size: 18px; }
.added-b .btn .ico { width: 24px; height: 24px; }
@media (min-width: 700px) {
  .added { left: auto; right: 24px; bottom: 24px; width: 420px; border-radius: 22px; }
}

/* ---------- cart page ---------- */
.cart-wrap { max-width: 980px; }
.cart-h1 { font-size: 34px; margin: 10px 0 18px; }
@media (min-width: 768px) { .cart-h1 { font-size: 44px; } }
.cart-big { font-size: 22px; font-weight: 700; }
.cart-sub { font-size: 18px; color: var(--ink-2); margin: 8px 0 0; line-height: 1.45; }
.cart-empty { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 20px; display: grid; grid-gap: 16px; }
.clist { list-style: none; margin: 0; padding: 0; display: grid; grid-gap: 14px; }
.cl { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; display: grid; grid-template-columns: 96px 1fr; grid-gap: 14px; }
.cl-img { display: block; width: 96px; height: 114px; border-radius: 12px; overflow: hidden; background: #e9e6e1; }
.cl-img img { width: 100%; height: 100%; object-fit: cover; }
.cl-t { font-family: var(--sans); font-size: 20px; font-weight: 700; line-height: 1.3; }
.cl-t a { display: flex; align-items: center; min-height: 56px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(29, 42, 49, .25); }
.cl-m { font-size: 18px; color: var(--ink-2); margin-top: 4px; line-height: 1.4; }
.cl-p { font-size: 18px; margin-top: 6px; }
.cl-p .ask, .cl-sum { color: var(--ink); }
.cl-p b.ask { color: var(--wa-dark); }
.cl-act { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; grid-gap: 10px 12px; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; }
.qty { display: flex; align-items: center; }
.qty-l { font-size: 18px; color: var(--ink-2); margin-right: 10px; }
.qb { width: 60px; height: 60px; border-radius: 16px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font-size: 30px; font-weight: 700; line-height: 1;
  -webkit-tap-highlight-color: transparent; }
.qb:disabled { opacity: .3; cursor: default; }
.qn { min-width: 48px; text-align: center; font: 700 26px/1 var(--serif); }
.cl-sum { font: 600 24px/1.2 var(--serif); text-align: right; }
.cl-rm { grid-column: 1 / -1; min-height: 56px; font-size: 18px; color: var(--sale); border-color: rgba(164, 70, 42, .4); }
.cl-rm .ico { width: 22px; height: 22px; }
@media (max-width: 420px) { .qty-l { display: none; } }
@media (min-width: 700px) {
  .cl { grid-template-columns: 120px 1fr auto; align-items: start; }
  .cl-img { width: 120px; height: 142px; }
  .cl-act { grid-column: auto; grid-template-columns: 1fr; border-top: 0; padding-top: 0; justify-items: end; }
  .cl-rm { grid-column: auto; }
}
.undo { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 12px; padding: 10px 14px; border-radius: 16px; background: var(--bg-2); font-size: 18px; }
.undo .btn { min-height: 56px; font-size: 18px; margin-left: 10px; }
.csum { margin-top: 18px; padding: 18px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.csum-row { display: flex; align-items: baseline; justify-content: space-between; font-size: 20px; font-weight: 600; }
.csum-row b { font: 600 32px/1.1 var(--serif); }
.csum-note { font-size: 18px; color: var(--ink-2); margin-top: 8px; line-height: 1.45; }
.cform { margin-top: 18px; padding: 18px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.cform h2 { font-family: var(--sans); font-size: 21px; font-weight: 700; }
.cform h2 small { font-size: 18px; font-weight: 500; color: var(--ink-2); }
.fld { display: block; margin-top: 14px; }
.fld > span { display: block; font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.fld input, .fld textarea { display: block; width: 100%; min-height: 60px; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); background: #fff;
  font: 400 19px/1.4 var(--sans); color: var(--ink); }
.fld textarea { min-height: 96px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(40, 84, 110, .2); }
.cact, .csent { margin-top: 18px; display: grid; grid-gap: 12px; }
.csent { padding: 18px; border-radius: var(--radius); background: #eef6f0; border: 2px solid var(--wa); }
.csent .btn { white-space: normal; text-align: center; padding-top: 10px; padding-bottom: 10px; line-height: 1.3; }
.cmore { margin-top: 18px; }
.cmore .btn { width: 100%; }
@media (min-width: 700px) { .cmore .btn { width: auto; } }
.cl-sum.ask { font: 700 18px/1.3 var(--sans); color: var(--wa-dark); }
.nw { white-space: nowrap; }
.save[hidden], .badge[hidden] { display: none; }

/* ---------- r4b: colours on the 3D slide, size editor ---------- */
.gal-arrow[hidden], .gal-zoom[hidden], .gal-count[hidden], .thumbs[hidden], .g3d-next[hidden], .gal-note[hidden], .ed-btn[hidden], .szc[hidden] { display: none; }
.gal-main.on3d .badge { display: none; }
/* colour circles: top left of the 3D slide, only while the 3D is shown */
.g3d-col { position: absolute; left: 12px; top: 12px; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; pointer-events: none; }
.g3d-col > * { pointer-events: auto; }
.gal-main:not(.on3d) .g3d-col { display: none; }
.g3d-col-l { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(255, 253, 248, .96);
  box-shadow: 0 2px 10px rgba(29, 42, 49, .16); font-size: 18px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.g3d-col-l b { color: var(--ink); font-weight: 700; margin-left: 6px; }
.g3d-sws { display: flex; margin-top: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 253, 248, .96); box-shadow: 0 2px 10px rgba(29, 42, 49, .16); }
.sw3d { position: relative; flex: none; width: 56px; height: 56px; padding: 0; margin: 0; border: 3px solid #fff; border-radius: 50%; overflow: hidden; background: #ccc;
  box-shadow: 0 0 0 1px rgba(29, 42, 49, .18); -webkit-tap-highlight-color: transparent; cursor: pointer; }
.sw3d + .sw3d { margin-left: 6px; }
.sw3d img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.sw3d.on { box-shadow: 0 0 0 3px var(--ink); }
.sw3d.on::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(29, 42, 49, .25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 26px no-repeat; }
/* photos that show another colour than the one chosen */
.gal-note { position: absolute; left: 12px; bottom: 12px; z-index: 3; max-width: calc(100% - 120px); padding: 8px 14px; border-radius: 14px; background: rgba(29, 42, 49, .86); color: #fff;
  font-size: 18px; font-weight: 600; line-height: 1.3; pointer-events: none; }
.gal-main.on3d .gal-note { display: none; }
.fact-sub { display: block; font-size: 18px; color: var(--sale); margin-top: 2px; }
.facts li > span:last-child { display: inline-flex; align-items: center; flex-wrap: wrap; }
.facts #fact-color .fact-sub { flex-basis: 100%; }
/* size: custom mark, reset, the pencil button */
.specs.custom { border-color: var(--ink); }
.ed-btn { margin-top: 12px; }
.ed-btn .ico, .sbtn .ico { width: 26px; height: 26px; margin-right: 10px; }
.szc { margin-top: 12px; padding: 14px; border-radius: 16px; background: #fbf3e9; border: 2px solid var(--wood); }
.szc-t { font-size: 19px; font-weight: 700; }
.szc-n { font-size: 18px; color: var(--ink-2); margin: 4px 0 10px; }
.bsz .tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--wood); color: #fff; font-size: 18px; font-weight: 600; }
/* the editor sheet: bottom of the screen, the 3D stays visible above it */
.ed { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: var(--surface); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(29, 42, 49, .28);
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); visibility: hidden;
  max-height: 62vh; overflow-y: auto; }
.ed.show { transform: none; visibility: visible; }
body.ed-on .mbar { transform: translateY(110%); }
.ed-hd { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.ed-hd h2 { font-family: var(--sans); font-size: 21px; font-weight: 700; }
.ed-hd span { font-size: 18px; color: var(--ink-2); }
.er { display: flex; align-items: center; margin-top: 8px; }
.er-l { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.er-l b { font-size: 20px; }
.er-l span { font-size: 18px; color: var(--ink-2); white-space: nowrap; }
.er-b { flex: none; width: 58px; height: 58px; border-radius: 16px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font-size: 30px; font-weight: 700; line-height: 1;
  -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; touch-action: manipulation; }
.er-b:active { background: var(--bg-2); }
.er-b:disabled { opacity: .3; cursor: default; }
.er-in { flex: none; width: 84px; height: 58px; margin: 0 8px; border-radius: 14px; border: 2px solid var(--line); background: #fff; text-align: center;
  font: 700 26px/1 var(--serif); color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.er-in::-webkit-outer-spin-button, .er-in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.er-in:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(40, 84, 110, .2); }
.er.bad .er-in { border-color: var(--sale); }
.er-err { color: var(--sale); font-size: 18px; font-weight: 600; margin-top: 4px; }
.ed-out { margin-top: 10px; font-size: 18px; line-height: 1.45; }
.ed-out b.ask { color: var(--wa-dark); }
.ed-b { display: grid; grid-template-columns: 1fr 1.3fr; grid-gap: 10px; margin-top: 10px; }
.ed-b .btn { min-height: 58px; padding: 0 12px; }
@media (min-width: 960px) {
  .ed { left: auto; right: 24px; bottom: 24px; width: 460px; border-radius: 22px; max-height: calc(100vh - 120px); padding: 18px 22px; }
}
