/* wwwroot/css/site.css */
:root {
    --color-bg: #0f1114;
    --color-card: #1e2124;
    --color-card-alt: #24282d;
    --color-gold: #b8845a;
    --color-gold-light: #d4a373;
    --color-text: #f5f2ec;
    --color-text-muted: #8f8a82;
    --font-serif: 'Playfair Display', serif;
    --font-display: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

main {
    width: 100%;
    margin: 0;
}

/* ===== Navbar dentro del hero (transparente) ===== */
.navbar-hero {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 16px 20px;
    position: relative;
    z-index: 2;
}

    .navbar-links {
        display: flex;
        gap: 18px;
        align-items: center;
    }

/* ===== Navbar sólido (página Relojes) ===== */
.navbar-solid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #14171a;
}

.navbar-logo-link {
    font-family: var(--font-serif);
    color: var(--color-text);
    font-size: 18px;
    text-decoration: none;
}

.navbar-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.5px;
    font-family: var(--font-sans);
}

    .navbar-links a.active {
        color: var(--color-gold-light);
        border-bottom: 1px solid var(--color-gold-light);
        padding-bottom: 2px;
    }


.carrito-icono {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 4px;
    color: var(--color-text);
    cursor: pointer;
}

    .carrito-icono svg {
        width: 20px;
        height: 20px;
    }

.carrito-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    min-width: 15px;
    height: 15px;
    border-radius: 999px;
    background: var(--color-gold);
    color: #14171a;
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
}

/* ===== Menu desplegable ===== */
.menu-icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 4px;
    color: var(--color-text);
    cursor: pointer;
}

    .menu-icono svg {
        width: 20px;
        height: 20px;
    }

.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
    z-index: 40;
}

    .menu-backdrop.activo {
        opacity: 1;
        pointer-events: auto;
    }

.menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 280px;
    max-width: 82%;
    background: var(--color-card);
    border-left: 0.5px solid #2c3035;
    transform: translateX(105%);
    transition: transform 0.55s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 50;
    display: flex;
    flex-direction: column;
}

    .menu-panel.activo {
        transform: translateX(0);
    }

.menu-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    border-bottom: 0.5px solid #2c3035;
}

.menu-panel-titulo {
    font-family: var(--font-serif);
    color: var(--color-text);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.menu-panel-cerrar {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
}

    .menu-panel-cerrar svg {
        width: 16px;
        height: 16px;
    }

.menu-panel-links {
    display: flex;
    flex-direction: column;
    padding: 8px 18px;
}

    .menu-panel-links a {
        padding: 14px 0;
        color: var(--color-text);
        text-decoration: none;
        font-size: 13px;
        letter-spacing: 0.4px;
        font-family: var(--font-sans);
        border-bottom: 0.5px solid #2c3035;
    }

        .menu-panel-links a:last-child {
            border-bottom: none;
        }

        .menu-panel-links a.active {
            color: var(--color-gold-light);
        }

/* ===== Hero Inicio ===== */
.hero {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-image: linear-gradient(rgba(10, 13, 15, 0.65), rgba(10, 13, 15, 0.65)), url('/IMG/Banners/banner-inicio.jpg');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
}


.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 20px 60px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: clamp(10px, 1.4vw, 13px);
    letter-spacing: 4px;
    font-weight: 500;
    color: var(--color-gold-light);
    margin: 0 0 16px;
    text-transform: uppercase;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(44px, 9vw, 96px);
    color: #fff;
    margin: 0 0 18px;
    line-height: 1.05;
    letter-spacing: 0.5px;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 1000;
    font-size: clamp(13px, 2.4vw, 15px);
    color: #d9d4c9;
    max-width: 800px;
    margin: 0 0 32px;
    line-height: 1.5;
}
.btn-gold {
    display: inline-block;
    padding: 13px 28px;
    background: var(--color-gold-light);
    color: #14171a;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


/* ===== Bolsa de compra (panel) ===== */
.bolsa-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
    z-index: 41;
}

    .bolsa-backdrop.activo {
        opacity: 1;
        pointer-events: auto;
    }

.bolsa-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 320px;
    max-width: 86%;
    background: var(--color-card);
    border-left: 0.5px solid #2c3035;
    transform: translateX(105%);
    transition: transform 0.55s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 51;
    display: flex;
    flex-direction: column;
}

    .bolsa-panel.activo {
        transform: translateX(0);
    }

.bolsa-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 18px;
    border-bottom: 0.5px solid #2c3035;
}

.bolsa-panel-titulo-wrap {
    display: flex;
    gap: 10px;
}

    .bolsa-panel-titulo-wrap svg {
        width: 20px;
        height: 20px;
        color: var(--color-gold-light);
        flex-shrink: 0;
        margin-top: 1px;
    }

