/* =================================================================
   MM Tuning — მთავარი სტილები
   თანამედროვე ავტო-აქსესუარების / ტიუნინგის ბრენდი
   ================================================================= */

/* ── დიზაინ-ცვლადები ─────────────────────────────────────────── */
:root {
    --red:        #e4022b;
    --red-dark:   #c00125;
    --red-soft:   #fdecef;
    --ink:        #14161c;   /* მუქი ფონი header/footer */
    --ink-2:      #1d2029;
    --ink-3:      #2a2e3a;
    --text:       #1a1c22;
    --muted:      #6b7280;
    --muted-2:    #9aa1ad;
    --line:       #e6e8ec;
    --bg:         #f4f5f7;
    --card:       #ffffff;
    --gold:       #f5a623;

    --radius:     14px;
    --radius-sm:  10px;
    --radius-lg:  20px;
    --shadow:     0 4px 18px rgba(20,22,28,.07);
    --shadow-md:  0 10px 30px rgba(20,22,28,.12);
    --shadow-red: 0 8px 22px rgba(228,2,43,.28);
    --container:  1240px;
    --ease:       cubic-bezier(.4,0,.2,1);
    --font: "Noto Sans Georgian", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* ── რესეტი ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
[hidden] { display: none !important; } /* author display:flex-მა არ გადააფაროს hidden ატრიბუტი */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
svg { flex-shrink: 0; }

/* ── ლეიაუტი ─────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 18px;
}
.section { padding: 56px 0; }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}
.section-head h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -.01em;
}
.section-head .eyebrow {
    color: var(--red);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}
.section-head .see-all {
    color: var(--muted);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: color .2s;
}
.section-head .see-all:hover { color: var(--red); }
.section-head .see-all svg { width: 18px; height: 18px; }

/* ── ღილაკები ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: .95rem;
    line-height: 1;
    transition: transform .15s var(--ease), box-shadow .2s, background .2s, color .2s;
    white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.24); }
.btn-block { width: 100%; white-space: normal; line-height: 1.25; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ── ზედა ზოლი (topbar) ──────────────────────────────────────── */
.topbar {
    background: var(--ink);
    color: #c7ccd6;
    font-size: .82rem;
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    gap: 18px;
}
.topbar a { color: #c7ccd6; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .tb-left, .topbar .tb-right { display: flex; align-items: center; gap: 20px; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; color: var(--red); }
.lang-switch { display: inline-flex; gap: 4px; align-items: center; }
.lang-switch a { font-weight: 700; padding: 2px 5px; border-radius: 5px; }
.lang-switch a.on { background: var(--red); color: #fff; }

/* ── მთავარი header ──────────────────────────────────────────── */
.site-header { background: #fff; box-shadow: 0 1px 0 var(--line); position: sticky; top: 0; z-index: 60; }
.header-main {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 78px;
}
.logo { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark {
    width: 44px; height: 44px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--red), #ff3355);
    color: #fff;
    display: grid; place-items: center;
    font-weight: 900; font-size: 1.2rem;
    box-shadow: var(--shadow-red);
    letter-spacing: -.04em;
}
.logo-mark-img { background: #fff; box-shadow: var(--shadow); padding: 4px; overflow: hidden; }
.logo-mark-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-text { line-height: 1.05; }
.logo-text strong { display: block; font-size: 1.32rem; font-weight: 900; letter-spacing: -.02em; }
.logo-text span { font-size: .68rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }

/* ძებნის ფორმა */
.search-form { flex: 1; max-width: 560px; position: relative; }
.search-form input {
    width: 100%;
    height: 48px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0 110px 0 46px;
    background: var(--bg);
    transition: border-color .2s, background .2s;
}
.search-form input:focus { outline: none; border-color: var(--red); background: #fff; }
.search-form .s-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 20px; height: 20px; }
.search-form button {
    position: absolute; right: 5px; top: 5px; bottom: 5px;
    background: var(--red); color: #fff;
    padding: 0 20px; border-radius: 8px; font-weight: 700;
    transition: background .2s;
}
.search-form button:hover { background: var(--red-dark); }

/* header actions */
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.h-action {
    position: relative;
    display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 8px 12px; border-radius: 10px;
    color: var(--text); font-size: .68rem; font-weight: 600;
    transition: background .2s, color .2s;
}
.h-action:hover { background: var(--bg); color: var(--red); }
.h-action svg { width: 24px; height: 24px; }
.h-action .badge {
    position: absolute; top: 2px; right: 6px;
    min-width: 18px; height: 18px; padding: 0 5px;
    background: var(--red); color: #fff;
    border-radius: 9px; font-size: .68rem; font-weight: 800;
    display: grid; place-items: center; line-height: 1;
    border: 2px solid #fff;
}

/* ── ნავიგაცია ───────────────────────────────────────────────── */
.main-nav { background: var(--ink); position: relative; z-index: 55; }
.main-nav .container { display: flex; align-items: center; gap: 4px; }
.nav-link {
    display: inline-flex; align-items: center; gap: 7px;
    color: #d4d8e0; font-weight: 600; font-size: .92rem;
    padding: 15px 16px;
    border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s, background .2s;
}
.nav-link:hover, .nav-link.active { color: #fff; border-color: var(--red); }
.nav-link svg { width: 18px; height: 18px; }
.nav-cta { margin-left: auto; }
.nav-cta .nav-phone { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 700; }
.nav-cta .nav-phone svg { width: 18px; height: 18px; color: var(--red); }

/* კატალოგის dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: 100%; left: 0;
    background: #fff; border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-md);
    min-width: 320px; padding: 10px;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .22s var(--ease);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
    display: flex; align-items: center; gap: 13px;
    padding: 11px 14px; border-radius: 9px;
    color: var(--text); font-weight: 600; font-size: .9rem;
    transition: background .18s, color .18s;
}
.dropdown a:hover { background: var(--red-soft); color: var(--red); }
.dropdown a .di {
    width: 38px; height: 38px; border-radius: 9px;
    background: var(--bg); color: var(--red);
    display: grid; place-items: center;
}
.dropdown a:hover .di { background: #fff; }
.dropdown a .di svg { width: 21px; height: 21px; }
.dropdown a .dc { font-size: .72rem; color: var(--muted-2); margin-left: auto; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
    position: relative;
    background: radial-gradient(120% 140% at 80% 0%, #2a2e3a 0%, var(--ink) 55%);
    color: #fff;
    overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background:
        repeating-linear-gradient(115deg, transparent 0 38px, rgba(255,255,255,.018) 38px 39px);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 70px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.hero .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(228,2,43,.16); color: #ff5e7a;
    padding: 7px 14px; border-radius: 30px;
    font-weight: 700; font-size: .78rem; letter-spacing: .04em;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    font-weight: 900; line-height: 1.08; letter-spacing: -.02em;
    margin-bottom: 18px;
}
.hero h1 .accent { color: var(--red); }
.hero p { color: #b9bfca; font-size: 1.08rem; max-width: 480px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; }
.hero-stats .num { font-size: 1.9rem; font-weight: 900; color: #fff; }
.hero-stats .lbl { color: var(--muted-2); font-size: .82rem; }
.hero-visual {
    aspect-ratio: 1/1;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(228,2,43,.22), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.08);
    display: grid; place-items: center;
    position: relative;
}
.hero-visual .ring {
    position: absolute; border: 2px dashed rgba(255,255,255,.12); border-radius: 50%;
}
.hero-visual .ring.r1 { inset: 8%; }
.hero-visual .ring.r2 { inset: 24%; border-style: solid; border-color: rgba(228,2,43,.25); }
.hero-visual .big-icon { color: var(--red); width: 46%; height: 46%; }
.hero-visual .big-icon svg { width: 100%; height: 100%; }

/* ── Hero სლაიდერი ───────────────────────────────────────────── */
.hero-slider { position: relative; min-height: 500px; background: var(--ink); overflow: hidden; }
.hs-slide {
    position: absolute; inset: 0; opacity: 0; visibility: hidden;
    transition: opacity .6s var(--ease);
    display: flex; align-items: center;
    background: var(--ink) center/cover no-repeat;
}
.hs-slide.active { opacity: 1; visibility: visible; }
.hs-slide::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15,17,21,.94) 0%, rgba(15,17,21,.72) 48%, rgba(15,17,21,.4) 100%);
}
.hs-content { position: relative; z-index: 2; max-width: 600px; color: #fff; padding: 40px 0; }
.hs-content h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 16px; }
.hs-content p { color: #c4cad4; font-size: 1.1rem; margin-bottom: 28px; max-width: 520px; }
.hs-arrow {
    position: absolute; top: 50%; z-index: 5;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,.12); color: #fff;
    display: grid; place-items: center; backdrop-filter: blur(6px);
    transition: background .2s;
}
.hs-arrow:hover { background: var(--red); }
.hs-arrow svg { width: 24px; height: 24px; }
.hs-arrow.prev { left: 22px; transform: translateY(-50%) rotate(90deg); }
.hs-arrow.next { right: 22px; transform: translateY(-50%) rotate(-90deg); }
.hs-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 9px; }
.hs-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); transition: all .25s var(--ease); }
.hs-dot.on { background: var(--red); width: 26px; border-radius: 6px; }

