/**
 * ------------------------------------------------------------------
 * Alfaflex - Hoja de Estilos Principal (Moderno, Eficiente y Responsivo)
 * ------------------------------------------------------------------
 */

:root {
    /* -------------------------------------------------------------
     * PALETA ELEGANTE: AZUL, AMARILLO Y GRIS OSCURO
     * ------------------------------------------------------------- */
    /* Azul Principal (Cobalt / Sapphire / Deep Navy) */
    --primary: #0F3A78;            /* Azul corporativo elegante, prestigioso y sólido */
    --primary-hover: #0A2955;      /* Azul profundo para hover */
    --primary-light: #EEF4FB;      /* Tinte suave azulado para fondos y tags */
    --primary-subtle: #D6E4F5;     /* Azul sutil para bordes finos */
    --primary-dark: #071D3A;       /* Azul marino de máxima profundidad */
    --primary-vibrant: #1D5BB0;    /* Azul vibrante para acentos y estados activos */

    /* Amarillo / Oro Cálido de Contraste Elegante */
    --accent: #F59E0B;             /* Amarillo dorado / oro cálido elegante */
    --accent-hover: #D97706;       /* Amarillo ámbar más profundo */
    --accent-light: #FEF9E7;       /* Tinte claro de amarillo/oro */
    --accent-border: #FDE68A;      /* Borde dorado suave */
    --accent-dark: #B45309;        /* Tono oro profundo para textos */
    --accent-glow: rgba(245, 158, 11, 0.35);

    /* Grises Oscuros / Antracita / Carbón (Elegancia y Fondo) */
    --dark: #0F172A;               /* Antracita oscuro para títulos y barras */
    --dark-surface: #1E293B;       /* Superficie oscura profunda */
    --dark-muted: #334155;         /* Gris carbón medio */
    --dark-deep: #0B111E;          /* Negro antracita puro para el footer */

    /* WhatsApp Oficial */
    --whatsapp: #25D366;
    --whatsapp-hover: #1EBE5D;
    --whatsapp-dark: #128C7E;
    --whatsapp-light: #E8F9EE;

    /* Textos */
    --text: #1E293B;               /* Texto principal legible y nítido */
    --text-muted: #64748B;         /* Texto secundario */
    --text-light: #94A3B8;         /* Texto terciario */

    /* Fondos */
    --bg: #FFFFFF;                 /* Blanco puro */
    --bg-alt: #F8FAFC;             /* Blanco grisáceo muy elegante */
    --bg-muted: #F1F5F9;           /* Gris pizarra suave */

    /* Bordes */
    --border: #E2E8F0;
    --border-light: #EEF2F6;

    /* Bordes redondeados */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Sombras refinadas */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.07), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.09), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

    /* Tipografía */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --header-height: 84px;
    --topbar-height: 38px;
}

/* ==================================================================
 * RESET Y GENERALES
 * ================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.drawer-open,
body.nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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

.text-center { text-align: center; }
.text-danger { color: var(--primary); }
.text-accent { color: var(--primary); }

/* ==================================================================
 * TIPOGRAFÍA Y TÍTULOS DE SECCIÓN
 * ================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: #0A0A0A;
    line-height: 1.2;
    font-weight: 800;
}

.section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-header {
    max-width: 780px;
    margin: 0 auto 48px auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background-color: var(--primary-light);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 5px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
    box-shadow: 0 1px 4px rgba(245, 158, 11, 0.08);
}

.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
    display: inline-block;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: #0A0A0A;
    margin-bottom: 16px;
    letter-spacing: -0.035em;
    line-height: 1.18;
}

.text-accent {
    color: var(--primary) !important;
    font-weight: 900;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* ==================================================================
 * BOTONES
 * ================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: #FFFFFF;
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 4px 14px rgba(15, 58, 120, 0.28);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #FFFFFF;
    border-color: var(--accent);
    box-shadow: 0 6px 18px rgba(15, 58, 120, 0.38);
    transform: translateY(-1px);
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

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

.btn-outline-wsp {
    background-color: #FFFFFF;
    border: 1.5px solid var(--whatsapp);
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}

.btn-outline-wsp:hover {
    background-color: var(--whatsapp-light);
    border-color: var(--whatsapp-hover);
    color: var(--dark);
    transform: translateY(-1px);
}

.btn-whatsapp-order {
    background-color: var(--whatsapp);
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-order:hover {
    background-color: var(--whatsapp-hover);
    color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* ==================================================================
 * TOPBAR
 * ================================================================== */
