/*
=====================================================
CONFIGURAÇÃO GLOBAL
=====================================================
*/
:root {
    --neon: #39FF14;          /* verde vivo — usado como FUNDO sólido com texto preto */
    --neon-text: var(--neon); /* verde para TEXTO no tema escuro */
    --neon-ui: var(--neon);   /* verde para BORDAS/ÍCONES/SOMBRAS no tema escuro */

    --background: #050607;
    --background-secondary: #080A0B;

    --glass-background: rgba(10, 15, 13, 0.48);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-blur: 22px;
    --glass-radius: 24px;

    --text-primary: #F4F4F2;
    --text-secondary: #B7B9B8;
    --text-muted: #777B79;

    --sp-1: 6px;
    --sp-2: 10px;
    --sp-3: 16px;
    --sp-4: 6px; 
    --sp-5: 32px;
    --sp-6: 48px;

    --shadow-glass: 0 12px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 30px;

    --header-h: 96px;
    --nav-h: 76px;
}

/* =====================================================
   TEMA CLARO (data-theme="light")
   ===================================================== */
[data-theme="light"] {
    --neon: #0e8a00;
    --neon-text: #0e8a00;
    --neon-ui:   #0e8a00;

    --background: #f7f8f7;
    --background-secondary: #ffffff;

    --glass-background: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(0, 0, 0, 0.08);

    --text-primary: #1a1d1b;
    --text-secondary: #4a4f4c;
    --text-muted: #7d827f;

    --shadow-glass: 0 8px 30px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

[data-theme="light"] ::selection {
    background: #0e8a00;
    color: #ffffff;
}

[data-theme="light"] .bg-layer { background: var(--background); }

[data-theme="light"] .bg-gradient {
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.65) 60%, var(--background) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.70) 55%, var(--background) 100%);
}

[data-theme="light"] .bg-vignette {
    background: radial-gradient(ellipse at center, transparent 45%, rgba(255, 255, 255, 0.55) 100%);
}

[data-theme="light"] .app-header {
    background: rgba(255, 255, 255, 0.82);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .cart-btn,
[data-theme="light"] .login-btn,
[data-theme="light"] .theme-btn,
[data-theme="light"] .social-btn {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.14);
    color: var(--text-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .product-media,
[data-theme="light"] .m-detail-hero,
[data-theme="light"] .ci-thumb {
    background: radial-gradient(circle at 50% 40%, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.12));
}

[data-theme="light"] .filter select {
    background: rgba(255, 255, 255, 0.85);
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.14);
}

[data-theme="light"] .filter select option {
    background: #ffffff;
    color: var(--text-primary);
}

[data-theme="light"] .modal-overlay {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

[data-theme="light"] .location-map {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .location-map iframe {
    filter: saturate(0.95) contrast(1.0);
}

[data-theme="light"] .toast-success {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(14, 138, 0, 0.45);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), 0 0 30px rgba(14, 138, 0, 0.20);
}

[data-theme="light"] .btn-primary {
    background: #556B2F;
    color: #ffffff;
    box-shadow:
        0 0 0 1px rgba(85, 107, 47, 0.6),
        0 12px 32px rgba(85, 107, 47, 0.35);
}

[data-theme="light"] .btn-primary:active {
    background: #4a5e28;
}

[data-theme="light"] .btn-primary svg {
    color: #ffffff;
}

[data-theme="light"] .pagination .pg-btn.is-active {
    background: #556B2F;
    border-color: #556B2F;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(85, 107, 47, 0.35);
}

[data-theme="light"] .agenda-slot.is-active {
    background: #556B2F;
    border-color: #556B2F;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(85, 107, 47, 0.35);
}

[data-theme="light"] .product-add:active {
    background: #556B2F;
    color: #ffffff;
}

[data-theme="light"] .cart-badge {
    background: #556B2F;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(85, 107, 47, 0.55);
}

[data-theme="light"] .nav-badge {
    background: #556B2F;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(85, 107, 47, 0.55);
}

[data-theme="light"] .product-discount {
    background: #556B2F;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(85, 107, 47, 0.45);
}

[data-theme="light"] .m-detail-disc {
    background: #556B2F;
    color: #ffffff;
}

[data-theme="light"] .mount-option.is-checked .mount-box {
    background: #556B2F;
    border-color: #556B2F;
    color: #ffffff;
}

/* ================= RESET ================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    background: var(--background);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    min-height: 100%;
}

body {
    height: 100vh;
    overflow: hidden;
    overscroll-behavior: none;
    padding-top: 0;
    padding-bottom: 0;
}

button {
    font-family: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

input,
select {
    font-family: inherit;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: var(--neon);
    color: #000;
}

[hidden] {
    display: none !important;
}

h1, h2, h3, h4, h5, h6,
p, span, small, b, strong, em, i,
li, a, label, button {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ================= BACKGROUND GLOBAL ================= */
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: var(--background);
}

.bg-image {
    position: absolute;
    inset: 0;
    background-image: url("../images/bg_hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(0.9) contrast(1.05);
    transform: scale(1.05);
}

.bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(5, 6, 7, 0.25) 0%, rgba(5, 6, 7, 0.70) 60%, var(--background) 100%),
        linear-gradient(180deg, rgba(5, 6, 7, 0.35) 0%, rgba(5, 6, 7, 0.65) 55%, var(--background) 100%);
}

.bg-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}

/* ================= GLASS ================= */
.glass {
    background: var(--glass-background);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--glass-radius);
    box-shadow: var(--shadow-glass);
    position: relative;
    overflow: hidden;
}

.glass::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
    border-radius: inherit;
}

/* ================= HEADER ================= */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    display: flex;
    align-items: center;
    padding: 0 var(--sp-3);
    z-index: 50;
    background: rgba(28, 30, 32, 0.72);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.app-header > * {
    pointer-events: auto;
}

/* A logo no Desktop */
.app-header .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.app-header .brand-logo {
    display: block !important;
    height: 450px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain !important;
    background: transparent !important;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.8));
}

/* O container de ações */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    z-index: 2;
}

