/* ============================================================
   JOYAS DETY — site.css
   Paleta: porcelana, carbón, rosewood profundo, detalle champán.
   Elegante y cercana; femenina sin ser infantil.
   ============================================================ */

/* ── IMPORTS ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ── VARIABLES ── */
:root {
    /* Superficies */
    --bg: #FCFBFB;
    --surface: #FFFFFF;
    --bg-soft: #F7F4F5;
    --line: #E9E3E5;
    --line-strong: #D8CFD2;

    /* Tinta */
    --ink: #261F22;
    --text: #3A3236;
    --text-light: #6E6166;
    --muted: #766A6F;

    /* Marca — rosa predominante rgb(246,163,191) */
    --brand-pink: #F6A3BF;
    --brand-pink-strong: #EF8CAE;
    --brand-pink-soft: #FBD9E4;
    --brand-pink-bg: #FDF2F6;

    /* Rosa del logotipo (de la foto de marca) — usado en el wordmark del nav */
    --brand-logo: #D883A0;
    --brand-logo-dark: #C56C8A;

    /* Derivado oscuro accesible del rosa (texto, botones, enlaces) */
    --accent: #BE3D68;
    --accent-dark: #992F53;
    --accent-soft: #FBD9E4;
    --champagne: #A8855C;
    --champagne-dark: #8A6B44;
    --champagne-soft: #F4EEE5;
    --sale: #BE3D68;

    /* Compat: alias del esquema anterior usados en vistas puntuales */
    --pink: var(--accent);
    --pink-light: var(--accent-soft);
    --pink-dark: var(--accent-dark);
    --lavender: var(--champagne);
    --lavender-bg: var(--champagne-soft);
    --mint: var(--champagne);
    --mint-bg: var(--bg-soft);
    --cream: var(--bg);
    --dark: var(--ink);
    --gray-soft: var(--bg-soft);
    --gray-mid: var(--line);

    /* Tipografía */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;

    /* Geometría */
    --r-sm: 3px;
    --r-md: 6px;
    --r-lg: 10px;
    --r-xl: 14px;
    --r-pill: 100px;

    /* Sombra neutra, sutil */
    --shadow-sm: 0 1px 3px rgba(38,31,34,.07);
    --shadow-md: 0 6px 20px rgba(38,31,34,.09);
    --shadow-lg: 0 14px 40px rgba(38,31,34,.12);

    /* Alturas */
    --nav-h: 68px;
    --topbar-h: 36px;

    /* Z-index semántico */
    --z-dropdown: 100;
    --z-sticky: 150;
    --z-topbar: 200;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    font-family: var(--font-body);
}

h1, h2, h3 {
    text-wrap: balance;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--line-strong);
    border-radius: 10px;
}

/* ============================================================
   TOP BAR (estática, sin marquesina)
   ============================================================ */
.topbar {
    height: var(--topbar-h);
    background: var(--brand-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: var(--z-topbar);
    padding: 0 1.25rem;
}

.topbar-msg {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-right {
    position: absolute;
    right: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: .72rem;
    color: var(--ink);
}

    .topbar-right a, .topbar-right button {
        color: var(--ink) !important;
        transition: color .2s;
    }

        .topbar-right a:hover {
            color: var(--accent-dark);
        }

    .topbar-right span[style*="champagne"] {
        color: var(--accent-dark) !important;
        font-weight: 700;
    }

/* ============================================================
   NAVBAR
   ============================================================ */
.main-nav {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    height: var(--nav-h);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}

    .main-nav.scrolled {
        box-shadow: var(--shadow-sm);
    }

.brand {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--brand-logo);
    line-height: 1;
    letter-spacing: .01em;
}

    .brand:hover {
        color: var(--brand-logo-dark);
    }

/* El wrapper del dropdown debe centrar igual que los enlaces sueltos,
   si no "Categorías" queda unos píxeles más abajo que el resto */
.main-nav .dropdown {
    display: flex;
    align-items: center;
}

.nav-txt-link {
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text);
    transition: color .2s;
    position: relative;
    padding-bottom: 2px;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

    .nav-txt-link.dropdown-toggle::after {
        margin-left: .35em;
        vertical-align: middle;
    }

    .nav-txt-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100%;
        height: 1px;
        background: var(--accent);
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform .25s cubic-bezier(.22,1,.36,1);
    }

    .nav-txt-link:hover {
        color: var(--accent);
    }

        .nav-txt-link:hover::after {
            transform: scaleX(1);
        }

    .nav-txt-link.sale {
        color: var(--accent);
        font-weight: 700;
    }

.icon-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text);
    transition: all .2s;
    position: relative;
}

    .icon-btn:hover {
        background: var(--bg-soft);
        border-color: var(--line-strong);
        color: var(--ink);
    }

.cart-dot {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 17px;
    height: 17px;
    background: var(--accent);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    border-radius: var(--r-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--surface);
}

    .cart-dot.empty {
        display: none;
    }

/* ── DROPDOWN ── */
.dd-menu {
    border: 1px solid var(--line) !important;
    border-radius: var(--r-md) !important;
    box-shadow: var(--shadow-md) !important;
    padding: .4rem !important;
    min-width: 200px;
}

.dd-item {
    border-radius: var(--r-sm) !important;
    font-size: .84rem !important;
    padding: .5rem .9rem !important;
    transition: background .15s !important;
}

    .dd-item:hover {
        background: var(--bg-soft) !important;
        color: var(--accent-dark) !important;
    }

    .dd-item.dd-gold {
        color: var(--champagne-dark) !important;
        font-weight: 600;
    }

.dh {
    font-size: .65rem !important;
    letter-spacing: .12em;
    color: var(--muted) !important;
    text-transform: uppercase;
    padding: .3rem .9rem !important;
}