.topbar {
    background-color: var(--dark);
    color: #E2E8F0;
    font-size: 0.825rem;
    border-bottom: 1px solid rgba(245, 158, 11, 0.25);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: var(--topbar-height);
    padding-top: 4px;
    padding-bottom: 4px;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-item, .topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-separator {
    color: rgba(255, 255, 255, 0.2);
}

.topbar-link:hover {
    color: #FFFFFF;
}

.topbar-link-wsp {
    color: #4ADE80;
    font-weight: 600;
}

.topbar-link-wsp:hover {
    color: #86EFAC;
}

.topbar .icon-inline {
    width: 14px;
    height: 14px;
    stroke: var(--accent);
    color: var(--accent);
}

.icon-inline {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

/* ==================================================================
 * SITE HEADER & NAVBAR
 * ================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    transition: all 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-md);
    background-color: #FFFFFF;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 20px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 56px;
    max-height: 58px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.brand-logo:hover {
    transform: scale(1.02);
}

.brand-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--dark);
    color: #FFFFFF;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 28px;
}

.main-nav .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    position: relative;
    padding: 8px 0;
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.main-nav .nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Botón Trigger de Cotización / Carrito */
.cart-trigger-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--primary-light);
    border: 1px solid rgba(15, 58, 120, 0.2);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-trigger-btn:hover {
    background-color: #E2ECF7;
    border-color: var(--primary);
    transform: translateY(-1px);
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--accent);
    color: #0F172A;
    font-size: 0.72rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
    transition: transform 0.2s ease;
}

/* Animación de parpadeo / pulso sutil cuando hay ítems en la cotización */
@keyframes cartSubtlePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.45);
        border-color: rgba(245, 158, 11, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(245, 158, 11, 0);
        border-color: var(--accent);
        transform: scale(1.03);
    }
}

@keyframes badgeSubtleBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1.1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.22);
    }
}

.cart-trigger-btn.has-items {
    border-color: var(--accent);
    background-color: var(--accent-light);
    animation: cartSubtlePulse 2.4s infinite ease-in-out;
}

.cart-badge.has-items {
    animation: badgeSubtleBlink 2.4s infinite ease-in-out;
}

.cart-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.15;
}

.cart-btn-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
}

.cart-btn-counter {
    font-size: 0.725rem;
    color: var(--primary-dark);
}

/* Hamburguesa móvil */
.nav-toggle-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.hamburger-bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: all 0.25s ease;
}

/* ==================================================================
 * HERO SECTION
 * ================================================================== */
.hero-section {
    position: relative;
    padding-top: 60px;
    padding-bottom: 70px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#CBD5E1 0.75px, transparent 0.75px);
    background-size: 24px 24px;
    opacity: 0.35;
    pointer-events: none;
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--dark);
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 900;
    color: #0A0A0A;
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-stat-divider {
    width: 2px;
    height: 32px;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(245, 158, 11, 0.2) 100%);
    border-radius: 2px;
}

/* ==================================================================
 * SHOWCASE DE MARCA DE PRESTIGIO: DON AURELIO (HERO)
 * ================================================================== */
.hero-media {
    display: flex;
    justify-content: center;
}

.hero-brand-showcase {
    position: relative;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF5 100%);
    border: 1.5px solid #F59E0B;
    border-radius: var(--radius-xl);
    padding: 34px 28px 26px 28px;
    box-shadow: 0 16px 36px -8px rgba(245, 158, 11, 0.2), var(--shadow-lg);
    max-width: 420px;
    width: 100%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-brand-showcase:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px -8px rgba(245, 158, 11, 0.28), var(--shadow-xl);
}

.brand-showcase-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 18px;
    border-radius: var(--radius-full);
    box-shadow: 0 3px 10px rgba(217, 119, 6, 0.4);
    white-space: nowrap;
    z-index: 2;
}

.brand-showcase-logo-wrap {
    padding: 10px 10px 12px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
}

.brand-showcase-logo {
    max-width: 100%;
    max-height: 195px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.hero-brand-showcase:hover .brand-showcase-logo {
    transform: scale(1.03);
}

.brand-showcase-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-showcase-title {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.brand-showcase-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 330px;
}

/* ==================================================================
 * PROCESO DE COMPRA Y COTIZACIÓN (PASO A PASO)
 * ================================================================== */
.section-proceso {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.proceso-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.proceso-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px 28px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.proceso-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    transform: translateY(-4px);
}

.proceso-card-highlight {
    border-color: rgba(16, 185, 129, 0.4);
    background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF4 100%);
}