.actions-left,
.actions-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Base para todos os botões */
.header-btn {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary);
    transition: transform .2s ease, background .2s ease;
    flex-shrink: 0;
    position: relative;
    text-decoration: none;
}

.header-btn:active {
    transform: scale(0.92);
}

.header-btn svg {
    width: 24px;
    height: 24px;
}

/* Redes sociais (Instagram) */
.header-socials {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-btn {
    width: 44px;
    height: 44px;
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

/* Botão de tema (sobreposição sol/lua) */
.theme-btn svg {
    position: absolute;
    transition: opacity .25s ease, transform .35s ease;
}

.theme-btn .icon-sun  { opacity: 1; transform: scale(1); }
.theme-btn .icon-moon { opacity: 0; transform: scale(0.6) rotate(-45deg); }
.theme-btn.is-light .icon-sun  { opacity: 0; transform: scale(0.6) rotate(45deg); }
.theme-btn.is-light .icon-moon { opacity: 1; transform: scale(1) rotate(0); }

/* Badge do carrinho */
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--neon);
    color: #000;
    font-size: 11px;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: 0 0 12px color-mix(in srgb, var(--neon-ui) 60%, transparent);
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.cart-badge.is-bump {
    transform: scale(1.35);
}

/* ================= TRACK (SLIDES) ================= */
.track {
    display: flex;
    width: 100vw;
    height: 100vh;
    padding-top: var(--header-h);
    padding-bottom: var(--nav-h);
    transition: transform .55s cubic-bezier(.22, 1, .36, 1), padding-top 0.3s ease;
    will-change: transform;
    touch-action: pan-y;
}

.slide {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-top: 0;
}

.slide::-webkit-scrollbar {
    display: none;
}

.slide-inner {
    padding: var(--sp-4) var(--sp-3) var(--sp-6);
    max-width: 1080px;
    margin: 0 auto;
    animation: slideFade .5s ease both;
}

.slide#home .slide-inner {
    padding: 0 0 var(--sp-6);
    max-width: 100%;
}

@keyframes slideFade {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================= SECTIONS ================= */
.section-head {
    margin-bottom: var(--sp-4);
}

.section-kicker {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--neon-text);
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--neon-ui) 30%, transparent);
    background: color-mix(in srgb, var(--neon-ui) 6%, transparent);
    margin-bottom: var(--sp-2);
}

.section-title {
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.section-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--sp-4);
}

/* ================= HERO ================= */
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    margin-bottom: var(--sp-3);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-ui);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--neon-ui) 60%, transparent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--neon-ui) 60%, transparent); }
    70% { box-shadow: 0 0 0 12px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

.hero-title {
    font-size: 40px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--text-primary);
    margin-bottom: var(--sp-3);
}

.neon {
    color: var(--neon-text);
    text-shadow: 0 0 24px color-mix(in srgb, var(--neon-ui) 45%, transparent);
}

.hero-sub {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: var(--sp-4);
    max-width: 30ch;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: var(--sp-5);
}

/* =====================================================
   BOTÕES
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: transform .15s ease, box-shadow .25s ease, background .25s ease;
    white-space: nowrap;
    min-width: 0;
    max-width: 100%;
    text-align: center;
    line-height: 1.15;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--neon);
    color: #000;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--neon-ui) 50%, transparent),
        0 12px 32px color-mix(in srgb, var(--neon-ui) 35%, transparent);
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-ghost {
    background: var(--glass-background);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.btn-ghost:active {
    transform: scale(0.97);
}

.btn-block {
    width: 100%;
}

.btn-ghost.btn-whatsapp {
    border-color: color-mix(in srgb, var(--neon-ui) 45%, transparent);
    color: var(--neon-text);
}

.btn-ghost.btn-whatsapp svg {
    color: var(--neon-text);
}

/* ================= HERO STATS ================= */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: var(--sp-4);
}

.stat {
    padding: var(--sp-3) var(--sp-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.stat-value {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ================= BENEFITS ================= */
.benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.benefit {
    padding: var(--sp-3);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: var(--text-secondary);
}

.benefit svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* ================= SWIPE HINT ================= */
.swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: var(--sp-5);
    font-size: 10px;
    letter-spacing: 2px;
    color: #7B1E24;
    animation: hintPulse 2.4s ease-in-out infinite;
}

.swipe-hint svg {
    width: 16px;
    height: 16px;
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(4px); }
}

/* ================= SEARCH ================= */
.search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 var(--sp-3);
    height: 54px;
    margin-bottom: var(--sp-3);
}

.search-wrap svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.search-wrap input {
    flex: 1;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--text-primary);
}

.search-wrap input::placeholder {
    color: var(--text-muted);
}

/* ================= CHIPS ================= */
.chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: var(--sp-3);
    scrollbar-width: none;
}

.chips::-webkit-scrollbar {
    display: none;
}

.chip {
    flex-shrink: 0;
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    font-size: 12px;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all .25s ease;
}

[data-theme="light"] .chip {
    background: rgba(0, 0, 0, 0.03);
}

.chip.is-active {
    background: color-mix(in srgb, var(--neon-ui) 15%, transparent);
    border-color: color-mix(in srgb, var(--neon-ui) 55%, transparent);
    color: var(--neon-text);
    box-shadow: 0 0 20px color-mix(in srgb, var(--neon-ui) 20%, transparent);
}

/* ================= FILTROS ================= */
.filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: var(--sp-3);
    margin-bottom: var(--sp-4);
    border-radius: var(--radius-md);
}

.filter {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter label {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 700;
}

.filter select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 12px;
    color: var(--text-primary);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2339FF14' stroke-width='2' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 26px;
}

.filter select option {
    background: #0a0f0d;
    color: #fff;
}

/* =====================================================
   GRID — CATÁLOGO DE PNEUS E SERVIÇOS
   ===================================================== */
.grid,
#productGrid,
#servicesGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ================= CARD PRODUTO ================= */
.product {
    border-radius: var(--radius-md);
    padding: var(--sp-2);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    animation: fadeUp .45s ease both;
    transition: transform .2s ease;
    min-width: 0;
}

.product:active {
    transform: scale(0.98);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-media {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.4));
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-bottom: 10px;
}

