/* =========================================
   INSHORE ANGLER - ESTILOS MODERNOS
   Paleta: Azul marino dominante + Cian + Blanco
   Amarillo solo como acento puntual
   ========================================= */

/* --------- VARIABLES DE COLOR --------- */
:root {
    --gris-claro:     #F0F4F8;
    --gris-medio:     #8899AA;
    --gris-oscuro:    #2C3E50;
    --azul-marino:    #0D1F2D;
    --azul-profundo:  #0A1929;
    --cian:           #00BCD4;
    --cian-claro:     #4DD0E1;
    --cian-oscuro:    #0097A7;
    --amarillo:       #FFC107;

    --blanco:  #FFFFFF;
    --negro:   #000000;
    --rojo:    #EF5350;
    --verde:   #26A69A;

    --grad-dark:    linear-gradient(135deg, #0A1929 0%, #0D1F2D 60%, #0D2137 100%);
    --grad-cian:    linear-gradient(135deg, #00BCD4, #0097A7);
    --grad-hero:    linear-gradient(160deg, #0D1F2D 0%, #0A2A3A 50%, #093040 100%);

    --font-primary:   'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    --shadow-sm:  0 2px 8px rgba(0,0,0,0.12);
    --shadow-md:  0 4px 20px rgba(0,0,0,0.18);
    --shadow-lg:  0 8px 40px rgba(0,0,0,0.25);
    --shadow-cian: 0 4px 20px rgba(0,188,212,0.25);
}

/* --------- RESET --------- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-primary);
    color: var(--gris-oscuro);
    background: var(--blanco);
    line-height: 1.6;
    overflow-x: hidden;
}

.main-content .container-fluid {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}


/* =========================================
   TOP BAR
   ========================================= */

.top-bar {
    background: var(--azul-profundo);
    color: rgba(255,255,255,0.85);
    padding: 0.6rem 0;
    font-size: 0.82rem;
    border-bottom: 2px solid var(--cian);
}

.social-links-top a {
    color: rgba(255,255,255,0.75);
    margin-left: 1.2rem;
    transition: color 0.25s, transform 0.25s;
    font-size: 0.9rem;
}
.social-links-top a:hover {
    color: var(--cian);
    transform: scale(1.15);
}

/* =========================================
   HEADER
   ========================================= */
   .header-main {
    background: var(--blanco);
    padding: 10px 0;      /* antes era var(--spacing-md) = 1.5rem */
    border-bottom: 1px solid #DDE5EE;
    box-shadow: var(--shadow-sm);
    overflow: visible;
}

.logo-img {
    height: 210px;         /* antes era 160px ← ese era el bug */
    width: auto;
    display: block;
    position: static;     /* quitar position: relative, no hace falta */
}

.logo-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.25s;
}
.logo-brand:hover { opacity: 0.85; }


/* Search */
.search-bar {
    display: flex;
    background: var(--gris-claro);
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.search-bar:focus-within {
    border-color: var(--cian);
}
.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    outline: none;
}
.search-bar input::placeholder { color: var(--gris-medio); }

.btn-search {
    background: var(--azul-marino);
    color: var(--blanco);
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-search:hover { background: var(--cian-oscuro); }
/* ---- Live Search Dropdown ---- */

.search-result-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.search-price-old {
    font-size: 0.72rem;
    color: var(--gris-medio);
    text-decoration: line-through;
}
.search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--blanco);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 1.5px solid #DDE5EE;
    z-index: 500;
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
}
.search-dropdown.visible { display: block; }

/* Grupo por categoría */
.search-group-label {
    padding: 6px 12px 4px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--blanco);
    background: var(--azul-marino);
    position: sticky;
    top: 0;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: var(--gris-oscuro);
    border-bottom: 1px solid var(--gris-claro);
    transition: background 0.2s;
    cursor: pointer;
    min-height: 52px;        /* área táctil cómoda */
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover,
.search-result-item:active     { background: var(--gris-claro); }

.search-result-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    background: var(--gris-claro);
    flex-shrink: 0;
    padding: 3px;
}

.search-result-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--azul-marino);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-price {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--cian-oscuro);
}

.search-no-results {
    padding: 1.2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gris-medio);
}


/* Header icons */
.header-content {
    padding: 0 2rem;          /* padding lateral uniforme, reemplaza el anterior */
}

.logo-container {
    width: auto;
    height: 80px;
    display: flex;
    align-items: center;
    overflow: visible;
    padding-left: 0;          /* ← quitar el padding-left: 6rem fijo */
}

.header-icons {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0;         /* ← quitar el padding-right: 10rem fijo */
}

