/* --- css/styles.css (VERSIÓN FINAL: COTIZADOR) --- */

:root {
    /* --- COLORES DE MARCA --- */
    --primary: #ff5722;       /* Naranja */
    --accent: #d4af37;        /* Dorado */
    
    /* --- MODO OSCURO (DEFAULT) --- */
    --bg-body: #0a0a0a;
    --bg-card: #141414;
    --bg-input: #1a1a1a;
    --bg-nav: rgba(10, 10, 10, 0.95);
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    --border-color: #333;
    --shadow: rgba(0,0,0,0.5);

    /* --- SUPERFICIES OSCURAS FIJAS (INDEPENDIENTES DEL TEMA) --- */
    --header-bg: rgba(8, 8, 8, 0.96);
    --header-text: #f5f5f5;
    --header-text-muted: #c7c7c7;
    --header-active: var(--primary);
    --header-border: #333333;
    --header-control-bg: #161616;
    --footer-bg: #111111;
    --footer-bottom-bg: #000000;
    --footer-text: #dddddd;
    --footer-text-muted: #aaaaaa;
    --footer-border: #2b2b2b;
    
    /* --- FUENTES --- */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* --- MODO CLARO --- */
[data-theme="light"] {
    --bg-body: #ffffff;
    --bg-card: #f9f9f9;
    --bg-input: #e0e0e0;
    --bg-nav: rgba(255, 255, 255, 0.95);
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --border-color: #ddd;
    --accent: #b38f1d;
    --shadow: rgba(0,0,0,0.1);
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    transition: background 0.3s, color 0.3s;
    padding-top: 80px; /* Espacio para el menú fijo */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3 { 
    font-family: var(--font-heading); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; outline: none; }

/* =========================================
   1. NAVBAR MAESTRO
   ========================================= */
.navbar {
    position: fixed; 
    top: 0; left: 0;
    width: 100%; 
    height: 80px; 
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.nav-container { 
    width: 100%; 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo img { 
    height: 55px; 
    width: auto;
    display: block;
}

.nav-menu {
    display: flex; 
    gap: 30px; 
}

.nav-menu a {
    color: var(--text-main);
    font-weight: 700; 
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: none;
    transition: color 0.3s;
}

.nav-menu a:hover { 
    color: var(--primary); 
}

.nav-right { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}

/* Botón Tema */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 20px; 
    border-radius: 50px; 
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex; 
    align-items: center; 
    gap: 8px;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Carrito Trigger */
.cart-trigger {
    position: relative;
    cursor: pointer;
    color: var(--text-main);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.cart-trigger:hover {
    color: var(--primary);
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
}

.hamburger { 
    display: none; 
    color: var(--text-main); 
    font-size: 1.5rem; 
    cursor: pointer;
}

/* Menú Móvil */
.mobile-menu {
    display: none; 
    flex-direction: column;
    background: var(--bg-nav); 
    border-top: 1px solid var(--border-color);
    position: fixed; 
    top: 80px; 
    left: 0;
    width: 100%; 
    z-index: 999;
    text-align: center;
}

.mobile-menu a {
    padding: 20px; 
    color: var(--text-main); 
    border-bottom: 1px solid var(--border-color);
    display: block;
}

.mobile-menu.active { display: flex; }

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hamburger { display: block; }
}

/* =========================================
   2. HERO SECTION (HÍBRIDO)
   ========================================= */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    margin-top: -1px;
}

/* Estilo compartido para Video e Imagen de fondo */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cubre todo sin deformarse */
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Oscuridad al 60% */
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

/* Títulos y textos */
.hero-content h2 { 
    color: var(--accent); 
    margin-bottom: 10px; 
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
.hero-content h1 { 
    font-size: 4rem; 
    margin-bottom: 20px; 
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
.hero-content p { 
    font-size: 1.2rem; 
    color: #ddd; 
    margin-bottom: 30px; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* --- CLASES DE VISIBILIDAD INTELIGENTE --- */

/* Por defecto (PC): Ocultamos la imagen móvil */
.mobile-only { display: none; }
.desktop-only { display: block; }

/* --- AJUSTES PARA CELULARES (SOLUCIÓN DEFINITIVA) --- */
@media (max-width: 768px) {
    /* 1. Menú Móvil */
    .nav-menu { display: none; }
    .hamburger { display: block; }
    
    /* 2. Sección Hero */
    .hero { 
        height: 85vh; 
        align-items: flex-end; /* Alinea texto al fondo */
        padding-bottom: 20px;  /* <--- CAMBIO CLAVE: Antes 60px. Esto baja el texto */
    }
    
    /* 3. Ajuste de la Imagen de Fondo (Móvil) */
    .mobile-only {
        /* <--- CAMBIO CLAVE: "center 30%" sube el encuadre para ver mejor el logo */
        object-position: center 10%; 
    }

    /* 4. Degradado para que se lean las letras abajo */
    .hero-overlay {
        /* Degradado más suave arriba para dejar ver el logo */
        background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,0.8) 80%, rgba(0,0,0,1) 100%);
    }

    /* 5. Visibilidad */
    .desktop-only { display: none; }
    .mobile-only { display: block; }
    
    /* 6. Ajustes del Texto */
    .hero-content {
        width: 100%;
        margin: 0;
        padding: 10px;
        z-index: 2;
    }

    .hero-content h2 { display: none; } /* Ocultamos título repetido */

    .hero-content h1 { 
        font-size: 2rem; /* Un pelín más pequeño para ganar espacio */
        line-height: 1.1;
        margin-bottom: 10px;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 15px; /* Menos margen para pegarlo más abajo */
        opacity: 0.9;
    }

    /* 7. Ajustes Generales */
    .footer-grid, .contact-grid, .checkout-grid { 
        grid-template-columns: 1fr; 
        gap: 30px;
    }
    .map-container { min-height: 300px; }
    .nosotros-hero { flex-direction: column; }
    .cart-sidebar { width: 100%; right: -100%; }
}
/* =========================================
   3. SECCIÓN NOSOTROS
   ========================================= */
.section-nosotros {
    padding: 80px 20px;
    background-color: var(--bg-body);
}

.nosotros-container {
    max-width: 1100px;
    margin: 40px auto;
}

.nosotros-hero {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.nosotros-text { flex: 1; min-width: 300px; }
.nosotros-text h1 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    line-height: 1.1;
}
.nosotros-text p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.read-more-link {
    color: var(--primary);
    font-weight: bold;
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.read-more-link:hover { border-bottom-color: var(--primary); gap: 10px; }

.nosotros-img { flex: 1; display: flex; justify-content: center; }
.nosotros-img img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 15px 15px 0px rgba(0,0,0,0.1);
    border: 4px solid var(--bg-card);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}
.nosotros-img img:hover { transform: rotate(0deg) scale(1.02); }

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}
.valor-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s;
}
.valor-card:hover i { transform: scale(1.2) rotate(15deg); }
.valor-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
}
.valor-card p { color: var(--text-muted); font-style: italic; font-size: 1rem; }

@media (max-width: 850px) {
    .nosotros-hero { flex-direction: column; text-align: center; }
}

/* =========================================
   4. CATÁLOGO (ESTILO COTIZADOR)
   ========================================= */
.catalog-section {
    padding: 80px 20px;
    background-color: var(--bg-body);
}

.search-wrapper {
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
}
.search-wrapper input {
    width: 100%;
    padding: 12px 20px 12px 50px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}
.search-wrapper input:focus { border-color: var(--primary); }
.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: capitalize;
}
.tab-btn:hover, .tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    align-items: stretch;
    gap: 24px;
    margin-top: 40px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: var(--primary);
}

