/* =========================================================
   NEXUSWATCH - FUENTES & ESTILOS GENERALES
========================================================= */
/* Importación de tipografías desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Syne:wght@700;800&display=swap');
:root {
/* Paleta de Colores Base */
--nw-black: #0b0d0f;
--nw-dark: #111418;
--nw-dark-2: #181c21;
--nw-white: #ffffff;
--nw-text: #f4f5f6;
--nw-muted: #969da5;
--nw-accent: #00a8ff;
--nw-border: rgba(255, 255, 255, 0.08);
--nw-font-heading: 'Syne', sans-serif;
--nw-font-body: 'Inter', sans-serif;
--nw-font-alt: 'Plus Jakarta Sans', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--nw-white);
    color: var(--nw-text);
    font-family: var(--nw-font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nexus-header {
    background: rgba(17, 20, 24, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--nw-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 2rem;
}

.nexus-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.nexus-nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nexus-navbar {
    background: rgba(11, 13, 15, 0.96);
    border-bottom: 1px solid var(--nw-border);
    padding: 18px 0;
    position: relative;
    z-index: 1000;
}

.nexus-logo {
    color: var(--nw-white) !important;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-decoration: none;
}

.nexus-logo span {
    color: var(--nw-accent);
}

.nexus-menu {
    gap: 8px;
}

.nexus-menu .nav-link {
    color: var(--nw-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px !important;
    transition: all 0.25s ease;
}

.nexus-menu .nav-link:hover, .nexus-menu .nav-link.active {
    color: var(--nw-white);
}

.nexus-menu .nav-link.active {
    position: relative;
}

.nexus-menu .nav-link.active::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;

    height: 2px;

    background: var(--nw-accent);

    border-radius: 10px;

}


/* =========================================================
   ACCIONES
========================================================= */

.nexus-actions {

    display: flex;

    align-items: center;

    gap: 6px;

}


.nexus-action-btn {

    width: 40px;

    height: 40px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    position: relative;

    border: 0;

    background: transparent;

    color: var(--nw-text);

    text-decoration: none;

    border-radius: 50%;

    transition: all 0.25s ease;

}


.nexus-action-btn:hover {

    background: var(--nw-dark-2);

    color: var(--nw-accent);

}


.nexus-action-btn i {

    font-size: 1.1rem;

}


.nexus-cart .cart-count {

    position: absolute;

    top: 1px;

    right: 0;

    min-width: 17px;

    height: 17px;

    padding: 0 4px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--nw-accent);

    color: #000;

    font-size: 0.65rem;

    font-weight: 700;

}


/* =========================================================
   BOTÓN MOBILE
========================================================= */

/* ==========================================================
   NEXUS TOGGLER - ULTRA MODERNO
========================================================== */

.nexus-toggler {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 15%);
    border-radius: 12px;
    background: rgb(255 255 255 / 8%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none !important;
    box-shadow: 0 4px 15px rgb(0 0 0 / 5%);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nexus-toggler:hover {
    background: var(--color-principal);
    border-color: var(--color-principal);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgb(181 161 137 / 30%);
}

.nexus-toggler:focus-visible {
    outline: 2px solid var(--color-principal) !important;
    outline-offset: 3px;
}

.nexus-toggler:active {
    transform: translateY(0) scale(0.96);
}

/* Oculta el ícono nativo de Bootstrap */
.nexus-toggler .navbar-toggler-icon {
    display: none;
}

/* Líneas del Menú Hamburguesa Personalizadas */
.nexus-toggler-bar {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.nexus-toggler-bar:nth-child(1) {
    transform: translateY(-6px);
}

.nexus-toggler-bar:nth-child(2) {
    transform: translateY(0);
}

.nexus-toggler-bar:nth-child(3) {
    transform: translateY(6px);
}

/* Cambio visual al estar sobre un fondo claro */
.nexus-toggler.light-theme .nexus-toggler-bar {
    background-color: var(--color-text-main);
}

/* Animación a 'X' cuando el menú se despliega (Clase de Bootstrap) */
.nexus-toggler:not(.collapsed) .nexus-toggler-bar:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.nexus-toggler:not(.collapsed) .nexus-toggler-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nexus-toggler:not(.collapsed) .nexus-toggler-bar:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}


/* =========================================================
   HERO TEMPORAL
========================================================= */

.hero-prueba {

    min-height: 500px;

    display: flex;

    align-items: center;

    background:

        radial-gradient(
            circle at 80% 30%,
            rgba(0, 168, 255, 0.14),
            transparent 35%
        ),

        var(--nw-black);

}


.hero-label {

    display: inline-block;

    margin-bottom: 18px;

    color: var(--nw-accent);

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 3px;

}


.hero-prueba h1 {

    max-width: 700px;

    font-size: clamp(2.8rem, 7vw, 5.5rem);

    line-height: 1;

    font-weight: 800;

    letter-spacing: -3px;

}


.hero-prueba h1 span {

    color: var(--nw-accent);

}


.hero-prueba p {

    max-width: 600px;

    margin-top: 25px;

    color: var(--nw-muted);

    font-size: 1.05rem;

}


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

@media (max-width: 991.98px) {

    .nexus-navbar {

        padding: 14px 0;

    }


    .navbar-collapse {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid var(--nw-border);
    }


    .nexus-menu {

        gap: 0;

    }


    .nexus-menu .nav-link {

        padding: 12px 0 !important;

    }


    .nexus-menu .nav-link.active::after {

        display: none;

    }


    .nexus-actions {

        margin-top: 12px;

        padding-top: 12px;

        border-top: 1px solid var(--nw-border);

    }

}


@media (max-width: 575.98px) {

    .hero-prueba {

        min-height: 450px;

    }


    .hero-prueba h1 {

        letter-spacing: -2px;

    }

}

/* =========================================================
   FOOTER
========================================================= */

.nexus-footer {
    padding: 70px 0 25px;
    background: var(--nw-dark);
    border-top: 1px solid var(--nw-border);
}

.nexus-footer-logo {
    color: var(--nw-white);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-decoration: none;
}

.nexus-footer-logo span {
    color: var(--nw-accent);
}


.nexus-footer-description {

    max-width: 300px;

    margin-top: 15px;

    color: var(--nw-muted);

    font-size: 0.9rem;

    line-height: 1.7;

}


.nexus-footer h5 {

    margin-bottom: 18px;

    color: var(--nw-white);

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.nexus-footer ul {

    margin: 0;

    padding: 0;

    list-style: none;

}


.nexus-footer li {

    margin-bottom: 10px;

}


.nexus-footer li a {

    color: var(--nw-muted);

    font-size: 0.85rem;

    text-decoration: none;

    transition: color 0.25s ease;

}


.nexus-footer li a:hover {

    color: var(--nw-white);

}


.nexus-footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 50px;

    padding-top: 25px;

    border-top: 1px solid var(--nw-border);

    color: var(--nw-muted);

    font-size: 0.75rem;

}


.nexus-social {

    display: flex;

    gap: 8px;

}


.nexus-social a {

    width: 35px;

    height: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--nw-muted);

    text-decoration: none;

    border: 1px solid var(--nw-border);

    border-radius: 50%;

    transition: all 0.25s ease;

}


.nexus-social a:hover {

    color: var(--nw-white);

    border-color: rgba(255, 255, 255, 0.2);

}


@media (max-width: 575.98px) {

    .nexus-footer {

        padding-top: 50px;

    }


    .nexus-footer-bottom {

        flex-direction: column;

        align-items: flex-start;

        margin-top: 35px;

    }

}

/* =========================================================
   HERO / CARRUSEL
========================================================= */

.nexus-hero {

    width: 100%;

    background: var(--nw-black);

    overflow: hidden;

}


.nexus-banner-link {

    display: block;

    position: relative;

    color: inherit;

    text-decoration: none;

}


.nexus-banner-image {

    display: block;

    width: 100%;

    height: auto;

    object-fit: contain;

}


/* =========================================================
   CONTENIDO DEL BANNER
========================================================= */

.nexus-banner-content {

    position: absolute;

    z-index: 2;

    max-width: 480px;

    margin: 0;

}

/* =========================================================
   ESTILO BASE DEL CONTENIDO DEL BANNER
========================================================= */
.carousel-item {
    position: relative; /* Asegura que absolute sea relativo al slide */
}
.nexus-banner-content {
    position: absolute;
    z-index: 10;
    width: auto;
    max-width: 80%; /* Para evitar que el texto se salga de la pantalla */
    box-sizing: border-box;
}


/* =========================================================
   POSICIONES
========================================================= */

/* ARRIBA */

.posicion-izquierda-arriba {

    top: 8%;
    left: 7%;

}

.posicion-centro-arriba {

    top: 8%;
    left: 50%;

    transform: translateX(-50%);

    text-align: center;

}

.posicion-derecha-arriba {

    top: 8%;
    right: 7%;

    text-align: right;

}


/* CENTRO */

.posicion-izquierda-centro {

    top: 50%;
    left: 7%;

    transform: translateY(-50%);

}

.posicion-centro {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* IZQUIERDA - CENTRO VERTICAL */
.posicion-izquierda-centro,
.posicion-izquierda {
    top: 50%;
    left: 7%;
    right: auto;
    bottom: auto;
    transform: translateY(-50%);
    text-align: left;
}

/* DERECHA - CENTRO VERTICAL */
.posicion-derecha-centro,
.posicion-derecha {
    top: 50%;
    right: 7%;
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
    text-align: right;
}

.posicion-derecha-centro {

    top: 50%;
    right: 7%;

    transform: translateY(-50%);

    text-align: right;

}


/* ABAJO */

.posicion-izquierda-abajo {

    bottom: 10%;
    left: 7%;

}

.posicion-centro-abajo {

    bottom: 10%;
    left: 50%;

    transform: translateX(-50%);

    text-align: center;

}

.posicion-derecha-abajo {

    bottom: 10%;
    right: 7%;

    text-align: right;

}


.nexus-banner-content h1 {

    margin-bottom: 15px;

    font-size: clamp(2rem, 4vw, 4.5rem);

    font-weight: 800;

    line-height: 1.05;

    letter-spacing: -2px;

}


.nexus-banner-content p {

    margin-bottom: 25px;

    color: var(--nw-muted);

    font-size: clamp(0.9rem, 1.3vw, 1.1rem);

}


.nexus-banner-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    background: #00A8FF;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 0;
    border-radius: var(--radius-main);
    text-decoration: none;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.nexus-banner-button:hover {
    background: #0095E0;
    color: #ffffff;
    transform: translateY(-1px);
}

.nexus-banner-button:focus-visible {
    outline: 2px solid var(--color-principal);
    outline-offset: 2px;
}

.nexus-banner-button:active {
    transform: translateY(0);
}

/* =========================================================
   CONTROLES
========================================================= */

.nexus-carousel-control {

    width: 7%;

}


.nexus-carousel-control .carousel-control-prev-icon,
.nexus-carousel-control .carousel-control-next-icon {

    width: 35px;

    height: 35px;

}


/* =========================================================
   INDICADORES
========================================================= */

.nexus-hero .carousel-indicators {

    z-index: 5;

}


.nexus-hero .carousel-indicators button {

    width: 30px;

    height: 3px;

    margin: 0 4px;

    border: 0;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    @media (max-width: 767.98px) {

    .nexus-banner-content {

        max-width: 85%;

    }


    .nexus-banner-content h1 {

        margin-bottom: 10px;

        font-size: 1.8rem;

        letter-spacing: -1px;

    }


    .nexus-banner-content p {

        margin-bottom: 15px;

        font-size: 0.8rem;

    }


    .nexus-banner-button {

        padding: 9px 16px;

        font-size: 0.7rem;

    }


    /*
     * Ajustamos las posiciones para móvil
     */

    .posicion-izquierda-arriba {

        top: 8%;
        left: 6%;

    }


    .posicion-centro-arriba {

        top: 8%;
        left: 50%;

    }


    .posicion-derecha-arriba {

        top: 8%;
        right: 6%;

    }


    .posicion-izquierda-centro {

        left: 6%;

    }


    .posicion-derecha-centro {

        right: 6%;

    }


    .posicion-izquierda-abajo {

        bottom: 12%;
        left: 6%;

    }


    .posicion-centro-abajo {

        bottom: 12%;
        left: 50%;

    }


    .posicion-derecha-abajo {

        bottom: 12%;
        right: 6%;

    }

}

    .nexus-carousel-control {

        width: 12%;

    }


    .nexus-carousel-control .carousel-control-prev-icon,
    .nexus-carousel-control .carousel-control-next-icon {

        width: 25px;

        height: 25px;

    }

}

/* =========================================================
   PRODUCTOS
========================================================= */

.productos-grid {

    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 24px;

}


/* =========================================================
   TARJETA
========================================================= */

.producto-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.02), 0 1px 2px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.producto-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
}