.bolsa-panel-titulo {
    margin: 0;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    font-family: var(--font-sans);
}

.bolsa-panel-count {
    margin: 2px 0 0;
    color: var(--color-text-muted);
    font-size: 11px;
    font-family: var(--font-sans);
}

.bolsa-panel-cerrar {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
}

    .bolsa-panel-cerrar svg {
        width: 16px;
        height: 16px;
    }

.bolsa-lista {
    flex: 1;
    overflow-y: auto;
    padding: 0 18px;
}

.bolsa-vacia {
    color: var(--color-text-muted);
    font-size: 12px;
    text-align: center;
    padding: 40px 0;
    font-family: var(--font-sans);
}

.bolsa-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 0.5px solid #2c3035;
}

.bolsa-item-foto {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    border: 0.5px solid #3a3f45;
    object-fit: cover;
    flex-shrink: 0;
}

.bolsa-item-info {
    flex: 1;
    min-width: 0;
}

.bolsa-item-nombre {
    margin: 0;
    color: var(--color-text);
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-sans);
}

.bolsa-item-variante {
    margin: 2px 0 5px;
    color: var(--color-text-muted);
    font-size: 11px;
    font-family: var(--font-sans);
}

.bolsa-item-precio {
    margin: 0 0 7px;
    color: var(--color-gold-light);
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-sans);
}

.bolsa-item-acciones {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bolsa-qty {
    display: flex;
    align-items: center;
    border: 0.5px solid #3a3f45;
    border-radius: 6px;
}

.bolsa-qty-btn {
    background: none;
    border: none;
    color: var(--color-text);
    width: 24px;
    height: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .bolsa-qty-btn svg {
        width: 11px;
        height: 11px;
    }

.bolsa-qty-valor {
    min-width: 18px;
    text-align: center;
    color: var(--color-text);
    font-size: 12px;
    font-family: var(--font-sans);
}

.bolsa-item-eliminar {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    margin-left: auto;
    display: flex;
    align-items: center;
}

    .bolsa-item-eliminar svg {
        width: 15px;
        height: 15px;
    }

    .bolsa-item-eliminar:hover {
        color: #c0574a;
    }

.bolsa-footer {
    padding: 14px 18px 18px;
    border-top: 0.5px solid #2c3035;
}

.bolsa-total-row {
    display: flex;
    justify-content: space-between;
    margin: 0 0 16px;
}

.bolsa-total-label {
    color: var(--color-text);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-sans);
}

.bolsa-total-valor {
    color: var(--color-gold-light);
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-sans);
}

.bolsa-btn-whatsapp {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-gold);
    border: none;
    color: #1a1207;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 13px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-sans);
    box-sizing: border-box;
}

    .bolsa-btn-whatsapp svg {
        width: 17px;
        height: 17px;
    }

    .bolsa-btn-whatsapp:hover {
        background: var(--color-gold-light);
    }

.bolsa-seguridad {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 10px 0 0;
    color: var(--color-text-muted);
    font-size: 11px;
    font-family: var(--font-sans);
}

    .bolsa-seguridad svg {
        width: 11px;
        height: 11px;
    }
/* ===== Banner Relojes ===== */
/* ===== Banner Relojes ===== */
.catalogo-hero {
    min-height: 45vh;
    background-image: linear-gradient(rgba(10, 13, 15, 0.65), rgba(10, 13, 15, 0.65)), url('/IMG/Banners/banner-relojes.jpg');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

    .catalogo-hero h1 {
        font-family: var(--font-display);
        font-weight: 600;
        color: var(--color-text);
        font-size: clamp(36px, 7vw, 64px);
        letter-spacing: 0.5px;
        line-height: 1.05;
        margin: 0;
    }

.catalogo-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
}

.catalogo-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 1000;
    font-size: clamp(14px, 1.6vw, 16px);
    color: #d9d4c9;
    max-width: 520px;
    margin: 18px 0 0;
    line-height: 1.5;
}
/* ===== Filtro de género (Todos / Hombre / Mujer) ===== */
.filtro-genero {
    display: flex;
    justify-content: center;
    padding: 24px 16px;
    border-bottom: 0.5px solid #2c3035;
}

.filtro-toggle {
    display: flex;
    gap: 6px;
    width: 100%;
    max-width: 320px;
    background: var(--color-card-alt);
    border: 0.5px solid #3a3f45;
    border-radius: 999px;
    padding: 5px;
}

.filtro-opcion {
    flex: 1;
    padding: 10px 0;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--color-text-muted);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

    .filtro-opcion.active {
        background: var(--color-gold);
        color: #14171a;
    }


/* ===== Grid de productos ===== */
.catalogo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.producto-card {
    background: var(--color-card);
    border: 0.5px solid #333;
    overflow: hidden;
}

