/* BestAuto — dark motorsport aesthetic.
   Condensed uppercase display (Oswald) + humanist body (Manrope), both full Cyrillic. */

:root {
    --bg: #07090c;
    --bg-2: #0b1016;
    --panel: #10151b;
    --panel-2: #161d26;
    --line: #212c38;
    --line-soft: #1a232d;
    --txt: #e8eef5;
    --muted: #8b9aab;
    --blue: #1e9bf0;
    --blue-dk: #0b6fbf;
    --blue-glow: rgba(30, 155, 240, .35);
    --amber: #ffb020;
    --green: #35d07f;
    --red: #ff5252;
    --radius: 4px;
    --drawer-w: 440px;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--txt);
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before {
    /* faint diagonal carbon weave over the whole page */
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: .5;
    background-image: repeating-linear-gradient(135deg,
        rgba(255, 255, 255, .012) 0 1px, transparent 1px 7px);
}

h1, h2, h3, h4, .display {
    font-family: 'Oswald', 'Manrope', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: 1.05;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }

.wrap { width: min(1280px, calc(100% - 40px)); margin-inline: auto; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.spacer { flex: 1; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* ---------------- buttons ---------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: var(--blue);
    color: #04121e;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .12s, box-shadow .18s, background .18s;
}
.btn:hover { background: #3fadff; box-shadow: 0 8px 26px -8px var(--blue-glow); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.btn svg { width: 16px; height: 16px; flex: none; }
.btn span { display: inline-flex; }

.btn.ghost { background: transparent; border-color: var(--line); color: var(--txt); }
.btn.ghost:hover { border-color: var(--blue); background: rgba(30, 155, 240, .08); box-shadow: none; }
.btn.danger { background: transparent; border-color: rgba(255, 82, 82, .5); color: #ff8f8f; }
.btn.danger:hover { background: rgba(255, 82, 82, .12); }
.btn.sm { padding: 8px 14px; font-size: 12px; }
.btn.block { width: 100%; }

/* ---------------- top bar + header ---------------- */

.topbar {
    position: relative;
    z-index: 3;
    background: #05070a;
    border-bottom: 1px solid var(--line-soft);
    font-size: 12.5px;
    color: var(--muted);
}
.topbar .wrap { display: flex; align-items: center; gap: 22px; height: 38px; }
.topbar a:hover { color: var(--blue); }
.topbar .sep { width: 1px; height: 14px; background: var(--line); }

.header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(7, 9, 12, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
}
.header .wrap { display: flex; align-items: center; gap: 26px; height: 74px; }

.logo { display: flex; align-items: center; gap: 11px; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo-text { font-family: 'Oswald', sans-serif; font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.logo-text b { color: var(--blue); font-weight: 600; }
.logo-sub {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 9px;
    letter-spacing: .34em;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: -3px;
}

.search {
    flex: 1;
    max-width: 460px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    height: 42px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 155, 240, .12); }
.search input { flex: 1; background: none; border: 0; outline: none; font-size: 14px; }
.search input::placeholder { color: #5d6b7a; }
.search svg { width: 17px; height: 17px; color: var(--muted); flex: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    cursor: pointer;
    transition: border-color .15s, color .15s;
}
.icon-btn:hover { border-color: var(--blue); color: var(--blue); }
.icon-btn svg { width: 19px; height: 19px; }

.user-chip {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 13px 7px 8px;
    border: 1px solid var(--line);
    border-radius: 40px;
    background: var(--panel);
    font-size: 13px;
    cursor: pointer;
}
.user-chip .av {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--blue), var(--blue-dk));
    color: #04121e;
    font-weight: 800;
    font-size: 12px;
}

/* ---------------- nav ---------------- */

.nav { border-bottom: 1px solid var(--line-soft); background: var(--bg-2); position: relative; z-index: 30; }
.nav .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav .wrap::-webkit-scrollbar { display: none; }
.nav a {
    padding: 14px 18px;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.nav a:hover, .nav a.active { color: var(--txt); border-bottom-color: var(--blue); }

/* ---------------- hero ---------------- */

.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line-soft);
    background:
        radial-gradient(900px 420px at 78% 15%, rgba(30, 155, 240, .16), transparent 70%),
        radial-gradient(600px 400px at 10% 90%, rgba(30, 155, 240, .07), transparent 70%),
        linear-gradient(180deg, #0a0f15, #07090c);
}
.hero::after {
    /* skewed light shard */
    content: '';
    position: absolute;
    top: -40%;
    right: 8%;
    width: 380px;
    height: 190%;
    transform: rotate(14deg);
    background: linear-gradient(90deg, transparent, rgba(30, 155, 240, .07), transparent);
    pointer-events: none;
}
.hero .wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 60px;
    align-items: center;
    padding: 84px 0 90px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 13px 6px 9px;
    border: 1px solid rgba(30, 155, 240, .35);
    border-radius: 40px;
    background: rgba(30, 155, 240, .08);
    color: var(--blue);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.eyebrow .dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
    box-shadow: 0 0 0 0 var(--blue-glow);
    animation: pulse 2.2s infinite;
}
@keyframes pulse {
    70% { box-shadow: 0 0 0 10px rgba(30, 155, 240, 0); }
    100% { box-shadow: 0 0 0 0 rgba(30, 155, 240, 0); }
}

.hero h1 {
    margin: 22px 0 18px;
    font-size: clamp(42px, 6vw, 76px);
    letter-spacing: -.005em;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero p.lead { font-size: 17px; color: #b6c3d2; max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 38px; }
.hero-points div { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.hero-points svg { width: 16px; height: 16px; color: var(--blue); flex: none; }

/* mic visual */
.hero-visual { display: grid; place-items: center; }
.mic-orb {
    position: relative;
    width: 260px;
    height: 260px;
    display: grid;
    place-items: center;
}
.mic-orb .ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(30, 155, 240, .25);
    border-radius: 50%;
    animation: expand 3.6s ease-out infinite;
}
.mic-orb .ring:nth-child(2) { animation-delay: 1.2s; }
.mic-orb .ring:nth-child(3) { animation-delay: 2.4s; }
@keyframes expand {
    0% { transform: scale(.55); opacity: 0; }
    35% { opacity: .9; }
    100% { transform: scale(1.15); opacity: 0; }
}
.mic-orb .core {
    position: relative;
    display: grid;
    place-items: center;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: linear-gradient(150deg, #14212e, #0a0f15);
    border: 1px solid rgba(30, 155, 240, .5);
    box-shadow: 0 0 60px -12px var(--blue-glow), inset 0 0 40px -20px var(--blue);
}
.mic-orb .core svg { width: 48px; height: 48px; color: var(--blue); }

/* ---------------- sections ---------------- */

.section { padding: 66px 0; position: relative; z-index: 1; }
.section-head { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); }
.section-head h2 .accent { color: var(--blue); }
.section-head p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); margin-bottom: 9px; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px; }
.cat {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 132px;
    padding: 16px;
    background: linear-gradient(160deg, var(--panel-2), var(--panel));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    overflow: hidden;
    transition: border-color .18s, transform .18s;
}
.cat:hover { border-color: var(--blue); transform: translateY(-3px); }
.cat.active { border-color: var(--blue); background: linear-gradient(160deg, rgba(30, 155, 240, .16), var(--panel)); }
.cat img {
    position: absolute;
    right: -14px;
    top: -10px;
    width: 108px;
    height: 108px;
    object-fit: contain;
    opacity: .5;
    filter: saturate(.8);
    transition: opacity .2s, transform .2s;
}
.cat:hover img { opacity: .85; transform: scale(1.05); }
.cat h3 { position: relative; font-size: 15px; letter-spacing: .01em; padding-right: 58px; }
.cat span { position: relative; font-size: 11.5px; color: var(--muted); margin-top: 4px; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 16px; }

.card {
    display: flex;
    flex-direction: column;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .18s, transform .18s, box-shadow .18s;
}
.card:hover { border-color: #2f4457; transform: translateY(-3px); box-shadow: 0 18px 40px -26px #000; }
.card.flash { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 0 40px -12px var(--blue-glow); }

.card-img {
    position: relative;
    aspect-ratio: 1;
    background: radial-gradient(circle at 50% 40%, #1b242e, #0c1116);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-img .ph { color: #2c3947; }
.card-img .ph svg { width: 54px; height: 54px; }

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 9px;
    border-radius: 3px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: rgba(53, 208, 127, .16);
    color: var(--green);
    border: 1px solid rgba(53, 208, 127, .35);
}
.badge.out { background: rgba(255, 82, 82, .13); color: #ff8f8f; border-color: rgba(255, 82, 82, .35); }
.badge.brand {
    left: auto; right: 10px;
    background: rgba(255, 255, 255, .06);
    color: #c3d0dd;
    border-color: var(--line);
}

.card-body { padding: 14px 15px 16px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.card-body .cat-tag { font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--blue); }
.card-body h3 { font-family: 'Manrope', sans-serif; font-size: 14.5px; font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1.35; }
.card-body .fits { font-size: 12px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 6px; }
.price { font-family: 'Oswald', sans-serif; font-size: 22px; letter-spacing: .01em; }
.price small { font-size: 12px; color: var(--muted); margin-left: 3px; }

/* ---------------- voice launcher & drawer ---------------- */

.voice-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px 13px 15px;
    border: 1px solid rgba(30, 155, 240, .5);
    border-radius: 44px;
    background: linear-gradient(140deg, #12212e, #0a1119);
    box-shadow: 0 18px 50px -18px #000, 0 0 40px -18px var(--blue-glow);
    cursor: pointer;
    transition: transform .16s, box-shadow .2s;
}
.voice-fab:hover { transform: translateY(-2px); box-shadow: 0 22px 60px -18px #000, 0 0 60px -16px var(--blue-glow); }
.voice-fab .puck {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--blue);
    color: #04121e;
}
.voice-fab .puck svg { width: 19px; height: 19px; }
.voice-fab .puck::after {
    content: '';
    position: absolute; inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--blue);
    opacity: .5;
    animation: expand 2.6s ease-out infinite;
}
.voice-fab b { font-family: 'Oswald', sans-serif; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; font-size: 13.5px; }
.voice-fab span { display: block; font-size: 11px; color: var(--muted); letter-spacing: .02em; }

.drawer {
    position: fixed;
    top: 0; right: 0;
    z-index: 70;
    width: var(--drawer-w);
    max-width: 100vw;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #0c1219, #080b0f);
    border-left: 1px solid var(--line);
    box-shadow: -30px 0 80px -40px #000;
    transform: translateX(100%);
    transition: transform .34s cubic-bezier(.32, .72, 0, 1);
}
.drawer.open { transform: none; }

.drawer-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, .015);
}
.drawer-head .agent-av {
    position: relative;
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(150deg, #16283a, #0a1119);
    border: 1px solid rgba(30, 155, 240, .45);
    color: var(--blue);
    flex: none;
}
.drawer-head .agent-av svg { width: 20px; height: 20px; }
.drawer-head .agent-av.speaking::after {
    content: '';
    position: absolute; inset: -5px;
    border-radius: 50%;
    border: 1px solid var(--blue);
    animation: expand 1.4s ease-out infinite;
}
.drawer-head h4 { font-size: 15px; letter-spacing: .03em; }
.drawer-head .state { font-size: 11.5px; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.drawer-head .state.live { color: var(--green); }
.drawer-head .state.err { color: var(--red); }

.drawer-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
/* Column flex items shrink once the transcript overflows — pin their height. */
.drawer-body > * { flex: none; }
.drawer-body::-webkit-scrollbar { width: 6px; }
.drawer-body::-webkit-scrollbar-thumb { background: #22303d; border-radius: 3px; }

.drawer-compose {
    display: flex;
    gap: 8px;
    padding: 12px 18px 0;
}
.drawer-compose input {
    flex: 1;
    padding: 10px 13px;
    background: #0a1015;
    border: 1px solid var(--line);
    border-radius: 3px;
    outline: none;
    font-size: 14px;
}
.drawer-compose input:focus { border-color: var(--blue); }

.drawer-foot {
    padding: 14px 18px;
    border-top: 1px solid var(--line-soft);
    display: flex;
    gap: 10px;
    align-items: center;
}
.drawer-foot .btn { flex: 1; }

.bubble {
    max-width: 88%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    animation: rise .26s ease-out;
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.bubble.model { align-self: flex-start; background: var(--panel-2); border: 1px solid var(--line); border-bottom-left-radius: 3px; }
.bubble.user { align-self: flex-end; background: rgba(30, 155, 240, .14); border: 1px solid rgba(30, 155, 240, .3); border-bottom-right-radius: 3px; }
.bubble.sys {
    align-self: center;
    max-width: 100%;
    background: none;
    border: 0;
    color: var(--muted);
    font-size: 11.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: center;
}

/* what the agent puts on screen */
.stage-card {
    border: 1px solid rgba(30, 155, 240, .32);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(30, 155, 240, .07), var(--panel));
    overflow: hidden;
    animation: rise .3s ease-out;
}
.stage-card .sc-head {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 13px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.stage-card .sc-head svg { width: 13px; height: 13px; }
.stage-card .sc-body { padding: 12px 13px; display: flex; flex-direction: column; gap: 10px; }

.mini {
    display: flex; gap: 11px; align-items: center;
    padding: 9px; border: 1px solid var(--line); border-radius: 3px;
    background: var(--panel); cursor: pointer;
    transition: border-color .15s;
}
.mini:hover { border-color: var(--blue); }
.mini img, .mini .ph { width: 52px; height: 52px; border-radius: 3px; object-fit: cover; background: #0d141b; flex: none; }
.mini .t { font-size: 13px; font-weight: 700; line-height: 1.3; }
.mini .p { font-family: 'Oswald', sans-serif; font-size: 16px; margin-top: 2px; }
.mini .s { font-size: 11px; color: var(--muted); }

/* order status timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-step { display: flex; gap: 12px; }
.tl-step .dot-col { display: flex; flex-direction: column; align-items: center; }
.tl-step .dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--line); background: var(--panel); margin-top: 4px; flex: none; }
.tl-step .bar { width: 2px; flex: 1; background: var(--line); min-height: 18px; }
.tl-step.done .dot { border-color: var(--green); background: var(--green); }
.tl-step.done .bar { background: rgba(53, 208, 127, .45); }
.tl-step.current .dot { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 4px rgba(30, 155, 240, .2); }
.tl-step .lbl { font-size: 13px; padding-bottom: 12px; }
.tl-step .lbl small { display: block; color: var(--muted); font-size: 11px; }
.tl-step.pending .lbl { color: var(--muted); }

/* ---------------- modal ---------------- */

.overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(4, 6, 9, .72);
    backdrop-filter: blur(6px);
    animation: fade .2s;
}
@keyframes fade { from { opacity: 0; } }

.modal {
    width: min(520px, 100%);
    max-height: 90dvh;
    overflow-y: auto;
    background: linear-gradient(170deg, #121a23, #0b1015);
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 40px 100px -30px #000;
    animation: rise .28s cubic-bezier(.32, .72, 0, 1);
}
.modal-head {
    display: flex; align-items: center; gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line-soft);
}
.modal-head h3 { font-size: 19px; flex: 1; }
.modal-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }

.by-agent {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 11px;
    border-radius: 30px;
    background: rgba(30, 155, 240, .12);
    border: 1px solid rgba(30, 155, 240, .3);
    color: var(--blue);
    font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
}
.by-agent svg { width: 12px; height: 12px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
    padding: 11px 13px;
    background: #0a1015;
    border: 1px solid var(--line);
    border-radius: 3px;
    outline: none;
    font-size: 14px;
    transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(30, 155, 240, .12);
}
.field textarea { resize: vertical; min-height: 74px; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.msg { padding: 10px 13px; border-radius: 3px; font-size: 13px; }
.msg.err { background: rgba(255, 82, 82, .12); border: 1px solid rgba(255, 82, 82, .3); color: #ff9a9a; }
.msg.ok { background: rgba(53, 208, 127, .12); border: 1px solid rgba(53, 208, 127, .3); color: #7ee5b0; }

.switch-line { text-align: center; font-size: 13px; color: var(--muted); }
.switch-line a { color: var(--blue); cursor: pointer; }

.summary { border: 1px solid var(--line); border-radius: 3px; background: #0a1015; }
.summary .line { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-bottom: 1px solid var(--line-soft); }
.summary .line:last-child { border-bottom: 0; }
.summary .line img, .summary .line .ph { width: 44px; height: 44px; border-radius: 3px; object-fit: cover; background: #0d141b; flex: none; }
.summary .line .n { flex: 1; font-size: 13.5px; font-weight: 600; }
.summary .total { display: flex; justify-content: space-between; padding: 13px; background: rgba(30, 155, 240, .07); font-family: 'Oswald', sans-serif; font-size: 19px; }

.addr-line { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.addr-line svg { width: 16px; height: 16px; flex: none; color: var(--blue); }

.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.qty button { width: 30px; height: 30px; background: #0d141b; border: 0; cursor: pointer; color: var(--muted); }
.qty button:hover { color: var(--blue); }
.qty span { width: 34px; text-align: center; font-size: 13px; }

/* ---------------- orders page ---------------- */

.order-row {
    display: grid;
    grid-template-columns: 130px 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 15px 17px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    margin-bottom: 10px;
}
.order-row .num { font-family: 'Oswald', sans-serif; font-size: 17px; letter-spacing: .04em; }
.order-row .items { font-size: 13px; color: var(--muted); }

.pill {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    border: 1px solid;
}
.pill.new { color: #b9c7d6; border-color: var(--line); background: rgba(255, 255, 255, .05); }
.pill.confirmed { color: #8fd0ff; border-color: rgba(30, 155, 240, .4); background: rgba(30, 155, 240, .12); }
.pill.processing { color: var(--amber); border-color: rgba(255, 176, 32, .4); background: rgba(255, 176, 32, .12); }
.pill.shipped { color: #a78bfa; border-color: rgba(167, 139, 250, .4); background: rgba(167, 139, 250, .12); }
.pill.delivered { color: var(--green); border-color: rgba(53, 208, 127, .4); background: rgba(53, 208, 127, .12); }
.pill.cancelled { color: #ff8f8f; border-color: rgba(255, 82, 82, .4); background: rgba(255, 82, 82, .12); }

.empty { padding: 60px 20px; text-align: center; color: var(--muted); }
.empty svg { width: 46px; height: 46px; margin-bottom: 14px; color: #2b3846; }

/* ---------------- footer ---------------- */

.footer { border-top: 1px solid var(--line-soft); background: #05070a; padding: 46px 0 30px; position: relative; z-index: 1; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.footer h5 { font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 14px; }
.footer a, .footer p { display: block; color: var(--muted); font-size: 13.5px; margin-bottom: 8px; }
.footer a:hover { color: var(--blue); }
.footer .bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; gap: 16px; flex-wrap: wrap; color: #5d6b7a; font-size: 12px; }

.demo-note {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px dashed rgba(255, 176, 32, .35);
    border-radius: 3px;
    background: rgba(255, 176, 32, .06);
    color: #e0c48a;
    font-size: 12.5px;
}

/* ---------------- responsive ---------------- */

@media (max-width: 1024px) {
    .hero .wrap { grid-template-columns: 1fr; gap: 42px; padding: 60px 0 66px; }
    .hero-visual { order: -1; }
    .mic-orb { width: 190px; height: 190px; }
    .mic-orb .core { width: 100px; height: 100px; }
    .footer .cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
    .search { display: none; }
    .header .wrap { height: 64px; gap: 14px; }
    .topbar .wrap { gap: 14px; overflow-x: auto; }
    .order-row { grid-template-columns: 1fr; gap: 8px; }
    .voice-fab b, .voice-fab span { display: none; }
    .voice-fab { padding: 12px; }
    .drawer { --drawer-w: 100vw; }
    .field.two { grid-template-columns: 1fr; }
}
