@font-face {
  font-family: "Noto Sans Georgian";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/noto-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/noto-sans-georgian-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Noto Sans Georgian";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/noto-sans-georgian-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: Oswald;
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/oswald-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: #e7e3da;
  --ink: #14171c;
  --muted: #5c584e;
  --paper: #f7f5f0;
  --line: #ddd6c8;
  --dark: #14171c;
  --cream: #f3f0e8;
  --gold: #e3a008;
  --gold-ink: #1a1403;
  --gold-soft: #f0c14a;
  --sans: "Noto Sans Georgian", "Noto Sans", sans-serif;
  --display: Oswald, "Noto Sans Georgian", sans-serif;
  --header-h: 72px;
  --shadow: 0 12px 32px rgba(20, 23, 28, 0.08);
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  min-width: 320px;
}

img { max-width: 100%; display: block; }

button,
input,
select { font: inherit; color: inherit; }

h1, h2, h3, p { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--gold);
  color: var(--gold-ink);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--gold);
  color: var(--gold-ink);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
}

.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--dark);
  color: var(--cream);
  box-shadow: 0 1px 0 rgba(227, 160, 8, 0.75);
  padding-top: env(safe-area-inset-top);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
  min-height: 44px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex: none;
  display: block;
}

.brand-mark svg { display: block; }

.brand-name,
.site-footer .brand-name {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.15rem;
  line-height: 1;
}

.brand-sub {
  display: none;
  color: #b7b1a4;
  font-size: 0.75rem;
  margin-top: 3px;
}