/* =========================================================
   IMAGEN
========================================================= */

.producto-card-image {
    position: relative;
    width: 100%;
    background-color: #f8fafc;
    overflow: hidden;
}

.producto-imagen-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.producto-imagen {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Zoom suave y sostenido en hover */
.producto-card:hover .producto-imagen {
    transform: scale(1.06);
}

/* =========================================================
   BADGES
========================================================= */

.producto-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 6px;
    background-color: #0f172a;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.producto-condicion {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 4px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px); /* Efecto cristal sutil */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}    font-weight: 700;

}


/* =========================================================
   STOCK
========================================================= */

.producto-stock {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Estado: Agotado */
.producto-stock.producto-agotado {
    border: 1px solid rgba(226, 232, 240, 0.8);
    background-color: rgba(255, 255, 255, 0.9);
    color: #64748b;
}

/* Estado: Pocas Unidades / En Stock (Opcionales) */
.producto-stock.producto-pocas-unidades {
    border: 1px solid rgba(254, 202, 202, 0.6);
    background-color: rgba(254, 242, 242, 0.9);
    color: #dc2626;
}


/* =========================================================
   BODY
========================================================= */

.producto-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 16px;
}

.producto-marca {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.producto-nombre {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
}

.producto-nombre a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;

    /* Limita el título a máximo 2 líneas para mantener alineada la grilla */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.producto-nombre a:hover {
    color: #2563eb;
}

.producto-modelo {
    display: block;
    margin-top: 2px;
    color: #94a3b8;
    font-size: 0.72rem;
}

/* Alinea los precios al final del contenedor */
.producto-precio {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    padding-top: 12px;
}

.producto-precio-anterior {
    color: #94a3b8;
    font-size: 0.75rem;
    text-decoration: line-through;
}

.producto-precio-actual {
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 800;
}


/* =========================================================
   BOTÓN
========================================================= */
.producto-card-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
    padding: 10px 16px;
    border: 1px solid #0f172a;
    border-radius: 6px;
    background-color: #111418;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.producto-card-button:hover {
    background-color: #ffffff;
    color: #0f172a;
    border-color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.producto-card-button:active {
    transform: scale(0.98);
}
/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .productos-grid {

        grid-template-columns: repeat(3, minmax(0, 1fr));

        gap: 18px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .productos-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 10px;

    }


    .producto-imagen {

        padding: 12px;

    }


    .producto-card-body {

        padding: 12px;

    }


    .producto-marca {

        font-size: 0.58rem;

    }


    .producto-nombre {

        font-size: 0.82rem;

    }


    .producto-modelo {

        font-size: 0.68rem;

    }


    .producto-precio {

        margin-top: 10px;

    }


    .producto-precio-actual {

        font-size: 0.95rem;

    }


    .producto-card-button {

        margin-top: 12px;

        padding: 9px 8px;

        font-size: 0.62rem;

    }


    .producto-badge,
    .producto-condicion {

        top: 7px;

        padding: 4px 6px;

        font-size: 0.55rem;

    }


    .producto-badge {

        left: 7px;

    }


    .producto-condicion {

        right: 7px;

    }


    .producto-stock {

        bottom: 7px;

        left: 7px;

        font-size: 0.55rem;

    }

}

/* =========================================================
   SECCIÓN PRODUCTOS DESTACADOS
========================================================= */

/* =========================================================
   PRODUCTOS DESTACADOS (DESKTOP FIXED)
========================================================= */

.productos-destacados {
    padding: 30px 0;
    background: #ffffff;
}

.seccion-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.seccion-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #777777;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.seccion-header h2 {
    margin: 0;
    color: #111418;
    font-size: 2.5rem; /* Tamaño fijo sin función clamp responsive */
    font-weight: 800;
    letter-spacing: -1px;
}

.seccion-link {
    color: #111418;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    border-bottom: 1px solid #111418;
    padding-bottom: 4px;
}

.productos-vacio {
    padding: 50px 20px;
    text-align: center;
    border: 1px solid #eeeeee;
    color: #777777;
}

@media (max-width: 767.98px) {

    .productos-destacados {

        padding: 55px 0;

    }


    .seccion-header {

        align-items: flex-start;

        margin-bottom: 22px;

    }


    .seccion-header h2 {

        font-size: 1.5rem;

    }


    .seccion-link {

        font-size: 0.65rem;

        white-space: nowrap;

    }

}
/* =========================================================
   CATEGORÍAS (MODERNO & DESKTOP FIXED)
========================================================= */

.categorias-seccion {
    padding: 30px 0;
    background: #fafafa;
}

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

/* =========================================================
   TARJETA CATEGORÍA
========================================================= */

.categoria-card {
    position: relative;
    display: block;
    height: 440px;
    overflow: hidden;
    border-radius: 16px;
    background: #111418;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.categoria-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.categoria-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.categoria-card:hover .categoria-card-image {
    transform: scale(1.06);
}

/* =========================================================
   PLACEHOLDER
========================================================= */

.categoria-card-placeholder {
    width: 100%;
    height: 100%;
    background: #e4e4e7;
}

/* =========================================================
   OVERLAY & CONTENIDO
========================================================= */

.categoria-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 32px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0) 100%
    );
    transition: background 0.4s ease;
}

.categoria-card:hover .categoria-card-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.45) 55%,
        rgba(0, 0, 0, 0.05) 100%
    );
}

.categoria-card-content {
    width: 100%;
}

.categoria-card-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
}

.categoria-card-content h3 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.1;
}

.categoria-card-content p {
    max-width: 350px;
    margin: 10px 0 18px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

/* =========================================================
   FLECHA / BOTÓN DE ACCIÓN
========================================================= */

.categoria-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.05rem;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.categoria-card:hover .categoria-card-arrow {
    background: #ffffff;
    color: #111418;
    border-color: #ffffff;
    transform: translateX(4px);
}

@media (max-width: 767.98px) {

    .categorias-seccion {

        padding: 55px 0;

    }


    .categorias-grid {

        grid-template-columns: 1fr;

        gap: 10px;

    }


    .categoria-card {

        height: 300px;

    }


    .categoria-card-overlay {

        padding: 22px;

    }


    .categoria-card-content h3 {

        font-size: 1.7rem;

    }

}

/* =========================================================
   TECNOLOGÍA PARA TU RENDIMIENTO (DESKTOP FIXED)
========================================================= */

.rendimiento-seccion {
    padding: 30px 0;
    background: #111418;
    color: #ffffff;
}

.rendimiento-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 80px;
}

/* =========================================================
   IMAGEN
========================================================= */

.rendimiento-imagen-wrapper {
    position: relative;
    overflow: hidden;
}

