/* ==========================================================================
   FleetPride — Storefront Design System
   Dark / industrial header, red accent, light content surface.
   Shared by: index.html, cart.html, checkout.html
   ========================================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Brand */
    --red: #e3252b;
    --red-dark: #b81b20;
    --red-soft: rgba(227, 37, 43, 0.12);
    --blue: #1a4b9c;
    --blue-soft: rgba(26, 75, 156, 0.12);

    /* Dark surfaces (header, hero, footer) */
    --ink-900: #0b1220;
    --ink-800: #111a2e;
    --ink-700: #1a2540;
    --ink-600: #26334f;
    --ink-line: rgba(255, 255, 255, 0.08);
    --ink-text: #e6eaf2;
    --ink-muted: #94a3b8;

    /* Light surfaces (content) */
    --bg: #f3f4f7;
    --surface: #ffffff;
    --surface-2: #f8f9fb;
    --line: #e4e7ee;
    --line-strong: #cfd5e0;
    --text: #0f172a;
    --text-2: #475569;
    --text-3: #94a3b8;

    --green: #16a34a;
    --amber: #f59e0b;
    --whatsapp: #25d366;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.18);

    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-pill: 999px;

    --t: 0.2s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Barlow Condensed', 'Inter', sans-serif;

    --container: 1320px;
    --header-h: 84px;
}

html { font-size: 15px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c3cad6; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #a7b0bf; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: var(--r-md); font-weight: 600; font-size: 0.9rem;
    line-height: 1; white-space: nowrap; transition: transform var(--t), background var(--t), color var(--t), box-shadow var(--t), border-color var(--t);
    border: 1.5px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 8px 20px rgba(227, 37, 43, 0.28); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-700); }
.btn-outline { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--text); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-light { background: #fff; color: var(--ink-900); }
.btn-light:hover { background: #eef1f6; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1fb858; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3); }
.btn-sm { padding: 8px 14px; font-size: 0.82rem; border-radius: var(--r-sm); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--r-md); display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Announcement bar ---------- */
.announce {
    background: var(--red); color: #fff; font-size: 0.78rem; font-weight: 500;
}
.announce .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.announce .a-left, .announce .a-right { display: flex; align-items: center; gap: 18px; }
.announce a { opacity: 0.92; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.announce a:hover { opacity: 1; text-decoration: underline; }
.announce i { font-size: 0.8rem; }
.announce .dot { opacity: 0.5; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 900;
    background: var(--ink-900); color: var(--ink-text);
    border-bottom: 1px solid var(--ink-line);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.header-main .container {
    display: flex; align-items: center; gap: 20px; min-height: var(--header-h); padding-top: 8px; padding-bottom: 8px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand .brand-plate { display: flex; align-items: center; }
.brand img { height: 62px; width: auto; display: block; }

.search {
    flex: 1; display: flex; align-items: stretch; max-width: 640px; min-width: 0;
    background: #fff; border-radius: var(--r-md); overflow: hidden; position: relative;
    border: 2px solid transparent; transition: border-color var(--t), box-shadow var(--t);
}
.search:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 37, 43, 0.25); }
.search input {
    flex: 1; min-width: 0; border: none; outline: none; padding: 0 16px; height: 44px; font-size: 0.95rem; color: var(--text); background: transparent;
}
.search input::placeholder { color: var(--text-3); }
.search select {
    border: none; border-left: 1px solid var(--line); background: var(--surface-2); color: var(--text-2); padding: 0 30px 0 12px;
    font-size: 0.85rem; outline: none; appearance: none; -webkit-appearance: none; cursor: pointer; max-width: 170px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2394a3b8'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
.search button {
    background: var(--red); color: #fff; padding: 0 22px; font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; transition: background var(--t);
}
.search button:hover { background: var(--red-dark); }
.search-suggest {
    position: absolute; top: calc(100% + 6px); left: -2px; right: -2px; background: #fff; border-radius: var(--r-md);
    box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; z-index: 50; max-height: 420px; overflow-y: auto; display: none;
}
.search-suggest.show { display: block; }
.sg-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; cursor: pointer; border-bottom: 1px solid var(--line); color: var(--text); }
.sg-item:last-child { border-bottom: none; }
.sg-item:hover { background: var(--surface-2); }
.sg-item img, .sg-item .sg-ph { width: 40px; height: 40px; border-radius: var(--r-sm); object-fit: cover; background: var(--surface-2); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--text-3); }
.sg-item .t { font-size: 0.88rem; font-weight: 600; line-height: 1.3; }
.sg-item .c { font-size: 0.72rem; color: var(--text-3); margin-top: 2px; }
.sg-item mark { background: #fff1b8; color: inherit; border-radius: 2px; padding: 0 1px; }
.sg-empty { padding: 18px; text-align: center; color: var(--text-3); font-size: 0.85rem; }

.header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; margin-left: auto; }
.h-action {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 64px; height: 56px; padding: 0 10px;
    border-radius: var(--r-md); color: var(--ink-text); font-size: 0.7rem; font-weight: 500; position: relative; transition: background var(--t);
}
.h-action i { font-size: 1.25rem; }
.h-action:hover { background: var(--ink-700); }
.h-action .pill {
    position: absolute; top: 4px; right: 8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill);
    background: var(--red); color: #fff; font-size: 0.65rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--ink-900);
}
.h-action .pill:empty, .h-action .pill[data-zero="true"] { display: none; }
.h-action.cart { background: var(--ink-800); border: 1px solid var(--ink-line); }
.h-action.cart:hover { background: var(--ink-700); }
.menu-toggle { display: none; }

/* Category nav */
.cat-nav { background: var(--ink-800); border-top: 1px solid var(--ink-line); }
.cat-nav .container { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 6px; padding-bottom: 6px; }
.cat-nav .container::-webkit-scrollbar { display: none; }
.cat-link {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); font-size: 0.82rem; font-weight: 500;
    color: var(--ink-muted); white-space: nowrap; transition: background var(--t), color var(--t); flex-shrink: 0;
}
.cat-link i { font-size: 0.85rem; opacity: 0.85; }
.cat-link:hover { color: #fff; background: var(--ink-700); }
.cat-link.active { color: #fff; background: var(--red); }
.cat-link .n { font-size: 0.7rem; opacity: 0.7; }
.cat-link.active .n { opacity: 0.9; }

/* ---------- Mobile menu drawer ---------- */
.mnav-overlay { position: fixed; inset: 0; background: rgba(11, 18, 32, 0.6); z-index: 1200; opacity: 0; pointer-events: none; transition: opacity var(--t); backdrop-filter: blur(2px); }
.mnav-overlay.show { opacity: 1; pointer-events: auto; }
.mnav { position: absolute; top: 0; left: 0; bottom: 0; width: min(320px, 86vw); background: var(--ink-900); color: var(--ink-text); transform: translateX(-100%); transition: transform 0.28s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
.mnav-overlay.show .mnav { transform: translateX(0); }
.mnav-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--ink-line); }
.mnav-head .brand img { height: 46px; }
.mnav-body { flex: 1; overflow-y: auto; padding: 10px 0; }
.mnav-sec { padding: 10px 16px 4px; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted); font-weight: 700; }
.mnav a, .mnav button.mnav-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-size: 0.92rem; width: 100%; text-align: left; color: var(--ink-text); }
.mnav a i, .mnav button.mnav-item i { width: 20px; text-align: center; color: var(--ink-muted); }
.mnav a:hover, .mnav button.mnav-item:hover, .mnav button.mnav-item.active { background: var(--ink-800); }
.mnav button.mnav-item.active i { color: var(--red); }
.mnav-foot { padding: 14px 16px; border-top: 1px solid var(--ink-line); display: grid; gap: 8px; }

