/* ============================================================
   MAGA.GE — maga.css
   ფაზა 1: Variables · Reset · Header · Drawer
   
   გამოყენება: main.dwt-ში შეცვალე merch.css → maga.css
   ============================================================ */


/* ============================================================
   1. CSS VARIABLES — ფერის შეცვლა მხოლოდ აქ
   ============================================================ */
:root {
  /* ── ACCENT ── */
  --a:        #ff7a00;   /* მთავარი ნარინჯი */
  --a-dim:    #c85e00;   /* მუქი ნარინჯი (ფასი, hover) */
  --a-bg:     #fff8f3;   /* ღია ფონი */
  --a-border: #ffd6b0;   /* ღია საზღვარი */
  --a-glow:   rgba(255,122,0,0.18);

  /* ── NEUTRALS ── */
  --ink:      #0f1117;
  --ink-2:    #374151;
  --ink-3:    #6b7280;
  --surface:  #ffffff;
  --surface-2:#f7f8fa;
  --border:   #e8eaed;
  --border-2: #f0f0f0;

  /* ── GREEN ── */
  --green:    #25D366;
  --green-dk: #1da851;

  /* ── LAYOUT ── */
  --max-w:    1140px;
  --pad:      16px;
  --gap:      16px;
  --r:        12px;
  --r-lg:     16px;

  /* ── FONTS ── */
  --f-display: 'Sora', sans-serif;
  --f-body:    'Inter', Arial, sans-serif;

  /* ── TRANSITIONS ── */
  --t: 0.22s;
  --ease: cubic-bezier(0.22,0.68,0,1.2);
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  font-family: var(--f-body);
  background: var(--surface-2);
  color: var(--ink);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  background: none;
  border: none;
}


/* ============================================================
   3. HEADER — mobile-first
   ============================================================ */
.main-header {
  background: var(--surface);
  padding: 0 var(--pad);
  height: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-2);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* ── ლოგო ── */
.logo {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.03em;
  text-decoration: none;
  flex-shrink: 0;
}

.logo span,
.logo .dot {
  color: var(--a);
}

/* ── Hamburger ── */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.375rem;
  color: var(--a);
  border-radius: 8px;
  transition: background var(--t);
}

.menu-toggle:hover {
  background: var(--a-bg);
}

/* desktop nav — hidden on mobile */
.main-nav {
  display: none;
}


/* ============================================================
   4. DESKTOP NAV & DROPDOWN — გამოჩნდება 1024px+
   ============================================================ */
.menu {
  display: flex;
  align-items: center;
  height: 56px;
  gap: 0;
}

.dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.menu > li > a {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 13px;
  font-family: var(--f-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  position: relative;
  transition: color var(--t);
}

/* underline ანიმაცია */
.menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--a);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t);
}

.menu > li > a:hover          { color: var(--a); }
.menu > li > a:hover::after   { transform: scaleX(1); }
.menu > li.active > a         { color: var(--a); }
.menu > li.active > a::after  { transform: scaleX(1); }

/* submenu */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  min-width: 220px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  padding: 8px 0;
  z-index: 9999;
}

.dropdown:hover .submenu { display: block; }

.submenu li a {
  display: block;
  padding: 9px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background var(--t), color var(--t);
}

.submenu li a:hover {
  background: var(--a-bg);
  color: var(--a);
}

.nav-wa-item { margin-left: 8px; }
 
.nav-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: #fff !important;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
 
.nav-wa-btn:hover {
  background: #1da851;
  transform: translateY(-1px);
}
 
.nav-wa-btn::after { display: none !important; }
 
/* ============================================================
   5. MOBILE DRAWER — ხელუხლებელია ლოგიკა
   ============================================================ */
.m-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
  z-index: 9998;
}

.m-overlay.active {
  opacity: 1;
  visibility: visible;
}

.m-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  box-shadow: -3px 0 15px rgba(0,0,0,0.15);
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1),
              transform 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 10000;
  overflow-y: auto;
}

.m-drawer.level1.shift { transform: translateX(-24px); }
.m-drawer.level2       { background: var(--surface-2); z-index: 10001; }
.m-drawer.open         { right: 0; }

.m-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
}

.m-logo {
  font-family: var(--f-display);
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.m-close,
.m-back {
  font-size: 1.5rem;
  color: var(--ink-3);
  transition: color var(--t);
  padding: 4px;
  line-height: 1;
}

.m-close:hover,
.m-back:hover { color: var(--a); }

.m-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-2);
  cursor: pointer;
  min-height: 52px;
  transition: background var(--t);
}

.m-list li:hover  { background: var(--a-bg); }
.m-list li:active { background: var(--a-border); }

