/* ============================================================================
 * OPEN BOX BERLIN — SITE PUBLICO CSS
 * ============================================================================
 *
 * Paleta:
 *   --bg:        #F7F4EE  off-white quente (kraft)
 *   --surface:   #FFFFFF  branco
 *   --text:      #0E0E10  quase-preto
 *   --accent:    #E85A2A  laranja kraft
 *   --accent-2:  #1F4D3F  verde profundo
 *   --muted:     #6B6B6B  cinza UI
 *
 * ÍNDICE (procura por "═══" + nome para saltar)
 *
 *   01 ═══ BASE          variaveis, reset, body, container
 *   02 ═══ BOTOES        .btn, .btn-primary, .btn-secondary, .btn-lg
 *   03 ═══ HEADER        site-header, logo, nav, lang switcher, cart icon
 *   04 ═══ FOOTER        site-footer, brand, selos, links legais, copyright
 *   05 ═══ LANDING       ob-hero, pilares, marcas, featured, repair strip
 *   06 ═══ SHOP          shop-wrap, filtros, paginacao
 *   07 ═══ PRODUTO       pdp-* (galeria, info, specs, descricao)
 *   08 ═══ NOT FOUND     nf-* (pagina 404 publica)
 *   09 ═══ CARRINHO      cart (pagina dedicada)
 *   10 ═══ CART DRAWER   drawer lateral direita
 *   11 ═══ CHECKOUT      formulario de dados + resumo lateral
 *   12 ═══ CHECKOUT PAY  pagina Stripe Payment Element
 *   13 ═══ CHECKOUT RET  pagina de retorno (sucesso/processing/failed)
 *   14 ═══ DELIVERY      Click & Collect (opcoes pickup/shipping)
 *   15 ═══ REPARACAO     formulario publico + pagina obrigado
 *   16 ═══ LEGAL         paginas legais (impressum, datenschutz, agb, widerruf)
 *   17 ═══ UBER UNS      pagina /ueber-uns
 *   18 ═══ KONTAKT       formulario de contacto + info + mapa + thanks
 *
 * ============================================================================ */


/* ════════════════════════════════════════════════════════════════════════════
 * 01 ═══ BASE
 * ════════════════════════════════════════════════════════════════════════════ */

:root {
    --bg: #F7F4EE;
    --surface: #FFFFFF;
    --text: #0E0E10;
    --accent: #E85A2A;
    --accent-2: #1F4D3F;
    --muted: #6B6B6B;
    --border: #e5e1d8;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 780px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Hero generico (placeholder; nao confundir com .ob-hero da landing) */
.hero {
    padding: 6rem 1.5rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}
.hero p {
    color: var(--muted);
    font-size: 1.125rem;
    margin: 0;
}


/* ════════════════════════════════════════════════════════════════════════════
 * 02 ═══ BOTOES
 * ════════════════════════════════════════════════════════════════════════════ */

.btn {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.88; }

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    opacity: 1;
}

.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1.0625rem;
}

.btn-clear {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.55rem 0.6rem;
}
.btn-clear:hover {
    color: var(--accent);
}


/* ════════════════════════════════════════════════════════════════════════════
 * 03 ═══ HEADER  (site-header, logo, nav, lang, cart)
 * ════════════════════════════════════════════════════════════════════════════ */

.site-header {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Grupo logo + selo Apple (lado a lado) */
.site-header .logo-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Logo principal (texto OU imagem) */
.site-header .logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.01em;
    line-height: 1;
}

.site-header .logo img {
    display: block;
    height: 75px;
    width: auto;
    max-width: 280px;
}

/* Selo Apple Authorized ao lado do logo */
.site-header .logo-secondary {
    display: flex;
    align-items: center;
    padding-left: 1.25rem;
    border-left: 1px solid var(--border);
    line-height: 0;
}

.site-header .logo-secondary img {
    display: block;
    height: 48px;
    width: auto;
    max-width: 130px;
}

/* Header — Mobile */
@media (max-width: 768px) {
    .site-header .logo-group {
        gap: 0.75rem;
    }
    .site-header .logo img {
        height: 60px;
        max-width: 200px;
    }
    .site-header .logo-secondary {
        padding-left: 0.75rem;
    }
    .site-header .logo-secondary img {
        height: 32px;
        max-width: 90px;
    }
}

@media (max-width: 480px) {
    .site-header .logo-secondary {
        display: none;
    }
}

/* Nav principal */
.main-nav {
    display: flex;
    gap: 1.5rem;
}
.main-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9375rem;
}
.main-nav a:hover {
    color: var(--accent);
}

/* Language switcher */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    font-size: 0.875rem;
}
.lang-switcher a {
    color: var(--muted);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
}
.lang-switcher a.active {
    color: var(--text);
    background: var(--bg);
    font-weight: 600;
}

/* Cart icon + badge */
.header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    padding: 0.4rem;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
}
.header-cart:hover {
    color: var(--accent);
    background: var(--bg);
}
.header-cart svg {
    width: 22px;
    height: 22px;
    display: block;
}
.header-cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Agrupamento direita do header (lang + carrinho) */
.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


/* ════════════════════════════════════════════════════════════════════════════
 * 04 ═══ FOOTER  (escuro: logo + selos + links legais + copyright)
 * ════════════════════════════════════════════════════════════════════════════ */

.site-footer {
    background: var(--text);
    color: #fff;
    padding: 2.5rem 0 1.5rem;
    margin-top: 4rem;
}

.site-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Bloco topo: logo + selos */
.site-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer-logo img {
    display: block;
    height: 48px;
    width: auto;
    max-width: 240px;
}

.site-footer-selos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.site-footer-selo {
    display: block;
    height: 40px;
    width: auto;
    max-width: 120px;
    opacity: 0.85;
    transition: opacity 0.15s;
    filter: brightness(1.05);
}
.site-footer-selo:hover {
    opacity: 1;
}

/* Links legais */
.site-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.375rem 0.5rem;
    margin-bottom: 0.875rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}
.site-footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.15s;
}
.site-footer-legal a:hover {
    color: var(--accent);
}

