:root {
    --preto: #0f2418;          /* verde bem escuro — header e footer */
    --preto-2: #163a26;        /* verde escuro secundário */
    --amarelo: #2fa84f;        /* verde principal — CTAs e destaques */
    --amarelo-escuro: #22803c; /* hover dos CTAs */
    --cinza-texto: #6b6b76;
    --cinza-claro: #f4f7f5;
    --borda: #e2e8e4;
    --verde-desconto: #1c8a4b;
    --radius: 12px;
    --shadow: 0 4px 16px rgba(15,36,24,0.08);
    --shadow-hover: 0 10px 26px rgba(15,36,24,0.14);
    --transition: all 0.25s ease;
}

* { box-sizing: border-box; }

html { overflow-x: hidden; }
body {
    margin: 0;
    overflow-x: hidden;
    font-family: 'Inter', 'Segoe UI', Arial, Helvetica, sans-serif;
    color: var(--preto);
    background: var(--cinza-claro);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}
@media (max-width: 640px) {
    .container { padding: 0 16px; }
}

/* ---------- HEADER ---------- */
.site-header {
    background: var(--preto);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.22);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.header-search {
    flex: 1;
    display: flex;
    max-width: 620px;
}
.header-search input {
    width: 100%;
    padding: 11px 18px;
    border: none;
    border-radius: 999px 0 0 999px;
    outline: none;
    font-size: 14px;
    background: #fff;
    color: var(--preto);
}
.header-search input::placeholder { color: #a0a8a3; }
.header-search button {
    background: var(--amarelo);
    border: none;
    padding: 0 20px;
    border-radius: 0 999px 999px 0;
    color: #fff;
    display: flex;
    align-items: center;
    transition: background 0.2s ease;
}
.header-search button:hover { background: var(--amarelo-escuro); }
@media (max-width: 900px) {
    .header-search { display: none; }
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand img { height: 46px; width: auto; }
@media (max-width: 480px) { .brand img { height: 34px; } }
.brand span {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.3px;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.customer-greeting {
    color: rgba(255,255,255,0.85);
    font-size: 13.5px;
}
.link-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 999px;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.link-button:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); transform: translateY(-1px); }
.link-button-icon { width: 15px; height: 15px; flex-shrink: 0; }
.whatsapp-button {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #25D366;
    color: #fff;
    border: none;
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    transition: background 0.2s ease;
}
.whatsapp-button:hover { background: #1ebe5a; }
.whatsapp-button svg { width: 13px; height: 13px; flex-shrink: 0; }
.cart-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--amarelo);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s ease, transform 0.15s ease;
}
.cart-button:hover { background: var(--amarelo-escuro); transform: translateY(-1px); }
.cart-button .cart-count {
    background: rgba(0,0,0,0.25);
    color: #fff;
    border-radius: 999px;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    padding: 0 5px;
    font-weight: 800;
}

@media (max-width: 640px) {
    .site-header { padding: 10px 0; }
    .site-header .container {
        flex-wrap: nowrap;
        gap: 10px;
    }
    .brand img { height: 32px; }
    .header-actions {
        gap: 8px;
        flex-wrap: nowrap;
        width: auto;
        justify-content: flex-end;
    }
    .whatsapp-button {
        padding: 8px;
        font-size: 0;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        justify-content: center;
    }
    .whatsapp-button svg { width: 16px; height: 16px; }
    .customer-greeting { display: none; }
    .link-button {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
        border: 1px solid rgba(255,255,255,0.25);
        border-radius: 50%;
    }
    .link-button-icon { display: block; }
    .link-button-text { display: none; }
    .cart-button {
        padding: 8px 12px;
        font-size: 12.5px;
        gap: 5px;
    }
}
@media (max-width: 340px) {
    .cart-button span:not(.cart-count) { display: none; }
}

/* ---------- BANNER ROTATIVO ---------- */
/*
   Tamanho ideal para novas artes de banner:
   - Desktop: 1600 x 500px (proporção ~16:5). Mantenha textos/logos dentro
     dos 80% centrais da imagem — é a "área segura" que nunca é cortada.
   - A imagem preenche 100% do espaço (object-fit: cover) em todas as telas.
   - Mobile (celular/Android): idem — a "área segura" central (80%) garante
     que texto, preço e logo continuam visíveis mesmo cortando as bordas.
   - Peso recomendado: até 400KB por imagem (JPG ou WEBP de boa qualidade).
*/
.banner {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 16px auto 0;
    aspect-ratio: 21 / 7;
    max-height: 360px;
    overflow: hidden;
    background: var(--preto);
    touch-action: pan-y;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
@media (max-width: 640px) {
    .banner {
        aspect-ratio: 3 / 1;
        max-height: none;
        width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
}
/* banner-bg desabilitado em todas as telas — usa cover puro sem blur lateral */
.banner-bg { display: none !important; }

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.8s ease-in-out;
}
.banner-slide.active { opacity: 1; }
.banner-slide picture {
    display: block;
    width: 100%;
    height: 100%;
}
.banner-slide img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
}
.banner-dots {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
    z-index: 2;
}
@media (max-width: 640px) {
    .banner-dots { bottom: 10px; gap: 8px; }
    .banner-dots span { width: 9px; height: 9px; box-shadow: 0 1px 3px rgba(0,0,0,0.35); }
}
.banner-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.banner-dots span.active { background: var(--amarelo); transform: scale(1.2); }