.proceso-step-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-dark);
    background: var(--accent-light);
    border: 1px solid var(--accent-border);
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.proceso-badge-success {
    color: #065F46;
    background-color: #D1FAE5;
    border-color: rgba(16, 185, 129, 0.4);
}

.proceso-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(245, 158, 11, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.proceso-icon-box svg {
    width: 26px;
    height: 26px;
}

.proceso-icon-wsp {
    background-color: var(--whatsapp-light);
}

.proceso-icon-success {
    background-color: #D1FAE5;
    color: #10B981;
}

.proceso-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.proceso-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Banner de Entrega Rápida / Tiempos Claros */
.proceso-cta-banner {
    background: var(--dark);
    color: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: 36px 44px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.proceso-cta-info {
    max-width: 680px;
}

.proceso-cta-tag {
    display: inline-block;
    font-size: 0.775rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #34D399;
    margin-bottom: 8px;
}

.proceso-cta-info h3 {
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.proceso-cta-info p {
    font-size: 0.95rem;
    color: #94A3B8;
    line-height: 1.5;
}

/* ==================================================================
 * CATEGORÍAS
 * ================================================================== */
.section-categorias {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.categoria-card {
    background: #FFFFFF;
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.06), var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.categoria-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.35), 
                0 14px 32px -4px rgba(245, 158, 11, 0.22), 
                0 6px 14px -3px rgba(15, 23, 42, 0.06);
}

.categoria-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(245, 158, 11, 0.15);
}

.categoria-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.categoria-card:hover .categoria-img {
    transform: scale(1.05);
    filter: brightness(1.03) contrast(1.02);
}

.categoria-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    pointer-events: none;
    background-color: var(--dark);
    color: var(--accent);
    border: 1px solid rgba(245, 158, 11, 0.4);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 9px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.categoria-card:hover .categoria-badge {
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.45);
    border-color: var(--accent);
    color: #FDE68A;
}

.categoria-body {
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #FFFFFF;
}

.categoria-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    transition: color 0.25s ease;
}

.categoria-card:hover .categoria-title {
    color: var(--primary);
}

.categoria-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.categoria-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--primary);
    transition: all 0.25s ease;
}

.categoria-link svg {
    color: var(--accent);
    transition: transform 0.25s ease;
}

.categoria-card:hover .categoria-link {
    color: var(--accent-dark);
    gap: 12px;
}

.categoria-card:hover .categoria-link svg {
    transform: translateX(4px);
    color: var(--accent);
}

/* ==================================================================
 * CATÁLOGO Y BUSCADOR
 * ================================================================== */
.section-catalogo {
    background-color: #FFFFFF;
}

/* Panel Interactivo de Filtros y Búsqueda */
.catalogo-control-panel {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-top: 2px solid rgba(245, 158, 11, 0.65);
    border-radius: 20px;
    padding: 26px 24px 22px;
    margin: 0 auto 20px;
    max-width: 1080px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 4px 10px -2px rgba(15, 23, 42, 0.02);
    position: relative;
}

.catalogo-panel-header {
    margin-bottom: 18px;
}

.panel-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 58, 120, 0.08);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(15, 58, 120, 0.2);
}

.panel-badge-icon {
    width: 14px;
    height: 14px;
    color: var(--accent);
    flex-shrink: 0;
}

.panel-header-hint {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
    margin-bottom: 0;
}

.catalogo-toolbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    text-align: center;
}

.filter-tabs-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: visible;
    padding: 0;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    gap: 8px;
    width: 100%;
}