.site-footer-sep {
    color: rgba(255, 255, 255, 0.3);
}

.site-footer-copy {
    margin: 0;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer — Mobile */
@media (max-width: 640px) {
    .site-footer-selos {
        gap: 1rem;
    }
    .site-footer-selo {
        height: 32px;
        max-width: 90px;
    }
    .site-footer-logo img {
        height: 40px;
    }
}


/* ════════════════════════════════════════════════════════════════════════════
 * 05 ═══ LANDING  (ob-*)
 * ════════════════════════════════════════════════════════════════════════════ */

.ob-section-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    text-align: center;
    margin: 0 0 2rem;
    letter-spacing: -0.01em;
}

/* HERO */
.ob-hero {
    padding: 5rem 0 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
}
.ob-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.ob-hero-sub {
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 620px;
    margin: 0 auto 2rem;
}

/* PILARES */
.ob-pillars {
    padding: 4rem 0;
}
.ob-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.ob-pillar {
    text-align: center;
    padding: 1.5rem;
}
.ob-pillar-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}
.ob-pillar h3 {
    margin: 0 0 0.5rem;
    font-size: 1.0625rem;
}
.ob-pillar p {
    color: var(--muted);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.5;
}

/* MARCAS */
.ob-brands {
    padding: 4rem 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.ob-brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.ob-brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    text-decoration: none;
    transition: border-color 0.15s ease;
}
.ob-brand-card:hover { border-color: var(--accent); }
.ob-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}
.ob-brand-go {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 600;
}

/* FAIXA DE DESTAQUE */
.ob-featured {
    padding: 4rem 0;
}
.ob-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.ob-product-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface);
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.15s ease;
    display: flex;
    flex-direction: column;
}
.ob-product-card:hover { border-color: var(--accent); }
.ob-product-thumb {
    aspect-ratio: 1 / 1;
    background: var(--bg);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0.75rem;
}
.ob-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ob-product-brand {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.ob-product-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}
.ob-product-name {
    font-size: 0.9375rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
}
.ob-product-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: var(--muted);
}
.ob-product-meta span {
    background: var(--bg);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}
.ob-product-price {
    margin-top: auto;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent);
}
.ob-featured-more {
    text-align: center;
    margin-top: 2.5rem;
}
.ob-featured-empty {
    text-align: center;
}
.ob-featured-soon {
    color: var(--muted);
    margin: 0 0 1.5rem;
}

/* REPARACOES (faixa discreta) */
.ob-repair-strip {
    padding: 1.5rem 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
}
.ob-repair-strip .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.ob-repair-text {
    color: var(--muted);
    font-size: 0.9375rem;
}
.ob-repair-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
}
.ob-repair-link:hover { text-decoration: underline; }

/* Landing — Responsivo */
@media (max-width: 900px) {
    .ob-product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .ob-pillars-grid,
    .ob-brands-grid { grid-template-columns: 1fr; }
    .ob-hero { padding: 3.5rem 0 3rem; }
}
@media (max-width: 480px) {
    .ob-product-grid { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════════════════════════════
 * 06 ═══ SHOP
 * ════════════════════════════════════════════════════════════════════════════ */

.shop-wrap {
    padding: 3rem 0 4rem;
}

.shop-header {
    margin-bottom: 1.5rem;
}
.shop-header h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin: 0 0 0.25rem;
    letter-spacing: -0.01em;
}
.shop-count {
    color: var(--muted);
    font-size: 0.9375rem;
    margin: 0;
}

/* Layout 2 colunas */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Sidebar (desktop) */
.shop-sidebar {
    position: sticky;
    top: 1.5rem;
}
.shop-sidebar-backdrop {
    display: none;
}
.shop-sidebar-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
}
.shop-sidebar-head {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.shop-sidebar-head h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}
.shop-sidebar-close {
    background: none;
    border: 0;
    padding: 0.4rem;
    color: var(--muted);
    cursor: pointer;
    border-radius: 6px;
}
.shop-sidebar-close:hover {
    background: var(--bg);
    color: var(--text);
}
.shop-sidebar-close svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* Form */
.shop-filter-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.shop-filter-group h3 {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.shop-filter-select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    cursor: pointer;
}
.shop-filter-select:focus {
    outline: none;
    border-color: var(--primary);
}
.shop-filter-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.shop-filter-actions .btn,
.shop-filter-actions .btn-clear {
    width: 100%;
    text-align: center;
}

/* Range slider duplo */
.shop-range {
    padding: 0 0.5rem;
}
.shop-range-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}
.shop-range-track {
    position: relative;
    height: 28px;
}
.shop-range-track::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background: var(--border);
    border-radius: 999px;
}
.shop-range-fill {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background: var(--primary);
    border-radius: 999px;
    pointer-events: none;
}
.shop-range input[type="range"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 28px;
    margin: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
}
.shop-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--primary);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.shop-range input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--primary);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.shop-range input[type="range"]::-webkit-slider-runnable-track,
.shop-range input[type="range"]::-moz-range-track {
    background: transparent;
}

/* Main */
.shop-main {
    min-width: 0;
}
.shop-main-toolbar {
    display: none;
    margin-bottom: 1.25rem;
}

/* Pill Filter (mobile) */
.shop-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    font-family: inherit;
}
.shop-filter-pill:hover {
    background: var(--bg);
}
.shop-filter-pill svg {
    width: 18px;
    height: 18px;
}
.shop-filter-pill-count {
    background: var(--primary);
    color: var(--text-on-primary, #fff);
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.25rem;
}

/* Grelha */
.shop-grid {
    margin-bottom: 2.5rem;
}

/* Estado vazio */
.shop-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--muted);
}
.shop-empty p {
    margin: 0 0 1.5rem;
    font-size: 1.0625rem;
}

