/* =========================================
   ESTILOS BASE Y VARIABLES
   ========================================= */
:root {
    --bg-color: #fcf8f4;
    --primary: #9b3f45;
    --secondary: #b85c63;
    --whatsapp: #25d366;
    --dark: #4a2325;
    --text: #4b5563;
    --font-family: system-ui, -apple-system, sans-serif;
    --muebles-primary: #df9b5c; 
    --muebles-highlight: #b37e65; 
    --muebles-bg-light: #faf7f2;
    --border-color: #f2c6ec;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-color);
    font-family: var(--font-family);
    color: var(--text);
}

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

img,
video,
iframe {
    max-width: 100%;
}

button,
input,
select,
textarea {
    max-width: 100%;
}

h1, h2, h3, h4, p, a {
    overflow-wrap: break-word;
}

.container {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}



/* =========================================
   NAVEGACIÓN (NAVBAR)
   ========================================= */
.navbar {
    width: 100%;
    min-height: 75px;
    padding: 18px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background-color: #FDF9F1;
    position: relative;
}

.logo {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 700;
    color: #dc2997;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-left: 40px;
    gap: 30px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #4A4A4A;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #bf3535;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-actions a {
    text-decoration: none;
}

.menu-toggle, 
.close-menu, 
.menu-overlay {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* --- Estilo para el botón de Acceso Admin en el Navbar --- */
.admin-login {
    background-color: var(--dark, #4a2325);
    color: white !important;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.admin-login:hover {
    background-color: var(--muebles-primary, #df9b5c);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    color: white !important;
}

/* --- ESTILOS INTERNOS DEL MODAL DE LOGIN --- */
.login-modal-content {
    background: white;
    width: 90%;
    max-width: 400px;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 25px;
}

.login-icon {
    font-size: 2.5rem;
    color: var(--muebles-primary, #df9b5c);
    margin-bottom: 12px;
}

.login-header h2 {
    color: var(--dark, #4a2325);
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.login-header p {
    color: #666;
    font-size: 0.9rem;
}

.close-login {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: #888;
    cursor: pointer;
    transition: color 0.3s;
}

.close-login:hover {
    color: var(--dark, #4a2325);
}

/* Campos del formulario */
.login-modal-content .form-group {
    margin-bottom: 18px;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.login-modal-content label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark, #4a2325);
    margin-bottom: 6px;
}

.login-modal-content input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e0d8;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    background-color: #faf9f6;
    transition: border-color 0.3s, background-color 0.3s;
}

.login-modal-content input:focus {
    border-color: var(--muebles-primary, #df9b5c);
    background-color: #fff;
}

/* Botón de Iniciar Sesión */
.btn-submit-login {
    width: 100%;
    background: var(--dark, #4a2325);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background 0.3s, transform 0.2s;
}

.btn-submit-login:hover {
    background: var(--muebles-primary, #df9b5c);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}
.btn-whatsapp:hover { background-color: #1ebc5a; }


/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 48px;
    padding: clamp(40px, 6vw, 90px) 20px;
}

.hero-text { 
    flex: 1; 
    min-width: 0;
}

.badge {
    background-color: #ffedd5;
    color: #9a3412;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    color: var(--dark);
    line-height: 1.05;
    margin-bottom: 16px;
}

.tag {
    background-color: var(--dark);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.125rem;
    margin: 24px 0;
    max-width: 600px;
}

.hero p strong { color: var(--primary); }

.rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.stars { color: var(--primary); }

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}


.btn-primary:hover { background-color: var(--primary); }

.btn-outline {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-outline:hover {
    background-color: var(--secondary);
    color: white;
}

.hero-image {
    flex: 1.5;
    position: relative;
    min-width: 0;
}

.image-wrapper {
    width: min(80vw, 500px);
    height: min(80vw, 500px);
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    right: 170px;
    top: 20px;
    background-color: var(--secondary);
    color: white;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.65rem;
    font-weight: bold;
    transform: rotate(12deg);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}


/* =========================================
   STATS BAR (BANNER)
   ========================================= */
.stats-bar.stripes-bg {
    background: repeating-linear-gradient(
        -45deg,
        #2a1f1a,
        #2a1f1a 40px,
        #362822 40px,
        #362822 80px
    );
    padding: 44px 20px;
    margin-top: 48px;
    width: 100%;
}

.stats-grid {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.stat-card {
    background-color: #ffffff;
    padding: 20px 10px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.stat-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.icon-collections { background-color: #fce7f3; color: #db2777; }
.icon-rating { background-color: #fef3c7; color: #d97706; }
.icon-delivery { background-color: #d1fae5; color: #059669; }
.icon-warranty { background-color: #e0e7ff; color: #4f46e5; }

.stat-card h3 {
    font-size: 2.2rem; /* Corregido espacio inválido */
    color: var(--dark, #2a1f1a);
    margin-bottom: 6px;
    font-weight: 900;
}

.stat-card p {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* =========================================
   PRODUCTS / CATÁLOGO (Contenedor con Profundidad y Tarjetas Elevadas)
   ========================================= */
.products { 
    width: 100%;
    padding: 80px 20px; 
    background-color: #fff0f3; /* Fondo general de la página en rosa pastel muy suave */
}

/* Gran recuadro contenedor principal con efecto de profundidad e inmersión */
.products-container-wrapper {
    max-width: 1350px;
    margin: 0 auto;
    background: #ffffff; /* Fondo blanco puro para contraste limpio */
    border-radius: 32px;
    padding: 50px 40px;
    box-shadow: 0 20px 45px rgba(115, 60, 80, 0.12), 
                0 5px 15px rgba(0, 0, 0, 0.03); /* Efecto de profundidad superior */
    
    border: 2px solid #ffccd5;
}

.subtitulo-catalogo { 
    text-align: center;
    color: #d22714; /* Tono marrón formal elegante */
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin-top: 0; /* Al estar dentro del contenedor ya no necesita margen superior alto */
    margin-bottom: 40px;
    width: 100%;     
    display: block;   
}

.products-grid {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    justify-content: center;
    /* Se adapta automáticamente a varias columnas en pantallas grandes y 1 en móviles */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}



/* 2. Asegura que las tarjetas tengan un ancho fijo que obligue a salir del contenedor */
.product-card {
  flex: 0 0 280px !important; /* Ancho fijo estricto: no se encogen ni se estiran */
  min-width: 280px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.product-card:hover { 
    transform: translateY(-8px); /* Elevación marcada al pasar el cursor */
    box-shadow: 0 20px 35px rgba(115, 60, 80, 0.16); 
}

.product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 16px;
}

.product-card h3 { 
    color: #4a2e2b; /* Marrón formal */
    margin-bottom: 8px; 
    font-size: 1.15rem;
    font-weight: 700;
}

.product-card p { 
    font-size: 0.9rem; 
    color: #7a5c58; /* Marrón grisáceo suave */
    margin-bottom: 20px; 
    line-height: 1.5;
}

.product-footer { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-top: auto; /* Empuja el footer siempre hacia abajo */
}

/* Contenedor del scroll horizontal optimizado para móviles */
.products-grid.scroll-horizontal {
  display: flex !important;
  flex-wrap: nowrap !important; /* ¡Fundamental! Evita que las tarjetas bajuen a la siguiente línea */
  gap: 16px;
  overflow-x: auto !important;
  overflow-y: hidden;
  padding-bottom: 15px;
  width: 100%;
  -webkit-overflow-scrolling: touch; /* Inercia fluida en celulares */
}

/* Ocultar barra de desplazamiento en Chrome/Safari móvil */
.products-grid.scroll-horizontal::-webkit-scrollbar {
  display: none; 
}

/* Cada tarjeta debe tener un ancho adaptado y un punto de ajuste (snap) */
.product-card {
  flex: 0 0 260px; /* Ancho cómodo para pantallas de celulares */
  scroll-snap-align: start; /* Asegura que la tarjeta se alinee al borde al hacer scroll táctil */
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

/* Insignias de atributos (Tipo y Color) */
.product-tags {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.tag-tipo, .tag-color {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.price { 
    color: #d81159; /* Acento rosado/rojizo llamativo para el precio */
    font-weight: bold; 
    font-size: 1.25rem; 
}

.btn-add {
    background: #ff477e; /* Tono rosa pastel fuerte y vibrante */
    color: white;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(255, 71, 126, 0.3);
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-add:hover {
    background: #d81159;
    transform: scale(1.05);
}


/* Contenedor del carrusel de imágenes en la tarjeta del producto */
.product-slider-container {
    position: relative;
    width: 100%;
    height: 220px; 
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #fff0f3;
}

.product-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Ocultar barra de desplazamiento predeterminada */
.product-slider-track::-webkit-scrollbar {
    display: none;
}
.product-slider-track {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.product-slide-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
}

.product-slide-item img, 
.product-slide-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Indicador visual flotante (ej. 1/3) */
.slider-counter-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 3px 9px;
    font-size: 0.75rem;
    border-radius: 12px;
    font-weight: bold;
    pointer-events: none;
}

/* =========================================
   CARRUSEL DE NOVEDADES
   ========================================= */
.promo-carousel {
    width: 100%;
    padding: 0px;
}


.carousel-wrapper {
    position: relative;
    width: 100%;
    border-radius: clamp(20px, 8vw, 120px);
    overflow: visible; 
    box-shadow: 0 30px 40px -10px rgba(221, 214, 214, 0.15);
    max-width: 1000px; 
    margin: 0 auto; 
    height: clamp(300px, 50vw, 520px); 
}

.carousel-track {
    position: relative; 
    display: flex;
    height: 100%;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.8) rotate(-5deg); 
    width: 100%;
    max-width: 1000px;
    height: 100%;
    background: #151414; 
    border-radius: 50px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1) rotate(0deg); 
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    display: block;
}

.slide-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    padding: clamp(20px, 5vw, 40px);
    color: white;
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
}

.slide-badge {
    background: var(--muebles-highlight);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.dark-badge { background: var(--dark); }
.slide-icon { font-size: 3rem; color: var(--muebles-highlight); margin-bottom: 20px; }
.slide-overlay h2 { font-size: clamp(1.4rem, 4vw, 2.5rem); margin-bottom: 16px; max-width: 500px; line-height: 1.2; }
.slide-overlay p { font-size: clamp(0.85rem, 2vw, 1.1rem); margin-bottom: 30px; max-width: 450px; opacity: 0.9; }

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: var(--dark);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    z-index: 10;
}
.carousel-control:hover { background: var(--muebles-highlight); color: white; }
.carousel-control.prev { left: 12px; }
.carousel-control.next { right: 12px; }

.subtitulo-novedades {
    text-align: center;
    width: 100%; 
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 2.3rem;
    color:#d45718;
     margin-top: 80px;
   margin-bottom: 20px;
}


/* =========================================
   SOPORTE Y FAQ (Estilo Tarjeta Blanca con Tonos Marrones Formales)
   ========================================= */
.support-faq-section {
    width: 100%;
    padding: 80px 40px;
    background-color: #28e2a4; /* Fondo pastel rosado suave de la página para que la tarjeta resalte */
}

/* Gran tarjeta contenedora principal en blanco con bordes redondeados */
.support-grid {
    width: 100%;
    max-width: 1300px;
    background: #1d7e58;
    border-radius: 32px;
    padding: clamp(30px, 5vw, 60px);
    box-shadow: 0 15px 40px rgba(115, 60, 80, 0.08);
    border: 2px solid #fbe6ed;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin: 0 auto;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e49b7ef4; /* Tono marrón formal cálido */
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.contact-column h2, .faq-column h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: #f28175; /* Marrón oscuro muy formal y elegante para títulos */
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight { color: #d8805d; /* Marrón terracota suave para resaltar */ }

.support-desc {
    font-size: 1.05rem;
    color: #f6b5ad; /* Marrón grisáceo suave para descripciones */
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    background: #fffdfd;
    border: 1px solid #f2dede;
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-card:hover {
    border-color: #e99b7d;
    box-shadow: 0 10px 20px rgba(140, 88, 67, 0.1);
    transform: translateY(-2px);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.default-icon { background: #fdf5f2; color: #c33700; }
.whatsapp-icon { background: #a1fbbf; color: var(--whatsapp); }

.card-info { min-width: 0; }
.card-info h4 { font-size: 1.1rem; color: #4a2e2b; margin-bottom: 4px; overflow-wrap: anywhere; }
.card-info p { font-size: 0.85rem; color: #8c7370; margin: 0; overflow-wrap: anywhere; }

.arrow-icon {
    margin-left: auto;
    color: #d1b5af;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.contact-card:hover .arrow-icon { color: #8c5843; }

.accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    background: #ffffff;
    border: 1px solid #f2dede;
    border-radius: 12px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: #4a2e2b; /* Marrón formal para las preguntas */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.accordion-header:hover { background: #fffaf9; }
.accordion-header i { color: #ea7040; transition: transform 0.3s ease; }
.accordion-item.active .accordion-header i { transform: rotate(90deg); }

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #ffffff;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 0 20px 20px 20px;
}

.accordion-content p { font-size: 0.95rem; color: #7a5c58; line-height: 1.6; margin: 0; }

/* =========================================
   VALORES Y GARANTÍAS (Tarjetas Horizontales Grandes con Sombra)
   ========================================= */
.value-props {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    /* Se distribuyen horizontalmente en 3 columnas iguales */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

/* Tarjeta individual grande y llamativa */
.prop-item {
    background: #ffffff;
    border: 2px solid #ffccd5; /* Borde rosado pastel suave */
    border-radius: 20px;
    padding: 35px 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 12px 30px rgba(115, 60, 80, 0.08); /* Sombra elegante */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prop-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(115, 60, 80, 0.15);
    border-color: #ff70a6;
}

/* Iconos más grandes y con fondo pastel llamativo */
.prop-item i {
    font-size: 2.5rem;
    color: #ff477e; /* Tono rosa vibrante */
    background: #fff0f3; /* Fondo circular o cuadrado suave para el icono */
    width: 75px;
    height: 75px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(255, 71, 126, 0.15);
}

/* Textos internos con tipografía formal y limpia */
.prop-item div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.prop-item h4 {
    font-size: 1.2rem;
    color: #4a2e2b; /* Marrón oscuro formal */
    margin: 0;
    font-weight: 700;
}

.prop-item p {
    font-size: 0.95rem;
    color: #7a5c58; /* Marrón grisáceo suave */
    margin: 0;
    line-height: 1.5;
}

/* Adaptabilidad para celulares (se acomodan en vertical automáticamente si la pantalla es pequeña) */
@media (max-width: 900px) {
    .value-props {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }
}



/* =========================================
   TESTIMONIOS (Temática Rosada Pastel - Intensa y Definida)
   ========================================= */
.testimonials-section {
    width: 100%;
    /* Margen y padding amplios para separarlo por completo de lo anterior */
    padding: 80px 20px;
    background-color: #ffe3ed; /* Fondo general más notorio y vivo */
}

/* Tarjeta contenedora principal con un rosa pastel profundo, fuerte y elegante */
.testimonials-main-card {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffb3c6, #ff8fab); /* Degradado pastel fuerte y muy vistoso */
    padding: 60px 30px;
    border-radius: 32px;
    box-shadow: 0 20px 45px rgba(255, 111, 145, 0.35);
    border: 3px solid #ff70a6;
}

/* Título con un contraste fuerte sobre el fondo rosado intenso */
.testimonials-main-card h2, 
.testimonials-section h2 {
    color: #3b1423; /* Tono ciruela muy oscuro para máxima claridad */
    text-align: center;
    margin-bottom: 45px;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.testimonials-grid {
    width: 100%;
    display: flex;
    overflow-x: auto;
    justify-content: center;
    gap: 30px;
    padding: 10px 5px 30px 5px; 
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; 
}

.testimonials-grid::-webkit-scrollbar { height: 10px; }
.testimonials-grid::-webkit-scrollbar-thumb { background-color: #d81159; border-radius: 10px; }

/* Tarjetas individuales grandes y limpias */
.testimonial-card {
    flex: 0 0 min(380px, 90vw);
    min-width: 0;
    scroll-snap-align: start; 
    background: #ffffff;
    padding: 65px 55px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(70, 20, 40, 0.15);
    border: 2px solid #ffccd5; 
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;  
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(70, 20, 40, 0.25);
}

.profile-top {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 37px; 
    border: 4px solid #ff477e; /* Acento rosa fuerte */
    box-shadow: 0 5px 15px rgba(255, 71, 126, 0.25);
}

.testimonial-card .stars { 
    color: #ffb703; 
    margin-bottom: 16px; 
    font-size: 1.1rem; 
}

.testimonial-card p { 
    color: #5c3a46; 
    font-size: 1.05rem; 
    line-height: 1.7; 
    margin-bottom: 40px; 
    font-style: italic; 
}

.customer-info { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    margin-top: auto; 
}

.customer-info h4 { 
    color: #3b1423; 
    margin: 0; 
    font-size: 1.1rem; 
    font-weight: 700;
}

.customer-info span { 
    color: #d81159; 
    font-size: 0.85rem; 
    font-weight: 700;
}




/* =========================================
   GARANTÍAS Y PROPS (Tonos pasteles notorios y separados)
   ========================================= */
.guarantees-section {
    width: 100%;
    /* Gran espacio superior e inferior para despegarlo completamente de los testimonios */
    padding: 80px 20px;
    background-color: #f7e1d7; /* Fondo general de sección en un tono pastel cálido y contrastante */
}

.guarantees-grid {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.guarantee-box {
    width: 100%;
    padding: clamp(30px, 5vw, 45px);
    border-radius: 24px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* Tonos pasteles más fuertes, vivos y notorios */
.box-light { 
    background: #f5b974; /* Tono menta/pastel suave pero profundo y notorio */
    border: 2px solid #bce1d8; 
}

.box-dark { 
    background: #ff85b4; /* Rosa pastel fuerte, vibrante y muy destacado */
    color: #ffffff; 
    border: 2px solid #ff477e;
}

.box-icon {
    width: 55px; height: 55px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.box-light .box-icon { background: #aa4b26; color: white; }
.box-dark .box-icon { background: rgba(255, 255, 255, 0.25); color: white; }

.box-subtitle { 
    font-size: 0.85rem; 
    font-weight: 800; 
    letter-spacing: 1.2px; 
    display: block; 
    margin-bottom: 10px; 
    text-transform: uppercase;
}

.features-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.feature-pill {
    background: #ffffff;
    border: 2px solid #ffd1dc;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.08);
    transition: transform 0.2s ease;
}

.feature-pill:hover {
    transform: translateY(-4px);
}

.text-icon { font-size: 2rem; color: #ff477e; }
.feature-pill span { font-size: 0.9rem; font-weight: 700; color: #4a2e3a; }

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
    width: 100%;
    background: linear-gradient(135deg, var(--muebles-highlight) 0%, var(--muebles-primary) 100%);
    padding: clamp(50px, 8vw, 80px) 20px;
    color: rgb(255, 217, 217);
    text-align: center;
}

.cta-icon {
    width: 60px; height: 60px; background: rgba(255,255,255,0.2);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto 20px auto;
}
.cta-banner h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin-bottom: 16px; }
.cta-banner h2 span { color: #fe67db; }
.cta-banner p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-buttons {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.btn-whatsapp-solid {
    background: white; color: var(--muebles-primary); padding: 14px 32px;
    border-radius: 50px; font-weight: bold; text-decoration: none;
    display: flex; align-items: center; gap: 8px; transition: transform 0.3s;
}
.btn-whatsapp-solid:hover { transform: translateY(-2px); }
.btn-outline-white {
    background: transparent; border: 2px solid white; color: white;
    padding: 12px 32px; border-radius: 50px; font-weight: bold;
    text-decoration: none; transition: all 0.3s;
}
.btn-outline-white:hover { background: white; color: var(--muebles-primary); }


/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    width: 100%;
    background: #933603; 
    color: #d1c7bd;
    padding: 60px 20px 30px 20px;
}
.footer-top {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 20px; border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 30px; margin-bottom: 30px;
}
.footer-logo { font-size: 1.5rem; font-weight: bold; color: white; }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
    width: 40px; height: 40px; background: rgba(255,255,255,0.05);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: white; text-decoration: none; transition: background 0.3s;
}
.footer-socials a:hover { background: var(--muebles-highlight); }
.footer-bottom {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 20px; font-size: 0.85rem;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: #e9e5e0; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: white; }


/* =========================================
   CHAT WIDGET & BOTÓN FLOTANTE
   ========================================= */
.chat-widget {
    position: fixed;
    bottom: 90px; 
    right: 20px;
    width: 350px;
    max-width: calc(100vw - 30px); 
    background: rgb(151, 49, 49);
    border-radius: 15px;
    box-shadow: 0 5px 25px rgb(209, 104, 167);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.chat-widget.hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }
.chat-header {
    background: var(--secondary); color: white; padding: 16px;
    display: flex; align-items: center; gap: 12px; border-radius: 15px 15px 0 0;
}
.chat-header .avatar {
    background: white; color: var(--primary); width: 40px; height: 40px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.status-dot { display: inline-block; width: 8px; height: 8px; background: #4ade80; border-radius: 50%; }
.close-chat { margin-left: auto; background: none; border: none; color: white; cursor: pointer; }
.chat-body { background: #f9fafb; height: 250px; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.bot-message { background: white; padding: 12px; border-radius: 12px; border-top-left-radius: 0; font-size: 0.875rem; width: 90%; }
.user-message { background: var(--primary); color: white; padding: 12px; border-radius: 12px; border-top-right-radius: 0; font-size: 0.875rem; align-self: flex-end; max-width: 90%; }
.time { display: block; text-align: right; font-size: 0.65rem; color: #9ca3af; margin-top: 4px; }
.quick-replies { display: flex; gap: 8px; flex-wrap: wrap; }
.reply-btn {
    border: 1px solid var(--secondary); color: var(--secondary); background: transparent;
    padding: 6px 12px; border-radius: 50px; font-size: 0.75rem; cursor: pointer; transition: all 0.2s;
}
.reply-btn:hover { background: var(--secondary); color: white; }
.chat-footer { padding: 12px; border-top: 1px solid #f3f4f6; display: flex; gap: 8px; }
.chat-footer input { flex: 1; background: #f3f4f6; border: none; border-radius: 50px; padding: 10px 16px; outline: none; }
.send-btn { background: var(--primary); color: white; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }

.chat-toggle {
    position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px;
    background-color: #d3106e; color: white; border-radius: 50%; border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); font-size: 24px; cursor: pointer;
    z-index: 1000; display: none; align-items: center; justify-content: center; transition: transform 0.3s ease;
}
.chat-toggle.visible { display: flex; }
.chat-toggle:hover { transform: scale(1.1); }



/* --- MODAL DE COTIZACIÓN A MEDIDA (IMAGEN DESDE CSS Y FORMULARIO ABAJO) --- */

.quote-modal-content {
    background: #0f3d2e; /* Fondo verde principal del modal */
    width: 100%;
    max-width: 650px; 
    border-radius: 24px;
    display: flex;
    flex-direction: column; /* Imagen arriba, formulario abajo */
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.4s ease;
    max-height: 90vh; 
    overflow-y: auto; 
}

.modal-overlay.active .quote-modal-content {
    transform: translateY(0);
}

/* Columna de Imagen (Banner Superior controlado desde CSS) */
.modal-image {
    width: 100%;
    min-height: 220px; 
    background-image: linear-gradient(rgba(15, 61, 46, 0.6), rgba(15, 61, 46, 0.85)), url('/assets/producto1.jpeg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    
    position: relative;
    display: flex;
    align-items: center; 
    justify-content: center; 
    padding: 30px;
    text-align: center;
}

.modal-image-text {
    position: relative;
    color: #ffffff;
    z-index: 2;
}

.modal-image-text h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.modal-image-text p {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Columna Formulario (Parte Inferior) */
.modal-form-container {
    width: 100%;
    padding: 35px 40px;
    position: relative;
    background-color: #0f3d2e; /* Verde elegante principal */
    color: #ffffff;
}

/* Botón de cierre en blanco */
.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    font-size: 1.2rem;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s, transform 0.3s;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Título llamativo del formulario */
.modal-form-container h2 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Campos del Formulario: Tarjetas/Inputs blancos */
.form-group {
    margin-bottom: 16px;
    width: 100%;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2f0ea; 
    margin-bottom: 6px;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    background-color: #ffffff; 
    color: #2c3e50;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus {
    border-color: #a3e4d7;
    box-shadow: 0 0 0 3px rgba(163, 228, 215, 0.25);
}

/* Botón de envío llamativo en contraste */
.btn-submit-quote {
    width: 100%;
    background: #27ae60; 
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    transition: background 0.3s, transform 0.2s;
}

.btn-submit-quote:hover {
    background: #219653;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.6);
}

/* Responsividad para Celulares */
@media (max-width: 768px) {
    .quote-modal-content {
        width: 92%;
        max-height: 92vh;
    }
    .modal-image {
        min-height: 160px;
        padding: 20px;
    }
    .modal-image-text h3 {
        font-size: 1.4rem;
    }
    .modal-form-container {
        padding: 25px 20px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* =========================================
   MAPA DE UBICACIÓN
   ========================================= */
.map-container-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column; 
    gap: 30px;
}
.mapa-tienda {
    width: 100%; 
    height: 550px; 
    border-radius: 20px;
    background-color: #e0e6ed;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1); 
}
.map-info-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;  
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e0e6ed;
}
.map-info-card h3 { margin-bottom: 15px; color: #2c3e50; font-size: 1.5rem; }
.map-info-card p { margin-bottom: 10px; font-size: 1rem; color: #34495e; }
.map-info-card .btn-primary { max-width: 300px; width: 100%; margin-top: 15px; }


/* =========================================
   MODALES Y ALERTAS
   ========================================= */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(8px);
    display: none; justify-content: center; align-items: center;
    z-index: 9999; opacity: 0; transition: opacity 0.3s ease; padding: 15px;
}
.modal-overlay.active { display: flex; opacity: 1; }
.quote-modal-content {
    background: white; width: 100%; max-width: 900px; max-height: 92vh;
    border-radius: 20px; display: flex; overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3); transform: translateY(20px); transition: transform 0.4s ease;
}
.modal-overlay.active .quote-modal-content { transform: translateY(0); }
.login-modal-content {
    background: white; width: 100%; max-width: 400px; max-height: 90vh;
    border-radius: 20px; padding: 40px; position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3); transform: translateY(20px); transition: transform 0.4s ease;
    overflow-y: auto;
}
.modal-overlay.active .login-modal-content { transform: translateY(0); }

#alerta-flotante {
    position: fixed; bottom: 30px; right: 30px; background: #ffffff;
    box-init: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.12); border-radius: 12px;
    padding: 15px 25px 15px 20px; z-index: 9999; border-left: 5px solid #3498db;
    transform: translateY(50px); opacity: 0; visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
#alerta-flotante.mostrar { transform: translateY(0); opacity: 1; visibility: visible; }


/* =========================================
   MEDIA QUERIES (RESPONSIVIDAD FINES)
   ========================================= */

/* --- CELULARES (0 - 767px) --- */
@media (max-width: 767px) {
    .navbar { padding: 15px 18px; min-height: 65px; }
    .logo { font-size: 1.15rem; }

    .nav-menu {
        position: fixed; top: 0; right: -100%; width: min(85vw, 320px);
        height: 100vh; background-color: white; flex-direction: column;
        justify-content: flex-start; align-items: flex-start;
        padding: 80px 22px 30px; margin-left: 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 1001; overflow-y: auto;
    }
    .nav-menu.active { right: 0; }
    .close-menu { display: block; position: absolute; top: 24px; right: 24px; font-size: 1.8rem; color: var(--dark); }
    .menu-toggle { display: block; font-size: 1.8rem; color: var(--dark); z-index: 100; }
    .menu-overlay {
        display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(0,0,0,0.5); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: all 0.4s ease; z-index: 1000;
    }
    .menu-overlay.active { opacity: 1; visibility: visible; }

    .nav-links { flex-direction: column; width: 100%; gap: 18px; margin-bottom: 40px; }
    .nav-actions { flex-direction: column; width: 100%; gap: 12px; }
    .admin-login, .btn-whatsapp { width: 100%; justify-content: center; }

    .hero {
        flex-direction: column-reverse; gap: 35px; padding: 40px 18px; text-align: center;
    }
    .hero-text { width: 100%; }
    .hero h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
    .hero p { font-size: 1rem; margin-left: auto; margin-right: auto; }
    .rating { justify-content: center; flex-wrap: wrap; }
    .hero-buttons { justify-content: center; }
    .hero-buttons .btn-primary, .hero-buttons .btn-outline { width: 100%; max-width: 200px; }
    .hero-image { width: 100%; }
    .image-wrapper { width: min(78vw, 320px); height: min(78vw, 320px); border-width: 6px; }
    .floating-badge { right: 15%; top: 0; width: 70px; height: 70px; font-size: 0.55rem; }

    .stats-bar.stripes-bg { padding: 30px 15px; margin-top: 20px; }
    .stats-grid { grid-template-columns: 1fr; gap: 18px; }
    .stat-card { width: 100%; max-width: 340px; margin: 0 auto; padding: 18px 12px; }
    .stat-icon { width: 50px; height: 50px; font-size: 1.5rem; margin-bottom: 10px; }
    .stat-card h3 { font-size: 1.7rem; }
    .stat-card p { font-size: 0.75rem; }

    .products { padding: 40px 15px; }
    .subtitulo-catalogo { font-size: 1.8rem; margin-bottom: 25px; }
    .products-grid,
  .products-grid.scroll-horizontal {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 16px !important;
    padding-bottom: 15px !important;
    -webkit-overflow-scrolling: touch !important; /* Inercia fluida en iPhone/Android */
    scroll-snap-type: x mandatory !important;      /* Efecto imán suave al deslizar */
  }

  /* Forzar ancho fijo individual para cada tarjeta en pantallas chicas */
  .products-grid .product-card {
    flex: 0 0 260px !important;
    width: 260px !important;
    min-width: 260px !important;
    scroll-snap-align: start !important;
  }

    .product-card { padding: 12px; border-radius: 14px; }
    .product-card img { height: 230px; }

    .chat-widget {
        width: calc(100vw - 30px); right: 15px; bottom: 80px;
        height: min(450px, calc(100vh - 110px)); max-height: calc(100vh - 110px);
    }
    .chat-toggle { right: 15px; bottom: 15px; width: 55px; height: 55px; }

    .support-faq-section { padding: 45px 15px; }
    .support-grid { grid-template-columns: 1fr; gap: 35px; }
    .contact-column h2, .faq-column h2 { font-size: 1.8rem; }
    .support-desc { font-size: 1rem; margin-bottom: 25px; }
    .contact-card { padding: 20px; }

    .testimonials-section { padding: 45px 15px; }
    .testimonial-card { flex: 0 0 85vw; padding: 22px; }

    .guarantees-section { padding: 0 15px 45px; }
    .guarantees-grid { grid-template-columns: 1fr; gap: 18px; }
    .features-row { grid-template-columns: 1fr 1fr; gap: 10px; }

    .cta-banner { padding: 50px 15px; }
    .cta-banner h2 { font-size: 1.8rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn-whatsapp-solid, .btn-outline-white { width: 100%; max-width: 320px; justify-content: center; }

    .site-footer { padding: 40px 15px 20px; }
    .footer-top, .footer-bottom { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; flex-wrap: wrap; gap: 12px; }

    .promo-carousel { padding: 15px; }
    .carousel-wrapper { height: 350px; border-radius: 20px; }
    .carousel-slide { border-radius: 20px; }

    .quote-modal-content { flex-direction: column; max-height: 95vh; overflow-y: auto; border-radius: 15px; }
    .modal-image { min-height: 150px; flex: none; }
    .form-row { flex-direction: column; gap: 0; }

    .map-container-wrapper { width: 100%; margin: 0; gap: 25px; }
    .mapa-tienda { width: 100%; height: 350px; border-radius: 0; }
    .map-info-card { padding: 25px 18px; border-radius: 0; }

    #novedades, #catalogo, #soporte { border-radius: 0; padding-top: 40px; padding-bottom: 40px; }
    #alerta-flotante { left: 15px; right: 15px; bottom: 15px; max-width: none; }
}

/* --- TABLETS (768px - 991px) --- */
@media (min-width: 768px) and (max-width: 991px) {
    .container { padding-left: 35px; padding-right: 35px; }
    .navbar { padding: 20px 30px; }
    .nav-menu { width: 320px; }
    .hero { flex-direction: row; gap: 35px; padding: 60px 35px; }
    .hero h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
    .image-wrapper { width: min(42vw, 400px); height: min(42vw, 400px); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .products { padding: 60px 35px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .support-faq-section { padding: 65px 35px; }
    .support-grid { grid-template-columns: 1fr; gap: 45px; }
    .testimonial-card { flex-basis: 320px; }
    .guarantees-grid { grid-template-columns: 1fr 1fr; }
    .features-row { grid-template-columns: repeat(4, 1fr); }
    .carousel-wrapper { height: 430px; border-radius: 50px; }
    .quote-modal-content { max-width: 850px; max-height: 90vh; }
    .mapa-tienda { height: 500px; }
}

/* --- DESKTOP (992px en adelante) --- */
@media (min-width: 992px) {
    .container { padding-left: 40px; padding-right: 40px; }
    .hero { flex-direction: row; padding: 80px 40px; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .support-grid { grid-template-columns: 1fr 1fr; }
    .guarantees-grid { grid-template-columns: 1fr 1fr; }
    .features-row { grid-template-columns: repeat(4, 1fr); }
}

/* --- PANTALLAS GRANDES (1400px+) --- */
@media (min-width: 1400px) {
    .navbar { padding-left: 5%; padding-right: 5%; }
    .hero { max-width: 1480px; }
    .support-faq-section { padding-left: 80px; padding-right: 80px; }
}



/* =========================================
   MODAL DE COMPRA RÁPIDA (CARRITO / WHATSAPP)
   ========================================= */

.modal-overlay-compra {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(3px); /* Le da un toque premium al fondo */
}

.modal-box-compra {
    background: #ffffff;
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    padding: 25px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-cerrar-modal {
    position: absolute;
    top: 15px; right: 15px;
    background: #f1f5f9;
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #64748b;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cerrar-modal:hover { background: #e2e8f0; color: #e74c3c; }

/* Imagen y Textos */
.modal-img-wrap {
    text-align: center;
    margin-bottom: 15px;
}

.modal-img-wrap img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.modal-titulo-verde {
    text-align: center;
    color: #25D366;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 10px 0 5px;
}

.modal-desc-centrada {
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.4;
}

.modal-precio-destacado {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 20px;
}

/* Formulario */
.checkout-controles {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.grupo-unidades {
    flex: 1;
    margin-top: 10px
}
.grupo-envio {
    flex: 2;
     margin-top: 10px
}

.modal-form-compra label {
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    color: #475569;
    margin-bottom: 6px;
}

.modal-form-compra input,
.modal-form-compra select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #f8fafc;
    box-sizing: border-box;
    font-weight: bold;
    color: #334155;
    outline: none;
}
.modal-form-compra input:focus, .modal-form-compra select:focus {
    border-color: #25D366;
    background: #fff;
}

/* Botón WhatsApp */
.btn-ws-comprar {
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s, background 0.2s;
}
.btn-ws-comprar:hover {
    background: #1eb956;
    transform: translateY(-2px);
}


.modal-atributos {
    background: #ffffff;             /* Fondo blanco puro */
    padding: 15px;                   /* Espacio interno para que no esté apretado */
    border-radius: 10px;             /* Bordes bien redondeados */
    border: 1px solid #e2e8f0;       /* Un borde gris muy sutil */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); /* Sombra suave para que parezca flotar */
    margin-bottom: 20px;             /* Separación con los botones de abajo */
    font-size: 0.9rem;
    color: #334155;
    text-align: left;
}



/* =========================================
   RESPONSIVIDAD PARA CELULARES
   ========================================= */
@media (max-width: 480px) {
    .modal-box {
        padding: 25px 20px;
        width: 92%;
        max-height: 92vh;
    }

    .modal-product-img {
        height: 180px;
    }

    #modal-titulo {
        font-size: 1.2rem;
    }

    .price-highlight {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
}

/* ==========================================================================
   VISTA PARA LAPTOPS Y PC (PANTALLAS GRANDES)
   ========================================================================== */
@media (min-width: 769px) {
  /* Anulamos el scroll horizontal y permitimos que bajen de línea */
  div.products-grid.scroll-horizontal,
  .products-grid.scroll-horizontal {
    flex-wrap: wrap !important;
    overflow-x: visible !important;

    padding-bottom: 30px !important;
  }

  /* Las tarjetas toman un tamaño responsivo para formar la cuadrícula */
  div.products-grid.scroll-horizontal > .product-card,
  .products-grid.scroll-horizontal .product-card {
    flex: 0 0 300px !important; /* Ancho ideal para PC */
    width: 300px !important;
    max-width: 300px !important;
    margin-bottom: 20px !important; /* Espacio hacia abajo al cambiar de línea */
  }
}


/* =========================================
   DISEÑO BASE (ESCRITORIO Y GENERAL)
   ========================================= */
.modal-overlay-compra {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(3px); /* Le da un toque premium al fondo */
}

.modal-box-compra {
    background: #ffffff;
    width: 90%;
    max-width: 450px; /* Lo subí un poquito a 450px para que respire mejor en PC/Tablets */
    max-height: 90vh; /* MÁXIMA ALTURA: 90% de la pantalla */
    overflow-y: auto; /* IMPORTANTE: Activa scroll interno si la pantalla del celular es muy bajita */
    border-radius: 16px;
    padding: 25px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    animation: slideUp 0.3s ease-out;
}

/* Scrollbar personalizado para el modal (Toque premium) */
.modal-box-compra::-webkit-scrollbar { width: 6px; }
.modal-box-compra::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-cerrar-modal {
    position: absolute;
    top: 15px; right: 15px;
    background: #f1f5f9;
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #64748b;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
}

.btn-cerrar-modal:hover { background: #e2e8f0; color: #e74c3c; }

/* Imagen y Textos */
.modal-img-wrap {
    text-align: center;
    margin-bottom: 15px;
}

.modal-img-wrap img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.modal-titulo-verde {
    text-align: center;
    color: #25D366;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 10px 0 5px;
}

.modal-desc-centrada {
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.4;
}

.modal-precio-destacado {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 20px;
}

/* Tarjeta de Atributos */
.modal-atributos {
    background: #ffffff;             
    padding: 15px;                   
    border-radius: 10px;             
    border: 1px solid #e2e8f0;       
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); 
    margin-bottom: 20px;             
    font-size: 0.9rem;
    color: #334155;
    text-align: left;
}

.modal-atributos p {
    margin: 8px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 6px;
}
.modal-atributos p:last-child {
    border-bottom: none; margin-bottom: 0; padding-bottom: 0;
}

/* Formulario */
.checkout-controles {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.grupo-unidades { flex: 1; margin-top: 10px; }
.grupo-envio { flex: 2; margin-top: 10px; }

.modal-form-compra label {
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    color: #475569;
    margin-bottom: 6px;
}

.modal-form-compra input,
.modal-form-compra select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #f8fafc;
    box-sizing: border-box;
    font-weight: bold;
    color: #334155;
    outline: none;
}
.modal-form-compra input:focus, .modal-form-compra select:focus {
    border-color: #25D366;
    background: #fff;
}

/* Botón WhatsApp */
.btn-ws-comprar {
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s, background 0.2s;
}
.btn-ws-comprar:hover {
    background: #1eb956;
    transform: translateY(-2px);
}


/* =========================================
   ADAPTACIÓN RESPONSIVA (TABLETS Y MÓVILES)
   ========================================= */

/* TABLETS (hasta 768px) */
@media (max-width: 768px) {
    .modal-box-compra {
        max-width: 85%; /* Se hace un poco más ancho para aprovechar la pantalla */
        padding: 20px;
    }
}

/* TELÉFONOS MÓVILES (hasta 480px) */
@media (max-width: 480px) {
    .modal-box-compra {
        width: 95%; /* Ocupa casi todo el ancho de la pantalla */
        padding: 18px 15px; /* Reducimos el padding para que quepa más contenido */
    }

    .modal-img-wrap img {
        height: 160px; /* Reducimos la altura de la imagen para ahorrar espacio vertical */
    }

    .modal-titulo-verde {
        font-size: 1.4rem; /* Título un poco más pequeño */
    }

    .modal-precio-destacado {
        font-size: 1.5rem; /* Precio un poco más pequeño */
        margin-bottom: 15px;
    }

    .checkout-controles {
        flex-direction: column; /* Magia: Apilamos Unidades arriba y Envío abajo */
        gap: 5px; /* Reducimos el espacio entre ellos */
    }

    .grupo-unidades, .grupo-envio {
        margin-top: 5px;
        width: 100%; /* Ahora ocupan el 100% del ancho */
    }
    
    .btn-ws-comprar {
        margin-top: 10px; /* Separamos un poco el botón de compra */
    }
}