/* ── OFFCANVAS MENÚ ── */
.oc-menu {
    border-right: 1px solid var(--line) !important;
}

    .oc-menu .offcanvas-header {
        padding: 1.25rem;
    }

.oc-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 1.25rem;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    transition: background .15s;
    width: 100%;
    background: transparent;
    border-left: none;
    border-right: none;
    border-top: none;
    text-align: left;
}

    .oc-nav-link:hover {
        background: var(--bg-soft);
        color: var(--accent-dark);
    }

.oc-chev {
    font-size: .8rem;
    color: var(--muted);
}

.oc-sub-link {
    display: block;
    padding: .6rem 1rem;
    font-size: .84rem;
    color: var(--text-light);
    transition: color .15s;
}

    .oc-sub-link:hover {
        color: var(--accent);
    }

.oc-footer-links {
    margin-top: 1.5rem;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}

/* ── OFFCANVAS CART ── */
.oc-cart {
    border-left: 1px solid var(--line) !important;
}

.cart-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.cart-sub {
    font-size: .75rem;
    color: var(--muted);
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

    .cart-empty i {
        font-size: 2.2rem;
        color: var(--line-strong);
        display: block;
        margin-bottom: .75rem;
    }

.cart-item-row {
    display: flex;
    gap: .75rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    background: var(--bg-soft);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

    .cart-item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.cart-item-name {
    font-weight: 600;
    font-size: .85rem;
    color: var(--ink);
}

.cart-item-meta {
    font-size: .74rem;
    color: var(--muted);
}

.cart-item-price {
    font-weight: 700;
    font-size: .9rem;
    color: var(--ink);
}

.cart-remove-btn {
    font-size: .72rem;
    color: var(--muted);
    border: none;
    background: none;
    padding: 0;
    margin-top: 2px;
    transition: color .2s;
}

    .cart-remove-btn:hover {
        color: var(--accent);
    }

.qty-group {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}

.qty-btn {
    width: 26px;
    height: 26px;
    background: transparent;
    border: none;
    font-size: 1rem;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}

    .qty-btn:hover {
        background: var(--bg-soft);
    }

.qty-input {
    width: 32px;
    height: 26px;
    border: none;
    text-align: center;
    font-size: .8rem;
    font-weight: 600;
    -moz-appearance: textfield;
    outline: none;
    background: transparent;
}

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

.cart-footer {
    padding: 1rem;
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
}

.cart-subtotal {
    font-size: .9rem;
    margin-bottom: .25rem;
}

.cart-shipping-note {
    font-size: .72rem;
    color: var(--muted);
    margin-bottom: .75rem;
}

/* ============================================================
   BOTONES GLOBALES
   ============================================================ */
.btn-dety {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .75rem 1.7rem;
    border-radius: var(--r-sm);
    border: 1px solid transparent;
    transition: background .2s, border-color .2s, color .2s;
    cursor: pointer;
    white-space: nowrap;
}

.btn-dety-pink { /* primario (rosewood) */
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

    .btn-dety-pink:hover {
        background: var(--accent-dark);
        border-color: var(--accent-dark);
        color: #fff;
    }

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

    .btn-dety-outline:hover {
        background: var(--ink);
        color: #fff;
    }

.btn-dety-dark {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

    .btn-dety-dark:hover {
        background: #3A3236;
        color: #fff;
    }

.btn-dety-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--line-strong);
}

    .btn-dety-ghost:hover {
        background: var(--bg-soft);
    }

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero-slide {
    min-height: 520px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: radial-gradient(120% 90% at 85% 10%, var(--accent-soft) 0%, transparent 55%), var(--bg-soft);
}

    .hero-slide.hs2 {
        background: radial-gradient(120% 90% at 85% 10%, var(--champagne-soft) 0%, transparent 55%), var(--bg-soft);
    }

    .hero-slide.hs3 {
        background: radial-gradient(120% 90% at 15% 90%, var(--accent-soft) 0%, transparent 55%), var(--bg-soft);
    }

/* ── VIDEO DE FONDO (secundario, con velo para legibilidad) ── */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(252,251,251,.95) 0%,
        rgba(252,251,251,.86) 42%,
        rgba(252,251,251,.55) 72%,
        rgba(252,251,251,.35) 100%);
    pointer-events: none;
}

.hero-slide.has-video .hero-ornament {
    opacity: .18;
}