/* Paginacao */
.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}
.shop-page-info {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Mobile: sidebar vira drawer */
@media (max-width: 900px) {
    .shop-layout {
        display: block;
    }
    .shop-main-toolbar {
        display: block;
    }
    .shop-sidebar {
        position: fixed;
        inset: 0;
        top: 0;
        z-index: 9300;
        pointer-events: none;
        visibility: hidden;
    }
    .shop-sidebar.is-open {
        pointer-events: auto;
        visibility: visible;
    }
    .shop-sidebar-backdrop {
        display: block;
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        transition: opacity 0.2s ease;
    }
    .shop-sidebar.is-open .shop-sidebar-backdrop {
        opacity: 1;
    }
    .shop-sidebar-panel {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 85%;
        max-width: 360px;
        background: var(--surface);
        border-radius: 0;
        border: 0;
        box-shadow: 2px 0 24px rgba(0, 0, 0, 0.15);
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        overflow-y: auto;
    }
    .shop-sidebar.is-open .shop-sidebar-panel {
        transform: translateX(0);
    }
    .shop-sidebar-head {
        display: flex;
    }
    .shop-filter-actions {
        flex-direction: row;
    }
}





/* ════════════════════════════════════════════════════════════════════════════
 * 07 ═══ PRODUTO  (pdp-*)
 * ════════════════════════════════════════════════════════════════════════════ */

.pdp {
    padding: 2.5rem 0 4rem;
}

.pdp-breadcrumb {
    margin-bottom: 1.5rem;
}
.pdp-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
}
.pdp-breadcrumb a:hover {
    color: var(--accent);
}

.pdp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Galeria */
.pdp-main-img {
    aspect-ratio: 1 / 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pdp-main-img img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Imagem opaca (com fundo) — preenche a caixa toda */
.pdp-main-img img.pdp-img-cover {
    object-fit: cover;
    object-position: center;
}

/* Imagem PNG transparente — centra com margem minima de 5px */
.pdp-main-img img.pdp-img-transparent {
    object-fit: contain;
    object-position: center;
    padding: 5px;
    box-sizing: border-box;
}

.pdp-no-img {
    background: var(--bg);
}
.pdp-no-img span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pdp-thumbs {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}
.pdp-thumb {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface);
    cursor: pointer;
}
.pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pdp-thumb.is-active {
    border-color: var(--accent);
    border-width: 2px;
}

/* Info */
.pdp-brand {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.pdp-name {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.pdp-short {
    color: var(--muted);
    font-size: 1rem;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}
.pdp-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}
.pdp-vat {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.25rem;
}
.pdp-stock {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}
.pdp-stock.in {
    background: #eaf5ee;
    color: var(--accent-2);
}
.pdp-stock.out {
    background: #fdecea;
    color: #c0392b;
}

.pdp-actions {
    margin: 1.75rem 0;
}
.pdp-actions .btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}
.pdp-soon-note {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0.6rem 0 0;
}

/* Form de compra (pagina de produto) */
.pdp-buy-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 0;
}
.pdp-buy-form .btn {
    flex: 1 1 200px;
    text-align: center;
}

/* Especificacoes */
.pdp-specs {
    margin-top: 2rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}
.pdp-specs h2 {
    font-size: 1.1rem;
    margin: 0 0 1rem;
}
.pdp-specs dl {
    margin: 0;
    display: grid;
    gap: 0.5rem;
}
.pdp-specs dl > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--border);
    font-size: 0.9rem;
}
.pdp-specs dt {
    color: var(--muted);
}
.pdp-specs dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

/* Descricao */
.pdp-description {
    margin-top: 3rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    max-width: 760px;
}
.pdp-description h2 {
    font-size: 1.2rem;
    margin: 0 0 1rem;
}
.pdp-description p {
    color: var(--text);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 860px) {
    .pdp-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}


/* ════════════════════════════════════════════════════════════════════════════
 * 08 ═══ NOT FOUND  (pagina 404 publica)
 * ════════════════════════════════════════════════════════════════════════════ */

.nf-wrap {
    padding: 5rem 0;
}
.nf-box {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}
.nf-code {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.nf-title {
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem;
}
.nf-text {
    color: var(--muted);
    margin: 0 0 2rem;
}
.nf-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}


/* ════════════════════════════════════════════════════════════════════════════
 * 09 ═══ CARRINHO  (pagina dedicada /warenkorb)
 * ════════════════════════════════════════════════════════════════════════════ */

.cart {
    padding: 2.5rem 0 4rem;
}

.cart-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin: 0 0 1.5rem;
    letter-spacing: -0.01em;
}

/* Flash messages */
.cart-flash {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}
.cart-flash-success {
    background: #eaf5ee;
    color: var(--accent-2);
    border: 1px solid #c8e1d3;
}
.cart-flash-error {
    background: #fdecea;
    color: #c0392b;
    border: 1px solid #f4c7c0;
}
.cart-flash-info {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

/* Estado vazio */
.cart-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--muted);
}
.cart-empty p {
    margin: 0 0 1.5rem;
    font-size: 1.0625rem;
}

/* Layout (items a esquerda, summary a direita) */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

/* Linhas */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.cart-item-info {
    min-width: 0;
}
.cart-item-name {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}
.cart-item-name a {
    color: var(--text);
    text-decoration: none;
}
.cart-item-name a:hover {
    color: var(--accent);
}
.cart-item-meta {
    margin: 0 0 0.25rem;
    font-size: 0.85rem;
    color: var(--muted);
}
.cart-item-sku {
    margin: 0;
    font-size: 0.75rem;
    color: var(--muted);
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
}

.cart-item-qty {
    text-align: center;
    min-width: 64px;
}
.cart-item-qty-label {
    display: block;
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}
.cart-item-qty-value {
    font-size: 1.125rem;
    font-weight: 700;
}

.cart-item-price {
    text-align: right;
    min-width: 100px;
}
.cart-item-line-total {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
}
.cart-item-unit {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

.cart-item-actions form {
    margin: 0;
}
.cart-item-remove {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    font-family: inherit;
}
.cart-item-remove:hover {
    color: #c0392b;
    background: #fdecea;
}

/* Resumo */
.cart-summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    position: sticky;
    top: 1.5rem;
}
.cart-summary-title {
    font-size: 1.1rem;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}
.cart-summary-row-muted {
    color: var(--muted);
    font-size: 0.85rem;
}
.cart-summary-vat {
    font-size: 0.75rem;
    color: var(--muted);
    margin: 1rem 0 1.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}