.icon-link {
    position: relative;
    text-decoration: none;
    color: var(--azul-marino);
    font-size: 1.25rem;
    transition: color 0.25s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.icon-link:hover { color: var(--cian); }
.icon-label { font-size: 0.78rem; font-weight: 600; }

.cart-text-wrapper { position: relative; }
.cart-icon {
    position: relative;
}
 
.cart-badge {
    background: var(--cian);
    color: var(--azul-marino);
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    padding: 0 3px;
    border: 2px solid var(--blanco);   /* separa del fondo */
}

.cart-icon .cart-badge {
    position: absolute;
    top: -9px;
    left: 10px;
}

.cart-total {
    font-size: .68rem;
    font-weight: 600;
    color: #65788a;
    margin-left: 2px;
}

.cart-total-mobile {
    font-size: .62rem;
    font-weight: 600;
    color: #65788a;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar-main {
    background: var(--grad-dark);
    padding: 0;
    box-shadow: var(--shadow-md);
    border-bottom: 2px solid var(--cian-oscuro);
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0; margin: 0;
}
.nav-menu > li { flex: 1; }

.nav-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 1rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.25s, color 0.25s;
    position: relative;
    white-space: nowrap;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: var(--cian);
    transition: width 0.3s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-icon-img { width: 22px; height: 22px; object-fit: contain; }
.nav-icon--lg { width: 34px; height: 34px; }
.nav-icon--md { width: 26px; height: 26px; font-size: 1.15rem; }
.nav-link:hover {
    color: var(--cian);
    background: rgba(0,188,212,0.08);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.submenu {
    list-style: none;
    position: absolute;
    top: 100%; left: 0;
    background: var(--blanco);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s;
    padding: 0.5rem 0;
    z-index: 200;
    border-top: 3px solid var(--cian);
    border-radius: 0 0 8px 8px;
}
.nav-dropdown:hover .submenu {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.submenu a {
    display: block;
    padding: 0.65rem 1.5rem;
    color: var(--gris-oscuro);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s;
}
.submenu a:hover {
    background: var(--gris-claro);
    color: var(--cian-oscuro);
    padding-left: 2rem;
}
.submenu .divider {
    height: 1px;
    background: var(--gris-claro);
    margin: 0.4rem 0;
}

.nav-sale {
    color: var(--amarillo) !important;
    font-weight: 700;
}
.nav-sale::after { background: var(--amarillo); }
.nav-sale:hover { background: rgba(255,193,7,0.1) !important; }

/* =========================================
   BANNER
   ========================================= */
.banner-container { position: relative; z-index: 1; }

.banner-item { animation: fadeUp 0.6s ease; }
.banner-item h2 {
    font-family: var(--font-secondary);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}
.banner-item h2 span { color: var(--cian); }
.banner-item p { font-size: 1.15rem; opacity: 0.85; margin-bottom: 2rem; }

.btn-banner {
    background: var(--cian);
    color: var(--azul-marino);
    padding: 0.85rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    letter-spacing: 1px;
    text-decoration: none;
}
.btn-banner:hover {
    background: var(--cian-claro);
    transform: translateY(-3px);
    transition: all 0.3s ease-in-out;
}

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

/* ---- Reusable Video Hero ---- */
.video-hero {
    position: relative;
    overflow: hidden;
    height: 70vh;
    min-height: 400px;
}
.video-hero img,
.video-hero video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}
.video-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background: rgba(0,0,0,0.35);
}
.video-hero-content {
    text-align: center;
    color: #fff;
}
/* =========================================
   MAIN CONTENT
   ========================================= */
.main-content { padding: var(--spacing-xl) var(--spacing-md); }

.section-title {
    font-family: var(--font-secondary);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--azul-marino);
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.75rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 50px; height: 3px;
    background: var(--cian);
}

/* ---- Categorías ---- */
.categories-showcase {
    padding: var(--spacing-xl) 4rem !important;
    border-radius: 14px;
    margin-bottom: var(--spacing-xl);
}

.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    text-align: center;
    border-bottom: 3px solid transparent;
    height: 100%;
    min-height: 320px;
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.category-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.category-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}
.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}
.category-content h3 { color: var(--blanco); font-weight: 700; margin-bottom: 0.4rem; }
.category-content p  { color: rgba(255,255,255,0.8); font-size: 0.88rem; margin-bottom: var(--spacing-md); }

.btn-category {
    display: inline-block;
    background: var(--azul-marino);
    color: var(--blanco);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.25s;
}
.btn-category:hover {
    background: var(--cian);
    color: var(--azul-marino);
    transform: scale(1.05);
}

/* ---- Productos ---- */
/* ============================================================
   PRODUCT CARDS — estilo limpio
   ============================================================ */

/* Encabezado de sección */
.prod-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--amarillo);
    margin-bottom: 0.4rem;
}

/* Título: sin uppercase, tipografía suave como la referencia */
.featured-products .section-title {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.15;
    color: var(--azul-marino);
}

/* Botón "Ver todo el catálogo" */
.btn-ver-catalogo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--azul-marino);
    border: 1.5px solid var(--azul-marino);
    padding: 0.55rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    align-self: flex-start;
    margin-top: 0.5rem;
    transition: background 0.2s, color 0.2s;
    
    white-space: nowrap; /* evita que el texto se parta en pantallas medianas */

}

.btn-ver-catalogo:hover {
    background: var(--azul-marino);
    color: var(--blanco);
}

/* ── Card ── */
.prod-card {
    background: var(--blanco);
    border: 1px solid #E8EFF6;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
    height: 100%;
    max-width: none;
    margin: 0;
}
.prod-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: #ccd8e8;
}

/* ── Imagen ── */
.prod-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f8f9fb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1.5rem;
}
.prod-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}
.prod-card:hover .prod-card-img img {
    transform: scale(1.05);
}

/* Overlay con botón agregar */
.prod-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13,31,45,0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
}
.prod-card:hover .prod-card-overlay { opacity: 1; }

.btn-add-cart {
    background: var(--cian);
    color: var(--azul-marino);
    border: none;
    padding: 0.5rem 1.1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: background 0.2s, transform 0.2s;
}
.btn-add-cart:hover {
    background: var(--cian-claro);
    transform: scale(1.05);
}

.cart-toast-stack {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 2200;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: min(360px, calc(100vw - 2rem));
    pointer-events: none;
}

.cart-toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--azul-marino);
    color: var(--blanco);
    border: 1px solid rgba(0,188,212,0.35);
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(13,31,45,0.22);
    padding: 0.9rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    opacity: 0;
    transform: translateX(18px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cart-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.cart-toast i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--cian);
    color: var(--azul-marino);
    font-size: 0.95rem;
}

@media (max-width: 576px) {
    .cart-toast-stack {
        right: 1rem;
        bottom: 1rem;
        width: calc(100vw - 2rem);
    }
}

/* ── Body ── */
.prod-card-body {
    padding: 1rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    border-top: 1px solid #eef1f5;
}