@media (max-width: 767px) {
    .hero-veil {
        background: rgba(252,251,251,.88);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
}

/* ── SLIDE SIN VIDEO: diseño rosa complementario ── */
.hero-slide.hs-rose {
    background:
        radial-gradient(90% 110% at 88% 0%, rgba(142,59,84,.16) 0%, transparent 55%),
        radial-gradient(70% 90% at 8% 100%, rgba(168,133,92,.14) 0%, transparent 55%),
        linear-gradient(135deg, #F9EDF1 0%, var(--accent-soft) 55%, #F3DFE6 100%);
}

    .hero-slide.hs-rose .hero-ornament {
        border-color: var(--accent);
        opacity: .2;
    }

        .hero-slide.hs-rose .hero-ornament::before,
        .hero-slide.hs-rose .hero-ornament::after {
            border-color: var(--accent);
        }

    .hero-slide.hs-rose .hero-photo-echo {
        border-color: var(--accent);
        opacity: .55;
    }

    .hero-slide.hs-rose .hero-eyebrow {
        color: var(--accent-dark);
    }

        .hero-slide.hs-rose .hero-eyebrow::before {
            background: var(--accent);
        }

    .hero-slide.hs-rose .hero-chip {
        border-color: rgba(142,59,84,.35);
        background: rgba(255,255,255,.7);
    }

        .hero-slide.hs-rose .hero-chip i {
            color: var(--accent-dark);
        }

/* Arco rosa decorativo grande al fondo del slide rosa */
.hero-rose-arc {
    position: absolute;
    bottom: -180px;
    left: -140px;
    width: 480px;
    height: 480px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    opacity: .22;
    pointer-events: none;
}

/* Anillos concéntricos decorativos, muy tenues */
.hero-ornament {
    position: absolute;
    top: -140px;
    right: -120px;
    width: 460px;
    height: 460px;
    border: 1px solid var(--champagne);
    border-radius: 50%;
    opacity: .3;
    pointer-events: none;
}

    .hero-ornament::before, .hero-ornament::after {
        content: '';
        position: absolute;
        inset: 46px;
        border: 1px solid var(--champagne);
        border-radius: 50%;
        opacity: .7;
    }

    .hero-ornament::after {
        inset: 100px;
        opacity: .45;
    }

.hero-img-col {
    position: relative;
    z-index: 2;
}

/* Foto en arco con eco de línea champán detrás */
.hero-photo {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    padding: 14px 14px 0 0;
}

.hero-photo-echo {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 14px);
    height: calc(100% - 14px);
    border: 1px solid var(--champagne);
    border-radius: 160px 160px var(--r-lg) var(--r-lg);
    pointer-events: none;
}

.hero-img-frame {
    position: relative;
    border-radius: 160px 160px var(--r-lg) var(--r-lg);
    overflow: hidden;
    width: 300px;
    height: 380px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    background: var(--surface);
}

    .hero-img-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Sello circular sobre la foto */
.hero-seal {
    position: absolute;
    bottom: 26px;
    left: -22px;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--champagne);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: .52rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.25;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,.14);
}

    .hero-seal i {
        font-size: .85rem;
    }

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--champagne-dark);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

    .hero-eyebrow::before {
        content: '';
        display: inline-block;
        width: 26px;
        height: 1px;
        background: var(--champagne);
    }

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 5.4vw, 3.6rem);
    font-weight: 600;
    line-height: 1.06;
    color: var(--ink);
    margin-bottom: 1rem;
    letter-spacing: -.01em;
}

    .hero-title em {
        font-style: italic;
        color: var(--accent);
        font-weight: 500;
    }

.hero-sub {
    font-size: .95rem;
    color: var(--text-light);
    margin-bottom: 1.6rem;
    max-width: 42ch;
    line-height: 1.7;
}

/* Chips de confianza bajo los CTAs */
.hero-chips {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-light);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-pill);
    padding: .3rem .8rem;
    background: rgba(255,255,255,.65);
}

    .hero-chip i {
        color: var(--champagne-dark);
        font-size: .78rem;
    }

/* Entrada suave del contenido del slide activo */
@media (prefers-reduced-motion: no-preference) {
    .carousel-item.active .hero-content > * {
        animation: heroRise .6s cubic-bezier(.22,1,.36,1) both;
    }

    .carousel-item.active .hero-content > *:nth-child(2) { animation-delay: .07s; }
    .carousel-item.active .hero-content > *:nth-child(3) { animation-delay: .14s; }
    .carousel-item.active .hero-content > *:nth-child(4) { animation-delay: .21s; }
    .carousel-item.active .hero-content > *:nth-child(5) { animation-delay: .28s; }
}

@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.carousel-control-prev, .carousel-control-next {
    width: 44px;
    height: 44px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.92) !important;
    border: 1px solid var(--line);
    border-radius: 50% !important;
    box-shadow: var(--shadow-sm);
    margin: 0 .75rem;
    opacity: 1 !important;
    /* Por encima del contenido del slide: sin esto el texto intercepta el clic */
    z-index: 10;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 13px;
    height: 13px;
    filter: invert(1) grayscale(1) brightness(.2);
}

.carousel-indicators [data-bs-slide-to] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(38,31,34,.25) !important;
    border: none !important;
    transition: all .3s;
}

    .carousel-indicators [data-bs-slide-to].active {
        width: 22px;
        border-radius: var(--r-pill) !important;
        background: var(--ink) !important;
    }

/* ============================================================
   STATS / CINTA DE CONFIANZA
   ============================================================ */
.stats-bar {
    background: var(--ink);
    padding: 1.25rem 0;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--champagne);
    line-height: 1;
}

.stat-lbl {
    font-size: .7rem;
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-top: .25rem;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--champagne-dark);
    margin-bottom: .4rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.15;
}

    .section-title em {
        color: var(--accent);
        font-style: italic;
        font-weight: 500;
    }

.view-all {
    font-size: .76rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: .06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: .35rem;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 1px;
    transition: color .2s, border-color .2s;
}

    .view-all:hover {
        color: var(--accent);
        border-color: var(--accent);
    }

/* ============================================================
   PRODUCT TABS
   ============================================================ */
.tab-pill-nav {
    display: flex;
    gap: .4rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}

    .tab-pill-nav::-webkit-scrollbar {
        display: none;
    }

.tab-pill-btn {
    flex-shrink: 0;
    padding: .45rem 1.1rem;
    border-radius: var(--r-sm);
    border: 1px solid var(--line-strong);
    background: transparent;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-light);
    transition: all .2s;
    white-space: nowrap;
}

    .tab-pill-btn.active, .tab-pill-btn:hover {
        background: var(--ink);
        border-color: var(--ink);
        color: #fff;
    }

/* ── PRODUCT SCROLL ── */
.product-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

    .product-scroll::-webkit-scrollbar {
        display: none;
    }

/* ── PRODUCT CARD ── */
.product-card {
    flex-shrink: 0;
    width: 210px;
    background: var(--surface);
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: box-shadow .25s, border-color .25s, transform .25s;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

    .product-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
        border-color: var(--line-strong);
    }

.product-img {
    width: 100%;
    height: 210px;
    flex-shrink: 0;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .product-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .45s cubic-bezier(.22,1,.36,1);
    }

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

/* Segunda foto al pasar el cursor (si el producto tiene más de una) */
.product-img .img-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .35s ease;
}