.cart-checkout-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 0.75rem;
}
.cart-continue {
    display: block;
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted);
    text-decoration: none;
}
.cart-continue:hover {
    color: var(--accent);
}

/* Carrinho — Responsivo */
@media (max-width: 860px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .cart-summary {
        position: static;
    }
}

@media (max-width: 560px) {
    .cart-item {
        grid-template-columns: 1fr auto;
        gap: 0.75rem;
    }
    .cart-item-info {
        grid-column: 1 / -1;
    }
    .cart-item-qty {
        text-align: left;
    }
    .cart-item-price {
        text-align: right;
    }
    .cart-item-actions {
        grid-column: 1 / -1;
        text-align: right;
    }
}


/* ════════════════════════════════════════════════════════════════════════════
 * 10 ═══ CART DRAWER  (drawer lateral direita)
 * ════════════════════════════════════════════════════════════════════════════ */

.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    visibility: hidden;
}

.cart-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.cart-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 14, 16, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-drawer.is-open .cart-drawer-backdrop {
    opacity: 1;
}

.cart-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-drawer.is-open .cart-drawer-panel {
    transform: translateX(0);
}

.cart-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.cart-drawer-head h2 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
}

.cart-drawer-close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.15s;
}
.cart-drawer-close:hover {
    background: var(--bg);
}
.cart-drawer-close svg {
    width: 22px;
    height: 22px;
}

.cart-drawer-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 2rem 1.5rem;
    text-align: center;
}
.cart-drawer-empty p {
    margin: 0;
    color: var(--muted);
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.cart-drawer-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
}
.cart-drawer-item:last-child {
    border-bottom: none;
}

.cart-drawer-item-info {
    flex: 1;
    min-width: 0;
}

.cart-drawer-item-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}
.cart-drawer-item-name a {
    color: var(--text);
    text-decoration: none;
}
.cart-drawer-item-name a:hover {
    text-decoration: underline;
}

.cart-drawer-item-meta {
    font-size: 0.8125rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.cart-drawer-item-price {
    font-weight: 600;
    color: var(--text);
}

.cart-drawer-item-remove-form {
    margin: 0;
    flex-shrink: 0;
}

.cart-drawer-item-remove {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--muted);
    padding: 0.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}
.cart-drawer-item-remove:hover {
    background: #fef2f2;
    color: #dc2626;
}
.cart-drawer-item-remove svg {
    width: 18px;
    height: 18px;
}

.cart-drawer-foot {
    flex-shrink: 0;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.cart-drawer-totals {
    margin-bottom: 0.75rem;
}

.cart-drawer-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.25rem 0;
    font-weight: 600;
}

.cart-drawer-totals-muted {
    font-weight: 400;
    color: var(--muted);
    font-size: 0.875rem;
}

.cart-drawer-vat-note {
    margin: 0 0 1rem 0;
    font-size: 0.75rem;
    color: var(--muted);
    text-align: center;
}

.cart-drawer-checkout {
    width: 100%;
    text-align: center;
}


/* ════════════════════════════════════════════════════════════════════════════
 * 11 ═══ CHECKOUT  (formulario de dados + resumo lateral)
 * ════════════════════════════════════════════════════════════════════════════ */

.checkout {
    padding: 2.5rem 0 4rem;
}

.checkout-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin: 0 0 1.5rem;
    letter-spacing: -0.01em;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

/* Form */
.checkout-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkout-section {
    border: none;
    padding: 0;
    margin: 0;
}
.checkout-section legend {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    width: 100%;
    letter-spacing: -0.005em;
}

.checkout-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.9rem;
}
.checkout-field:last-child {
    margin-bottom: 0;
}
.checkout-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.35rem;
}
.checkout-field input,
.checkout-field select,
.checkout-field textarea {
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.15s ease;
}
.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface);
}
.checkout-field textarea {
    resize: vertical;
    min-height: 80px;
}
.checkout-field select {
    cursor: pointer;
}

.checkout-help {
    font-size: 0.75rem;
    color: var(--muted);
    margin: 0.3rem 0 0;
}

.checkout-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}
.checkout-row .checkout-field {
    margin-bottom: 0;
}

.checkout-err {
    font-size: 0.8rem;
    color: #c0392b;
    margin-top: 0.3rem;
}
.checkout-field:has(.checkout-err) input,
.checkout-field:has(.checkout-err) select,
.checkout-field:has(.checkout-err) textarea {
    border-color: #c0392b;
}

/* Termos */
.checkout-terms {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.checkout-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--text);
    cursor: pointer;
    line-height: 1.45;
}
.checkout-terms-label input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--accent);
}

/* Botoes */
.checkout-submit {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
}
.checkout-back {
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted);
    text-decoration: none;
}
.checkout-back:hover {
    color: var(--accent);
}

/* Resumo lateral */
.checkout-summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    position: sticky;
    top: 1.5rem;
}
.checkout-summary-title {
    font-size: 1.1rem;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.checkout-lines {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.checkout-line {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed var(--border);
}
.checkout-line:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.checkout-line-info {
    min-width: 0;
    flex: 1;
}
.checkout-line-name {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}
.checkout-line-meta {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.2rem;
}
.checkout-line-total {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.checkout-totals {
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}
.checkout-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.checkout-totals-grand {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-size: 1.15rem;
    font-weight: 700;
}
.checkout-totals-vat {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.6rem;
}

@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .checkout-summary {
        position: static;
    }
}

@media (max-width: 480px) {
    .checkout-row {
        grid-template-columns: 1fr;
    }
}


/* ════════════════════════════════════════════════════════════════════════════
 * 12 ═══ CHECKOUT PAY  (pagina Stripe Payment Element)
 * ════════════════════════════════════════════════════════════════════════════ */

.checkout-pay {
    padding: 2.5rem 0 4rem;
}

.checkout-pay-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin: 0 0 1.5rem;
    letter-spacing: -0.01em;
}

.checkout-pay-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

.checkout-pay-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Seccoes em cartao */
.checkout-pay-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
}
.checkout-pay-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border);
}
.checkout-pay-section-head h2 {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: -0.005em;
}
.checkout-pay-edit {
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: none;
}
.checkout-pay-edit:hover {
    color: var(--accent);
}