.rendimiento-imagen {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.rendimiento-imagen-wrapper:hover .rendimiento-imagen {
    transform: scale(1.03);
}

/* =========================================================
   CONTENIDO
========================================================= */

.rendimiento-contenido {
    max-width: 480px;
}

.rendimiento-contenido .seccion-eyebrow {
    color: #999999;
}

.rendimiento-contenido h2 {
    margin: 0 0 25px;
    font-size: 3.2rem; /* Tamaño fijo optimizado para escritorio sin clamp */
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.rendimiento-contenido p {
    margin: 0 0 16px;
    color: #bcbcbc;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* =========================================================
   BOTÓN (CORREGIDO PARA FONDO OSCURO)
========================================================= */

.rendimiento-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.rendimiento-button span {
    display: inline-block;
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.25s ease;
}

.rendimiento-button:hover {
    border-color: #ffffff;
    background-color: #ffffff;
    color: #111418;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.rendimiento-button:hover span {
    transform: translateX(5px);
}

.rendimiento-button:active {
    transform: scale(0.98);
}
@media (max-width: 991.98px) {

    .rendimiento-grid {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .rendimiento-contenido {

        max-width: 650px;

    }

}


@media (max-width: 767.98px) {

    .rendimiento-seccion {

        padding: 60px 0;

    }


    .rendimiento-grid {

        gap: 30px;

    }


    .rendimiento-imagen {

        aspect-ratio: 4 / 3;

    }


    .rendimiento-contenido h2 {

        margin-bottom: 20px;

        font-size: 2rem;

    }


    .rendimiento-contenido p {

        font-size: 0.85rem;

        line-height: 1.7;

    }


    .rendimiento-button {

        width: 100%;

        justify-content: center;

    }

}

/* =========================================================
   BENEFICIOS (MODERNO - DESKTOP FIXED)
========================================================= */

.beneficios-seccion {
    padding: 30px 0;
    background: #fafafa;
}

.beneficios-header {
    margin-bottom: 50px;
    text-align: left;
}

.beneficios-header h2 {
    max-width: 600px;
    margin: 0;
    color: #111418;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1.2px;
}

/* =========================================================
   GRID & TARJETAS MODERNAS
========================================================= */

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

.beneficio-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
}

.beneficio-item:hover {
    transform: translateY(-4px);
    border-color: #d1d1d1;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

/* =========================================================
   ICONO MODERNO
========================================================= */

.beneficio-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    background: #f4f4f5;
    border: 1px solid #e4e4e7;
    border-radius: 12px;
    color: #111418;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.beneficio-icono i {
    font-size: 1.25rem;
}

.beneficio-item:hover .beneficio-icono {
    background: #111418;
    border-color: #111418;
    color: #ffffff;
}

/* =========================================================
   TEXTO Y TIEMPO
========================================================= */

.beneficio-item h3 {
    margin: 0 0 8px;
    color: #111418;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.beneficio-item p {
    margin: 0;
    color: #666666;
    font-size: 0.82rem;
    line-height: 1.6;
}

@media (max-width: 991.98px) {

    .beneficios-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }


    .beneficio-item {

        border-bottom: 1px solid #e8e8e8;

    }


    .beneficio-item:nth-child(2) {

        border-right: none;

    }


    .beneficio-item:nth-child(3),
    .beneficio-item:nth-child(4) {

        border-bottom: none;

    }


    .beneficio-item:nth-child(3) {

        padding-left: 0;

    }


    .beneficio-item:nth-child(4) {

        padding-right: 0;

    }

}


@media (max-width: 767.98px) {

    .beneficios-seccion {

        padding: 60px 0;

    }


    .beneficios-header {

        margin-bottom: 30px;

    }


    .beneficios-grid {

        grid-template-columns: 1fr;

    }


    .beneficio-item,
    .beneficio-item:first-child,
    .beneficio-item:last-child {

        padding: 22px 0;

        border-right: none;

        border-bottom: 1px solid #e8e8e8;

    }


    .beneficio-item:last-child {

        border-bottom: none;

    }

}

/* =========================================================
   CATÁLOGO
========================================================= */

.catalogo-header {
    padding: 30px 0 15px;
    background: #f7f7f7;
}

.catalogo-header h1 {
    margin: 0;
    color: #111418;
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -1.5px;
}

.catalogo-header p {
    max-width: 600px;
    margin: 5px 0 0;
    color: #777777;
    font-size: 0.9rem;
    line-height: 1.7;
}


/* =========================================================
   SECCIÓN
========================================================= */

.catalogo-seccion {
    padding: 10px 0 30px;
    background: #f7f7f7;    
}


/* =========================================================
   TOOLBAR
========================================================= */

.catalogo-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.catalogo-busqueda {
    flex: 1;
    max-width: 550px;
}

.catalogo-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.catalogo-search-wrapper i {
    position: absolute;
    left: 16px;
    color: #64748b;
    font-size: 0.9rem;
    pointer-events: none;
    transition: color 0.2s ease;
}

.catalogo-search-wrapper input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 44px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
    color: #0f172a;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.catalogo-search-wrapper input::placeholder {
    color: #94a3b8;
}

/* Cambio de color del ícono y sombra al hacer focus */
.catalogo-search-wrapper input:focus {
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.catalogo-search-wrapper input:focus + i {
    color: #0f172a;
}

/* =========================================================
   ORDEN
========================================================= */

.catalogo-orden {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalogo-orden label {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.catalogo-select {
    height: 48px;
    min-width: 200px;
    padding: 0 40px 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
    /* Flecha desplegable personalizada en SVG */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%20f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.catalogo-select:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

.catalogo-select:focus {
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}


/* =========================================================
   CATEGORÍAS
========================================================= */

.catalogo-categorias {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
    scroll-behavior: smooth;
    /* Oculta la barra de scroll conservando el desplazamiento */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.catalogo-categorias::-webkit-scrollbar {
    display: none;
}

.catalogo-categorias a {
    flex-shrink: 0;
    padding: 8px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background-color: #ffffff;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.catalogo-categorias a:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
    color: #0f172a;
}

.catalogo-categorias a.activo {
    border-color: #0f172a;
    background-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.15);
}


/* =========================================================
   RESULTADOS
========================================================= */

.catalogo-resultados {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
}

.catalogo-resultados span {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 500;
}

.catalogo-resultados span strong {
    color: #0f172a;
    font-weight: 700;
}

/* =========================================================
   SIN RESULTADOS
========================================================= */

.catalogo-vacio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 520px;
    margin: 40px auto;
    padding: 60px 24px;
    border: 1px dashed #e2e8f0;
    border-radius: 16px;
    background-color: #f8fafc;
    text-align: center;
}

.catalogo-vacio > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 1.75rem;
}

.catalogo-vacio h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.catalogo-vacio p {
    max-width: 360px;
    margin: 8px 0 24px;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.5;
}

@media (max-width: 767.98px) {

    .catalogo-header {

        padding: 45px 0 30px;

    }


    .catalogo-seccion {

        padding: 30px 0 60px;

    }


    .catalogo-toolbar {

        align-items: stretch;

        flex-direction: column;

        gap: 12px;

    }


    .catalogo-busqueda {

        max-width: none;

    }


    .catalogo-orden {

        justify-content: space-between;

    }


    .catalogo-select {

        flex: 1;

        min-width: 0;

    }


    .catalogo-categorias {

        margin-right: -12px;

        margin-left: -12px;

        padding-right: 12px;

        padding-left: 12px;

    }


    .catalogo-resultados {

        padding: 15px 0;

    }

}

/* =========================================================
   PRODUCTO - DETALLE
========================================================= */

.producto-detalle {

    padding: 30px 0 100px;

    background: #ffffff;

    color: #111418;

}

/* =========================================================
   FONDO PÁGINA PRODUCTO
========================================================= */

.producto-detalle,
.producto-detalle-grid,
.producto-informacion,
.producto-descripcion-completa {

    background: #ffffff;

}


/* =========================================================
   BREADCRUMB
========================================================= */

.producto-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 4px;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Oculta scrollbar en Firefox */
}

.producto-breadcrumb::-webkit-scrollbar {
    display: none; /* Oculta scrollbar en Chrome/Safari */
}

.producto-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.producto-breadcrumb a:hover {
    color: #0f172a;
}

/* Estilo para el producto actual / último elemento */
.producto-breadcrumb span:last-child,
.producto-breadcrumb .active {
    color: #0f172a;
    font-weight: 600;
}


/* =========================================================
   GRID
========================================================= */

.producto-detalle-grid {
    display: grid;
    /* Proporción balanceada: Galería ligeramente más ancha que la columna de compra */
    grid-template-columns: 1.1fr 0.9fr;
    /* Gap fluido: oscila entre 32px en pantallas pequeñas y 64px en monitores amplios */
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}


/* =========================================================
   GALERÍA
========================================================= */

.producto-galeria {
    min-width: 0;
    width: 100%;
}

.producto-imagen-principal-wrapper {
    position: relative;
    width: 100%;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.02);
}

.producto-imagen-principal {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 32px;
    transition: transform 0.3s ease;
}

.producto-miniaturas {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-bottom: 4px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Oculta scrollbar en Firefox */
}

.producto-miniaturas::-webkit-scrollbar {
    display: none; /* Oculta scrollbar en Chrome/Safari */
}

.producto-miniatura {
    flex-shrink: 0;
    width: 76px;
    height: 76px;
    padding: 6px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.producto-miniatura:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
    transform: translateY(-2px);
}

.producto-miniatura.activo {
    border-color: #0f172a;
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.1);
}

.producto-miniatura img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

/* =========================================================
   INFORMACIÓN
========================================================= */

.producto-informacion {
    padding-top: 10px;
}

.producto-informacion h1 {
    margin: 0;
    color: #111418 !important;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.producto-detalle-modelo {
    display: block;
    margin-top: 12px;
    color: #555555;
    font-size: 0.85rem;
}

.producto-sku {
    display: block;
    margin-top: 6px;
    color: #888888;
    font-size: 0.65rem;
}


/* =========================================================
   PRECIO
========================================================= */

.producto-detalle-precio {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border, #e2e8f0);
}