.product-media svg,
.product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.product-discount {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--neon);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 999px;
    box-shadow: 0 0 12px color-mix(in srgb, var(--neon-ui) 50%, transparent);
    z-index: 2;
}

.product-brand {
    font-size: 10px;
    letter-spacing: 1.6px;
    color: var(--neon-text);
    font-weight: 700;
    margin-bottom: 2px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.product-model {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 4px;
    min-height: 2.5em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.product-size {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 10px;
    min-width: 0;
}

.product-old {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: line-through;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.product-new {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.product-add {
    height: 40px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--neon-ui) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--neon-ui) 50%, transparent);
    color: var(--neon-text);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 800;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
    padding: 0 8px;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.15;
}

.product-add::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 1.6px solid currentColor;
    border-right: 1.6px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s ease;
    flex-shrink: 0;
}

.product-add:active {
    background: var(--neon);
    color: #000;
    transform: scale(0.97);
}

.product-add:active::after {
    transform: rotate(45deg) translate(2px, -2px);
}

/* ================= EMPTY ================= */
.empty {
    text-align: center;
    padding: var(--sp-5) var(--sp-3);
    color: var(--text-muted);
}

/* ================= CARDS 3 ================= */
.cards-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.card-info {
    padding: var(--sp-3);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.card-info svg {
    width: 28px;
    height: 28px;
}

.card-info h4 {
    font-size: 13px;
    letter-spacing: 1.2px;
    color: var(--text-primary);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.card-info p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-secondary);
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ================= SEGURANÇA ================= */
.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sec-item {
    padding: var(--sp-3);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.sec-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ================= MARCAS (chips) ================= */
.brands {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}

.brands::-webkit-scrollbar {
    display: none;
}

.brand-chip {
    flex-shrink: 0;
    padding: 18px 24px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: color .3s ease;
}

.brand-chip:hover {
    color: var(--neon-text);
}

/* ================= DOTS LATERAIS ================= */
.side-dots {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 45;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: none;
    transition: all .35s ease;
    position: relative;
}

[data-theme="light"] .dot {
    background: rgba(0, 0, 0, 0.18);
}

.dot.is-active {
    background: var(--neon-ui);
    box-shadow: 0 0 12px color-mix(in srgb, var(--neon-ui) 60%, transparent);
    transform: scale(1.35);
}

/* ================= BOTTOM NAV ================= */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: none;
    border-left: none;
    border-right: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 6px calc(env(safe-area-inset-bottom, 0px));
    z-index: 50;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .bottom-nav {
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
}

.nav-item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 100%;
    color: var(--text-muted);
    font-size: 9px;
    letter-spacing: 1px;
    font-weight: 700;
    transition: color .25s ease;
    min-width: 0;
    padding: 0 2px;
}

.nav-item svg {
    width: 22px;
    height: 22px;
    transition: transform .25s ease;
}

.nav-item.is-active {
    color: var(--neon-text);
}

.nav-item.is-active svg {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--neon-ui) 60%, transparent));
}

.nav-badge {
    position: absolute;
    top: 8px;
    right: 50%;
    transform: translateX(14px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--neon);
    color: #000;
    font-size: 9px;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: 0 0 10px color-mix(in srgb, var(--neon-ui) 60%, transparent);
}

.nav-badge:empty,
.nav-badge[data-count="0"] {
    display: none;
}

/* ================= MODAL ================= */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--sp-3);
}

.modal.is-open {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: fadeIn .25s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-panel {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    border-radius: var(--radius-xl);
    padding: var(--sp-4) var(--sp-3) var(--sp-4);
    overflow-y: auto;
    animation: slideUp .35s cubic-bezier(.22, 1, .36, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .modal-panel {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

@keyframes slideUp {
    from {
        transform: translateY(12px) scale(0.97);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    display: grid;
    place-items: center;
    color: var(--text-secondary);
    z-index: 2;
}

[data-theme="light"] .modal-close {
    background: rgba(0, 0, 0, 0.04);
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.modal-body {
    position: relative;
    min-width: 0;
}

/* ================= MODAL DETALHES ================= */
.m-detail-hero {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-md);
    background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.5));
    margin-bottom: var(--sp-3);
}

.m-detail-hero svg,
.m-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.m-detail-brand {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--neon-text);
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.m-detail-model {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 4px 0 6px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.m-detail-size {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.m-detail-rating {
    color: var(--neon-text);
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.m-detail-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: var(--sp-3);
    flex-wrap: wrap;
    min-width: 0;
}

.m-detail-old {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.m-detail-new {
    font-size: 26px;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.m-detail-disc {
    font-size: 11px;
    font-weight: 800;
    color: #000;
    background: var(--neon);
    padding: 3px 8px;
    border-radius: 6px;
}

.m-detail-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: var(--sp-3);
}

.m-detail-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.m-detail-features li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-ui);
    box-shadow: 0 0 8px color-mix(in srgb, var(--neon-ui) 60%, transparent);
    flex-shrink: 0;
}

.m-detail-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: var(--sp-4);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.qty {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
    height: 46px;
    margin-bottom: var(--sp-3);
}

.qty button {
    width: 46px;
    height: 100%;
    font-size: 20px;
    font-weight: 600;
    color: var(--neon-text);
}

.qty span {
    min-width: 40px;
    text-align: center;
    font-weight: 700;
}

.m-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ================= MODAL CARRINHO ================= */
.cart-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-bottom: var(--sp-3);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.cart-empty {
    text-align: center;
    padding: var(--sp-5) var(--sp-3);
    color: var(--text-muted);
}

.cart-item {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    align-items: center;
    min-width: 0;
}

[data-theme="light"] .cart-item {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.cart-item:last-child {
    border-bottom: none;
}

.ci-thumb {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.5));
    display: grid;
    place-items: center;
}

.ci-thumb svg,
.ci-thumb img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.ci-info {
    min-width: 0;
}

.ci-info h5 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ci-info p {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ci-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--neon-text);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ci-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    min-width: 0;
}

.ci-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    overflow: hidden;
}

.ci-qty button {
    width: 28px;
    height: 28px;
    color: var(--neon-text);
    font-size: 16px;
    font-weight: 700;
}

.ci-qty span {
    min-width: 22px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
}

.ci-remove {
    font-size: 10px;
    color: #ff6b6b;
    letter-spacing: 1px;
    font-weight: 700;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.cart-summary {
    margin-top: var(--sp-3);
    padding-top: var(--sp-3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .cart-summary {
    border-top-color: rgba(0, 0, 0, 0.08);
}

.sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    gap: 10px;
    min-width: 0;
}

.sum-row.total {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .sum-row.total {
    border-top-color: rgba(0, 0, 0, 0.08);
}

.sum-row .val {
    color: var(--text-primary);
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.sum-row.total .val {
    color: var(--neon-text);
    font-size: 20px;
}

/* ================= MODAL WHATSAPP ================= */
.wa-final {
    text-align: center;
    padding-top: var(--sp-3);
}

.wa-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--neon-ui) 15%, transparent);
    border: 2px solid color-mix(in srgb, var(--neon-ui) 55%, transparent);
    display: grid;
    place-items: center;
    margin: 0 auto var(--sp-3);
    box-shadow: 0 0 40px color-mix(in srgb, var(--neon-ui) 35%, transparent);
}

.wa-icon svg {
    width: 44px;
    height: 44px;
    color: var(--neon-text);
}

.wa-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.wa-sub {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--sp-3);
    max-width: 30ch;
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.wa-summary {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--sp-3);
    margin-bottom: var(--sp-4);
    text-align: left;
}

[data-theme="light"] .wa-summary {
    background: rgba(0, 0, 0, 0.03);
}

.wa-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--text-secondary);
    gap: 10px;
    min-width: 0;
}