/* Lista read-only dos dados do cliente */
.checkout-pay-dl {
    margin: 0;
    display: grid;
    gap: 0.75rem;
}
.checkout-pay-dl > div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    font-size: 0.9rem;
}
.checkout-pay-dl dt {
    color: var(--muted);
}
.checkout-pay-dl dd {
    margin: 0;
    color: var(--text);
    line-height: 1.5;
}

/* Placeholder enquanto Stripe.js carrega */
#payment-element {
    min-height: 60px;
}
.checkout-pay-loading {
    color: var(--muted);
    font-size: 0.9rem;
    padding: 1rem 0;
    text-align: center;
}

/* Mensagem de erro do Payment Element */
#payment-error,
.checkout-pay-error {
    display: none;
    margin-top: 0.75rem;
    padding: 0.7rem 0.9rem;
    background: #fdecea;
    color: #c0392b;
    border: 1px solid #f4c7c0;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* Botao pagar */
.checkout-pay-submit {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 1.25rem;
}
.checkout-pay-submit[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}
.checkout-pay-submit-spinner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: ob-spin 0.7s linear infinite;
}
@keyframes ob-spin {
    to { transform: rotate(360deg); }
}

/* Nota de seguranca */
.checkout-pay-secure {
    margin: 0.9rem 0 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
}

/* Resumo lateral */
.checkout-pay-summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    position: sticky;
    top: 1.5rem;
}
.checkout-pay-summary-title {
    font-size: 1.1rem;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.checkout-pay-lines {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.checkout-pay-line {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed var(--border);
}
.checkout-pay-line:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.checkout-pay-line-info {
    min-width: 0;
    flex: 1;
}
.checkout-pay-line-name {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}
.checkout-pay-line-meta {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.2rem;
}
.checkout-pay-line-total {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}
.checkout-pay-totals {
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}
.checkout-pay-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.checkout-pay-totals-grand {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-size: 1.15rem;
    font-weight: 700;
}
.checkout-pay-totals-vat {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.6rem;
}

/* Fix: garantir que o atributo HTML `hidden` ganha sobre `display:inline-flex` */
.checkout-pay-submit-text[hidden],
.checkout-pay-submit-spinner[hidden] {
    display: none;
}

@media (max-width: 900px) {
    .checkout-pay-layout {
        grid-template-columns: 1fr;
    }
    .checkout-pay-summary {
        position: static;
    }
}
@media (max-width: 480px) {
    .checkout-pay-dl > div {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
}


/* ════════════════════════════════════════════════════════════════════════════
 * 13 ═══ CHECKOUT RETURN  (pagina de retorno do checkout)
 * ════════════════════════════════════════════════════════════════════════════ */

.checkout-return {
    max-width: 640px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.checkout-return-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
}

.checkout-return-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.checkout-return-icon svg {
    width: 100%;
    height: 100%;
}

.checkout-return-success .checkout-return-icon {
    color: var(--accent-2);
}
.checkout-return-processing .checkout-return-icon {
    color: var(--accent);
}
.checkout-return-failed .checkout-return-icon {
    color: #b91c1c;
}

.checkout-return-title {
    font-size: 1.75rem;
    margin: 0 0 0.75rem;
    color: var(--text);
}

.checkout-return-thanks {
    font-size: 1.125rem;
    color: var(--text);
    margin: 0 0 1.5rem;
}

.checkout-return-order {
    background: var(--bg);
    border-radius: 8px;
    padding: 1.25rem 1rem;
    margin: 1.5rem 0;
}

.checkout-return-order-label {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.checkout-return-order-code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.5px;
}

.checkout-return-info {
    color: var(--muted);
    margin: 1rem 0 2rem;
    line-height: 1.5;
}

.checkout-return-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.checkout-return-button-primary,
.checkout-return-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    min-width: 200px;
}

.checkout-return-button-primary {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
}
.checkout-return-button-primary:hover {
    background: #d04d20;
    border-color: #d04d20;
}

.checkout-return-button-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.checkout-return-button-secondary:hover {
    border-color: var(--text);
}

@media (min-width: 540px) {
    .checkout-return-actions {
        flex-direction: row;
        justify-content: center;
    }
}


/* ════════════════════════════════════════════════════════════════════════════
 * 14 ═══ DELIVERY  (Click & Collect: opcoes shipping/pickup no checkout)
 * ════════════════════════════════════════════════════════════════════════════ */

.checkout-delivery-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .checkout-delivery-options {
        grid-template-columns: 1fr 1fr;
    }
}

.checkout-delivery-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    background: var(--surface);
    transition: border-color 0.15s, background 0.15s;
}
.checkout-delivery-option:hover {
    border-color: var(--text);
}

.checkout-delivery-option input[type="radio"] {
    margin: 0.25rem 0 0 0;
    flex-shrink: 0;
    accent-color: var(--accent);
    width: 18px;
    height: 18px;
}

.checkout-delivery-option:has(input[type="radio"]:checked) {
    border-color: var(--accent);
    background: #fef7f3;
}

.checkout-delivery-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.checkout-delivery-title {
    font-weight: 600;
    color: var(--text);
}

.checkout-delivery-sub {
    font-size: 0.875rem;
    color: var(--muted);
}

.checkout-pickup-info {
    background: #fef7f3;
    border-color: var(--accent);
}
.checkout-pickup-text {
    margin: 0;
    color: var(--text);
    line-height: 1.5;
}


/* ════════════════════════════════════════════════════════════════════════════
 * 15 ═══ REPARACAO  (formulario publico + pagina obrigado)
 * ════════════════════════════════════════════════════════════════════════════ */

.repair {
    padding: 3rem 0 4rem;
}

.repair-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.repair-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
    margin: 0 0 0.5rem;
}

.repair-subtitle {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.5;
    max-width: 560px;
    margin: 0 auto;
}