.filter-tab {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.filter-tab:hover {
    color: var(--primary);
    background: #FFFFFF;
    border-color: #CBD5E1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.filter-tab.active {
    background: linear-gradient(135deg, #0F3A78 0%, #0A2955 100%);
    color: #FFFFFF;
    border: 1.5px solid var(--accent);
    box-shadow: 0 4px 14px rgba(15, 58, 120, 0.35), 0 0 10px rgba(245, 158, 11, 0.25);
    transform: translateY(-1px);
}

.catalogo-search-box {
    position: relative;
    max-width: 520px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.catalogo-search-box .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--accent);
    pointer-events: none;
    transition: color 0.2s;
}

.search-input {
    width: 100%;
    padding: 13px 44px 13px 48px;
    border: 1.5px solid #CBD5E1;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    background: #FFFFFF;
    outline: none;
    color: var(--text);
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.search-input:hover {
    border-color: #94A3B8;
}

.search-input:focus {
    border-color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(15, 58, 120, 0.14), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.search-input::placeholder {
    color: #94A3B8;
}

.clear-search-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
}

.clear-search-btn:hover {
    color: var(--dark);
}

.catalogo-results-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 26px;
}

.results-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 500;
    color: #64748B;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 6px 14px;
    border-radius: var(--radius-full);
}

.results-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    display: inline-block;
}

/* Grilla de Productos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.product-card:hover {
    box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(245, 158, 11, 0.35);
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

.product-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.04);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    pointer-events: none;
    background-color: var(--dark);
    color: var(--accent);
    border: 1px solid rgba(245, 158, 11, 0.35);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-cat-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.product-format-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dark-muted);
    background-color: var(--bg-muted);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    width: fit-content;
}

.product-format-badge svg {
    color: var(--accent);
}

/* Indicador de unidades aproximadas en tamaño reducido */
.format-approx {
    font-size: 0.82em;
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0.01em;
    display: inline-block;
    vertical-align: baseline;
    font-style: normal;
}

.product-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 14px;
    flex-grow: 1;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.product-actions .btn {
    flex-grow: 1;
    padding: 8px 10px;
    font-size: 0.85rem;
}

/* Control de Cantidad (+ / -) */
.quantity-control {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.quantity-control .qty-btn {
    background: transparent;
    border: none;
    width: 34px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: background-color 0.15s;
}

.quantity-control .qty-btn:hover {
    background-color: #E2E8F0;
}

.quantity-control .qty-input {
    width: 42px;
    height: 38px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 700;
    color: var(--dark);
    -moz-appearance: textfield;
}

.quantity-control .qty-input::-webkit-outer-spin-button,
.quantity-control .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Estado sin resultados */
.no-results-state {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--bg-alt);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}

.no-results-state svg {
    color: var(--text-light);
    margin-bottom: 16px;
}

.no-results-state h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.no-results-state p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Animación en botón al agregar */
.btn.btn-added {
    background-color: #10B981 !important;
    border-color: #10B981 !important;
    color: #FFFFFF !important;
}

/* ==================================================================
 * CARRILLO / COTIZADOR LATERAL (OFFCANVAS DRAWER)
 * ================================================================== */
.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 440px;
    background-color: #FFFFFF;
    box-shadow: -10px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background-color: #FFFFFF;
}

.cart-header-title-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-header-icon {
    width: 26px;
    height: 26px;
    color: var(--primary);
}

.cart-drawer-title {
    font-size: 1.25rem;
    margin: 0;
}

.cart-drawer-count {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: color 0.15s;
}

.cart-close-btn:hover {
    color: var(--dark);
}

/* Estado vacío del carrito */
.cart-empty-state {
    padding: 60px 32px;
    text-align: center;
    margin: auto 0;
}

.empty-icon-circle {
    width: 80px;
    height: 80px;
    background-color: var(--bg-muted);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.empty-icon-circle svg {
    width: 36px;
    height: 36px;
}

.cart-empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.cart-empty-state p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Contenedor de ítems */
.cart-items-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow-y: auto;
}

.cart-items-list {
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 4px;
    flex-shrink: 0;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 0.95rem;
    line-height: 1.25;
    margin-bottom: 4px;
}