.product-card:hover .product-img .img-hover {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .28rem .6rem;
    border-radius: var(--r-sm);
}

.badge-new {
    background: var(--ink);
    color: #fff;
}

.badge-sale {
    background: var(--accent);
    color: #fff;
}

.badge-top {
    background: var(--champagne);
    color: #fff;
}

.badge-out {
    background: var(--bg-soft);
    color: var(--text-light);
    border: 1px solid var(--line-strong);
}

.product-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,.94);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    font-size: .85rem;
    color: var(--text-light);
    transition: all .2s;
    opacity: 0;
}

.product-card:hover .product-fav {
    opacity: 1;
}

.product-fav:hover {
    color: var(--accent);
    background: #fff;
}

.product-fav.active {
    opacity: 1;
    color: var(--accent);
}

/* El cuerpo es columna flexible para que el botón "Agregar"
   quede siempre alineado abajo, sin importar el largo del título */
.product-body {
    padding: .9rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-cat {
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .25rem;
}

.product-name {
    font-weight: 600;
    font-size: .88rem;
    color: var(--ink);
    margin-bottom: .35rem;
    line-height: 1.35;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: .45rem;
    flex-wrap: wrap;
}

.price-current {
    font-weight: 700;
    font-size: .98rem;
    color: var(--ink);
}

.price-original {
    font-size: .78rem;
    color: var(--muted);
    text-decoration: line-through;
}

.price-off {
    font-size: .66rem;
    background: var(--accent-soft);
    color: var(--accent-dark);
    padding: .12rem .4rem;
    border-radius: var(--r-sm);
    font-weight: 700;
}

.product-price {
    margin-bottom: .65rem;
}

.product-add-btn {
    width: 100%;
    margin-top: auto;
    padding: .5rem;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
    border-radius: var(--r-sm);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
}

    .product-add-btn:hover {
        background: var(--ink);
        color: #fff;
    }

    .product-add-btn:disabled {
        border-color: var(--line);
        color: var(--muted);
        cursor: not-allowed;
    }

/* ── PLACEHOLDER CARD ── */
.product-placeholder {
    animation: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
    0% {
        background-position: -400px 0;
    }

    100% {
        background-position: 400px 0;
    }
}

.ph-block {
    background: linear-gradient(90deg, var(--line) 25%, var(--bg-soft) 50%, var(--line) 75%);
    background-size: 400px 100%;
    border-radius: var(--r-sm);
}

/* ============================================================
   CATEGORÍAS (portada)
   ============================================================ */
.cat-scroll {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    /* Centrado cuando caben; "safe" evita recortar el inicio al desbordar */
    justify-content: center;
    justify-content: safe center;
}

    .cat-scroll::-webkit-scrollbar {
        display: none;
    }

.cat-card {
    flex-shrink: 0;
    min-width: 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface);
    padding: 1.1rem 1rem .9rem;
}

    .cat-card:hover {
        border-color: var(--champagne);
        background: var(--champagne-soft);
    }

.cat-icon-wrap {
    font-size: 1.35rem;
    color: var(--champagne-dark);
    margin-bottom: .35rem;
    line-height: 1;
}

.cat-label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--ink);
    text-align: center;
}

.cat-count {
    font-size: .68rem;
    color: var(--muted);
}

/* ============================================================
   EDITORIAL TILES
   ============================================================ */
.ed-tile {
    border-radius: var(--r-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

    .ed-tile img {
        transition: transform .5s cubic-bezier(.22,1,.36,1);
    }

    .ed-tile:hover img {
        transform: scale(1.03);
    }

.ed-tile-bg {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ed-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(38,31,34,.78) 0%, rgba(38,31,34,.15) 55%, transparent 75%);
    display: flex;
    align-items: flex-end;
    padding: 1.1rem;
}

.ed-tile-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.ed-tile-sub {
    font-size: .78rem;
    color: rgba(255,255,255,.85);
    margin-top: .2rem;
}

/* ============================================================
   BRAND SECTION
   ============================================================ */
.brand-section {
    background: var(--ink);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.brand-quote {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-style: italic;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    max-width: 34ch;
}

.brand-stat-num {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--champagne);
}

.brand-stat-lbl {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.6);
    margin-top: .15rem;
}

/* ============================================================
   PROMISE BAR
   ============================================================ */
.promise-bar {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.25rem 0;
}

.promise-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem 1rem;
}

.p-icon {
    font-size: 1.3rem;
    color: var(--champagne-dark);
}

.p-title {
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink);
}

.p-desc {
    font-size: .72rem;
    color: var(--muted);
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
    background: var(--ink);
    padding: 3rem 1.25rem;
    text-align: center;
}

.nl-title {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 600;
    color: #fff;
}

    .nl-title em {
        font-style: italic;
        color: var(--champagne);
    }

.nl-input {
    flex: 1;
    height: 48px;
    border: 1px solid rgba(255,255,255,.25);
    border-right: none;
    border-radius: var(--r-sm) 0 0 var(--r-sm);
    padding: 0 1.25rem;
    font-size: .86rem;
    font-family: var(--font-body);
    outline: none;
    max-width: 300px;
    background: rgba(255,255,255,.97);
    color: var(--ink);
}

.nl-btn {
    height: 48px;
    background: var(--champagne);
    color: var(--ink);
    border: none;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    padding: 0 1.4rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s;
    font-family: var(--font-body);
}

    .nl-btn:hover {
        background: #C09A6B;
    }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.acc-dety .accordion-item {
    border: 1px solid var(--line) !important;
    border-radius: var(--r-md) !important;
    margin-bottom: .5rem;
    overflow: hidden;
    background: var(--surface);
}