.repair-form {
    max-width: 680px;
    margin: 0 auto;
}

.repair-section {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--surface);
}

.repair-section legend {
    padding: 0 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
}

.repair-field {
    margin-bottom: 1.25rem;
}
.repair-field:last-child {
    margin-bottom: 0;
}
.repair-field label {
    display: block;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.repair-field input[type="text"],
.repair-field input[type="email"],
.repair-field input[type="tel"],
.repair-field input[type="date"],
.repair-field textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--surface);
    color: var(--text);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.repair-field input:focus,
.repair-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 90, 42, 0.15);
}

.repair-field textarea {
    resize: vertical;
    min-height: 100px;
}

.repair-help {
    margin: 0.375rem 0 0;
    font-size: 0.8125rem;
    color: var(--muted);
}

.repair-err {
    margin-top: 0.375rem;
    font-size: 0.8125rem;
    color: #dc2626;
}

/* Periodos do dia (cartoes radio) */
.repair-periods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

@media (min-width: 640px) {
    .repair-periods {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.repair-period-option {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.875rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    background: var(--surface);
    transition: border-color 0.15s, background 0.15s;
}
.repair-period-option:hover {
    border-color: var(--text);
}
.repair-period-option input[type="radio"] {
    margin: 0.125rem 0 0 0;
    flex-shrink: 0;
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
}
.repair-period-option:has(input[type="radio"]:checked) {
    border-color: var(--accent);
    background: #fef7f3;
}
.repair-period-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex: 1;
    min-width: 0;
}
.repair-period-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.3;
}
.repair-period-sub {
    font-size: 0.75rem;
    color: var(--muted);
}

/* Termos */
.repair-terms {
    margin-bottom: 1.5rem;
}
.repair-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    cursor: pointer;
    line-height: 1.5;
    color: var(--text);
}
.repair-terms-label input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
}

.repair-submit {
    width: 100%;
    margin-bottom: 1rem;
}

.repair-recaptcha-note {
    margin: 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.5;
}

/* Pagina de obrigado (repair-thanks) */
.repair-thanks {
    padding: 3rem 0 4rem;
}

.repair-thanks-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
}

.repair-thanks-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #d1fae5;
    color: #065f46;
    margin: 0 auto 1.25rem;
}
.repair-thanks-icon svg {
    width: 32px;
    height: 32px;
}

.repair-thanks-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.repair-thanks-lead {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 2rem;
}

.repair-thanks-details {
    text-align: left;
    background: var(--bg);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 0 0 2rem;
}

.repair-thanks-details div {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e1d8;
}
.repair-thanks-details div:first-child {
    padding-top: 0;
}
.repair-thanks-details div:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.repair-thanks-details dt {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.repair-thanks-details dd {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text);
    font-weight: 500;
}

.repair-thanks-number {
    font-family: ui-monospace, 'SF Mono', Consolas, monospace;
    font-size: 1.0625rem;
    font-weight: 600;
}

.repair-thanks-next {
    text-align: left;
    margin-bottom: 2rem;
}

.repair-thanks-next h2 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin: 0 0 0.75rem;
}

.repair-thanks-next ol {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text);
    line-height: 1.6;
}

.repair-thanks-next li {
    margin-bottom: 0.375rem;
}

.repair-thanks-actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

@media (min-width: 480px) {
    .repair-thanks-actions {
        flex-direction: row;
        justify-content: center;
    }
}


/* ════════════════════════════════════════════════════════════════════════════
 * 16 ═══ LEGAL  (impressum, datenschutz, agb, widerruf)
 * ════════════════════════════════════════════════════════════════════════════ */

.legal-page {
    padding: 2.5rem 0 4rem;
}

.legal-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.legal-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.legal-validity-note {
    margin: 0;
    font-size: 0.875rem;
    color: var(--muted);
    font-style: italic;
    line-height: 1.5;
}

/* Prose: layout de texto legal legivel */
.legal-prose {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text);
}

.legal-prose h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 2rem 0 0.75rem;
    letter-spacing: -0.005em;
}
.legal-prose h2:first-child {
    margin-top: 0;
}

.legal-prose h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 1.5rem 0 0.5rem;
}

.legal-prose p {
    margin: 0 0 0.875rem;
}

.legal-prose ul,
.legal-prose ol {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}

.legal-prose li {
    margin-bottom: 0.375rem;
}

.legal-prose a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-prose a:hover {
    text-decoration: none;
}

.legal-prose strong {
    font-weight: 600;
    color: var(--text);
}

.legal-prose em {
    font-style: italic;
    color: var(--muted);
}

.legal-meta {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.8125rem;
    color: var(--muted);
}

.legal-small {
    font-size: 0.8125rem;
    color: var(--muted);
}

/* Caixa de destaque (callout) usado no Widerruf */
.legal-callout {
    background: #fef7f3;
    border-left: 3px solid var(--accent);
    padding: 1rem 1.25rem;
    margin: 0 0 1.5rem;
    border-radius: 4px;
    font-size: 0.9375rem;
    line-height: 1.55;
}
.legal-callout strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text);
}

/* Caixa do formulario modelo (Widerruf) */
.legal-form-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0 1.5rem;
}
.legal-form-box p {
    margin-bottom: 1rem;
}
.legal-form-box p:last-child {
    margin-bottom: 0;
}


/* ════════════════════════════════════════════════════════════════════════════
 * 17 ═══ UBER UNS  (pagina /ueber-uns)
 * ════════════════════════════════════════════════════════════════════════════ */

.about {
    padding: 3rem 0 4rem;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin: 0 0 0.5rem;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.about-lead {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.5;
    max-width: 580px;
    margin: 0 auto;
}

.about-content {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
}

.about-content h2 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text);
    margin: 2rem 0 0.75rem;
    letter-spacing: -0.01em;
}
.about-content h2:first-child {
    margin-top: 0;
}

.about-content p {
    margin: 0 0 1rem;
}