.producto-detalle-precio .precio-actual {
    color: var(--color-text-main, #0f172a);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.producto-detalle-precio .precio-anterior {
    color: var(--color-text-light, #94a3b8);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: line-through;
}

/* Badge de porcentaje ahorrado */
.producto-detalle-precio .porcentaje-descuento {
    padding: 4px 8px;
    border-radius: 6px;
    background-color: var(--color-danger-bg, #fef2f2);
    color: var(--color-danger, #ef4444);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* =========================================================
   DISPONIBILIDAD
========================================================= */

.producto-disponibilidad {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Estado: Disponible */
.producto-disponibilidad.en-stock {
    color: #059669;
}

.producto-disponibilidad.en-stock::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: pulso-stock 2s infinite;
}

/* Estado: Agotado */
.producto-disponibilidad.agotado {
    color: #dc2626;
}

.producto-disponibilidad.agotado::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ef4444;
}

@keyframes pulso-stock {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}


/* =========================================================
   DESCRIPCIÓN CORTA
========================================================= */

.producto-descripcion-corta {
    margin-top: 20px;
    color: var(--color-text-muted, #4b5563);
    font-size: 0.875rem;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.producto-descripcion-corta p {
    margin-bottom: 8px;
}

.producto-descripcion-corta p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   CANTIDAD
========================================================= */

.producto-cantidad {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
}

.producto-cantidad > span {
    color: #555555;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cantidad-control {
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden; /* Mantiene bordes limpios en los botones extremos */
}

.cantidad-control button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: #ffffff;
    color: #111418;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cantidad-control button:hover {
    background: #f5f5f5;
}

.cantidad-control button:active {
    background: #eebbbb; /* Efecto presionado */
}

.cantidad-control input {
    width: 45px;
    height: 40px;
    border: none;
    border-right: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
    background: #ffffff;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111418;
    outline: none;
    -moz-appearance: textfield; /* Oculta controles nativos en Firefox */
}

/* Oculta flechas nativas en Chrome, Safari, Edge */
.cantidad-control input::-webkit-outer-spin-button,
.cantidad-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* =========================================================
   AGREGAR CARRITO
========================================================= */

.producto-agregar-carrito {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    margin-top: 18px;
    border: 1px solid #111418;
    border-radius: 4px; /* Suaviza ligeramente las esquinas */
    background-color: #111418;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease, border-color 0.2s ease;
}

/* Hover solo si el botón NO está deshabilitado */
.producto-agregar-carrito:hover:not(:disabled) {
    background-color: #ffffff;
    color: #111418;
}

/* Micro-interacción al hacer clic */
.producto-agregar-carrito:active:not(:disabled) {
    transform: scale(0.99);
}

/* Accesibilidad con teclado */
.producto-agregar-carrito:focus-visible {
    outline: 2px solid #111418;
    outline-offset: 2px;
}

/* Estado Agotado / Deshabilitado */
.producto-agregar-carrito:disabled {
    background-color: #e5e5e5;
    border-color: #e5e5e5;
    color: #a1a1a1;
    cursor: not-allowed;
    opacity: 1;
}


.producto-agotado-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 25px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background-color: #f5f5f5;
    color: #999999;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    cursor: not-allowed;
    user-select: none; /* Evita selección accidental de texto al hacer clic */
}


/* =========================================================
   DESCRIPCIÓN COMPLETA
========================================================= */

.producto-descripcion-completa {
    max-width: 850px;
    margin: clamp(40px, 8vw, 80px) auto 0; /* Margen responsivo y centrado */
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.producto-descripcion-header h2 {
    margin: 0;
    color: #111418;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.producto-descripcion-texto {
    margin-top: 24px;
    color: #4b5563;
    font-size: 0.925rem;
    line-height: 1.7;
}

/* Manejo de elementos internos dentro de la descripción */
.producto-descripcion-texto p {
    margin-bottom: 16px;
}

.producto-descripcion-texto p:last-child {
    margin-bottom: 0;
}

.producto-descripcion-texto img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* =========================================================
   404
========================================================= */

.producto-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 560px;
    margin: 40px auto;
    padding: 60px 24px;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    text-align: center;
}

.producto-404-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 4px 12px;
    border-radius: 20px;
    background-color: #fef2f2;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.producto-404 i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: #f8fafc;
    color: #64748b;
    font-size: 2rem;
}

.producto-404 h1 {
    margin: 0;
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.producto-404 p {
    max-width: 380px;
    margin: 10px 0 28px;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.producto-404 .btn-404 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    background-color: #0f172a;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.producto-404 .btn-404:hover {
    background-color: #1e293b;
    transform: translateY(-1px);
}
@media (max-width: 991.98px) {

    .producto-detalle-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }


    .producto-informacion {

        padding-top: 0;

    }


    .producto-informacion h1 {

        font-size: 2.4rem;

    }

}


@media (max-width: 767.98px) {

    .producto-detalle {

        padding: 20px 0 60px;

    }


    .producto-breadcrumb {

        margin-bottom: 20px;

    }


    .producto-imagen-principal {

        padding: 25px;

    }


    .producto-miniatura {

        width: 65px;

        height: 65px;

    }


    .producto-informacion h1 {

        font-size: 2rem;

    }


    .producto-detalle-precio {

        margin-top: 20px;

        padding-top: 20px;

    }


    .producto-detalle-precio .precio-actual {

        font-size: 1.5rem;

    }


    .producto-descripcion-completa {

        margin-top: 60px;

        padding-top: 35px;

    }


    .producto-descripcion-header h2 {

        font-size: 1.4rem;

    }

}
/* =========================================================
   SWEETALERT2 - NEXUSWATCH
========================================================= */

.nexus-alert {
    padding: 24px 28px;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    background-color: #f9f9f9;
}

.nexus-alert .nexus-alert-title {
    margin: 0 0 8px 0;
    color: #111418;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.nexus-alert .nexus-alert-text {
    margin: 0;
    color: #555555;
    font-size: 0.875rem; /* Subido ligeramente para mejor legibilidad */
    line-height: 1.6;
}


.nexus-alert-confirm {
    margin-right: 6px;
    min-width: 160px;
    min-height: 44px;
    padding: 0 24px;
    border: none !important;
    border-radius: 8px !important;
    background-color: #0f172a !important;
    color: #ffffff !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.2);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nexus-alert-confirm:hover {
    background-color: #1e293b !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px -2px rgba(15, 23, 42, 0.3);
}

.nexus-alert-confirm:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px -1px rgba(15, 23, 42, 0.2);
}

.nexus-alert-cancel {
    margin-left: 6px;
    min-width: 140px;
    min-height: 44px;
    padding: 0 24px;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background-color: #f8fafc !important;
    color: #475569 !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nexus-alert-cancel:hover {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

.nexus-alert-cancel:active {
    transform: translateY(0);
    background-color: #e2e8f0 !important;
}

/* =========================================================
   TOAST
========================================================= */

.nexus-toast {

    border-radius: 0 !important;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.12) !important;

}


.nexus-toast-title {

    color: #111418 !important;

    font-size: 0.75rem !important;

    font-weight: 700 !important;

}

@media (max-width: 575.98px) {

    .nexus-alert {

        width: calc(100% - 30px) !important;

        padding: 25px 20px !important;

    }


    .nexus-alert-confirm,
    .nexus-alert-cancel {

        width: 100%;

        margin: 5px 0 !important;

    }

}

/* =========================================================
   CARRITO
========================================================= */

.pagina-carrito {

    background: #ffffff;

    color: #111418;

    min-height: 70vh;

}


/* =========================================================
   HEADER
========================================================= */

.carrito-header {
    padding: 30px 0 15px;
    border-bottom: 2px solid #eeeeee;
}

.carrito-overline {
    display: block;
    margin-bottom: 12px;
    color: #777777;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.carrito-header h1 {
    margin: 0;
    color: #111418;
    font-size: clamp(1.5rem, 3vw, 3.0rem);
    font-weight: 800;
    letter-spacing: -1.5px;

}

.carrito-header p {
    margin: 12px 0 0;
    color: #777777;
    font-size: 0.8rem;
}


/* =========================================================
   CONTENIDO
========================================================= */

.carrito-contenido {

    padding: 50px 0 100px;

}


/* =========================================================
   PRODUCTO
========================================================= */

.carrito-producto {

    position: relative;

    display: grid;

    grid-template-columns: 150px 1fr auto;

    gap: 25px;

    padding: 0 0 30px;

    margin-bottom: 30px;

    border-bottom: 1px solid #eeeeee;

}


.carrito-producto-imagen {

    width: 150px;

    height: 150px;

    background: #f7f7f7;

    overflow: hidden;

}


.carrito-producto-imagen img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    padding: 15px;

    transition: transform 0.3s ease;

}


.carrito-producto-imagen:hover img {

    transform: scale(1.04);

}


/* =========================================================
   INFORMACIÓN
========================================================= */

.carrito-producto-marca {

    display: block;

    margin-bottom: 7px;

    color: #777777;

    font-size: 0.6rem;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;

}


.carrito-producto-info h2 {

    margin: 0;

    font-size: 1.05rem;

    font-weight: 700;

}


.carrito-producto-info h2 a {

    color: #111418;

    text-decoration: none;

}


.carrito-producto-sku {

    display: block;

    margin-top: 6px;

    color: #999999;

    font-size: 0.6rem;

}


.carrito-producto-precio {

    margin-top: 18px;

    color: #111418;

    font-size: 1rem;

    font-weight: 700;

}


/* =========================================================
   ACCIONES
========================================================= */

.carrito-producto-acciones {

    display: flex;

    align-items: center;

    gap: 25px;

    margin-top: 20px;

}


.carrito-cantidad {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
    padding: 2px;
}


.btn-cantidad {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #f8fafc;
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease-in-out;
}

.btn-cantidad:hover:not(:disabled) {
    background-color: #e2e8f0;
    color: #000000;
    border-color: #cbd5e1;
}

.btn-cantidad:active:not(:disabled) {
    transform: scale(0.92);
}

.btn-cantidad:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background-color: #f1f5f9;
    border-color: #e2e8f0;
}

.cantidad-valor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 36px;
    text-align: center;
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    user-select: none;
}


.carrito-eliminar {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    margin: -6px -8px; /* Compensa el padding para mantener alineación */
    border: none;
    border-radius: 4px;
    background: transparent;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.carrito-eliminar:hover {
    color: #ef4444; /* Rojo semántico para eliminar */
    background-color: #fef2f2; /* Fondo suave para confirmar área activa */
}

.carrito-eliminar:active {
    transform: scale(0.95);
}


/* =========================================================
   TOTAL PRODUCTO
========================================================= */

.carrito-producto-total {

    color: #111418;

    font-size: 0.95rem;

    font-weight: 700;

    white-space: nowrap;

}


/* =========================================================
   VACIAR
========================================================= */

.carrito-vaciar-container {
    text-align: right;
    margin-bottom: 12px;
}

.carrito-vaciar {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    margin-right: -8px; /* Compensa el padding para mantener alineación con el borde */
    border: none;
    border-radius: 4px;
    background: transparent;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.carrito-vaciar:hover {
    color: #dc2626; /* Rojo sutil en hover */
    background-color: #fef2f2;
}

.carrito-vaciar:active {
    transform: scale(0.96);
}


/* =========================================================
   RESUMEN
========================================================= */

.carrito-resumen {

    position: sticky;

    top: 30px;

    padding: 30px;

    background: #f7f7f7;

}


.carrito-resumen h2 {

    margin: 0 0 30px;

    color: #111418;

    font-size: 1rem;

    font-weight: 800;

}


.carrito-resumen-linea {

    display: flex;

    justify-content: space-between;

    padding: 12px 0;

    color: #666666;

    font-size: 0.7rem;

}


.carrito-resumen-total {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 15px;

    padding-top: 20px;

    border-top: 1px solid #dddddd;

}


.carrito-resumen-total span {

    color: #111418;

    font-size: 0.75rem;

    font-weight: 700;

}


.carrito-resumen-total strong {

    color: #111418;

    font-size: 1.3rem;

    font-weight: 800;

}


/* =========================================================
   BOTÓN
========================================================= */

.btn-nexus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 32px;
    border: none;
    border-radius: 8px;
    background-color: #111418;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-nexus:hover {
    background-color: #222222;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.btn-nexus:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-nexus-full {
    width: 100%;
    margin-top: 25px;
}

.carrito-seguir-comprando {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 18px;
    padding-bottom: 2px;
    color: #52525b;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.carrito-seguir-comprando::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: #09090b;
    transition: all 0.25s ease;
    transform: translateX(-50%);
}

.carrito-seguir-comprando:hover {
    color: #09090b;
}

.carrito-seguir-comprando:hover::after {
    width: 60%;
}


/* =========================================================
   CARRITO VACÍO
========================================================= */

.carrito-vacio {
    max-width: 480px;
    margin: 40px auto;
    padding: 60px 24px;
    text-align: center;
}

/* Ícono en contenedor circular con fondo suave */
.carrito-vacio-icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border: none;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #0f172a;
    font-size: 1.8rem;
}