.cart-item-format {
    display: block;
    font-size: 0.775rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quantity-control-sm .qty-btn {
    width: 26px;
    height: 28px;
    font-size: 0.95rem;
}

.quantity-control-sm .qty-val {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.cart-remove-btn {
    background: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #EF4444;
    cursor: pointer;
    padding: 4px;
    transition: opacity 0.15s;
}

.cart-remove-btn:hover {
    opacity: 0.75;
}

/* Formulario Checkout en Drawer */
.cart-checkout-box {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 24px;
}

.checkout-title {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.checkout-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 12px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.form-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    background: #FFFFFF;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: var(--primary);
}

select.form-input {
    cursor: pointer;
    background-color: #FFFFFF;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
}

select.form-input:disabled {
    background-color: var(--bg-muted);
    color: var(--text-light);
    cursor: not-allowed;
    border-color: var(--border-light);
}

.form-textarea {
    resize: none;
}

.cart-drawer-footer-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.btn-clear-cart {
    background: none;
    border: none;
    font-size: 0.775rem;
    color: var(--text-muted);
    text-decoration: underline;
    cursor: pointer;
}

.btn-clear-cart:hover {
    color: #EF4444;
}

.cart-security-badge {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.cart-security-badge svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #10B981;
}

/* ==================================================================
 * TOAST FLOTANTE
 * ================================================================== */
.cart-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    background-color: var(--dark);
    color: #FFFFFF;
    padding: 12px 18px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.25s ease;
}

.cart-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-toast-icon {
    width: 28px;
    height: 28px;
    background-color: #10B981;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.cart-toast-body strong {
    display: block;
    font-size: 0.875rem;
    line-height: 1.2;
}

.cart-toast-body p {
    font-size: 0.775rem;
    color: #CBD5E1;
}

.cart-toast-action {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    margin-left: 8px;
    transition: background 0.15s;
    white-space: nowrap;
}

.cart-toast-action:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ==================================================================
 * SOBRE LA FÁBRICA / EMPRESA
 * ================================================================== */
.section-empresa {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-light);
}

.empresa-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 56px;
    align-items: center;
}

.empresa-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.empresa-highlights {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.highlight-icon {
    width: 24px;
    height: 24px;
    background-color: var(--accent-light);
    color: var(--accent-dark);
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.highlight-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 2px;
}

.highlight-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.empresa-media {
    display: flex;
    flex-direction: column;
}

.empresa-card-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.empresa-stats-box {
    background: var(--dark);
    color: #FFFFFF;
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-big {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-text {
    font-size: 1rem;
    font-weight: 600;
    color: #E2E8F0;
    line-height: 1.3;
}

.empresa-banner-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    padding: 28px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.banner-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--primary-light);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.empresa-banner-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.empresa-banner-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.banner-meta {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dark-muted);
    text-transform: uppercase;
}

/* ==================================================================
 * CONTACTO Y UBICACIÓN
 * ================================================================== */
.section-contacto {
    background-color: #FFFFFF;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contacto-info-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    display: flex;
    flex-direction: column;
}

.contacto-card-title {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.contacto-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
    margin-bottom: 28px;
}

.contacto-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contacto-icon {
    width: 40px;
    height: 40px;
    background-color: #FFFFFF;
    border: 1.5px solid rgba(245, 158, 11, 0.35);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.08);
}

.contacto-icon svg {
    width: 20px;
    height: 20px;
}

.contacto-icon-wsp {
    background-color: var(--whatsapp-light);
    border-color: rgba(37, 211, 102, 0.3);
}

.contacto-item strong {
    display: block;
    font-size: 0.875rem;
    color: var(--dark);
    margin-bottom: 2px;
}

.contacto-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contacto-item a {
    color: var(--text);
    font-weight: 600;
}

.contacto-item a:hover {
    color: var(--primary);
}

.contacto-map-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    min-height: 420px;
}

/* ==================================================================
 * BOTÓN FLOTANTE DE WHATSAPP
 * ================================================================== */
.floating-whatsapp-wrap {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 990;
}

.floating-whatsapp-btn {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    transition: all 0.25s ease;
}

.floating-whatsapp-btn:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.floating-wsp-tooltip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--dark);
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: var(--shadow-md);
}

.floating-whatsapp-btn:hover .floating-wsp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px);
}

/* ==================================================================
 * BLOQUE: CLIENTES DE ALFAFLEX
 * ================================================================== */
.section-clientes {
    background-color: #F8FAFC;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 70px 0 65px 0;
}

.clientes-title {
    font-size: 2.85rem;
    font-weight: 900;
    color: #0A0A0A;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
}

.clientes-banner-wrap {
    max-width: 1040px;
    margin: 0 auto 32px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clientes-banner-img {
    width: 100%;
    max-width: 960px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.04));
    transition: transform 0.3s ease;
}