.acc-dety .accordion-button {
    font-family: var(--font-body) !important;
    font-size: .88rem !important;
    font-weight: 600 !important;
    color: var(--ink) !important;
    background: var(--surface) !important;
    padding: 1rem 1.25rem !important;
    box-shadow: none !important;
}

    .acc-dety .accordion-button:not(.collapsed) {
        color: var(--accent-dark) !important;
        background: var(--bg-soft) !important;
    }

    .acc-dety .accordion-button::after {
        filter: grayscale(1) brightness(.4) !important;
    }

.acc-dety .accordion-body {
    font-size: .85rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 70ch;
}

/* Zonas de entrega dentro del FAQ */
.faq-zones {
    display: grid;
    gap: .5rem;
}

.faq-zone {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: .6rem .85rem;
    background: var(--bg-soft);
}

.faq-zone-name {
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: .4rem;
}

    .faq-zone-name i {
        color: var(--champagne-dark);
        font-size: .8rem;
    }

.faq-zone-detail {
    font-size: .78rem;
    color: var(--text-light);
    margin-top: .1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: var(--ink);
    padding: 3rem 0 0;
    color: rgba(255,255,255,.78);
}

.f-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: .5rem;
}

.f-tagline {
    font-size: .82rem;
    color: rgba(255,255,255,.55);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.f-head {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--champagne);
    margin-bottom: .75rem;
}

.f-link {
    display: block;
    font-size: .83rem;
    color: rgba(255,255,255,.7);
    margin-bottom: .4rem;
    transition: color .2s;
}

    .f-link:hover {
        color: var(--champagne);
    }

.f-link-gold {
    color: var(--champagne);
}

.f-link-sm {
    font-size: .75rem;
}

.f-divider {
    border-color: rgba(255,255,255,.1);
    margin: 2rem 0 0;
}

.f-copy {
    font-size: .75rem;
    color: rgba(255,255,255,.4);
    padding: 1rem 0;
}

.social-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    color: rgba(255,255,255,.7);
    transition: all .2s;
}

    .social-btn:hover {
        background: var(--champagne);
        border-color: var(--champagne);
        color: var(--ink);
    }

.f-payment-label {
    font-size: .7rem;
    color: rgba(255,255,255,.45);
    margin-bottom: .4rem;
}

.f-payment-badge {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.7);
    font-size: .68rem;
    font-weight: 600;
    padding: .2rem .55rem;
    border-radius: var(--r-sm);
}

/* ============================================================
   SECOND BAR
   ============================================================ */
.second-bar {
    background: var(--champagne-soft);
    border-bottom: 1px solid var(--line);
    text-align: center;
    font-size: .78rem;
    padding: .5rem;
    color: var(--text-light);
}

    .second-bar a {
        color: var(--accent-dark);
        font-weight: 600;
    }

        .second-bar a:hover {
            text-decoration: underline;
        }

/* ============================================================
   FADE-UP (mejora progresiva: visible por defecto,
   el JS añade .fade-pending solo si hay IntersectionObserver)
   ============================================================ */
.fade-pending {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
}

    .fade-pending.visible {
        opacity: 1;
        transform: none;
    }

.d1 {
    transition-delay: .08s;
}

.d2 {
    transition-delay: .16s;
}

.d3 {
    transition-delay: .24s;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ============================================================
   CUENTAS (login / registro)
   ============================================================ */
.auth-wrap {
    display: flex;
    justify-content: center;
    padding: 3rem 1.25rem 4rem;
    background: var(--bg-soft);
    min-height: 60vh;
}

.auth-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 2.25rem 2rem;
    width: 100%;
    max-width: 420px;
    height: fit-content;
}

.auth-title {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .35rem;
}

    .auth-title em {
        font-style: italic;
        color: var(--accent);
        font-weight: 500;
    }

.auth-sub {
    font-size: .84rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.auth-error {
    background: var(--accent-soft);
    color: var(--accent-dark);
    border: 1px solid var(--accent);
    border-radius: var(--r-sm);
    font-size: .82rem;
    padding: .6rem .9rem;
    margin-bottom: 1rem;
}

.auth-label {
    display: block;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--text);
    margin: .85rem 0 .3rem;
}

.auth-input {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    padding: .6rem .8rem;
    font-size: .88rem;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--surface);
    outline: none;
    transition: border-color .2s;
}

    .auth-input:focus {
        border-color: var(--accent);
    }

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}

@media (max-width: 480px) {
    .auth-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.auth-divider {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 1.1rem;
    margin-top: 1.5rem;
}

    .auth-divider span {
        text-transform: none;
        letter-spacing: 0;
        font-weight: 400;
    }

.auth-alt {
    font-size: .82rem;
    color: var(--text-light);
    text-align: center;
    margin: 1.25rem 0 0;
}

    .auth-alt a {
        color: var(--accent);
        font-weight: 600;
    }

.check-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    color: var(--text);
    cursor: pointer;
    padding: .2rem 0;
}

    .check-row input {
        accent-color: var(--accent);
        width: 15px;
        height: 15px;
    }

/* ============================================================
   PERFIL DEL CLIENTE
   ============================================================ */
.profile-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 4rem;
}

.profile-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.profile-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

    .profile-title em {
        font-style: italic;
        color: var(--accent);
        font-weight: 500;
    }

.profile-sub {
    font-size: .82rem;
    color: var(--text-light);
    margin: .2rem 0 0;
}

.admin-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--ink);
    color: var(--champagne);
    border-radius: var(--r-md);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    transition: background .2s;
}

    .admin-banner:hover {
        background: #3A3236;
        color: var(--champagne);
    }

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

@media (max-width: 767px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

.profile-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.4rem 1.5rem;
}

.profile-card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
}

    .profile-card-title i {
        color: var(--champagne-dark);
        font-size: 1rem;
    }

.profile-data {
    margin: 0 0 1rem;
}

    .profile-data dt {
        font-size: .68rem;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--muted);
    }

    .profile-data dd {
        font-size: .9rem;
        color: var(--ink);
        margin: 0 0 .75rem;
    }