/* ---------- PRODUTOS ---------- */
#produtos { scroll-margin-top: 110px; }
.section-title {
    font-size: 26px;
    font-weight: 800;
    margin: 40px 0 4px;
}
.section-subtitle {
    color: var(--cinza-texto);
    margin-bottom: 24px;
    font-size: 15px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    gap: 16px;
    margin-bottom: 56px;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* ---------- FILTRO DE CATEGORIA (pills) ---------- */
.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
}
.category-pill {
    background: #fff;
    border: 1.5px solid var(--borda);
    color: var(--preto);
    font-weight: 700;
    font-size: 13.5px;
    padding: 9px 18px;
    border-radius: 999px;
    transition: var(--transition);
}
.category-pill:hover { border-color: var(--amarelo-escuro); color: var(--amarelo-escuro); }
.category-pill.active {
    background: var(--preto);
    border-color: var(--preto);
    color: #fff;
}
@media (max-width: 640px) {
    .category-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin: 0 -16px 22px;
        padding: 0 16px 2px;
    }
    .category-pills::-webkit-scrollbar { display: none; }
    .category-pill { flex-shrink: 0; padding: 8px 16px; font-size: 13px; }
}

/* ---------- SEÇÕES POR MARCA (âncoras do menu "Marcas") ---------- */
.brand-block {
    scroll-margin-top: 120px;
    margin-bottom: 44px;
}
.brand-block-title {
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 16px;
    padding: 0 0 10px 12px;
    border-bottom: 2px solid var(--borda);
    border-left: 4px solid var(--amarelo);
}
.brand-block-flash .brand-block-title {
    animation: brandFlash 1.6s ease;
}
@keyframes brandFlash {
    0% { border-bottom-color: var(--amarelo); color: var(--amarelo-escuro); }
    100% { border-bottom-color: var(--borda); color: var(--preto); }
}
@media (max-width: 640px) {
    .brand-block { scroll-margin-top: 100px; }
    .brand-block-title { font-size: 16.5px; margin-bottom: 12px; }
}
.search-empty {
    color: var(--cinza-texto);
    font-size: 14px;
    margin: -30px 0 40px;
}

/* ---------- MOBILE: GRID DE 2 COLUNAS (cards verticais) ---------- */
@media (max-width: 767px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    .product-card {
        display: flex;
        flex-direction: column;
        padding: 10px;
        border-radius: 12px;
        min-width: 0;
        overflow: hidden;
        box-sizing: border-box;
    }
    .product-card .thumb {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        margin-bottom: 10px;
    }
    .product-card h3 {
        font-size: 12.5px;
        min-height: 0;
        margin: 0 0 6px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        grid-area: unset;
        word-break: break-word;
    }
    .product-card .desc { display: none; }
    .product-card .price-row { grid-area: unset; margin-bottom: 8px; flex-wrap: wrap; }
    .product-card .qty-row { grid-area: unset; margin-bottom: 6px; }
    .product-card .btn-add { grid-area: unset; margin-top: 4px; padding: 10px; font-size: 12px; width: 100%; min-width: 0; }
    .product-card .thumb .pix-badge { display: none; }
    .oferta-card .oferta-ribbon { top: 6px; left: 6px; right: auto; font-size: 11px; padding: 3px 7px; }
    .price-current { font-size: 17px; }
    .qty-stepper button { width: 26px; height: 28px; font-size: 14px; }
    .qty-stepper input { width: 32px; height: 28px; font-size: 13px; }
}
@media (max-width: 420px) {
    .product-grid { gap: 8px; }
    .product-card { padding: 8px; }
    .product-card h3 { font-size: 11.5px; }
}

/* ---------- CARD DE PRODUTO ---------- */
.product-card {
    border: 1px solid var(--borda);
    border-radius: var(--radius);
    padding: 14px;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--amarelo);
}
.product-card .thumb {
    position: relative;
    background: var(--cinza-claro);
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
    padding: 4px;
}
.product-card .thumb img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Selo neon piscando — só nos cards de Ofertas */
.pix-badge {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    background: rgba(8,8,12,0.88);
    padding: 6px 14px;
    border-radius: 10px;
    z-index: 2;
    box-shadow: 0 6px 18px -6px rgba(0,0,0,0.6);
}
.pix-badge-line {
    color: #f4ff26;
    font-size: 10.5px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 0 4px rgba(244,255,38,0.95), 0 0 10px rgba(244,255,38,0.65), 0 0 18px rgba(244,255,38,0.4);
    animation: neonFlicker 1.8s infinite;
}
.pix-badge-line:nth-child(1) { animation-delay: 0s; }
.pix-badge-line:nth-child(2) { animation-delay: 0.2s; }
.pix-badge-line:nth-child(3) { animation-delay: 0.4s; }
@keyframes neonFlicker {
    0%, 16%, 22%, 60%, 68%, 100% {
        opacity: 1;
        text-shadow: 0 0 4px rgba(244,255,38,0.95), 0 0 10px rgba(244,255,38,0.65), 0 0 18px rgba(244,255,38,0.4);
    }
    19%, 64% {
        opacity: 0.3;
        text-shadow: none;
    }
}
@media (max-width: 560px) {
    .pix-badge { padding: 5px 10px; bottom: 6px; }
    .pix-badge-line { font-size: 9.5px; }
}

