/* ==========================================================================
   CASMI Fashion — Moda y estilo a tu alcance
   Sistema de diseño basado en el logo: lavanda acuarela, anillo malva
   y tipografía negra de alto contraste (Playfair Display + Newsreader).
   ========================================================================== */

:root {
    --wine: #7a5a83;
    --wine-600: #694b72;
    --wine-800: #45304d;
    --wine-900: #2a1d30;
    --rose: #b9a3c6;
    --rose-200: #e0d5ea;
    --blush: #ece6f3;
    --petal: #f6f3fa;
    --cream: #fcfbfd;
    --pink: #a45d9c;
    --pink-soft: #f4e9f3;
    --ink: #1f1724;
    --ink-2: #4a3d52;
    --muted: #857a8c;
    --line: #e8e2ee;
    --gold: #c9a27e;
    --gold-soft: #f3e6d8;
    --success: #2f855a;
    --danger: #c53030;

    --font-display: "Playfair Display", Georgia, serif;
    --font-accent: "Newsreader", Georgia, serif;
    --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --radius-pill: 999px;
    --shadow-sm: 0 2px 10px rgba(31, 23, 36, .06);
    --shadow: 0 14px 40px -12px rgba(31, 23, 36, .18);
    --shadow-lg: 0 30px 70px -20px rgba(69, 48, 77, .35);
    --ease: cubic-bezier(.22, .8, .24, 1);
    --container: 1280px;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
em, .accent { font-family: var(--font-accent); font-style: italic; font-weight: 400; }
::selection { background: var(--rose-200); color: var(--wine-900); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--petal { background: var(--petal); }
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon--sm { width: 18px; height: 18px; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Tipografía de sección ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
    color: var(--wine);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 10px; }
.section-head h2 em { color: var(--pink); }
.section-head p { color: var(--muted); max-width: 520px; margin-top: 10px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--wine); border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: gap .3s var(--ease); white-space: nowrap; }
.link-arrow:hover { gap: 14px; }

/* ---------- Botones ---------- */
.btn {
    --btn-bg: var(--wine); --btn-fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border-radius: var(--radius-pill);
    background: var(--btn-bg); color: var(--btn-fg);
    font-weight: 500; font-size: 15px; letter-spacing: .02em;
    border: 1px solid var(--btn-bg);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
    position: relative; overflow: hidden; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(122, 90, 131, .55); }
.btn:active { transform: translateY(0); }
.btn--pink { --btn-bg: var(--pink); }
.btn--pink:hover { box-shadow: 0 12px 26px -10px rgba(164, 93, 156, .55); }
.btn--dark { --btn-bg: var(--ink); }
.btn--ghost { background: transparent; color: var(--wine); border-color: currentColor; }
.btn--ghost:hover { background: var(--wine); color: #fff; border-color: var(--wine); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--wine-800); }
.btn--whatsapp { --btn-bg: #25d366; --btn-fg: #fff; }
.btn--whatsapp:hover { box-shadow: 0 12px 26px -10px rgba(37, 211, 102, .6); }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn.is-loading { color: transparent; }
.btn.is-loading::after {
    content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
    position: relative; display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%;
    transition: background .25s, color .25s;
}
.icon-btn:hover { background: var(--blush); color: var(--wine); }
.icon-btn .count {
    position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
    border-radius: 10px; background: var(--pink); color: #fff;
    font-size: 11px; font-weight: 600; line-height: 19px; text-align: center;
    transform: scale(1); transition: transform .3s var(--ease);
}
.icon-btn .count:empty, .icon-btn .count[data-count="0"] { transform: scale(0); }
.icon-btn .count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }

/* ---------- Barra de anuncios ---------- */
.announce { background: var(--wine-900); color: #e9e1f1; font-size: 13px; letter-spacing: .06em; overflow: hidden; }
.announce__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.announce__item { padding: 10px 28px; white-space: nowrap; display: flex; align-items: center; gap: 28px; }
.announce__item::after { content: "✦"; color: var(--rose); font-size: 10px; }
.announce:hover .announce__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(252, 251, 253, .86);
    backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 30px -18px rgba(31, 23, 36, .25); }
.header__inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.header__left, .header__right { display: flex; align-items: center; gap: 4px; }
.header__right { justify-content: flex-end; }

.logo { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.logo__img { width: 58px; height: 58px; object-fit: contain; flex-shrink: 0; transition: transform .6s var(--ease); }
.logo:hover .logo__img { transform: rotate(-8deg) scale(1.04); }
.logo__text { display: flex; flex-direction: column; align-items: flex-start; }
.logo__name { font-family: var(--font-display); font-size: 29px; font-weight: 500; color: var(--ink); letter-spacing: .1em; }
.logo__name span { color: var(--wine); font-size: .7em; vertical-align: .35em; margin: 0 .02em; }
.logo__tag { margin-top: 5px; font-size: 10px; font-weight: 500; letter-spacing: .5em; text-transform: uppercase; color: var(--wine); padding-left: .1em; }
.drawer .logo__img { width: 46px; height: 46px; }
.drawer .logo__name { font-size: 24px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__item { position: static; }
.nav__link {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 10px 13px; border-radius: var(--radius-pill);
    font-size: 14.5px; font-weight: 450; color: var(--ink-2);
    transition: color .2s, background .2s;
}
.nav__link:hover, .nav__item:hover > .nav__link, .nav__link.is-active { color: var(--wine); background: var(--blush); }
.nav__link .icon { width: 14px; height: 14px; transition: transform .3s; }
.nav__item:hover > .nav__link .icon { transform: rotate(180deg); }

.mega {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav__item:hover > .mega, .nav__item:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 40px; padding: 40px 24px 44px; }
.mega__col h4 { font-size: 18px; margin-bottom: 14px; color: var(--wine); }
.mega__col h4 a:hover { color: var(--pink); }
.mega__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mega__col li a { color: var(--ink-2); font-size: 14.5px; transition: color .2s, padding .3s var(--ease); }
.mega__col li a:hover { color: var(--pink); padding-left: 6px; }
.mega__promo { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 220px; color: #fff; display: flex; align-items: flex-end; padding: 22px; }
.mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mega__promo:hover img { transform: scale(1.06); }
.mega__promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(42, 29, 48, .85), transparent 60%); }
.mega__promo div { position: relative; z-index: 1; }
.mega__promo strong { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.mega__promo span { font-size: 13px; opacity: .85; }

.menu-toggle { display: none; }

/* ---------- Buscador ---------- */
.search-panel {
    position: fixed; inset: 0; z-index: 90; display: flex; justify-content: center; align-items: flex-start;
    padding: 12vh 20px 20px; background: rgba(42, 29, 48, .45); backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.search-panel.is-open { opacity: 1; visibility: visible; }
.search-box {
    width: 100%; max-width: 720px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    transform: translateY(-16px); transition: transform .4s var(--ease); overflow: hidden;
}
.search-panel.is-open .search-box { transform: none; }
.search-box form { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 24px; border-bottom: 1px solid var(--line); }
.search-box input { flex: 1; border: 0; outline: 0; font-size: 20px; padding: 14px 0; font-family: var(--font-display); background: transparent; }
.search-box input::placeholder { color: #b6a7c2; }
.search-results { max-height: 56vh; overflow: auto; }
.search-results a { display: flex; align-items: center; gap: 16px; padding: 12px 24px; transition: background .2s; }
.search-results a:hover, .search-results a.is-active { background: var(--petal); }
.search-results img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; background: var(--blush); }
.search-results .name { font-weight: 500; }
.search-results .meta { font-size: 13px; color: var(--muted); }
.search-results .price { margin-left: auto; font-weight: 600; color: var(--wine); white-space: nowrap; }
.search-hints { padding: 20px 24px 24px; }
.search-hints p { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.search-empty { padding: 28px 24px; color: var(--muted); text-align: center; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--radius-pill);
    background: var(--petal); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2);
    transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--rose); color: var(--wine); background: #fff; }
.chip.is-active { background: var(--wine); color: #fff; border-color: var(--wine); }
.chip small { opacity: .6; font-size: 12px; }

/* ---------- Drawers (bolsa y menú móvil) ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(42, 29, 48, .45); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
    position: fixed; top: 0; bottom: 0; right: 0; z-index: 85; width: min(440px, 100%);
    background: #fff; display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: var(--shadow-lg);
}
.drawer--left { right: auto; left: 0; transform: translateX(-100%); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 24px; }
.drawer__head h3 small { font-family: var(--font-body); font-size: 14px; color: var(--muted); margin-left: 6px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--petal); }

.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line img { width: 76px; height: 76px; object-fit: cover; border-radius: 14px; background: var(--blush); }
.cart-line__brand { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cart-line__name { font-weight: 500; font-size: 14.5px; line-height: 1.35; display: block; }
.cart-line__name:hover { color: var(--wine); }
.cart-line__price { font-weight: 600; color: var(--wine); white-space: nowrap; text-align: right; }
.cart-line__remove { font-size: 12px; color: var(--muted); text-decoration: underline; margin-top: 6px; }
.cart-line__remove:hover { color: var(--danger); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; margin-top: 8px; }
.qty button { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); transition: background .2s; font-size: 18px; line-height: 1; }
.qty button:hover { background: var(--blush); color: var(--wine); }
.qty input { width: 34px; text-align: center; border: 0; outline: 0; font-weight: 500; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--lg button { width: 46px; height: 50px; font-size: 20px; }
.qty--lg input { width: 44px; font-size: 17px; }
.qty--lg { margin: 0; }

.cart-empty { text-align: center; padding: 60px 10px; }
.cart-empty .bag { width: 88px; height: 88px; margin: 0 auto 18px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; color: var(--wine); }
.cart-empty h4 { font-size: 22px; margin-bottom: 8px; }
.cart-empty p { color: var(--muted); margin-bottom: 22px; }

.totals-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 15px; }
.totals-row strong { font-size: 22px; font-family: var(--font-display); color: var(--wine-800); }
.box-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); background: var(--pink-soft); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.box-note .icon { color: var(--pink); width: 18px; height: 18px; margin-top: 2px; }
.drawer__foot .btn + .btn { margin-top: 10px; }

.mobile-nav a { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.mobile-nav details summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; cursor: pointer; }
.mobile-nav details summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary .icon { transform: rotate(180deg); }
.mobile-nav details .sub { padding: 6px 0 10px 14px; }
.mobile-nav details .sub a { font-size: 15px; padding: 10px 0; color: var(--ink-2); border: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 600px at 85% 10%, var(--blush), transparent 60%), radial-gradient(900px 500px at 0% 100%, #f1ebf7, transparent 60%), var(--cream); }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; padding: 70px 24px 90px; }
.hero__title { font-size: clamp(44px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.025em; margin: 22px 0 24px; color: var(--wine-900); }
.hero__title em { color: var(--pink); display: inline-block; }
.hero__text { font-size: 18px; color: var(--ink-2); max-width: 500px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero__stats { display: flex; gap: 36px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero__stats strong { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 500; color: var(--wine); line-height: 1; }
.hero__stats span { font-size: 13px; color: var(--muted); }

.hero__visual { position: relative; aspect-ratio: 1 / 1.08; max-width: 560px; justify-self: center; width: 100%; }
.hero__arch { position: absolute; inset: 0 8% 0 8%; border-radius: 300px 300px 36px 36px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; animation: slowzoom 18s ease-in-out infinite alternate; }
@keyframes slowzoom { to { transform: scale(1.08); } }
.hero__ring { position: absolute; inset: -4% 2% auto auto; width: 150px; height: 150px; z-index: 2; animation: spin 22s linear infinite; }
.hero__ring text { font-family: var(--font-body); font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; fill: var(--wine); }
.hero__ring-core { position: absolute; top: calc(-4% + 45px); right: calc(2% + 45px); width: 60px; height: 60px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; z-index: 3; font-size: 24px; box-shadow: 0 10px 24px -8px rgba(164, 93, 156, .7); }
.float-card {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
    padding: 10px 16px 10px 10px; border-radius: 18px; box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite; max-width: 250px;
    transition: transform .3s var(--ease);
}
.float-card:hover { transform: translateY(-4px) scale(1.03); }
.float-card img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; }
.float-card small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.float-card b { display: block; font-weight: 500; font-size: 14px; line-height: 1.25; }
.float-card span { color: var(--pink); font-weight: 600; font-size: 14px; }
.float-card--1 { left: -4%; top: 22%; }
.float-card--2 { right: -6%; top: 56%; animation-delay: -2s; }
.float-card--3 { left: 6%; bottom: 3%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.sparkle { position: absolute; color: var(--rose); z-index: 1; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .3; transform: scale(.7) rotate(20deg); } }

/* ---------- Categorías en círculos ---------- */
.cat-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(118px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 14px; scrollbar-width: none; }
.cat-rail::-webkit-scrollbar { display: none; }
.cat-bubble { scroll-snap-align: start; text-align: center; display: block; }
.cat-bubble__img { position: relative; display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; padding: 4px; background: conic-gradient(from 200deg, var(--rose), var(--pink), var(--gold), var(--rose)); transition: transform .5s var(--ease); }
.cat-bubble__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid #fff; transition: transform .8s var(--ease); background: #fff; }
.cat-bubble:hover .cat-bubble__img { transform: translateY(-6px); }
.cat-bubble:hover .cat-bubble__img img { transform: scale(1.08); }
.cat-bubble__name { display: block; margin-top: 12px; font-size: 14px; font-weight: 500; line-height: 1.3; }
.cat-bubble__count { font-size: 12px; color: var(--muted); }

/* ---------- Beneficios ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.perk { display: flex; gap: 16px; align-items: center; padding: 26px 24px; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk__icon { width: 50px; height: 50px; border-radius: 50%; background: var(--blush); color: var(--wine); display: grid; place-items: center; flex-shrink: 0; }
.perk div strong { display: block; font-weight: 500; font-size: 15px; }
.perk div span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }

/* ---------- Tarjeta de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; display: block; aspect-ratio: 9 / 10; border-radius: var(--radius); overflow: hidden; background: var(--petal); isolation: isolate; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .6s var(--ease); }
.card__media .img-hover { opacity: 0; }
.card:hover .card__media img { transform: scale(1.06); }
.card:hover .card__media .img-hover { opacity: 1; }
.card.is-soldout .card__media img { filter: grayscale(.5) opacity(.75); }
.badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge { display: inline-block; padding: 5px 11px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: #fff; color: var(--wine); box-shadow: var(--shadow-sm); }
.badge--new { background: var(--pink); color: #fff; }
.badge--silver { background: linear-gradient(135deg, #f7f7f7, #d9d9de); color: #444; }
.badge--sold { background: var(--ink); color: #fff; }
.badge--sale { background: var(--wine); color: #fff; }
.fav-btn {
    position: absolute; top: 10px; right: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255, 255, 255, .9); display: grid; place-items: center; color: var(--wine);
    box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), background .3s;
}
.fav-btn:hover { transform: scale(1.1); }
.fav-btn .icon { width: 19px; height: 19px; }
.fav-btn.is-active { color: var(--pink); }
.fav-btn.is-active .icon { fill: currentColor; animation: heart .45s var(--ease); }
@keyframes heart { 40% { transform: scale(1.35); } }
.quick-add {
    position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .95); color: var(--wine-800);
    font-weight: 500; font-size: 14px; backdrop-filter: blur(8px);
    transform: translateY(calc(100% + 14px)); opacity: 0;
    transition: transform .45s var(--ease), opacity .45s, background .25s, color .25s;
}
.card:hover .quick-add, .quick-add:focus-visible { transform: none; opacity: 1; }
.quick-add:hover { background: var(--wine); color: #fff; }
.quick-add .icon { width: 18px; height: 18px; }
.card__body { padding: 14px 4px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__brand { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card__name { font-size: 15.5px; font-weight: 450; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__name a:hover { color: var(--wine); }
.card__price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 4px; flex-wrap: wrap; }
.price { font-weight: 600; color: var(--wine); font-size: 17px; }
.price--old { color: var(--muted); text-decoration: line-through; font-weight: 400; font-size: 14px; }
.price-box { font-size: 12px; color: var(--pink); background: var(--pink-soft); padding: 2px 8px; border-radius: 8px; font-weight: 500; }
.stock-low { font-size: 12px; color: var(--pink); }

/* ---------- Carrusel horizontal ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { padding: 10px 20px; border-radius: var(--radius-pill); font-weight: 500; font-size: 14.5px; color: var(--ink-2); border: 1px solid var(--line); background: #fff; transition: all .3s var(--ease); }
.tab:hover { border-color: var(--rose); color: var(--wine); }
.tab.is-active { background: var(--wine); border-color: var(--wine); color: #fff; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.slider { position: relative; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 6px; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; }
.slider__nav { display: flex; gap: 10px; }
.slider__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--wine); transition: all .3s var(--ease); }
.slider__btn:hover { background: var(--wine); color: #fff; border-color: var(--wine); }
.slider__btn:disabled { opacity: .35; pointer-events: none; }

/* ---------- Banners editoriales ---------- */
.editorial { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.promo {
    position: relative; min-height: 440px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
    display: flex; align-items: flex-end; padding: 40px; color: #fff;
}
.promo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(42, 29, 48, .82) 0%, rgba(42, 29, 48, .25) 45%, transparent 70%); }
.promo:hover > img { transform: scale(1.05); }
.promo .eyebrow { color: #e6dcf0; }
.promo h3 { font-size: clamp(30px, 3.4vw, 46px); margin: 12px 0 10px; }
.promo h3 em { color: #e2c9ef; }
.promo p { opacity: .9; max-width: 420px; margin-bottom: 22px; }
.promo--right { justify-content: flex-end; text-align: right; }
.promo--stack { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; padding: 0; min-height: auto; background: none; }
.promo--stack::before { display: none; }
.promo--stack .promo { min-height: 209px; padding: 28px; }
.promo--stack .promo h3 { font-size: 30px; }

/* ---------- Mayorista (box) ---------- */
.box-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--pink) 0%, #8f6aa6 40%, var(--wine) 100%); color: #fff; padding: 60px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.box-band::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(255, 255, 255, .08); right: -120px; top: -220px; }
.box-band::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); left: -80px; bottom: -150px; }
.box-band h2 { font-size: clamp(32px, 4vw, 50px); margin: 14px 0 16px; }
.box-band .eyebrow { color: #f0e4f5; }
.box-band p { opacity: .92; }
.steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius); padding: 24px 20px; backdrop-filter: blur(8px); }
.step__num { font-family: var(--font-accent); font-style: italic; font-size: 42px; line-height: 1; color: #ecdcf4; }
.step strong { display: block; margin: 12px 0 6px; font-size: 16px; font-weight: 500; }
.step span { font-size: 13.5px; opacity: .85; }

/* ---------- Joyería ---------- */
.jewelry { background: var(--wine-900); color: #f1ecf6; position: relative; overflow: hidden; }
.jewelry::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 0%, rgba(201, 162, 126, .22), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(164, 93, 156, .18), transparent 70%); }
.jewelry .container { position: relative; }
.jewelry .eyebrow { color: var(--gold); }
.jewelry .section-head h2 { color: #fff; }
.jewelry .section-head h2 em { color: var(--gold); }
.jewelry .section-head p { color: #c8badb; }
.jewelry .card__name, .jewelry .card__name a { color: #f1ecf6; }
.jewelry .card__brand { color: var(--gold); }
.jewelry .price { color: #fff; }
.jewelry .card__media { background: #fff; }
.jewelry .chip { background: transparent; border-color: rgba(255, 255, 255, .2); color: #e4dbee; }
.jewelry .chip:hover { border-color: var(--gold); color: var(--gold); }
.jewelry .link-arrow { color: var(--gold); }
.jewelry-feature { display: grid; grid-template-columns: 1fr 2fr; gap: 28px; align-items: start; }
.jewelry-feature__hero { position: sticky; top: calc(var(--header-h) + 20px); display: block; border-radius: var(--radius-lg); overflow: hidden; background: #fff; aspect-ratio: 4 / 5; }
.jewelry-feature__hero img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform 1.2s var(--ease); }
.jewelry-feature__hero:hover img { transform: scale(1.32); }
.jewelry-feature__hero .tag { position: absolute; left: 20px; bottom: 20px; right: 20px; background: rgba(42, 29, 48, .82); backdrop-filter: blur(8px); border-radius: var(--radius); padding: 18px 20px; }
.jewelry-feature__hero .tag strong { font-family: var(--font-display); font-weight: 500; font-size: 22px; display: block; color: #fff; }
.jewelry-feature__hero .tag span { color: var(--gold); font-size: 14px; }

/* ---------- Marcas ---------- */
.brands { overflow: hidden; border-block: 1px solid var(--line); padding: 30px 0; background: #fff; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.brands__track { display: flex; width: max-content; gap: 60px; animation: marquee 50s linear infinite; }
.brands__track span { font-family: var(--font-display); font-size: 28px; color: #a898b3; white-space: nowrap; transition: color .3s; }
.brands__track span:nth-child(3n) { font-family: var(--font-accent); font-style: italic; }
.brands__track span:hover { color: var(--wine); }

/* ---------- Conócenos ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; width: 100%; }
.brand-card { aspect-ratio: 1; border-radius: var(--radius-lg); background: radial-gradient(circle at 30% 20%, #fff, var(--blush) 70%); display: grid; place-items: center; box-shadow: var(--shadow-lg); overflow: hidden; }
.about__media .brand-card img { width: 86%; height: auto; aspect-ratio: auto; box-shadow: none; border-radius: 0; animation: float 7s ease-in-out infinite; }
.about__badge { position: absolute; right: -24px; bottom: 36px; background: #fff; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; }
.about__badge img { width: 58px; height: 58px; border-radius: 50%; box-shadow: none; object-fit: cover; }
.about__badge strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--wine); }
.about__badge span { font-size: 13px; color: var(--muted); }
.about h2 { font-size: clamp(32px, 4vw, 50px); margin: 14px 0 22px; }
.about h2 em { color: var(--pink); }
.about p { color: var(--ink-2); margin-bottom: 16px; font-size: 17px; }
.about__list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; }
.about__list li { display: flex; gap: 12px; align-items: center; }
.about__list .icon { color: var(--pink); }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--blush); padding: 64px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.newsletter h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 12px; }
.newsletter h2 em { color: var(--pink); }
.newsletter p { color: var(--ink-2); margin-top: 12px; }
.newsletter form { display: flex; gap: 8px; background: #fff; border-radius: var(--radius-pill); padding: 7px; box-shadow: var(--shadow); }
.newsletter input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 20px; background: transparent; }
.newsletter small { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; }
.newsletter__deco { position: absolute; right: -60px; top: -60px; width: 220px; opacity: .5; color: var(--rose); pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: var(--wine-900); color: #ddd3e6; padding: 80px 0 0; margin-top: 90px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 50px; }
.footer .logo__img--badge { width: 84px; height: 84px; background: #fff; border-radius: 50%; padding: 4px; }
.footer .logo__name { color: #fff; }
.footer .logo__tag { color: var(--rose); }
.footer__about { margin: 20px 0 24px; font-size: 15px; color: #c3b5cf; max-width: 340px; }
.footer h4 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { font-size: 15px; transition: color .2s, padding .3s var(--ease); }
.footer ul a:hover { color: #fff; padding-left: 4px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.footer__contact .icon { color: var(--rose); margin-top: 2px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; transition: all .3s var(--ease); }
.socials a:hover { background: var(--pink); border-color: var(--pink); color: #fff; transform: translateY(-3px); }
.socials .icon { width: 18px; height: 18px; }
.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.pay-methods span { padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255, .08); font-size: 12.5px; font-weight: 500; letter-spacing: .04em; }
.footer__bottom { margin-top: 64px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: #9c8ba8; flex-wrap: wrap; }
.footer__big { font-family: var(--font-display); font-size: clamp(48px, 11vw, 160px); line-height: .8; text-align: center; color: rgba(255, 255, 255, .05); letter-spacing: -.03em; margin-top: 40px; user-select: none; white-space: nowrap; overflow: hidden; }
.footer__big em { color: rgba(164, 93, 156, .16); }

/* ---------- WhatsApp flotante + toasts ---------- */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 10px;
    background: #25d366; color: #fff; border-radius: var(--radius-pill); padding: 14px; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
    transition: transform .3s var(--ease), padding .4s var(--ease);
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 500; transition: max-width .5s var(--ease); }
.wa-float:hover { transform: translateY(-3px); padding-right: 22px; }
.wa-float:hover span { max-width: 180px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { to { transform: scale(1.35); opacity: 0; } }

.toasts { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 100; display: grid; gap: 10px; width: min(440px, calc(100% - 32px)); }
.toast {
    display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--ink); color: #fff;
    box-shadow: var(--shadow-lg); font-size: 14.5px; animation: toastIn .5s var(--ease);
}
.toast .icon { color: #d8bfe8; }
.toast--error { background: var(--danger); }
.toast--error .icon { color: #fff; }
.toast.is-leaving { animation: toastOut .4s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-20px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-20px) scale(.96); } }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Encabezado de página / breadcrumbs ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--blush); isolation: isolate; }
.page-hero--image { min-height: 320px; display: flex; align-items: center; color: #fff; }
.page-hero--image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(42, 29, 48, .78) 0%, rgba(42, 29, 48, .35) 50%, transparent 80%); }
.page-hero__inner { padding: 56px 24px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); margin: 12px 0 10px; }
.page-hero h1 em { color: var(--pink); }
.page-hero--image h1 em { color: #e2c9ef; }
.page-hero p { max-width: 560px; font-size: 17px; opacity: .9; }
.page-hero--image .eyebrow { color: #e6dcf0; }
.page-hero--plain { background: radial-gradient(800px 300px at 80% 0%, #ebe1f4, transparent 70%), var(--blush); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); padding: 18px 0; }
.breadcrumbs a:hover { color: var(--wine); }
.breadcrumbs .sep { opacity: .5; }
.page-hero--image .breadcrumbs { color: rgba(255, 255, 255, .8); padding: 0 0 6px; }

/* ---------- Tienda / filtros ---------- */
.shop { display: grid; grid-template-columns: 270px 1fr; gap: 44px; padding: 40px 0 20px; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.filter-group { padding: 20px 0; border-bottom: 1px solid var(--line); }
.filter-group:first-child { padding-top: 0; }
.filter-group h4 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.filter-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.filter-cats a { display: flex; justify-content: space-between; padding: 7px 12px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); transition: background .2s, color .2s; }
.filter-cats a:hover { background: var(--petal); color: var(--wine); }
.filter-cats a.is-active { background: var(--blush); color: var(--wine); font-weight: 500; }
.filter-cats small { color: var(--muted); }
.filter-cats ul { list-style: none; padding-left: 14px; margin: 2px 0 6px; border-left: 1px solid var(--line); margin-left: 12px; }
.check { display: flex; align-items: center; gap: 11px; padding: 5px 0; font-size: 14.5px; cursor: pointer; color: var(--ink-2); }
.check input { appearance: none; width: 19px; height: 19px; border: 1.5px solid #cdbfd8; border-radius: 6px; display: grid; place-items: center; transition: all .2s; flex-shrink: 0; margin: 0; }
.check input:checked { background: var(--wine); border-color: var(--wine); }
.check input:checked::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check small { margin-left: auto; color: var(--muted); }
.brand-list { max-height: 260px; overflow-y: auto; padding-right: 4px; }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs input { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; outline: 0; }
.price-inputs input:focus { border-color: var(--rose); }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-size: 14.5px; }
.switch input { appearance: none; width: 44px; height: 24px; border-radius: 20px; background: #ddd2e6; position: relative; transition: background .3s; margin: 0; cursor: pointer; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch input:checked { background: var(--wine); }
.switch input:checked::after { transform: translateX(20px); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.toolbar__count { color: var(--muted); font-size: 14.5px; }
.toolbar__count strong { color: var(--ink); font-weight: 500; }
.toolbar__right { display: flex; gap: 10px; align-items: center; }
.select { position: relative; }
.select select { appearance: none; padding: 11px 42px 11px 18px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #fff; outline: 0; cursor: pointer; font-size: 14.5px; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border: solid var(--wine); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.filter-toggle { display: none; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--blush); font-size: 13px; color: var(--wine); }
.active-filters a:hover { background: var(--rose-200); }
.empty-state { text-align: center; padding: 80px 20px; background: var(--petal); border-radius: var(--radius-lg); }
.empty-state h3 { font-size: 28px; margin: 18px 0 10px; }
.empty-state p { color: var(--muted); margin-bottom: 24px; }
.empty-state .bubble { width: 90px; height: 90px; margin: 0 auto; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--wine); box-shadow: var(--shadow); }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 56px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; border: 1px solid transparent; transition: all .25s; }
.pagination a:hover { border-color: var(--rose); color: var(--wine); }
.pagination .is-current { background: var(--wine); color: #fff; }
.pagination .is-disabled { opacity: .35; }

/* ---------- Ficha de producto ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; padding: 10px 0 40px; align-items: start; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.gallery--single { grid-template-columns: 1fr; }
.gallery__thumbs { display: grid; gap: 12px; align-content: start; }
.gallery__thumbs button { border-radius: 14px; overflow: hidden; aspect-ratio: 1; border: 2px solid transparent; transition: border-color .25s; background: var(--petal); }
.gallery__thumbs button.is-active { border-color: var(--wine); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--petal); aspect-ratio: 4 / 5; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease-out, opacity .3s; transform-origin: center; }
.gallery__main.is-zoom img { transform: scale(1.9); }
.pdp__info { padding-top: 10px; }
.pdp__brand { font-size: 12.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--pink); }
.pdp h1 { font-size: clamp(32px, 3.6vw, 46px); margin: 10px 0 18px; color: var(--wine-900); }
.pdp__price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pdp__price .price { font-size: 32px; font-family: var(--font-display); font-weight: 500; }
.pdp__stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; margin: 16px 0 0; padding: 6px 14px; border-radius: var(--radius-pill); background: #e8f5ee; color: var(--success); }
.pdp__stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(47, 133, 90, .15); }
.pdp__stock--out { background: #f8e7e7; color: var(--danger); }
.pdp__desc { margin: 24px 0; color: var(--ink-2); font-size: 16.5px; }
.pdp__box { display: flex; gap: 14px; align-items: center; background: linear-gradient(120deg, var(--pink-soft), var(--blush)); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 26px; }
.pdp__box .icon { color: var(--pink); width: 28px; height: 28px; }
.pdp__box strong { display: block; font-weight: 500; }
.pdp__box span { font-size: 14px; color: var(--ink-2); }
.pdp__buy { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.pdp__buy .btn { flex: 1; min-width: 200px; }
.pdp__buy .fav-btn { position: static; width: 54px; height: 54px; border: 1px solid var(--line); box-shadow: none; }
.pdp__wa { margin-top: 12px; }
.pdp__meta { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pdp__meta div { text-align: center; padding: 16px 10px; border-radius: var(--radius); background: var(--petal); font-size: 13px; color: var(--ink-2); }
.pdp__meta .icon { margin: 0 auto 8px; color: var(--wine); }
.accordion { margin-top: 30px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-weight: 500; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform .3s var(--ease); }
.accordion details[open] summary .icon { transform: rotate(45deg); }
.accordion .content { padding: 0 0 22px; color: var(--ink-2); font-size: 15px; }
.accordion .content p + p { margin-top: 10px; }
.sku { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* ---------- Bolsa / checkout ---------- */
.cart-page { display: grid; grid-template-columns: 1.6fr 1fr; gap: 50px; padding: 20px 0 40px; align-items: start; }
.cart-table .cart-line { grid-template-columns: 110px 1fr auto; gap: 20px; padding: 22px 0; }
.cart-table .cart-line img { width: 110px; height: 110px; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.summary h3 { font-size: 26px; margin-bottom: 20px; }
.summary hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.summary .mini { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; font-size: 14px; }
.summary .mini img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; }
.summary .mini .q { position: relative; }
.summary .mini .q b { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--wine); color: #fff; font-size: 12px; display: grid; place-items: center; }
.secure { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 13px; color: var(--muted); margin-top: 14px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.form-card + .form-card { margin-top: 22px; }
.form-card h3 { font-size: 24px; margin-bottom: 6px; display: flex; align-items: center; gap: 12px; }
.form-card h3 .num { width: 32px; height: 32px; border-radius: 50%; background: var(--wine); color: #fff; font-family: var(--font-body); font-size: 15px; display: grid; place-items: center; }
.form-card > p { color: var(--muted); margin-bottom: 22px; font-size: 14.5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 7px; color: var(--ink-2); }
.field label .opt { color: var(--muted); font-weight: 400; }
.input, .field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea {
    width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid #ddd3e6; background: var(--cream); outline: 0; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rose); background: #fff; box-shadow: 0 0 0 4px rgba(185, 163, 198, .18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: 13px; margin-top: 6px; display: block; }
.options { display: grid; gap: 12px; }
.options--2 { grid-template-columns: 1fr 1fr; }
.option { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: all .25s; background: #fff; }
.option:hover { border-color: var(--rose); }
.option input { position: absolute; opacity: 0; }
.option .dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #cdbfd8; flex-shrink: 0; margin-top: 2px; display: grid; place-items: center; transition: all .2s; }
.option:has(input:checked) { border-color: var(--wine); background: var(--petal); box-shadow: 0 0 0 3px rgba(122, 90, 131, .08); }
.option:has(input:checked) .dot { border-color: var(--wine); }
.option:has(input:checked) .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--wine); }
.option strong { display: block; font-weight: 500; }
.option small { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; margin-top: 2px; }
.option .amount { margin-left: auto; font-weight: 600; color: var(--wine); white-space: nowrap; }
.alert { padding: 14px 18px; border-radius: 14px; font-size: 14.5px; margin-bottom: 20px; }
.alert--error { background: #fbeaea; color: var(--danger); }

.success { max-width: 760px; margin: 0 auto; text-align: center; padding: 60px 0 20px; }
.success__icon { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 26px; background: linear-gradient(135deg, var(--pink), var(--wine)); display: grid; place-items: center; color: #fff; box-shadow: 0 20px 40px -14px rgba(164, 93, 156, .6); animation: pop .8s var(--ease); }
.success__icon .icon { width: 44px; height: 44px; stroke-width: 2.2; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.1); } }
.success h1 { font-size: clamp(34px, 4.6vw, 54px); }
.success h1 em { color: var(--pink); }
.success .code { display: inline-block; margin: 18px 0; padding: 8px 18px; border-radius: var(--radius-pill); background: var(--blush); font-weight: 600; letter-spacing: .1em; color: var(--wine); }
.success__card { text-align: left; margin-top: 36px; }

/* ---------- Páginas informativas ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 32px; margin: 40px 0 14px; }
.prose p { color: var(--ink-2); margin-bottom: 14px; font-size: 17px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: transform .4s var(--ease), box-shadow .4s; }
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.info-card .perk__icon { margin-bottom: 18px; }
.info-card h3 { font-size: 22px; margin-bottom: 8px; }
.info-card p { color: var(--ink-2); font-size: 15px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stats-row strong { display: block; font-family: var(--font-display); font-size: 48px; font-weight: 500; color: var(--wine); line-height: 1.1; }
.stats-row span { color: var(--muted); font-size: 14px; }
.faq { max-width: 860px; margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .nav__link { padding: 10px 9px; font-size: 14px; }
    .grid { grid-template-columns: repeat(3, 1fr); }
    .slider__track { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
    :root { --header-h: 68px; }
    .nav { display: none; }
    .menu-toggle { display: inline-grid; }
    .header__inner { grid-template-columns: auto 1fr auto; }
    .header__inner .logo { justify-self: center; }
    .hero__inner { grid-template-columns: 1fr; padding-top: 44px; gap: 50px; }
    .hero__visual { max-width: 480px; }
    .perks { grid-template-columns: 1fr 1fr; }
    .perk:nth-child(3) { border-left: 0; }
    .perk:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .editorial, .about, .newsletter, .box-band, .jewelry-feature { grid-template-columns: 1fr; }
    .box-band { padding: 44px 32px; }
    .about__badge { right: 16px; }
    .shop { grid-template-columns: 1fr; }
    .filters {
        position: fixed; top: 0; left: 0; bottom: 0; z-index: 85; width: min(360px, 90%); max-height: none;
        background: #fff; padding: 24px; transform: translateX(-100%); transition: transform .45s var(--ease); box-shadow: var(--shadow-lg);
    }
    .filters.is-open { transform: none; }
    .filter-toggle { display: inline-flex; }
    .pdp { grid-template-columns: 1fr; gap: 36px; }
    .gallery { position: static; }
    .cart-page { grid-template-columns: 1fr; }
    .summary { position: static; }
    .info-grid { grid-template-columns: 1fr 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 440px) { .hide-xs { display: none; } }
@media (max-width: 720px) {
    .container { padding: 0 16px; }
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 28px; }
    .logo__name { font-size: 22px; }
    .logo__tag { font-size: 8.5px; letter-spacing: .4em; }
    .header .logo__img { width: 44px; height: 44px; }
    .header .logo { gap: 8px; }
    .header__right .hide-sm { display: none; }
    .grid, .grid--3 { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
    .slider__track { grid-auto-columns: 70%; gap: 14px; }
    .slider__nav { display: none; }
    .card__name { font-size: 14px; }
    .price { font-size: 15.5px; }
    .quick-add { transform: none; opacity: 1; left: auto; right: 8px; bottom: 8px; width: 40px; height: 40px; padding: 0; border-radius: 50%; }
    .quick-add span { display: none; }
    .fav-btn { width: 36px; height: 36px; top: 8px; right: 8px; }
    .badges { top: 8px; left: 8px; }
    .badge { font-size: 10px; padding: 4px 8px; }
    .perks { grid-template-columns: 1fr; }
    .perk + .perk { border-left: 0; border-top: 1px solid var(--line); }
    .hero__stats { gap: 24px; }
    .float-card { max-width: 200px; padding: 8px 12px 8px 8px; }
    .float-card img { width: 44px; height: 44px; }
    .float-card--2 { right: -2%; }
    .float-card--1 { left: -2%; }
    .hero__ring { width: 110px; height: 110px; }
    .hero__ring-core { top: calc(-4% + 30px); right: calc(2% + 30px); width: 50px; height: 50px; font-size: 20px; }
    .promo { min-height: 360px; padding: 28px; }
    .steps { grid-template-columns: 1fr; }
    .newsletter { padding: 40px 24px; }
    .newsletter form { flex-direction: column; border-radius: var(--radius); }
    .newsletter input { padding: 12px 14px; }
    .footer__grid { grid-template-columns: 1fr; gap: 36px; }
    .gallery { grid-template-columns: 1fr; }
    .gallery__thumbs { grid-auto-flow: column; grid-auto-columns: 70px; order: 2; overflow-x: auto; }
    .pdp__meta { grid-template-columns: 1fr; }
    .pdp__buy { flex-wrap: nowrap; }
    .pdp__buy .btn { min-width: 0; padding-inline: 18px; }
    .form-card { padding: 22px; }
    .form-grid, .options--2 { grid-template-columns: 1fr; }
    .cart-table .cart-line { grid-template-columns: 80px 1fr; }
    .cart-table .cart-line img { width: 80px; height: 80px; }
    .cart-table .cart-line__price { grid-column: 2; text-align: left; }
    .info-grid { grid-template-columns: 1fr; }
    .wa-float { right: 16px; bottom: 16px; }
    .toolbar__right { width: 100%; }
    .toolbar__right .select { flex: 1; }
    .toolbar__right select { width: 100%; }
}

.filters [data-mobile-only] { display: none; }
@media (max-width: 1024px) { .filters [data-mobile-only] { display: flex; } }