.wa-line b {
    color: var(--text-primary);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.wa-total {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 8px;
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

[data-theme="light"] .wa-total {
    border-top-color: rgba(0, 0, 0, 0.08);
}

.wa-total span:last-child {
    color: var(--neon-text);
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ================= SCROLL ================= */
.modal-panel::-webkit-scrollbar {
    width: 4px;
}

.modal-panel::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--neon-ui) 40%, transparent);
    border-radius: 4px;
}

/* ================= ACESSIBILIDADE ================= */
:focus-visible {
    outline: 2px solid var(--neon-ui);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* =====================================================
   HOME — LAYOUT ESPECÍFICO
   ===================================================== */
.home-layout {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 68vh;
    min-height: 420px;
    max-height: 720px;
    overflow: hidden;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-bottom: var(--sp-4);
    background-color: #050607; /* Fundo escuro enquanto a imagem carrega */
}

/* Tag img servindo de fundo no Desktop */
.hero-visual__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    z-index: 0;
}

.hero-visual__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(5, 6, 7, 0.05) 0%,
            rgba(5, 6, 7, 0.35) 45%,
            rgba(5, 6, 7, 0.92) 100%),
        radial-gradient(120% 90% at 20% 20%,
            transparent 30%,
            rgba(5, 6, 7, 0.55) 100%);
    pointer-events: none;
}

.hero-overlay-content {
    position: absolute;
    top: 30%;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 0 var(--sp-3) var(--sp-4);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    animation: slideFade .55s ease both;
    min-width: 0;
}

.hero-overlay-content .hero-kicker {
    align-self: flex-start;
    margin-bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.15);
    color: #F4F4F2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    max-width: 100%;
}

.hero-overlay-content .hero-title {
    margin-bottom: 0;
    font-size: 38px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1.4px;
    color: #F4F4F2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.hero-overlay-content .hero-sub {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(244, 244, 242, 0.9);
    max-width: 34ch;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
    overflow-wrap: anywhere;
    word-break: break-word;
}

[data-theme="light"] .hero-overlay-content .hero-kicker {
    background: rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.15);
    color: #F4F4F2;
}

[data-theme="light"] .hero-overlay-content .hero-title {
    color: #F4F4F2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
}