.product-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px;
    min-height: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .desc {
    font-size: 12.5px;
    color: var(--cinza-texto);
    margin-bottom: 10px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.price-old {
    text-decoration: line-through;
    color: var(--cinza-texto);
    font-size: 12.5px;
}
.price-current {
    font-size: 20px;
    font-weight: 800;
    color: var(--verde-desconto);
}
.price-badge {
    background: #e4f5ea;
    color: var(--verde-desconto);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
}
.qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.qty-stepper {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--borda);
    border-radius: 999px;
    overflow: hidden;
}
.qty-stepper button {
    background: var(--cinza-claro);
    border: none;
    width: 30px;
    height: 32px;
    font-size: 16px;
    font-weight: 700;
    transition: background 0.15s ease;
}
.qty-stepper button:hover { background: var(--amarelo); color: #fff; }
.qty-stepper input {
    width: 40px;
    text-align: center;
    border: none;
    border-left: 1.5px solid var(--borda);
    border-right: 1.5px solid var(--borda);
    height: 32px;
    font-size: 14px;
}
.btn-add {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: linear-gradient(135deg, var(--amarelo) 0%, var(--amarelo-escuro) 100%);
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 4px 0 #175c2a, 0 10px 22px -8px rgba(47,168,79,0.5);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
    min-height: 44px;
}
.btn-add::before {
    content: "🛒";
    font-size: 14px;
    filter: drop-shadow(0 1px 0 rgba(0,0,0,0.15));
}
.btn-add:hover {
    background: linear-gradient(135deg, #37c75d 0%, var(--amarelo) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #175c2a, 0 14px 28px -8px rgba(47,168,79,0.65);
}
.btn-add:active {
    transform: translateY(1px);
    box-shadow: 0 2px 0 #175c2a, 0 6px 14px -6px rgba(47,168,79,0.5);
}

/* ---------- FOOTER + ÍCONE ADMIN DISCRETO ---------- */
.site-footer {
    background: var(--preto);
    padding: 36px 0;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: start;
}
@media (max-width: 720px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-col { position: relative; }
.footer-legal {
    font-size: 11.5px;
    color: #8b8b94;
    line-height: 1.5;
    margin-top: 10px;
}
.footer-logo { height: 54px; width: auto; margin-bottom: 12px; }
.site-footer p {
    color: #aaaab2;
    font-size: 13px;
    margin: 4px 0;
}
.admin-trigger {
    width: 22px;
    height: 22px;
    opacity: 0.35;
    border: none;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    color: #aaaab2;
    margin-top: 14px;
}
.admin-trigger:hover { opacity: 0.85; }
.admin-trigger svg { width: 16px; height: 16px; }

/* ---------- MODAIS (login, carrinho) ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,20,14,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.modal-overlay.open { display: flex; }
.modal-box {
    background: #fff;
    border-radius: var(--radius);
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    box-shadow: 0 24px 60px rgba(15,36,24,0.24);
}
.modal-box.wide { max-width: 500px; }
@media (max-width: 480px) {
    .modal-overlay { padding: 0; align-items: flex-end; }
    .modal-box {
        max-width: none;
        width: 100%;
        max-height: 92vh;
        border-radius: 20px 20px 0 0;
        padding: 28px 20px 32px;
    }
    .modal-box.wide { max-width: none; }
}
.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--cinza-claro);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--cinza-texto);
    transition: background 0.15s ease, color 0.15s ease;
}
.modal-close:hover { background: var(--borda); color: var(--preto); }
.modal-box h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--preto);
}
.modal-box .modal-sub {
    color: var(--cinza-texto);
    font-size: 13.5px;
    margin-bottom: 22px;
}
.field { margin-bottom: 14px; }
.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--preto);
}
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--borda);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: var(--preto);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--amarelo);
    box-shadow: 0 0 0 3px rgba(47,168,79,0.15);
}
.field select { appearance: auto; cursor: pointer; }
.field textarea { resize: vertical; min-height: 70px; }
.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #3dc963 0%, var(--amarelo) 55%, var(--amarelo-escuro) 100%);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14.5px;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 0 #175c2a, 0 10px 22px -8px rgba(47,168,79,0.5);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.2s ease;
    min-height: 44px;
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 6px 0 #175c2a, 0 14px 26px -8px rgba(47,168,79,0.6); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 2px 0 #175c2a, 0 6px 14px -6px rgba(47,168,79,0.5); }
.form-error {
    background: #fdeaea;
    color: #b42318;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 14px;
}

/* Carrinho lateral */
.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--borda);
}
.cart-item .thumb {
    width: 56px;
    height: 56px;
    background: var(--cinza-claro);
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cart-item .thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-info { flex-grow: 1; }
.cart-item-info h4 { font-size: 13.5px; margin: 0 0 4px; }
.cart-item-remove {
    background: none;
    border: none;
    color: #b42318;
    font-size: 12px;
    padding: 0;
    margin-top: 4px;
}
.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 17px;
    margin: 18px 0;
}
.cart-empty {
    color: var(--cinza-texto);
    font-size: 14px;
    text-align: center;
    padding: 30px 0;
}

/* ---------- BOTÃO SECUNDÁRIO / LINKS DE MODAL ---------- */
.btn-secondary {
    width: 100%;
    background: none;
    color: var(--preto);
    border: 1.5px solid var(--borda);
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13.5px;
    margin-top: 8px;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    min-height: 44px;
}
.btn-secondary:hover { border-color: var(--preto); background: var(--preto); color: #fff; }
.btn-link {
    display: block;
    text-align: center;
    text-decoration: none;
    margin-top: 8px;
}
.modal-switch {
    text-align: center;
    font-size: 13px;
    color: var(--cinza-texto);
    margin: 14px 0 0;
}
.modal-switch a { color: var(--amarelo-escuro); font-weight: 700; }
.address-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ---------- PÁGINAS DE FRETE / PAGAMENTO ---------- */
.checkout-page { max-width: 620px; padding-top: 30px; padding-bottom: 60px; }
.checkout-page-wide { max-width: 980px; }
.checkout-steps {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.checkout-steps .step {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--cinza-texto);
    background: var(--cinza-claro);
    padding: 6px 12px;
    border-radius: 999px;
}
.checkout-steps .step.active { background: var(--amarelo); color: #fff; }
.checkout-steps .step.done { background: #e4f5ea; color: var(--verde-desconto); }
.checkout-card {
    border: 1px solid var(--borda);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-bottom: 16px;
    background: #fff;
}
.checkout-card h3 { margin: 0 0 12px; font-size: 15px; }
.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding: 6px 0;
}
.addr-line { font-size: 14px; line-height: 1.6; color: var(--preto); margin: 0; }
.free-tag { color: var(--verde-desconto); font-weight: 800; margin-left: 6px; }
.shipping-highlight { background: #f0f8f2; border-color: var(--amarelo-escuro); }
.totals-card .cart-total-row { margin: 4px 0 0; padding-top: 10px; border-top: 1px solid var(--borda); }

/* ---------- FRETE: layout de 2 colunas com dados do cliente e produtos ---------- */
.checkout-columns { display: flex; gap: 24px; align-items: flex-start; }
.checkout-col-main { flex: 1 1 0; min-width: 0; }
.checkout-col-side { width: 320px; flex-shrink: 0; }
.shipping-highlight { display: flex; gap: 14px; align-items: flex-start; }
.shipping-badge-icon { font-size: 26px; line-height: 1; }
.shipping-highlight-text { margin: 4px 0; font-size: 14px; }
.shipping-eta { margin: 4px 0 0; font-size: 13px; color: var(--cinza-texto); }
.customer-card h3 { font-size: 15px; margin-bottom: 10px; }
.customer-line { margin: 0 0 6px; font-size: 13.5px; color: var(--cinza-texto); }
.checkout-product-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--borda);
}
.checkout-product-row:last-child { border-bottom: none; }
.checkout-product-thumb {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border: 1px solid var(--borda);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--cinza-claro);
}
.checkout-product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.checkout-product-noimg { font-size: 22px; }
.checkout-product-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.checkout-product-name { font-size: 13.5px; font-weight: 600; color: var(--preto); }
.checkout-product-qty { font-size: 12px; color: var(--cinza-texto); }
.checkout-product-price { font-size: 14px; white-space: nowrap; }
.btn-block { display: block; width: 100%; text-align: center; box-sizing: border-box; }

@media (max-width: 760px) {
    .checkout-columns { flex-direction: column; }
    .checkout-col-side { width: 100%; }
}

/* ---------- FRETE (v2): header com steps + cards compactos ---------- */
.fr-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.fr-steps {
    display: flex;
    align-items: center;
    gap: 10px;
}
.fr-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
}
.fr-step svg { flex-shrink: 0; }
.fr-step-done { color: var(--amarelo); }
.fr-step-active { color: #fff; }
.fr-step-line {
    width: 22px;
    height: 1.5px;
    background: rgba(255,255,255,0.25);
    flex-shrink: 0;
}
.fr-step-line-done { background: var(--amarelo); }
@media (max-width: 640px) {
    .fr-step span:not(svg) { display: none; }
    .fr-steps { gap: 6px; }
    .fr-step-line { width: 12px; }
}

.fr-page { padding-top: 26px; }
.fr-alterar {
    color: var(--amarelo-escuro);
    font-weight: 700;
    font-size: 13px;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-head h3 { margin: 0; }

.fr-products { display: flex; flex-direction: column; }
.fr-product-row {
    display: grid;
    grid-template-columns: 40px 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--borda);
}
.fr-product-row:last-child { border-bottom: none; }
.fr-product-thumb,
.fr-product-row .fr-product-thumb {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    min-width: 40px !important;
    flex-shrink: 0;
    border: 1px solid var(--borda);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--cinza-claro);
}
.fr-product-thumb img,
.fr-product-row .fr-product-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
}
.fr-product-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fr-product-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--preto);
    line-height: 1.3;
}
.fr-product-id { font-size: 11.5px; color: var(--cinza-texto); }
.fr-product-qty { font-size: 12.5px; color: var(--cinza-texto); white-space: nowrap; }
.fr-product-price { font-size: 14.5px; font-weight: 800; white-space: nowrap; }
@media (max-width: 560px) {
    .fr-product-row {
        grid-template-columns: 40px 1fr;
        grid-template-areas:
            "thumb info"
            "thumb qty"
            "thumb price";
        row-gap: 4px;
    }
    .fr-product-thumb,
    .fr-product-row .fr-product-thumb {
        grid-area: thumb;
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        min-width: 40px !important;
    }
    .fr-product-info { grid-area: info; }
    .fr-product-qty { grid-area: qty; }
    .fr-product-price { grid-area: price; }
}