.prod-card-cat {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gris-medio);
    margin-bottom: 0.25rem;
}

.prod-card-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gris-oscuro);
    line-height: 1.35;
    margin-bottom: 1rem;
    flex: 1;
}
.prod-card-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.prod-card-name a:hover { color: var(--cian-oscuro); }

/* Footer: precio + botón */
.prod-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.prod-card-price {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.2;
}
.price-old {
    font-size: 0.75rem;
    color: var(--gris-medio);
    text-decoration: line-through;
}
.price-new {
    font-size: 1rem;
    font-weight: 800;
    color: var(--azul-marino);
}

/* Botón "VER MÁS" */
.btn-ver-mas {
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--azul-marino);
    border: 1.5px solid var(--azul-marino);
    padding: 0.4rem 0.9rem;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}
.btn-ver-mas:hover {
    background: var(--azul-marino);
    color: var(--blanco);
}

/* ── Responsive ── */
@media (max-width: 576px) {
    .prod-card-img   { aspect-ratio: 4 / 3; padding: 1rem; }
    .prod-card-name  { font-size: 0.82rem; }
    .price-new       { font-size: 0.92rem; }
    .btn-ver-mas     { font-size: 0.68rem; padding: 0.32rem 0.7rem; }
    .prod-card-body  { padding: 0.75rem; }
}

/* ============================================================
   FIX ESPACIADO SECCIÓN — cards más pequeñas con márgenes
   ============================================================ */

/* Contenedor con márgenes laterales como la referencia */
.featured-products {
    padding-left: 4rem;
    padding-right: 4rem;
}

/* Imagen más compacta */
.prod-card-img {
    aspect-ratio: 3 / 2;
    padding: 1.2rem;
}

@media (max-width: 1200px) {
    .featured-products { padding-left: 2rem; padding-right: 2rem; }
}
@media (max-width: 768px) {
    .featured-products { padding-left: 1rem; padding-right: 1rem; }
    .prod-card-img { aspect-ratio: 4 / 3; }
    .categories-showcase { padding-left: 1rem !important; padding-right: 1rem !important; }
    .info-section { padding-left: 1rem !important; padding-right: 1rem !important; }
}

/* ============================================================
   CARRUSEL MÓVIL — productos de 2 en 2
   ============================================================ */
@media (max-width: 1199.98px) {

    /* Reducir padding lateral de la sección en móvil */
    .featured-products {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    /* Wrapper del carrusel */
    .prod-carousel {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Área visible (overflow hidden) */
    .prod-carousel-track-wrap {
        overflow: hidden;
        width: 100%;
    }

    /* Track: fila de slides, se mueve con transform */
    .prod-carousel-track {
        display: flex;
        gap: 0.75rem;
        transition: transform 0.35s ease;
        will-change: transform;
    }

    /* Cada slide ocupa exactamente 50% - gap/2 */
    .prod-carousel-slide {
        flex: 0 0 calc(50% - 0.375rem);
        min-width: calc(50% - 0.375rem);
    }

    /* Imagen más compacta en móvil */
    .prod-carousel .prod-card-img {
        aspect-ratio: 1 / 1;
        padding: 0.75rem;
    }

    .prod-carousel .prod-card-body {
        padding: 0.65rem 0.75rem 0.75rem;
    }

    .prod-carousel .prod-card-cat  { font-size: 0.62rem; }
    .prod-carousel .prod-card-name { font-size: 0.78rem; margin-bottom: 0.6rem; }
    .prod-carousel .price-new      { font-size: 0.88rem; }
    .prod-carousel .btn-ver-mas    { font-size: 0.65rem; padding: 0.3rem 0.6rem; }

    /* Botones prev/next */
    .prod-carousel-btn {
        display: none; /* usar solo dots en móvil pequeño */
    }

    /* Dots de navegación */
    .prod-carousel-dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 0.5rem;
    }
    .prod-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ccc;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: background 0.2s, transform 0.2s;
    }
    .prod-dot.active {
        background: var(--cian);
        transform: scale(1.25);
    }
}
/* =========================================
   INFO / BENEFITS
   ========================================= */
.info-section {
    padding: var(--spacing-xl) var(--spacing-md) !important;
    border-radius: 14px;
}

.info-card {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: 10px;
    transition: all 0.3s;
    border: 1.5px solid transparent;
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--cian);
}
.info-card i {
    font-size: 2.4rem;
    color: var(--cian);
    margin-bottom: var(--spacing-md);
}
.info-card h4 { color: var(--azul-marino); font-weight: 700; margin-bottom: 0.4rem; }
.info-card p  { color: var(--gris-medio); font-size: 0.88rem; }


/* ---- Marcas Carousel ---- */
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: var(--azul-marino);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev { left: -10px; }
.carousel-control-next { right: -10px; }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1); /* flechas blancas sobre fondo azul */
}

.marcas-section .section-title::after { display: none; }

