:root {
  --bg: #000;
  --fg: #f5f5f7;
  --muted: #8e8e93;
  --line: #1f1f22;
  --card: #0c0c0e;
  --card-2: #141417;
  --accent: #fff;
  --sale: #ff453a;
  --ok: #30d158;
  --warn: #ffd60a;
  --info: #64d2ff;
  --radius: 22px;
  --font: "Inter", "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
[hidden] { display: none !important; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.72); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand img { height: 30px; width: auto; }
.brand-text { font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; }
.nav { display: flex; gap: 28px; margin-inline: auto; font-size: .92rem; }
.nav a { color: #d1d1d6; transition: color .2s; }
.nav a:hover { color: #fff; }
.header-right { display: flex; align-items: center; gap: 14px; }
.partner-logo { height: 28px; width: auto; }
.nav-toggle, .burger { display: none; }

/* Buttons & pills */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: .95rem; transition: transform .15s, background .2s, border-color .2s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #e5e5ea; }
.btn-ghost { border: 1px solid #3a3a3c; color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.pill-sale { background: var(--sale); color: #fff; }

/* Hero */
.hero { position: relative; padding: clamp(80px, 14vw, 160px) 0 clamp(60px, 10vw, 120px); text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero, none) center/cover no-repeat; opacity: .45; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.10), transparent 60%), linear-gradient(to bottom, transparent 50%, #000); }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 auto 18px; max-width: 900px; font-weight: 700; }
.lead { font-size: clamp(1.02rem, 1.8vw, 1.25rem); color: #c7c7cc; max-width: 680px; margin: 0 auto; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -.02em; margin: 0 0 32px; font-weight: 700; }

/* Offers */
.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.offer { background: linear-gradient(160deg, #18181b, #0b0b0d); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.offer-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.offer-body { padding: 24px; }
.offer h3 { margin: 12px 0 8px; font-size: 1.3rem; }
.offer p { margin: 0 0 8px; color: #c7c7cc; }

/* Catalog */
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; font: inherit; font-size: .88rem; color: #d1d1d6; background: var(--card-2); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.chip:hover { color: #fff; }
.chip.is-active { background: #fff; color: #000; border-color: #fff; }
.search { font: inherit; color: #fff; background: var(--card-2); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; width: min(320px, 100%); outline: none; }
.search:focus { border-color: #48484a; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: #2c2c2e; }
.card.is-sold { opacity: .5; }
.card-media { position: relative; aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, #1c1c1f, #0c0c0e 70%); display: grid; place-items: center; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.card-badge { position: absolute; top: 14px; left: 14px; }
.ph { width: 34%; aspect-ratio: 9/19; border: 2px solid #3a3a3c; border-radius: 18px; position: relative; }
.ph::before { content: ""; position: absolute; top: 8px; left: 50%; width: 30%; height: 6px; transform: translateX(-50%); background: #3a3a3c; border-radius: 6px; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-title { margin: 0; font-size: 1.12rem; font-weight: 600; }
.card-meta { margin: 0; color: var(--muted); font-size: .9rem; }
.card-note { margin: 4px 0 0; font-size: .85rem; color: #aeaeb2; }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.price-now { font-size: 1.35rem; font-weight: 700; }
.is-sale { color: var(--sale); }
.price-old { color: var(--muted); font-size: .92rem; }
.installment-hint { margin: 2px 0 0; font-size: .82rem; color: #aeaeb2; }
.status { align-self: flex-start; margin-top: 12px; font-size: .78rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-in_stock { color: var(--ok); }
.status-low { color: var(--warn); }
.status-preorder { color: var(--info); }
.status-sold_out { color: var(--muted); }
.empty { text-align: center; padding: 40px 0; }

/* Price list */
.pricelist { display: grid; gap: 28px; }
.pl-group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; }
.pl-head { margin: 16px 0 8px; font-size: 1.05rem; color: #d1d1d6; }
.pl-row { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.pl-row.is-sold { opacity: .5; }
.pl-name { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.pl-row .status { margin: 0; }
.pl-price { text-align: right; font-weight: 600; white-space: nowrap; }
.pl-price .price-old { margin-right: 8px; font-weight: 400; }

/* Installment */
.panel { background: linear-gradient(135deg, #17171a, #0a0a0b); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 5vw, 56px); text-align: center; }
.panel .lead { margin-bottom: 24px; }
.banks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 18px; }
.bank { padding: 10px 18px; border-radius: 14px; background: #1c1c1f; border: 1px solid #2c2c2e; font-weight: 500; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; gap: 2px; font-size: 1.08rem; }
.contact-list .muted { font-size: .82rem; }
.contact .hero-cta { justify-content: flex-start; }
.map { width: 100%; height: 360px; border: 0; border-radius: var(--radius); filter: grayscale(1) invert(.92) contrast(.9); }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .85rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Mobile */
@media (max-width: 860px) {
  .burger { display: grid; gap: 6px; width: 40px; height: 40px; place-content: center; cursor: pointer; }
  .burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s; }
  .nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; background: rgba(0,0,0,.96); backdrop-filter: blur(20px); padding: 8px 20px 20px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s ease; z-index: -1; font-size: 1.1rem; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle:checked ~ .nav { transform: none; }
  .nav-toggle:checked ~ .header-right .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle:checked ~ .header-right .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .header-right { margin-left: auto; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 28px); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card { border-radius: 18px; }
  .card-media img { padding: 10px; }
  .card-body { padding: 12px 14px 16px; }
  .card-title { font-size: .98rem; }
  .card-meta, .installment-hint { font-size: .78rem; }
  .price-now { font-size: 1.1rem; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search { width: 100%; }
  .pl-group { padding: 4px 16px; }
  .pl-row { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .pl-row .status { grid-column: 1; grid-row: 2; }
  .pl-price { grid-row: 1 / span 2; grid-column: 2; display: flex; flex-direction: column; }
  .pl-price .price-old { margin: 0; font-size: .8rem; }
  .pl-name { flex-direction: column; gap: 0; }
  .hero-cta .btn { flex: 1; }
}