.fr-customer .customer-data { display: flex; flex-direction: column; gap: 6px; }
.fr-customer .customer-name { font-weight: 700; font-size: 14px; margin: 0; }
.fr-customer .customer-line { margin: 0; font-size: 13.5px; color: var(--cinza-texto); }

/* ---------- MODAL: escolha da forma de pagamento (frete -> pagamento) ---------- */
.pay-options { display: flex; flex-direction: column; gap: 10px; }
.pay-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1.5px solid var(--borda);
    border-radius: 10px;
    padding: 14px 16px;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}
.pay-option:hover {
    border-color: var(--amarelo-escuro);
    background: #f0f8f2;
}
.pay-option-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--borda);
    flex-shrink: 0;
}
.pay-option-icon { font-size: 18px; line-height: 1; flex-shrink: 0; }
.pay-option-label { font-size: 14.5px; font-weight: 700; color: var(--preto); flex: 1; }
.pay-option-tag {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--verde-desconto);
    white-space: nowrap;
}
.pay-card-message { text-align: center; padding: 6px 0 0; }
.pay-back {
    background: none;
    border: none;
    color: var(--cinza-texto);
    font-size: 13px;
    font-weight: 600;
    padding: 0;
    margin-bottom: 14px;
    cursor: pointer;
}
.pay-card-message-icon {
    font-size: 34px;
    line-height: 1;
    margin-bottom: 10px;
}
.pay-card-message-text {
    font-size: 14px;
    color: var(--preto);
    line-height: 1.55;
    margin: 0 0 20px;
}
.pay-whatsapp-btn {
    background: #25d366 !important;
    color: #fff !important;
    box-shadow: 0 4px 0 #1a9e4a, 0 10px 22px -8px rgba(37,211,102,0.5) !important;
}
.pay-whatsapp-btn:hover { background: #1ebe5b !important; }

/* ---------- POPUP: "Pagamento em análise" (pix aguardando confirmação) ---------- */
.review-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,20,14,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.review-modal-overlay.active { display: flex; }
.review-modal {
    background: #fff;
    border-radius: var(--radius);
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 28px 28px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(15,36,24,0.28);
}
.review-modal-icon { font-size: 40px; line-height: 1; margin-bottom: 14px; }
.review-modal-title { font-size: 20px; font-weight: 800; margin: 0 0 12px; }
.review-modal-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--cinza-texto);
    margin: 0 0 18px;
}
.review-modal-order {
    font-size: 13.5px;
    color: var(--preto);
    background: var(--cinza-claro);
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 18px;
}
@media (max-width: 480px) {
    .review-modal-overlay { padding: 0; align-items: flex-end; }
    .review-modal {
        max-width: none;
        width: 100%;
        max-height: 92vh;
        border-radius: 20px 20px 0 0;
        padding: 28px 20px 32px;
    }
}