.arrow {
  font-size: 1.125rem;
  color: var(--a);
}

.m-sublist li { border-bottom: 1px solid var(--border); }

.m-sublist li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  min-height: 52px;
  transition: background var(--t), color var(--t);
}

.m-sublist li a:hover {
  background: var(--a-bg);
  color: var(--a);
}

.m-contact {
  margin-top: auto;
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  line-height: 1.8;
  background: var(--surface-2);
  flex-shrink: 0;
}

.m-contact strong {
  display: block;
  margin-bottom: 6px;
  color: var(--a);
  font-size: 0.9375rem;
  font-weight: 700;
}


/* ============================================================
   6. CONTACT BUBBLE
   ============================================================ */
.contact-bubble {
  position: fixed;
  bottom: 20px;
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.cb-main {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--a);
  color: #fff;
  font-size: 1.375rem;
  box-shadow: 0 4px 16px var(--a-glow);
  transition: all var(--t);
}

.cb-main:hover {
  background: var(--a-dim);
  transform: scale(1.08);
}

.cb-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
}

.cb-menu.open { display: flex; }

.cb-menu a {
  background: var(--surface);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  white-space: nowrap;
  transition: transform var(--t);
}

.cb-menu a:hover { transform: translateX(-4px); }

/* ── Footer განახლება ── */
.ft-main {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 28px 0 8px;
}
 
.ft-brand {
  padding-bottom: 20px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
 
.ft-brand-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 360px;
  margin: 10px 0 16px;
}
 
.footer-logo {
  font-family: var(--f-display);
  font-size: 1.375rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}
 