.carrito-vacio h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.carrito-vacio p {
    margin: 12px 0 28px;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}


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

@media (max-width: 767.98px) {


    .carrito-header {

        padding: 45px 0 30px;

    }


    .carrito-contenido {

        padding: 35px 0 70px;

    }


    .carrito-producto {

        grid-template-columns: 100px 1fr;

        gap: 15px;

    }


    .carrito-producto-imagen {

        width: 100px;

        height: 100px;

    }


    .carrito-producto-total {

        grid-column: 2;

        margin-top: -5px;

    }


    .carrito-producto-acciones {

        flex-wrap: wrap;

        gap: 15px;

    }


    .carrito-resumen {

        position: static;

        padding: 25px;

    }


    .carrito-vaciar-container {

        margin-bottom: 30px;

    }

}

/* =========================================================
   CARRITO NAVBAR
========================================================= */

.navbar-carrito {

    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

    color: inherit;

    text-decoration: none;

}


.navbar-carrito i {

    font-size: 1.05rem;

    line-height: 1;

}


.carrito-contador {

    position: absolute;

    top: 2px;

    right: 1px;

    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 17px;

    height: 17px;

    padding: 0 4px;

    border-radius: 50%;

    background: #111418;

    color: #ffffff;

    font-size: 0.55rem;

    font-weight: 700;

    line-height: 1;

}


.carrito-eliminar:disabled {

    opacity: 0.5;

    cursor: not-allowed;

}

/* =========================================================
   CHECKOUT
========================================================= */

.pagina-checkout {

    background: #ffffff;

    color: #111418;

}


/* =========================================================
   HEADER
========================================================= */

.checkout-header {
    padding: clamp(15px, 3vw, 20px) 0 clamp(10px, 2vw, 15px);
    border-bottom: 2px solid #e5e5e5;
    text-align: left;
}

.checkout-overline {
    display: block;
    margin-bottom: 8px;
    color: #6b7280;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.checkout-header h1 {
    margin: 0;
    color: #111418;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
}

.checkout-header p {
    margin-top: 8px;
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.5;
}


/* =========================================================
   CONTENIDO
========================================================= */

.checkout-contenido {

    padding: 20px 0 60px;

}


/* =========================================================
   SECCIONES
========================================================= */

.checkout-seccion {
    margin-bottom: 40px;
}

.checkout-seccion-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

/* Indicador de número / paso */
.checkout-seccion-header > span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #111418;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Contenedor de título y descripción */
.checkout-seccion-header-info {
    display: flex;
    flex-direction: column;
}

.checkout-seccion-header h2 {
    margin: 0;
    color: #111418;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.checkout-seccion-header p {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 0.78rem;
    line-height: 1.4;
}

/* =========================================================
   INPUTS
========================================================= */

.checkout-label {
    display: block;
    margin-bottom: 6px;
    color: #333333;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkout-label small {
    color: #888888;
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: none;
}

.checkout-input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #ffffff;
    color: #111418;
    font-size: 0.875rem; /* Evita el zoom automático en iOS */
    box-shadow: none !important;
    outline: none;
    transition: border-color 0.2s ease;
}

textarea.checkout-input {
    min-height: 100px;
    padding-top: 12px;
    padding-bottom: 12px;
    resize: vertical;
}

.checkout-input:focus {
    border-color: #111418;
}

/* Indicador opcional para campos deshabilitados */
.checkout-input:disabled {
    background-color: #f5f5f5;
    color: #888888;
    cursor: not-allowed;
}


/* =========================================================
   MÉTODO DE PAGO
========================================================= */

.metodo-pago {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    background-color: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Ocupa todo el contenedor para asegurar que el clic funcione en cualquier punto */
.metodo-pago input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    margin: 0;
}

.metodo-pago-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #aaaaaa;
    border-radius: 50%;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}

.metodo-pago-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.metodo-pago-info strong {
    color: #111418;
    font-size: 0.8rem;
    font-weight: 700;
}

.metodo-pago-info small {
    color: #777777;
    font-size: 0.7rem;
    line-height: 1.3;
}

.metodo-pago > i {
    color: #555555;
    font-size: 1.2rem;
}

/* Estado al marcar la opción usando :has() */
.metodo-pago:has(input:checked) {
    border-color: #111418;
    background-color: #fafafa;
}

.metodo-pago input:checked ~ .metodo-pago-radio {
    border: 5px solid #111418;
}

/* Estado Hover (si no está seleccionado) */
.metodo-pago:hover:not(:has(input:checked)) {
    border-color: #bbbbbb;
}


/* =========================================================
   RESUMEN
========================================================= */

.checkout-resumen {
    position: sticky;
    top: 30px;
    padding: 30px;
    border-radius: 8px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
}

.checkout-resumen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #dddddd;
}

.checkout-resumen-header h2 {
    margin: 0;
    color: #111418;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.checkout-resumen-header span {
    color: #666666;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Desactiva el sticky en móviles para evitar bloqueos de pantalla */
@media (max-width: 991px) {
    .checkout-resumen {
        position: static;
        top: auto;
        margin-top: 30px;
        padding: 20px;
    }
}

/* =========================================================
   PRODUCTOS CHECKOUT
========================================================= */
.checkout-productos {
    padding: 24px 0;
}

.checkout-producto {
    display: grid;
    grid-template-columns: 64px 1fr auto; /* Imagen un poco más grande */
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.checkout-producto:last-child {
    margin-bottom: 0;
}

.checkout-producto-imagen {
    position: relative;
    width: 64px;
    height: 64px;
    border: 1px solid #eeeeee; /* Delimita la imagen */
    border-radius: 8px;
    background: #ffffff;
}

.checkout-producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    border-radius: 8px;
}

/* Badge de cantidad */
.checkout-producto-imagen span {
    position: absolute;
    top: -8px;
    right: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px; /* Usa min-width por si compran más de 9 ítems */
    height: 22px;
    padding: 0 6px;
    border-radius: 20px;
    background: #111418;
    color: #ffffff;
    font-size: 0.75rem; /* Tamaño legible */
    font-weight: 700;
    box-shadow: 0 0 0 2px #ffffff; /* Separador visual */
}

.checkout-producto-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.checkout-producto-info strong {
    color: #111418;
    font-size: 0.85rem;
    line-height: 1.3;
}

.checkout-producto-info small {
    color: #71717a;
    font-size: 0.75rem;
}

.checkout-producto-precio {
    color: #111418;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}


/* =========================================================
   TOTALES
========================================================= */
.checkout-resumen-linea {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    color: #666666;
    font-size: 0.8rem;
}

.checkout-resumen-linea strong {
    color: #111418;
    font-weight: 600;
}

.checkout-resumen-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 18px;
    border-top: 1px solid #e5e5e5;
}

.checkout-resumen-total span {
    color: #111418;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkout-resumen-total strong {
    color: #111418;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.checkout-seguridad {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    color: #777777;
    font-size: 0.725rem;
    font-weight: 500;
}

.checkout-seguridad i {
    font-size: 0.85rem;
    color: #22c55e; /* Color verde opcional para transmitir seguridad SSL */
}


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

@media (max-width: 991.98px) {

    .checkout-resumen {

        position: static;

    }

}


@media (max-width: 575.98px) {

    .checkout-header {

        padding: 40px 0 30px;

    }


    .checkout-contenido {

        padding: 35px 0 70px;

    }


    .checkout-resumen {

        padding: 22px;

    }


    .checkout-seccion {

        margin-bottom: 35px;

    }

}

/* =========================================================
   PEDIDO
========================================================= */

.pagina-pedido {

    background: #ffffff;

    color: #111418;

}


/* =========================================================
   CONFIRMACIÓN
========================================================= */

.pedido-confirmacion {
    padding: 20px 20px 28px;
    text-align: center;
    border-bottom: 1px solid #eeeeee;
}

.pedido-confirmacion-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border: 1.5px solid #111418;
    border-radius: 50%;
    color: #111418;
}

.pedido-confirmacion-icono i {
    font-size: 1.5rem;
}

.pedido-overline {
    display: block;
    margin-bottom: 8px;
    color: #666666;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pedido-confirmacion h1 {
    margin: 0;
    color: #111418;
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}

.pedido-confirmacion p {
    max-width: 520px;
    margin: 14px auto 0;
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.pedido-numero {

    display: inline-flex;

    flex-direction: column;

    gap: 5px;

    padding: 12px 25px;

    background: #f7f7f7;

}


.pedido-numero span {

    color: #888888;

    font-size: 0.55rem;

    text-transform: uppercase;

    letter-spacing: 1px;

}


.pedido-numero strong {

    font-size: 0.75rem;

    letter-spacing: 1px;

}


/* =========================================================
   CONTENIDO
========================================================= */

.pedido-contenido {

    padding: 55px 0 50px;

}


/* =========================================================
   CARD
========================================================= */
.pedido-card {
    margin-bottom: 24px;
    padding: 28px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background-color: #ffffff;
}

.pedido-card-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0; /* Separa el header del contenido */
}