/* ---------- Page scaffolding ---------- */
main { flex: 1; }
.page-head { padding: 26px 0 14px; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; color: var(--text-3); margin-bottom: 8px; }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--red); }
.crumbs i { font-size: 0.6rem; }
.page-head h1 { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; letter-spacing: 0.01em; line-height: 1.1; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.page-head h1 small { font-family: var(--font); font-size: 0.95rem; font-weight: 500; color: var(--text-3); }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; letter-spacing: 0.01em; line-height: 1.1; }
.section-sub { color: var(--text-2); font-size: 0.95rem; margin-top: 6px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
    background:
        linear-gradient(90deg, rgba(11, 18, 32, 0.94) 0%, rgba(11, 18, 32, 0.78) 45%, rgba(11, 18, 32, 0.45) 75%, rgba(11, 18, 32, 0.55) 100%),
        url('/images/hero-trucks.jpg') center / cover no-repeat,
        linear-gradient(180deg, var(--ink-800), var(--ink-900));
    color: #fff; position: relative; overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
    background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), transparent 85%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero .eyebrow { color: #ff8a8e; }
.hero .eyebrow::before { background: #ff8a8e; }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.02; letter-spacing: 0.005em; margin: 14px 0 16px; }
.hero h1 span { color: var(--red); }
.hero p { color: var(--ink-muted); font-size: 1.05rem; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--ink-line); }
.hero-stats .s b { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.hero-stats .s span { font-size: 0.78rem; color: var(--ink-muted); }
.hero-side { display: grid; gap: 14px; }
.make-card {
    display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: rgba(255,255,255,0.05); border: 1px solid var(--ink-line);
    border-radius: var(--r-lg); color: #fff; transition: background var(--t), transform var(--t), border-color var(--t); text-align: left; width: 100%;
}
.make-card:hover { background: rgba(255,255,255,0.09); transform: translateX(4px); border-color: rgba(255,255,255,0.2); }
.make-card .logo { width: 56px; height: 56px; border-radius: var(--r-md); background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 6px; }
.make-card .logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.make-card .logo i { color: var(--ink-900); font-size: 1.4rem; }
.make-card b { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.02em; }
.make-card span { font-size: 0.8rem; color: var(--ink-muted); }
.make-card .arrow { margin-left: auto; color: var(--ink-muted); }

/* Trust strip */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.trust .t { display: flex; align-items: center; gap: 12px; padding: 6px 4px; }
.trust .t i { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.trust .t b { display: block; font-size: 0.88rem; font-weight: 700; }
.trust .t span { font-size: 0.75rem; color: var(--text-3); }

/* ---------- Shop layout ---------- */
.shop { padding: 36px 0 60px; }
#shop { scroll-margin-top: 170px; }
.shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.shop-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }

.filters { position: sticky; top: calc(var(--header-h) + 96px); display: flex; flex-direction: column; gap: 16px; }
.filter-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.filter-card h4 { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); border-bottom: 1px solid var(--line); }
.filter-card h4 button { font-size: 0.72rem; font-weight: 600; color: var(--red); text-transform: none; letter-spacing: 0; }
.filter-list { padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.f-opt {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: var(--r-sm); font-size: 0.86rem; color: var(--text-2); text-align: left; transition: background var(--t), color var(--t);
}
.f-opt i { width: 18px; text-align: center; font-size: 0.85rem; color: var(--text-3); }
.f-opt .n { margin-left: auto; font-size: 0.72rem; color: var(--text-3); background: var(--surface-2); padding: 2px 8px; border-radius: var(--r-pill); }
.f-opt:hover { background: var(--surface-2); color: var(--text); }
.f-opt.active { background: var(--red-soft); color: var(--red); font-weight: 600; }
.f-opt.active i, .f-opt.active .n { color: var(--red); }
.f-opt.active .n { background: rgba(227, 37, 43, 0.15); }
.f-opt img { width: 22px; height: 22px; object-fit: contain; }
.filter-help { padding: 16px; background: linear-gradient(135deg, var(--ink-800), var(--ink-900)); color: #fff; border-radius: var(--r-lg); }
.filter-help b { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.filter-help p { font-size: 0.8rem; color: var(--ink-muted); margin-bottom: 12px; }

.toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px 14px; margin-bottom: 18px;
}
.toolbar .results { font-size: 0.88rem; color: var(--text-2); }
.toolbar .results b { color: var(--text); }
.toolbar-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.select {
    position: relative; display: inline-flex; align-items: center;
}
.select select {
    appearance: none; -webkit-appearance: none; border: 1px solid var(--line-strong); background: var(--surface); border-radius: var(--r-sm); padding: 8px 32px 8px 12px;
    font-size: 0.84rem; font-weight: 500; color: var(--text); outline: none; cursor: pointer; transition: border-color var(--t), box-shadow var(--t);
}
.select select:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.select::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 12px; font-size: 0.6rem; color: var(--text-3); pointer-events: none; }
.view-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--r-sm); overflow: hidden; }
.view-toggle button { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--text-3); transition: background var(--t), color var(--t); }
.view-toggle button.active { background: var(--ink-900); color: #fff; }
.filter-toggle { display: none; }

.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 12px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line-strong); font-size: 0.78rem; font-weight: 500; }
.chip button { width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--text-2); font-size: 0.65rem; }
.chip button:hover { background: var(--red); color: #fff; }
.chip.clear { border-color: transparent; background: transparent; color: var(--red); cursor: pointer; }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.products.list { grid-template-columns: 1fr; }
.pcard {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; position: relative;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t); cursor: pointer;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.pcard .p-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.pcard .p-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform 0.35s ease; mix-blend-mode: multiply; }
.pcard:hover .p-media img { transform: scale(1.05); }
.p-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--text-3); background: repeating-linear-gradient(135deg, #f6f7fa 0 12px, #f0f2f6 12px 24px); }
.p-ph i { font-size: 2rem; opacity: 0.6; }
.p-ph span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.p-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: var(--r-sm); font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: var(--ink-900); color: #fff; }
.badge.sale { background: var(--red); }
.badge.new { background: var(--green); }
.badge.low { background: var(--amber); color: #1a1a1a; }
.badge.out { background: #64748b; }
.p-make { position: absolute; top: 10px; right: 10px; z-index: 2; width: 42px; height: 42px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; padding: 5px; }
.p-make img { max-width: 100%; max-height: 100%; object-fit: contain; }
.p-make.text { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.05em; color: var(--ink-900); width: auto; padding: 0 8px; }
.p-quick {
    position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; display: flex; gap: 8px; opacity: 0; transform: translateY(8px); transition: opacity var(--t), transform var(--t);
}
.pcard:hover .p-quick { opacity: 1; transform: translateY(0); }
.p-quick button { flex: 1; height: 36px; border-radius: var(--r-sm); background: rgba(11, 18, 32, 0.92); color: #fff; font-size: 0.78rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; backdrop-filter: blur(4px); }
.p-quick button:hover { background: var(--red); }
.p-quick button.wish { flex: 0 0 36px; }
.p-quick button.wish.on { background: var(--red); }
.p-body { padding: 14px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-cat { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.p-cat .mk { color: var(--blue); }
.p-title { font-size: 0.92rem; font-weight: 600; line-height: 1.35; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.p-desc { font-size: 0.78rem; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-meta { display: flex; align-items: center; gap: 10px; font-size: 0.74rem; color: var(--text-3); margin-top: auto; padding-top: 6px; }
.p-meta .ok { color: var(--green); font-weight: 600; }
.p-meta .low { color: var(--amber); font-weight: 600; }
.p-meta .out { color: var(--text-3); font-weight: 600; }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px dashed var(--line); margin-top: 4px; }
.p-price { display: flex; flex-direction: column; line-height: 1.1; }
.p-price .now { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--text); }
.p-price .was { font-size: 0.74rem; color: var(--text-3); text-decoration: line-through; }
.p-price .quote { font-size: 0.78rem; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.p-price .quote i { font-size: 0.8rem; }
.p-add { height: 38px; padding: 0 14px; border-radius: var(--r-md); background: var(--ink-900); color: #fff; font-size: 0.8rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: background var(--t), transform var(--t); flex-shrink: 0; }
.p-add:hover { background: var(--red); }
.p-add:active { transform: scale(0.97); }
.p-add.added { background: var(--green); }
.p-add:disabled { opacity: 0.45; pointer-events: none; }

/* list view variant */
.products.list .pcard { flex-direction: row; }
.products.list .p-media { width: 220px; flex-shrink: 0; aspect-ratio: auto; min-height: 170px; }
.products.list .p-body { padding: 18px 20px; }
.products.list .p-title { -webkit-line-clamp: 1; min-height: 0; font-size: 1.02rem; }
.products.list .p-desc { -webkit-line-clamp: 3; }
.products.list .p-quick { display: none; }

.skeleton .pcard { pointer-events: none; }
.sk { background: linear-gradient(90deg, #eef0f4 25%, #f6f7fa 50%, #eef0f4 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 6px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.empty { grid-column: 1 / -1; text-align: center; padding: 64px 20px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--text-2); }
.empty i { font-size: 2.4rem; color: var(--text-3); margin-bottom: 12px; display: block; }
.empty h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 6px; color: var(--text); }
.empty p { font-size: 0.9rem; margin-bottom: 18px; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
.pagination button { min-width: 38px; height: 38px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--surface); font-size: 0.85rem; font-weight: 600; color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: all var(--t); }
.pagination button:hover:not(:disabled) { border-color: var(--text); color: var(--text); }
.pagination button.active { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.pagination button:disabled { opacity: 0.4; cursor: default; }
.pagination .dots { color: var(--text-3); padding: 0 4px; }

/* ---------- Category tiles (home) ---------- */
.cats { padding: 40px 0 10px; }
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.cat-tile {
    display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); text-align: left; width: 100%;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.cat-tile .ic { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--ink-900); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; transition: background var(--t); }
.cat-tile:hover .ic { background: var(--red); }
.cat-tile b { display: block; font-size: 0.92rem; font-weight: 700; }
.cat-tile span { font-size: 0.75rem; color: var(--text-3); }

/* ---------- Drawer (cart) ---------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(11, 18, 32, 0.55); z-index: 1300; opacity: 0; pointer-events: none; transition: opacity var(--t); backdrop-filter: blur(2px); }
.drawer-overlay.show { opacity: 1; pointer-events: auto; }
.drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--surface); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.3s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-lg); }
.drawer-overlay.show .drawer { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.drawer-head .count { font-family: var(--font); font-size: 0.72rem; background: var(--ink-900); color: #fff; padding: 2px 9px; border-radius: var(--r-pill); font-weight: 600; }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 20px; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--surface-2); }
.d-row { display: flex; justify-content: space-between; font-size: 0.86rem; color: var(--text-2); padding: 4px 0; }
.d-row.total { font-size: 1.05rem; font-weight: 700; color: var(--text); border-top: 1px dashed var(--line-strong); margin-top: 6px; padding-top: 10px; }
.d-row.total .v { font-family: var(--font-display); font-size: 1.5rem; }
.d-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.d-empty { text-align: center; padding: 60px 10px; color: var(--text-2); }
.d-empty i { font-size: 2.6rem; color: var(--text-3); margin-bottom: 14px; display: block; }
.d-empty h4 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 6px; color: var(--text); }
.d-empty p { font-size: 0.88rem; margin-bottom: 16px; }

.citem { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.citem:last-child { border-bottom: none; }
.citem .ci-img { width: 72px; height: 72px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--text-3); }
.citem .ci-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.citem .ci-title { font-size: 0.86rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.citem .ci-sub { font-size: 0.72rem; color: var(--text-3); margin-top: 2px; }
.citem .ci-price { font-weight: 700; font-size: 0.92rem; text-align: right; white-space: nowrap; }
.citem .ci-price.quote { font-size: 0.72rem; color: var(--blue); }
.ci-ctl { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-sm); overflow: hidden; background: var(--surface); }
.qty button { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: var(--text-2); font-size: 0.9rem; transition: background var(--t); }
.qty button:hover { background: var(--surface-2); color: var(--text); }
.qty input, .qty span { width: 36px; text-align: center; font-size: 0.86rem; font-weight: 600; border: none; outline: none; background: transparent; }
.qty.lg button { width: 42px; height: 42px; }
.qty.lg input, .qty.lg span { width: 48px; font-size: 1rem; }
.link-btn { font-size: 0.76rem; font-weight: 600; color: var(--text-3); display: inline-flex; align-items: center; gap: 5px; transition: color var(--t); }
.link-btn:hover { color: var(--red); }
.link-btn.danger:hover { color: var(--red); }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(11, 18, 32, 0.6); z-index: 1400; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity var(--t); backdrop-filter: blur(3px); }
.modal-overlay.show { opacity: 1; pointer-events: auto; }
.modal { background: var(--surface); border-radius: var(--r-lg); width: 100%; max-width: 980px; max-height: calc(100vh - 40px); overflow: auto; position: relative; transform: translateY(16px) scale(0.98); transition: transform 0.25s ease; box-shadow: var(--shadow-lg); }
.modal-overlay.show .modal { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--text-2); z-index: 5; transition: all var(--t); }
.modal-close:hover { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.modal.sm { max-width: 460px; text-align: center; padding: 36px 28px 28px; }
.modal.sm .m-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: var(--red-soft); color: var(--red); }
.modal.sm .m-icon.ok { background: rgba(22, 163, 74, 0.12); color: var(--green); }
.modal.sm h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 6px; }
.modal.sm p { color: var(--text-2); font-size: 0.92rem; margin-bottom: 20px; }
.modal.sm .m-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Product view */
.pv { display: grid; grid-template-columns: 1fr 1fr; }
.pv-media { background: var(--surface-2); display: flex; align-items: center; justify-content: center; min-height: 380px; position: relative; padding: 28px; border-right: 1px solid var(--line); }
.pv-media img { max-height: 440px; width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pv-media .p-ph { border-radius: var(--r-md); min-height: 320px; }
.pv-media .p-make { top: 16px; right: 16px; width: 56px; height: 56px; }
.pv-body { padding: 34px 32px 30px; display: flex; flex-direction: column; gap: 14px; }
.pv-body .p-cat { font-size: 0.72rem; }
.pv-body h2 { font-family: var(--font-display); font-size: 2rem; line-height: 1.1; font-weight: 700; }
.pv-rating { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-2); }
.stars { color: var(--amber); letter-spacing: 1px; font-size: 0.85rem; }
.stars .e { color: #d9dee7; }
.pv-desc { color: var(--text-2); font-size: 0.95rem; line-height: 1.6; }
.pv-price { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pv-price .now { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; line-height: 1; }
.pv-price .was { color: var(--text-3); text-decoration: line-through; }
.pv-price .save { font-size: 0.72rem; font-weight: 700; background: var(--red-soft); color: var(--red); padding: 4px 8px; border-radius: var(--r-sm); }
.pv-price .quote-box { display: flex; align-items: center; gap: 12px; }
.pv-price .quote-box i { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.pv-price .quote-box b { display: block; font-size: 1rem; }
.pv-price .quote-box span { font-size: 0.78rem; color: var(--text-2); }
.pv-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pv-specs .sp { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--text-2); }
.pv-specs .sp i { width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--text-2); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; }
.pv-specs .sp b { color: var(--text); font-weight: 600; }
.pv-buy { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.pv-buy .btn { flex: 1; min-width: 160px; }

/* ---------- Floating WhatsApp ---------- */
.fab-wa { position: fixed; right: 20px; bottom: 20px; z-index: 800; width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45); transition: transform var(--t), box-shadow var(--t); }
.fab-wa:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55); }
.fab-wa .tip { position: absolute; right: 68px; background: var(--ink-900); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 7px 12px; border-radius: var(--r-sm); white-space: nowrap; opacity: 0; transform: translateX(6px); transition: all var(--t); pointer-events: none; }
.fab-wa:hover .tip { opacity: 1; transform: translateX(0); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 90px); background: var(--ink-900); color: #fff; padding: 12px 18px; border-radius: var(--r-md); font-size: 0.86rem; font-weight: 500; box-shadow: var(--shadow-lg); z-index: 2000; display: flex; align-items: center; gap: 10px; opacity: 0; transition: transform 0.3s cubic-bezier(.2,.8,.2,1), opacity 0.3s; pointer-events: none; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast i { color: var(--green); }
.toast.err i { color: var(--red); }
.toast.info i { color: #60a5fa; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--text-2); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
    width: 100%; padding: 11px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); font-size: 0.92rem; outline: none; transition: border-color var(--t), box-shadow var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink-900); box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08); }
.field input.invalid, .field select.invalid { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.field .err { font-size: 0.74rem; color: var(--red); display: none; }
.field input.invalid ~ .err, .field select.invalid ~ .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row.thirds { grid-template-columns: 1fr 1fr 1fr; }
.form-row.full { grid-template-columns: 1fr; }

/* ---------- Cards / panels ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2, .panel-head h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.panel-head .num { width: 28px; height: 28px; border-radius: 50%; background: var(--ink-900); color: #fff; font-family: var(--font); font-size: 0.8rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.panel-body { padding: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: var(--ink-muted); margin-top: auto; }
.footer-cta { background: var(--ink-800); border-bottom: 1px solid var(--ink-line); }
.footer-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.footer-cta h3 { font-family: var(--font-display); color: #fff; font-size: 1.3rem; font-weight: 700; }
.footer-cta p { font-size: 0.8rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; padding: 30px 0 24px; }
.footer-grid h4 { color: #fff; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; font-weight: 700; }
.footer-grid li { margin-bottom: 7px; font-size: 0.8rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand .brand img { height: 46px; }
.footer-brand p { font-size: 0.78rem; margin: 10px 0 12px; max-width: 320px; line-height: 1.55; }
.socials { display: flex; gap: 8px; }
.socials a { width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--ink-800); border: 1px solid var(--ink-line); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: var(--ink-text); transition: all var(--t); }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact i { color: var(--red); margin-top: 3px; width: 16px; text-align: center; }
.footer-bottom { border-top: 1px solid var(--ink-line); }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; font-size: 0.74rem; }
.footer-bottom .links { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Cart page ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 24px; align-items: start; }
.cart-row { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: none; }
.cr-img { width: 100px; height: 100px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--text-3); }
.cr-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.cr-title { font-weight: 600; font-size: 0.95rem; line-height: 1.35; cursor: pointer; }
.cr-title:hover { color: var(--red); }
.cr-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.75rem; color: var(--text-3); margin-top: 5px; }
.cr-meta .ok { color: var(--green); font-weight: 600; }
.cr-meta .low { color: var(--amber); font-weight: 600; }
.cr-meta .out { color: var(--text-3); font-weight: 600; }
.cr-ctl { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.cr-price { text-align: right; display: flex; flex-direction: column; justify-content: flex-start; }
.cr-price .now { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.cr-price .was { display: block; font-size: 0.74rem; color: var(--text-3); text-decoration: line-through; margin-top: 4px; }
.cr-price .quote { font-size: 0.76rem; font-weight: 700; color: var(--blue); }

.summary-card { position: sticky; top: calc(var(--header-h) + 96px); }
.s-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.9rem; color: var(--text-2); padding: 6px 0; }
.s-row.total { font-size: 1rem; font-weight: 700; color: var(--text); border-top: 1px dashed var(--line-strong); margin-top: 8px; padding-top: 12px; }
.s-row.total .v { font-family: var(--font-display); font-size: 1.7rem; }
.s-note { font-size: 0.75rem; color: var(--text-3); margin-top: 10px; }
.trust-list { display: grid; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.trust-list .t { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--text-2); }
.trust-list i { width: 28px; height: 28px; border-radius: var(--r-sm); background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: var(--text-2); flex-shrink: 0; }

/* ---------- Checkout page ---------- */
.steps { display: flex; margin-bottom: 26px; }
.step-ind { flex: 1; display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 0.85rem; font-weight: 600; position: relative; padding: 0 12px; }
.step-ind .num { width: 32px; height: 32px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--line-strong); color: var(--text-3); display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; transition: all var(--t); }
.step-ind::after { content: ""; flex: 1; height: 1.5px; background: var(--line-strong); margin-left: 4px; }
.step-ind:last-child::after { display: none; }
.step-ind.active { color: var(--text); }
.step-ind.active .num { background: var(--red); border-color: var(--red); color: #fff; }
.step-ind.done { color: var(--text-2); }
.step-ind.done .num { background: var(--green); border-color: var(--green); color: #fff; }
.co-step { display: none; }
.co-step.active { display: block; animation: fadeUp 0.25s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.step-nav .spacer { flex: 1; }

.opt-list { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); cursor: pointer; transition: all var(--t); background: var(--surface); }
.opt:hover { border-color: var(--text-3); }
.opt.active { border-color: var(--red); background: var(--red-soft); }
.opt.disabled { opacity: 0.55; cursor: not-allowed; }
.opt .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all var(--t); }
.opt.active .radio { border-color: var(--red); }
.opt.active .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.opt .oi { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--text-2); flex-shrink: 0; }
.opt.active .oi { background: #fff; color: var(--red); }
.opt b { display: block; font-size: 0.92rem; }
.opt span { font-size: 0.76rem; color: var(--text-3); }
.opt .price { margin-left: auto; font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.opt .price .free { color: var(--green); }

.oi { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.oi:last-of-type { border-bottom: none; }
.oi-img { position: relative; width: 56px; height: 56px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--text-3); }
.oi-img img { width: 100%; height: 100%; object-fit: contain; padding: 3px; mix-blend-mode: multiply; }
.oi-img .qb { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--r-pill); background: var(--ink-900); color: #fff; font-size: 0.66rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.oi .t { font-size: 0.84rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oi .s { font-size: 0.72rem; color: var(--text-3); margin-top: 2px; }
.oi .p { font-weight: 700; font-size: 0.88rem; white-space: nowrap; }
.oi .p.quote { color: var(--blue); font-size: 0.74rem; }

.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.74rem; color: var(--text-3); margin-top: 14px; }
.ord-ref { display: inline-block; font-weight: 700; letter-spacing: 0.04em; background: var(--surface-2); border: 1px dashed var(--line-strong); padding: 8px 16px; border-radius: var(--r-sm); margin-bottom: 18px; font-size: 0.95rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .shop-grid { grid-template-columns: 230px minmax(0, 1fr); gap: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-brand { grid-column: 1 / -1; }
    .cat-tiles { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
    .cart-layout { grid-template-columns: 1fr; }
    .summary-card { position: static; }
    .step-ind::after { display: none; }
    .step-ind { padding: 0; }
    .hero .container { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; padding-bottom: 40px; }
    .hero-side { grid-template-columns: repeat(3, 1fr); }
    .make-card { flex-direction: column; text-align: center; gap: 10px; padding: 14px 10px; }
    .make-card .arrow { display: none; }
    .trust .container { grid-template-columns: repeat(2, 1fr); }
    .pv { grid-template-columns: 1fr; }
    .pv-media { min-height: 260px; border-right: none; border-bottom: 1px solid var(--line); padding: 20px; }
    .pv-media img { max-height: 300px; }
    .pv-body { padding: 24px 20px; }
    .pv-body h2 { font-size: 1.6rem; }

    /* Shop: sidebar becomes an off-canvas sheet */
    .shop-grid { grid-template-columns: 1fr; }
    .filters { position: fixed; inset: 0; z-index: 1250; background: rgba(11, 18, 32, 0.55); opacity: 0; pointer-events: none; transition: opacity var(--t); top: 0; display: block; }
    .filters.show { opacity: 1; pointer-events: auto; }
    .filters-sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 85vh; background: var(--bg); border-radius: 18px 18px 0 0; transform: translateY(100%); transition: transform 0.3s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
    .filters.show .filters-sheet { transform: translateY(0); }
    .filters-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface); border-radius: 18px 18px 0 0; }
    .filters-head h3 { font-family: var(--font-display); font-size: 1.4rem; }
    .filters-scroll { overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
    .filters-foot { padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
    .filter-help { display: none; }
    .filter-toggle { display: inline-flex; }
}
@media (min-width: 921px) {
    .filters-sheet { display: contents; }
    .filters-head, .filters-foot { display: none; }
    .filters-scroll { display: contents; }
}

@media (max-width: 768px) {
    :root { --header-h: 70px; }
    .container { padding: 0 14px; }
    .announce .a-left .hide-sm, .announce .hide-sm { display: none; }
    .header-main .container { gap: 10px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
    .menu-toggle { display: inline-flex; width: 42px; height: 42px; border-radius: var(--r-md); align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; background: var(--ink-800); border: 1px solid var(--ink-line); }
    .brand img { height: 46px; }
    .search { order: 10; flex-basis: 100%; max-width: none; }
    .search input { height: 42px; font-size: 0.9rem; }
    .search select { display: none; }
    .search button span { display: none; }
    .search button { padding: 0 16px; }
    .header-actions { gap: 2px; }
    .h-action { min-width: 44px; height: 44px; padding: 0 6px; font-size: 0; gap: 0; }
    .h-action i { font-size: 1.15rem; }
    .h-action .pill { top: 2px; right: 2px; }
    .h-action.account { display: none; }
    .h-action.wish { display: none; }
    .cat-nav .container { padding-top: 4px; padding-bottom: 6px; }
    .cat-link { padding: 7px 12px; font-size: 0.78rem; }
    .cat-link .n { display: none; }

    .hero h1 { font-size: 2.3rem; }
    .hero p { font-size: 0.95rem; }
    .hero-stats { gap: 18px; }
    .hero-stats .s b { font-size: 1.5rem; }
    .hero-side { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .make-card .logo { width: 44px; height: 44px; }
    .make-card b { font-size: 1.05rem; }
    .make-card span { display: none; }

    .trust .container { grid-template-columns: 1fr 1fr; gap: 6px; }
    .trust .t span { display: none; }
    .trust .t b { font-size: 0.8rem; }
    .trust .t i { width: 34px; height: 34px; font-size: 0.9rem; }

    .cats { padding: 28px 0 0; }
    .cat-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .cat-tile { padding: 12px; gap: 10px; }
    .cat-tile .ic { width: 40px; height: 40px; font-size: 0.95rem; }
    .cat-tile b { font-size: 0.82rem; }

    .shop { padding: 24px 0 48px; }
    .section-title { font-size: 1.5rem; }
    .toolbar { padding: 8px 10px; gap: 8px; }
    .toolbar .results { font-size: 0.8rem; }
    .view-toggle { display: none; }

    .products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .pcard .p-media img { padding: 8px; }
    .p-body { padding: 10px 10px 12px; gap: 4px; }
    .p-title { font-size: 0.82rem; }
    .p-desc { display: none; }
    .p-cat { font-size: 0.62rem; }
    .p-meta { font-size: 0.68rem; }
    .p-price .now { font-size: 1.15rem; }
    .p-price .quote { font-size: 0.7rem; }
    .p-add { height: 34px; padding: 0 10px; font-size: 0.74rem; }
    .p-add span { display: none; }
    .p-quick { opacity: 1; transform: none; }
    .p-quick button { height: 32px; font-size: 0.72rem; }
    .p-quick button.view { display: none; }
    .p-quick { left: auto; }
    .p-make { width: 34px; height: 34px; }
    .products.list .pcard { flex-direction: column; }
    .products.list .p-media { width: 100%; aspect-ratio: 4/3; min-height: 0; }

    .page-head { padding: 18px 0 10px; }
    .page-head h1 { font-size: 1.8rem; }
    .cart-row { grid-template-columns: 72px minmax(0, 1fr); padding: 14px 16px; gap: 12px; }
    .cr-img { width: 72px; height: 72px; }
    .cr-price { grid-column: 2; text-align: left; flex-direction: row; align-items: baseline; gap: 8px; }
    .cr-price .was { margin-top: 0; }
    .steps { flex-direction: row; gap: 0; }
    .step-ind { font-size: 0; gap: 0; justify-content: center; }
    .step-ind.active { font-size: 0.78rem; gap: 8px; }
    .pv-buy { flex-direction: column; align-items: stretch; }
    .pv-buy .btn { min-width: 0; }
    .oi .p { font-size: 0.8rem; }
    .form-row, .form-row.thirds { grid-template-columns: 1fr; }
    .panel-body { padding: 16px; }
    .panel-head { padding: 14px 16px; }
    .d-actions { grid-template-columns: 1fr; }
    .footer-cta .container { padding-top: 12px; padding-bottom: 12px; gap: 10px; }
    .footer-cta h3 { font-size: 1.15rem; }
    .footer-cta .btn { padding: 10px 18px; font-size: 0.85rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px 14px; padding: 22px 0 16px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand .brand img { height: 40px; }
    .footer-brand p { font-size: 0.74rem; margin: 8px 0 10px; max-width: none; }
    .footer-grid h4 { margin-bottom: 8px; font-size: 0.7rem; }
    .footer-grid li { font-size: 0.76rem; margin-bottom: 6px; }
    .socials a { width: 30px; height: 30px; }
    .f-contact li { font-size: 0.76rem; }
    .footer-bottom .container { justify-content: center; text-align: center; gap: 4px 14px; }
    .fab-wa { right: 14px; bottom: 14px; width: 52px; height: 52px; font-size: 1.5rem; }
    .fab-wa .tip { display: none; }
    .modal { max-height: calc(100vh - 24px); }
    .modal-overlay { padding: 12px; }
    #shop { scroll-margin-top: 210px; }
}

@media (max-width: 400px) {
    .products { gap: 8px; }
    .p-foot { flex-direction: column; align-items: stretch; gap: 8px; }
    .p-add { justify-content: center; }
    .p-add span { display: inline; }
}

/* ==========================================================================
   Global overflow / touch polish — prevents sideways drag & scroll bleed
   ========================================================================== */

/* Stop any stray element from making the page drag horizontally.
   (overflow-x: clip, unlike hidden, does not break position: sticky.) */
html, body { overflow-x: clip; }

/* Cleaner touch interactions */
body { -webkit-tap-highlight-color: transparent; }
img { -webkit-user-drag: none; user-select: none; }

/* Don't let the announcement bar force overflow on narrow screens */
.announce { overflow: hidden; }
.announce .container { flex-wrap: wrap; row-gap: 2px; }

/* Contain scroll inside overlays — no "chaining" into the page behind */
.drawer-body, .modal, .filters-scroll, .mnav-body, .search-suggest { overscroll-behavior: contain; }

/* Long titles/part names can never push a layout sideways */
.p-title, .p-desc, .ci-title, .cr-title, .oi .t, .pv-body h2, .s-row, .sg-item .t { overflow-wrap: break-word; }

/* Buttons/rows with long text wrap instead of overflowing */
.opt, .p-foot, .d-row, .s-row { min-width: 0; }
.opt b, .opt span { overflow-wrap: break-word; }

@media (max-width: 480px) {
    .step-nav { flex-wrap: wrap; }
    .step-nav > .btn { flex: 1 1 100%; justify-content: center; }
    .toolbar .results { flex-basis: 100%; }
    .toolbar-right { width: 100%; justify-content: space-between; }
}

/* ==========================================================================
   Smooth page feel — subtle entrance animations
   ========================================================================== */
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pcard, .panel, .value-card, .step-card, .empty, .acc-card { animation: cardIn 0.4s cubic-bezier(.2,.8,.2,1) both; }
.products .pcard:nth-child(2) { animation-delay: 0.04s; }
.products .pcard:nth-child(3) { animation-delay: 0.08s; }
.products .pcard:nth-child(4) { animation-delay: 0.12s; }
.products .pcard:nth-child(5) { animation-delay: 0.16s; }
.products .pcard:nth-child(6) { animation-delay: 0.20s; }
.products .pcard:nth-child(7) { animation-delay: 0.24s; }
.products .pcard:nth-child(8) { animation-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
}

/* ---------- Info pages (about/contact/shipping/returns/privacy) ---------- */
.info { display: grid; gap: 18px; padding-bottom: 56px; }
.value-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.value-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.value-card .ic { width: 46px; height: 46px; border-radius: var(--r-md); background: var(--ink-900); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; margin-bottom: 12px; }
.value-card b { display: block; font-size: 0.95rem; font-weight: 700; margin-bottom: 5px; }
.value-card p { font-size: 0.83rem; color: var(--text-2); line-height: 1.55; }

.hl { border-left: 4px solid var(--line-strong); padding: 14px 18px; border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 0.92rem; color: var(--text-2); }
.hl b { color: var(--text); font-weight: 700; }
.hl.info { border-color: var(--blue); background: var(--blue-soft); }
.hl.warn { border-color: var(--amber); background: #fffbeb; }
.hl.err { border-color: var(--red); background: var(--red-soft); }
.hl.ok { border-color: var(--green); background: rgba(22, 163, 74, 0.08); }

.table-wrap { overflow-x: auto; }
.info-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 480px; }
.info-table th { text-align: left; padding: 10px 14px; background: var(--surface-2); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); font-weight: 700; border-bottom: 1px solid var(--line); }
.info-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.info-table tr:last-child td { border-bottom: none; }

.step-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; counter-reset: step; }
.step-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px 18px 18px; }
.step-card::before { counter-increment: step; content: counter(step); position: absolute; top: 14px; left: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink-900); color: #fff; font-size: 0.85rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step-card b { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.step-card p { font-size: 0.8rem; color: var(--text-2); line-height: 1.5; }

.check-list li { display: flex; gap: 10px; margin-bottom: 8px; font-size: 0.88rem; color: var(--text-2); align-items: flex-start; }
.check-list li i { color: var(--green); margin-top: 3px; flex-shrink: 0; }
.check-list.err li i { color: var(--red); }
.check-list.bullet li i { color: var(--ink-900); }
.panel-body p.lead { font-size: 0.95rem; color: var(--text-2); line-height: 1.65; }
.panel-body .sub-h { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); margin: 16px 0 8px; }
.panel-body .sub-h:first-child { margin-top: 0; }

.contact-split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; align-items: start; }
.c-line { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); align-items: flex-start; }
.c-line:last-child { border-bottom: none; }
.c-line .ic { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--ink-900); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.c-line b { display: block; font-size: 0.82rem; font-weight: 700; }
.c-line span, .c-line a { font-size: 0.85rem; color: var(--text-2); }
.c-line a:hover { color: var(--red); }

/* ---------- Auth page ---------- */
.auth-hero { background: radial-gradient(900px 400px at 85% -10%, rgba(227, 37, 43, 0.22), transparent 60%), linear-gradient(180deg, var(--ink-800), var(--ink-900)); padding: 48px 0 72px; }
.auth-card { max-width: 480px; margin: 0 auto; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.auth-head { padding: 24px 26px 0; text-align: center; }
.auth-head h1 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; }
.auth-head p { color: var(--text-2); font-size: 0.86rem; margin-top: 4px; }
.auth-tabs { display: flex; gap: 4px; margin: 18px 24px 0; background: var(--surface-2); border-radius: var(--r-md); padding: 4px; }
.auth-tabs button { flex: 1; padding: 9px; border-radius: var(--r-sm); font-size: 0.86rem; font-weight: 600; color: var(--text-2); transition: all var(--t); }
.auth-tabs button.active { background: var(--surface); color: var(--red); box-shadow: var(--shadow-sm); }
.auth-form { padding: 20px 24px 24px; display: none; flex-direction: column; gap: 14px; }
.auth-form.active { display: flex; }
.form-err { display: none; background: var(--red-soft); color: var(--red); border: 1px solid rgba(227, 37, 43, 0.25); font-size: 0.82rem; padding: 10px 12px; border-radius: var(--r-md); }
.form-err.show { display: block; }
.form-err.ok { background: rgba(22, 163, 74, 0.1); color: var(--green); border-color: rgba(22, 163, 74, 0.3); }
.terms-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.8rem; color: var(--text-2); }
.terms-row input { margin-top: 3px; accent-color: var(--red); width: 16px; height: 16px; }
.terms-row a { color: var(--red); font-weight: 600; cursor: pointer; }
.auth-foot { padding: 14px; border-top: 1px solid var(--line); text-align: center; font-size: 0.78rem; color: var(--text-3); display: flex; gap: 14px; justify-content: center; }
.auth-foot a { color: var(--red); font-weight: 600; }
.doc-body h3 { font-size: 0.95rem; font-weight: 700; margin: 14px 0 6px; }
.doc-body h3:first-child { margin-top: 0; }
.doc-body p { font-size: 0.88rem; color: var(--text-2); margin-bottom: 8px; }
.doc-body ul { padding-left: 18px; margin: 6px 0 10px; }
.doc-body li { font-size: 0.88rem; color: var(--text-2); margin-bottom: 4px; list-style: disc; }

/* ---------- Account page ---------- */
.acc-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 20px; align-items: start; }
.acc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.acc-card .acc-body { padding: 18px; }
.acc-head { display: flex; align-items: center; gap: 14px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; font-weight: 800; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.acc-head b { display: block; font-size: 0.98rem; }
.acc-head span { font-size: 0.78rem; color: var(--text-3); word-break: break-all; }
.acc-meta { display: grid; gap: 8px; font-size: 0.8rem; color: var(--text-2); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.acc-meta div { display: flex; gap: 8px; align-items: center; }
.acc-meta i { width: 16px; text-align: center; color: var(--text-3); }
.acc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.acc-stats div { text-align: center; background: var(--surface-2); border-radius: var(--r-md); padding: 10px; }
.acc-stats b { display: block; font-family: var(--font-display); font-size: 1.5rem; }
.acc-stats span { font-size: 0.7rem; color: var(--text-3); }
.acc-nav { display: flex; flex-direction: column; gap: 2px; padding: 8px; }
.acc-nav button, .acc-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-md); font-size: 0.86rem; font-weight: 500; color: var(--text-2); text-align: left; width: 100%; transition: background var(--t), color var(--t); }
.acc-nav button i, .acc-nav a i { width: 18px; text-align: center; color: var(--text-3); }
.acc-nav button:hover, .acc-nav a:hover { background: var(--surface-2); color: var(--text); }
.acc-nav button.active { background: var(--red-soft); color: var(--red); font-weight: 700; }
.acc-nav button.active i { color: var(--red); }
.acc-sec { display: none; }
.acc-sec.active { display: block; }
.st-pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--r-pill); font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.st-pill.pending { background: #fef3c7; color: #92400e; }
.st-pill.processing { background: #dbeafe; color: #1e40af; }
.st-pill.approved, .st-pill.delivered { background: #d1fae5; color: #065f46; }
.st-pill.shipped { background: #e0e7ff; color: #4338ca; }
.st-pill.cancelled, .st-pill.declined { background: #fee2e2; color: #991b1b; }
.wl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.mini-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow var(--t), transform var(--t); }
.mini-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.mini-card .m-img { position: relative; aspect-ratio: 4/3; background: var(--surface-2); cursor: pointer; }
.mini-card .m-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; mix-blend-mode: multiply; }
.mini-card .m-rm { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; }
.mini-card .m-body { padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.mini-card .m-title { font-size: 0.78rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.mini-card .m-title:hover { color: var(--red); }
.mini-card .m-price { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.mini-card .m-price.quote { color: var(--blue); font-size: 0.72rem; }
.order-modal-body .oi { border-bottom: 1px solid var(--line); }
.order-modal-body .oi:last-child { border-bottom: none; }
.settings-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.settings-row:last-child { border-bottom: none; }
.settings-row .ic { width: 38px; height: 38px; border-radius: var(--r-md); background: var(--surface-2); color: var(--text-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.settings-row b { display: block; font-size: 0.88rem; }
.settings-row span { font-size: 0.76rem; color: var(--text-3); }
.settings-row .go { margin-left: auto; color: var(--text-3); }

@media (max-width: 920px) {
    .contact-split { grid-template-columns: 1fr; }
    .acc-layout { grid-template-columns: 1fr; }
    .acc-nav { flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; }
    .acc-nav::-webkit-scrollbar { display: none; }
    .acc-nav button, .acc-nav a { flex-shrink: 0; width: auto; }
    .acc-nav button.active { background: var(--ink-900); color: #fff; }
    .acc-nav button.active i { color: #fff; }
}
@media (max-width: 768px) {
    .auth-hero { padding: 28px 0 40px; }
    .auth-card { margin: 0 8px; }
    .auth-head { padding: 20px 18px 0; }
    .auth-form { padding: 16px 18px 20px; }
    .auth-tabs { margin: 16px 18px 0; }
}
