/* ============================================================
   BrandMall design system
   Palette: brand red #E2001A / deep #A50010, ink #191A1E,
   slate #5A5E6A, mist #F4F4F6, hairline #E5E6EA.
   One family (Noto Sans Georgian + Noto Sans) — weight carries
   hierarchy. Signature: the diagonal "bag cut" corner from the
   logo, used on the hero and on sale flags only.
   ============================================================ */
:root {
  --brand: #E2001A;
  --brand-deep: #A50010;
  --ink: #191A1E;
  --slate: #5A5E6A;
  --mist: #F4F4F6;
  --line: #E5E6EA;
  --paper: #FFFFFF;
  --amber: #F0A500;
  --ok: #1B8A4B;
  --radius: 14px;
  --radius-s: 10px;
  --shadow: 0 10px 30px rgba(25, 26, 30, .10);
  --font: 'Noto Sans Georgian', system-ui, -apple-system, sans-serif;
  --cut: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}
[hidden] { display: none !important; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  font-family: var(--font);
  font-size: 15px; line-height: 1.55;
  color: var(--ink); background: var(--paper);
  padding-bottom: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
.icon { flex: 0 0 auto; vertical-align: middle; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.only-mobile { display: none !important; }
.muted { color: var(--slate); }
.small { font-size: 13px; }
.ta-r { text-align: right; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14px; line-height: 1.2;
  border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mist); }
.btn-outline { border-color: var(--line); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { color: var(--slate); }
.btn-ghost:hover { color: var(--ink); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { width: 100%; }
.btn.is-disabled, .btn:disabled { background: var(--mist); color: var(--slate); cursor: not-allowed; border-color: transparent; }
.icon-btn { display: inline-flex; align-items: center; gap: 5px; padding: 9px; border-radius: 999px; color: var(--ink); }
.icon-btn:hover { background: var(--mist); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 18px; height: 68px; }
.logo { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.logo-text { font-size: 21px; font-weight: 500; letter-spacing: -.3px; }
.logo-text b { font-weight: 800; color: var(--brand); }
.logo-text-light { color: #fff; }
.logo-text-light b { color: #FF4D5E; }

.cat-trigger-wrap { position: relative; }
.cat-trigger {
  display: flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff;
  padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
}
.cat-trigger:hover, .cat-trigger[aria-expanded="true"] { background: var(--brand); }
.mega {
  position: absolute; top: calc(100% + 12px); left: 0;
  width: min(880px, calc(100vw - 48px)); min-height: 380px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); display: none; grid-template-columns: 250px 1fr; overflow: hidden;
}
.mega.is-open { display: grid; }
.mega-roots { list-style: none; background: var(--mist); padding: 10px 0; }
.mega-roots a { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px; font-weight: 500; font-size: 14px; }
.mega-roots li.is-open a, .mega-roots a:hover { background: #fff; color: var(--brand); }
.mega-panels { position: relative; }
.mega-panel { display: none; padding: 22px; gap: 20px 34px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); align-content: start; }
.mega-panel.is-open { display: grid; }
.mega-sub { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.mega-sub:hover { color: var(--brand); }
.mega-leaf { display: block; font-size: 13.5px; color: var(--slate); padding: 3px 0; }
.mega-leaf:hover { color: var(--brand); }

.search { position: relative; flex: 1 1 auto; display: flex; }
.search input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 11px 48px 11px 20px; background: var(--mist); font-size: 14px;
}
.search input:focus { outline: none; border-color: var(--brand); background: #fff; }
.search button {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  background: var(--brand); color: #fff; width: 37px; height: 37px;
  border-radius: 999px; display: grid; place-items: center;
}
.search button:hover { background: var(--brand-deep); }
.suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 95;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; max-height: 420px; overflow-y: auto;
}
.suggest a { display: flex; gap: 12px; align-items: center; padding: 10px 14px; }
.suggest a:hover { background: var(--mist); }
.suggest img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: var(--mist); }
.suggest .s-name { font-size: 14px; font-weight: 500; }
.suggest .s-meta { font-size: 12px; color: var(--slate); }
.suggest .s-price { margin-left: auto; font-weight: 700; font-size: 14px; }

.header-actions { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.badge-holder { position: relative; }
.badge {
  position: absolute; top: 2px; right: 0;
  background: var(--brand); color: #fff; font-size: 10.5px; font-weight: 700;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
  display: grid; place-items: center; line-height: 1;
}
.lang-switch { position: relative; }
.lang-code { font-size: 12.5px; font-weight: 700; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 95;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s);
  box-shadow: var(--shadow); list-style: none; min-width: 140px; overflow: hidden;
}
.lang-menu a { display: block; padding: 9px 14px; font-size: 14px; }
.lang-menu a:hover { background: var(--mist); }
.lang-menu a.is-active { color: var(--brand); font-weight: 700; }

/* ---------- Hero ---------- */
.hero { padding: 22px 0 8px; }
.slider { position: relative; border-radius: var(--radius); overflow: hidden; clip-path: var(--cut); background: var(--ink); }
.slides { position: relative; min-height: 380px; }
.slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity .5s; display: flex; align-items: center;
  background: linear-gradient(115deg, #17181C 30%, #3a0008 75%, var(--brand) 130%);
  background-size: cover; background-position: center right;
}
.slide.is-active { opacity: 1; pointer-events: auto; position: relative; }
.slide-inner { padding: 48px 56px; max-width: 560px; color: #fff; }
.slide-title { font-size: clamp(26px, 4vw, 42px); font-weight: 800; line-height: 1.15; letter-spacing: -.5px; }
.slide-sub { margin: 14px 0 24px; font-size: 16px; color: rgba(255,255,255,.82); max-width: 44ch; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center;
  background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: rgba(255,255,255,.3); }
.slider-prev { left: 14px; } .slider-next { right: 14px; }
.slider-dots { position: absolute; bottom: 16px; left: 56px; display: flex; gap: 7px; z-index: 5; }
.slider-dots button { width: 22px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); }
.slider-dots button.is-active { background: var(--brand); }

.hero-perks {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px;
}
.perk {
  display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500;
  background: var(--mist); border-radius: var(--radius-s); padding: 13px 16px; color: var(--ink);
}
.perk .icon { color: var(--brand); }

/* ---------- Sections ---------- */
.section { padding: 30px 0 6px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.section-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.section-more { display: inline-flex; align-items: center; gap: 3px; color: var(--brand); font-weight: 600; font-size: 14px; }
.section-more:hover { color: var(--brand-deep); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.cat-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  background: var(--mist); border-radius: var(--radius); padding: 18px 12px 15px;
  font-weight: 600; font-size: 13.5px; transition: background .15s;
}
.cat-card img { width: 84px; height: 84px; object-fit: contain; }
.cat-card:hover { background: #ECECEF; }

/* ---------- Product cards ---------- */
.p-grid { display: grid; gap: 14px; }
.p-grid-4 { grid-template-columns: repeat(4, 1fr); }
.p-grid-3 { grid-template-columns: repeat(3, 1fr); }
.p-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; display: flex; flex-direction: column; overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.p-card:hover { border-color: #CFD1D8; box-shadow: 0 6px 22px rgba(25,26,30,.07); }
.p-card-media { position: relative; display: block; aspect-ratio: 1; background: var(--mist); }
.p-card-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.p-flags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; }
.flag {
  font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 6px; color: #fff; width: max-content;
}
.flag-sale { background: var(--brand); clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%); }
.flag-new { background: var(--ok); }
.flag-hit { background: var(--ink); }
.flag-big { font-size: 14px; padding: 5px 12px; }
.wish-btn {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center;
  background: #fff; color: var(--slate); box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.wish-btn:hover { color: var(--brand); }
.wish-btn.is-active { color: var(--brand); }
.wish-btn.is-active svg { fill: var(--brand); }
.p-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.p-brand { font-size: 12px; font-weight: 600; color: var(--slate); }
a.p-brand:hover { color: var(--brand); }
.p-name {
  font-size: 14px; font-weight: 500; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.7em;
}
.p-name:hover { color: var(--brand); }
.p-rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--slate); }
.stars { display: inline-flex; gap: 1px; color: var(--amber); }
.p-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.p-price { font-size: 17px; font-weight: 800; }
.p-old { color: var(--slate); font-size: 13.5px; }
.btn-card {
  margin-top: 9px; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 12px; font-size: 13.5px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
}
.btn-card:hover { border-color: var(--brand); color: var(--brand); }
.btn-card.is-disabled { color: var(--slate); background: var(--mist); cursor: default; border-color: transparent; }

/* ---------- Offers / promos ---------- */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.offer-card {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--mist); border-radius: var(--radius); padding: 26px 28px;
  transition: background .15s;
}
.offer-card:hover { background: #ECECEF; }
.offer-info { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.offer-info h3 { font-size: 19px; font-weight: 700; }
.offer-info p { color: var(--slate); font-size: 13.5px; max-width: 34ch; }
.offer-card img { width: 200px; height: 200px; object-fit: contain; mix-blend-mode: multiply; }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.promo-banner {
  border-radius: var(--radius); padding: 34px; color: #fff; min-height: 180px;
  display: flex; align-items: center;
  background: linear-gradient(120deg, var(--ink), #3a0008 90%);
  background-size: cover; background-position: center;
}
.promo-banner h3 { font-size: 22px; font-weight: 800; }
.promo-banner p { margin: 8px 0 16px; color: rgba(255,255,255,.85); }

.brand-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px;
  font-weight: 700; font-size: 14px; color: var(--slate); display: flex; align-items: center;
}
.brand-chip:hover { border-color: var(--ink); color: var(--ink); }
.brand-chip img { max-height: 26px; width: auto; }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.post-card:hover h3 { color: var(--brand); }
.post-card img { aspect-ratio: 16/8.5; object-fit: cover; width: 100%; }
.post-body { padding: 15px 17px 17px; display: flex; flex-direction: column; gap: 7px; }
.post-body time { font-size: 12.5px; color: var(--slate); }
.post-body h3 { font-size: 16px; font-weight: 700; line-height: 1.35; }
.post-body p { font-size: 13.5px; color: var(--slate); }
.post-more { display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font-weight: 600; font-size: 13.5px; margin-top: 4px; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--ink); color: #fff; margin-top: 36px; clip-path: var(--cut); }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding-top: 38px; padding-bottom: 38px; flex-wrap: wrap; }
.newsletter h2 { font-size: 22px; font-weight: 800; }
.newsletter p { color: rgba(255,255,255,.75); margin-top: 5px; }
.newsletter-form { display: flex; gap: 9px; flex: 0 1 460px; }
.newsletter-form input {
  flex: 1; border: 0; border-radius: 999px; padding: 12px 20px; font-size: 14px;
}
.newsletter-form input:focus { outline: 2px solid var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: #131417; color: #C9CBD2; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 30px;
  padding-top: 42px; padding-bottom: 34px;
}
.site-footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.site-footer a { display: block; padding: 4px 0; font-size: 13.5px; color: #C9CBD2; }
.site-footer a:hover { color: #fff; }
.footer-brand p { font-size: 13.5px; margin: 10px 0; max-width: 30ch; }
.footer-contact { display: flex !important; align-items: center; gap: 8px; }
.footer-contact a { display: inline; padding: 0; }
.footer-contact .icon { color: var(--brand); }
.social-row { display: flex; gap: 8px; }
.social-row a { padding: 9px; background: rgba(255,255,255,.07); border-radius: 999px; display: grid; place-items: center; }
.social-row a:hover { background: var(--brand); color: #fff; }
.footer-pay-title { margin-top: 18px; }
.pay-row { display: flex; flex-wrap: wrap; gap: 7px; }
.pay-chip { border: 1px solid rgba(255,255,255,.18); border-radius: 7px; font-size: 11.5px; font-weight: 700; padding: 5px 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; font-size: 13px; }

/* ---------- Page scaffolding ---------- */
.page-pad { padding-top: 26px; padding-bottom: 44px; }
.page-pad h1 { font-size: 26px; font-weight: 800; letter-spacing: -.4px; margin-bottom: 18px; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--slate); margin-bottom: 14px; }
.crumbs a:hover { color: var(--brand); }
.crumbs .icon { color: #B9BBC3; }
.notice {
  display: flex; align-items: center; gap: 9px; border-radius: var(--radius-s);
  padding: 12px 16px; font-size: 14px; font-weight: 500; margin: 14px 0;
}
.notice-ok { background: #E8F6EE; color: var(--ok); }
.notice-err { background: #FDECEE; color: var(--brand-deep); }
.empty-state {
  text-align: center; padding: 60px 20px; color: var(--slate);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.empty-state h1, .empty-state h3 { color: var(--ink); margin: 0; }
.empty-state .icon { color: #C6C8CF; }
.err-code { font-size: 64px; font-weight: 800; color: var(--brand); line-height: 1; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 13.5px; font-weight: 500; }
.chip:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Catalog ---------- */
.catalog-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.catalog-count { color: var(--slate); font-size: 14px; }
.catalog-desc { color: var(--slate); max-width: 76ch; margin-bottom: 18px; }
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: start; }
.filters { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 84px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.f-group { border: 0; padding: 0 0 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.f-group:last-of-type { border-bottom: 0; }
.f-group legend { font-weight: 700; font-size: 14px; padding-bottom: 9px; }
.f-check { display: flex; align-items: center; gap: 9px; padding: 4px 0; font-size: 14px; cursor: pointer; }
.f-check input { width: 16px; height: 16px; accent-color: var(--brand); }
.f-stars { display: inline-flex; align-items: center; gap: 3px; }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs input { width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-s); padding: 8px 10px; font-size: 14px; }
.price-inputs input:focus { outline: none; border-color: var(--brand); }
.f-actions { display: flex; flex-direction: column; gap: 8px; }
.sort-row { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-bottom: 14px; font-size: 14px; color: var(--slate); }
.sort-row select { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; background: #fff; }
.filters-open { margin-bottom: 12px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 26px; }
.pagination a {
  min-width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; padding: 0 8px;
}
.pagination a:hover { border-color: var(--ink); }
.pagination a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pg-dots { align-self: center; color: var(--slate); }

/* ---------- Product page ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; margin-bottom: 34px; }
.gallery-main {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--mist); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden;
}
.gallery-main img { width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; cursor: zoom-in; }
.gallery-main .flag-big { position: absolute; top: 14px; left: 14px; }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; background: #fff; border-radius: 999px; width: 38px; height: 38px; display: grid; place-items: center; color: var(--slate); box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.gallery-thumbs { display: flex; gap: 9px; margin-top: 10px; flex-wrap: wrap; }
.thumb { width: 72px; height: 72px; border: 1.5px solid var(--line); border-radius: var(--radius-s); overflow: hidden; background: var(--mist); padding: 4px; }
.thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumb.is-active { border-color: var(--brand); }
.product-title { font-size: 25px; font-weight: 800; line-height: 1.25; letter-spacing: -.3px; margin: 4px 0 10px; }
.product-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13.5px; color: var(--slate); margin-bottom: 16px; }
.p-sku b { font-weight: 600; color: var(--ink); }
.price-block { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.price-now { font-size: 30px; font-weight: 800; }
.price-old { font-size: 17px; color: var(--slate); }
.product-short { color: var(--slate); margin-bottom: 18px; max-width: 60ch; }
.variants { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.variant-label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 7px; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-opt {
  border: 1.5px solid var(--line); border-radius: var(--radius-s); padding: 8px 16px; font-size: 14px; font-weight: 500;
}
.variant-opt:hover { border-color: var(--ink); }
.variant-opt.is-active { border-color: var(--brand); color: var(--brand); font-weight: 700; }
.variant-opt.is-off { opacity: .35; text-decoration: line-through; pointer-events: none; }
.stock-line { margin-bottom: 16px; font-size: 14px; font-weight: 600; }
.stock-ok { color: var(--ok); display: inline-flex; align-items: center; gap: 6px; }
.stock-low { color: var(--amber); display: inline-flex; align-items: center; gap: 6px; }
.stock-out { color: var(--brand); }
.stock-hint { color: var(--slate); font-weight: 500; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; margin-bottom: 20px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; height: 46px; display: grid; place-items: center; color: var(--slate); }
.qty button:hover { color: var(--ink); background: var(--mist); }
.qty input { width: 46px; border: 0; text-align: center; font-weight: 700; font-size: 15px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty input:focus { outline: none; }
.btn-wish { padding: 11px 16px; }
.btn-wish.is-active { color: var(--brand); border-color: var(--brand); }
.btn-wish.is-active svg { fill: var(--brand); }
.assurances { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--slate); border-top: 1px solid var(--line); padding-top: 16px; }
.assurances li { display: flex; align-items: center; gap: 9px; }
.assurances .icon { color: var(--brand); }

.tabs { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tab-list { display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); background: var(--mist); }
.tab { padding: 14px 22px; font-weight: 600; font-size: 14px; color: var(--slate); white-space: nowrap; border-bottom: 2px solid transparent; }
.tab.is-active { color: var(--ink); background: #fff; border-bottom-color: var(--brand); }
.tab-pane { display: none; padding: 24px; }
.tab-pane.is-active { display: block; }
.rich { font-size: 14.5px; line-height: 1.7; max-width: 78ch; }
.spec-table { width: 100%; border-collapse: collapse; max-width: 640px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; font-size: 14px; border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--slate); font-weight: 500; width: 40%; }
.review { padding: 14px 0; border-bottom: 1px solid var(--line); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; font-size: 14px; }
.review-head time { color: var(--slate); font-size: 12.5px; margin-left: auto; }
.review p { font-size: 14px; }
.review-form { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.review-form h3 { font-size: 17px; }
.review-form textarea { border: 1.5px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; resize: vertical; }
.review-form textarea:focus { outline: none; border-color: var(--brand); }
.rate-pick { display: inline-flex; flex-direction: row-reverse; gap: 3px; }
.rate-pick input { position: absolute; opacity: 0; }
.rate-pick label { font-size: 26px; color: #D6D8DE; cursor: pointer; }
.rate-pick input:checked ~ label, .rate-pick label:hover, .rate-pick label:hover ~ label { color: var(--amber); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,20,24,.92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 18px; right: 20px; color: #fff; }

/* ---------- Cart / checkout ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; }
.cart-list { display: flex; flex-direction: column; }
.cart-item {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.cart-thumb { border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--mist); padding: 6px; }
.cart-thumb img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.cart-mid { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-name { font-weight: 600; font-size: 14.5px; }
.cart-name:hover { color: var(--brand); }
.cart-opts { font-size: 12.5px; color: var(--slate); }
.cart-unit { font-size: 13px; color: var(--slate); }
.cart-right { display: flex; align-items: center; gap: 16px; }
.cart-right .qty button { height: 38px; width: 34px; }
.cart-total { font-weight: 800; font-size: 15.5px; min-width: 84px; text-align: right; }
.cart-summary {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column; gap: 12px; position: sticky; top: 84px;
}
.coupon-form { display: flex; gap: 8px; }
.coupon-form input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: 14px; text-transform: uppercase; }
.coupon-form input:focus { outline: none; border-color: var(--brand); }
.coupon-msg { font-size: 13px; font-weight: 600; }
.coupon-msg.ok { color: var(--ok); } .coupon-msg.err { color: var(--brand); }
.totals { display: flex; flex-direction: column; gap: 8px; }
.totals > div { display: flex; justify-content: space-between; font-size: 14px; }
.totals dt { color: var(--slate); }
.totals-grand { border-top: 1px solid var(--line); padding-top: 10px; font-size: 17px !important; }
.totals-grand dt { color: var(--ink); font-weight: 700; }
.totals-grand dd { font-weight: 800; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.panel-title { font-size: 16.5px; font-weight: 700; margin-bottom: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-grid label, .auth-box label { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; font-weight: 500; }
.form-grid input, .form-grid textarea, .auth-box input {
  border: 1.5px solid var(--line); border-radius: var(--radius-s); padding: 11px 13px; font-size: 14px; width: 100%;
}
.form-grid input:focus, .form-grid textarea:focus, .auth-box input:focus { outline: none; border-color: var(--brand); }
.span-2 { grid-column: span 2; }
.pick-row {
  display: flex; align-items: center; gap: 13px; border: 1.5px solid var(--line);
  border-radius: var(--radius-s); padding: 13px 15px; margin-bottom: 9px; cursor: pointer; font-size: 14px;
}
.pick-row:has(input:checked) { border-color: var(--brand); background: #FFF6F7; }
.pick-row input { accent-color: var(--brand); width: 17px; height: 17px; }
.pick-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pick-name { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.pick-hint { font-size: 12.5px; color: var(--slate); }
.mini-items { list-style: none; display: flex; flex-direction: column; gap: 10px; max-height: 300px; overflow-y: auto; }
.mini-items li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.mini-items img { width: 46px; height: 46px; object-fit: contain; background: var(--mist); border-radius: 8px; padding: 3px; }
.mini-name { flex: 1; min-width: 0; }
.success-box { max-width: 620px; margin: 20px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.success-mark { width: 68px; height: 68px; border-radius: 999px; background: #E8F6EE; color: var(--ok); display: grid; place-items: center; }
.order-table { width: 100%; border-collapse: collapse; text-align: left; margin: 8px 0; }
.order-table td { padding: 9px 6px; border-bottom: 1px solid var(--line); font-size: 14px; }
.order-grand td { font-weight: 800; font-size: 15.5px; border-bottom: 0; }
.success-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ---------- Auth / account ---------- */
.auth-box { max-width: 420px; margin: 20px auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.auth-box h1 { font-size: 22px; margin-bottom: 16px; }
.auth-box form { display: flex; flex-direction: column; gap: 13px; }
.auth-links { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; font-size: 13.5px; color: var(--slate); }
.auth-links a { color: var(--brand); font-weight: 600; }
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.account-nav { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.account-hello { display: flex; align-items: center; gap: 12px; padding: 17px; border-bottom: 1px solid var(--line); background: var(--mist); }
.account-hello small { display: block; color: var(--slate); font-size: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 999px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; flex: 0 0 auto; }
.account-nav > a { display: flex; align-items: center; gap: 11px; padding: 12px 17px; font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--line); }
.account-nav > a:last-child { border-bottom: 0; }
.account-nav > a:hover { background: var(--mist); }
.account-nav > a.is-active { color: var(--brand); font-weight: 700; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { text-align: left; padding: 11px 12px; font-size: 14px; border-bottom: 1px solid var(--line); }
.data-table th { color: var(--slate); font-weight: 600; font-size: 12.5px; }
.data-table a { color: var(--brand); font-weight: 600; }
.status { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status-pending { background: #FFF4DE; color: #9A6A00; }
.status-processing { background: #E7F0FF; color: #1D4ED8; }
.status-paid { background: #E8F6EE; color: var(--ok); }
.status-shipped { background: #EDE9FE; color: #6D28D9; }
.status-delivered { background: #E8F6EE; color: var(--ok); }
.status-cancelled { background: #FDECEE; color: var(--brand-deep); }
.status-refunded { background: var(--mist); color: var(--slate); }
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-bottom: 18px; }
.addr-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 7px; font-size: 14px; }
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.contact-side p { display: flex; align-items: center; gap: 10px; }
.contact-side .icon { color: var(--brand); }
.article { max-width: 800px; margin: 0 auto; }
.article h1 { font-size: 28px; }
.article-meta { color: var(--slate); font-size: 13.5px; margin-bottom: 18px; }
.article-cover { border-radius: var(--radius); margin-bottom: 22px; width: 100%; object-fit: cover; }
.article-body { font-size: 15px; }

/* ---------- Toast, overlay, drawer, mobile ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; z-index: 300; box-shadow: var(--shadow);
}
.overlay { position: fixed; inset: 0; background: rgba(20,20,24,.45); z-index: 100; }
.mobile-drawer {
  position: fixed; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); z-index: 110;
  background: #fff; overflow-y: auto; box-shadow: var(--shadow);
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.drawer-nav details { border-bottom: 1px solid var(--line); }
.drawer-nav summary { display: flex; justify-content: space-between; align-items: center; padding: 13px 18px; font-weight: 600; font-size: 14.5px; cursor: pointer; list-style: none; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-sub { display: block; padding: 9px 18px 9px 30px; font-size: 14px; color: var(--slate); }
.drawer-links { padding: 14px 0; }
.drawer-links a { display: block; padding: 10px 18px; font-weight: 500; }
.mobile-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  background: #fff; border-top: 1px solid var(--line);
  display: flex; justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.mobile-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; color: var(--slate); padding: 4px 10px; position: relative; }
.mobile-nav a.is-active, .mobile-nav a:hover { color: var(--brand); }
.badge-mini { top: -2px; right: 2px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .p-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .only-desktop { display: none !important; }
  .only-mobile { display: inline-flex !important; }
  body { padding-bottom: 64px; }
  .header-row { height: 60px; gap: 10px; }
  .logo-text { font-size: 18px; }
  .search { order: 5; flex-basis: 100%; padding-bottom: 10px; }
  .header-row { flex-wrap: wrap; height: auto; padding-top: 10px; }
  .p-grid-4, .p-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-perks { grid-template-columns: repeat(2, 1fr); }
  .slide-inner { padding: 30px 24px; }
  .slides { min-height: 300px; }
  .slider-dots { left: 24px; }
  .offer-grid, .promo-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .product-layout { grid-template-columns: 1fr; gap: 22px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed; inset: 0 auto 0 0; width: min(340px, 90vw); z-index: 120;
    background: #fff; border-radius: 0; overflow-y: auto; transform: translateX(-105%);
    transition: transform .25s; top: 0; border: 0; box-shadow: var(--shadow); padding: 18px;
  }
  .filters.is-open { transform: translateX(0); }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-right { grid-column: 1 / -1; justify-content: space-between; }
}
@media (max-width: 520px) {
  .p-grid-4, .p-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .p-card-body { padding: 10px 11px 12px; }
  .post-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .section-head h2 { font-size: 19px; }
  .buy-row .btn-lg { flex: 1 1 100%; }
  .newsletter-inner { flex-direction: column; align-items: stretch; }
}

/* --- uploaded logo --- */
.logo-img { max-height: 44px; max-width: 190px; width: auto; object-fit: contain; display: block; }
.logo-img-sm { max-height: 34px; }
@media (max-width: 640px) { .logo-img { max-height: 36px; max-width: 150px; } }


/* ============================================================
   REFINED PRODUCT CARDS — ერთგვაროვანი ზომები, ნაზი ჩრდილები
   ============================================================ */
.p-card { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.p-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(20, 20, 30, .10); border-color: transparent; }
.p-card-media { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; padding: 22px; }
.p-card-media img { width: 100%; height: 100%; object-fit: contain; object-position: center;
  transition: transform .35s ease; }
.p-card:hover .p-card-media img { transform: scale(1.045); }
.p-flags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.flag { font-size: 11.5px; font-weight: 800; letter-spacing: .2px; padding: 4px 10px; border-radius: 999px; color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.14); }
.flag-sale { background: var(--brand); }
.flag-new { background: #1B8A4B; }
.flag-hit { background: #191A1E; }
.wish-btn { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--slate);
  transition: all .2s ease; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.wish-btn:hover { color: var(--brand); border-color: var(--brand); transform: scale(1.08); }
.wish-btn.is-active { color: #fff; background: var(--brand); border-color: var(--brand); }
.p-card-body { display: flex; flex-direction: column; gap: 7px; padding: 4px 16px 16px; flex: 1; border-top: 1px solid #F3F3F5; padding-top: 13px; }
.p-brand { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #9A9DA6; }
.p-name { font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.p-name:hover { color: var(--brand); }
.p-rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--slate); }
.p-price-row { display: flex; align-items: baseline; gap: 9px; margin-top: auto; padding-top: 4px; }
.p-price { font-size: 18px; font-weight: 800; letter-spacing: -.3px; }
.p-old { font-size: 13px; color: #B3B6BF; }
.btn-card { width: 100%; justify-content: center; gap: 8px; border: 1.5px solid var(--line); background: #fff;
  color: var(--ink); font-weight: 700; font-size: 13.5px; border-radius: 12px; padding: 10px 12px; transition: all .2s ease; }
.btn-card:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-card.is-disabled { opacity: .5; pointer-events: none; }

/* ============================================================
   CATEGORY STRIP — ჰორიზონტალური ლენტა ისრებით
   ============================================================ */
.cat-strip-wrap { position: relative; }
.cat-strip { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px 14px; scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-tile { flex: 0 0 auto; width: 190px; scroll-snap-align: start; text-align: center;
  display: flex; flex-direction: column; gap: 13px; }
.cat-tile-media { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden;
  background: var(--mist); box-shadow: 0 4px 14px rgba(20,20,30,.07); transition: box-shadow .25s ease, transform .25s ease; }
.cat-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat-tile:hover .cat-tile-media { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20,20,30,.14); }
.cat-tile:hover .cat-tile-media img { transform: scale(1.06); }
.cat-tile-name { font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.35; }
.cat-tile:hover .cat-tile-name { color: var(--brand); }
.strip-arrow { position: absolute; top: 40%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink); cursor: pointer;
  box-shadow: 0 6px 18px rgba(20,20,30,.14); transition: all .2s ease; }
.strip-arrow:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.strip-arrow:disabled { opacity: 0; pointer-events: none; }
.strip-prev { left: -14px; }
.strip-next { right: -14px; }
@media (max-width: 860px) {
  .cat-tile { width: 150px; }
  .cat-tile-name { font-size: 14px; }
  .strip-arrow { display: none; }
}

/* ============================================================
   MINI CART
   ============================================================ */
.mini-cart-holder { position: relative; }
.mini-cart { position: absolute; top: calc(100% + 10px); right: -6px; width: 340px; z-index: 120;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 18px 46px rgba(20,20,30,.16); padding: 0; }
.mini-cart::before { content: ''; position: absolute; top: -10px; right: 12px; left: 0; height: 12px; }
.mini-cart-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.mini-cart-items { max-height: 320px; overflow-y: auto; padding: 6px 6px; }
.mini-cart-empty { padding: 22px 12px; text-align: center; color: var(--slate); font-size: 13.5px; }
.mc-item { display: grid; grid-template-columns: 56px 1fr 26px; gap: 11px; align-items: center; padding: 9px 10px; border-radius: 12px; }
.mc-item:hover { background: var(--mist); }
.mc-img { width: 56px; height: 56px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.mc-img img { width: 88%; height: 88%; object-fit: contain; }
.mc-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mc-name { font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mc-name:hover { color: var(--brand); }
.mc-opts { font-size: 11.5px; color: var(--slate); }
.mc-line { font-size: 12.5px; color: var(--slate); }
.mc-line, .mc-name { word-break: break-word; }
.mc-remove { width: 26px; height: 26px; border-radius: 999px; border: 0; background: transparent; color: #B3B6BF;
  font-size: 18px; line-height: 1; cursor: pointer; transition: all .15s ease; }
.mc-remove:hover { background: #FDECEE; color: var(--brand); }
.mini-cart-foot { padding: 13px 16px 15px; border-top: 1px solid var(--line); }
.mini-cart-total { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 11px; }
.mini-cart-total b { font-size: 16px; }
.mini-cart-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.mini-cart-btns .btn { justify-content: center; font-size: 13.5px; padding: 10px 8px; }
@media (max-width: 860px) { .mini-cart { display: none !important; } }

/* ============================================================
   AUTH — დახვეწილი ავტორიზაცია/რეგისტრაცია
   ============================================================ */
.auth-shell { display: grid; grid-template-columns: 420px 1fr; max-width: 940px; margin: 34px auto 60px;
  border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(20,20,30,.13); border: 1px solid var(--line); background: #fff; }
.auth-side { background: linear-gradient(150deg, #23050A 0%, #191A1E 45%, #3d060e 100%); color: #fff;
  padding: 46px 40px; display: flex; flex-direction: column; gap: 26px; position: relative; overflow: hidden; }
.auth-side::after { content: ''; position: absolute; right: -70px; bottom: -70px; width: 260px; height: 260px;
  border-radius: 999px; background: radial-gradient(circle, rgba(226,0,26,.35), transparent 68%); }
.auth-side .logo-text { font-size: 25px; }
.auth-side h2 { font-size: 24px; line-height: 1.3; font-weight: 800; }
.auth-side p { color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.65; }
.auth-perks { display: flex; flex-direction: column; gap: 15px; margin-top: auto; position: relative; z-index: 1; }
.auth-perk { display: flex; gap: 12px; align-items: center; font-size: 13.5px; font-weight: 600; }
.auth-perk i { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.09); display: grid; place-items: center; color: #FF7A6B; flex-shrink: 0; }
.auth-main { padding: 46px 48px; display: flex; flex-direction: column; justify-content: center; }
.auth-main h1 { font-size: 26px; letter-spacing: -.4px; margin-bottom: 6px; }
.auth-sub { color: var(--slate); font-size: 14px; margin-bottom: 24px; }
.auth-main form { display: flex; flex-direction: column; gap: 15px; }
.auth-main .form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.auth-main label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #5A5E6A; }
.auth-main input { font: inherit; font-size: 14.5px; border: 1.5px solid var(--line); border-radius: 13px;
  padding: 12px 15px; background: #FBFBFC; transition: all .18s ease; }
.auth-main input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(226,0,26,.08); }
.auth-main .btn-primary { border-radius: 999px; padding: 13px; font-size: 15px; margin-top: 6px; justify-content: center; }
.auth-links { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; font-size: 13.5px; color: var(--slate); }
.auth-links a { color: var(--brand); font-weight: 700; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: #B3B6BF; font-size: 12px; margin: 4px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 860px) {
  .auth-shell { grid-template-columns: 1fr; margin: 12px auto 40px; border-radius: 18px; }
  .auth-side { padding: 26px 24px; gap: 14px; }
  .auth-side h2 { font-size: 19px; }
  .auth-perks { display: none; }
  .auth-main { padding: 26px 22px 30px; }
  .auth-main .form-2col { grid-template-columns: 1fr; }
}

/* ============================================================
   MEGA MENU v2 — მოწესრიგებული, სქროლვადი, იერარქიული
   ============================================================ */
.mega { width: min(1120px, calc(100vw - 48px)); min-height: 0; border-radius: 20px;
  grid-template-columns: 264px 1fr; box-shadow: 0 26px 60px rgba(15, 15, 25, .18); border-color: #ECECEF; }
.mega-roots { background: #F8F8FA; padding: 12px 10px; max-height: 560px; overflow-y: auto; border-right: 1px solid var(--line); }
.mega-roots li { border-radius: 12px; overflow: hidden; margin-bottom: 2px; }
.mega-roots a { padding: 11px 14px; font-weight: 600; font-size: 14px; color: var(--ink);
  border-radius: 12px; transition: all .15s ease; border-left: 3px solid transparent; }
.mega-roots a svg { color: #C2C5CD; transition: transform .15s ease, color .15s ease; }
.mega-roots li.is-open a { background: #fff; color: var(--brand); border-left-color: var(--brand);
  box-shadow: 0 3px 10px rgba(20,20,30,.07); }
.mega-roots li.is-open a svg { color: var(--brand); transform: translateX(2px); }
.mega-roots a:hover { background: #fff; color: var(--brand); }
.mega-panel { display: none; padding: 0; }
.mega-panel.is-open { display: flex; flex-direction: column; }
.mega-scroll { flex: 1; overflow-y: auto; max-height: 500px; padding: 24px 28px 14px; }
.mega-scroll::-webkit-scrollbar { width: 8px; }
.mega-scroll::-webkit-scrollbar-thumb { background: #E2E3E8; border-radius: 99px; }
.mega-flow { column-count: 3; column-gap: 34px; }
@media (max-width: 1100px) { .mega-flow { column-count: 2; } }
.mega-group { break-inside: avoid; margin-bottom: 20px; }
.mega-sub { font-size: 14px; font-weight: 800; margin-bottom: 9px; padding-bottom: 7px;
  border-bottom: 2px solid #F1F1F4; position: relative; }
.mega-sub::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 26px; height: 2px; background: var(--brand); }
.mega-leaves { display: flex; flex-direction: column; }
.mega-leaf { font-size: 13px; color: #6B6F7B; padding: 4.5px 0 4.5px 12px; position: relative; border-radius: 7px;
  transition: all .13s ease; line-height: 1.4; }
.mega-leaf::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 4px; border-radius: 99px; background: #D5D7DD; transition: background .13s ease; }
.mega-leaf:hover { color: var(--brand); padding-left: 15px; }
.mega-leaf:hover::before { background: var(--brand); }
.mega-all { display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 13px; font-size: 13.5px; font-weight: 700; color: var(--brand);
  border-top: 1px solid var(--line); background: #FCFCFD; transition: background .15s ease; }
.mega-all:hover { background: #FDECEE; }
.mega-empty { padding: 30px; color: var(--slate); }

/* ============================================================
   PRODUCT CARD v3 — ჩარჩოში ჩასმული ფოტო, სუფთა იერი
   ============================================================ */
.p-grid { gap: 18px; }
.p-card { border: 0; border-radius: 20px; background: #fff;
  box-shadow: 0 1px 3px rgba(20,20,30,.06), 0 0 0 1px rgba(20,20,30,.045);
  padding: 10px 10px 0; }
.p-card:hover { transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(20,20,30,.13), 0 0 0 1px rgba(20,20,30,.03); border-color: transparent; }
.p-card-media { border-radius: 14px; background: #F5F5F7; padding: 20px; overflow: hidden; }
.p-card-media img { mix-blend-mode: multiply; }
.p-flags { top: 10px; left: 10px; }
.flag { font-size: 11px; padding: 4px 9px; }
.wish-btn { top: 9px; right: 9px; width: 36px; height: 36px; border: 0; background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px); opacity: 0; transform: translateY(-4px); }
.p-card:hover .wish-btn, .wish-btn.is-active { opacity: 1; transform: translateY(0); }
@media (hover: none) { .wish-btn { opacity: 1; transform: none; } }
.p-card-body { border-top: 0; padding: 13px 8px 14px; gap: 6px; }
.p-brand { font-size: 10.5px; letter-spacing: 1px; color: #A6A9B3; }
.p-name { font-size: 14px; }
.p-rating svg { color: #F5A623; }
.p-price { font-size: 19px; }
.p-price-row { padding-top: 2px; }
.btn-card { border: 0; background: #F5F5F7; color: var(--ink); border-radius: 12px; font-size: 13.5px; }
.btn-card:hover { background: var(--brand); color: #fff; }
.btn-card svg { transition: transform .2s ease; }
.btn-card:hover svg { transform: scale(1.12); }

/* products per row — ადმინიდან იმართება */
@media (min-width: 1025px) {
  .p-grid-4 { grid-template-columns: repeat(var(--cols-home, 4), 1fr); }
  .p-grid-3 { grid-template-columns: repeat(var(--cols-catalog, 3), 1fr); }
}

/* ============================================================
   HERO SLIDER v2 — სრული ფოტო, Ken Burns, ანიმაციები
   ============================================================ */
.slider { border-radius: 24px; clip-path: none; background: #14151A;
  box-shadow: 0 20px 50px rgba(15,15,25,.14); }
.slides { position: relative; min-height: clamp(330px, 34vw, 460px); }
.slide { position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity .7s ease; display: flex; align-items: center; overflow: hidden;
  background: none; }
.slide.is-active { opacity: 1; pointer-events: auto; position: absolute; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slide.is-active .slide-bg { animation: heroKenBurns 7s ease-out forwards; }
@keyframes heroKenBurns { from { transform: scale(1.07); } to { transform: scale(1); } }
.slide-bg-fallback { background: linear-gradient(120deg, #2B060C, #191A1E 55%, #56070f); }
.slide-scrim { position: absolute; inset: 0;
  background: linear-gradient(98deg, rgba(10,10,14,.76) 0%, rgba(10,10,14,.44) 42%, rgba(10,10,14,.06) 72%, transparent 100%); }
.slide-inner { position: relative; z-index: 2; padding: 40px 72px; max-width: 620px; }
.slide-title { text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.slide.is-active .slide-title { animation: heroUp .65s .12s cubic-bezier(.22,.9,.3,1) backwards; }
.slide.is-active .slide-sub   { animation: heroUp .65s .26s cubic-bezier(.22,.9,.3,1) backwards; }
.slide.is-active .slide-cta   { animation: heroUp .65s .4s  cubic-bezier(.22,.9,.3,1) backwards; }
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.slide-cta { border-radius: 999px; padding: 13px 26px; font-weight: 800; gap: 9px;
  box-shadow: 0 10px 26px rgba(0,0,0,.25); transition: transform .2s ease, box-shadow .2s ease; }
.slide-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,0,0,.32); }
.slide-cta svg { transition: transform .2s ease; }
.slide-cta:hover svg { transform: translateX(3px); }

/* arrows — მინის ეფექტი, hover-ზე ჩნდება */
.slider-arrow { width: 48px; height: 48px; border-radius: 999px;
  background: rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22); color: #fff; opacity: 0;
  transition: all .22s ease; z-index: 6; }
.slider:hover .slider-arrow { opacity: 1; }
.slider-arrow:hover { background: rgba(255,255,255,.92); color: var(--ink); transform: translateY(-50%) scale(1.07); }
.slider-prev { left: 18px; } .slider-next { right: 18px; }
@media (hover: none) { .slider-arrow { opacity: 1; } }

/* dots — პროგრესის ინდიკატორით */
.slider-dots { left: 72px; bottom: 24px; gap: 8px; }
.slider-dots button { width: 10px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.34);
  overflow: hidden; position: relative; transition: width .3s ease, background .3s ease; }
.slider-dots button:hover { background: rgba(255,255,255,.6); }
.slider-dots button.is-active { width: 44px; background: rgba(255,255,255,.28); }
.slider-dots button.is-active::after { content: ''; position: absolute; inset: 0; border-radius: 99px;
  background: var(--brand); transform-origin: left; animation: dotFill 5.5s linear forwards; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 860px) {
  .slider { border-radius: 16px; }
  .slides { min-height: 300px; }
  .slide-inner { padding: 26px 22px; }
  .slider-dots { left: 22px; bottom: 16px; }
  .slide-scrim { background: linear-gradient(180deg, rgba(10,10,14,.15) 0%, rgba(10,10,14,.72) 78%); }
  .slide { align-items: flex-end; }
  .slide-inner { padding-bottom: 44px; }
}

/* ============================================================
   MOBILE v2 — სუფთა ჰედერი, სქროლ-ძებნა, ცოცხალი ნავიგაცია
   ============================================================ */
.search-close { display: none; }

@media (max-width: 860px) {
  /* --- header: ერთი მწკრივი, ლოგო ცენტრში --- */
  .header-row { flex-wrap: nowrap; height: 60px; padding: 0; gap: 6px; align-items: center; }
  .logo { margin-right: auto; margin-left: 4px; }
  .header-actions { gap: 2px; }
  .icon-btn { width: 42px; height: 42px; }

  /* --- search: ჩაკეცილი ზედა პანელი --- */
  .search {
    order: 0; flex-basis: auto; padding-bottom: 0;
    position: fixed; top: 0; left: 0; right: 0; z-index: 140;
    background: #fff; padding: 12px 14px calc(12px + 2px);
    box-shadow: 0 12px 34px rgba(15,15,25,.16);
    transform: translateY(-115%); transition: transform .3s cubic-bezier(.32,.9,.35,1);
    display: flex;
  }
  body.search-open .search { transform: translateY(0); }
  .search input { padding: 13px 92px 13px 18px; font-size: 15px; }
  .search button[type="submit"] { right: 52px; }
  .search-close {
    display: grid; place-items: center; position: absolute; right: 19px; top: 50%;
    transform: translateY(-50%); width: 37px; height: 37px; border-radius: 999px;
    background: var(--mist); color: var(--ink);
  }
  .search .suggest { top: calc(100% - 4px); left: 14px; right: 14px; }

  /* --- bottom nav: ანიმაციები --- */
  .mobile-nav { padding-top: 8px; box-shadow: 0 -8px 26px rgba(15,15,25,.07); border-top-color: #EFEFF2; }
  .mobile-nav a { transition: color .2s ease; -webkit-tap-highlight-color: transparent; }
  .mobile-nav a svg { transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
  .mobile-nav a:active svg { transform: scale(.78); }
  .mobile-nav a.is-active { color: var(--brand); }
  .mobile-nav a.is-active svg { transform: translateY(-3px) scale(1.08); }
  .mobile-nav a.is-active span:last-child { font-weight: 800; }
  .mobile-nav a::before {
    content: ''; position: absolute; top: -9px; left: 50%; transform: translateX(-50%) scaleX(0);
    width: 22px; height: 3.5px; border-radius: 99px; background: var(--brand);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  }
  .mobile-nav a.is-active::before { transform: translateX(-50%) scaleX(1); }
  .badge.pop { animation: badgePop .45s cubic-bezier(.34,1.56,.64,1); }
}
@keyframes badgePop { 0% { transform: scale(1); } 40% { transform: scale(1.55); } 100% { transform: scale(1); } }

/* --- product card button: მობილურზე ზუსტი ჩასმა --- */
@media (max-width: 640px) {
  .btn-card { font-size: 12.5px; padding: 9px 6px; gap: 6px; overflow: hidden; letter-spacing: -.1px; }
  .btn-card svg { width: 15px; height: 15px; flex-shrink: 0; }
  .p-price { font-size: 17px; }
  .p-name { font-size: 13.5px; }
  .p-card { padding: 7px 7px 0; border-radius: 16px; }
  .p-card-media { padding: 14px; border-radius: 11px; }
  .p-card-body { padding: 11px 6px 12px; }
}
@media (max-width: 380px) {
  .btn-card { font-size: 11.5px; padding: 8px 4px; gap: 5px; }
}

/* --- filters: category tree --- */
.f-cats { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 16px; }
.f-cats legend { font-size: 13px; font-weight: 800; margin-bottom: 10px; display: block; }
.f-cat-all { display: block; font-size: 13.5px; font-weight: 700; padding: 6px 0; color: var(--ink); }
.f-cat-all.is-active, .f-cats a.is-active { color: var(--brand); }
.f-cat summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; padding: 7px 0; }
.f-cat summary::-webkit-details-marker { display: none; }
.f-cat summary a { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.f-cat summary a:hover { color: var(--brand); }
.f-cat summary svg { color: #B3B6BF; transition: transform .2s ease; flex-shrink: 0; }
.f-cat[open] > summary svg { transform: rotate(180deg); }
.f-cat-sub { display: flex; flex-direction: column; padding: 2px 0 8px 12px; }
.f-cat-sub a { font-size: 13px; color: #6B6F7B; padding: 4.5px 0; }
.f-cat-sub a:hover { color: var(--brand); }
.f-cat-l3 { padding-left: 14px !important; font-size: 12.5px !important; color: #8B8F9A !important; }
.f-cat-l3:hover, .f-cat-sub a.is-active { color: var(--brand) !important; font-weight: 700; }

/* --- card button: short label on mobile --- */
.bt-short { display: none; }
@media (max-width: 640px) {
  .bt-full { display: none; }
  .bt-short { display: inline; }
  .btn-card { font-size: 13px; padding: 10px 8px; gap: 7px; }
}

/* --- credo installment --- */
.pick-desc { display: block; font-size: 12px; color: var(--slate); margin-top: 3px; line-height: 1.45; }
.credo-box { margin: 18px auto; max-width: 460px; padding: 16px 20px; border: 1px solid var(--line);
  border-radius: 14px; background: #FBFBFC; display: flex; flex-direction: column; gap: 9px; align-items: center; }
.credo-box b { font-size: 14.5px; }
.credo-ok { color: #1B8A4B; font-weight: 700; }
.credo-bad { color: var(--brand); font-weight: 700; }