.pedido-card-header span {
    display: block;
    margin-bottom: 6px;
    color: #666666;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.pedido-card-header h2 {
    margin: 0;
    color: #111418;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

/* Grilla interna para datos del pedido (Ej: Dirección, Método de pago) */
.pedido-card-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.pedido-card-item span {
    display: block;
    color: #777777;
    font-size: 0.75rem;
    margin-bottom: 4px;
}

.pedido-card-item strong {
    color: #111418;
    font-size: 0.875rem;
    font-weight: 600;
}

/* =========================================================
   ESTADO
========================================================= */

.pedido-estado {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 6px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
}

.pedido-estado > i {
    flex-shrink: 0;
    color: #111418;
    font-size: 1.25rem;
    margin-top: 2px; /* Alineación óptica con la primera línea de texto */
}

.pedido-estado strong {
    display: block;
    margin-bottom: 4px;
    color: #111418;
    font-size: 0.875rem;
    font-weight: 700;
}

.pedido-estado p {
    margin: 0;
    color: #555555;
    font-size: 0.8rem;
    line-height: 1.5;
}

/* =========================================================
   DATOS
========================================================= */
.pedido-datos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.pedido-datos div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pedido-datos span {
    color: #666666;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.pedido-datos strong {
    color: #111418;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
}

/* En pantallas móviles estrechas cambia a 1 sola columna */
@media (max-width: 480px) {
    .pedido-datos {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* =========================================================
   DIRECCIÓN
========================================================= */

/* Dirección de entrega */
.pedido-direccion {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.pedido-direccion > i {
    flex-shrink: 0;
    margin-top: 2px; /* Alinea el icono con la primera línea del texto */
    color: #111418;
    font-size: 1.25rem;
}

.pedido-direccion-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pedido-direccion strong {
    display: block;
    color: #111418;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.3;
}

.pedido-direccion span {
    display: block;
    color: #666666;
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Observaciones o notas adicionales */
.pedido-observaciones {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eeeeee;
}

.pedido-observaciones span {
    display: block;
    margin-bottom: 6px;
    color: #666666;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.pedido-observaciones p {
    margin: 0;
    color: #444444;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* =========================================================
   RESUMEN
========================================================= */
.pedido-resumen {
    position: sticky;
    top: 30px;
    padding: 30px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #f7f7f7;
}

.pedido-resumen-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e5e5;
}

.pedido-resumen-header span {
    display: block;
    margin-bottom: 6px;
    color: #666666;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.pedido-resumen-header h2 {
    margin: 0;
    color: #111418;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.3px;
}


/* =========================================================
   PRODUCTOS
========================================================= */

.pedido-productos {
    padding: 16px 0;
}

.pedido-producto {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #eeeeee;
}

.pedido-producto:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.pedido-producto-numero {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    color: #111418;
    font-size: 0.75rem;
    font-weight: 700;
}

.pedido-producto-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pedido-producto-info strong {
    color: #111418;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

.pedido-producto-info span {
    color: #666666;
    font-size: 0.75rem;
}

.pedido-producto-precio {
    color: #111418;
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
}

/* =========================================================
   TOTALES
========================================================= */

/* Filas de desglose (Subtotal, Envío, Impuestos, Descuentos) */
.pedido-total-linea {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    color: #666666;
    font-size: 0.85rem;
}

.pedido-total-linea strong {
    color: #111418;
    font-weight: 600;
}

/* Fila de Total Final */
.pedido-total-final {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 18px;
    border-top: 1px solid #e5e5e5;
}

.pedido-total-final span {
    color: #111418;
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pedido-total-final strong {
    color: #111418;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}


/* =========================================================
   MÉTODO
========================================================= */
.pedido-metodo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
    padding: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #ffffff;
}

.pedido-metodo > i {
    flex-shrink: 0;
    color: #111418;
    font-size: 1.25rem;
}

.pedido-metodo div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pedido-metodo span {
    color: #666666;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.pedido-metodo strong {
    color: #111418;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
}


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

@media (max-width: 991.98px) {

    .pedido-resumen {

        position: static;

    }

}


@media (max-width: 575.98px) {

    .pedido-confirmacion {

        padding: 50px 0 40px;

    }


    .pedido-contenido {

        padding: 35px 0 70px;

    }


    .pedido-card {

        padding: 22px;

    }


    .pedido-resumen {

        padding: 22px;

    }


    .pedido-datos {

        grid-template-columns: 1fr;

    }

}

/* ==========================================================================
   PEDIDO CONFIRMADO
   ========================================================================== */

.nexus-confirmation-page {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    padding: 60px 20px;
    background: #fcfcfc;
}

.nexus-confirmation-card {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 40px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nexus-confirmation-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #111418;
    color: #ffffff;
    font-size: 30px;
}

.nexus-confirmation-card h1 {
    margin: 0;
    color: #111418;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nexus-confirmation-subtitle {
    margin: 10px 0 28px;
    color: #666666;
    font-size: 0.95rem;
}

.nexus-order-number {
    padding: 18px;
    margin-bottom: 28px;
    background: #f7f7f7;
    border: 1px solid #eeeeee;
    border-radius: 10px;
}

.nexus-order-number span {
    display: block;
    margin-bottom: 6px;
    color: #666666;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nexus-order-number strong {
    display: block;
    color: #111418;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nexus-confirmation-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 28px;
}

.nexus-confirmation-info-item {
    padding: 18px 12px;
}

.nexus-confirmation-info-item + .nexus-confirmation-info-item {
    border-left: 1px solid #eeeeee;
}

.nexus-confirmation-info-item span {
    display: block;
    margin-bottom: 6px;
    color: #777777;
    font-size: 0.75rem;
}

.nexus-confirmation-info-item strong {
    color: #111418;
    font-size: 0.875rem;
    font-weight: 600;
}

.nexus-payment-status {
    color: #16a34a !important;
}

.nexus-payment-status i {
    margin-right: 4px;
}

.nexus-confirmation-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    padding: 16px 18px;
    margin-bottom: 28px;
    background: #f7f7f7;
    border: 1px solid #eeeeee;
    border-radius: 10px;
}

.nexus-confirmation-message > i {
    margin-top: 2px;
    color: #111418;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.nexus-confirmation-message p {
    margin: 0;
    color: #555555;
    font-size: 0.85rem;
    line-height: 1.5;
}

.nexus-confirmation-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Adaptabilidad para móviles */
@media (max-width: 640px) {
    .nexus-confirmation-card {
        padding: 35px 20px;
    }

    .nexus-confirmation-info {
        grid-template-columns: 1fr;
    }

    .nexus-confirmation-info-item + .nexus-confirmation-info-item {
        border-left: none;
        border-top: 1px solid #eeeeee;
    }
}

/* ==========================================================================
   PAGO PENDIENTE
   ========================================================================== */

.nexus-confirmation-pending {
    background: #eeeeee;
    color: #555555;
}


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

@media (max-width: 767px) {

    .nexus-confirmation-page {
        padding: 40px 15px;
    }


    .nexus-confirmation-card {
        padding: 35px 20px;

        border-radius: 14px;
    }


    .nexus-confirmation-card h1 {
        font-size: 25px;
    }


    .nexus-confirmation-info {
        grid-template-columns: 1fr;
    }


    .nexus-confirmation-info-item + 
    .nexus-confirmation-info-item {
        border-left: 0;

        border-top: 1px solid #eeeeee;
    }


    .nexus-confirmation-actions {
        flex-direction: column;
    }


    .nexus-confirmation-actions .btn-nexus {
        width: 100%;
    }

}





/* =========================================================
   HOME GENERAL
========================================================= */

.nw-section {
    padding: 30px 0;
}

.nw-section-light {
    background: #f8f9fa;
}

.nw-section-white {
    background: #fff;
}

.nw-section-heading {
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: center;
}

.nw-section-heading span {
    display: inline-block;
    margin-bottom: 10px;
    color: #00a8ff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.nw-section-heading h2 {
    margin: 0;
    color: #17191c;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.7px;
}

.nw-section-heading p {
    margin: 14px auto 0;
    color: #777d83;
    font-size: .98rem;
    line-height: 1.7;
}


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

.nw-hero {
    background: #f5f5f5;
}

.nw-hero .carousel-item {
    position: relative;
}

.nw-hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.nw-hero-desktop {
    display: block;
}

.nw-hero-mobile {
    display: none;
}

.nw-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 40px 7%;
    pointer-events: none;
}

.nw-hero-content-inner {
    width: min(560px, 100%);
    pointer-events: auto;
}

.nw-hero-position-left {
    justify-content: flex-start;
    text-align: left;
}

.nw-hero-position-center {
    justify-content: center;
    text-align: center;
}

.nw-hero-position-right {
    justify-content: flex-end;
    text-align: right;
}

.nw-hero-content h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 4.4rem);
    line-height: 1.03;
    font-weight: 800;
    letter-spacing: -1.5px;
    text-shadow: 0 3px 20px rgba(0,0,0,.28);
}

.nw-hero-content p {
    margin: 0 0 25px;
    color: #fff;
    font-size: clamp(.9rem, 1.4vw, 1.1rem);
    line-height: 1.65;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.nw-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 23px;
    border-radius: 9px;
    background: #b5a189;
    color: #fff;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 700;
    transition: .2s ease;
}

.nw-hero-btn:hover {
    background: #97856e;
    color: #fff;
    transform: translateY(-2px);
}

.nw-hero .carousel-control-prev,
.nw-hero .carousel-control-next {
    width: 7%;
}

.nw-hero .carousel-indicators {
    margin-bottom: 22px;
}

.nw-hero .carousel-indicators button {
    width: 30px;
    height: 3px;
    border: 0;
    border-radius: 4px;
}


/* =========================================================
   PRODUCTOS / GRILLA DE TIENDA (MODERNO & DESKTOP FIXED)
========================================================= */

.nw-product-section {
    padding: 30px 0;
    background: #ffffff;
}

.nw-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* =========================================================
   TARJETA DE PRODUCTO
========================================================= */

.nw-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    background: #ffffff;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
}

.nw-product-card:hover {
    transform: translateY(-6px);
    border-color: #d1d1d1;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
}

/* =========================================================
   IMAGEN & BADGES
========================================================= */

.nw-product-image {
    position: relative;
    aspect-ratio: 4 / 5; /* Aspect ratio vertical ideal para vestuario/textiles */
    overflow: hidden;
    background: #f5f5f5;
}

.nw-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nw-product-card:hover .nw-product-image img {
    transform: scale(1.05);
}

.nw-product-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    pointer-events: none;
    z-index: 2;
}

.nw-product-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 30px;
    background: #111418;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   INFORMACIÓN DE PRODUCTO
========================================================= */

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

.nw-product-brand {
    margin-bottom: 6px;
    color: #888888;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nw-product-name {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 10px;
    overflow: hidden;
    color: #111418;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.2px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.nw-product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    color: #111418;
    font-size: 1.05rem;
    font-weight: 800;
}

.nw-product-old-price {
    color: #999999;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: line-through;
}

/* =========================================================
   BOTONES & ACCIONES
========================================================= */

.nw-product-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    margin-top: 16px;
    border: 1px solid #111418;
    border-radius: 10px;
    background: transparent;
    color: #111418;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nw-product-link:hover {
    border-color: #111418;
    background: #111418;
    color: #ffffff;
}