.pix-card { text-align: center; }
.qrcode-box { display: flex; justify-content: center; margin-bottom: 16px; }
.pix-hint { font-size: 13.5px; color: var(--cinza-texto); margin-bottom: 14px; }
.pix-copy-code {
    width: 100%;
    height: 70px;
    resize: none;
    font-size: 12px;
    padding: 10px 12px;
    border: 1px solid var(--borda);
    border-radius: 8px;
    margin-bottom: 12px;
    color: var(--cinza-texto);
}
.pix-status { margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--amarelo-escuro); }
.payment-ok { text-align: center; }

/* ---------- PÁGINA: PAGAMENTO CONCLUÍDO ---------- */
.success-page { text-align: center; }
.success-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #e4f5ea;
    color: var(--verde-desconto);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 6px auto 18px;
}
.order-summary-box {
    text-align: left;
    background: var(--cinza-claro);
    border-radius: var(--radius);
    padding: 4px 18px;
    margin: 20px 0;
}
.order-summary-box .order-item-row { border-bottom: 1px solid var(--borda); }
.order-summary-box .order-item-row:last-child { border-bottom: none; }
.redirect-hint {
    color: var(--cinza-texto);
    font-size: 13.5px;
    margin: 18px 0 4px;
}
.redirect-hint strong { color: var(--preto); }

/* ---------- PÁGINA: ACOMPANHAR PEDIDO ---------- */
.tracking-card { text-align: center; }
.tracking-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e4f5ea;
    color: var(--verde-desconto);
    font-weight: 800;
    font-size: 13.5px;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 4px;
}
.tracking-status-pending { background: #f0f8f2; color: var(--amarelo-escuro); }
.tracking-main-msg { font-size: 19px; font-weight: 800; margin: 16px 0 4px; }
.tracking-sub-msg { color: var(--cinza-texto); font-size: 13.5px; margin-bottom: 8px; }

.order-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 32px 0 8px;
    padding: 0 2px;
}
.order-timeline .timeline-track {
    position: absolute;
    top: 15px;
    left: calc(12.5% + 2px);
    right: calc(12.5% + 2px);
    height: 3px;
    background: var(--borda);
    border-radius: 3px;
}
.order-timeline .timeline-progress {
    position: absolute;
    top: 15px;
    left: calc(12.5% + 2px);
    width: 0;
    height: 3px;
    background: var(--verde-desconto);
    border-radius: 3px;
    transition: width 0.5s ease;
}
.timeline-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}
.timeline-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--borda);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--cinza-texto);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.timeline-step.done .timeline-dot { border-color: var(--verde-desconto); background: var(--verde-desconto); color: #fff; }
.timeline-step.active .timeline-dot { border-color: var(--amarelo); background: var(--amarelo); color: #fff; }
.timeline-label {
    font-size: 11.5px;
    text-align: center;
    color: var(--cinza-texto);
    font-weight: 600;
    max-width: 82px;
}
.timeline-step.done .timeline-label,
.timeline-step.active .timeline-label { color: var(--preto); }

@media (max-width: 480px) {
    .timeline-label { font-size: 10px; max-width: 64px; }
    .timeline-dot { width: 27px; height: 27px; font-size: 11.5px; }
    .order-timeline .timeline-track,
    .order-timeline .timeline-progress { top: 12.5px; }
}

/* ---------- NAV DE CATEGORIAS ---------- */
.main-nav {
    background: #fff;
    border-top: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 2px 8px rgba(15,36,24,0.06);
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 26px;
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list > li > a {
    display: block;
    padding: 12px 0;
    color: var(--preto);
    font-weight: 700;
    font-size: 13.5px;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}
.nav-list > li > a:hover {
    color: var(--amarelo-escuro);
    border-bottom-color: var(--amarelo);
}
.nav-list > li > a.active {
    color: var(--amarelo-escuro);
    border-bottom-color: var(--amarelo);
}
.has-dropdown {
    position: relative;
}
.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: var(--shadow-hover);
    list-style: none;
    min-width: 180px;
    margin: 0;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 100;
    border-radius: 0 0 12px 12px;
    border-top: 3px solid var(--amarelo);
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    display: block;
    padding: 10px 18px;
    color: var(--preto);
    font-size: 13.5px;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
}
.dropdown li a:hover {
    background: var(--cinza-claro);
    color: var(--amarelo-escuro);
}
@media (max-width: 640px) {
    .main-nav .container { padding: 0 16px; }
    .nav-list { gap: 18px; padding-bottom: 2px; }
    .nav-list > li > a { padding: 10px 0; font-size: 13px; }
    .dropdown { min-width: 150px; max-width: calc(100vw - 32px); }
    .dropdown li a { padding: 9px 14px; font-size: 13px; }
}

/* ---------- BARRA DE CONFIANÇA ---------- */
.trust-bar {
    background: var(--cinza-claro);
    padding: 22px 0;
}
.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.trust-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.trust-icon {
    width: 36px;
    height: 36px;
    padding: 8px;
    box-sizing: border-box;
    color: var(--amarelo-escuro);
    background: #e4f5ea;
    border-radius: 999px;
    flex-shrink: 0;
}
.trust-item strong { display: block; font-size: 14px; margin-bottom: 2px; }
.trust-item span { font-size: 12.5px; color: var(--cinza-texto); }
@media (max-width: 900px) {
    .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .trust-bar { padding: 12px 0; }
    .trust-bar-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    .trust-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
        padding: 10px 4px;
        border-radius: 10px;
    }
    .trust-icon { width: 24px; height: 24px; padding: 5px; }
    .trust-item strong { font-size: 9.5px; line-height: 1.2; }
    .trust-item span { display: none; }
}

/* ---------- HERO DIVIDIDO (institucional) ---------- */
.hero-split {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    overflow: hidden;
}
.hero-split-dark {
    background:
        radial-gradient(1100px 420px at 15% -10%, rgba(47,168,79,0.18), transparent 55%),
        linear-gradient(160deg, var(--preto) 0%, var(--preto-2) 100%);
    color: #fff;
    padding: 64px 48px;
    min-width: 0;
    position: relative;
}
.hero-eyebrow {
    display: block;
    color: var(--amarelo);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.hero-heading {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 18px;
    word-wrap: break-word;
}
.hero-heading span { color: var(--amarelo); }
.hero-text {
    color: rgba(255,255,255,0.72);
    font-size: 15px;
    line-height: 1.6;
    max-width: 440px;
    margin: 0 0 28px;
}
.hero-search {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 999px;
    padding: 5px;
    gap: 4px;
    max-width: 440px;
    box-shadow: 0 10px 26px -10px rgba(0,0,0,0.55);
}
.hero-search input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    color: var(--preto);
    padding: 12px 8px 12px 16px;
}
.hero-search input::placeholder { color: #9a9aa4; }
.hero-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--amarelo);
    color: #fff;
    border: none;
    transition: background 0.2s ease, transform 0.15s ease;
}
.hero-search button:hover { background: var(--amarelo-escuro); transform: translateY(-1px); }
.hero-search button svg { width: 18px; height: 18px; }
.hero-split-light {
    background: #fff;
    padding: 64px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--borda);
    min-width: 0;
    position: relative;
}
.hero-split-light::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--amarelo), var(--amarelo-escuro));
}
.hero-light-tags {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}
.hero-light-tags span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--amarelo-escuro);
    white-space: nowrap;
}
.hero-light-tags svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Tablet */
@media (max-width: 1024px) {
    .hero-split-dark,
    .hero-split-light { padding: 48px 32px; }
}