.marcas-marquee {
    --marca-visible: 5;
    --marca-gap: 24px;
    --marca-speed: 46s;
    width: min(1120px, 100%);
    margin: 0 auto;
    overflow: hidden;
    padding: 8px 0 18px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.marcas-track {
    display: flex;
    width: max-content;
    animation: marcas-scroll var(--marca-speed) linear infinite;
}

.marcas-marquee:hover .marcas-track {
    animation-play-state: paused;
}

.marcas-group {
    display: flex;
    align-items: center;
    gap: var(--marca-gap);
    padding-right: var(--marca-gap);
}

.marca-item {
    flex: 0 0 calc((min(1120px, 100vw) - (var(--marca-gap) * (var(--marca-visible) - 1))) / var(--marca-visible));
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marca-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marca-img {
    max-height: 130px;
    max-width: 100%;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.72;
    transition: filter 0.3s, opacity 0.3s, transform 0.3s;
    padding: 0 8px;
    object-fit: contain;
}

.marca-link:hover .marca-img,
.marca-img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

@keyframes marcas-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =========================================
   FOOTER
   ========================================= */
.footer-main {
    background: var(--azul-profundo);
    color: rgba(255,255,255,0.85);
    margin-top: var(--spacing-xl);
    border-top: 3px solid var(--cian);
}
.footer-top { border-bottom: 1px solid rgba(255,255,255,0.08); }

/* Logo en footer */
/* En tu styles.css, reemplaza el bloque del footer-logo */

.footer-brand-col {
    border-right: 1px solid rgba(255,255,255,0.07);
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
}

.logo-brand {
    display: block;          /* cambia de inline-flex a block */
    width: 100%;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 100%;             /* ocupa todo el ancho disponible */
    height: auto;            /* mantiene la proporción cuadrada */
    max-width: 100%;
    display: block;
    filter: brightness(1.05);
}

.footer-tagline {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.55);
    text-align: center;
    line-height: 1.6;
    margin: 0;
}

.footer-title {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--cian);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-md);
    font-size: 0.88rem;
}

/* Redes sociales */
.footer-social { display: flex; gap: 0.55rem; }
.footer-social-mobile  { display: none; }
.footer-social-desktop { display: flex; }
.social-badge {
    width: 44px; 
    height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--cian);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.25s;
}
.social-badge:hover {
    background: var(--cian);
    color: var(--azul-marino);
    transform: translateY(-3px);
    border-color: var(--cian);
}