.nw-see-all {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.nw-see-all a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 1px solid #eaeaea;
    border-radius: 30px;
    background: #ffffff;
    color: #111418;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.nw-see-all a:hover {
    border-color: #111418;
    background: #111418;
    color: #ffffff;
}

/* =========================================================
   BENEFICIOS
========================================================= */

.nw-benefits {
    padding: 90px 0;
    background: #f8f9fa;
}

.nw-benefit-card {
    height: 100%;
    padding: 30px 24px;
    background: #fff;
    border: 1px solid #ebedef;
    border-radius: 18px;
    text-align: center;
    transition: .25s ease;
}

.nw-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,.06);
}

.nw-benefit-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(181,161,137,.12);
    color: #a08e76;
    font-size: 25px;
}

.nw-benefit-card h3 {
    margin: 0 0 10px;
    color: #202327;
    font-size: 1rem;
    font-weight: 800;
}

.nw-benefit-card p {
    margin: 0;
    color: #7a8086;
    font-size: .84rem;
    line-height: 1.7;
}

/* =========================================================
   FAQ / PREGUNTAS FRECUENTES (MODERNO & DESKTOP FIXED)
========================================================= */

.nw-faq {
    padding: 30px 0;
    background: #fafafa;
}

.nw-faq-container {
    max-width: 820px;
    margin: 0 auto;
}

/* =========================================================
   ACORDEÓN MODERNO (TARJETAS INDEPENDIENTES)
========================================================= */

.nw-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nw-faq-accordion .accordion-item {
    overflow: hidden;
    border: 1px solid #eaeaea;
    border-radius: 14px;
    background: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.nw-faq-accordion .accordion-item:hover {
    border-color: #d1d1d1;
}

/* Estado Expandido */
.nw-faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: #111418;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

/* =========================================================
   BOTÓN / ENCABEZADO DEL ACORDEÓN
========================================================= */

.nw-faq-accordion .accordion-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    background: #ffffff;
    color: #111418;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.2px;
    box-shadow: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.nw-faq-accordion .accordion-button:not(.collapsed) {
    background: #ffffff;
    color: #111418;
}

.nw-faq-accordion .accordion-button:focus {
    box-shadow: none;
}

/* Personalización del icono indicador (Bootstrap Override) */
.nw-faq-accordion .accordion-button::after {
    width: 1.1rem;
    height: 1.1rem;
    background-size: 1.1rem;
    filter: grayscale(100%) brightness(0); /* Icono en negro puro sin tonos marrones */
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   CUERPO Y RESPUESTA
========================================================= */

.nw-faq-accordion .accordion-body {
    padding: 0 28px 24px;
    background: #ffffff;
    color: #666666;
    font-size: 0.88rem;
    line-height: 1.7;
}

/* =========================================================
   CEO / MENSAJE DE FUNDACIÓN (MODERNO & DESKTOP FIXED)
========================================================= */

.nw-ceo {
    padding: 30px 0;
    background: #111418; /* Unificado con el paleta oscura premium del sitio */
}

.nw-ceo-box {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 80px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* =========================================================
   FOTO & PLACEHOLDER
========================================================= */

.nw-ceo-photo {
    position: relative;
}

.nw-ceo-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nw-ceo-photo:hover img {
    transform: scale(1.02);
}

.nw-ceo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.3);
    font-size: 4rem;
}

/* =========================================================
   CONTENIDO & MENSAJE
========================================================= */

.nw-ceo-content {
    color: #ffffff;
}

.nw-ceo-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.nw-ceo-content h2 {
    margin: 0 0 24px;
    color: #ffffff;
    font-size: 2.8rem; /* Tamaño fijo sin clamp() */
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.1;
}

.nw-ceo-message {
    position: relative;
    color: #bcbcbc;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Detalle visual sutil de comillas editoriales */
.nw-ceo-message::before {
    content: "“";
    display: block;
    margin-bottom: -20px;
    color: rgba(255, 255, 255, 0.15);
    font-size: 4rem;
    font-family: Georgia, serif;
    line-height: 1;
}

/* =========================================================
   FIRMA & AUTOR
========================================================= */

.nw-ceo-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nw-ceo-author strong {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.nw-ceo-author span {
    color: #888888;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nw-final-cta {
    padding: 30px 0;
    background: #fafafa;
}

.nw-final-cta-box {
    position: relative;
    overflow: hidden;
    padding: 70px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #111418; /* Fondo oscuro elegante acorde al diseño general */
    color: #ffffff;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.nw-final-cta-box span {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.nw-final-cta-box h2 {
    max-width: 700px;
    margin: 0 auto 16px;
    color: #ffffff;
    font-size: 2.8rem; /* Tamaño fijo optimizado para escritorio sin clamp */
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.1;
}

.nw-final-cta-box p {
    max-width: 540px;
    margin: 0 auto 32px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.7;
}

.nw-final-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border: 1px solid #ffffff;
    border-radius: 12px;
    background: #ffffff;
    color: #111418;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nw-final-cta-btn:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.nw-final-cta-btn:active {
    transform: translateY(0);
}


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

@media (max-width: 1100px) {

    .nw-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nw-ceo-box {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 45px;
    }
}


@media (max-width: 767px) {

    .nw-section,
    .nw-product-section,
    .nw-benefits,
    .nw-faq,
    .nw-ceo,
    .nw-final-cta {
        padding: 65px 0;
    }


    /* HERO */

    .nw-hero-desktop {
        display: none;
    }

    .nw-hero-mobile {
        display: block;
    }

    .nw-hero-content {
        padding: 25px 25px;
    }

    .nw-hero-position-left,
    .nw-hero-position-center,
    .nw-hero-position-right {
        justify-content: center;
        text-align: center;
    }

    .nw-hero-content-inner {
        width: 100%;
        max-width: 430px;
    }

    .nw-hero-content h1 {
        font-size: clamp(1.7rem, 8vw, 2.5rem);
    }

    .nw-hero-content p {
        font-size: .84rem;
    }

    .nw-hero-btn {
        min-height: 42px;
        padding: 0 18px;
        font-size: .75rem;
    }


    /* PRODUCTOS */

    .nw-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }

    .nw-product-info {
        padding: 13px;
    }

    .nw-product-brand {
        font-size: .6rem;
    }

    .nw-product-name {
        min-height: 40px;
        font-size: .82rem;
    }

    .nw-product-price {
        font-size: .9rem;
    }

    .nw-product-old-price {
        display: block;
        margin: 3px 0 0;
    }

    .nw-product-link {
        min-height: 38px;
        margin-top: 11px;
        font-size: .68rem;
    }


    /* BENEFICIOS */

    .nw-benefit-card {
        padding: 25px 20px;
    }


    /* FAQ */

    .nw-faq-accordion .accordion-button {
        padding: 18px;
        font-size: .83rem;
    }

    .nw-faq-accordion .accordion-body {
        padding: 0 18px 19px;
        font-size: .82rem;
    }


    /* CEO */

    .nw-ceo-box {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .nw-ceo-photo {
        max-width: 280px;
        margin: 0 auto;
    }

    .nw-ceo-content {
        text-align: center;
    }

    .nw-ceo-content h2 {
        font-size: 2rem;
    }

    .nw-ceo-author {
        align-items: center;
    }


    /* CTA */

    .nw-final-cta-box {
        padding: 40px 20px;
    }

}


@media (max-width: 420px) {

    .nw-product-grid {
        gap: 10px;
    }

    .nw-product-info {
        padding: 11px;
    }

    .nw-product-badges {
        top: 8px;
        left: 8px;
        right: 8px;
    }

    .nw-product-badge {
        padding: 0 7px;
        font-size: .58rem;
    }

}


:root {
    --color-principal: #00a8ff;
    --color-hover: #97856e;
    --color-bg-subtle: rgb(181 161 137 / 12%);
    --color-text-main: #111111;
    --color-text-body: #666666;
    --color-text-muted: #777777;
    --color-border: #e9e9e9;
    --radius-input: 12px;
    --radius-card: 24px;
    --transition-fast: 0.2s ease;
}

/* ==========================================================
   HERO / CABECERA
========================================================== */

.contact-page {
    background: #fff;
}

.contact-hero {
    padding: 30px 10px 20px;
    background: #f7f7f7;
    text-align: center;
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-principal);
    margin-bottom: 15px;
}

.contact-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--color-text-main);
}

.contact-hero p {
    max-width: 650px;
    margin: 18px auto 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text-body);
}

/* ==========================================================
   CONTENIDO Y DETALLES DE CONTACTO
========================================================== */

.contact-section {
    padding: 25px 10px;
}

.contact-wrapper {
    max-width: 1180px;
    margin: 0 auto;
}

.contact-info {
    padding-right: 40px;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-text-main);
    margin-bottom: 15px;
}

.contact-info > p {
    color: var(--color-text-body);
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--color-bg-subtle);
    font-size: 19px;
    color: var(--color-principal);
}

.contact-info-item strong {
    display: block;
    font-size: 14px;
    color: var(--color-text-main);
    margin-bottom: 3px;
}

.contact-info-item span,
.contact-info-item a {
    color: var(--color-text-body);
    font-size: 14px;
    text-decoration: none;
    word-break: break-word;
    transition: color var(--transition-fast);
}

.contact-info-item a:hover {
    color: var(--color-principal);
}

/* ==========================================================
   FORMULARIO
========================================================== */

.contact-form-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 35px;
    box-shadow: 0 15px 50px rgb(0 0 0 / 6%);
}

.contact-form-card h3 {
    font-size: 23px;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 6px;
}

.contact-form-card > p {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 25px;
}

.contact-form-card .form-label {
    font-size: 13px;
    font-weight: 700;
    color: #333333;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    min-height: 48px;
    border-radius: var(--radius-input);
    border-color: #dddddd;
    padding-left: 14px;
    padding-right: 14px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form-card textarea.form-control {
    min-height: 145px;
    resize: vertical;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--color-principal);
    box-shadow: 0 0 0 0.2rem rgb(181 161 137 / 20%);
}

.contact-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.contact-privacy input {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--color-principal);
}

.contact-privacy a {
    color: #333333;
    font-weight: 600;
    text-decoration: underline;
}

.contact-privacy a:hover {
    color: var(--color-principal);
}

/* ==========================================================
   BOTÓN Y CANALES DIRECTOS
========================================================== */