/* Tablet/mobile stack */
@media (max-width: 860px) {
    .hero-split { grid-template-columns: 1fr; }
    .hero-split-light {
        order: -1;
        border-left: none;
        border-bottom: 1px solid var(--borda);
    }
}

/* Phones */
@media (max-width: 600px) {
    .hero-split-dark,
    .hero-split-light { padding: 36px 20px; }

    .hero-eyebrow { font-size: 11px; margin-bottom: 14px; }
    .hero-heading { font-size: clamp(24px, 7vw, 30px); margin-bottom: 14px; }
    .hero-text { font-size: 14px; max-width: none; margin-bottom: 0; }

    .tire-search-widget { display: none; }

    .hero-search { max-width: none; }
    .hero-search input { font-size: 13.5px; padding: 11px 6px 11px 14px; }
    .hero-search button { width: 38px; height: 38px; }
    .hero-search button svg { width: 16px; height: 16px; }

    .hero-light-tags {
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
    }
}

/* ---------- OFERTAS ---------- */
.ofertas-section {
    background: linear-gradient(180deg, #f4f7f5 0%, #fafbfa 100%);
    border-top: 3px solid var(--amarelo);
    border-bottom: 1px solid var(--borda);
    padding: 44px 0 12px;
}
.ofertas-heading { margin-bottom: 22px; }
.ofertas-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--preto);
    color: var(--amarelo);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.ofertas-badge svg { width: 13px; height: 13px; }
.ofertas-heading h2 { font-size: 24px; font-weight: 800; margin: 0 0 4px; }
.ofertas-heading p { color: var(--cinza-texto); font-size: 14px; margin: 0; }
.oferta-card {
    position: relative;
    border-color: var(--amarelo);
    box-shadow: 0 10px 24px -16px rgba(47,168,79,0.4);
}
.oferta-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e33f3f;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 999px;
    z-index: 1;
}
@media (max-width: 560px) {
    .ofertas-section { padding: 28px 0 6px; }
    .ofertas-heading h2 { font-size: 19px; }
    .ofertas-heading p { font-size: 13px; }
}