.about-promises {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .about-promises {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.about-promises li {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.about-promises strong {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
}

.about-promises span {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.5;
}

.about-cta {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 2rem;
}

@media (min-width: 480px) {
    .about-cta {
        flex-direction: row;
    }
}


/* ════════════════════════════════════════════════════════════════════════════
 * 18 ═══ KONTAKT  (formulario + info + mapa + thanks)
 * ════════════════════════════════════════════════════════════════════════════ */

.contact {
    padding: 3rem 0 4rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.5;
    max-width: 540px;
    margin: 0 auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 880px) {
    .contact-layout {
        grid-template-columns: 1.5fr 1fr;
    }
}

/* Form */
.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
}

.contact-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 1.25rem;
}

.contact-field {
    margin-bottom: 1rem;
}

.contact-field label {
    display: block;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.375rem;
}

.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field input[type="tel"],
.contact-field textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--surface);
    color: var(--text);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 90, 42, 0.15);
}

.contact-field textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-help {
    margin: 0.375rem 0 0;
    font-size: 0.8125rem;
    color: var(--muted);
}

.contact-err {
    margin-top: 0.375rem;
    font-size: 0.8125rem;
    color: #dc2626;
}

.contact-terms {
    margin-bottom: 1.25rem;
}

.contact-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    cursor: pointer;
    line-height: 1.5;
    color: var(--text);
}

.contact-terms-label input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
}

.contact-submit {
    width: 100%;
    margin-bottom: 0.875rem;
}

.contact-recaptcha-note {
    margin: 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.5;
}

/* Info lateral */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
}

.contact-info-block h3 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin: 0 0 0.75rem;
}

.contact-info-block p,
.contact-info-block address {
    margin: 0;
    font-style: normal;
    color: var(--text);
    line-height: 1.5;
}

.contact-info-block a {
    color: var(--accent);
    text-decoration: none;
}
.contact-info-block a:hover {
    text-decoration: underline;
}

.contact-hours {
    margin: 0;
}

.contact-hours div {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
}

.contact-hours dt {
    color: var(--muted);
}

.contact-hours dd {
    margin: 0;
    font-weight: 500;
}

/* Mapa */
.contact-map {
    min-height: 200px;
    border-radius: 6px;
    overflow: hidden;
}

.contact-map-placeholder {
    background: var(--bg);
    border: 1px dashed var(--border);
    border-radius: 6px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    color: var(--muted);
}

.contact-map-placeholder svg {
    width: 36px;
    height: 36px;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.contact-map-placeholder-title {
    margin: 0 0 0.375rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
}

.contact-map-placeholder-text {
    margin: 0 0 1rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--muted);
}

.contact-map-placeholder-link {
    margin: 0.75rem 0 0;
    font-size: 0.8125rem;
}

.contact-map-placeholder-link a {
    color: var(--accent);
}

/* Pagina contact-thanks */
.contact-thanks {
    padding: 3rem 0 4rem;
}

.contact-thanks-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
}

.contact-thanks-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #d1fae5;
    color: #065f46;
    margin: 0 auto 1.25rem;
}
.contact-thanks-icon svg {
    width: 32px;
    height: 32px;
}

.contact-thanks-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.contact-thanks-lead {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 2rem;
}

.contact-thanks-details {
    text-align: left;
    background: var(--bg);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 0 0 1.5rem;
}

.contact-thanks-details div {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e1d8;
}
.contact-thanks-details div:first-child {
    padding-top: 0;
}
.contact-thanks-details div:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.contact-thanks-details dt {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-thanks-details dd {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text);
    font-weight: 500;
}

.contact-thanks-number {
    font-family: ui-monospace, 'SF Mono', Consolas, monospace;
    font-size: 1.0625rem;
    font-weight: 600;
}

.contact-thanks-info {
    margin: 0 0 2rem;
    padding: 0.875rem 1rem;
    background: #fef7f3;
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text);
}

.contact-thanks-actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

@media (min-width: 480px) {
    .contact-thanks-actions {
        flex-direction: row;
        justify-content: center;
    }
}
 
/* ═══════════════════════════════════════════════════════════════════════
   19 ─ COOKIES (DSGVO/GDPR)
   ═══════════════════════════════════════════════════════════════════════
   Banner sticky no fundo + modal de configuracoes.
   Botoes com pesos visuais iguais (DSGVO: nudging proibido).
*/

/* Body lock quando modal esta aberto */
body.ob-no-scroll {
    overflow: hidden;
}

/* ─── BANNER STICKY ─────────────────────────────────────────────────── */

.ob-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
    padding: 1.25rem 1rem;
}

.ob-cookie-banner[hidden] {
    display: none;
}

.ob-cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ob-cookie-banner-text {
    flex: 1 1 320px;
    min-width: 0;
}

.ob-cookie-banner-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    color: var(--text);
}

.ob-cookie-banner-desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text-soft);
}

.ob-cookie-banner-desc a {
    color: var(--primary);
    text-decoration: underline;
}

.ob-cookie-banner-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ─── BOTOES (pesos iguais por exigencia legal) ─────────────────────── */

.btn-cookie {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    min-width: 140px;
}