.nav {
  display: flex;
  gap: 16px;
  order: 5;
  width: 100%;
  padding-top: 8px;
  border-top: 1px solid rgba(243, 240, 232, 0.1);
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav a:hover { color: var(--gold-soft); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang {
  display: inline-flex;
  border: 1px solid rgba(243, 240, 232, 0.28);
  border-radius: 999px;
  overflow: hidden;
}

.lang button {
  appearance: none;
  background: transparent;
  color: var(--cream);
  border: 0;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lang button[aria-pressed="true"] {
  background: var(--gold);
  color: var(--gold-ink);
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.icon-label { display: none; }

.hero {
  background:
    linear-gradient(180deg, rgba(227, 160, 8, 0.08), transparent 120px),
    repeating-linear-gradient(-14deg, transparent, transparent 12px, rgba(255, 255, 255, 0.015) 12px, rgba(255, 255, 255, 0.015) 13px),
    var(--dark);
  color: var(--cream);
  padding: 22px 0 28px;
}

.hero-grid { display: grid; gap: 18px; }

.eyebrow {
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.hero h1 {
  font-size: clamp(1.85rem, 7vw, 3.4rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.lead {
  margin-top: 12px;
  color: #d9d3c7;
  font-size: 1.02rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-actions .btn { flex: 1 1 160px; }

.hero-panel {
  border: 1px solid rgba(243, 240, 232, 0.16);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.panel-kicker {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.panel-kicker strong {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-right: 6px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  appearance: none;
  border: 1px solid rgba(243, 240, 232, 0.28);
  background: transparent;
  color: var(--cream);
  border-radius: 999px;
  min-height: 40px;
  padding: 6px 12px;
  cursor: pointer;
  text-align: left;
}

.chip[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--gold-ink);
  font-weight: 700;
}

#catalog,
#how,
#contact { scroll-margin-top: 124px; }

.section { padding: 26px 0 8px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.section-head h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }

.result-meta {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.field-search,
#clear { grid-column: 1 / -1; }

.field { min-width: 0; }

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 4px;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #d5d0c6;
  background: #fff;
  font-size: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--gold);
  color: var(--gold-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(243, 240, 232, 0.35);
}

.btn-quiet {
  background: transparent;
  border-color: #cbc5b8;
  color: var(--ink);
}

.fine {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 8px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}

.group-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.35rem;
}

.group-title:first-child { margin-top: 0; }

.group-count {
  font-family: var(--sans);
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #1b1e25;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-cat,
.illus {
  position: absolute;
  background: rgba(20, 23, 28, 0.82);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
}

.card-cat { top: 10px; left: 10px; }
.illus { bottom: 10px; left: 10px; }

.card-media [hidden] { display: none; }

.card-media.has-gallery:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 23, 28, 0.72);
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  opacity: 0.85;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }

.gallery-nav:hover,
.gallery-nav:focus-visible {
  opacity: 1;
  background: var(--dark);
}

@media (hover: hover) {
  .card-media .gallery-nav { opacity: 0; }
  .card-media:hover .gallery-nav,
  .card-media:focus-within .gallery-nav { opacity: 0.9; }
}

.gallery-count {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(20, 23, 28, 0.82);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.gallery-dots {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 2px;
}

.gallery-dot {
  width: 22px;
  height: 22px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.gallery-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(243, 240, 232, 0.55);
  box-shadow: 0 0 0 1px rgba(20, 23, 28, 0.45);
}

.gallery-dot[aria-current="true"]::before { background: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .gallery-nav { transition: none; }
}

.media-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #b7b1a4;
  padding: 16px;
  text-align: center;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  flex: 1;
}

.card-code {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.card-code span:last-child {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--ink);
  font-weight: 700;
}

.card h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
  min-height: 2.7em;
  overflow-wrap: anywhere;
}

.card-meta { color: var(--muted); font-size: 0.9rem; }

.card-price {
  margin: 2px 0 8px;
  font-weight: 700;
  font-size: 1.02rem;
}

.card-price.is-request {
  color: #3f3214;
  font-weight: 700;
  font-size: 0.98rem;
}

.card .btn { margin-top: auto; width: 100%; }

.state {
  grid-column: 1 / -1;
  padding: 28px 16px;
  text-align: center;
  background: var(--paper);
  border: 1px dashed #d0c9bb;
  border-radius: 16px;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.skeleton {
  height: 390px;
  border-radius: 16px;
  background: linear-gradient(100deg, #e0dbd0 20%, #f6f3ec 40%, #e0dbd0 60%);
  background-size: 200% 100%;
  animation: shine 1.15s linear infinite;
}

.section-how { padding-bottom: 28px; }

.how-lead {
  max-width: 40rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.steps { display: grid; gap: 12px; }

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.step-num {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 8px;
}

.step h3 { margin-bottom: 6px; font-size: 1.05rem; }

.step p:last-child { color: var(--muted); }

.site-footer {
  background: var(--dark);
  color: var(--cream);
  padding: 32px 0 20px;
  box-shadow: inset 0 3px 0 var(--gold);
}

.footer-grid { display: grid; gap: 22px; }

.footer-blurb,
.footer-place { color: #c9c2b6; margin-top: 8px; }

.site-footer h2 { font-size: 1.15rem; margin-bottom: 8px; }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
  font-weight: 600;
}

.contact-list a:hover { color: var(--gold-soft); }

.legal {
  color: #a39e93;
  font-size: 0.82rem;
  margin-top: 22px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(12px);
  width: min(440px, calc(100% - 24px));
  background: var(--dark);
  color: var(--cream);
  padding: 12px 14px;
  border-radius: 12px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.noscript {
  margin: 16px;
  padding: 12px;
  background: #fff4d4;
  border-radius: 10px;
}

@media (min-width: 720px) {
  .brand-sub { display: block; }
  .icon-label { display: inline; }
  .grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 0.8fr; align-items: start; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 880px) {
  .nav {
    order: 0;
    width: auto;
    border: 0;
    padding: 0;
    margin-left: 8px;
  }

  #catalog,
  #how,
  #contact { scroll-margin-top: 84px; }
  .hero { padding: 36px 0 42px; }
  .hero-grid {
    grid-template-columns: 1.35fr 0.85fr;
    align-items: end;
    gap: 36px;
  }
  .hero-actions .btn { flex: 0 0 auto; }
  .section { padding: 40px 0 12px; }
}

@media (min-width: 1040px) {
  .filters {
    grid-template-columns: minmax(180px, 1.35fr) repeat(4, minmax(110px, 1fr)) auto;
    align-items: end;
  }
  .field-search,
  #clear { grid-column: auto; }
  .grid { grid-template-columns: 1fr 1fr 1fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }
}

@media (hover: hover) {
  .btn-primary:hover { background: #f0b322; }
  .btn-quiet:hover { background: #fff; }
  .card { transition: transform 0.18s ease, box-shadow 0.18s ease; }
  .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(20, 23, 28, 0.12);
  }
  .chip:hover { border-color: var(--gold-soft); }
}

@keyframes shine {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .skeleton,
  .card,
  .toast { animation: none; transition: none; }
  .card:hover { transform: none; }
}

/* product pages */
.pp{max-width:960px;margin:2rem auto;padding:0 1rem}.pp-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.pp img{width:100%;height:auto;background:#fff;border-radius:10px}.crumbs{font-size:.9rem;margin-bottom:1rem}.crumbs a{color:inherit}.badge{display:inline-block;padding:.2rem .6rem;border-radius:99px;background:#e3a008;color:#14171c;font-weight:600;font-size:.85rem}.badge.af{background:#666;color:#fff}.pp-thumbs{display:flex;gap:.5rem;flex-wrap:wrap}.pp-thumbs img{width:90px}