/* ── სერვისების ბლოკები ──────────────────────────────────────── */
.services {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
    margin-top: -40px; position: relative; z-index: 5;
}
.service-card {
    background: #fff; border-radius: var(--radius);
    padding: 22px; box-shadow: var(--shadow);
    display: flex; align-items: center; gap: 16px;
    transition: transform .2s var(--ease), box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card .si {
    width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0;
    background: var(--red-soft); color: var(--red);
    display: grid; place-items: center;
}
.service-card .si svg { width: 26px; height: 26px; }
.service-card h4 { font-size: .98rem; font-weight: 700; }
.service-card p { font-size: .8rem; color: var(--muted); }

/* ── კატეგორიების ბადე ───────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
    background: #fff; border-radius: var(--radius);
    padding: 26px 22px; box-shadow: var(--shadow);
    border: 1px solid transparent;
    transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
    position: relative; overflow: hidden;
}
.cat-card::before {
    content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 0;
    background: var(--red); transition: height .25s var(--ease);
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line); }
.cat-card:hover::before { height: 100%; }
.cat-card .ci {
    width: 60px; height: 60px; border-radius: 15px;
    background: linear-gradient(135deg, var(--ink), var(--ink-3));
    color: #fff; display: grid; place-items: center; margin-bottom: 18px;
    transition: background .25s;
}
.cat-card:hover .ci { background: linear-gradient(135deg, var(--red), #ff3355); }
.cat-card .ci svg { width: 30px; height: 30px; }
.cat-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 5px; }
.cat-card p { font-size: .82rem; color: var(--muted); margin-bottom: 14px; min-height: 38px; }
.cat-card .cc-count {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .82rem; font-weight: 700; color: var(--red);
}
.cat-card .cc-count svg { width: 16px; height: 16px; transition: transform .2s; }
.cat-card:hover .cc-count svg { transform: translateX(4px); }

/* ── პროდუქტის ბარათი ────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
    background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .2s var(--ease), box-shadow .2s;
    position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-thumb {
    position: relative; aspect-ratio: 4/3;
    display: grid; place-items: center; overflow: hidden;
    background: linear-gradient(150deg, #f0f1f4, #e7e9ee);
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb .ph-icon { color: #c2c7d0; width: 38%; height: 38%; }
.product-thumb .ph-icon svg { width: 100%; height: 100%; }
.product-card:hover .product-thumb .ph-icon { color: var(--red); transition: color .3s; }
.p-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; }
.p-badge {
    font-size: .7rem; font-weight: 800; padding: 4px 9px; border-radius: 6px;
    color: #fff; letter-spacing: .02em;
}
.p-badge.sale { background: var(--red); }
.p-badge.new  { background: var(--ink); }
.p-fav {
    position: absolute; top: 10px; right: 10px;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.92); color: var(--muted);
    display: grid; place-items: center;
    box-shadow: var(--shadow); opacity: 0; transform: scale(.8);
    transition: all .2s var(--ease);
}
.product-card:hover .p-fav { opacity: 1; transform: scale(1); }
.p-fav:hover, .p-fav.on { color: var(--red); }
.p-fav.on svg { fill: var(--red); }
.p-fav svg { width: 19px; height: 19px; }
.product-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-body .p-cat { font-size: .72rem; color: var(--muted-2); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.product-body h3 {
    font-size: .95rem; font-weight: 700; margin: 5px 0 10px; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 2.6em;
}
.product-body h3 a:hover { color: var(--red); }
.p-price-row { display: flex; align-items: baseline; gap: 9px; margin-top: auto; }
.p-price { font-size: 1.25rem; font-weight: 900; color: var(--text); }
.p-old { font-size: .9rem; color: var(--muted-2); text-decoration: line-through; }
.product-foot { display: flex; gap: 8px; padding: 0 16px 16px; }
.product-foot .btn { flex: 1; }
.p-stock { font-size: .74rem; font-weight: 600; margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; }
.p-stock.in { color: #16a34a; }
.p-stock.out { color: var(--muted); }
.p-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ── ბლოგის ბარათი ───────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.blog-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s;
    display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-thumb {
    aspect-ratio: 16/10; background: linear-gradient(150deg, var(--ink), var(--ink-3));
    display: grid; place-items: center; color: rgba(255,255,255,.18); position: relative;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-thumb svg { width: 54px; height: 54px; }
.blog-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.blog-body .b-date { font-size: .74rem; color: var(--muted-2); font-weight: 600; margin-bottom: 8px; }
.blog-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.blog-body h3 a:hover { color: var(--red); }
.blog-body p { font-size: .85rem; color: var(--muted); flex: 1; }
.blog-body .b-more { color: var(--red); font-weight: 700; font-size: .85rem; margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; }
.blog-body .b-more svg { width: 16px; height: 16px; }

/* ── ბრენდების ზოლი ──────────────────────────────────────────── */
.brands-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.brand-chip {
    background: #fff; border: 1.5px solid var(--line); border-radius: 30px;
    padding: 10px 22px; font-weight: 700; color: var(--muted);
    transition: all .2s;
}
.brand-chip:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* ── footer ──────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #aeb4c0; margin-top: 60px; }
.footer-top { padding: 54px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 18px; }
.site-footer .f-logo { margin-bottom: 16px; }
.site-footer .f-logo .logo-text strong { color: #fff; }
.site-footer p { font-size: .88rem; line-height: 1.7; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: .88rem; transition: color .2s, padding .2s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.f-branch { display: flex; gap: 11px; margin-bottom: 18px; font-size: .86rem; }
.f-branch svg { width: 18px; height: 18px; color: var(--red); margin-top: 2px; }
.f-branch strong { color: #fff; display: block; font-size: .9rem; }
.f-social { display: flex; gap: 10px; margin-top: 18px; }
.f-social a {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--ink-3); color: #fff;
    display: grid; place-items: center; transition: background .2s, transform .2s;
}
.f-social a:hover { background: var(--red); transform: translateY(-3px); }
.f-social svg { width: 20px; height: 20px; }
.footer-bottom {
    border-top: 1px solid var(--ink-3); padding: 18px 0;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    font-size: .82rem; flex-wrap: wrap;
}
.footer-bottom .pay { display: flex; gap: 8px; align-items: center; }
.footer-bottom .pay span {
    background: var(--ink-3); color: #fff; padding: 4px 10px; border-radius: 6px;
    font-size: .72rem; font-weight: 700;
}

/* ── breadcrumbs ─────────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); padding: 18px 0; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: var(--muted-2); }
.breadcrumb .cur { color: var(--text); font-weight: 600; }

/* ── flash შეტყობინებები ─────────────────────────────────────── */
.flashes { position: fixed; top: 16px; right: 16px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.flash {
    background: #fff; border-radius: 10px; padding: 14px 18px;
    box-shadow: var(--shadow-md); border-left: 4px solid var(--muted);
    font-size: .9rem; font-weight: 600;
    animation: slideIn .3s var(--ease);
}
.flash.success { border-color: #16a34a; }
.flash.error   { border-color: var(--red); }
.flash.info    { border-color: #2563eb; }
.flash.warn    { border-color: #f5a623; background: #fff8ee; }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

/* ── ფორმები ─────────────────────────────────────────────────── */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
    width: 100%; height: 48px; padding: 0 15px;
    border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: var(--bg); transition: border-color .2s, background .2s;
}
.field textarea { height: auto; padding: 12px 15px; min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: 5px; }

/* ── empty state ─────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state .ei { width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 20px; background: var(--card); color: var(--muted-2); display: grid; place-items: center; box-shadow: var(--shadow); }
.empty-state .ei svg { width: 40px; height: 40px; }
.empty-state h3 { font-size: 1.3rem; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 22px; }

/* ── page header ─────────────────────────────────────────────── */
.page-hero {
    background: radial-gradient(120% 160% at 90% 0%, var(--ink-3) 0%, var(--ink) 60%);
    color: #fff; padding: 38px 0;
}
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; }
.page-hero p { color: var(--muted-2); margin-top: 6px; }

/* ── კატალოგი ────────────────────────────────────────────────── */
.catalog-layout { display: grid; grid-template-columns: 268px 1fr; gap: 28px; padding-bottom: 60px; align-items: start; }
.catalog-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.filter-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.filter-box h4 { font-size: .95rem; font-weight: 700; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.filter-list li { margin-bottom: 2px; }
.filter-list a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 11px; border-radius: 8px; font-size: .88rem; font-weight: 600; color: var(--text);
    transition: background .15s, color .15s;
}
.filter-list a:hover { background: var(--bg); color: var(--red); }
.filter-list a.on { background: var(--red); color: #fff; }
.filter-list a .fc { font-size: .76rem; color: var(--muted-2); font-weight: 700; }
.filter-list a:hover .fc { color: var(--red); }
.filter-list a.on .fc { color: rgba(255,255,255,.8); }
/* მობილური ფილტრის ღილაკი (default: დამალული — მხოლოდ ≤760 ჩანს) */
.filter-toggle {
    display: none; align-items: center; justify-content: center; gap: 9px;
    width: 100%; padding: 13px 16px; background: var(--ink); color: #fff;
    border-radius: var(--radius-sm); font-weight: 700; font-size: .95rem; cursor: pointer;
}
.filter-toggle svg { width: 18px; height: 18px; }
.filter-toggle svg:last-child { margin-left: auto; transition: transform .2s; }
.filter-toggle[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.price-inputs { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.price-inputs input { width: 100%; height: 42px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--bg); }
.price-inputs input:focus { outline: none; border-color: var(--red); background: #fff; }
.price-inputs span { color: var(--muted-2); }

.catalog-toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 14px 18px; margin-bottom: 20px; flex-wrap: wrap;
}
.catalog-toolbar .ct-count { font-size: .9rem; color: var(--muted); }
.catalog-toolbar .ct-count strong { color: var(--text); }
.ct-sort { font-size: .85rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.ct-sort select { height: 40px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--bg); font-weight: 600; cursor: pointer; }
.ct-sort select:focus { outline: none; border-color: var(--red); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pagination .pg {
    min-width: 42px; height: 42px; padding: 0 10px;
    display: grid; place-items: center;
    background: #fff; border: 1.5px solid var(--line); border-radius: 9px;
    font-weight: 700; color: var(--text); transition: all .15s;
}
.pagination .pg:hover { border-color: var(--red); color: var(--red); }
.pagination .pg.on { background: var(--red); border-color: var(--red); color: #fff; }

/* ── პროდუქტის გვერდი ────────────────────────────────────────── */
.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 10px 0 60px; }
.pp-gallery { position: sticky; top: 96px; }
.pp-main-img {
    aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden;
    background: linear-gradient(150deg, #f0f1f4, #e7e9ee);
    display: grid; place-items: center; box-shadow: var(--shadow); margin-bottom: 14px;
}
.pp-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pp-main-img .ph-icon { color: #c2c7d0; width: 40%; height: 40%; }
.pp-main-img .ph-icon svg { width: 100%; height: 100%; }
.pp-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pp-thumbs div { width: 76px; height: 76px; border-radius: 12px; background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--muted-2); }
.pp-thumb { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--card); box-shadow: var(--shadow); padding: 0; cursor: pointer; transition: border-color .15s; }
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-thumb:hover { border-color: var(--muted-2); }
.pp-thumb.on { border-color: var(--red); }
.pp-info .pp-cat { color: var(--red); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.pp-info h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin: 8px 0 14px; line-height: 1.2; }
.pp-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .86rem; margin-bottom: 20px; }
.pp-meta b { color: var(--text); }
.pp-price-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-bottom: 22px; }
.pp-price { font-size: 2.3rem; font-weight: 900; }
.pp-price .pp-old { font-size: 1.2rem; color: var(--muted-2); text-decoration: line-through; font-weight: 700; margin-left: 12px; }
.pp-save { color: #16a34a; font-weight: 700; font-size: .9rem; margin-top: 4px; }
.pp-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.qty-box { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.qty-box button { width: 44px; height: 50px; display: grid; place-items: center; color: var(--text); transition: background .15s; }
.qty-box button:hover { background: var(--bg); color: var(--red); }
.qty-box input { width: 54px; height: 50px; text-align: center; border: none; border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line); font-weight: 700; -moz-appearance: textfield; }
.qty-box input::-webkit-outer-spin-button, .qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-box svg { width: 18px; height: 18px; }
.pp-desc { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.pp-desc h3 { font-size: 1.1rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.pp-desc h3 svg { width: 20px; height: 20px; color: var(--red); }
.compat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.compat-chip { background: var(--bg); border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 12px; font-size: .85rem; font-weight: 600; }
.pp-desc p { color: #444; line-height: 1.8; }
.pp-feature-list { display: grid; gap: 10px; margin-top: 16px; }
.pp-feature-list li { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.pp-feature-list svg { width: 18px; height: 18px; color: #16a34a; }

/* ── კალათა ──────────────────────────────────────────────────── */
/* თავსებადობის გაფრთხილება */
.compat-warning {
    display: flex; align-items: center; gap: 18px;
    background: linear-gradient(100deg, #fff4e5, #fff8ee);
    border: 2px solid #f5a623; border-left: 7px solid #f5a623;
    border-radius: var(--radius); padding: 18px 22px; margin-bottom: 22px;
    box-shadow: 0 8px 26px rgba(245,166,35,.22);
    animation: compatShake .5s var(--ease);
}
@keyframes compatShake {
    0%,100% { transform: translateX(0); }
    20% { transform: translateX(-7px); } 40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); } 80% { transform: translateX(3px); }
}
.compat-warning .cw-icon { width: 52px; height: 52px; border-radius: 50%; background: #f5a623; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.compat-warning .cw-icon svg { width: 28px; height: 28px; }
.compat-warning .cw-text strong { font-size: 1.15rem; color: #92600a; display: block; }
.compat-warning .cw-text p { font-weight: 700; color: #1a1c22; margin: 2px 0; font-size: 1.02rem; }
.compat-warning .cw-detail { font-size: .86rem; color: #92600a; }

.cart-layout { display: grid; grid-template-columns: 1fr 350px; gap: 26px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-row {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 14px; display: grid; grid-template-columns: 88px 1fr auto auto auto;
    gap: 16px; align-items: center;
}
.cr-thumb { width: 88px; height: 88px; border-radius: 10px; overflow: hidden; background: linear-gradient(150deg,#f0f1f4,#e7e9ee); display: grid; place-items: center; }
.cr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cr-thumb .ph-icon { color: #c2c7d0; width: 44px; height: 44px; }
.cr-thumb .ph-icon svg { width: 100%; height: 100%; }
.cr-info .cr-cat { font-size: .72rem; color: var(--muted-2); text-transform: uppercase; font-weight: 600; }
.cr-info h3 { font-size: .98rem; font-weight: 700; margin: 3px 0 6px; }
.cr-info h3 a:hover { color: var(--red); }
.cr-price { font-size: .88rem; color: var(--muted); }
.cr-subtotal { font-size: 1.1rem; font-weight: 800; min-width: 96px; text-align: right; }
.cr-remove button { width: 40px; height: 40px; border-radius: 9px; color: var(--muted-2); display: grid; place-items: center; transition: all .15s; }
.cr-remove button:hover { background: var(--red-soft); color: var(--red); }
.cr-remove svg { width: 19px; height: 19px; }
.cart-actions-bar { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; flex-wrap: wrap; }

.cart-summary {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 24px; position: sticky; top: 96px;
}
.cart-summary h3 { font-size: 1.15rem; margin-bottom: 18px; }
.cs-row { display: flex; justify-content: space-between; padding: 9px 0; color: var(--muted); font-size: .92rem; }
.cs-row b { color: var(--text); }
.cs-hint { font-size: .78rem; color: var(--red); margin: 2px 0 6px; }
.cs-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; margin: 8px 0 16px; border-top: 2px solid var(--line); font-size: 1.05rem; }
.cs-total b { font-size: 1.6rem; font-weight: 900; color: var(--red); }
.cs-badges { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.cs-badges span { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.cs-badges svg { width: 17px; height: 17px; color: #16a34a; }

/* ── checkout ────────────────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; }
.checkout-form { display: flex; flex-direction: column; gap: 20px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.pay-option { display: flex; align-items: center; gap: 14px; padding: 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; cursor: pointer; transition: border-color .2s, background .2s; }
.pay-option:hover { border-color: var(--ink); }
.pay-option input { width: 20px; height: 20px; accent-color: var(--red); }
.pay-option span { display: flex; flex-direction: column; }
.pay-option b { font-size: .95rem; }
.pay-option small { color: var(--muted); font-size: .8rem; }
.pay-option:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.co-items { display: flex; flex-direction: column; gap: 9px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); max-height: 280px; overflow-y: auto; }
.co-item { display: flex; gap: 8px; font-size: .85rem; align-items: baseline; }
.co-item .co-qty { color: var(--red); font-weight: 800; }
.co-item .co-name { flex: 1; color: var(--text); }
.co-item .co-sum { font-weight: 700; white-space: nowrap; }
.alert-error { background: var(--red-soft); color: var(--red-dark); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 18px; font-weight: 600; }
.alert-success { background: #ecfdf3; color: #15803d; border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 18px; font-weight: 600; }

/* ── ავტორიზაცია ─────────────────────────────────────────────── */
.auth-wrap { min-height: 70vh; display: grid; place-items: center; padding: 50px 18px; }
.auth-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 40px; width: 100%; max-width: 440px; }
.auth-head { text-align: center; margin-bottom: 26px; }
.auth-head .logo-mark { width: 56px; height: 56px; font-size: 1.5rem; margin: 0 auto 16px; }
.auth-head h1 { font-size: 1.7rem; font-weight: 800; }
.auth-head p { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: .9rem; color: var(--muted); }
.auth-alt a { color: var(--red); font-weight: 700; }

/* ── პროფილი ─────────────────────────────────────────────────── */
.profile-layout { display: grid; grid-template-columns: 320px 1fr; gap: 26px; align-items: start; padding: 30px 18px 60px; }
.profile-side { position: sticky; top: 96px; }
.orders-list { display: flex; flex-direction: column; gap: 16px; }
.order-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.oc-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.oc-head strong { font-size: 1.02rem; }
.oc-date { color: var(--muted-2); font-size: .82rem; margin-left: 10px; }
.oc-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.oc-item { display: flex; justify-content: space-between; font-size: .88rem; color: #444; }
.oc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); flex-wrap: wrap; }
.oc-foot strong { color: var(--red); font-size: 1.1rem; }
.status-badge { font-size: .76rem; font-weight: 800; padding: 5px 12px; border-radius: 30px; }
.st-new { background: #e0edff; color: #1d4ed8; }
.st-processing { background: #fff3d6; color: #b45309; }
.st-shipped { background: #e8e2ff; color: #6d28d9; }
.st-completed { background: #d8f5e3; color: #15803d; }
.st-cancelled { background: #ffe0e0; color: #b91c1c; }

/* ── ბლოგის სტატია ───────────────────────────────────────────── */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; padding-bottom: 60px; }
.art-date { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; font-weight: 600; margin-bottom: 12px; }
.art-date svg { width: 16px; height: 16px; color: var(--red); }
.article-main h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.article-cover { aspect-ratio: 16/7; border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--ink), var(--ink-3)); display: grid; place-items: center; color: rgba(255,255,255,.18); margin-bottom: 24px; }
.art-lead { font-size: 1.15rem; color: var(--text); font-weight: 600; line-height: 1.7; margin-bottom: 18px; }
.art-body { color: #3a3d45; line-height: 1.95; font-size: 1.02rem; }
.article-side { position: sticky; top: 96px; }
.side-posts li { border-bottom: 1px solid var(--line); }
.side-posts li:last-child { border: none; }
.side-posts a { display: block; padding: 12px 0; font-weight: 600; font-size: .92rem; transition: color .15s; }
.side-posts a:hover { color: var(--red); }
.side-posts a span { display: block; color: var(--muted-2); font-weight: 500; font-size: .78rem; margin-top: 3px; }

/* ── about ───────────────────────────────────────────────────── */
.about-intro { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.about-visual { aspect-ratio: 1/1; border-radius: var(--radius-lg); background: radial-gradient(120% 120% at 70% 20%, var(--ink-3), var(--ink)); display: grid; place-items: center; color: var(--red); }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.about-stats .num { font-size: 2.4rem; font-weight: 900; color: var(--red); }
.about-stats .lbl { color: var(--muted); font-weight: 600; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; text-align: center; transition: transform .2s var(--ease), box-shadow .2s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card .si { width: 56px; height: 56px; border-radius: 14px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; margin: 0 auto 16px; }
.value-card .si svg { width: 28px; height: 28px; }
.value-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: .88rem; }
.cta-band { margin-top: 40px; background: radial-gradient(120% 200% at 90% 0%, var(--ink-3), var(--ink)); border-radius: var(--radius-lg); padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; flex-wrap: wrap; }
.cta-band h3 { font-size: 1.5rem; font-weight: 800; }
.cta-band p { color: var(--muted-2); margin-top: 6px; }

/* ── contact ─────────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.ci-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: flex; gap: 16px; }
.ci-card .si { width: 48px; height: 48px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.ci-card .si svg { width: 24px; height: 24px; }
.ci-card h4 { font-size: 1rem; margin-bottom: 4px; }
.ci-card p { color: var(--muted); font-size: .9rem; }
.map-placeholder { margin-top: 28px; height: 280px; border-radius: var(--radius-lg); background: linear-gradient(150deg, #e7e9ee, #f0f1f4); display: grid; place-items: center; color: var(--muted-2); box-shadow: var(--shadow); }
.map-placeholder p { margin-top: 10px; font-weight: 600; }

/* ── brands ──────────────────────────────────────────────────── */
.brands-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.brand-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; text-align: center; transition: transform .2s var(--ease), box-shadow .2s; }
.brand-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.bc-logo { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, var(--ink), var(--ink-3)); color: #fff; display: grid; place-items: center; font-size: 1.8rem; font-weight: 900; margin: 0 auto 14px; overflow: hidden; }
.brand-card:hover .bc-logo:not(.has-logo) { background: linear-gradient(135deg, var(--red), #ff3355); }
.bc-logo.has-logo { background: #fff; border: 1.5px solid var(--line); padding: 8px; }
.bc-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-card h3 { font-size: 1.05rem; }
.bc-count { color: var(--muted); font-size: .82rem; }

/* ── static content ──────────────────────────────────────────── */
.static-content h3 { font-size: 1.2rem; margin: 22px 0 10px; }
.static-content h3:first-child { margin-top: 0; }
.static-content p { color: #3a3d45; line-height: 1.85; margin-bottom: 12px; }
.static-content ul { margin: 0 0 14px; padding-left: 20px; }
.static-content li { color: #3a3d45; line-height: 1.8; list-style: disc; margin-bottom: 6px; }

/* ── ლაივ ჩატის ვიჯეტი ───────────────────────────────────────── */
.mm-chat { position: fixed; right: 22px; bottom: 22px; z-index: 1000; font-family: var(--font); }
.mmc-toggle {
    position: relative; width: 62px; height: 62px; border-radius: 50%;
    background: linear-gradient(135deg, var(--red), #ff3355); color: #fff;
    display: grid; place-items: center; box-shadow: var(--shadow-red);
    transition: transform .2s var(--ease);
}
.mmc-toggle:hover { transform: scale(1.07); }
.mmc-toggle svg { width: 28px; height: 28px; }
.mmc-ic { position: absolute; transition: opacity .2s, transform .25s var(--ease); }
.mmc-ic.close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.mm-chat.open .mmc-ic.open { opacity: 0; transform: rotate(90deg) scale(.6); }
.mm-chat.open .mmc-ic.close { opacity: 1; transform: rotate(0) scale(1); }
.mmc-badge {
    position: absolute; top: -3px; right: -3px; min-width: 22px; height: 22px; padding: 0 6px;
    background: var(--ink); color: #fff; border: 2px solid #fff; border-radius: 11px;
    font-size: .72rem; font-weight: 800; display: grid; place-items: center;
}

.mmc-panel {
    position: absolute; right: 0; bottom: 76px; width: 360px; max-width: calc(100vw - 32px);
    height: 520px; max-height: calc(100vh - 120px);
    background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(20,22,28,.28);
    display: flex; flex-direction: column; overflow: hidden;
    animation: mmcIn .25s var(--ease);
}
@keyframes mmcIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.mmc-head { display: flex; align-items: center; gap: 12px; padding: 15px 16px; background: radial-gradient(120% 160% at 90% 0%, var(--ink-3), var(--ink)); color: #fff; }
.mmc-avatar { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; flex-shrink: 0; }
.mmc-avatar svg { width: 24px; height: 24px; color: #fff; }
.mmc-htext { flex: 1; line-height: 1.25; min-width: 0; }
.mmc-htext strong { display: block; font-size: .95rem; }
.mmc-htext span { font-size: .76rem; color: #aeb4c0; }
.mmc-min { color: #aeb4c0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; }
.mmc-min:hover { background: rgba(255,255,255,.1); color: #fff; }
.mmc-min svg { width: 18px; height: 18px; }

.mmc-body { flex: 1; overflow-y: auto; padding: 16px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.mmc-msg { display: flex; flex-direction: column; max-width: 82%; }
.mmc-msg.visitor { align-self: flex-end; align-items: flex-end; }
.mmc-msg.bot, .mmc-msg.operator { align-self: flex-start; }
.mmc-bubble { padding: 10px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.5; word-wrap: break-word; }
.mmc-msg.visitor .mmc-bubble { background: var(--red); color: #fff; border-bottom-right-radius: 4px; }
.mmc-msg.bot .mmc-bubble { background: #fff; color: var(--text); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.mmc-msg.operator .mmc-bubble { background: var(--ink); color: #fff; border-bottom-left-radius: 4px; }
.mmc-msg.operator .mmc-bubble::before { content: "👨‍💻 ოპერატორი"; display: block; font-size: .68rem; opacity: .6; margin-bottom: 3px; font-weight: 700; }
.mmc-time { font-size: .66rem; color: var(--muted-2); margin-top: 3px; padding: 0 4px; }

.mmc-quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 8px; background: var(--bg); }
.mmc-qbtn { font-size: .8rem; font-weight: 600; padding: 7px 12px; border-radius: 30px; background: #fff; border: 1.5px solid var(--line); color: var(--text); transition: all .15s; }
.mmc-qbtn:hover { border-color: var(--red); color: var(--red); }

.mmc-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.mmc-input input { flex: 1; height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 22px; background: var(--bg); }
.mmc-input input:focus { outline: none; border-color: var(--red); background: #fff; }
.mmc-input button { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; flex-shrink: 0; transition: background .15s; }
.mmc-input button:hover { background: var(--red-dark); }
.mmc-input button svg { width: 20px; height: 20px; }

@media (max-width: 460px) {
    .mm-chat { right: 14px; bottom: 14px; }
    .mmc-panel { bottom: 72px; height: calc(100vh - 96px); }
}

/* ── VIN დეკოდერი ────────────────────────────────────────────── */
.vin-form { display: flex; gap: 12px; }
.vin-form input {
    flex: 1; height: 56px; padding: 0 18px; font-size: 1.15rem; font-weight: 700; letter-spacing: .06em;
    border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.vin-form input:focus { outline: none; border-color: var(--red); }
.vin-hint { font-size: .82rem; color: var(--muted); margin-top: 10px; }
.vin-examples { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .85rem; color: var(--muted); }
.vin-examples a { background: #fff; border: 1.5px solid var(--line); border-radius: 8px; padding: 7px 12px; font-weight: 600; color: var(--text); transition: all .15s; }
.vin-examples a:hover { border-color: var(--red); color: var(--red); }

.vin-result { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 24px; overflow: hidden; }
.vin-result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; background: radial-gradient(120% 200% at 90% 0%, var(--ink-3), var(--ink)); color: #fff; flex-wrap: wrap; }
.vin-result-head code { font-size: 1.05rem; font-weight: 700; letter-spacing: .08em; color: #fff; }
.vr-badge { display: inline-flex; align-items: center; gap: 7px; background: #16a34a; color: #fff; padding: 5px 12px; border-radius: 30px; font-size: .82rem; font-weight: 700; }
.vr-badge svg { width: 16px; height: 16px; }
.vin-table { width: 100%; border-collapse: collapse; }
.vin-table th, .vin-table td { padding: 13px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.vin-table th { width: 42%; color: var(--muted); font-weight: 600; }
.vin-table td { font-weight: 700; }
.vin-table tr:last-child th, .vin-table tr:last-child td { border-bottom: none; }
.vin-note { display: flex; align-items: flex-start; gap: 8px; font-size: .82rem; color: var(--muted); padding: 14px 22px; background: var(--bg); }
.vin-note svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.vin-cta { display: flex; gap: 12px; padding: 18px 22px; flex-wrap: wrap; }

.vin-products { margin-top: 38px; }
.vin-products-head { text-align: center; margin-bottom: 26px; }
.vin-products-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; }
.vin-products-head p { color: var(--muted); margin-top: 6px; font-size: .92rem; }
.vin-cat { margin-bottom: 30px; }
.vin-cat-head { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.vin-cat-head .vc-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--ink); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.vin-cat-head h3 { font-size: 1.15rem; font-weight: 700; }
.vin-cat-head .vc-count { background: var(--red-soft); color: var(--red); font-size: .76rem; font-weight: 800; padding: 3px 9px; border-radius: 20px; }
.vin-cat-head .vc-all { margin-left: auto; color: var(--muted); font-weight: 600; font-size: .85rem; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.vin-cat-head .vc-all:hover { color: var(--red); }
.vin-cat-head .vc-all svg { width: 16px; height: 16px; }
.vin-products .product-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .vin-products .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .vin-products .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .vin-products .product-grid { grid-template-columns: 1fr; } }

/* ── OBD დიაგნოსტიკა ─────────────────────────────────────────── */
.obd-result { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-top: 24px; }
.obd-head { display: flex; align-items: center; gap: 18px; padding: 22px; border-left: 7px solid var(--muted-2); }
.obd-head.sev-high { border-color: var(--red); background: linear-gradient(100deg, #fff0f1, #fff); }
.obd-head.sev-medium { border-color: #f5a623; background: linear-gradient(100deg, #fff7e9, #fff); }
.obd-head.sev-low { border-color: #16a34a; background: linear-gradient(100deg, #eefaf1, #fff); }
.obd-code { font-size: 1.7rem; font-weight: 900; letter-spacing: .04em; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; flex-shrink: 0; }
.obd-head-text h2 { font-size: 1.25rem; font-weight: 800; line-height: 1.25; }
.obd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.obd-sys, .obd-origin { font-size: .78rem; font-weight: 600; color: var(--muted); background: var(--bg); padding: 4px 10px; border-radius: 20px; }
.sev-badge { font-size: .78rem; font-weight: 800; padding: 4px 11px; border-radius: 20px; color: #fff; }
.sev-badge.sev-high { background: var(--red); }
.sev-badge.sev-medium { background: #f5a623; }
.sev-badge.sev-low { background: #16a34a; }
.obd-body { padding: 22px; }
.obd-body h3 { font-size: 1.05rem; margin: 16px 0 9px; }
.obd-body h3:first-child { margin-top: 0; }
.obd-body p { color: #3a3d45; line-height: 1.8; }
.obd-causes { display: grid; gap: 8px; margin-top: 6px; }
.obd-causes li { display: flex; align-items: flex-start; gap: 9px; font-size: .92rem; color: #3a3d45; }
.obd-causes svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; margin-top: 3px; }
.obd-unknown { background: var(--bg); border-radius: var(--radius-sm); padding: 18px; }

.obd-products { margin-top: 34px; }
.obd-products .product-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .obd-products .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .obd-products .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .obd-products .product-grid { grid-template-columns: 1fr; } }

.obd-common { margin-top: 30px; }
.obd-common h3 { font-size: 1.05rem; margin-bottom: 14px; }
.obd-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.obd-chip { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; transition: border-color .15s, transform .15s; }
.obd-chip:hover { border-color: var(--red); transform: translateY(-2px); }
.obd-chip strong { font-size: 1rem; color: var(--red); background: var(--red-soft); padding: 3px 9px; border-radius: 7px; }
.obd-chip span { font-size: .86rem; color: var(--muted); }
@media (max-width: 560px) { .vin-form { flex-direction: column; } .obd-chips { grid-template-columns: 1fr; } .obd-head { flex-direction: column; align-items: flex-start; } }

/* ── SOS გადაუდებელი დახმარება ───────────────────────────────── */
.sos-btn {
    position: fixed; left: 22px; bottom: 22px; z-index: 1000;
    width: 70px; height: 70px; border-radius: 50%;
    background: linear-gradient(135deg, #e4022b, #b00020); color: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
    box-shadow: 0 10px 26px rgba(228,2,43,.45);
}
.sos-btn strong { font-size: 1.15rem; font-weight: 900; letter-spacing: .04em; }
.sos-btn span:not(.sos-pulse) { font-size: .58rem; font-weight: 700; margin-top: 2px; }
.sos-pulse { position: absolute; inset: 0; border-radius: 50%; background: #e4022b; z-index: -1; animation: sosPulse 2s ease-out infinite; }
@keyframes sosPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }
.sos-btn:hover { transform: scale(1.06); }

.sos-overlay { position: fixed; inset: 0; z-index: 1100; background: rgba(15,17,21,.65); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 18px; }
.sos-modal { background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 440px; max-height: 88vh; overflow-y: auto; position: relative; box-shadow: 0 30px 70px rgba(0,0,0,.4); animation: mmcIn .25s var(--ease); }
.sos-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); color: var(--muted); display: grid; place-items: center; }
.sos-close:hover { background: var(--red-soft); color: var(--red); }
.sos-close svg { width: 20px; height: 20px; }
.sos-head { display: flex; gap: 14px; padding: 24px 22px 16px; }
.sos-head .sos-ic { width: 50px; height: 50px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.sos-head .sos-ic svg { width: 28px; height: 28px; }
.sos-head h3 { font-size: 1.2rem; font-weight: 800; }
.sos-head p { font-size: .85rem; color: var(--muted); margin-top: 3px; }
.sos-body { padding: 6px 22px 24px; }
.sos-call-line { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: .9rem; color: var(--muted); }
.sos-call-line svg { width: 17px; height: 17px; color: var(--red); }

.sos-loading, .sos-found { display: flex; align-items: center; gap: 10px; font-weight: 600; padding: 10px 0; }
.sos-found { color: #16a34a; font-size: .88rem; }
.sos-found a { color: var(--red); font-weight: 700; }
.sos-dot { width: 10px; height: 10px; border-radius: 50%; background: #16a34a; }
.sos-spin { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--red); border-radius: 50%; animation: sosSpin .8s linear infinite; }
@keyframes sosSpin { to { transform: rotate(360deg); } }
.sos-h { font-size: .95rem; font-weight: 800; margin: 18px 0 10px; }
.sos-muted { color: var(--muted); font-size: .88rem; }

.sos-map { height: 220px; border-radius: var(--radius-sm); overflow: hidden; margin: 6px 0 4px; border: 1.5px solid var(--line); z-index: 1; }
.sos-map .leaflet-container { font-family: var(--font); }
.sos-truck { font-size: 24px; line-height: 1; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
.sos-truck.live { animation: sosTruckPulse 1.4s ease-in-out infinite; }
@keyframes sosTruckPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.sos-me { background: var(--ink); color: #fff; font-size: .68rem; font-weight: 800; padding: 3px 8px; border-radius: 20px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.3); border: 2px solid #fff; }
.sp-live { font-size: .64rem; color: #16a34a; font-weight: 800; vertical-align: middle; }

.sos-partners { display: flex; flex-direction: column; gap: 10px; }
.sos-partner { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px; }
.sos-partner.best { border-color: var(--red); background: var(--red-soft); }
.sp-info strong { font-size: .95rem; display: block; }
.sp-near { font-size: .66rem; background: var(--red); color: #fff; padding: 2px 7px; border-radius: 20px; font-weight: 800; vertical-align: middle; }
.sp-info span { font-size: .8rem; color: var(--muted); }
.sp-info .sp-eta { display: block; font-size: .9rem; color: var(--text); margin-top: 3px; }
.sp-info .sp-eta b { color: var(--red); font-weight: 800; }
.sp-info .sp-sub { display: block; font-size: .76rem; color: var(--muted-2); margin-top: 1px; }
.sp-act { display: flex; gap: 8px; margin-top: 10px; }
.sp-act .btn { flex: 1; }

.sos-products { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sos-prod { display: flex; flex-direction: column; gap: 3px; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; transition: border-color .15s; }
.sos-prod:hover { border-color: var(--red); }
.spp-name { font-size: .82rem; font-weight: 600; line-height: 1.3; }
.spp-price { font-size: .9rem; font-weight: 800; color: var(--red); }

.sos-callback { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.sos-callback input { height: 48px; padding: 0 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.sos-callback input:focus { outline: none; border-color: var(--red); background: #fff; }
.sos-fallback p { color: var(--muted); margin-bottom: 12px; }
.sos-ok { text-align: center; padding: 14px 0; }
.sos-ok-ic { width: 56px; height: 56px; border-radius: 50%; background: #16a34a; color: #fff; font-size: 1.8rem; display: grid; place-items: center; margin: 0 auto 14px; font-weight: 900; }
.sos-ok h4 { font-size: 1rem; margin-bottom: 16px; line-height: 1.5; }

@media (max-width: 460px) {
    .sos-btn { left: 14px; bottom: 14px; width: 62px; height: 62px; }
    .sos-products { grid-template-columns: 1fr; }
}

/* ── utility ─────────────────────────────────────────────────── */
.mobile-toggle { display: none; }
.bg-white { background: #fff; }
.text-center { text-align: center; }
@media (max-width: 1080px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 980px) {
    .cat-grid, .product-grid, .blog-grid { grid-template-columns: repeat(3, 1fr); }
    .services { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 360px; }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
    .catalog-sidebar .filter-box { flex: 1; min-width: 220px; }
    .product-page { grid-template-columns: 1fr; gap: 26px; }
    .pp-gallery { position: static; max-width: 460px; }
    .values-grid, .brands-grid { grid-template-columns: repeat(3, 1fr); }
    .about-intro { grid-template-columns: 1fr; }
    .about-visual { max-width: 300px; }
    .article-layout { grid-template-columns: 1fr; }
    .article-side { position: static; }
    .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .hero-slider { min-height: 400px; }
    .hs-slide::before { background: linear-gradient(0deg, rgba(15,17,21,.92), rgba(15,17,21,.55)); }
    .hs-arrow { display: none; }
    .topbar .tb-left .tb-item.hide-sm { display: none; }
    /* header → two rows: logo + icon actions, then full-width search */
    .header-main { flex-wrap: wrap; height: auto; gap: 10px 14px; padding: 10px 0; }
    .logo { order: 1; }
    .header-actions { order: 2; gap: 2px; }
    .h-action { padding: 7px 8px; }
    .h-action span:not(.badge) { display: none; }
    .search-form { order: 3; flex: 0 0 100%; max-width: none; }
    .search-form input { height: 44px; padding-right: 92px; }
    .search-form button { padding: 0 16px; }
    .main-nav .container { display: none; }
    .main-nav.open .container { display: flex; flex-direction: column; align-items: stretch; padding: 8px 18px 14px; }
    .main-nav.open .nav-link { border-bottom: 1px solid var(--ink-3); border-left: 3px solid transparent; }
    .main-nav.open .nav-cta { margin-left: 0; padding: 12px 16px; }
    .mobile-toggle { display: inline-flex; }
    .has-dropdown .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: var(--ink-2); border-radius: 8px; margin: 4px 0; }
    .has-dropdown .dropdown a { color: #d4d8e0; }
    .has-dropdown .dropdown a:hover { background: var(--ink-3); color: #fff; }
    .cat-grid, .product-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 38px 0; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .profile-layout { grid-template-columns: 1fr; }
    .profile-side { position: static; }
    .cart-row { grid-template-columns: 70px minmax(0,1fr) auto; grid-template-areas: "thumb info remove" "thumb qty sub"; gap: 10px 12px; }
    .cart-row > * { min-width: 0; }
    .cr-thumb { grid-area: thumb; width: 70px; height: 70px; align-self: start; }
    .cr-info { grid-area: info; }
    .cr-qty-form { grid-area: qty; }
    .cr-subtotal { grid-area: sub; text-align: right; min-width: 0; }
    .cr-remove { grid-area: remove; justify-self: end; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .values-grid, .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .about-stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .cta-band { padding: 28px; }
    /* კატალოგის ფილტრები → იკეცება ღილაკის უკან */
    .filter-toggle { display: flex; }
    .catalog-sidebar { display: none; }
    .catalog-sidebar.open { display: flex; flex-direction: column; flex-wrap: nowrap; }
}
@media (max-width: 460px) {
    .cat-grid, .product-grid, .blog-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 22px; }
    /* topbar: keep tap-to-call phone + lang, drop redundant links */
    .topbar { font-size: .74rem; }
    .topbar .container { gap: 10px; height: 38px; }
    .topbar .tb-left, .topbar .tb-right { gap: 12px; }
    .topbar .tb-item { gap: 5px; }
    .topbar .tb-right .tb-item { display: none; }
    .logo-mark { width: 40px; height: 40px; }
    .logo-text strong { font-size: 1.15rem; }
    .services { grid-template-columns: 1fr; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
    /* clear the fixed SOS / chat buttons at the very bottom */
    .footer-bottom { padding-bottom: 84px; }
}