.profile-ok {
    background: var(--champagne-soft);
    border: 1px solid var(--champagne);
    color: var(--champagne-dark);
    border-radius: var(--r-sm);
    font-size: .82rem;
    font-weight: 600;
    padding: .6rem .9rem;
    margin-bottom: 1rem;
}

/* Pedidos */
.order-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 0;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}

    .order-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.order-name {
    font-weight: 700;
    font-size: .9rem;
    color: var(--ink);
}

.order-date {
    font-size: .74rem;
    color: var(--muted);
}

.order-lines {
    font-size: .78rem;
    color: var(--text-light);
    margin-top: .25rem;
    max-width: 46ch;
}

.order-side {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .3rem;
}

.order-total {
    font-weight: 700;
    font-size: .95rem;
    color: var(--ink);
}

.order-badge {
    display: inline-block;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: .18rem .55rem;
    border-radius: var(--r-sm);
    background: var(--bg-soft);
    border: 1px solid var(--line-strong);
    color: var(--text-light);
}

    .order-badge.ok {
        background: var(--champagne-soft);
        border-color: var(--champagne);
        color: var(--champagne-dark);
    }

/* ============================================================
   EDITOR DE PORTADA (Destiny)
   ============================================================ */
.editor-section-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ink);
    margin: 1.75rem 0 .75rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: .5rem;
}

.editor-card {
    margin-bottom: .9rem;
}

.editor-grid {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 1.25rem;
    align-items: start;
}

@media (max-width: 575px) {
    .editor-grid {
        grid-template-columns: 1fr;
    }
}

.editor-preview {
    text-align: center;
}

    .editor-preview img {
        width: 100%;
        aspect-ratio: 3 / 4;
        object-fit: cover;
        border-radius: var(--r-md);
        border: 1px solid var(--line);
        background: var(--bg-soft);
    }

    .editor-preview span {
        display: block;
        font-size: .68rem;
        color: var(--muted);
        margin-top: .35rem;
    }

textarea.auth-input {
    resize: vertical;
    min-height: 60px;
}

input[type="file"].auth-input {
    padding: .45rem .6rem;
    font-size: .78rem;
}

/* ============================================================
   CÓDIGO DE DESCUENTO (carrito)
   ============================================================ */
.discount-row {
    display: flex;
    gap: .5rem;
    margin-bottom: .35rem;
}

.discount-input {
    flex: 1;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    padding: .5rem .7rem;
    font-size: .8rem;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--surface);
    outline: none;
    transition: border-color .2s;
    letter-spacing: .04em;
}

    .discount-input:focus {
        border-color: var(--accent);
    }

.discount-btn {
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    border-radius: var(--r-sm);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 0 .9rem;
    transition: all .2s;
}

    .discount-btn:hover:not(:disabled) {
        background: var(--ink);
        color: #fff;
    }

    .discount-btn:disabled {
        opacity: .5;
    }

.discount-msg {
    font-size: .74rem;
    min-height: 1rem;
    margin-bottom: .5rem;
}

    .discount-msg.err {
        color: var(--accent-dark);
        font-weight: 600;
    }

    .discount-msg.ok {
        color: var(--champagne-dark);
    }

.discount-chip {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
    padding: .1rem .45rem;
    border-radius: var(--r-sm);
    margin-left: .25rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .hero-slide {
        min-height: 470px;
    }
}

@media (max-width: 767px) {
    .hero-slide {
        min-height: unset;
        padding: 2.25rem 0 2.25rem;
    }

    .hero-content {
        padding: 1.25rem 0 0;
        text-align: center;
    }

    .hero-eyebrow::before {
        display: none;
    }

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

    .hero-content .d-flex {
        justify-content: center;
    }

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

    .hero-img-frame {
        width: 220px;
        height: 270px;
    }

    .hero-seal {
        width: 64px;
        height: 64px;
        font-size: .48rem;
        left: -14px;
        bottom: 18px;
    }

    .hero-ornament {
        width: 300px;
        height: 300px;
        top: -120px;
        right: -130px;
    }
}

@media (max-width: 575px) {
    :root {
        --nav-h: 60px;
    }

    .brand {
        font-size: 1.35rem;
    }
}

/* ============================================================
   HERO 2 — rediseño rosa (drenched brand pink)
   ============================================================ */
.hero2 {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(90% 120% at 100% 0%, rgba(255,255,255,.55) 0%, transparent 55%),
        linear-gradient(150deg, var(--brand-pink) 0%, var(--brand-pink-soft) 62%, var(--brand-pink-bg) 100%);
}

.hero2-v2 {
    background:
        radial-gradient(90% 120% at 0% 0%, rgba(255,255,255,.6) 0%, transparent 55%),
        linear-gradient(210deg, var(--brand-pink) 0%, var(--brand-pink-soft) 58%, var(--brand-pink-bg) 100%);
}

/* Slide 3: rosa profundo, texto claro */
.hero2-v3 {
    background:
        radial-gradient(110% 140% at 90% -10%, var(--brand-pink-strong) 0%, transparent 60%),
        linear-gradient(160deg, var(--brand-pink-strong) 0%, var(--accent) 85%);
}

    .hero2-v3 .hero2-eyebrow {
        color: #fff;
        border-color: rgba(255,255,255,.5);
    }

    .hero2-v3 .hero2-title {
        color: #fff;
    }

        .hero2-v3 .hero2-title em {
            color: var(--brand-pink-soft);
        }

    .hero2-v3 .hero2-body {
        color: rgba(255,255,255,.92);
    }

    .hero2-v3 .hero-chip {
        background: rgba(255,255,255,.18);
        border-color: rgba(255,255,255,.4);
        color: #fff;
    }

        .hero2-v3 .hero-chip i {
            color: #fff;
        }

    .hero2-v3 .btn-dety-dark {
        background: #fff;
        border-color: #fff;
        color: var(--accent-dark);
    }

        .hero2-v3 .btn-dety-dark:hover {
            background: var(--brand-pink-soft);
            border-color: var(--brand-pink-soft);
            color: var(--accent-dark);
        }

    .hero2-v3 .btn-dety-outline {
        color: #fff;
        border-color: rgba(255,255,255,.7);
    }

        .hero2-v3 .btn-dety-outline:hover {
            background: rgba(255,255,255,.15);
            color: #fff;
        }

    .hero2-v3 .hero2-ring {
        border-color: rgba(255,255,255,.55);
    }

    .hero2-v3 .hero2-seal {
        background: #fff;
        color: var(--accent-dark);
    }

    .hero2-v3 .hero2-deco {
        border-color: rgba(255,255,255,.4);
    }