[data-theme="light"] .hero-overlay-content .hero-sub {
    color: rgba(244, 244, 242, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.home-content {
    padding: 0 var(--sp-3) var(--sp-6);
    max-width: 1080px;
    margin: 0 auto;
    width: 100%;
    min-width: 0;
}

.home-content .hero-actions {
    margin-bottom: var(--sp-5);
}

.home-content .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 0;
}

.benefits-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.benefits-row .benefit {
    padding: 14px 8px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
    border-radius: var(--radius-md);
    font-size: 9px;
    line-height: 1.25;
    letter-spacing: 0.8px;
    font-weight: 700;
    color: var(--text-secondary);
    min-height: 96px;
    justify-content: center;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.benefits-row .benefit svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.benefits-row .benefit span {
    display: block;
    text-transform: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* =====================================================
   RESPONSIVO MOBILE — IMAGEM E TEXTO EMPILHADOS
   ===================================================== */
@media (max-width: 767px) {
    .hero-visual {
        /* No mobile, a altura se adapta ao conteúdo */
        height: auto;
        min-height: 0;
        max-height: none;
        display: flex;
        flex-direction: column;
        background-color: transparent;
    }

    .hero-visual__img {
        /* Imagem perde o absolute, vira o primeiro item e mantém a proporção natural */
        position: relative;
        width: 100%;
        height: auto;
        min-height: 250px; /* Garante um tamanho mínimo visível */
        object-fit: cover;
        object-position: center;
    }

    .hero-visual__overlay {
        /* O gradiente escuro agora fica posicionado para cobrir só a imagem */
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100%; 
        background: linear-gradient(180deg, transparent 50%, rgba(5,6,7,0.9) 100%);
    }

    .hero-overlay-content {
        /* O texto perde o absolute e cai naturalmente para baixo da imagem */
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        padding: var(--sp-4) var(--sp-3);
        background: #050607; /* Fundo sólido para os textos */
        text-align: center;
        align-items: center;
        min-height: auto;
    }

    .hero-overlay-content .hero-kicker {
        align-self: center; /* Centraliza a pílula */
    }

    .hero-overlay-content .hero-title,
    .hero-overlay-content .hero-sub {
        text-align: center;
    }

    .hero-overlay-content .hero-sub {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-visual__img {
        min-height: 200px;
    }

    .hero-overlay-content .hero-title {
        font-size: 28px;
    }

    .hero-overlay-content .hero-sub {
        font-size: 13px;
    }

    .benefits-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================================
   RESPONSIVO — GRID (CARDS) POR DISPOSITIVO
   ===================================================== */
@media (min-width: 1024px) {

    .grid,
    #productGrid,
    #servicesGrid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {

    .grid,
    #productGrid,
    #servicesGrid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

@media (max-width: 340px) {

    .grid,
    #productGrid,
    #servicesGrid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   RESPONSIVO — OUTROS AJUSTES
   ===================================================== */
@media (max-width: 460px) {
    :root {
        --header-h: 84px;
    }

    .app-header .brand-logo {
        height: 200px !important;
        max-width: 140px !important;
    }

    .header-btn {
        width: 46px;
        height: 46px;
    }

    .header-btn svg {
        width: 22px;
        height: 22px;
    }

    .social-btn {
        width: 40px;
        height: 40px;
    }

    .social-btn svg {
        width: 18px;
        height: 18px;
    }

    .btn {
        height: auto;
        min-height: 52px;
        padding: 12px 16px;
        font-size: 12.5px;
        letter-spacing: 0.4px;
        white-space: normal;
        line-height: 1.2;
    }

    .btn svg {
        width: 16px;
        height: 16px;
    }

    .hero-actions {
        gap: 8px;
    }

    .home-content .hero-actions .btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .product-add {
        font-size: 10px;
        letter-spacing: 1.2px;
        padding: 0 6px;
    }

    .product-model {
        font-size: 12px;
    }

    .product-new {
        font-size: 15px;
    }

    .section-title {
        font-size: 20px;
    }

    .placa-btn {
        padding: 0 12px;
        font-size: 11px;
        letter-spacing: 1px;
    }
}

@media (max-width: 340px) {
    :root {
        --header-h: 76px;
    }

    .app-header .brand-logo {
        height: 256px !important;
        max-width: 140px !important;
    }

    .header-btn {
        width: 42px;
        height: 42px;
    }

    .header-btn svg {
        width: 20px;
        height: 20px;
    }

    .social-btn {
        width: 36px;
        height: 36px;
    }

    .social-btn svg {
        width: 16px;
        height: 16px;
    }

    .hero-overlay-content .hero-title {
        font-size: 28px;
    }

    .hero-overlay-content .hero-sub {
        font-size: 13px;
    }

    .benefits-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 22px;
    }

    .btn {
        font-size: 11.5px;
        padding: 10px 12px;
    }

    .home-content .hero-actions .btn {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* =====================================================
   SOBRE — LOCALIZAÇÃO / MAPA / REFERÊNCIAS
   ===================================================== */
.location-block {
    padding: var(--sp-3);
    margin-bottom: var(--sp-4);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    min-width: 0;
}

.location-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.location-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    font-size: 10px;
    letter-spacing: 2.5px;
    font-weight: 700;
    color: var(--neon-text);
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--neon-ui) 30%, transparent);
    background: color-mix(in srgb, var(--neon-ui) 6%, transparent);
    max-width: 100%;
}

.location-kicker svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.location-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: var(--text-primary);
    margin-top: 4px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.location-address {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-secondary);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.location-map {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.4);
}

.location-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(0.9) contrast(1.05);
}

.location-actions {
    display: flex;
    min-width: 0;
}

.references {
    padding-top: var(--sp-3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .references {
    border-top-color: rgba(0, 0, 0, 0.08);
}

.references-title {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--sp-2);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.references-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.references-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ref-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--neon-ui);
    box-shadow: 0 0 8px color-mix(in srgb, var(--neon-ui) 60%, transparent);
}

/* =====================================================
   SERVIÇOS — CARDS ESTILO CATÁLOGO
   ===================================================== */
.services-cta {
    padding: var(--sp-4) var(--sp-3);
    text-align: center;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: var(--sp-4);
    min-width: 0;
}

.services-cta h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.services-cta p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 30ch;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.service-media svg {
    width: 72% !important;
    height: 72% !important;
}

.service-duration-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
}

.service-duration-badge svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.product-consult {
    font-size: 13px !important;
    font-style: italic;
    color: var(--text-secondary) !important;
    font-weight: 700 !important;
}

.service-detail-hero svg {
    width: 70% !important;
    height: 70% !important;
}

/* =====================================================
   AGENDAMENTO
   ===================================================== */
.agenda-service-info {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: var(--sp-3);
    margin-bottom: var(--sp-3);
    border-radius: var(--radius-md);
    border-color: color-mix(in srgb, var(--neon-ui) 40%, transparent);
    background: color-mix(in srgb, var(--neon-ui) 6%, var(--glass-background));
    min-width: 0;
}

.asi-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.4);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

[data-theme="light"] .asi-icon {
    background: rgba(0, 0, 0, 0.05);
}

.asi-icon svg {
    width: 26px;
    height: 26px;
}

.asi-kicker {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--neon-text);
    font-weight: 700;
    display: block;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.asi-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 2px 0 2px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.asi-price {
    font-size: 12px;
    color: var(--text-secondary);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.asi-clear {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

[data-theme="light"] .asi-clear {
    background: rgba(0, 0, 0, 0.04);
}

.agenda-step {
    padding: var(--sp-3);
    border-radius: var(--radius-md);
    margin-bottom: var(--sp-3);
    min-width: 0;
}

.agenda-step-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--sp-3);
    min-width: 0;
}

.agenda-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--neon-ui) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--neon-ui) 50%, transparent);
    color: var(--neon-text);
    font-size: 12px;
    font-weight: 800;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.agenda-step-head h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.agenda-hint {
    font-size: 12px;
    color: var(--text-muted);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.agenda-days {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}

.agenda-days::-webkit-scrollbar {
    display: none;
}

.agenda-day {
    flex-shrink: 0;
    min-width: 62px;
    height: 76px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--text-secondary);
    transition: all .25s ease;
}

.agenda-day.is-active {
    background: color-mix(in srgb, var(--neon-ui) 14%, transparent);
    border-color: color-mix(in srgb, var(--neon-ui) 60%, transparent);
    color: var(--neon-text);
    box-shadow: 0 0 16px color-mix(in srgb, var(--neon-ui) 25%, transparent);
}