.btn-contact {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: var(--radius-input);
    background: var(--nw-dark);
    color: #ffffff;
    font-weight: 700;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-contact:hover {
    background: var(--nw-dark-2);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-contact:focus-visible {
    outline: 2px solid var(--color-principal);
    outline-offset: 2px;
}

.btn-contact:disabled {
    opacity: 0.65;
    transform: none;
    cursor: not-allowed;
}

.contact-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: #198754;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-whatsapp:hover {
    color: #146c43;
}

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

@media (max-width: 991px) {
    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

    /*
    |--------------------------------------------------------------------------
    | RESPONSIVE
    |--------------------------------------------------------------------------
    */

    @media (max-width: 991px) {

        .contact-info {
            padding-right: 0;
            margin-bottom: 35px;
        }

    }


    @media (max-width: 767px) {

        .contact-hero {
            padding: 65px 20px 50px;
        }

        .contact-section {
            padding: 50px 15px;
        }

        .contact-form-card {
            padding: 23px;
            border-radius: 18px;
        }

        .contact-info h2 {
            font-size: 27px;
        }

    }


        /* =========================================================
       WHATSAPP FLOTANTE
    ========================================================= */

    .whatsapp-float {

        position: fixed;

        right: 22px;
        bottom: 22px;

        width: 58px;
        height: 58px;

        display: flex;
        align-items: center;
        justify-content: center;

        background: #25D366;
        color: #fff;

        border-radius: 50%;

        text-decoration: none;

        font-size: 29px;

        box-shadow:
            0 8px 25px rgba(0, 0, 0, .20);

        z-index: 9999;

        transition:
            transform .25s ease,
            box-shadow .25s ease;
    }


    .whatsapp-float:hover {

        color: #fff;

        transform:
            translateY(-4px)
            scale(1.05);

        box-shadow:
            0 12px 30px rgba(0, 0, 0, .25);
    }


    .whatsapp-float::before {

        content: "";

        position: absolute;

        inset: -5px;

        border-radius: 50%;

        border: 2px solid rgba(37, 211, 102, .30);

        animation: whatsappPulse 2s infinite;
    }


    @keyframes whatsappPulse {

        0% {
            transform: scale(.90);
            opacity: .8;
        }

        70% {
            transform: scale(1.18);
            opacity: 0;
        }

        100% {
            transform: scale(1.18);
            opacity: 0;
        }
    }


    /* =========================================================
       MOBILE
    ========================================================= */

    @media (max-width: 767px) {

        .whatsapp-float {

            width: 53px;
            height: 53px;

            right: 16px;
            bottom: 16px;

            font-size: 26px;
        }

    }

/*
|--------------------------------------------------------------------------
| RASTREO DE PEDIDO
|--------------------------------------------------------------------------
*/

.rastreo-page {
    min-height: calc(100vh - 180px);
    background: #f8f9fa;
    padding: 70px 0 90px;
}

.rastreo-container {
    max-width: 900px;
    margin: 0 auto;
}

.rastreo-header {
    text-align: center;
    margin-bottom: 40px;
}

.rastreo-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: rgba(13, 110, 253, .08);
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.rastreo-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #17191c;
    margin-bottom: 12px;
}

.rastreo-header p {
    max-width: 620px;
    margin: 0 auto;
    color: #6c757d;
    line-height: 1.7;
}

.rastreo-card {
    background: #fff;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .07);
}

.rastreo-form label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #24272b;
}

.rastreo-form .form-control {
    min-height: 54px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    padding: 0 16px;
}

.rastreo-form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .10);
}

.btn-rastrear {
    min-height: 54px;
    border: 0;
    border-radius: 12px;
    padding: 0 28px;
    font-weight: 700;
    background: #17191c;
    color: #fff;
    transition: .2s ease;
}

.btn-rastrear:hover {
    background: #0d6efd;
    color: #fff;
    transform: translateY(-1px);
}

/*
|--------------------------------------------------------------------------
| RESULTADO
|--------------------------------------------------------------------------
*/

.rastreo-resultado {
    margin-top: 30px;
    display: none;
}

.pedido-resumen {
    border: 1px solid #e9ecef;
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 30px;
}

.pedido-numero {
    font-size: 1.35rem;
    font-weight: 800;
    color: #17191c;
}

.pedido-fecha {
    color: #6c757d;
    font-size: .9rem;
}

.pedido-datos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.pedido-dato {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
}

.pedido-dato small {
    display: block;
    color: #8a9097;
    margin-bottom: 4px;
}

.pedido-dato strong {
    color: #25282c;
}

/*
|--------------------------------------------------------------------------
| PROGRESO
|--------------------------------------------------------------------------
*/

.estado-titulo {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.estado-progreso {
    position: relative;
    padding-left: 8px;
}

.estado-item {
    position: relative;
    display: flex;
    gap: 18px;
    min-height: 76px;
}

.estado-linea {
    position: absolute;
    left: 15px;
    top: 31px;
    width: 2px;
    height: 55px;
    background: #dee2e6;
}

.estado-item.completado .estado-linea,
.estado-item.activo .estado-linea {
    background: #198754;
}

.estado-punto {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    background: #e9ecef;
    color: #8a9097;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.estado-item.completado .estado-punto,
.estado-item.activo .estado-punto {
    background: #198754;
    color: #fff;
}

.estado-item.activo .estado-punto {
    box-shadow: 0 0 0 6px rgba(25, 135, 84, .12);
}

.estado-contenido {
    padding-top: 3px;
}

.estado-contenido strong {
    display: block;
    color: #343a40;
}

.estado-contenido span {
    font-size: .88rem;
    color: #8a9097;
}

.estado-item:last-child {
    min-height: auto;
}

.estado-item:last-child .estado-linea {
    display: none;
}

/*
|--------------------------------------------------------------------------
| PRODUCTOS
|--------------------------------------------------------------------------
*/

.pedido-productos {
    margin-top: 35px;
}

.producto-rastreo {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.producto-rastreo:last-child {
    border-bottom: 0;
}

.producto-rastreo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 10px;
    background: #f8f9fa;
}

.producto-rastreo-info {
    flex: 1;
}

.producto-rastreo-info strong {
    display: block;
}

.producto-rastreo-info small {
    color: #8a9097;
}

.producto-rastreo-precio {
    font-weight: 700;
}

/*
|--------------------------------------------------------------------------
| ESTADOS ESPECIALES
|--------------------------------------------------------------------------
*/

.rastreo-alerta {
    border-radius: 14px;
    padding: 16px 18px;
    margin-top: 20px;
    display: none;
}

.rastreo-vacio {
    text-align: center;
    padding: 25px;
    color: #6c757d;
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {

    .rastreo-page {
        padding: 40px 12px 60px;
    }

    .rastreo-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .pedido-datos {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .btn-rastrear {
        width: 100%;
    }

    .producto-rastreo {
        align-items: flex-start;
    }

    .producto-rastreo-precio {
        font-size: .9rem;
    }

}

/*
|--------------------------------------------------------------------------
| MENÚ USUARIO
|--------------------------------------------------------------------------
*/

.nexus-user-menu {
    min-width: 220px;
    margin-top: 12px !important;
    padding: 8px;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .12);
}

.nexus-user-menu .dropdown-header {
    font-weight: 700;
    color: #17191c;
    padding: 10px 12px;
}

.nexus-user-menu .dropdown-item {
    border-radius: 10px;
    padding: 11px 12px;
    font-size: .92rem;
    transition: .2s ease;
}

.nexus-user-menu .dropdown-item:hover {
    background: #f5f6f7;
}

.nexus-user-menu .dropdown-item i {
    width: 20px;
}

/*
|--------------------------------------------------------------------------
| BUSCADOR
|--------------------------------------------------------------------------
*/

.nexus-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 15, .78);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 90px 20px 30px;
}

.nexus-search-overlay.active {
    display: flex;
}

.nexus-search-box {
    width: 100%;
    max-width: 850px;
    background: #fff;
    border-radius: 22px;
    position: relative;
    padding: 45px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .25);
}

.nexus-search-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #f3f4f5;
    color: #343a40;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nexus-search-content {
    padding-top: 15px;
}

.nexus-search-label {
    display: block;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    color: #8a9097;
    margin-bottom: 14px;
}

.nexus-search-form {
    display: flex;
    gap: 12px;
}

.nexus-search-input {
    flex: 1;
    height: 58px;
    border: 1px solid #dee2e6;
    border-radius: 14px;
    display: flex;
    align-items: center;
    padding: 0 18px;
}

.nexus-search-input i {
    font-size: 1.2rem;
    color: #8a9097;
    margin-right: 12px;
}

.nexus-search-input input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    font-size: 1rem;
}

.nexus-search-form > button {
    height: 58px;
    border: 0;
    border-radius: 14px;
    padding: 0 28px;
    background: #17191c;
    color: #fff;
    font-weight: 700;
}

.nexus-search-form > button:hover {
    background: #0d6efd;
}

@media (max-width: 576px) {

    .nexus-search-overlay {
        padding: 20px 12px;
        align-items: flex-start;
    }

    .nexus-search-box {
        padding: 40px 18px 25px;
        border-radius: 18px;
    }

    .nexus-search-form {
        flex-direction: column;
    }

    .nexus-search-form > button {
        width: 100%;
    }

}

/* =========================================================
   MÉTODOS DE PAGO CHECKOUT
========================================================= */

.checkout-metodo-section {
    margin-top: 18px;
}


.checkout-metodo-info-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    background: #fafafa;
}


.checkout-metodo-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f7931a;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}


.checkout-metodo-icon.whatsapp-icon {
    background: #25d366;
    font-size: 20px;
}


.checkout-metodo-info-box strong {
    display: block;
    margin-bottom: 4px;
}


.checkout-metodo-info-box p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    opacity: .7;
}


.checkout-btc-icon {
    margin-left: auto;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f7931a;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}


.btn-whatsapp-checkout {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}


.btn-whatsapp-checkout:hover:not(:disabled) {
    background: #1ebe5d;
    border-color: #1ebe5d;
    color: #fff;
}


.btn-whatsapp-checkout:disabled,
.btn-whatsapp-checkout.disabled {
    opacity: .55;
    cursor: not-allowed;
    background: #25d366;
    border-color: #25d366;
}


.checkout-whatsapp-nota {
    display: block;
    margin-top: 10px;
    text-align: center;
    line-height: 1.5;
    opacity: .6;
}


#btnBitcoin {
    background: #f7931a;
    border-color: #f7931a;
}


#btnBitcoin:hover:not(:disabled) {
    background: #e88912;
    border-color: #e88912;
}


#btnBitcoin:disabled {
    opacity: .55;
    cursor: not-allowed;
}


@media (max-width: 575px) {

    .checkout-metodo-info-box {
        padding: 14px;
    }

    .checkout-btc-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

}