/* Video de fondo: secundario, con velo rosa para legibilidad */
.hero2-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.hero2-veil {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg,
        rgba(253,242,246,.94) 0%,
        rgba(251,217,228,.82) 45%,
        rgba(246,163,191,.45) 100%);
}

@media (prefers-reduced-motion: reduce) {
    .hero2-video {
        display: none;
    }
}

/* Aro decorativo gigante al fondo */
.hero2-deco {
    position: absolute;
    top: -160px;
    right: -140px;
    width: 520px;
    height: 520px;
    border: 1.5px solid rgba(255,255,255,.75);
    border-radius: 50%;
    pointer-events: none;
}

    .hero2-deco::before {
        content: '';
        position: absolute;
        inset: 56px;
        border: 1px solid rgba(255,255,255,.6);
        border-radius: 50%;
    }

.hero2-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    width: 100%;
    padding-top: 3rem;
    padding-bottom: 3rem;
    flex-direction: row-reverse; /* copy izquierda, foto derecha */
}

.hero2-copy {
    flex: 1 1 auto;
    max-width: 560px;
}

.hero2-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent-dark);
    border-bottom: 1.5px solid var(--accent-dark);
    padding-bottom: .35rem;
    margin-bottom: 1.1rem;
}

.hero2-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.6vw, 3.8rem);
    font-weight: 600;
    line-height: 1.05;
    color: var(--ink);
    letter-spacing: -.01em;
    margin-bottom: 1rem;
}

    .hero2-title em {
        display: block;
        font-style: italic;
        font-weight: 500;
        color: var(--accent-dark);
    }

.hero2-body {
    font-size: .96rem;
    color: #52424A;
    line-height: 1.7;
    max-width: 44ch;
    margin-bottom: 1.6rem;
}

.hero2-ctas {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

.hero2-chips {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: 1.4rem;
}

    .hero2-chips .hero-chip {
        background: rgba(255,255,255,.75);
        border-color: rgba(255,255,255,.9);
        color: var(--ink);
    }

        .hero2-chips .hero-chip i {
            color: var(--accent-dark);
        }

/* Foto circular grande, en sintonía con los círculos de Colecciones */
.hero2-media {
    position: relative;
    flex: 0 0 auto;
}

.hero2-circle {
    width: min(400px, 34vw);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid rgba(255,255,255,.9);
    box-shadow: var(--shadow-lg);
    background: var(--surface);
}

    .hero2-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hero2-ring {
    position: absolute;
    inset: -18px;
    border: 1.5px solid rgba(255,255,255,.85);
    border-radius: 50%;
    pointer-events: none;
}

.hero2-seal {
    position: absolute;
    bottom: 8px;
    left: -6px;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--ink);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .5rem .9rem;
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-md);
}

    .hero2-seal i {
        color: var(--brand-pink);
    }

/* Entrada suave del contenido del slide activo */
@media (prefers-reduced-motion: no-preference) {
    .carousel-item.active .hero2-copy > * {
        animation: hero2Rise .6s cubic-bezier(.22,1,.36,1) both;
    }

    .carousel-item.active .hero2-copy > *:nth-child(2) { animation-delay: .07s; }
    .carousel-item.active .hero2-copy > *:nth-child(3) { animation-delay: .14s; }
    .carousel-item.active .hero2-copy > *:nth-child(4) { animation-delay: .21s; }
    .carousel-item.active .hero2-copy > *:nth-child(5) { animation-delay: .28s; }

    .carousel-item.active .hero2-media {
        animation: hero2Pop .7s cubic-bezier(.22,1,.36,1) both;
    }
}

@keyframes hero2Rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes hero2Pop {
    from {
        opacity: 0;
        transform: scale(.94);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 767px) {
    .hero2 {
        min-height: unset;
    }

    .hero2-inner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding-top: 2.25rem;
        padding-bottom: 2.5rem;
    }

    .hero2-circle {
        width: min(62vw, 260px);
    }

    .hero2-copy {
        max-width: 100%;
    }

    .hero2-body {
        margin-left: auto;
        margin-right: auto;
    }

    .hero2-ctas, .hero2-chips {
        justify-content: center;
    }

    .hero2-seal {
        left: 50%;
        transform: translateX(-50%);
        bottom: -10px;
    }

    .hero2-deco {
        width: 300px;
        height: 300px;
        top: -140px;
        right: -150px;
    }
}

/* ============================================================
   PRODUCT TILE — card limpia (estilo referencia)
   ============================================================ */
.product-tile {
    cursor: pointer;
    position: relative;
    background: transparent;
}

.pt-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* cuadrado, esquinas suavemente redondeadas (estilo álbum) */
    overflow: hidden;
    border-radius: var(--r-xl); /* rounded-2xl (14px, token del sistema) */
    background: var(--bg-soft);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .6rem;
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.product-tile:hover .pt-media {
    box-shadow: var(--shadow-md);
    border-color: var(--line-strong);
    transform: translateY(-2px);
}

    .pt-media > i {
        font-size: 2rem;
        color: var(--line-strong);
    }

    .pt-media img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .35s ease;
    }