/* Links de navegación */
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a {
    color: #F5F5F5;
    text-decoration: none;
    font-size: 0.86rem;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.footer-links a::before {
    content: '›';
    color: var(--cian);
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.2s;
}
.footer-links a:hover {
    color: var(--cian);
    padding-left: 3px;
}
.footer-links a:hover::before { transform: translateX(2px); }

/* Lista de contacto estructurada */
.footer-contact-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #F5F5F5;
    line-height: 1.5;
}
.footer-icon-cyan {
    color: var(--cian);
    font-size: 0.85rem;
    width: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-link-inline {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link-inline:hover { color: var(--cian); }

.footer-divider {
    background: linear-gradient(90deg, transparent, var(--cian), transparent);
    height: 1px;
    border: none;
    opacity: 0.25;
    margin: 0;
}

.footer-bottom { background: var(--azul-profundo); }
.footer-copyright { font-size: 0.8rem; color: rgba(255,255,255,0.42); margin: 0; }
.footer-copyright strong { color: rgba(255,255,255,0.6); }

/* =========================================
   RESPONSIVE
   ========================================= */

/* ---- ≤ 1200px: navbar más compacto ---- */
@media (max-width: 1200px) {
    .nav-link { font-size: 0.78rem; padding: 1rem 0.3rem; }
}

@media (max-width: 1199.98px) {
    .cart-badge {
        position: absolute;
        top: -7px;
        right: -8px;
    }
}

/* ---- ≤ 768px ---- */
@media (max-width: 768px) {
    .banner-item h2 { font-size: 2rem; }
    .banner-item p  { font-size: 1rem; }
    .section-title  { font-size: 1.5rem; }

    /* Productos: 2 columnas */
    .featured-products .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Info cards: 2x2 */
    .info-section .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Footer: 2 cols */
    .footer-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* ---- ≤ 576px: móvil ---- */
@media (max-width: 576px) {
    .prod-carousel-slide {
        min-width: 100% !important;
        width: 100% !important;
    }
    .top-bar { font-size: 0.75rem; }

    .banner-section { padding: 2.5rem 1rem; }
    .banner-item h2 { font-size: 1.5rem; }
    .banner-item p  { font-size: 0.9rem; margin-bottom: 1.5rem; }
    .btn-banner     { padding: 0.75rem 2rem; font-size: 0.88rem; }

    .main-content { padding: 1.5rem 1rem; }
    .section-title { font-size: 1.25rem; }

    /* Productos: 1 columna */
    .featured-products .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Info cards: 1 columna */
    .info-section .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Categorías: 1 columna */
    .categories-showcase .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Footer: 1 columna */
    .footer-col {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: var(--spacing-md);
    }

    .logo-img { height: 120px; }
    .logo-container { width: 160px; height: 60px; }

    .header-icons { gap: 1.2rem; }
    .icon-label { display: none !important; }

    .carousel-indicators button {
        width: 8px;
        height: 8px;
        border-radius: 50%;  /* ← forma circular = puntos */
    }
    .carousel-indicators button.active {
        width: 8px;          /* mismo ancho para que siga siendo círculo */
    }


}

/* ---- ≤ 380px ---- */
@media (max-width: 380px) {
    .banner-item h2 { font-size: 1.25rem; }
    .header-icons   { gap: 0.8rem; }
    .nav-link       { font-size: 0.82rem; }
}

/* Utilidades */
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.g-4 > * {
    padding-right: calc(var(--spacing-md) / 2);
    padding-left:  calc(var(--spacing-md) / 2);
}

/* ============================================================
   MOBILE HEADER — agrega esto al final de general.css
   Solo afecta < 1200px. Desktop queda intacto.
   ============================================================ */

   @media (max-width: 1199.98px) {

    /* Altura del header en móvil */
    .header-main {
        padding: 0 !important;
        margin: 0 !important;
    }
    .header-main > .container-fluid {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin: 0 !important;
    }
    .header-mobile {
        padding: 0 16px !important;
        margin: 0 !important;
        height: 85px !important;  /* Altura fija del header */
        min-height: 85px !important;
        max-height: 85px !important;
        overflow: visible !important;  /* Permite que el logo sobresalga */
        align-items: center;
    }
    

    /* Fila móvil: hamburger | logo | carrito */
    /* (Estilos fusionados en la definición anterior) */

    /* Logo centrado en móvil */
    .header-mobile .logo-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        overflow: visible;
        padding: 0;
    }
    .header-mobile .logo-img {
        height: 175px;
        width: auto;
        max-height: none;
        display: block;
        margin-top: 15px;
    }

    .search-dropdown {
        position: fixed;
        top: auto;
        left: 8px;
        right: 8px;
        max-height: 55vh;
        border-radius: 10px;
        z-index: 1060;
    }

    .search-result-name  { font-size: 0.88rem; white-space: normal; }
    .search-result-price { font-size: 0.85rem; }
    .search-result-item  { min-height: 58px; padding: 0.65rem 1rem; }
    .search-result-img   { width: 48px; height: 48px; }

    /* Hamburguesa móvil */
    .btn-hamburger {
        background: none;
        border: none;
        padding: 6px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        flex-shrink: 0;
    }
    .btn-hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--azul-marino);
        border-radius: 2px;
        transition: background 0.2s;
    }

    /* Ícono carrito móvil — solo ícono + badge, sin texto */
    .cart-icon-mobile {
        position: relative;
        display: flex;
        align-items: center;
        gap: 6px;
        color: var(--azul-marino);
        text-decoration: none;
        font-size: 1.3rem;
        flex-shrink: 0;
        padding: 4px;
    }
    .cart-icon-mobile:hover { color: var(--cian); }

    /* Badge sobre el ícono del carrito */
    .cart-icon-mobile .cart-badge {
        position: absolute;
        top: -4px;
        right: auto;
        left: 14px;
        background: var(--cian);
        color: var(--azul-marino);
        border-radius: 50%;
        min-width: 18px;
        height: 18px;
        font-size: 0.65rem;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #fff;
        line-height: 1;
        padding: 0 2px;
    }

    /* Navbar móvil: drawer vertical */
    .navbar-main {
        position: relative;
    }
    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--azul-profundo);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        z-index: 998;
        border-top: 2px solid var(--cian);
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.open {
        max-height: 85vh;
        overflow-y: auto;
    }
    .nav-menu > li {
        flex: none;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .nav-link {
        justify-content: flex-start;
        padding: 0.9rem 1.25rem;
        font-size: 0.88rem;
    }
    .nav-link::after { display: none; }

    /* Submenús en móvil */
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        background: rgba(0,0,0,0.2);
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.28s ease;
    }
    .nav-dropdown:hover .submenu {
        opacity: 1; visibility: visible;
        transform: none;
        max-height: 0;          /* deshabilitar hover en móvil */
    }
    .nav-dropdown.submenu-open .submenu {
        max-height: 400px;
    }
    .submenu a {
        color: rgba(255,255,255,0.75);
        padding: 0.55rem 1.5rem 0.55rem 2.5rem;
        font-size: 0.84rem;
    }
     .submenu a:hover {
         background: rgba(0,188,212,0.1);
         color: var(--cian);
         padding-left: 2.75rem;
     }

    /* =========================================
       PANEL LATERAL MÓVIL
       ========================================= */
    .side-panel-overlay {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .side-panel-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .side-panel {
        position: fixed;
        top: 0; left: -280px;
        width: 280px;
        height: 100vh;
        background: var(--azul-profundo);
        z-index: 1045;
        overflow-y: auto;
        overflow-x: hidden;        /* ← agregar esto */
        transition: left 0.3s ease;
        padding: 20px 0;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    }
    .side-panel.active {
        left: 0;
    }

    .side-panel-header {
        display: flex;
        justify-content: flex-end;
        padding: 0 20px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        margin-bottom: 20px;
    }
    .btn-close-panel {
        background: none;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0;
    }

    .side-panel-search {
        display: flex;
        margin: 0 10px 12px;       /* ← reducir margen de 20px a 16px */
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 4px;
        overflow: hidden;
    }

    .side-panel-search input {
        flex: 1;
        border: none;
        padding: 10px 15px;
        background: rgba(255,255,255,0.1);
        color: #fff;
        font-size: 0.9rem;
        border-radius: 4px 0 0 4px;   /* ← radio solo a la izquierda */
        outline: none;
    }


    .side-panel-search input::placeholder {
        color: rgba(255,255,255,0.5);
    }
    .btn-side-search {
        background: var(--cian);
        border: none;
        color: var(--azul-marino);
        padding: 0;
        cursor: pointer;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;               /* ← ancho fijo en vez de padding */
        min-width: 48px;
        flex-shrink: 0;
    }

    .side-panel-section {
        margin-bottom: 10px;
    }
    .side-panel-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        background: none;
        border: none;
        color: #fff;
        font-weight: 700;
        font-size: 0.9rem;
        padding: 15px 20px;
        cursor: pointer;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        text-align: left;
    }
    .side-panel-toggle i {
        transition: transform 0.3s;
    }
    .side-panel-toggle.active i {
        transform: rotate(180deg);
    }

    .side-panel-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: rgba(0,0,0,0.2);
    }
    .side-panel-content.open {
        max-height: none;
        overflow: visible;
    }


    .side-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .side-menu li a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 20px 12px 30px;
        color: rgba(255,255,255,0.8);
        text-decoration: none;
        font-size: 0.85rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        transition: all 0.2s;
    }
    .side-menu li a:hover {
        background: rgba(0,188,212,0.1);
        color: var(--cian);
        padding-left: 35px;
    }
    .side-menu li a i {
        width: 18px;
        text-align: center;
    }

    .side-dropdown > a {
        position: relative;
    }
    .side-submenu {
        list-style: none;
        padding: 0;
        margin: 0;
        background: rgba(0,0,0,0.15);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .side-dropdown.open .side-submenu {
        max-height: none;   
    }

    .side-submenu a {
        padding-left: 50px !important;
        font-size: 0.82rem;
        color: rgba(255,255,255,0.7);
    }
    .side-submenu a:hover {
        padding-left: 55px !important;
    }

    /* Desactivar el navbar-main en móvil */
    .navbar-main {
        display: none;
    }
    
}