.footer-logo a { color: #fff; text-decoration: none; }
.footer-logo .dot { color: var(--a); }
 
.ft-contact p { margin: 8px 0; }
.ft-contact a { color: rgba(255,255,255,0.6); transition: color var(--t); }
.ft-contact a:hover { color: #fff; }

/* ══════════════════════════════
   CATEGORY PAGE — Minimal Clean
   /auto/obd/index.html
   მხოლოდ ეს გვერდი იყენებს cp- პრეფიქსს
══════════════════════════════ */

/* ── HERO ── */
.cp-hero {
  background: linear-gradient(135deg, #0a0e1a 0%, #111827 100%);
  padding: 32px var(--pad, 16px) 28px;
  position: relative;
  overflow: hidden;
}

.cp-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,122,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cp-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cp-breadcrumb a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.cp-breadcrumb a:hover { color: #ff7a00; }
.cp-breadcrumb .sep { color: rgba(255,255,255,0.2); }
.cp-breadcrumb span { color: rgba(255,255,255,0.7); }

.cp-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.cp-hero h1 em { color: #ff7a00; font-style: normal; }

.cp-hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 20px;
}

.cp-hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cp-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25D366;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 9px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.cp-btn-wa:hover { background: #1da851; transform: translateY(-1px); }

.cp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 9px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.cp-btn-ghost:hover { border-color: #ff7a00; color: #ff7a00; }

/* ── DECISION STRIP ── */
.cp-decision {
  background: #fff8f3;
  border-top: 2px solid #ff7a00;
  border-bottom: 1px solid #ffd6b0;
  padding: 14px var(--pad, 16px);
}

.cp-decision-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cp-decision-icon { font-size: 22px; flex-shrink: 0; }

.cp-decision-text { flex: 1; min-width: 220px; }

.cp-decision-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f1117;
  margin-bottom: 2px;
  font-family: 'Sora', sans-serif;
}

.cp-decision-text span { font-size: 12px; color: #6b7280; }

.cp-decision-cta {
  background: #ff7a00;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}

.cp-decision-cta:hover { background: #c85e00; }

/* ── FILTER + TITLE ROW ── */
.cp-filter-row {
  max-width: 1140px;
  margin: 24px auto 0;
  padding: 0 var(--pad, 16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cp-count {
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #0f1117;
}

.cp-count span {
  font-size: 13px;
  font-weight: 400;
  color: #9ca3af;
  margin-left: 4px;
}

.cp-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cp-tab {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 20px;
  border: 1.5px solid #e8eaed;
  background: #fff;
  color: #6b7280;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.cp-tab:hover, .cp-tab.active {
  background: #ff7a00;
  border-color: #ff7a00;
  color: #fff;
}

/* ── PRODUCT GRID ── */
.cp-grid {
  max-width: 1140px;
  margin: 16px auto 0;
  padding: 0 var(--pad, 16px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* ── PRODUCT CARD ── */
.cp-card {
  background: #fff;
  border: 1.5px solid #e8eaed;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(.22,.68,0,1.2);
  position: relative;
}

.cp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff7a00, #ffb366);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.cp-card:hover {
  border-color: #ff7a00;
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.cp-card:hover::before { transform: scaleX(1); }

.cp-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  padding: 16px;
  background: #f7f8fa;/* background:#fff; */ /* alternative */
}

.cp-card-body {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}




.cp-card-name {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0f1117;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.cp-card-desc {
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.cp-card-price {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #c85e00;
}

.cp-card-btn {
  font-size: 11px;
  font-weight: 700;
  color: #ff7a00;
  border: 1.5px solid #ff7a00;
  padding: 6px 12px;
  border-radius: 7px;
  transition: all 0.2s;
  white-space: nowrap;
}

.cp-card:hover .cp-card-btn {
  background: #ff7a00;
  color: #fff;
}

/* ── GUIDE BOX ── */
.cp-guide {
  max-width: 1140px;
  margin: 28px auto 0;
  padding: 0 var(--pad, 16px);
}

.cp-guide-inner {
  background: linear-gradient(135deg, #0a0e1a, #162236);
  border-radius: 14px;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cp-guide-icon { font-size: 36px; flex-shrink: 0; }

.cp-guide-text { flex: 1; }

.cp-guide-text strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.cp-guide-text span {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.cp-guide-btn {
  background: #ff7a00;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 11px 20px;
  border-radius: 9px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
}

.cp-guide-btn:hover { background: #c85e00; transform: translateY(-1px); }

/* ── FAQ ── */
.cp-faq {
  max-width: 1140px;
  margin: 28px auto 40px;
  padding: 0 var(--pad, 16px);
}

.cp-faq-title {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #0f1117;
  margin-bottom: 14px;
}

.cp-faq-item {
  background: #fff;
  border: 1.5px solid #e8eaed;
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.cp-faq-item[open] { border-color: #ff7a00; }

.cp-faq-item summary {
  padding: 14px 16px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #0f1117;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 52px;
}

.cp-faq-item summary::-webkit-details-marker { display: none; }

.cp-faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: #ff7a00;
  flex-shrink: 0;
}

.cp-faq-item[open] summary::after { content: '−'; }

.cp-faq-body {
  padding: 0 16px 14px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
}

/* OS / Type badges */
.cp-badges {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.cp-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 8px;
}

.cp-badge-wifi {
  background: #fff3e8;
  color: #c85e00;
  border: 1px solid #ffd6b0;
}

.cp-badge-bt {
  background: #f5f0ff;
  color: #6941c6;
  border: 1px solid #d9d0f8;
}

.cp-badge-ios {
  background: #f0f7ff;
  color: #0066cc;
  border: 1px solid #c5dff8;
}

.cp-badge-android {
  background: #f0fff4;
  color: #276e45;
  border: 1px solid #c3e6cb;
}

.cp-badge-screen {
  background: #f5f5f5;
  color: #555;
  border: 1px solid #ddd;
}

.cp-badge-featured {
  background: #fff3e8;
  color: #ff7a00;
  border: 1px solid #ffd6b0;
}




.cp-badge-pulse { background:#f0f7ff; color:#0066cc; border:1px solid #c5dff8; }
.cp-badge-lcd   { background:#f5f5f5; color:#555;    border:1px solid #ddd; }

.cp-badges{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:8px}
.cp-badge{font-size:10px;font-weight:700;padding:2px 7px;border-radius:8px}
.cp-badge-12v{background:#fff3e8;color:#c85e00;border:1px solid #ffd6b0}
.cp-badge-24v{background:#f0f7ff;color:#0066cc;border:1px solid #c5dff8}
.cp-badge-usb{background:#f0fff4;color:#276e45;border:1px solid #c3e6cb}
.cp-badge-pure{background:#f5f0ff;color:#6941c6;border:1px solid #d9d0f8}
.cp-badge-featured{background:#fff3e8;color:#ff7a00;border:1px solid #ffd6b0}

/* ── category badge variants ── */
.cp-badge-12v  { background:#fff3e8; color:#c85e00; border:1px solid #ffd6b0; }
.cp-badge-24v  { background:#f0f7ff; color:#0066cc; border:1px solid #c5dff8; }
.cp-badge-usb  { background:#f0fff4; color:#276e45; border:1px solid #c3e6cb; }
.cp-badge-pure { background:#f5f0ff; color:#6941c6; border:1px solid #d9d0f8; }
.cp-badge-5in1 { background:#f0fff4; color:#276e45; border:1px solid #c3e6cb; }
 
/* ============================================================
   7. DESKTOP — min-width: 1024px
   ============================================================ */
@media (min-width: 1024px) {
  .main-header {
    height: 64px;
    padding: 0 32px;
  }

  .logo { font-size: 1.375rem; }

  /* show desktop nav */
  .main-nav { display: block; }
  .menu-toggle { display: none; }

  /* hide mobile drawer */
  .m-drawer,
  .m-overlay { display: none !important; }

  .menu { height: 64px; }
  .menu > li > a { height: 64px; padding: 0 14px; font-size: 0.9375rem; }
}


/* ============================================================
   8. ᲫᲕᲔᲚᲘ კლასები — თავსებადობა merch.css-თან
   (ამ კლასებს HTML ჩანაცვლება არ სჭირდება)
   ============================================================ */

/* hero slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slider .slide.active { opacity: 1; }

.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-cta {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.35);
  transition: all var(--t);
  z-index: 10;
}

.hero-cta:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .hero-slider { height: 320px; }
  .hero-cta { bottom: 24px; left: 28px; font-size: 0.9375rem; padding: 12px 24px; }
}

@media (min-width: 1024px) {
  .hero-slider { height: 420px; }
}

/* category grid */
.category-grid {
  max-width: var(--max-w);
  margin: 24px auto;
  padding: 0 var(--pad);
}

.section-title {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--gap);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.cat-box {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--t) var(--ease);
}

.cat-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--a), var(--a-border));
  transform: scaleX(0);
  transition: transform var(--t);
}

.cat-box:hover::before  { transform: scaleX(1); }
.cat-box:hover {
  transform: translateY(-6px);
  border-color: var(--a);
  box-shadow: 0 10px 28px var(--a-glow);
}

.cat-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform var(--t);
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.08));
}

.cat-box:hover .cat-icon { transform: scale(1.08); }

.cat-box span {
  font-family: var(--f-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

/* beauty special */
.beauty-special {
  background: linear-gradient(145deg,#fff,#fff0f7) !important;
  border-color: #ffd6e8 !important;
}

.beauty-cat-title,
.cat-box.beauty-special span {
  font-weight: 800;
  background: linear-gradient(to right,#d63384,#ff69b4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.icon-wrapper { position: relative; display: inline-block; }
.sparkle {
  position: absolute;
  top: -4px; right: -4px;
  font-size: 14px;
  opacity: 0;
  transition: opacity var(--t);
}
.beauty-special:hover .sparkle { opacity: 1; }

/* cat-box data-count badge */
.cat-box::after {
  content: attr(data-count);
  position: absolute;
  top: 10px; right: 10px;
  background: var(--a-bg);
  color: var(--a);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 10px;
  opacity: 0;
  transition: opacity var(--t);
}
.cat-box[data-count]:hover::after { opacity: 1; }

/* trust block */
.trust-block {
  max-width: var(--max-w);
  margin: 40px auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.trust-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--t);
}

.trust-item:hover {
  border-color: var(--a);
  box-shadow: 0 8px 24px var(--a-glow);
  transform: translateY(-4px);
}

.trust-icon { width: 52px; height: 52px; margin: 0 auto 12px; display: block; }
.trust-text { font-family: var(--f-display); font-size: 0.9375rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.trust-sub  { font-size: 0.8125rem; color: var(--ink-3); }

/* category page */
.category-page {
  max-width: var(--max-w);
  margin: 20px auto;
  padding: 0 var(--pad);
}

.cat-title {
  font-family: var(--f-display);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.25;
}

.cat-subtitle {
  color: var(--ink-3);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 700px;
  margin-bottom: 28px;
}

/* product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.product-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--t) var(--ease);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--a);
  transform: scaleX(0);
  transition: transform var(--t);
}

.product-card:hover::before  { transform: scaleX(1); }
.product-card:hover {
  border-color: var(--a);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.product-card > a,
.product-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
  touch-action: manipulation;
}

.product-card > a:focus-visible,
.product-link:focus-visible {
  outline: 2px solid var(--a);
  outline-offset: 2px;
  border-radius: var(--r);
}

.product-card > a:active,
.product-link:active { transform: scale(0.985); }

.product-card img {
  width: 100%;
  max-height: 150px;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  margin-bottom: 8px;
  background: var(--surface-2);
}

.product-card h3 {
  font-family: var(--f-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 6px;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p-short {
  font-size: 0.75rem;
  color: var(--ink-3);
  margin-bottom: 6px;
  min-height: 32px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p-price {
  font-family: var(--f-display);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--a-dim);
  margin: 6px 0 8px;
}

.p-btn {
  display: inline-block;
  padding: 6px 14px;
  background: transparent;
  color: var(--a);
  border: 1.5px solid var(--a);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all var(--t);
}

.product-card:hover .p-btn,
.product-card > a:hover .p-btn,
.product-link:hover .p-btn {
  background: var(--a);
  color: #fff;
}

/* breadcrumb */
.breadcrumb {
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--a-dim); transition: color var(--t); }
.breadcrumb a:hover { color: var(--a); }
.breadcrumb span { color: var(--ink-2); }

/* product page */
.product-page {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 var(--pad);
}

.product-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-info { flex: 1; }

.product-title {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 10px;
}

.short-desc {
  font-size: 0.9375rem;
  color: var(--ink-3);
  margin-bottom: 14px;
  line-height: 1.65;
}

.price-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.price {
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--a-dim);
}

.stock { color: #27a327; font-size: 0.875rem; font-weight: 600; }

/* buy box */
.buy-box {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--r);
  background: var(--a-bg);
  border: 1px solid var(--a-border);
  text-align: center;
}

.buy-hint {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.5;
}

.buy-buttons { display: flex; gap: 10px; }

.btn-buy {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.875rem;
  display: inline-block;
  transition: all var(--t);
  text-align: center;
  color: #fff;
  background: var(--a);
}

.btn-buy:hover { transform: translateY(-2px); }
.btn-buy:active { transform: scale(0.98); }
.btn-buy.call { background: var(--ink); color: #fff; }
.btn-buy.wa,
.maga-cta { background: var(--green) !important; color: #fff !important; box-shadow: 0 4px 10px rgba(37,211,102,0.25); }
.btn-buy.wa:hover,
.maga-cta:hover { background: var(--green-dk) !important; }

.maga-cta-secondary {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.875rem;
  text-align: center;
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--border);
  transition: all var(--t);
  text-decoration: none;
  display: inline-block;
}

.maga-cta-secondary:hover { border-color: var(--a); color: var(--a); }

.buy-trust { font-size: 0.75rem; color: var(--ink-3); margin-top: 8px; }

/* product description */
.product-description { margin-top: 32px; }
.product-description h2 { font-family: var(--f-display); font-size: 1.125rem; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.product-description p  { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.7; margin-bottom: 12px; }
.product-description ul { padding-left: 18px; list-style: disc; margin-bottom: 12px; }
.product-description li { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.7; margin-bottom: 5px; }

/* tech table */
.tech-table { margin-top: 28px; overflow-x: auto; }
.tech-table h2 { font-family: var(--f-display); font-size: 1.125rem; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.tech-table table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.tech-table th,
.tech-table td { padding: 9px 12px; border: 1px solid var(--border); text-align: left; }
.tech-table th { background: var(--surface-2); font-weight: 600; color: var(--ink-2); width: 40%; }
.tech-table td { color: var(--ink-2); }

/* use case */
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.use-case {
  text-align: center;
  padding: 16px 10px;
  background: var(--surface-2);
  border-radius: var(--r);
  border: 1px solid var(--border);
  transition: all var(--t);
}

.use-case:hover { transform: translateY(-2px); box-shadow: 0 4px 12px var(--a-glow); border-color: var(--a); }
.use-case .icon { font-size: 1.875rem; display: block; margin-bottom: 8px; }
.use-case strong { display: block; font-size: 0.875rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.use-case p { font-size: 0.75rem; color: var(--ink-3); line-height: 1.4; }

/* support image */
.support-image { width: 100%; max-width: 640px; margin-top: 16px; border-radius: var(--r); border: 1px solid var(--border); }

/* gallery */
.product-gallery { width: 100%; }

.product-gallery .main-image {
  width: 100%;
  border-radius: var(--r);
  cursor: zoom-in;
  transition: opacity 0.25s ease, transform var(--t);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-gallery .main-image:hover { transform: scale(1.01); }
.main-image.fade-out { opacity: 0; }
.main-image.fade { opacity: 1; }

.thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.thumbnails::-webkit-scrollbar { height: 3px; }
.thumbnails::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.thumbnails .thumb {
  width: 72px;
  height: 72px;
  min-width: 72px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--t);
}

.thumbnails .thumb:hover { border-color: var(--a-border); }
.thumbnails .thumb.active { border-color: var(--a); box-shadow: 0 0 0 2px var(--a-glow); }

/* lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  z-index: 99999;
  inset: 0;
  background: rgba(0,0,0,0.96);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.lightbox-overlay.active { display: flex; }

.lightbox-overlay img {
  max-width: 92%;
  max-height: 88%;
  object-fit: contain;
  border-radius: 8px;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 16px; right: 20px;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 300;
  opacity: 0.7;
  transition: opacity var(--t);
  z-index: 100000;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 2.5rem;
  padding: 14px 18px;
  border-radius: 8px;
  transition: background var(--t);
  z-index: 100000;
}

.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.22); }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

.lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.875rem;
  background: rgba(0,0,0,0.5);
  padding: 5px 14px;
  border-radius: 20px;
}

/* related products */
.related-products { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.related-products h2 { font-family: var(--f-display); font-size: 1.125rem; font-weight: 700; color: var(--ink); margin-bottom: 16px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.related-item {
  text-align: center;
  color: var(--ink-2);
  text-decoration: none;
  transition: transform var(--t);
  position: relative;
}

.related-item img { width: 100%; border-radius: 10px; margin-bottom: 6px; border: 1px solid var(--border); }
.related-item span { font-size: 0.8125rem; font-weight: 600; display: block; line-height: 1.3; }
.related-item:hover { transform: translateY(-3px); }

/* social share */
.social-share-container {
  margin: 20px 0;
  padding: 14px;
  background: var(--surface-2);
  border-radius: var(--r);
  border: 1px solid var(--border);
}

.social-share-container h3 { font-size: 0.875rem; font-weight: 700; color: var(--ink-2); text-align: center; margin-bottom: 10px; }

.share-buttons { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--t);
  color: #fff;
  min-height: 40px;
  border: none;
  cursor: pointer;
}

.share-btn:hover { transform: translateY(-2px); }
.share-icon { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.share-btn.fb     { background: #1877F2; }
.share-btn.wa     { background: var(--green); }
.share-btn.native { background: var(--ink-2); }
.share-btn.copy   { background: var(--surface-3, #f0f1f3); color: var(--ink); }
.copy-success { display: none; font-size: 0.8125rem; color: #276e45; font-weight: 600; text-align: center; margin-top: 6px; }

/* seo h1 */
.seo-h1 {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* footer */
.site-footer {
  background: #0b1220;
  color: rgba(255,255,255,0.6);
  padding: 28px var(--pad) 16px;
  margin-top: 40px;
}

.footer-top { display: flex; justify-content: center; margin-bottom: 16px; }

.footer-socials { display: flex; gap: 12px; }

.footer-socials .social {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  text-decoration: none;
  transition: background var(--t);
}

.footer-socials .social:hover { background: rgba(255,255,255,0.14); }
.footer-socials .social svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.65); }

.ft-container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 8px 0 16px;
}

.ft-details { border-top: 1px solid rgba(255,255,255,0.1); padding: 10px 0; }

.ft-details summary {
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  min-height: 44px;
}

.ft-details summary::-webkit-details-marker { display: none; }
.ft-details summary::after { content: "▾"; opacity: 0.6; }
.ft-details[open] summary::after { content: "▴"; }

.ft-details ul { list-style: none; padding: 8px 0 4px; display: flex; flex-direction: column; gap: 8px; }
.ft-details li a { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: color var(--t); }
.ft-details li a:hover { color: #fff; }

.ft-contact p { margin: 6px 0; font-size: 0.875rem; color: rgba(255,255,255,0.5); }

.footer-seo {
  font-size: 0.8125rem;
  margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 14px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
}

.footer-seo a { color: rgba(255,255,255,0.45); text-decoration: underline; text-underline-offset: 2px; }
.footer-seo a:hover { color: rgba(255,255,255,0.75); }

.ft-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 14px;
  padding-top: 12px;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

.footer-logo { font-family: var(--f-display); font-size: 1.25rem; font-weight: 900; color: #fff; letter-spacing: -0.03em; margin-bottom: 6px; }
.footer-logo .dot { color: var(--a); }

.site-footer a { color: rgba(255,255,255,0.5); }
.site-footer a:hover { color: #fff; }


/* ============================================================
   9. TABLET — min-width: 600px
   ============================================================ */
@media (min-width: 600px) {
  :root { --pad: 20px; --gap: 20px; }

  .grid-container { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .cat-icon { width: 110px; height: 110px; }
  .cat-box span { font-size: 0.9375rem; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .product-card img { max-height: 180px; }
  .product-card h3 { font-size: 1rem; }
  .p-price { font-size: 1.125rem; }

  .trust-block { grid-template-columns: repeat(3, 1fr); }

  .section-title { font-size: 1.5rem; }
  .cat-title { font-size: 1.5rem; }

  .ft-container { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .ft-details { border-top: none; padding: 0; }
  .ft-details summary { cursor: default; pointer-events: none; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
  .ft-details summary::after { display: none; }
}
.ft-main {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 40px 0 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .ft-brand {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .ft-details { border-top: none; padding: 0; }
  .ft-details summary {
    cursor: default;
    pointer-events: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    min-height: auto;
    padding: 0 0 14px;
  }
  .ft-details summary::after { display: none; }


.cp-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .cp-card-img { aspect-ratio: 1; }
  .cp-card-name { font-size: 14px; }
  .cp-hero { padding: 40px var(--pad, 20px) 32px; }





}

/* ============================================================
   10. DESKTOP — min-width: 1024px
   ============================================================ */
@media (min-width: 1024px) {
  :root { --pad: 28px; --gap: 24px; }

  .grid-container { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .cat-icon { width: 130px; height: 130px; }
  .cat-box { padding: 28px 18px; }
  .cat-box span { font-size: 1rem; }

  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .product-card img { max-height: 200px; }
  .product-card h3 { font-size: 1rem; min-height: 48px; }
  .p-price { font-size: 1.25rem; }

  /* product page: side by side */
  .product-wrapper { flex-direction: row; gap: 40px; }
  .product-gallery { max-width: 520px; }
  .product-title { font-size: 1.5rem; }
  .price { font-size: 2rem; }

  .thumbnails .thumb { width: 80px; height: 80px; min-width: 80px; }

  .use-case-grid { grid-template-columns: repeat(3, 1fr); }

  .section-title { font-size: 1.625rem; }
  .cat-title { font-size: 1.75rem; }
    
    
  .ft-main { gap: 56px; }
  .ft-brand-text { max-width: 280px; } 
    
    
   .cp-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .cp-card-price { font-size: 20px; }
  .cp-hero h1 { font-size: 40px; } 
    
    
    
}


/* ============================================================
   11. LARGE — min-width: 1280px
   ============================================================ */
@media (min-width: 1280px) {
  :root { --pad: 0; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}


/* ============================================================
   12. HOMEPAGE ADDITIONS — version-b-full-იდან გადმოტანილი
   (მხოლოდ index.html-ზე მოქმედებს hp- პრეფიქსის გამო)
   ============================================================ */

/* ── fadeUp animation ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hp-hero-left > * {
  animation: fadeUp 0.6s ease both;
}
.hp-hero-left > *:nth-child(1) { animation-delay: 0.05s; }
.hp-hero-left > *:nth-child(2) { animation-delay: 0.15s; }
.hp-hero-left > *:nth-child(3) { animation-delay: 0.25s; }
.hp-hero-left > *:nth-child(4) { animation-delay: 0.35s; }
.hp-hero-left > *:nth-child(5) { animation-delay: 0.45s; }

/* ── Hero badge (desktop) ── */
.hp-hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,122,0,0.4);
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
  animation: fadeUp 0.8s 0.5s both;
}

.hp-hero-badge-title {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}

.hp-hero-badge-price {
  color: var(--a);
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 900;
}

.hp-hero-badge-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* ── Trust Strip ── */
.hp-trust-strip {
  background: #1e2738;
  padding: 14px var(--pad);
}

.hp-trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 4px;
}

.hp-ts-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}

.hp-ts-icon { font-size: 16px; }

/* ── Bento Grid ── */
.hp-bento-grid {
  display: grid;
  grid-template-columns: 1fr; /* mobile: 1 სვეტი */
  gap: 12px;
}

/* Bento Card base */
.hp-bc {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}

.hp-bc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--a), var(--a-border));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.hp-bc:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: var(--a);
}

.hp-bc:hover::before { transform: scaleX(1); }

.hp-bc-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  padding: 16px;
  background: var(--surface-2);
}

.hp-bc-body { padding: 16px; }

.hp-bc-cat {
  font-family: var(--f-display);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--a);
  margin-bottom: 6px;
}

.hp-bc-name {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 6px;
}

.hp-bc-price {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--a-dim);
  margin-bottom: 12px;
}

.hp-bc-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1.5px solid var(--a);
  color: var(--a);
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

.hp-bc:hover .hp-bc-btn {
  background: var(--a);
  color: #fff;
}

/* Decision card */
.hp-bc-decision {
  background: var(--ink);
  border-color: var(--ink);
}

.hp-bc-decision .hp-bc-cat { color: rgba(255,122,0,0.8); }
.hp-bc-decision .hp-bc-name { color: #fff; }
.hp-bc-decision .hp-bc-body {
  display: flex;
  flex-direction: column;
}

.hp-bc-decision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.hp-bc-choice {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px;
  text-decoration: none;
  display: block;
  transition: all 0.2s;
}

.hp-bc-choice:hover {
  background: rgba(255,122,0,0.15);
  border-color: rgba(255,122,0,0.5);
}

.hp-bc-choice-emoji { font-size: 20px; margin-bottom: 5px; }
.hp-bc-choice-name  { font-family: var(--f-display); font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.hp-bc-choice-price { font-size: 11px; color: rgba(255,255,255,0.45); }
.hp-bc-choice-arrow { font-size: 10px; color: var(--a); margin-top: 5px; font-weight: 700; }

/* Beauty card */
.hp-bc-beauty {
  background: linear-gradient(135deg,#fff0f7,#fff);
  border-color: #ffd6e8;
}

.hp-bc-beauty .hp-bc-cat { color: #d63384; }

.hp-bc-beauty .hp-bc-name {
  background: linear-gradient(to right, #d63384, #ff69b4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hp-bc-beauty .hp-bc-btn { border-color: #d63384; color: #d63384; }
.hp-bc-beauty:hover .hp-bc-btn { background: #d63384; color: #fff; }

/* Promo card */
.hp-bc-promo {
  background: var(--a);
  border-color: var(--a);
  color: #fff;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.hp-promo-icon  { font-size: 36px; margin-bottom: 10px; display: block; }
.hp-promo-title { font-family: var(--f-display); font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 6px; }
.hp-promo-text  { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.55; margin-bottom: 16px; }

.hp-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--a-dim);
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 9px;
  transition: all 0.2s;
  align-self: flex-start;
  text-decoration: none;
}

.hp-bc-promo:hover .hp-promo-btn { transform: scale(1.03); }

/* ── How It Works ── */
.hp-how {
  background: var(--dark, #0a0e1a);
  padding: 48px var(--pad);
}

.hp-how-inner { max-width: 1100px; margin: 0 auto; }

.hp-how-title {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  text-align: center;
  margin-bottom: 6px;
}

.hp-how-sub {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  margin-bottom: 32px;
}

.hp-how-steps {
  display: grid;
  grid-template-columns: 1fr 1fr; /* mobile: 2 სვეტი */
  gap: 8px;
}

.hp-how-step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
}

.hp-how-step-num {
  font-family: var(--f-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--a);
  margin-bottom: 10px;
}

.hp-how-step-icon  { font-size: 28px; margin-bottom: 10px; }
.hp-how-step-title { font-family: var(--f-display); font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.hp-how-step-text  { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ── Featured Products (homepage) ── */
.hp-prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* mobile */
  gap: 12px;
}

.hp-prod-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease);
  display: block;
}

.hp-prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: var(--a);
}

.hp-prod-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 12px;
  background: var(--surface-2);
}

.hp-prod-card-body { padding: 10px 12px 14px; }

.hp-prod-card-name {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp-prod-card-price {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 900;
  color: var(--a-dim);
  margin-bottom: 8px;
}

.hp-prod-card-btn {
  display: block;
  text-align: center;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--a);
  border: 1.5px solid var(--a);
  border-radius: 7px;
  padding: 6px;
  transition: all 0.2s;
}

.hp-prod-card:hover .hp-prod-card-btn {
  background: var(--a);
  color: #fff;
}

/* ── WhatsApp Nav Button ── */
.nav-wa-item { margin-left: 8px; }

.nav-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: #fff !important;
  font-family: var(--f-display);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background var(--t), transform var(--t);
  white-space: nowrap;
}

.nav-wa-btn:hover {
  background: var(--green-dk);
  transform: translateY(-1px);
}

.nav-wa-item > a::after { display: none !important; }


/* ============================================================
   13. HOMEPAGE RESPONSIVE
   ============================================================ */

@media (min-width: 600px) {
  .hp-bento-grid { grid-template-columns: 1fr 1fr; }
  .hp-how-steps  { grid-template-columns: repeat(4, 1fr); }
  .hp-prod-grid  { grid-template-columns: repeat(3, 1fr); }
  .hp-bc-img     { aspect-ratio: 4/3; }
}

@media (min-width: 1024px) {
    
  .grid-container { 
    grid-template-columns: repeat(6, 1fr); 
  }  
    
  /* Hero — split screen */
  .hp-hero {
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
  }

  .hp-hero-left  { padding: 60px 48px 60px 40px; }

  .hp-hero-right {
    display: block !important;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #0d1629);
  }

  .hp-hero-banner-img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.75;
  }

  /* Bento — 12 სვეტი */
  .hp-bento-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
  }

  .hp-bc-obd      { grid-column: span 5; }
  .hp-bc-charger  { grid-column: span 4; }
  .hp-bc-inverter { grid-column: span 3; }
  .hp-bc-decision { grid-column: span 7; }
  .hp-bc-jump     { grid-column: span 5; }
  .hp-bc-beauty   { grid-column: span 4; }
  .hp-bc-promo    { grid-column: span 4; }

  .hp-how-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
  }

  .hp-how-step            { border-radius: 0; }
  .hp-how-step:first-child { border-radius: 12px 0 0 12px; }
  .hp-how-step:last-child  { border-radius: 0 12px 12px 0; }

  .hp-prod-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }

  .hp-prod-card-name  { font-size: 13px; }
  .hp-prod-card-price { font-size: 18px; }
  .cp-grid{grid-template-columns:repeat(4,1fr);gap:20px}  
    
}