.product-tile:hover .pt-media img:first-of-type {
    transform: scale(1.03);
}

.pt-hover {
    opacity: 0;
}

.product-tile:hover .pt-hover {
    opacity: 1;
}

.pt-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: #fff;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: .26rem .55rem;
    border-radius: var(--r-sm);
    z-index: 1;
}

.pt-badge-out {
    background: var(--surface);
    color: var(--text-light);
    border: 1px solid var(--line-strong);
}

/* Badge "Encargo" — pieza por encargo (se coordina por WhatsApp) */
.pt-badge-order,
.badge-order {
    background: var(--champagne);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

    .pt-badge-order i,
    .badge-order i {
        font-size: .9em;
    }

/* Alert Badge prominente en la vista rápida de un producto por encargo */
.qv-order-alert {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: 100%;
    padding: .8rem .9rem;
    margin-bottom: 1rem;
    border-radius: var(--r-lg);
    border: 1px solid var(--accent-soft);
    background: var(--brand-pink-bg);
    color: var(--ink);
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

    .qv-order-alert:hover {
        border-color: var(--accent);
        box-shadow: var(--shadow-sm);
        transform: translateY(-1px);
    }

.qv-order-alert-ico {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--r-pill);
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.qv-order-alert strong {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    color: var(--accent-dark);
    line-height: 1.25;
}

.qv-order-alert small {
    display: block;
    font-size: .74rem;
    color: var(--text-light);
    margin-top: .1rem;
}

.qv-order-alert-arrow {
    margin-left: auto;
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}

.pt-title {
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: .15rem;
}

.product-tile:hover .pt-title {
    color: var(--accent-dark);
}

.pt-price {
    font-size: .8rem;
    color: var(--text);
    display: flex;
    align-items: baseline;
    gap: .45rem;
    flex-wrap: wrap;
}

.pt-price-now {
    font-weight: 400;
}

.pt-price-was {
    color: var(--muted);
    font-size: .74rem;
}

/* Tiles dentro del scroll horizontal de la portada */
.product-scroll .product-tile {
    flex: 0 0 190px;
}

@media (max-width: 575px) {
    .product-scroll .product-tile {
        flex-basis: 44vw;
    }
}

/* ============================================================
   COLECCIONES (círculos, como la referencia)
   ============================================================ */
.collections-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 4rem;
}

.collections-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--ink);
    text-align: center;
    margin-bottom: 2rem;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 1.5rem;
}

@media (max-width: 991px) {
    .collections-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem .9rem;
    }
}

.collection-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.collection-circle {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1;
    border-radius: var(--r-xl); /* cuadrado con esquinas suaves (rounded-2xl), no círculo */
    overflow: hidden;
    background: var(--brand-pink-bg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .8rem;
    transition: box-shadow .25s, transform .25s, border-color .25s;
}

    .collection-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s cubic-bezier(.22,1,.36,1);
    }

    .collection-circle > i {
        font-size: 2.2rem;
        color: var(--brand-pink);
    }

.collection-card:hover .collection-circle {
    box-shadow: var(--shadow-md);
    border-color: var(--line-strong);
    transform: translateY(-2px);
}

.collection-card:hover .collection-circle img {
    transform: scale(1.06);
}

.collection-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
}

.collection-card:hover .collection-name {
    color: var(--accent-dark);
}

.collection-count {
    font-size: .72rem;
    color: var(--muted);
    margin-top: .1rem;
}

/* ============================================================
   MENÚ MÓVIL (lista plana + animación escalonada)
   ============================================================ */
.m-nav {
    display: flex;
    flex-direction: column;
}

.m-link {
    display: block;
    padding: .5rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--ink);
    transition: color .2s, transform .25s;
}

    .m-link:hover, .m-link:active {
        color: var(--accent-dark);
        transform: translateX(4px);
    }

.m-link-sale {
    color: var(--accent);
    font-weight: 600;
}

.m-link-small {
    font-size: .88rem;
    color: var(--text-light);
}

.m-divider {
    border-top: 1px solid var(--line);
    margin: .75rem 1.25rem;
}

/* Entrada escalonada al abrir el menú */
@media (prefers-reduced-motion: no-preference) {
    .oc-menu .m-link, .oc-menu .m-divider {
        opacity: 0;
        transform: translateX(-16px);
        transition: opacity .4s cubic-bezier(.22,1,.36,1), transform .4s cubic-bezier(.22,1,.36,1), color .2s;
    }

    .oc-menu.show .m-link, .oc-menu.show .m-divider {
        opacity: 1;
        transform: none;
    }

    .oc-menu.show .m-nav > *:nth-child(1) { transition-delay: .05s; }
    .oc-menu.show .m-nav > *:nth-child(2) { transition-delay: .09s; }
    .oc-menu.show .m-nav > *:nth-child(3) { transition-delay: .13s; }
    .oc-menu.show .m-nav > *:nth-child(4) { transition-delay: .17s; }
    .oc-menu.show .m-nav > *:nth-child(5) { transition-delay: .21s; }
    .oc-menu.show .m-nav > *:nth-child(6) { transition-delay: .25s; }
    .oc-menu.show .m-nav > *:nth-child(7) { transition-delay: .29s; }
    .oc-menu.show .m-nav > *:nth-child(8) { transition-delay: .33s; }
    .oc-menu.show .m-nav > *:nth-child(9) { transition-delay: .37s; }
    .oc-menu.show .m-nav > *:nth-child(10) { transition-delay: .41s; }
    .oc-menu.show .m-nav > *:nth-child(11) { transition-delay: .45s; }
    .oc-menu.show .m-nav > *:nth-child(12) { transition-delay: .49s; }
    .oc-menu.show .m-nav > *:nth-child(13) { transition-delay: .53s; }
    .oc-menu.show .m-nav > *:nth-child(14) { transition-delay: .57s; }
}