/* ---------- LOCALIZAR AQUI (mapa) ---------- */
.locate-section { padding: 50px 0 10px; }
.locate-title { font-size: 24px; font-weight: 800; margin: 0 0 20px; }
.locate-map-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--cinza-claro);
}
.locate-map {
    width: 100%;
    height: 520px;
    border: 0;
    display: block;
}
.locate-card {
    position: absolute;
    top: 24px;
    left: 24px;
    max-width: 320px;
    background: var(--amarelo);
    color: #fff;
    padding: 22px 24px;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(15,36,24,0.3);
}
.locate-card-tag {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.85;
}
.locate-card h3 { font-size: 19px; font-weight: 900; line-height: 1.25; margin: 0 0 12px; }
.locate-card p { font-size: 13.5px; line-height: 1.6; margin: 0 0 14px; opacity: 0.9; }
.locate-route-link { font-weight: 800; font-size: 13.5px; text-decoration: underline; color: #fff; }
@media (max-width: 640px) {
    .locate-map { height: 380px; }
    .locate-card { position: static; max-width: none; margin-top: 14px; }
}

/* ---------- RODAPÉ EM COLUNAS ---------- */
.site-footer-new { background: var(--preto); padding: 44px 0 0; margin-top: 40px; }
.footer-columns {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
}
@media (max-width: 780px) {
    .footer-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
    .footer-columns { grid-template-columns: 1fr; }
}
.footer-col-brand { position: relative; }
.footer-col-brand p { color: rgba(255,255,255,0.55); font-size: 13px; line-height: 1.5; margin: 0 0 14px; }
.footer-col-title {
    display: block;
    color: var(--amarelo);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.footer-col a,
.footer-col p {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    margin: 0 0 10px;
}
.footer-col a:hover { color: #fff; text-decoration: underline; }
.whatsapp-footer-button {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    background: #25D366;
    color: #fff !important;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12.5px;
    margin: 2px 0 12px;
    width: fit-content;
    transition: background 0.2s ease;
}
.whatsapp-footer-button:hover { background: #1ebe5a; text-decoration: none !important; }
.whatsapp-footer-button svg { width: 12px; height: 12px; flex-shrink: 0; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0 24px;
}
.footer-bottom p { color: rgba(255,255,255,0.45); font-size: 12px; margin: 0 0 6px; }
.footer-bottom .footer-legal { color: rgba(255,255,255,0.3); font-size: 11.5px; line-height: 1.5; }

/* ===================== BANNER FINO (topo, acima do rotativo) ===================== */
.thin-banner {
    background: linear-gradient(90deg, #0f2418 0%, #163a26 50%, #0f2418 100%);
    border-bottom: 2px solid var(--amarelo);
    overflow: hidden;
}
.thin-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 8px 24px;
    text-align: center;
}
.thin-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--amarelo);
    color: #fff;
    font-weight: 800;
    font-size: 11.5px;
    letter-spacing: 0.2px;
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}
.thin-banner-title {
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.1px;
    white-space: nowrap;
}
.thin-banner-dot {
    color: var(--amarelo);
    font-weight: 800;
    opacity: 0.7;
}
.thin-banner-sub {
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    font-weight: 500;
}
@media (max-width: 640px) {
    .thin-banner-inner { padding: 7px 16px; gap: 5px 8px; }
    .thin-banner-badge { font-size: 10.5px; padding: 3px 9px; }
    .thin-banner-title { font-size: 11px; white-space: normal; }
    .thin-banner-dot { display: none; }
    .thin-banner-sub { display: none; }
}

/* ===================== WIDGET DE BUSCA DE PNEUS (medida / veículo / placa) ===================== */
.tire-search-widget {
    position: relative;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-hover);
    padding: 20px 22px 22px;
    max-width: 640px;
    width: 100%;
    overflow: hidden;
}
.tire-search-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--amarelo), var(--amarelo-escuro));
}
.tsw-heading {
    margin-bottom: 16px;
}
.tsw-heading h2 {
    font-size: 18.5px;
    font-weight: 800;
    margin: 0 0 5px;
    letter-spacing: -0.2px;
}
.tsw-heading p {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--cinza-texto);
    margin: 0;
    max-width: 480px;
}
.tsw-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    border-bottom: 1px solid var(--borda);
    padding-bottom: 12px;
    margin-bottom: 14px;
}
.tsw-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--cinza-claro);
    border: none;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--preto);
    white-space: nowrap;
    transition: var(--transition);
}
.tsw-tab.active {
    background: var(--preto);
    color: var(--amarelo);
}
.tsw-help {
    margin-left: auto;
    font-size: 12px;
    color: var(--cinza-texto);
    text-decoration: underline;
    white-space: nowrap;
}
.tsw-vehicles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.tsw-vehicle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--cinza-claro);
    border: 1px solid var(--borda);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--preto);
    transition: var(--transition);
}
.tsw-vehicle.active {
    background: var(--preto);
    color: var(--amarelo);
    border-color: var(--preto);
}
.tsw-panel { display: none; }
.tsw-panel.active { display: block; }
.tsw-medida-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 10px;
}
.tsw-medida-row select,
.tsw-placa-row input {
    width: 100%;
    padding: 11px 12px;
    border-radius: 8px;
    border: 1.5px solid var(--borda);
    background: var(--cinza-claro);
    font-size: 14px;
    color: var(--preto);
    outline: none;
    transition: border-color 0.2s ease;
}
.tsw-medida-row select:focus,
.tsw-placa-row input:focus {
    border-color: var(--amarelo);
}
.tsw-placa-row { display: flex; gap: 10px; }
.tsw-placa-row input { flex: 1; text-transform: uppercase; }
.tsw-buscar {
    background: var(--amarelo);
    border: none;
    border-radius: 8px;
    padding: 0 22px;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    transition: background 0.2s ease;
    min-height: 44px;
}
.tsw-buscar:hover { background: var(--amarelo-escuro); }
.tsw-note {
    margin: 10px 2px 0;
    font-size: 11.5px;
    color: var(--cinza-texto);
}
@media (max-width: 640px) {
    .tire-search-widget { padding: 16px 15px 17px; border-radius: 14px; }
    .tsw-heading h2 { font-size: 16px; }
    .tsw-heading p { font-size: 12px; }
    .tsw-medida-row { grid-template-columns: 1fr 1fr; }
    .tsw-buscar { grid-column: 1 / -1; padding: 11px; }
    .tsw-help { margin-left: 0; }
}

/* ===================== FAIXA TOPO PROMOCIONAL =====================
   Carrossel independente acima do header. Rota automaticamente entre
   as imagens de assets/images/faixa-topo/ a cada 6 s.
   Para trocar/adicionar artes: só copiar arquivos para essa pasta.

   FORMATO IDEAL: imagem bem larga e baixa (ex: 1500×200px, razão ~7:1
   ou mais). Assim object-fit:cover preenche 100% sem espaço vazio
   e sem cortar o conteúdo principal. NÃO usar imagens quadradas.
   ================================================================== */