@media (max-width: 767px) {
    .marcas-marquee {
        --marca-visible: 3;
        --marca-gap: 16px;
        --marca-speed: 38s;
    }
    .marca-item { height: 100px; }
    .marca-img { max-height: 90px; }
    .footer-social-mobile  { display: flex; gap: 0.5rem; margin-top: 0.5rem; margin-bottom: 0.5rem; justify-content: center;
        width: 100%;}
    .footer-social-desktop { display: none; }
}


@media (max-width: 576px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    #marcasCarousel {
        padding: 6px 0 14px;
    }
    .btn-ver-catalogo {
        width: 100%;
        text-align: center;
        white-space: normal; /* permite que el texto fluya si es necesario */
    }
}

@media (max-width: 400px) {
    .marcas-marquee {
        --marca-visible: 2;
        --marca-gap: 12px;
    }
    .marca-item { height: 86px; }
    .marca-img { max-height: 75px; }
}

/* ========================================
   FLOATING BUTTONS
   ======================================== */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.catalog-floating-buttons {
    bottom: 24px;
}

.float-btn {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,.3);
    transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
}

.float-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 22px rgba(0,0,0,.32);
}

.whatsapp-btn { background: #25D366; }
.whatsapp-btn i { color: #fff; font-size: 28px; }

.cart-float-btn {
    background: var(--azul-marino);
    border: 2px solid rgba(0, 188, 212, .9);
}

.cart-float-btn i {
    color: var(--cian);
    font-size: 25px;
}

.cart-float-btn .cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 21px;
    height: 21px;
    border-color: var(--azul-marino);
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.whatsapp-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff0040;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    animation: waPulse 2s ease-in-out infinite;
}

@keyframes waPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Tooltips */
.float-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: #1a1a2e;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    z-index: 1000;
}

.float-btn::before {
    content: '';
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    border: 6px solid transparent;
    border-left-color: #1a1a2e;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 1000;
}

.float-btn:hover::after,
.float-btn:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.floating-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity .3s ease;
}

/* ========================================
   CART DRAWER
   ======================================== */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1099;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.cart-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.22,1,.36,1);
    box-shadow: -4px 0 24px rgba(0,0,0,.12);
}

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

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 12px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.cart-drawer-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--azul-marino);
}

.cart-drawer-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    transition: color .15s ease, background .15s ease;
}

.cart-drawer-close:hover {
    color: #222;
    background: #f0f0f0;
}

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

.cart-drawer-empty {
    text-align: center;
    padding: 50px 20px;
    color: #999;
    font-size: 14px;
}

.cart-drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    transition: background .15s ease;
}

.cart-drawer-item:hover {
    background: #f8f9fa;
}

.cart-drawer-item-img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f0f0f0;
}

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

.cart-drawer-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-drawer-item-meta {
    font-size: 12px;
    color: #888;
    margin-top: 3px;
}

.cart-drawer-item-meta qty {
    font-weight: 600;
    color: #555;
}

.cart-drawer-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--azul-marino);
    white-space: nowrap;
}

.cart-drawer-item-remove {
    background: none;
    border: none;
    color: #ccc;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    border-radius: 50%;
    transition: color .15s ease, background .15s ease;
    flex-shrink: 0;
}

.cart-drawer-item-remove:hover {
    color: #e74c3c;
    background: rgba(231,76,60,.08);
}

.cart-drawer-footer {
    border-top: 1px solid #eee;
    padding: 16px 20px 20px;
    flex-shrink: 0;
}

.cart-drawer-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
    color: #555;
}

.cart-drawer-total-amount {
    font-size: 20px;
    font-weight: 800;
    color: var(--azul-marino);
}

.cart-drawer-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--azul-marino);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease;
}

.cart-drawer-btn:hover {
    background: #0f2a4a;
    color: #fff;
}

/* ========================================
   POPUP WHATSAPP
   ======================================== */
.joinchat__chatbox {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.22), 0 4px 16px rgba(37,211,102,.12);
    animation: jcPopIn .35s cubic-bezier(.34,1.56,.64,1) both;
    z-index: 1200;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.joinchat__chatbox.active { display: block; }

@keyframes jcPopIn {
    from { opacity: 0; transform: scale(.82) translateY(18px); }
    to   { opacity: 1; transform: scale(1)   translateY(0); }
}

/* Cabecera */
.joinchat__header {
    background: #25D366;
    display: flex;
    align-items: center;
    padding: 14px 16px;
    gap: 10px;
}

#joinchat__label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.joinchat__wa-icon { font-size: 22px; }

.joinchat__close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,.15);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: background .2s, transform .2s;
}

.joinchat__close:hover {
    background: rgba(0,0,0,.28);
}

.joinchat__close::before,
.joinchat__close::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 12px; height: 2px;
    background: #fff;
    border-radius: 2px;
}

.joinchat__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.joinchat__close::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* Cuerpo */
.joinchat__scroll {
    background-color: #e5ddd5;
}