.clientes-subtext {
    font-size: 1.15rem;
    color: #1E293B;
    margin: 0 auto;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.clientes-subtext strong {
    color: #0A0A0A;
    font-weight: 800;
}

/* ==================================================================
 * FOOTER
 * ================================================================== */
.site-footer {
    background-color: var(--dark);
    color: #E2E8F0;
    padding-top: 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-logo-link {
    display: inline-block;
    background: #FFFFFF;
    padding: 6px 14px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.footer-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.footer-description {
    font-size: 0.875rem;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-badge-factory span {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.footer-col-title {
    font-size: 1.05rem;
    color: #FFFFFF;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #94A3B8;
    font-size: 0.875rem;
    transition: color 0.15s, padding-left 0.15s;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.875rem;
}

.f-contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748B;
    margin-bottom: 2px;
}

.footer-contact-list a {
    color: #CBD5E1;
}

.footer-contact-list a:hover {
    color: #FFFFFF;
}

.footer-wsp-link {
    color: #4ADE80 !important;
    font-weight: 700;
}

/* Sub-Footer */
.footer-bottom {
    background-color: #070D18;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    font-size: 0.825rem;
    color: #64748B;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-copy {
    color: #94A3B8;
}

.developer-credit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.developer-credit:hover {
    opacity: 1;
    color: #FFFFFF;
}

.dev-credit-logo {
    height: 38px;
    width: 38px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s ease;
    vertical-align: middle;
}

.developer-credit:hover .dev-credit-logo {
    transform: scale(1.08);
}

/* ==================================================================
 * RESPONSIVIDAD (MEDIA QUERIES)
 * ================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-content {
        text-align: center;
        max-width: 700px;
        margin: 0 auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-media {
        display: flex;
        justify-content: center;
    }

    .hero-brand-showcase {
        max-width: 480px;
        margin: 0 auto;
    }

    .proceso-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categorias-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .empresa-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --topbar-height: 0px;
        --header-height: 64px;
    }

    /* Ocultar barra superior en móvil para dar protagonismo a la marca */
    .topbar {
        display: none;
    }

    .site-header {
        position: sticky;
        top: 0;
        height: 64px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        z-index: 999;
    }

    .header-container {
        height: 64px;
    }

    .brand-logo {
        height: 42px;
        width: auto;
    }

    .header-actions {
        gap: 10px;
    }

    .cart-btn-label, .cart-btn-counter {
        display: none;
    }

    .cart-trigger-btn {
        padding: 8px 10px;
        border-radius: var(--radius-full);
    }

    .nav-toggle-btn {
        display: flex;
        width: 40px;
        height: 40px;
    }

    /* Menú móvil desplegable */
    .main-nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: #FFFFFF;
        border-bottom: 3px solid var(--primary);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
        padding: 16px 20px;
        transform: translateY(-130%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 998;
    }

    .main-nav.is-open {
        transform: translateY(0);
    }

    .main-nav .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .main-nav .nav-link {
        font-size: 1rem;
        font-weight: 600;
        display: block;
        padding: 11px 14px;
        border-radius: var(--radius-sm);
        color: var(--text);
        transition: background-color 0.15s, color 0.15s;
    }

    .main-nav .nav-link:active,
    .main-nav .nav-link:hover {
        background-color: var(--bg-muted);
        color: var(--primary);
    }

    /* Padding de secciones y contenedor en móvil */
    .section, .hero-section {
        padding: 44px 0;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Reordenamiento del Hero en móvil: Título -> Imagen -> Párrafo -> Botones -> Stats */
    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .hero-content {
        display: contents;
    }

    .hero-title {
        order: 1;
        width: 100%;
        text-align: center;
        font-size: clamp(1.75rem, 6.2vw, 2.25rem);
        line-height: 1.2;
        letter-spacing: -0.02em;
        margin-bottom: 20px;
    }

    .hero-media {
        order: 2;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .hero-description {
        order: 3;
        width: 100%;
        text-align: center;
        font-size: 0.925rem;
        line-height: 1.55;
        margin-bottom: 22px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        order: 4;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-bottom: 12px;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .hero-stats {
        order: 5;
        display: flex;
        align-items: center;
        justify-content: space-around;
        width: 100%;
        max-width: 380px;
        margin: 18px auto 0;
        padding-top: 18px;
        border-top: 1px solid var(--border-light);
    }

    .hero-stat-item .stat-number {
        font-size: 1.3rem;
        font-weight: 900;
        line-height: 1.1;
        color: var(--primary);
        display: block;
    }

    .hero-stat-item .stat-label {
        font-size: 0.68rem;
        color: var(--text-muted);
        display: block;
        margin-top: 2px;
    }

    .hero-stat-divider {
        height: 22px;
        width: 1px;
        background-color: var(--border-light);
    }

    /* Showcase Don Aurelio en móvil */
    .hero-brand-showcase {
        max-width: 380px;
        padding: 20px 16px;
        margin: 0 auto;
    }

    .brand-showcase-badge span {
        font-size: 0.68rem;
        padding: 4px 10px;
    }

    .brand-showcase-logo {
        max-width: 180px;
        height: auto;
    }

    .brand-showcase-title {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }

    .brand-showcase-desc {
        font-size: 0.825rem;
        line-height: 1.45;
    }

    /* Encabezados de sección comunes */
    .section-header {
        margin-bottom: 28px;
    }

    .section-tag {
        font-size: 0.7rem;
        padding: 4px 10px;
        margin-bottom: 8px;
    }

    .section-title {
        font-size: clamp(1.45rem, 5.4vw, 1.85rem);
        line-height: 1.25;
        letter-spacing: -0.015em;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 0.875rem;
        line-height: 1.5;
        padding: 0 4px;
    }

    /* Categorías */
    .categorias-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 420px;
        margin: 0 auto;
    }

    .categoria-body {
        padding: 16px;
    }

    .categoria-title {
        font-size: 1.15rem;
    }

    .categoria-desc {
        font-size: 0.85rem;
    }

    /* Catálogo y Pestañas */
    .catalogo-control-panel {
        padding: 16px 12px 14px;
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .catalogo-panel-header {
        margin-bottom: 12px;
    }

    .panel-header-badge {
        font-size: 0.68rem;
        padding: 5px 12px;
        gap: 6px;
    }

    .panel-badge-icon {
        width: 13px;
        height: 13px;
    }

    .panel-header-hint {
        font-size: 0.8rem;
        margin-top: 5px;
    }

    .catalogo-toolbar {
        gap: 12px;
        margin-bottom: 0;
    }

    .filter-tabs-wrapper {
        width: 100%;
        overflow: visible;
        padding: 0;
        justify-content: center;
    }

    .filter-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        padding: 0;
        width: 100%;
    }

    .filter-tab {
        padding: 6px 12px;
        font-size: 0.74rem;
        white-space: nowrap;
    }

    .catalogo-search-box {
        width: 100%;
        max-width: 100%;
    }

    .search-input {
        font-size: 16px; /* Evita zoom automático en Safari iOS */
        padding: 10px 36px 10px 42px;
    }

    .catalogo-results-info {
        margin-bottom: 18px;
    }

    .results-badge {
        font-size: 0.78rem;
        padding: 5px 12px;
    }

    /* Grilla de productos: 2 columnas limpias en móvil */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card {
        border-radius: var(--radius-md);
    }

    .product-info {
        padding: 10px;
    }

    .product-cat-label {
        font-size: 0.625rem;
        margin-bottom: 2px;
    }

    .product-title {
        font-size: 0.825rem;
        line-height: 1.25;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 2.1em;
    }

    .product-format-badge {
        font-size: 0.68rem;
        padding: 2px 6px;
        margin-bottom: 6px;
        gap: 4px;
    }

    .product-format-badge svg {
        width: 12px;
        height: 12px;
    }

    .product-desc {
        display: none; /* Oculta descripción larga en móvil para mantener la tarjeta compacta */
    }

    .product-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding-top: 8px;
        margin-top: auto;
    }

    .quantity-control {
        width: 100%;
        height: 30px;
        justify-content: space-between;
    }

    .quantity-control .qty-btn {
        width: 30px;
        height: 28px;
        font-size: 0.95rem;
    }

    .quantity-control .qty-input {
        width: 32px;
        height: 28px;
        font-size: 0.8rem;
    }

    .product-actions .btn {
        width: 100%;
        padding: 6px 8px;
        font-size: 0.775rem;
        justify-content: center;
        height: 32px;
    }

    /* Proceso de Compra */
    .proceso-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 440px;
        margin: 0 auto;
    }

    .proceso-card {
        padding: 18px 16px;
    }

    .proceso-title {
        font-size: 1.05rem;
    }

    .proceso-desc {
        font-size: 0.825rem;
        line-height: 1.45;
    }

    .proceso-cta-banner {
        padding: 22px 16px;
        flex-direction: column;
        text-align: center;
        gap: 16px;
        margin-top: 24px;
    }

    .proceso-cta-info h3 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }

    .proceso-cta-info p {
        font-size: 0.85rem;
        line-height: 1.45;
    }

    .proceso-cta-banner .btn {
        width: 100%;
        justify-content: center;
    }

    /* Fábrica / Nosotros */
    .empresa-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .empresa-text {
        font-size: 0.885rem;
        line-height: 1.55;
        margin-bottom: 12px;
    }

    .empresa-highlights {
        gap: 10px;
        margin-top: 18px;
    }

    .highlight-item {
        gap: 12px;
        padding: 12px 10px;
    }

    .highlight-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
        font-size: 0.85rem;
    }

    .highlight-info strong {
        font-size: 0.875rem;
    }

    .highlight-info span {
        font-size: 0.785rem;
        line-height: 1.35;
    }

    .empresa-stats-box {
        padding: 18px 14px;
    }

    .empresa-stats-box .stat-big {
        font-size: 2.25rem;
        line-height: 1;
    }

    .empresa-stats-box .stat-text {
        font-size: 0.825rem;
    }

    .empresa-banner-card {
        padding: 20px 16px;
    }

    .empresa-banner-card h3 {
        font-size: 1.15rem;
    }

    .empresa-banner-card p {
        font-size: 0.825rem;
        line-height: 1.45;
    }

    /* Contacto y Ubicación */
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contacto-info-card {
        padding: 20px 16px;
    }

    .contacto-card-title {
        font-size: 1.15rem;
        margin-bottom: 16px;
    }

    .contacto-items-list {
        gap: 14px;
    }

    .contacto-item {
        gap: 10px;
    }

    .contacto-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }

    .contacto-item strong {
        font-size: 0.825rem;
    }

    .contacto-item p, .contacto-item a {
        font-size: 0.825rem;
    }

    .contacto-map-card {
        height: 260px;
        min-height: 260px;
    }

    /* Clientes */
    .section-clientes {
        padding: 34px 0;
    }

    .clientes-title {
        font-size: clamp(1.35rem, 5vw, 1.75rem);
        margin-bottom: 16px;
    }

    .clientes-banner-wrap {
        padding: 0 4px;
    }

    .clientes-banner-img {
        max-width: 100%;
        height: auto;
    }

    .clientes-subtext {
        font-size: 0.8rem;
        margin-top: 14px;
        padding: 0 10px;
    }

    /* Footer */
    .site-footer {
        padding-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-logo {
        height: 44px;
    }

    .footer-tagline {
        font-size: 0.825rem;
        line-height: 1.45;
    }

    .footer-title {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .footer-links-list li a {
        font-size: 0.825rem;
    }

    .footer-contact-item {
        font-size: 0.825rem;
        gap: 10px;
    }

    .footer-bottom {
        margin-top: 30px;
        padding: 16px 0;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        font-size: 0.78rem;
    }

    .dev-credit-logo {
        height: 32px;
        width: 32px;
    }

    /* Carrito Drawer en móvil */
    .cart-drawer {
        width: 100%;
        max-width: 100%;
    }

    .cart-drawer-header {
        padding: 14px 16px;
    }

    .cart-drawer-title {
        font-size: 1.1rem;
    }

    .cart-items-container {
        padding: 14px 16px;
    }

    .cart-checkout-box {
        padding: 16px 14px;
        margin-top: 18px;
    }

    .cart-checkout-box .form-input,
    .cart-checkout-box select.form-input,
    .cart-checkout-box textarea.form-input {
        font-size: 16px; /* Evita auto-zoom en iOS */
        padding: 10px 12px;
    }

    .btn-whatsapp-order {
        font-size: 0.925rem;
        padding: 13px 16px;
    }

    /* Toast flotante */
    .cart-toast {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 12px 14px;
    }

    /* Botón flotante de WhatsApp */
    .floating-whatsapp-wrap {
        bottom: 16px;
        right: 16px;
    }

    .floating-whatsapp-btn {
        width: 52px;
        height: 52px;
    }

    .floating-whatsapp-btn svg {
        width: 30px;
        height: 30px;
    }

    .floating-wsp-tooltip {
        display: none !important;
    }
}

/* Pantallas muy pequeñas (menos de 360px) */
@media (max-width: 360px) {
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-stat-item .stat-number {
        font-size: 1.15rem;
    }

    .hero-stat-item .stat-label {
        font-size: 0.625rem;
    }
}