.faixa-topo {
    position: relative;
    width: 100%;
    height: 100px;   /* desktop: cobre 50% da altura da imagem (1500×200) */
    background: var(--preto);
    overflow: hidden;
    /* NÃO é sticky — desce com o scroll, o header é que fica fixo */
}
.faixa-topo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.75s ease-in-out;
    pointer-events: none;
}
.faixa-topo-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.faixa-topo-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;        /* preenche largura, crop mínimo nas bordas */
    object-position: center;  /* centraliza tanto horizontal quanto vertical */
}
@media (max-width: 767px) {
    .faixa-topo { height: 80px; }
}
@media (max-width: 480px) {
    .faixa-topo { height: 65px; }
}

/* ===================== NOVO MODAL DE PAGAMENTO (2 colunas) ===================== */
.pay-modal-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
    margin-top: 20px;
}
@media (max-width: 680px) {
    .pay-modal-layout { grid-template-columns: 1fr; }
}

/* Breadcrumb de etapas dentro do modal */
.pay-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.pay-crumb {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--cinza-texto);
    white-space: nowrap;
}
.pay-crumb-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--amarelo);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}
.pay-crumb-num {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--amarelo);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
}
.pay-crumb-num-inactive {
    background: var(--cinza-claro);
    color: var(--cinza-texto);
    border: 1.5px solid var(--borda);
}
.pay-crumb-label { font-size: 12.5px; font-weight: 700; color: var(--preto); }
.pay-crumb-label-inactive { color: var(--cinza-texto); font-weight: 600; }
.pay-crumb-sep {
    width: 20px;
    height: 1.5px;
    background: var(--amarelo);
    flex-shrink: 0;
}
.pay-crumb-sep-inactive { background: var(--borda); }

/* Coluna esquerda — lista de formas de pagamento */
.pay-options-col h3 {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--preto);
}
.pay-options-new {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pay-option-card {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: left;
    background: #fff;
    border: 2px solid var(--borda);
    border-radius: 12px;
    padding: 16px 18px;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}
.pay-option-card:hover:not(:disabled):not(.pay-option-disabled) {
    border-color: var(--amarelo);
    background: #f0f8f2;
    box-shadow: 0 0 0 3px rgba(47,168,79,0.12);
}
.pay-option-card.selected {
    border-color: var(--amarelo);
    background: #f0f8f2;
    box-shadow: 0 0 0 3px rgba(47,168,79,0.15);
}
.pay-option-card.pay-option-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: var(--cinza-claro);
}
.pay-option-radio-new {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--borda);
    flex-shrink: 0;
    transition: border-color 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pay-option-card.selected .pay-option-radio-new {
    border-color: var(--amarelo);
    background: var(--amarelo);
}
.pay-option-radio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    transition: opacity 0.15s ease;
}
.pay-option-card.selected .pay-option-radio-dot { opacity: 1; }
.pay-option-icon-new {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #e4f5ea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.pay-option-info { flex: 1; min-width: 0; }
.pay-option-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--preto);
    display: block;
    margin-bottom: 2px;
}
.pay-option-desc {
    font-size: 12.5px;
    color: var(--cinza-texto);
    display: block;
}
.pay-option-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--verde-desconto);
    white-space: nowrap;
}
.pay-badge-em-breve {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--cinza-claro);
    color: var(--cinza-texto);
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid var(--borda);
}

/* Coluna direita — resumo do pedido */
.pay-summary-col {
    background: #fff;
    border: 1.5px solid var(--borda);
    border-radius: 14px;
    overflow: hidden;
}
.pay-summary-header {
    background: var(--preto);
    color: #fff;
    padding: 14px 18px;
}
.pay-summary-header h3 {
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 2px;
    color: #fff;
}
.pay-summary-header p { font-size: 12px; color: rgba(255,255,255,0.6); margin: 0; }
.pay-summary-body { padding: 16px 18px; }
.pay-summary-customer {
    background: var(--cinza-claro);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 14px;
}
.pay-summary-customer p {
    font-size: 12.5px;
    color: var(--cinza-texto);
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pay-summary-customer p:last-child { margin: 0; }
.pay-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    padding: 7px 0;
    border-bottom: 1px solid var(--borda);
}
.pay-summary-row:last-of-type { border-bottom: none; }
.pay-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 800;
    padding: 12px 0 0;
    margin-top: 8px;
    border-top: 2px solid var(--borda);
}
.pay-summary-total-val { color: var(--verde-desconto); }
.pay-summary-action {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.btn-pay-confirm {
    width: 100%;
    background: linear-gradient(135deg, #3dc963 0%, var(--amarelo) 55%, var(--amarelo-escuro) 100%);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14.5px;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 0 #175c2a, 0 10px 22px -8px rgba(47,168,79,0.5);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.2s ease;
    min-height: 48px;
    cursor: pointer;
    font-family: inherit;
}
.btn-pay-confirm:not(:disabled):hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 6px 0 #175c2a, 0 14px 26px -8px rgba(47,168,79,0.6); }
.btn-pay-confirm:disabled {
    background: var(--borda);
    color: var(--cinza-texto);
    box-shadow: none;
    cursor: not-allowed;
    filter: none;
    transform: none;
}
.pay-modal-new .modal-box { max-width: 820px; }
@media (max-width: 860px) {
    .pay-modal-new .modal-box { max-width: 98vw; }
}

/* ── Ícone PIX oficial ─────────────────────────────────────── */
.pix-icon {
    width: 32px;
    height: 32px;
    display: block;
    overflow: visible;
    flex-shrink: 0;
}