.card-img-wrapper {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    flex: 0 0 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #eee;
}
.card-img-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}
.product-card:hover .card-img-wrapper img { transform: scale(1.1); }

/* Ajuste de info sin precio */
.card-info {
    padding: 20px;
    text-align: center;
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Mantiene el botón abajo */
    gap: 10px;
    height: 250px;
    min-height: 250px;
    max-height: 250px;
    overflow: hidden;
}
.card-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-main);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.catalog-extra-filters { display:flex; align-items:flex-end; justify-content:center; flex-wrap:wrap; gap:12px; margin-top:18px; }
.catalog-filter-group { display:grid; gap:6px; min-width:210px; color:var(--text-main); font-weight:700; }
.catalog-filter-select { min-height:42px; padding:8px 12px; color:var(--text-main); background:var(--bg-card); border:1px solid var(--border-color); border-radius:8px; }
.product-card-meta { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:6px; min-height:24px; }
.product-category,.product-flag { padding:3px 8px; border:1px solid var(--border-color); border-radius:999px; color:var(--text-muted); font-size:.72rem; text-transform:uppercase; }
.product-flag { color:var(--primary); border-color:var(--primary); }.product-flag.promotion { color:#fff; background:var(--primary); }
.product-price-area { display:grid; gap:2px; min-height:42px; align-content:center; }
.product-price { color: var(--text-main); font-weight:700; }
.product-price-note { color:var(--text-muted); font-size:.76rem; }
.product-previous-price { color:var(--text-muted); font-size:.76rem; text-decoration:line-through; }
.product-availability { font-size:.78rem; color:var(--text-muted); }.product-availability.available{color:#2e9d58}.product-availability.unavailable{color:#d94b4b}
.product-description { color: var(--text-muted); font-size: 0.9rem; line-height: 1.4; margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.add-btn:disabled,.btn-pagar:disabled,.btn-primary:disabled { cursor: not-allowed; opacity: 0.55; transform:none; }

@media (max-width: 768px) {
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .card-img-wrapper { height: 170px; min-height: 170px; max-height: 170px; flex-basis: 170px; }
    .card-info { padding: 14px; flex-basis: 245px; height: 245px; min-height: 245px; max-height: 245px; }
    .card-info h3 { font-size: 1rem; }
    .add-btn { padding: 9px 8px; font-size: 0.78rem; }
}

/* Fase H: calculadora y recomendador */
.growth-section{background:var(--bg-body)}
.growth-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr);align-items:start;gap:clamp(32px,7vw,90px)}
.calculator-disclaimer{padding-left:14px;border-left:3px solid var(--primary);font-weight:700}
.calculator-card{display:grid;gap:18px;padding:clamp(24px,4vw,38px);background:var(--bg-card);border:1px solid var(--border-color);border-radius:18px;box-shadow:0 18px 45px rgba(0,0,0,.12)}
.calculator-card fieldset{padding:0;border:0}
.calculator-card legend{margin-bottom:10px;font-weight:800}
.calculator-types{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.calculator-types label{display:flex;align-items:center;gap:10px;min-height:52px;padding:13px;border:1px solid var(--border-color);border-radius:10px;cursor:pointer;font-weight:700}
.calculator-types label:has(input:checked){border-color:var(--primary);background:rgba(255,87,34,.09)}
.calculator-types label:has(input:focus-visible){outline:3px solid rgba(255,87,34,.35);outline-offset:2px}
.calculator-types input{appearance:none;display:grid;place-content:center;flex:0 0 20px;width:20px;height:20px;border:2px solid #777;border-radius:50%}
.calculator-types input::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--primary);transform:scale(0)}
.calculator-types input:checked{border-color:var(--primary)}
.calculator-types input:checked::before{transform:scale(1)}
.calculator-card>.btn-primary{width:100%}
.calculator-result{display:grid;gap:8px;padding:20px;border:1px solid var(--primary);border-radius:12px;background:rgba(255,87,34,.07)}
.calculator-result>span{font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.calculator-result>strong{color:var(--primary);font:700 clamp(2rem,5vw,3.2rem)/1 var(--font-heading)}
.calculator-result p{margin:0;color:var(--text-muted);line-height:1.55}
.calculator-result .btn-outline{margin-top:8px;color:var(--text-main)}
.recommendations-section{background:#0b0b0b;color:#fff}
.recommendations-section .section-heading p:not(.eyebrow){color:#bbb}
.recommendation-options{display:flex;flex-wrap:wrap;gap:10px}
.recommendation-options button{min-height:46px;padding:10px 18px;color:#fff;background:#161616;border:1px solid #444;border-radius:999px;font-weight:800;cursor:pointer}
.recommendation-options button:hover,.recommendation-options button:focus-visible,.recommendation-options button.active{color:#111;background:var(--primary);border-color:var(--primary)}
.recommendation-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-height:120px;margin-top:26px}
.recommendation-prompt,.recommendation-empty{grid-column:1/-1;color:#bbb}
.recommendation-empty{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:22px;border:1px dashed #555;border-radius:12px}
.recommendation-empty span{flex:1 1 300px}
.recommendation-empty .btn-outline{color:#fff}
.recommendation-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;background:#151515;border:1px solid #3a3a3a;border-radius:12px}
.recommendation-card h3{margin:5px 0 0;color:#fff;font-size:1.15rem}
.recommendation-category{color:var(--primary);font-size:.75rem;font-weight:800;text-transform:uppercase}
.recommendation-card .btn-outline{min-height:42px;padding:8px 14px;color:#fff}
@media(max-width:850px){.growth-grid{grid-template-columns:1fr}.recommendation-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.calculator-card{padding:20px 16px}.calculator-types{grid-template-columns:1fr}.recommendation-options{display:grid;grid-template-columns:1fr 1fr}.recommendation-options button{padding-inline:10px}.recommendation-results{grid-template-columns:1fr}.recommendation-card{align-items:flex-start}.recommendation-card .btn-outline{flex:0 0 auto}.recommendation-empty{align-items:stretch}.recommendation-empty .btn-outline{width:100%}}

@media (max-width: 420px) {
    .products-grid { grid-template-columns: 1fr; }
    .card-img-wrapper { height: 210px; min-height: 210px; max-height: 210px; flex-basis: 210px; }
}

/* =========================================
   5. CONTROLES DE CANTIDAD
   ========================================= */
.add-btn {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.add-btn:hover { background: var(--primary); color: white; }

.qty-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-input);
    border: 1px solid var(--primary);
    border-radius: 6px;
    padding: 5px;
    width: 100%;
    height: 42px;
}
.qty-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
.qty-btn:hover { background: #b71c1c; }
.qty-number { font-weight: bold; color: var(--text-main); font-size: 1.1rem; }

/* =========================================
   6. SECCIÓN CONTACTO Y MAPA
   ========================================= */
.contact-header { text-align: center; margin-bottom: 50px; margin-top: 40px; }
.contact-header h1 {
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
}

.contact-info {
    background: var(--primary);
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-info h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
    display: inline-block;
}
.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}
.info-item i {
    font-size: 1.5rem;
    background: rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}
.info-item strong { display: block; font-size: 1.1rem; margin-bottom: 5px; }

/* MAPA RESPONSIVE (NUEVO) */
.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: 0 12px 12px 0;
    overflow: hidden;
}

@media (max-width: 850px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info { padding: 40px 30px; }
    /* El mapa se adapta abajo en móviles */
    .map-container {
        border-radius: 0 0 12px 12px;
        min-height: 300px;
    }
}

/* =========================================
   7. GLOBALES Y FOOTER
   ========================================= */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}
.btn-primary:hover { filter: brightness(1.1); }

footer {
    background: #111;
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-top: 4px solid var(--accent);
    margin-top: auto;
}
.footer-logo { height: 80px; margin-bottom: 20px; }

.main-spacer { margin-top: 40px; margin-bottom: 60px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =========================================
   8. CARRITO SIDEBAR
   ========================================= */
.cart-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1500;
    display: none;
}
.cart-overlay.open { display: block; }

.cart-sidebar {
    position: fixed; top: 0; right: -400px;
    width: 350px; height: 100%;
    background: var(--bg-card);
    z-index: 2000;
    transition: right 0.4s ease;
    border-left: 2px solid var(--primary);
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}
.cart-sidebar.open { right: 0; }

#cart-items {
    min-width: 0;
    width: 100%;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
}

@media (max-width: 500px) {
    .cart-sidebar { width: 100%; right: -100%; }
}

.cart-item-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    width: 100%;
    min-width: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    box-sizing: border-box;
}

.cart-item-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.cart-item-name {
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 600;
    line-height: 1.35;
}

.cart-item-summary { margin:0; color:var(--text-muted); font-size:.82rem; line-height:1.4; overflow-wrap:anywhere; }
.cart-item-actions { display:flex; flex-wrap:wrap; gap:7px; width:100%; }
.cart-action-btn { flex:1 1 105px; min-height:34px; padding:6px 9px; color:var(--text-main); background:var(--bg-card); border:1px solid var(--border-color); border-radius:6px; cursor:pointer; font-weight:700; }
.cart-action-btn:hover,.cart-action-btn:focus-visible { border-color:var(--primary); color:var(--primary); }
.cart-action-btn.danger:hover,.cart-action-btn.danger:focus-visible { background:#c62828; border-color:#c62828; color:#fff; }

.cart-remove-btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 32px;
    padding: 5px 8px;
    color: var(--text-main);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
}

.cart-remove-btn:hover,
.cart-remove-btn:focus-visible {
    color: #fff;
    background: #c62828;
    border-color: #c62828;
}

.qty-mini-selector {
    display: inline-grid;
    grid-template-columns: 30px minmax(28px, auto) 30px;
    align-items: center;
    gap: 3px;
    width: max-content;
    max-width: 100%;
    background: var(--bg-input);
    border-radius: 4px;
    padding: 2px;
}

.btn-mini {
    width: 30px;
    height: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: 0.2s;
}
.btn-mini:hover { background: var(--primary); color: white; border-color: var(--primary); }

.qty-mini-val {
    font-size: 0.9rem;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
    color: var(--text-main);
}

.quote-dialog { width:min(560px,calc(100% - 24px)); max-height:calc(100vh - 24px); margin:auto; padding:0; color:var(--text-main); background:var(--bg-card); border:1px solid var(--primary); border-radius:14px; overflow:auto; }
.quote-dialog::backdrop { background:rgba(0,0,0,.78); }
.quote-dialog-card { padding:22px; }
.quote-dialog-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:18px; }
.quote-dialog-heading h2 { font-size:1.35rem; }
.dialog-close { width:36px; height:36px; color:var(--text-main); background:transparent; border:1px solid var(--border-color); border-radius:50%; font-size:1.5rem; cursor:pointer; }
.quote-dialog fieldset,.quote-fieldset { margin:0 0 20px; padding:14px; border:1px solid var(--border-color); border-radius:9px; }
.quote-dialog legend,.quote-fieldset legend { padding:0 6px; font-weight:700; }
.quantity-type-options { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.quantity-type-options label,.delivery-option,.check-line { display:flex; align-items:flex-start; gap:8px; }
.dialog-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:10px; }
.btn-primary.secondary { color:var(--text-main); background:transparent; border:1px solid var(--border-color); }
.form-error { min-height:1.3em; color:#e65b63; font-weight:700; }

/* =========================================
   9. SECCIÓN SOLICITUD (CHECKOUT)
   ========================================= */
.checkout-section {
    padding: 60px 20px;
    margin-top: 40px;
}

.checkout-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--primary);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.checkout-form-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.checkout-form-card h3 {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    color: var(--text-main);
}

.form-group { margin-bottom: 25px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
}
.form-control {
    width: 100%;
    padding: 15px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}
.form-control:focus {
    border-color: var(--primary);
    background: var(--bg-card);
    outline: none;
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1);
}

.form-control:focus-visible,.catalog-filter-select:focus-visible,.cart-action-btn:focus-visible,.add-btn:focus-visible,.btn-pagar:focus-visible { outline:3px solid rgba(255,87,34,.35); outline-offset:2px; }
.delivery-options { display:grid; gap:10px; }
.delivery-option { padding:12px; border:1px solid var(--border-color); border-radius:8px; cursor:pointer; }
.delivery-option:has(input:checked) { border-color:var(--primary); background:rgba(255,87,34,.08); }
.delivery-option span { display:grid; gap:4px; }.delivery-option small { color:var(--text-muted); }
.check-line { margin:14px 0; line-height:1.45; }.check-line input { flex:0 0 auto; width:18px; height:18px; accent-color:var(--primary); }
.consent-box,.payment-info { padding:14px; background:var(--bg-input); border:1px solid var(--border-color); border-radius:9px; }
.payment-info { margin-top:18px; text-align:center; }.payment-info p { margin:7px 0; }.payment-info small { color:var(--text-muted); }
.checkout-item { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; padding:12px 0; border-bottom:1px solid var(--border-color); }
.checkout-item>div:first-child { min-width:0; }.checkout-item p { margin:5px 0 0; color:var(--text-muted); font-size:.82rem; overflow-wrap:anywhere; }
.checkout-item-actions { display:flex; flex:0 0 auto; gap:5px; }.checkout-item-actions button { padding:5px 7px; color:var(--text-main); background:transparent; border:1px solid var(--border-color); border-radius:5px; cursor:pointer; }.checkout-item-actions .danger { color:#e65b63; }

.order-summary-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--primary);
    position: sticky;
    top: 100px;
    height: fit-content;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.order-summary-card h3 { text-align: center; margin-bottom: 20px; color: var(--primary); }

#checkout-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 5px;
}

.btn-pagar {
    width: 100%;
    margin-top: 20px;
    font-size: 1.1rem;
    padding: 15px;
    background: #25D366;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-pagar:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

@media (max-width: 850px) {
    .checkout-grid { grid-template-columns: 1fr; }
    .order-summary-card { position:static; }
}

@media (max-width: 500px) {
    .checkout-section { padding:35px 12px; margin-top:25px; }
    .checkout-title { font-size:1.8rem; margin-bottom:24px; }
    .checkout-form-card,.order-summary-card { padding:18px; }
    .quantity-type-options { grid-template-columns:1fr; }
    .checkout-item { flex-direction:column; }.checkout-item-actions { width:100%; }.checkout-item-actions button { flex:1; }
    .dialog-actions>* { flex:1 1 150px; }
}

/* --- BOTÓN FLOTANTE WHATSAPP (DERECHA) --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;  /* <--- AQUÍ ESTÁ EL CAMBIO */
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* =========================================
   10. FOOTER PROFESIONAL (NUEVO)
   ========================================= */
.main-footer {
    background-color: #111;
    color: #b0b0b0;
    padding-top: 70px;
    border-top: 4px solid var(--primary); /* Línea naranja arriba */
    margin-top: auto;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    padding-bottom: 50px;
}

/* Columna Marca */
.footer-logo {
    height: 80px;
    margin-bottom: 20px;
    filter: brightness(0.9); /* Un poco más sutil */
}
.footer-desc {
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Redes Sociales */
.social-links {
    display: flex;
    gap: 15px;
}
.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Títulos de Columnas */
.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
/* Pequeña línea debajo del título */
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

/* Enlaces Rápidos */
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}
.footer-links a i { font-size: 0.8rem; color: var(--primary); }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }

/* Contacto */
.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.footer-contact i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 4px;
}

/* Barra Final */
.footer-bottom {
    background: #000;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #222;
    font-size: 0.85rem;
}

/* Responsive: Centrar todo en celular */
@media (max-width: 768px) {
    .footer-grid { text-align: center; gap: 40px; }
    .footer-col h3::after { left: 50%; transform: translateX(-50%); } /* Centrar línea */
    .social-links { justify-content: center; }
    .footer-links a { justify-content: center; }
    .footer-contact li { justify-content: center; text-align: center; }
}

/* Fases E/F: experiencia pública y sistema visual compartido */
[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:9999;top:8px;left:8px;padding:10px 14px;color:#111;background:var(--primary);border-radius:8px;transform:translateY(-150%)}.skip-link:focus{transform:none}
html{scroll-behavior:smooth;scroll-padding-top:88px}body{overflow-x:hidden}.container{width:min(1180px,calc(100% - 40px))}.navbar{background:rgba(8,8,8,.96);backdrop-filter:none}.nav-container{min-height:74px}.logo img{width:58px;height:58px;object-fit:contain}.nav-menu a{font-weight:700;letter-spacing:.02em}.nav-menu a:hover,.nav-menu a:focus-visible,.nav-menu a[aria-current="page"]{color:var(--primary)}
button,a,input,select,textarea{transition:border-color .16s ease,background-color .16s ease,color .16s ease,opacity .16s ease,transform .16s ease,box-shadow .16s ease}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 58%,transparent);outline-offset:3px}.theme-toggle,.cart-trigger,.hamburger{border:1px solid var(--border-color);background:var(--bg-card);color:var(--text-main);border-radius:9px;min-height:42px}.cart-trigger,.hamburger{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 12px;cursor:pointer}.theme-toggle:hover,.cart-trigger:hover,.hamburger:hover{border-color:var(--primary);color:var(--primary)}
.home-hero{min-height:min(780px,92vh);display:grid;align-items:center;padding-top:74px}.home-hero .hero-overlay{background:linear-gradient(90deg,rgba(0,0,0,.9) 0%,rgba(0,0,0,.66) 52%,rgba(0,0,0,.32) 100%)}.hero-content{position:relative;z-index:2;text-align:left;margin:0 auto;padding-block:74px}.hero-content h1{max-width:780px;margin:6px 0 18px;font-size:clamp(2.6rem,6vw,5.8rem);line-height:.98;letter-spacing:-.025em;text-wrap:balance}.hero-content h1 span{display:block;color:var(--primary)}.hero-lead{max-width:680px;font-size:clamp(1rem,1.8vw,1.25rem);line-height:1.7;color:#e5e5e5}.hero-location{display:flex;align-items:center;gap:9px;margin:20px 0;color:#fff;font-weight:700}.hero-location i,.eyebrow{color:var(--primary)}.eyebrow{margin:0 0 7px;font:700 .82rem/1.2 "Open Sans",sans-serif;letter-spacing:.14em;text-transform:uppercase}.hero-actions,.actions-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:28px}.btn-primary,.btn-outline,.btn-text,.add-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 20px;border-radius:9px;text-transform:uppercase;font-weight:800;letter-spacing:.025em;text-decoration:none;cursor:pointer}.btn-primary,.add-btn{border:1px solid var(--primary);background:var(--primary);color:#111}.btn-primary:hover,.add-btn:hover{background:#ff7043;transform:translateY(-1px)}.btn-outline{border:1px solid var(--primary);background:transparent;color:var(--text-main)}.home-hero .btn-outline{color:#fff}.btn-outline:hover{background:rgba(255,87,34,.12)}.btn-text{border:1px solid transparent;background:transparent;color:#fff}.btn-text:hover{text-decoration:underline;text-underline-offset:4px}.btn-primary:disabled,.add-btn:disabled{opacity:.52;cursor:not-allowed;transform:none}.text-link{color:var(--primary);font-weight:800;text-decoration:none}.text-link:hover{text-decoration:underline;text-underline-offset:4px}
.trust-strip{position:relative;z-index:3;margin-top:-1px;background:#0b0b0b;border-block:1px solid #292929}.trust-grid{display:grid;grid-template-columns:repeat(5,1fr);padding-block:23px}.trust-grid div{display:flex;flex-direction:column;gap:4px;padding:5px 20px;border-right:1px solid #2e2e2e}.trust-grid div:last-child{border:0}.trust-grid strong{color:#fff;font-size:.92rem}.trust-grid span{color:#aaa;font-size:.78rem}
.section-block{padding:clamp(62px,8vw,108px) 0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:34px}.section-heading.centered{justify-content:center;text-align:center}.section-heading h2,.feature-copy h2,.feature-columns h2,.event-callout h2,.location-card h2{margin:0 0 12px;font-size:clamp(2rem,4vw,3.4rem);line-height:1.05}.section-heading p:not(.eyebrow){color:var(--text-muted)}
.visual-categories{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.visual-categories a{display:flex;flex-direction:column;justify-content:space-between;min-height:150px;padding:20px;color:var(--text-main);background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;text-decoration:none}.visual-categories a:hover{border-color:var(--primary);transform:translateY(-3px)}.visual-categories i{color:var(--primary);font-size:1.55rem}.visual-categories span{font:700 1.12rem/1.2 "Oswald",sans-serif;text-transform:uppercase}
.catalog-section{padding:clamp(64px,8vw,100px) 0;background:color-mix(in srgb,var(--bg-dark) 92%,#181818)}.search-wrapper{display:flex;align-items:center;max-width:640px;margin:0 auto 22px}.search-wrapper .form-control{padding-left:46px}.form-control,.catalog-filter-select{width:100%;min-height:46px;padding:11px 14px;color:var(--text-main);background:var(--bg-card);border:1px solid var(--border-color);border-radius:9px;accent-color:var(--primary)}select.form-control,.catalog-filter-select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--primary) 50%),linear-gradient(135deg,var(--primary) 50%,transparent 50%);background-position:calc(100% - 18px) 19px,calc(100% - 12px) 19px;background-size:6px 6px,6px 6px;background-repeat:no-repeat;padding-right:38px}.form-control:hover,.catalog-filter-select:hover{border-color:#696969}.form-control:focus,.catalog-filter-select:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(255,87,34,.16);outline:0}.category-tabs{scrollbar-width:thin}.tab-btn{border-radius:999px;min-height:42px}.catalog-message{display:grid;place-items:center;min-height:180px;text-align:center;color:var(--text-muted)}.catalog-message i{font-size:2.5rem}.spinner{width:34px;height:34px;border:3px solid #444;border-top-color:var(--primary);border-radius:50%;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}
.featured-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.featured-grid .product-card:nth-child(n+7){display:none}.product-card{border-color:var(--border-color);box-shadow:0 16px 30px rgba(0,0,0,.11)}.product-card:hover{border-color:var(--primary);transform:translateY(-3px)}.product-category{text-transform:capitalize}.product-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.7em}.add-btn{width:100%;font-size:.86rem}.card-info{gap:8px}
.split-feature{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);align-items:center;gap:clamp(38px,8vw,110px)}.split-feature.reverse{grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr)}.split-feature.reverse .feature-copy{grid-column:2}.split-feature.reverse .b2b-list{grid-row:1;grid-column:1}.feature-copy p{max-width:650px;color:var(--text-muted);line-height:1.75}.feature-mark{display:flex;flex-direction:column;justify-content:center;min-height:300px;padding:38px;border:1px solid #383838;border-radius:18px;background:#111;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,87,34,.05)}.feature-mark i{margin-bottom:28px;color:var(--primary);font-size:3.4rem}.feature-mark span{font-family:"Oswald",sans-serif;font-size:1.7rem;text-transform:uppercase}.feature-mark strong{margin-top:8px;color:#bbb}.dark-panel{background:#0b0b0b;color:#fff}.feature-columns{display:grid;grid-template-columns:1fr 1fr;gap:1px;padding:0;background:#303030;border:1px solid #303030;border-radius:18px;overflow:hidden}.feature-columns article{padding:clamp(30px,5vw,64px);background:#111}.feature-columns article>i{margin-bottom:30px;color:var(--primary);font-size:2rem}.feature-columns p:not(.eyebrow){color:#bdbdbd;line-height:1.75}.b2b-list{display:grid;gap:10px}.b2b-list span{display:flex;align-items:center;gap:12px;padding:16px 18px;background:var(--bg-card);border:1px solid var(--border-color);border-radius:10px;font-weight:700}.b2b-list i{color:var(--primary)}.event-callout{padding:46px 0;background:var(--primary);color:#111}.event-callout .container{display:flex;align-items:center;justify-content:space-between;gap:30px}.event-callout .eyebrow{color:#111}.event-callout h2{margin-bottom:6px}.event-callout p{margin:0}.event-callout .btn-outline{border-color:#111;color:#111}.event-callout .btn-outline:hover{background:#111;color:#fff}.location-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:40px;padding:clamp(30px,6vw,70px);background:var(--bg-card);border:1px solid var(--border-color);border-radius:20px}.location-card address{font-style:normal;font-size:1.12rem;line-height:1.65}.location-card>div>p:not(.eyebrow){color:var(--text-muted);line-height:1.65}.location-icon{display:grid;place-items:center;width:190px;aspect-ratio:1;border-radius:50%;background:#111;color:var(--primary);font-size:4rem}
.main-footer{padding-top:58px}.footer-grid{grid-template-columns:1.25fr 1fr .85fr .9fr}.footer-col h2{margin-bottom:16px;color:#fff;font-size:1rem;text-transform:uppercase;letter-spacing:.08em}.footer-col address,.footer-col p{color:#aaa;font-style:normal;line-height:1.7}.footer-col a{color:#ddd;text-decoration:none}.footer-col a:hover{color:var(--primary)}.footer-links li{margin-bottom:9px}.footer-bottom{margin-top:38px}.mobile-action-bar{display:none}.reviews-placeholder{padding:18px 0;text-align:center;background:var(--bg-card)}
.cart-sidebar{display:flex;flex-direction:column}.cart-sidebar-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:15px;border-bottom:1px solid var(--border-color)}.cart-sidebar-head h2{font-size:1.35rem}.cart-items{flex:1;overflow-y:auto;margin:18px 0;padding-right:2px}.cart-sidebar-foot{padding-top:18px;border-top:1px solid var(--border-color)}.cart-sidebar-foot .btn-primary{width:100%}.cart-action-btn{min-height:42px}.cart-action-btn.danger{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#ffb5b5;background:transparent;border-color:#6c3434}.cart-action-btn.danger::before{content:"\f2ed";font:900 .85rem/1 "Font Awesome 6 Free"}.cart-action-btn.danger:hover{color:#fff;background:#7b2929;border-color:#9f4040}.dialog-close{min-width:42px;min-height:42px;border-radius:50%}.quantity-type-options label{position:relative;border-radius:9px}.quantity-type-options input{appearance:none;width:19px;height:19px;margin:0;border:2px solid #777;border-radius:50%;display:inline-grid;place-content:center}.quantity-type-options input::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--primary);transform:scale(0)}.quantity-type-options input:checked{border-color:var(--primary)}.quantity-type-options input:checked::before{transform:scale(1)}
.checkout-choice input[type="radio"],.consent-row input[type="checkbox"],.check input[type="checkbox"]{accent-color:var(--primary)}.consent-row{align-items:flex-start;padding:12px;border:1px solid var(--border-color);border-radius:9px;background:var(--bg-card)}
@media(max-width:1000px){.trust-grid{grid-template-columns:repeat(3,1fr)}.trust-grid div:nth-child(3){border-right:0}.visual-categories{grid-template-columns:repeat(3,1fr)}.featured-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:768px){body{padding-bottom:72px}.home-hero{min-height:760px;padding-top:68px}.home-hero .hero-overlay{background:linear-gradient(180deg,rgba(0,0,0,.68),rgba(0,0,0,.84))}.hero-content{padding-block:56px}.hero-actions{align-items:stretch}.hero-actions .btn-primary,.hero-actions .btn-outline{flex:1 1 145px}.hero-actions .btn-text{flex-basis:100%;justify-content:flex-start;padding-left:0}.trust-grid{grid-template-columns:repeat(2,1fr)}.trust-grid div{border-right:1px solid #2e2e2e;border-bottom:1px solid #2e2e2e}.trust-grid div:nth-child(even){border-right:0}.trust-grid div:last-child{grid-column:1/-1;border-bottom:0}.section-heading{align-items:start}.visual-categories{grid-template-columns:repeat(2,1fr)}.visual-categories a{min-height:125px}.featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.split-feature,.split-feature.reverse{grid-template-columns:1fr;gap:30px}.split-feature.reverse .feature-copy,.split-feature.reverse .b2b-list{grid-column:1;grid-row:auto}.feature-mark{min-height:230px}.feature-columns{grid-template-columns:1fr}.event-callout .container{align-items:flex-start;flex-direction:column}.location-card{grid-template-columns:1fr}.location-icon{display:none}.footer-grid{grid-template-columns:1fr 1fr}.mobile-action-bar{position:fixed;z-index:850;left:0;right:0;bottom:0;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:9px max(12px,env(safe-area-inset-left)) calc(9px + env(safe-area-inset-bottom));background:rgba(8,8,8,.97);border-top:1px solid #333}.mobile-action-bar a{min-height:48px;padding:9px;font-size:.78rem}.whatsapp-float{display:none}.quote-open .mobile-action-bar{transform:translateY(110%);pointer-events:none}.cart-sidebar{bottom:0;height:100dvh}.footer-bottom{padding-bottom:8px}}
@media(max-width:430px){.container{width:min(100% - 28px,1180px)}.hero-content h1{font-size:2.65rem}.hero-lead{font-size:.98rem}.hero-actions .btn-primary,.hero-actions .btn-outline{flex-basis:100%}.trust-grid div{padding:14px 12px}.visual-categories{grid-template-columns:1fr 1fr;gap:9px}.visual-categories a{min-height:112px;padding:15px}.visual-categories span{font-size:.96rem}.featured-grid{grid-template-columns:1fr}.section-heading{flex-direction:column}.feature-columns article{padding:30px 22px}.location-card{padding:28px 22px}.footer-grid{grid-template-columns:1fr}.footer-col{padding-bottom:14px}.actions-row>*{width:100%}.event-callout .btn-outline{width:100%}.cart-item-actions{display:grid;grid-template-columns:1fr 1fr}.cart-action-btn{min-width:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.hero-bg.desktop-only{display:none!important}.hero-bg.mobile-only{display:block!important}}
.page-hero{padding:clamp(150px,18vw,220px) 0 clamp(70px,9vw,115px);color:#fff;background:radial-gradient(circle at 80% 20%,rgba(255,87,34,.18),transparent 34%),#0b0b0b}.page-hero.compact{padding-bottom:75px}.page-hero h1{max-width:820px;margin:0 0 18px;font-size:clamp(2.6rem,6vw,5rem);line-height:1}.page-hero>div>p:last-child{max-width:720px;color:#c8c8c8;font-size:1.08rem;line-height:1.7}.contact-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(390px,1.1fr);gap:28px}.contact-cards{display:grid;gap:12px}.contact-card{display:grid;grid-template-columns:42px 1fr;gap:15px;padding:22px;background:var(--bg-card);border:1px solid var(--border-color);border-radius:13px}.contact-card>i{color:var(--primary);font-size:1.35rem}.contact-card h2{margin:0 0 8px;font-size:1.12rem}.contact-card p,.contact-card address{margin:0 0 8px;color:var(--text-muted);font-style:normal;line-height:1.6}.contact-card a{color:var(--text-main)}.muted-copy{font-size:.87rem}.polished-map{min-height:640px;border:1px solid var(--border-color);border-radius:16px;overflow:hidden}.polished-map iframe{display:block;width:100%;height:100%}
@media(max-width:850px){.contact-layout{grid-template-columns:1fr}.polished-map{min-height:430px}}
@media(max-width:430px){.page-hero{padding-top:125px}.contact-card{padding:18px}.polished-map{min-height:360px}}
.delivery-option{position:relative;cursor:pointer}.delivery-option input{appearance:none;display:grid;place-content:center;flex:0 0 20px;width:20px;height:20px;border:2px solid #777;border-radius:50%}.delivery-option input::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--primary);transform:scale(0)}.delivery-option input:checked{border-color:var(--primary)}.delivery-option input:checked::before{transform:scale(1)}.delivery-option:has(input:checked){border-color:var(--primary);background:rgba(255,87,34,.08)}.delivery-option:has(input:focus-visible){outline:3px solid rgba(255,87,34,.35);outline-offset:2px}.custom-check{position:relative;display:flex!important;align-items:flex-start!important;gap:10px;cursor:pointer}.custom-check input{appearance:none;display:grid;place-content:center;flex:0 0 20px;width:20px!important;height:20px!important;margin-top:1px;border:2px solid #777;border-radius:6px;background:var(--bg-card)}.custom-check input::before{content:"✓";color:#111;font-weight:900;transform:scale(0)}.custom-check input:checked{border-color:var(--primary);background:var(--primary)}.custom-check input:checked::before{transform:scale(1)}.custom-check input:focus-visible{outline:3px solid rgba(255,87,34,.35);outline-offset:2px}.custom-check a{color:var(--primary)}.checkout-item-actions button{min-height:40px;padding:7px 11px;color:var(--text-main);background:var(--bg-card);border:1px solid var(--border-color);border-radius:8px;font-weight:700;cursor:pointer}.checkout-item-actions button:hover{border-color:var(--primary)}.checkout-item-actions .danger{color:#ffb5b5;border-color:#6c3434}.checkout-item-actions .danger:hover{color:#fff;background:#7b2929}.btn-pagar{border-radius:9px;background:var(--primary)!important;color:#111!important}.btn-pagar:hover:not(:disabled){background:#ff7043!important}.btn-pagar:focus-visible{outline:3px solid rgba(255,87,34,.45);outline-offset:3px}
.legal-copy{max-width:780px}.legal-copy h2{margin:36px 0 9px;font-size:1.45rem}.legal-copy p{color:var(--text-muted);line-height:1.75}.legal-copy a:not(.btn-primary){color:var(--primary)}
.not-found{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px;text-align:center;background:radial-gradient(circle at 50% 25%,rgba(255,87,34,.16),transparent 30%),#080808;color:#fff}.not-found img{object-fit:contain}.not-found h1{margin:8px 0 12px;font-size:clamp(2.4rem,7vw,5rem)}.not-found>p:not(.eyebrow){max-width:500px;color:#bbb}.not-found .btn-outline{color:#fff}
.product-page{width:min(1100px,calc(100% - 40px));margin:auto;padding:36px 0 80px}.breadcrumbs{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:28px;color:var(--text-muted)}.breadcrumbs a{color:var(--primary)}.product-detail{display:grid;grid-template-columns:minmax(300px,1fr) minmax(0,1fr);gap:44px}.product-detail>img{width:100%;aspect-ratio:800/520;object-fit:cover;border-radius:16px;background:#eee}.product-detail h1{font-size:clamp(2.3rem,5vw,4.5rem)}.product-detail p{line-height:1.7}.product-detail li{margin-bottom:7px}.product-page>.location-card{margin-top:60px}@media(max-width:720px){.product-detail{grid-template-columns:1fr}.product-page{width:min(100% - 28px,1100px)}}
.hamburger{display:none}@media(max-width:768px){.hamburger{display:inline-flex}.home-hero .hero-actions .btn-text{display:none}}

/* Lighthouse: contraste, proporciones y carga visual móvil */
.tab-btn.active{color:#111}
.footer-logo{width:80px!important;height:80px!important;object-fit:contain}
.home-hero{background:radial-gradient(circle at 82% 22%,rgba(255,87,34,.2),transparent 36%),#080808}

/* Contraste estable en superficies que permanecen oscuras en ambos temas */
.navbar {
    background: var(--header-bg);
    color: var(--header-text);
    border-bottom-color: var(--header-border);
}

.nav-menu a,
.mobile-menu a {
    color: var(--header-text);
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a[aria-current="page"],
.mobile-menu a:hover,
.mobile-menu a:focus-visible,
.mobile-menu a[aria-current="page"] {
    color: var(--header-active);
}

.nav-menu a:focus-visible,
.mobile-menu a:focus-visible,
.navbar .btn-outline:focus-visible,
.main-footer a:focus-visible,
.mobile-action-bar a:focus-visible {
    outline: 3px solid rgba(255, 87, 34, 0.58);
    outline-offset: 3px;
}

.theme-toggle,
.cart-trigger,
.hamburger {
    color: var(--header-text);
    background: var(--header-control-bg);
    border-color: var(--header-border);
}

.theme-toggle:hover,
.theme-toggle:focus-visible,
.cart-trigger:hover,
.cart-trigger:focus-visible,
.hamburger:hover,
.hamburger:focus-visible {
    color: var(--header-active);
    border-color: var(--header-active);
}

.navbar .btn-outline {
    color: var(--header-text);
}

.navbar .btn-outline:hover,
.navbar .btn-outline:focus-visible {
    color: var(--header-active);
}

.mobile-menu {
    background: var(--header-bg);
    border-top-color: var(--header-border);
}

.mobile-menu a {
    border-bottom-color: var(--header-border);
}

.main-footer {
    background: var(--footer-bg);
    color: var(--footer-text-muted);
}

.main-footer .footer-col h2,
.main-footer .footer-col h3 {
    color: var(--footer-text);
}

.main-footer .footer-col address,
.main-footer .footer-col p {
    color: var(--footer-text-muted);
}

.main-footer .footer-col a,
.main-footer .social-links a {
    color: var(--footer-text);
}

.main-footer .footer-col a:hover,
.main-footer .footer-col a:focus-visible {
    color: var(--header-active);
}

.footer-bottom {
    background: var(--footer-bottom-bg);
    color: var(--footer-text-muted);
    border-top-color: var(--footer-border);
}

@media (max-width: 768px) {
    .mobile-action-bar {
        background: var(--header-bg);
        border-top-color: var(--header-border);
    }

    .mobile-action-bar .btn-outline {
        color: var(--header-text);
    }

    .mobile-action-bar .btn-outline:hover,
    .mobile-action-bar .btn-outline:focus-visible {
        color: var(--header-active);
    }
}

/* Pulido V1: ajustes visuales acotados */
.catalog-message {
    align-content: center;
    gap: 12px;
}

[data-theme="light"] .cart-action-btn.danger,
[data-theme="light"] .checkout-item-actions .danger {
    color: #a6232b;
    border-color: #b84a50;
}

@media (max-width: 768px) {
    #no-results {
        margin-bottom: -44px;
        transform: translateY(-44px);
    }
}

@media (max-width: 420px) {
    .add-btn {
        padding-inline: 10px;
        font-size: 0.75rem;
        letter-spacing: 0;
        white-space: nowrap;
    }
}

@media (max-width: 380px) {
    .home-hero {
        min-height: 720px;
    }

    .home-hero .hero-content {
        padding-block: 44px;
    }

    .home-hero .hero-actions {
        margin-top: 22px;
    }
}