.joinchat__content {
    padding: 20px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Burbuja */
.joinchat__chat { display: flex; }

.joinchat__bubble {
    background: #fff;
    border-radius: 4px 14px 14px 14px;
    padding: 12px 14px 8px;
    font-size: 14px;
    color: #303030;
    line-height: 1.55;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
    max-width: 90%;
    position: relative;
    animation: jcBubbleIn .4s .1s cubic-bezier(.34,1.56,.64,1) both;
}

.joinchat__bubble::before {
    content: '';
    position: absolute;
    top: 0; left: -9px;
    border-width: 0 10px 10px 0;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

@keyframes jcBubbleIn {
    from { opacity: 0; transform: translateY(10px) scale(.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.joinchat__sender {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #25D366;
    margin-bottom: 4px;
}

/* Botón Iniciar Chat */
.joinchat__open {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    padding: 12px 22px;
    align-self: flex-end;
    box-shadow: 0 4px 16px rgba(37,211,102,.4);
    transition: transform .2s ease, box-shadow .2s ease, background .2s;
    animation: jcBubbleIn .4s .3s cubic-bezier(.34,1.56,.64,1) both;
}

.joinchat__open:hover {
    background: #20bf5a;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 22px rgba(37,211,102,.5);
    color: #fff;
}

.joinchat__open__text { font-size: 14px; font-weight: 700; }

.joinchat__open__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.joinchat__open__icon .joinchat__pa {
    fill: #fff;
    transform-origin: center;
    animation: waPa 4s ease-in-out infinite;
}
.joinchat__open__icon .joinchat__pb {
    fill: #fff;
    transform-origin: center;
    animation: waPb 4s ease-in-out infinite;
}

@keyframes waPa {
    0%, 45% { opacity: 1; }
    55%, 100% { opacity: 0; }
}
@keyframes waPb {
    0%, 45% { opacity: 0; }
    55%, 100% { opacity: 1; }
}

@media (max-width: 576px) {
    .floating-buttons { right: 10px; bottom: 15px; gap: 8px; }
    .float-btn { width: 50px; height: 50px; }
    .float-btn i { font-size: 24px; }
    .cart-float-btn i { font-size: 22px; }
    .float-btn::after, .float-btn::before { display: none; }
    .whatsapp-badge { min-width: 16px; height: 16px; font-size: 10px; top: -3px; right: -3px; }
    .cart-float-btn .cart-badge { min-width: 18px; height: 18px; font-size: 10px; top: -4px; right: -4px; }
    .joinchat__chatbox { width: calc(100vw - 80px); max-width: 280px; right: 10px; bottom: 75px; }
}

/* =========================================
   HERO BANNER
   ========================================= */

@font-face{
    font-family:'Grindy Brush';
    src:url('../fonts/Grindy Brush.otf') format('opentype');
}

/* =========================
BANNER - CONTAINER
========================= */

.index-hero{
    position:relative;
    width:100%;
    height:clamp(520px, 72vh, 720px);
    min-height:520px;
    overflow:hidden;
    background:#000;
    font-family:'Montserrat',sans-serif;
}

.index-hero img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    transform:scale(1.04);
    filter:brightness(.74) contrast(1.08) saturate(1.05);
    will-change:transform;
}

.index-hero-overlay{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    background:
        linear-gradient(90deg, rgba(3,15,25,.88) 0%, rgba(3,15,25,.68) 34%, rgba(3,15,25,.18) 62%, rgba(3,15,25,.42) 100%),
        linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.06) 52%, rgba(0,0,0,.68) 100%);
    z-index:2;
}

.index-hero-content{
    position:relative;
    z-index:5;
    width:100%;
    max-width:1360px;
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    text-align:left;
    padding:4.5rem clamp(1.25rem, 5vw, 5rem) 7.8rem;
    margin:0 auto;
}

/* =========================
TITLE
========================= */

.index-hero-title{
    margin:0;
    line-height:.94;
    text-align:left;
    align-self:flex-start;
    width:min(100%, 760px);
}

.index-hero-title-main{
    display:block;
    width:auto;
    text-align:left;
    font-size:clamp(2.35rem, 4.3vw, 4.75rem);
    font-weight:900;
    color:#fff;
    letter-spacing:0;
    white-space:nowrap;
    word-break:keep-all;
    text-shadow:0 8px 30px rgba(0,0,0,.45);
}

.index-hero-title-gold{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:clamp(.45rem, 1.8vw, 1.15rem);
    margin-top:.3rem;
    font-family:'Grindy Brush',sans-serif;
    font-size:clamp(1.65rem, 3.15vw, 3.45rem);
    text-transform:uppercase;
    background:linear-gradient(180deg,#ffe27a 0%,#ffc400 40%,#ff9d00 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    transform:skew(-8deg);
    letter-spacing:2px;
    filter:drop-shadow(0 2px 0 rgba(0,0,0,.18)) drop-shadow(0 12px 25px rgba(255,170,0,.28));
}

.index-hero-title-gold .char{
    background:inherit;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}

.index-hero-title-gold::before,
.index-hero-title-gold::after{
    content:"";
    width:clamp(16px, 3vw, 46px);
    height:clamp(4px, .45vw, 7px);
    border-radius:999px;
    background:linear-gradient(90deg,#ffcf00,#ffb000);
}

/* =========================
DESCRIPTION
========================= */

.index-hero-description{
    max-width:460px;
    margin-top:1rem;
    font-size:clamp(.88rem, 1.05vw, 1.05rem);
    color:rgba(255,255,255,.86);
    line-height:1.65;
    font-weight:400;
    text-align:left;
    opacity:1;
    transform:none;
}

/* =========================
TAG
========================= */

.index-hero-tag{
    display:inline-flex;
    align-items:center;
    gap:.55rem;
    padding:.58rem 1.55rem;
    border-radius:5px;
    background:linear-gradient(135deg, #05c7df 0%, #02aeca 100%);
    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 14px 30px rgba(0,188,212,.28);
    color:#062131;
    font-size:clamp(.6rem, .78vw, .78rem);
    font-weight:900;
    letter-spacing:2px;
    margin-bottom:1.05rem;
    text-transform:uppercase;
    opacity:1;
    transform:none;
}

.index-hero-tag i{
    color:#062131;
}

/* =========================
BUTTON
========================= */

.index-hero .nos-cta-btn{
    margin-top:1.35rem;
    min-width:170px;
    justify-content:center;
    font-size:clamp(.76rem, .9vw, .92rem);
    padding:.78rem 1.6rem;
    border-radius:5px;
    opacity:1;
    transform:none;
}

/* =========================
CHAR (GSAP split)
========================= */

.char{
    display:inline-block;
    will-change:transform, opacity;
}

/* =========================
FEATURES
========================= */

.index-hero-features{
    position:absolute;
    left:50%;
    bottom:0;
    z-index:7;
    width:100%;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:clamp(.8rem, 2vw, 2.5rem);
    max-width:1360px;
    padding:1.15rem clamp(1.25rem, 5vw, 5rem) 1.45rem;
    transform:translateX(-50%);
    margin:0;
    border-top:1px solid rgba(255,255,255,.09);
    background:linear-gradient(180deg, rgba(2,13,22,0), rgba(2,13,22,.25));
}

.index-hero-feature{
    display:flex;
    align-items:center;
    gap:.85rem;
    color:rgba(255,255,255,.85);
    font-size:clamp(.65rem, .75vw, .8rem);
    padding:.45rem 0;
    border-right:none;
    min-width:0;
}

.index-hero-feature:last-child{
    border-right:none;
}

.index-hero-feature i{
    width:2.25rem;
    height:2.25rem;
    display:grid;
    place-items:center;
    font-size:clamp(1rem, 1.25vw, 1.35rem);
    color:var(--cian,#00BCD4);
    border:1px solid rgba(0,188,212,.45);
    border-radius:50%;
    background:rgba(0,188,212,.08);
    flex-shrink:0;
}

.index-hero-feature strong{
    display:block;
    font-size:clamp(.58rem, .66vw, .72rem);
    letter-spacing:1.2px;
    color:#fff;
    margin-bottom:2px;
    white-space:normal;
}

.index-hero-feature span{
    font-size:clamp(.57rem, .66vw, .72rem);
    color:rgba(255,255,255,.68);
    white-space:normal;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:992px){
    .index-hero{
        height:auto;
        min-height:680px;
    }

    .index-hero img{
        object-position:center center;
        filter:brightness(.66) contrast(1.06) saturate(1.04);
    }

    .index-hero-overlay{
        background:
            linear-gradient(90deg, rgba(3,15,25,.86) 0%, rgba(3,15,25,.58) 48%, rgba(3,15,25,.24) 100%),
            linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.54) 100%);
    }

    .index-hero-content{
        padding:4rem 2rem 8.5rem;
    }

    .index-hero-title-main{
        font-size:clamp(2.2rem, 7vw, 4rem);
    }

    .index-hero-title-gold{
        font-size:clamp(1.45rem, 5vw, 2.8rem);
    }

    .index-hero-description{
        max-width:420px;
    }

    .index-hero-features{
        grid-template-columns:1fr 1fr;
        gap:.7rem 1.4rem;
        padding:1rem 2rem 1.25rem;
    }

    .index-hero-feature{
        border:none;
        padding:.35rem 0;
    }
}

@media(max-width:768px){
    .index-hero{
        min-height:640px;
    }

    .index-hero-overlay{
        background:
            linear-gradient(180deg, rgba(3,15,25,.72) 0%, rgba(3,15,25,.42) 44%, rgba(3,15,25,.82) 100%);
    }

    .index-hero-content{
        align-items:center;
        justify-content:center;
        text-align:center;
        padding:3.5rem 1.25rem 8.2rem;
    }

    .index-hero-title{
        text-align:center;
        align-self:center;
        width:min(100%, 520px);
    }

    .index-hero-title-main{
        font-size:clamp(2.1rem, 9vw, 3.4rem);
        text-align:center;
        white-space:normal;
    }

    .index-hero-title-gold{
        justify-content:center;
        font-size:clamp(1.45rem, 7vw, 2.45rem);
        letter-spacing:1.5px;
        transform:skew(-8deg);
    }

    .index-hero-description{
        max-width:360px;
        width:100%;
        font-size:clamp(.82rem, 2.9vw, .95rem);
        margin-top:1rem;
        text-align:center;
    }

    .index-hero-tag{
        padding:.52rem 1rem;
        font-size:.62rem;
        letter-spacing:1.4px;
    }
}

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

    .index-hero-content{
        padding:3rem 1rem 12rem;
    }

    .index-hero-title-main{
        font-size:clamp(1.9rem, 10vw, 2.8rem);
    }

    .index-hero-title-gold{
        font-size:clamp(1.25rem, 7.5vw, 2rem);
    }

    .index-hero-description{
        max-width:330px;
        font-size:clamp(.78rem, 3.6vw, .88rem);
    }

    .index-hero .nos-cta-btn{
        font-size:.75rem;
        padding:.65rem 1.3rem;
        margin-top:1.2rem;
    }

    .index-hero-features{
        grid-template-columns:1fr;
        padding:.75rem 1.1rem 1rem;
        gap:.35rem;
    }

    .index-hero-feature i{
        width:1.9rem;
        height:1.9rem;
        font-size:.9rem;
    }

    .index-hero-feature strong{
        font-size:.58rem;
        letter-spacing:.7px;
    }

    .index-hero-feature span{
        font-size:.55rem;
    }
}

@media(max-width:375px){
    .index-hero-title-gold::before,
    .index-hero-title-gold::after{
        width:10px;
        height:3px;
    }

    .index-hero-description{
        font-size:clamp(.7rem, 3.5vw, .78rem);
    }

    .index-hero .nos-cta-btn{
        font-size:.7rem;
        padding:.55rem 1.1rem;
    }
}



  