.producto-foto {
    aspect-ratio: 1/1;
    background: var(--color-card-alt);
    overflow: hidden;
}

.foto-actual {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.15s ease;
}

.producto-info {
    padding: 16px;
}

    .producto-info h3 {
        font-family: var(--font-serif);
        font-size: 18px;
        color: var(--color-text);
        margin: 0 0 4px;
    }

.producto-material {
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--color-text-muted);
    margin: 0 0 12px;
}

.color-swatches {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}

    .swatch.selected {
        border-color: var(--color-gold-light);
    }

.producto-precio {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-gold-light);
    margin: 0 0 14px;
}

.btn-me-interesa {
    display: block;
    text-decoration: none;
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 0.5px solid var(--color-gold);
    color: var(--color-gold-light);
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 0.5px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

    .btn-me-interesa:hover {
        background: var(--color-gold-light);
        color: #14171a;
    }

.btn-agregar-bolsa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px;
    margin-top: 8px;
    background: var(--color-card-alt);
    border: 0.5px solid #3a3f45;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

    .btn-agregar-bolsa svg {
        width: 15px;
        height: 15px;
        flex-shrink: 0;
        color: var(--color-gold-light);
    }

    .btn-agregar-bolsa:hover {
        border-color: var(--color-gold);
        background: #2a2e33;
    }

.site-footer {
    text-align: center;
    padding: 40px 20px 28px;
    background: #14171a;
    border-top: 0.5px solid #2c3035;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.footer-crown {
    width: 18px;
    height: 18px;
    color: var(--color-gold-light);
}

.footer-brand-name {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text);
}

.footer-tagline {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold-light);
    margin: 0 0 20px;
}

.footer-copyright {
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--color-text-muted);
    margin: 0;
}



/* MENSAJE DE AGREGAR PRODUCTO */
.toast-bolsa {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(120%);
    display: flex;
    align-items: center;
    gap: 14px;
    width: min(92vw, 420px);
    background: #24282d;
    border: 0.5px solid rgba(184, 132, 90, 0.3);
    border-radius: 12px;
    padding: 14px 16px;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    font-family: var(--font-sans);
}

    .toast-bolsa.mostrar {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

.toast-bolsa-icono {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #b8845a;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .toast-bolsa-icono svg {
        width: 16px;
        height: 16px;
        color: #b8845a;
    }

.toast-bolsa-texto {
    flex: 1;
    min-width: 0;
}

.toast-bolsa-titulo {
    margin: 0;
    color: #f5f2ec;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toast-bolsa-subtitulo {
    margin: 2px 0 0;
    color: #8f8a82;
    font-size: 12.5px;
}

.toast-bolsa-accion {
    background: none;
    border: none;
    color: #b8845a;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    white-space: nowrap;
    padding: 4px;
}

    .toast-bolsa-accion:hover {
        color: #d4a373;
    }

.toast-bolsa-cerrar {
    background: none;
    border: none;
    color: #8f8a82;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

    .toast-bolsa-cerrar:hover {
        color: #f5f2ec;
    }

/* ===================================================== */
/* ===================  TABLET (>= 600px) =============== */
/* ===================================================== */
@media (min-width: 600px) {
    .navbar-hero, .navbar-solid {
        padding: 20px 32px;
    }

    .hero h1 {
        font-size: 56px;
    }

    .hero-tagline {
        max-width: 380px;
        font-size: 15px;
    }

    .catalogo-hero {
        padding: 60px 32px;
    }

        .catalogo-hero h1 {
            font-size: 38px;
        }

    .catalogo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 32px 24px;
    }

    .hero {
        min-height: 90vh;
        min-height: 90dvh;
    }

    .catalogo-hero {
        min-height: 55vh;
    }
}

/* ===================================================== */
/* ===================  DESKTOP (>= 992px) =============== */
/* ===================================================== */
@media (min-width: 992px) {
    .navbar-hero, .navbar-solid {
        padding: 24px 48px;
    }

    .navbar-links {
        gap: 32px;
    }

        .navbar-links a {
            font-size: 14px;
        }

    .hero h1 {
        font-size: 68px;
    }

    .hero-tagline {
        max-width: 460px;
        font-size: 16px;
    }

    .catalogo-hero {
        padding: 80px 48px;
    }

        .catalogo-hero h1 {
            font-size: 48px;
        }

    .filtro-genero {
        padding: 32px 48px;
    }

    .catalogo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
        padding: 48px;
    }

    .producto-info h3 {
        font-size: 20px;
    }

    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        background-position: center 30%;
    }

    .catalogo-hero {
        min-height: 60vh;
        background-position: center 30%;
    }
}

/* ===================================================== */
/* ================  DESKTOP GRANDE (>= 1400px) ========== */
/* ===================================================== */
@media (min-width: 1400px) {
    .catalogo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}