.ad-dow {
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
}

.ad-dd {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.ad-mm {
    font-size: 10px;
    letter-spacing: 1px;
}

.agenda-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.agenda-slot {
    height: 46px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all .2s ease;
    min-width: 0;
    padding: 0 4px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.agenda-slot.is-active {
    background: var(--neon);
    border-color: var(--neon);
    color: #000;
    box-shadow: 0 0 16px color-mix(in srgb, var(--neon-ui) 40%, transparent);
}

.agenda-slot.is-taken {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    text-decoration: line-through;
    cursor: not-allowed;
    opacity: 0.5;
}

[data-theme="light"] .agenda-slot.is-taken {
    background: rgba(0, 0, 0, 0.02);
}

.agenda-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.form-row label {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.form-row input {
    height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    min-width: 0;
    width: 100%;
}

.form-row input:focus {
    border-color: var(--neon-ui);
}

.form-row:nth-child(1),
.form-row:nth-child(3) {
    grid-column: 1 / -1;
}

.agenda-summary {
    padding: var(--sp-3);
    border-radius: var(--radius-md);
    min-width: 0;
}

.agenda-summary h4 {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: var(--sp-2);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.agenda-summary-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: var(--sp-3);
}

.sum-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    gap: 10px;
    min-width: 0;
}

[data-theme="light"] .sum-line {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.sum-line:last-child {
    border-bottom: none;
}

.sum-line b {
    color: var(--text-primary);
    font-weight: 700;
    text-align: right;
    overflow-wrap: anywhere;
    word-break: break-word;
}

#agendaConfirm:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

/* =====================================================
   OPÇÃO DE MONTAGEM NO MODAL DE PNEU
   ===================================================== */
.mount-option {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    margin-bottom: var(--sp-3);
    transition: all .25s ease;
    min-width: 0;
}

[data-theme="light"] .mount-option {
    background: rgba(0, 0, 0, 0.03);
}

.mount-option.is-checked {
    background: color-mix(in srgb, var(--neon-ui) 8%, transparent);
    border-color: color-mix(in srgb, var(--neon-ui) 55%, transparent);
}

.mount-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mount-box {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid var(--glass-border);
    display: grid;
    place-items: center;
    color: transparent;
    transition: all .2s ease;
    flex-shrink: 0;
}

.mount-option.is-checked .mount-box {
    background: var(--neon);
    border-color: var(--neon);
    color: #000;
}

.mount-box svg {
    width: 14px;
    height: 14px;
}

.mount-text {
    min-width: 0;
}

.mount-text b {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.mount-text small {
    font-size: 11px;
    color: var(--text-muted);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.m-detail-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin-bottom: var(--sp-3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: var(--text-secondary);
    gap: 10px;
    min-width: 0;
}

[data-theme="light"] .m-detail-subtotal {
    border-top-color: rgba(0, 0, 0, 0.08);
}

.m-detail-subtotal b {
    font-size: 20px;
    font-weight: 900;
    color: var(--neon-text);
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* =====================================================
   AGENDAMENTOS NO CARRINHO
   ===================================================== */
.cart-sec-title {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 800;
    margin: var(--sp-3) 0 var(--sp-2);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.cart-schedule {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    margin-bottom: 8px;
    min-width: 0;
}

[data-theme="light"] .cart-schedule {
    background: rgba(0, 0, 0, 0.03);
}

.cs-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--neon-ui) 10%, transparent);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.cs-icon svg {
    width: 24px;
    height: 24px;
}

.cs-info {
    min-width: 0;
}

.cs-info b {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.cs-info span {
    font-size: 11px;
    color: var(--text-muted);
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* =====================================================
   TOAST DE SUCESSO
   ===================================================== */
.toast-success {
    position: fixed;
    left: 50%;
    bottom: calc(var(--nav-h) + 20px);
    transform: translateX(-50%) translateY(20px);
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 16px;
    background: rgba(10, 15, 13, 0.95);
    border: 1px solid color-mix(in srgb, var(--neon-ui) 55%, transparent);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 30px color-mix(in srgb, var(--neon-ui) 25%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    transition: opacity .35s ease, transform .35s ease;
    max-width: calc(100vw - 32px);
    min-width: 0;
}

.toast-success.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-success svg {
    width: 26px;
    height: 26px;
    color: var(--neon-text);
    flex-shrink: 0;
}

.toast-success b {
    display: block;
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 2px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.toast-success span {
    font-size: 11px;
    color: var(--text-secondary);
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* =====================================================
   EXTRAS — MAIN.JS (carrinho misto + confirmação WhatsApp)
   ===================================================== */
.ci-mount {
    font-size: 11px !important;
    color: var(--neon-text) !important;
    font-weight: 700;
    margin-bottom: 4px !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.cs-vehicle {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.wa-sched-block {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--sp-3);
    margin-bottom: var(--sp-3);
    text-align: left;
    min-width: 0;
}

[data-theme="light"] .wa-sched-block {
    background: rgba(0, 0, 0, 0.03);
}

.wa-sched-title {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--neon-text);
    font-weight: 800;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.wa-sched-line {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 0;
}

[data-theme="light"] .wa-sched-line {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.wa-sched-line:last-child {
    border-bottom: none;
}

.wa-sched-line b {
    display: block;
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 2px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.wa-sched-line span {
    font-size: 11px;
    color: var(--text-muted);
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* =====================================================
   MODAL — PERGUNTA DE AGENDAMENTO (ask-schedule)
   ===================================================== */
.ask-schedule {
    text-align: center;
    padding-top: var(--sp-3);
}

.ask-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--neon-ui) 15%, transparent);
    border: 2px solid color-mix(in srgb, var(--neon-ui) 55%, transparent);
    display: grid;
    place-items: center;
    margin: 0 auto var(--sp-3);
    box-shadow: 0 0 40px color-mix(in srgb, var(--neon-ui) 35%, transparent);
}

.ask-icon svg {
    width: 44px;
    height: 44px;
    color: var(--neon-text);
}

.ask-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
    color: var(--text-primary);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ask-sub {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--sp-4);
    max-width: 32ch;
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ask-sub b {
    color: var(--text-primary);
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* =====================================================
   IMAGEM REAL DO PNEU — CARDS, MODAIS E CARRINHO
   ===================================================== */
.product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6));
    transition: transform .35s ease;
}

[data-theme="light"] .product-media img {
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.15));
}

.product:hover .product-media img,
.product:active .product-media img {
    transform: scale(1.05);
}

.m-detail-hero img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.7));
}

[data-theme="light"] .m-detail-hero img {
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
}

.ci-thumb img {
    width: 82%;
    height: 82%;
    object-fit: contain;
    display: block;
}

/* =====================================================
   IMAGEM REAL DO SERVIÇO — CARDS E MODAIS
   ===================================================== */
.service-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6));
    transition: transform .35s ease;
}

[data-theme="light"] .service-media img {
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.15));
}

