/* შრიფტი: FiraGO (SIL Open Font License, იხ. fonts/OFL.txt). ფაილები პროექტშია, ინტერნეტი არ სჭირდება. */
@font-face { font-family: "FiraGO"; src: url("fonts/FiraGO-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("fonts/FiraGO-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("fonts/FiraGO-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("fonts/FiraGO-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --ink: #000;
  --paper: #fff;
  --grey: #6f6f6f;
  --line: #e4e4e4;
  --soft: #f4f4f4;
  --sale: #b3261e;
  --pad: clamp(16px, 3vw, 40px);
  --font: "FiraGO", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  font-feature-settings: "kern", "liga";
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
h1, h2 { margin: 0; font-weight: 400; font-size: 20px; line-height: 1.3; letter-spacing: -0.005em; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
s { color: var(--grey); }
.muted { color: var(--grey); }
.sale { color: var(--sale); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 20; }

/* ზედა ზოლი და ჰედერი */
.notice {
  margin: 0;
  padding: 8px var(--pad);
  text-align: center;
  font-size: 12px;
  background: var(--ink);
  color: var(--paper);
}
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 var(--pad);
  min-height: 72px;
}
.nav { display: flex; gap: 26px; }
.nav a { white-space: nowrap; padding: 6px 0; font-size: 16px; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav a[aria-current] { font-weight: 500; }
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 var(--pad) 10px;
}
.subnav { display: flex; gap: 26px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; padding: 8px 0 7px; font-size: 15px; border-bottom: 1px solid transparent; }
.subnav a:hover, .subnav a[aria-current] { border-bottom-color: currentColor; }

/* ჩამოსაშლელი მენიუ: ქვეკატეგორიები მარცხნივ, მონიშნული პროდუქტის ფოტო მარჯვნივ */
.menu-item { display: flex; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 9;
  background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  visibility: hidden; opacity: 0;
  transition: opacity .15s ease, visibility 0s linear .15s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -11px; height: 11px; }
.menu-item:hover .mega, .menu-item:focus-within .mega { visibility: visible; opacity: 1; transition-delay: 0s; }
.mega-inner { display: flex; justify-content: space-between; gap: 48px; padding: 32px var(--pad) 40px; min-height: 220px; }
.mega-cols { display: flex; flex-wrap: wrap; gap: 28px 96px; }
.mega-title { margin: 0 0 18px; font-size: 13px; color: var(--grey); }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, auto); gap: 4px 72px; }
.subnav .mega-col a { display: inline-block; padding: 6px 0; font-size: 16px; border-bottom: 1px solid transparent; }
.subnav .mega-feature { display: block; flex: 0 0 300px; align-self: flex-start; padding: 0; border: 0; white-space: normal; }
.mega-feature img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 12px; }
.mega-feature-name { display: block; font-size: 15px; }
.mega-feature-link { display: inline-block; margin-top: 6px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
@media (hover: none) { .mega { display: none; } }
@media (prefers-reduced-motion: reduce) { .mega { transition: none; } }

.subcats { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 0 0 28px; padding: 0; }
.subcats a { display: block; padding: 7px 14px; border: 1px solid var(--line); font-size: 14px; }
.subcats a:hover { border-color: var(--ink); }
.subcats a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.search {
  flex: 0 0 clamp(200px, 22vw, 320px);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--ink);
  color: var(--grey);
}
.search:focus-within { color: var(--ink); }
.search input {
  flex: 1;
  min-width: 0;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--ink);
  outline: none;
}
.search input::placeholder { color: var(--grey); }
.search input::-webkit-search-cancel-button { display: none; }
.logo {
  font-family: var(--font);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.32em;
  margin-right: -0.32em;
  line-height: 1;
}
.logo-image { letter-spacing: 0; margin-right: 0; display: block; }
.logo-image img { display: block; width: auto; height: var(--logo-h, 36px); max-width: 40vw; object-fit: contain; }
.tools { justify-self: end; display: flex; align-items: center; gap: 12px; }
.tools .lang { margin-right: 12px; }
.lang { display: flex; gap: 10px; font-size: 13px; }
.lang a { color: var(--grey); padding: 6px 0; border-bottom: 1px solid transparent; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
.icon-link { position: relative; display: inline-grid; place-items: center; width: 34px; height: 34px; }
.icon-link:hover { color: var(--grey); }
.icon-count {
  position: absolute;
  top: -2px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  line-height: 1;
}

/* მთავარი გვერდი */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px var(--pad) 0;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 48px 24px;
  text-align: center;
}
.hero-copy h1 { font-size: clamp(28px, 2.8vw, 42px); font-weight: 300; letter-spacing: -0.015em; line-height: 1.2; max-width: 16ch; text-wrap: balance; }
.hero-copy p { margin: 0; max-width: 40ch; font-size: 16px; color: #333; text-wrap: balance; }
.hero-copy .button { margin-top: 10px; }
.hero-media { background: #d9d3c7; overflow: hidden; aspect-ratio: 1 / 1; }

/* კაცი / ქალი */
.doors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  padding: clamp(40px, 6vw, 88px) var(--pad) 0;
}
.door {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 3;
  padding: clamp(18px, 2.4vw, 32px);
  font-size: clamp(26px, 3.4vw, 48px);
  font-weight: 300;
  line-height: 1;
}
.door { position: relative; overflow: hidden; }
.door img { position: absolute; inset: 0; transition: transform .6s ease; }
.door:hover img { transform: scale(1.02); }
.door span { position: relative; border-bottom: 1px solid transparent; padding-bottom: 6px; }
.door.has-photo { color: var(--paper); }
.door.has-photo::after {
  content: "";
  position: absolute;
  inset: 45% 0 0 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .45));
}
.door.has-photo span { z-index: 1; }
.door:hover span, .door:focus-visible span { border-bottom-color: currentColor; }
.door { background: #e9e6df; color: var(--ink); }
.door-men { background: #3a3c3f; color: var(--paper); }
.door-women { background: #d9d3c7; color: var(--ink); }

/* ღილაკები და ბმულები */
.button {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.button:hover { background: var(--paper); color: var(--ink); }
.button-outline { background: var(--paper); color: var(--ink); padding: 12px 28px; }
.button-outline:hover { background: var(--ink); color: var(--paper); }
.button-wide { display: block; width: 100%; }
.text-link { text-decoration: underline; text-underline-offset: 4px; background: none; border: 0; padding: 0; cursor: pointer; }
.text-link:hover { color: var(--grey); }

/* სექციები და ბადე */
.section { padding: clamp(28px, 4vw, 48px) var(--pad) clamp(40px, 6vw, 80px); }
.section.narrow { max-width: 860px; margin: 0 auto; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}
.count { color: var(--grey); font-size: 14px; margin-left: 6px; }
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 16px;
}
.card { display: flex; flex-direction: column; gap: 2px; }
.card-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  margin-bottom: 10px;
  overflow: hidden;
}
.card-media img { transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  font-size: 12px;
  background: var(--paper);
  color: var(--sale);
}
.card-category { color: var(--grey); font-size: 12px; }
.product-brand { margin: 10px 0 2px; font-size: 22px; font-weight: 500; }
.product-brand a:hover { text-decoration: underline; text-underline-offset: 5px; }
.card-name { text-wrap: balance; }
.card:hover .card-name { text-decoration: underline; text-underline-offset: 4px; }
.card-price { display: flex; gap: 8px; margin-top: 2px; }
.sort { display: flex; align-items: center; gap: 8px; }
.sort select { border: 0; border-bottom: 1px solid var(--ink); background: none; padding: 4px 2px; border-radius: 0; cursor: pointer; }
.empty { padding: 48px 0; font-size: 16px; }

/* პროდუქტის გვერდი */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  padding: 0 var(--pad) 0 0;
  border-bottom: 1px solid var(--line);
}
.product-media { align-content: start; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.stage { aspect-ratio: 4 / 5; overflow: hidden; }
.stage img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* გალერეა: მარცხნივ გადასაქროლი პატარა ფოტოები, ცენტრში დიდი ფოტო */
.product-media.has-thumbs { grid-template-columns: 142px minmax(0, 654px); justify-content: center; align-items: stretch; padding-left: var(--pad); gap: 30px; }
.product:has(.has-thumbs) { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.product-media.has-thumbs .stage { align-self: start; width: 100%; background: none !important; }
.product-media.has-thumbs .stage { aspect-ratio: auto; max-height: none; }
.product-media.has-thumbs .stage img { width: auto; height: auto; max-width: 100%; max-height: 817px; margin: 0 auto; object-fit: contain; }
.thumbs-wrap { position: relative; height: 0; min-height: 100%; }
.thumbs { display: flex; flex-direction: column; gap: 14px; height: 100%; overflow-y: auto; scrollbar-width: none; scroll-behavior: smooth; scroll-snap-type: y proximity; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { scroll-snap-align: start; flex: 0 0 auto; position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 0; background: none; cursor: pointer; opacity: .65; outline: 2px solid transparent; outline-offset: 0; overflow: hidden; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { opacity: 1; }
.thumb.is-active { opacity: 1; outline-color: #000; }
.thumb:focus-visible { outline-color: #000; opacity: 1; }
.thumb-nav { position: absolute; left: 0; right: 0; height: 36px; display: flex; align-items: center; justify-content: center; border: 0; padding: 0; cursor: pointer; z-index: 1; color: #000; }
.thumb-nav[hidden] { display: none; }
.thumb-nav svg { width: 16px; height: 16px; }
.thumb-nav.up { top: 0; background: linear-gradient(#fff 40%, rgba(255,255,255,0)); }
.thumb-nav.down { bottom: 0; background: linear-gradient(rgba(255,255,255,0), #fff 60%); }
.product-info { max-width: 440px; padding: clamp(24px, 5vw, 72px) 0; align-self: start; position: sticky; top: 120px; }
.product-info h1 { font-size: 26px; font-weight: 300; letter-spacing: -0.01em; margin: 6px 0 10px; text-wrap: balance; }
.product-price { display: flex; gap: 10px; margin: 0 0 28px; font-size: 18px; }
.sizes { border: 0; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sizes legend { padding: 0; margin-bottom: 8px; color: var(--grey); font-size: 12px; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sizes span {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
}
.sizes label:hover span { border-color: var(--ink); }
.sizes input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.sizes input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.error { margin: 0 0 12px; color: var(--sale); font-size: 13px; }
.colors { margin: 32px 0 24px; }
.colors-title { margin: 0 0 12px; font-size: 14px; }
.colors ul { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.colors a { display: block; width: 72px; aspect-ratio: 4 / 5; overflow: hidden; background: #f4f4f4; outline: 2px solid transparent; outline-offset: 2px; }
.colors a:hover { outline-color: #bbb; }
.colors a.is-current { outline-color: #000; }
.colors img, .colors span { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-text { margin: 28px 0 20px; max-width: 46ch; }
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--grey); padding-right: 24px; }

/* კალათა */
.lines { border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line-media { aspect-ratio: 3 / 4; overflow: hidden; }
.line-info { display: flex; flex-direction: column; gap: 4px; }
.qty { margin-top: auto; }
.qty form { display: flex; align-items: center; gap: 4px; }
.qty button:not(.text-link) { width: 32px; height: 32px; border: 1px solid var(--line); background: none; cursor: pointer; }
.qty button:not(.text-link):hover { border-color: var(--ink); }
.qty span { min-width: 28px; text-align: center; }
.remove { margin-left: 14px; font-size: 13px; }
.summary { margin: 28px 0 0 auto; max-width: 360px; }
.summary p, .order-total { display: flex; justify-content: space-between; margin: 0 0 16px; font-size: 16px; }
strong { font-weight: 600; }

/* შეკვეთის გაფორმება */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(24px, 6vw, 96px); max-width: 1080px; margin: 0 auto; align-items: start; }
.form h1 { margin-bottom: 24px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.fields .field { grid-column: 1 / -1; }
.fields .field.half { grid-column: auto; }
.field { margin-bottom: 18px; }
.field select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
}
.field select:focus { outline: none; border-color: var(--ink); }
.field.has-error select { border-color: var(--sale); }
.form-note { margin: 0 0 20px; }
.field label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--grey); }
.field input, .field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.has-error input, .field.has-error textarea { border-color: var(--sale); }
.field .error { margin: 6px 0 0; }
.order-box { background: var(--soft); padding: 24px; }
.order-box h2 { font-size: 16px; margin-bottom: 16px; }
.order-box li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.order-box .order-total { margin: 12px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.done h1 { font-size: 26px; margin-bottom: 8px; }
.done .order-box { margin: 28px 0; }

/* შეტყობინებები */
.flash { padding: 12px var(--pad); background: var(--soft); border-bottom: 1px solid var(--line); }
.flash li + li { margin-top: 4px; }

/* შესვლა და რეგისტრაცია */
.auth { max-width: 480px; margin: 0 auto; }
.auth h1 { font-size: 26px; margin-bottom: 20px; }
.auth > p { margin: 0 0 20px; }
.auth-links { margin: 18px 0 0; }
.auth-alt { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.auth-alt p { margin: 0 0 12px; }
.checkout-hint { margin: 0 0 22px; padding: 14px 16px; background: var(--soft); }

/* პირადი კაბინეტი */
.account { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); max-width: 1200px; margin: 0 auto; align-items: start; }
.account-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.account-name { margin: 0 0 14px; font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.account-nav a { padding: 6px 0; color: var(--grey); border-bottom: 1px solid transparent; }
.account-nav a:hover { color: var(--ink); }
.account-nav a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
.account-nav form { margin-top: 16px; }
.account-main h1 { font-size: 22px; margin-bottom: 24px; }
.account-form { max-width: 520px; }
.account-form .muted { margin: 0 0 18px; }
.field input:disabled { background: var(--soft); color: var(--grey); }
.orders { border-top: 1px solid var(--line); }
.orders a {
  display: grid;
  grid-template-columns: 70px 100px 1fr auto 110px;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.orders a:hover { background: var(--soft); }
.orders-no { font-weight: 500; }
.orders-total { text-align: right; }
.order-facts { margin: 0 0 28px; }
.account-main .summary { margin-top: 20px; }
.grid.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* რჩეულების ღილაკი პროდუქტის გვერდზე */
.favorite-form { margin-top: 12px; }
.favorite {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.favorite svg { fill: none; }
.favorite.is-on svg { fill: currentColor; }
.favorite:hover { color: var(--grey); }

/* ფუტერი */
.footer {
  margin-top: clamp(32px, 5vw, 72px);
  padding: clamp(36px, 4vw, 56px) var(--pad) 24px;
  background: var(--soft);
  font-size: 13px;
}
.text-page { display: grid; grid-template-columns: 240px minmax(0, 68ch); gap: 32px 64px; }
.text-page-section { margin: 0 0 14px; font-size: 13px; color: var(--grey); }
.text-page-nav li { padding: 5px 0; }
.text-page-nav a { color: var(--grey); border-bottom: 1px solid transparent; }
.text-page-nav a:hover, .text-page-nav a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
.text-page-body h1 { font-size: 26px; margin-bottom: 20px; }
.text-page-body p { margin: 0 0 16px; line-height: 1.7; }
@media (max-width: 760px) { .text-page { grid-template-columns: 1fr; } }
.footer-main {
  display: grid;
  grid-template-columns: minmax(160px, 1.3fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px 40px;
  align-items: start;
}
.footer-logo { font-family: var(--font); font-weight: 300; letter-spacing: 0.32em; color: var(--ink); font-size: 20px; line-height: 1; }
.footer-col h2 { margin: 0 0 12px; font-size: 13px; font-weight: 500; }
.footer-col li { padding: 3px 0; color: #555; }
.footer-col a { color: #555; border-bottom: 1px solid transparent; }
.footer-col a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.social li { padding: 0; }
.footer-col .social-icon { display: block; border: 0; opacity: .8; }
.footer-col .social-icon:hover { opacity: 1; }
.social-icon img { width: 30px; height: 30px; object-fit: contain; }
.footer-year { margin: clamp(28px, 4vw, 48px) 0 0; padding-top: 18px; border-top: 1px solid #e2e2e2; color: var(--grey); font-size: 12px; }

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .header { position: static; }
  .mega { display: none; }
  .header-top { grid-template-columns: 1fr auto; grid-template-areas: "logo tools" "nav nav"; row-gap: 0; padding-top: 14px; min-height: 0; }
  .logo { grid-area: logo; font-size: 25px; }
  .logo-image img { height: min(var(--logo-h, 36px), 30px); }
  .tools { grid-area: tools; gap: 6px; }
  .tools .lang { margin-right: 6px; }
  .nav { grid-area: nav; padding: 10px 0 2px; }
  .header-row { flex-direction: column; align-items: stretch; gap: 6px; padding-bottom: 14px; }
  .subnav { margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); gap: 20px; }
  .search { flex: none; }
  .door { aspect-ratio: 3 / 4; }
  .doors { gap: 10px; }
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-media { order: -1; aspect-ratio: 4 / 5; min-height: 0; }
  .hero-copy { padding: 32px 0 8px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 10px; }
  .product { grid-template-columns: 1fr; padding: 0; }
  .product:has(.has-thumbs) { grid-template-columns: minmax(0, 1fr); }
  .product-media.has-thumbs { grid-template-columns: minmax(0, 1fr); padding-left: 0; justify-content: stretch; gap: 12px; }
  .thumbs-wrap { order: 2; height: auto; min-height: 0; }
  .thumbs { flex-direction: row; overflow-x: auto; overflow-y: hidden; padding: 0 var(--pad); height: auto; }
  .thumb { flex: 0 0 72px; width: 72px; }
  .thumb-nav { display: none; }
  .product-info { position: static; max-width: none; padding: 0 var(--pad) 40px; }
  .checkout { grid-template-columns: 1fr; }
  .account { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .fields .field.half { grid-column: 1 / -1; }
  .account-nav { flex-direction: row; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
  .account-name { flex-basis: 100%; margin-bottom: 6px; }
  .account-nav form { margin-top: 0; }
  .orders a { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .orders-total { text-align: right; }
  .grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
  .order-box { order: -1; }
  .line { grid-template-columns: 72px 1fr auto; gap: 14px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-logo { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* შეტყობინებები ადმინისტრატორთან */
.dot { color: var(--sale); font-size: 11px; }
.support-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.support-head .button { padding: 11px 20px; }
.threads { border-top: 1px solid var(--line); }
.threads a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.threads a:hover .thread-subject { text-decoration: underline; text-underline-offset: 4px; }
.thread-subject { font-size: 16px; overflow-wrap: anywhere; }
.threads .is-unread .thread-subject { font-weight: 500; }
.thread-meta { grid-column: 1; color: var(--grey); font-size: 13px; margin: 0; }
.thread-status { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding: 4px 10px; border: 1px solid var(--line); font-size: 12px; white-space: nowrap; }
.status-open { border-color: var(--ink); }
.status-answered { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.status-closed { color: var(--grey); }
.msg-log { display: flex; flex-direction: column; gap: 14px; max-height: 56vh; min-height: 200px; overflow-y: auto; margin: 18px 0; padding: 18px; border: 1px solid var(--line); background: #fafafa; }
.msg { max-width: 78%; align-self: flex-start; }
.msg.is-mine { align-self: flex-end; }
.msg-author { margin: 0 0 4px; font-size: 12px; color: var(--grey); }
.msg-text { margin: 0; padding: 10px 14px; background: var(--paper); border: 1px solid var(--line); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.is-mine .msg-text { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.msg-image { display: block; margin-top: 6px; max-width: 220px; border: 1px solid var(--line); }
.msg-image img { width: 100%; height: auto; }
.msg-meta { margin: 4px 0 0; font-size: 11px; color: var(--grey); }
.msg.is-mine .msg-meta, .msg.is-mine .msg-author { text-align: right; }
.msg-seen { color: #2e7d32; margin-left: 6px; }
.support-form { max-width: 560px; }
.support-form textarea, .support-reply textarea, .support-form input[type=text] { width: 100%; padding: 12px; border: 1px solid var(--line); background: var(--paper); }
.support-form textarea:focus, .support-reply textarea:focus, .support-form input[type=text]:focus { outline: none; border-color: var(--ink); }
.support-reply-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.support-back { margin-left: 18px; }
.hint { margin: 6px 0 0; color: var(--grey); font-size: 13px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-page-single { grid-template-columns: minmax(0, 68ch); }
.file-native { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.file-picker { display: inline-flex; align-items: center; gap: 10px; vertical-align: middle; }
.file-picker-button { font: inherit; font-size: 13px; padding: 6px 14px; border: 1px solid currentColor; background: #fff; color: #000; cursor: pointer; border-radius: 0; }
.file-picker-button:hover { background: #000; color: #fff; }
.file-picker-name { font-size: 13px; opacity: .7; word-break: break-all; }
.clearable-search { position: relative; display: inline-flex; align-items: center; }
.clearable-search > input { padding-right: 28px !important; }
.clearable-search > input[type="search"]::-webkit-search-cancel-button { display: none; -webkit-appearance: none; }
.clearable-search-x { display: none; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; padding: 0; border: 0; background: none; font-size: 20px; line-height: 20px; color: #777; cursor: pointer; }
.clearable-search-x:hover { color: #000; }
.clearable-search.has-value .clearable-search-x { display: block; }
.search .clearable-search { flex: 1; min-width: 0; }
.search .clearable-search > input { width: 100%; padding-right: 24px !important; }

.rail-section .section-head { display: flex; align-items: baseline; justify-content: space-between; }
.rail-arrows { display: flex; gap: 6px; }
.rail-arrow { width: 32px; height: 32px; border: 1px solid var(--ink); background: none; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.rail-arrow:hover { background: var(--ink); color: #fff; }
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-item { flex: 0 0 calc((100% - 80px) / 5); scroll-snap-align: start; min-width: 0; }
@media (max-width: 1000px) { .rail-item { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 620px) { .rail { gap: 10px; } .rail-item { flex-basis: calc((100% - 10px) / 2); } .rail-arrows { display: none; } }

.clearable-search-x { -webkit-appearance: none; appearance: none; border-radius: 0; box-shadow: none; outline-offset: 2px; }
.clearable-search-x::-moz-focus-inner { border: 0; }

.faq { margin-top: 28px; border-top: 1px solid #e6e6e6; }
.faq-item { border-bottom: 1px solid #e6e6e6; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex: none; transition: transform .2s ease; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item summary:hover { color: #555; }
.faq-answer { padding: 0 4px 22px; color: #444; max-width: 70ch; }
.faq-answer p { margin: 0 0 10px; }

.contact-info { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 14px; }
.contact-info li { display: flex; align-items: center; gap: 14px; }
.contact-icon { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid #e6e6e6; border-radius: 50%; flex: none; }
.contact-info a { border-bottom: 1px solid transparent; }
.contact-info a:hover { border-bottom-color: currentColor; }
.contact-form-title { font-size: 20px; margin: 0 0 18px; }
.contact-form { display: grid; gap: 16px; max-width: 520px; }
.contact-form .field { display: grid; gap: 6px; }
.contact-form label { font-size: 13px; color: var(--grey); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfcfcf; background: #fff; border-radius: 0; font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: 1px solid var(--ink); border-color: var(--ink); }
.contact-form .has-error input, .contact-form .has-error textarea { border-color: #b3261e; }
.contact-form .button { justify-self: start; }
.field-error, .form-errors { color: #b3261e; font-size: 13px; margin: 0; }
.form-errors { list-style: none; padding: 0; }
.contact-sent { padding: 16px 18px; background: #f4f4f4; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.text-page:has(.contact) { grid-template-columns: 240px minmax(0, 1fr); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; align-items: start; margin-top: 45px; }
.contact-layout .contact-info { margin-bottom: 0; }
.contact-layout .contact-form-title { margin-top: 0; }
.contact-layout .contact-form { max-width: none; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 36px; } }

.contact-intro { margin-bottom: 28px; }
.contact-intro p { margin: 0 0 6px; }
.contact-layout .contact-form-title { line-height: 1.2; margin: 0 0 20px; font-size: 22px; }

.rich p { margin: 0 0 14px; line-height: 1.7; }
.rich h2 { font-size: 22px; margin: 26px 0 12px; line-height: 1.3; }
.rich h3 { font-size: 17px; margin: 20px 0 10px; line-height: 1.3; }
.rich ul, .rich ol { margin: 0 0 14px; padding-left: 22px; line-height: 1.7; }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich blockquote { margin: 0 0 14px; padding-left: 16px; border-left: 2px solid #ccc; color: #555; }
.rich a { border-bottom: 1px solid currentColor; }
.rich > :last-child { margin-bottom: 0; }

.rich .ta-left { text-align: left; } .rich .ta-center { text-align: center; }
.rich .ta-right { text-align: right; } .rich .ta-justify { text-align: justify; }
.contact-intro .rich > :first-child, .contact-intro > :first-child { margin-top: 0; }
.contact-layout .contact-form-title { line-height: 1.3; margin-top: 0; }

/* რჩეული ბრენდები მთავარ გვერდზე */
.brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.brand-tile { position: relative; display: flex; align-items: flex-end; aspect-ratio: 3 / 4; overflow: hidden; padding: clamp(14px, 1.6vw, 22px); background: #e9e6df; color: var(--ink); font-size: clamp(16px, 1.6vw, 22px); font-weight: 600; text-transform: uppercase; line-height: 1.1; }
.brand-tile img { position: absolute; inset: 0; transition: transform .6s ease; }
.brand-tile:hover img { transform: scale(1.02); }
.brand-tile.has-photo { color: #fff; }
.brand-tile.has-photo::after { content: ""; position: absolute; inset: 55% 0 0 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5)); }
.brand-tile span { position: relative; z-index: 1; border-bottom: 1px solid transparent; padding-bottom: 4px; }
.brand-tile:hover span, .brand-tile:focus-visible span { border-bottom-color: currentColor; }
@media (max-width: 900px) { .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ნაშთი: გაყიდული ზომა და ნივთი */
.sizes label.is-out span { color: #b5b5b5; border-color: #e4e4e4; text-decoration: line-through; cursor: not-allowed; }
.sizes label.is-out input { cursor: not-allowed; }
.sizes label.is-out:hover span { border-color: #e4e4e4; }
.tag-out { background: #fff; color: var(--ink); }
.button[disabled] { opacity: .45; cursor: not-allowed; }
.line-info .error { font-size: 12px; }