.btn-cookie:hover {
    background: var(--surface-soft, #f5f1e8);
    border-color: var(--text-soft);
}

.btn-cookie-primary {
    background: var(--primary);
    color: var(--text-on-primary, #fff);
    border-color: var(--primary);
}

.btn-cookie-primary:hover {
    background: var(--primary);
    opacity: 0.92;
}

/* ─── MODAL ──────────────────────────────────────────────────────────── */

.ob-cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ob-cookie-modal[hidden] {
    display: none;
}

.ob-cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.ob-cookie-modal-dialog {
    position: relative;
    background: var(--surface);
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 620px;
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ob-cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.ob-cookie-modal-header h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
}

.ob-cookie-modal-close {
    background: none;
    border: 0;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-soft);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.ob-cookie-modal-close:hover {
    background: var(--surface-soft, #f5f1e8);
    color: var(--text);
}

.ob-cookie-modal-body {
    padding: 1.25rem 1.5rem;
    overflow-y: auto;
    flex: 1 1 auto;
}

.ob-cookie-modal-intro {
    margin: 0 0 1.25rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-soft);
}

.ob-cookie-modal-footer {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--surface-soft, #faf6ee);
}

/* ─── CATEGORIAS ─────────────────────────────────────────────────────── */

.ob-cookie-cat {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.ob-cookie-cat:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.ob-cookie-cat:first-child {
    padding-top: 0;
}

.ob-cookie-cat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
}

.ob-cookie-cat-name {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.ob-cookie-cat-desc {
    margin: 0.4rem 0 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--text-soft);
}

/* ─── TOGGLE SWITCH ──────────────────────────────────────────────────── */

.ob-cookie-toggle {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
}

.ob-cookie-toggle input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.ob-cookie-toggle-track {
    position: absolute;
    inset: 0;
    background: #d4d4d4;
    border-radius: 999px;
    transition: background 0.15s ease;
}

.ob-cookie-toggle-track::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.ob-cookie-toggle input:checked + .ob-cookie-toggle-track {
    background: var(--primary);
}

.ob-cookie-toggle input:checked + .ob-cookie-toggle-track::before {
    transform: translateX(18px);
}

.ob-cookie-toggle.is-locked .ob-cookie-toggle-track {
    background: var(--primary);
    opacity: 0.5;
}

.ob-cookie-toggle input:disabled {
    cursor: not-allowed;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────── */

@media (max-width: 720px) {
    .ob-cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .ob-cookie-banner-actions {
        flex-direction: column;
    }
    .btn-cookie {
        width: 100%;
        min-width: 0;
    }
    .ob-cookie-modal-footer {
        flex-direction: column;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   20 ─ MOBILE MENU (hamburger drawer)
   ═══════════════════════════════════════════════════════════════════════
   Hamburger button + drawer lateral esquerda.
   Aparece abaixo de 900px (mobile + tablet portrait).
*/

/* ─── HAMBURGER BUTTON ──────────────────────────────────────────────── */

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 0.4rem;
    color: var(--text);
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.mobile-menu-toggle:hover {
    background: var(--surface-soft, #f5f1e8);
}

.mobile-menu-toggle svg {
    width: 26px;
    height: 26px;
    display: block;
}

/* ─── DRAWER ─────────────────────────────────────────────────────────── */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 9200;
    pointer-events: none;
    visibility: hidden;
}

.mobile-menu.is-open {
    pointer-events: auto;
    visibility: visible;
}

.mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mobile-menu.is-open .mobile-menu-backdrop {
    opacity: 1;
}

.mobile-menu-panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 85%;
    max-width: 340px;
    background: var(--surface);
    box-shadow: 2px 0 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
}

.mobile-menu.is-open .mobile-menu-panel {
    transform: translateX(0);
}

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-menu-close {
    background: none;
    border: 0;
    padding: 0.4rem;
    color: var(--text-soft);
    cursor: pointer;
    border-radius: 6px;
}

.mobile-menu-close:hover {
    background: var(--surface-soft, #f5f1e8);
    color: var(--text);
}

.mobile-menu-close svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* ─── NAV ────────────────────────────────────────────────────────────── */

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    flex: 1 1 auto;
}

.mobile-menu-nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s ease;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:active {
    background: var(--surface-soft, #f5f1e8);
}

/* ─── LANG SWITCHER NO DRAWER ───────────────────────────────────────── */

.mobile-menu-lang {
    display: flex;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--surface-soft, #faf6ee);
}

.mobile-menu-lang a {
    flex: 1;
    text-align: center;
    padding: 0.6rem 0.5rem;
    background: var(--surface);
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: all 0.15s ease;
}

.mobile-menu-lang a:hover {
    color: var(--text);
    border-color: var(--text-soft);
}

.mobile-menu-lang a.active {
    background: var(--primary);
    color: var(--text-on-primary, #fff);
    border-color: var(--primary);
}

/* ─── RESPONSIVE: mostrar hamburger, esconder nav desktop ─────────── */

@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-header .main-nav {
        display: none;
    }

    .site-header .lang-switcher {
        display: none;
    }

    .site-header .logo img {
        height: 54px;
        width: auto;
    }

    .site-header .logo-secondary img {
        height: 32px;
        width: auto;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   21 ─ HEADER SEARCH (inline desktop + lupa+overlay mobile)
   ═══════════════════════════════════════════════════════════════════════
*/

/* Search inline (desktop) */
.header-search {
    flex: 0 1 320px;
    position: relative;
    margin: 0 1.5rem;
    min-width: 180px;
}

.header-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
    display: flex;
    align-items: center;
}

.header-search-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.header-search input[type="search"] {
    width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 2.25rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-soft, #faf6ee);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    -webkit-appearance: none;
    appearance: none;
}

.header-search input[type="search"]:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--surface);
}

/* Toggle lupa (mobile only) */
.header-search-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 0.4rem;
    color: var(--text);
    cursor: pointer;
    border-radius: 6px;
}
.header-search-toggle:hover {
    background: var(--surface-soft, #f5f1e8);
}
.header-search-toggle svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* Search overlay (mobile) */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9400;
    background: var(--surface);
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.search-overlay[hidden] {
    display: none;
}

.search-overlay-form {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-overlay-close,
.search-overlay-submit {
    background: none;
    border: 0;
    padding: 0.5rem;
    color: var(--text);
    cursor: pointer;
    border-radius: 6px;
    flex-shrink: 0;
}
.search-overlay-close:hover,
.search-overlay-submit:hover {
    background: var(--bg);
}
.search-overlay-close svg,
.search-overlay-submit svg {
    width: 22px;
    height: 22px;
    display: block;
}

.search-overlay-form input[type="search"] {
    flex: 1;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-soft, #faf6ee);
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    -webkit-appearance: none;
    appearance: none;
}
.search-overlay-form input[type="search"]:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--surface);
}

@media (max-width: 900px) {
    .header-search {
        display: none;
    }
    .header-search-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}



/* ═══════════════════════════════════════════
   22 · BOTÃO WHATSAPP FLUTUANTE
   ═══════════════════════════════════════════ */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 998;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    color: #fff;
}
.wa-float svg {
    display: block;
}
@media (max-width: 600px) {
    .wa-float {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }
}