.product:hover .service-media img,
.product:active .service-media img {
    transform: scale(1.05);
}

.service-detail-hero img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.7));
}

[data-theme="light"] .service-detail-hero img {
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
}

/* =====================================================
   MONTAGEM VINCULADA AO PNEU (item separado no carrinho)
   ===================================================== */
.ci-mount {
    font-size: 11px !important;
    color: var(--neon-text) !important;
    font-weight: 700;
    margin-bottom: 4px !important;
}

/* =====================================================
   CONSULTA DE PLACA — AGENDAMENTO
   ===================================================== */
.placa-consulta {
    margin-bottom: var(--sp-3);
    padding-bottom: var(--sp-3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    min-width: 0;
}

[data-theme="light"] .placa-consulta {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.placa-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
}

.placa-input {
    height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
    min-width: 0;
    width: 100%;
}

.placa-input:focus {
    border-color: var(--neon-ui);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--neon-ui) 15%, transparent);
}

.placa-input::placeholder {
    color: var(--text-muted);
    letter-spacing: 2px;
    font-weight: 700;
}

.placa-btn {
    height: 48px;
    padding: 0 18px;
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 800;
    white-space: nowrap;
    border-color: color-mix(in srgb, var(--neon-ui) 50%, transparent);
    color: var(--neon-text);
    flex-shrink: 0;
}

.placa-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.placa-hint {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-muted);
    min-height: 16px;
    transition: color .2s ease;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.placa-hint.is-success {
    color: var(--neon-text);
    font-weight: 700;
}

.placa-hint.is-error {
    color: #ff8f6b;
    font-weight: 700;
}

[data-theme="light"] .placa-hint.is-error {
    color: #c0392b;
}

.placa-hint.is-loading {
    color: var(--text-secondary);
    font-style: italic;
}

@media (max-width: 380px) {
    .placa-row {
        grid-template-columns: 1fr;
    }

    .placa-btn {
        width: 100%;
    }
}

/* =====================================================
   MODAL DE DETALHES DO PNEU — ABAS, SPECS, ETIQUETAS,
   PALAVRAS-CHAVE E RELACIONADOS
   ===================================================== */
.modal-detalhe-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    margin-top: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

[data-theme="light"] .modal-detalhe-tabs {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.modal-detalhe-tabs::-webkit-scrollbar {
    display: none;
}

.modal-detalhe-tabs button {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
}

.modal-detalhe-tabs button:hover {
    color: var(--text-secondary);
}

.modal-detalhe-tabs button.active {
    color: var(--neon-text);
    border-bottom-color: var(--neon-ui);
    text-shadow: 0 0 12px color-mix(in srgb, var(--neon-ui) 40%, transparent);
}

.modal-detalhe-tabs-content {
    padding: 20px 0 0;
}

.modal-detalhe-tab-pane {
    display: none;
}

.modal-detalhe-tab-pane.active {
    display: block;
    animation: slideFade .3s ease both;
}

.modal-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

.modal-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid var(--neon-ui);
    gap: 10px;
    min-width: 0;
}

.modal-spec-item .label {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    flex-shrink: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.modal-spec-item .value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 12px;
    text-align: right;
    word-break: break-word;
    overflow-wrap: anywhere;
    min-width: 0;
}

.modal-etiqueta-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.modal-etiqueta-item {
    background: rgba(0, 0, 0, 0.35);
    padding: 14px 20px;
    border-radius: 12px;
    text-align: center;
    min-width: 100px;
    border: 1px solid var(--glass-border);
    transition: border-color .25s ease;
}

.modal-etiqueta-item:hover {
    border-color: color-mix(in srgb, var(--neon-ui) 40%, transparent);
}

.modal-etiqueta-item .letra {
    font-size: 2rem;
    font-weight: 900;
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

.modal-etiqueta-item .letra.A {
    color: #4CAF50;
}

.modal-etiqueta-item .letra.B {
    color: #FFC107;
}

.modal-etiqueta-item .letra.C {
    color: #FF9800;
}

.modal-etiqueta-item .letra.D {
    color: #F44336;
}

.modal-etiqueta-item .letra.E {
    color: #880E4F;
}

.modal-etiqueta-item .label {
    font-size: 10px;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-weight: 700;
}

.modal-palavras {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.modal-palavras span {
    background: rgba(0, 0, 0, 0.35);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
}

.modal-relacionados {
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
}

[data-theme="light"] .modal-relacionados {
    border-top-color: rgba(0, 0, 0, 0.08);
}

.modal-relacionados h6 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.modal-relacionados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.modal-relacionado-card {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform .3s ease, border-color .3s ease;
    padding: 10px;
    text-align: center;
    border: 1px solid var(--glass-border);
    display: block;
    min-width: 0;
}

.modal-relacionado-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--neon-ui) 40%, transparent);
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    text-decoration: none;
}

[data-theme="light"] .modal-relacionado-card:hover {
    background: rgba(0, 0, 0, 0.05);
}

.modal-relacionado-card img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    margin-bottom: 6px;
}

[data-theme="light"] .modal-relacionado-card img {
    background: rgba(0, 0, 0, 0.04);
}

.modal-relacionado-card .info h6 {
    font-size: 11px;
    margin: 6px 0 2px;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.modal-relacionado-card .info .preco {
    font-weight: 800;
    color: var(--neon-text);
    font-size: 13px;
    display: block;
    margin-top: 4px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 768px) {
    .modal-spec-grid {
        grid-template-columns: 1fr;
    }

    .modal-relacionados-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .modal-detalhe-tabs button {
        padding: 10px 14px;
        font-size: 12px;
    }
}

/* =====================================================
   GALERIA DE MINIATURAS — MODAL DE DETALHES DO PNEU
   ===================================================== */
.m-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: var(--sp-3);
}

.m-detail-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.m-detail-thumbs::-webkit-scrollbar {
    display: none;
}

.m-detail-thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.5));
    border: 2px solid var(--glass-border);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
    padding: 0;
}

[data-theme="light"] .m-detail-thumb {
    background: radial-gradient(circle at 50% 40%, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.10));
}

.m-detail-thumb:hover {
    border-color: color-mix(in srgb, var(--neon-ui) 45%, transparent);
    transform: translateY(-2px);
}

.m-detail-thumb.is-active {
    border-color: var(--neon-ui);
    box-shadow: 0 0 14px color-mix(in srgb, var(--neon-ui) 40%, transparent);
}

.m-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

@media (max-width: 460px) {
    .m-detail-thumb {
        width: 56px;
        height: 56px;
    }
}

/* =====================================================
   CARRINHO — PREÇO UNITÁRIO + SUBTOTAL
   ===================================================== */
.ci-prices {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed rgba(255, 255, 255, 0.06);
    min-width: 0;
}

[data-theme="light"] .ci-prices {
    border-top-color: rgba(0, 0, 0, 0.06);
}

.ci-unit {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.3px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ci-total {
    font-size: 14px;
    font-weight: 800;
    color: var(--neon-text);
    letter-spacing: -0.3px;
    text-shadow: 0 0 12px color-mix(in srgb, var(--neon-ui) 35%, transparent);
    overflow-wrap: anywhere;
    word-break: break-word;
}

[data-theme="light"] .ci-total {
    text-shadow: none;
}

.cart-item .ci-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
}

/* =====================================================
   NOMES DE PRODUTOS E SERVIÇOS — CAIXA ALTA
   ===================================================== */
.product-model,
.m-detail-model,
.cart-item .ci-info h5,
.asi-name,
.modal-relacionado-card .info h6,
.cs-info b,
.wa-sched-line b {
    text-transform: uppercase;
}

/* =====================================================
   TEMA CLARO — ÍCONES E SWIPE HINT EM BORDÔ (#7B1E24)
   ===================================================== */
[data-theme="light"] .swipe-hint,
[data-theme="light"] .login-btn,
[data-theme="light"] .cart-btn,
[data-theme="light"] .theme-btn,
[data-theme="light"] .search-wrap svg,
[data-theme="light"] .benefit svg,
[data-theme="light"] .card-info svg,
[data-theme="light"] .sec-item svg,
[data-theme="light"] .btn svg,
[data-theme="light"] .modal-close svg,
[data-theme="light"] .qty button,
[data-theme="light"] .ci-qty button,
[data-theme="light"] .nav-item,
[data-theme="light"] .nav-item.is-active,
[data-theme="light"] .nav-item svg,
[data-theme="light"] .dot.is-active,
[data-theme="light"] .m-detail-features li::before,
[data-theme="light"] .asi-icon svg,
[data-theme="light"] .agenda-step-num,
[data-theme="light"] .cs-icon svg,
[data-theme="light"] .wa-icon svg,
[data-theme="light"] .ask-icon svg,
[data-theme="light"] .toast-success svg {
    color: #7B1E24;
}

/* Ícones dentro de botões com fundo verde oliva: branco */
[data-theme="light"] .btn-primary svg,
[data-theme="light"] .agenda-slot.is-active svg,
[data-theme="light"] .pg-btn.is-active svg {
    color: #ffffff;
}

/* =====================================================
   HOME — CARROSSEL DE PRODUTOS EM PROMOÇÃO
   ===================================================== */
.promo-section {
    margin-top: var(--sp-4);
    margin-bottom: var(--sp-4);
}

.promo-carousel {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.promo-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    /* Removido scroll-snap e smooth para o autoplay contínuo funcionar */
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 2px 8px;
    width: 100%;
    min-width: 0;
    overscroll-behavior-x: contain;
}

.promo-track::-webkit-scrollbar {
    display: none;
}

.promo-card {
    flex: 0 0 auto;
    width: 220px;
    cursor: pointer;
    min-width: 0;
    transition: opacity .35s ease, transform .35s ease;
    will-change: opacity;
}

@media (max-width: 460px) {
    .promo-card {
        width: 180px;
    }
}

@media (max-width: 340px) {
    .promo-card {
        width: 160px;
    }
}

.promo-nav {
    flex: 0 0 auto;
    align-self: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform .2s ease, background .2s ease;
    z-index: 2;
}

.promo-nav:hover {
    background: rgba(0, 0, 0, 0.65);
}

.promo-nav:active {
    transform: scale(0.92);
}

.promo-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

[data-theme="light"] .promo-nav {
    background: rgba(255, 255, 255, 0.85);
    color: var(--text-primary);
}

[data-theme="light"] .promo-nav:hover {
    background: rgba(255, 255, 255, 0.98);
}

@media (max-width: 460px) {
    .promo-nav {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
}

.promo-carousel.is-empty .promo-nav {
    display: none;
}

/* Fade do carrossel */
.promo-card.is-fading {
    opacity: 0;
    transform: scale(0.98);
}

.promo-carousel.is-wrapping-out .promo-track {
    opacity: 0;
    transition: opacity .35s ease;
}

.promo-carousel.is-wrapping-in .promo-track {
    opacity: 1;
    transition: opacity .35s ease;
}

.promo-carousel.is-single .promo-nav {
    display: none;
}

.promo-carousel.is-single .promo-track {
    justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
    .promo-track {
        scroll-behavior: auto;
    }
    .promo-card,
    .promo-carousel.is-wrapping-out .promo-track,
    .promo-carousel.is-wrapping-in .promo-track {
        transition: none !important;
    }
}