/* =========================================================================
   Reneé Cosmetics — Tienda
   Paleta del logotipo (#C2185B). Sistema tipográfico único, tomado del
   documento de marca "Políticas de la tienda": títulos en mayúsculas
   espaciadas, un solo color; el logotipo es la única pieza caligráfica.
   ========================================================================= */

:root {
  --rose: #C2185B;
  --rose-deep: #9C1249;
  --wine: #6B1232;
  --blush: #F3DCE3;
  --petal: #EBCAD5;
  --sand: #EFE3E6;
  --cream: #FCF7F5;
  --paper: #FFFFFF;
  --ink: #2A0F18;
  --muted: #7A5F67;
  --line: #EADBDF;
  --ok: #5f7d62;
  --warn: #b5793f;
  --danger: #a24a4a;

  --f: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --f-display: 'Marcellus', Georgia, 'Times New Roman', serif;
  --night: #3B0A1B;
  --orchid: #E89AB6;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -24px rgba(59, 10, 27, .35);
  --shadow-sm: 0 6px 20px -10px rgba(59, 10, 27, .3);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 128px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--f); font-size: 16px; font-weight: 400; line-height: 1.65;
  color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.hero-slider > *, .grid > *, .cats > *, .shop > *, .pdp > *, .checkout > *, .split > *, .newsletter > *, .foot-grid > *, .gallery > *, .story > *, .contact-grid > * { min-width: 0; }

/* ---------- tipografía (una sola familia, un solo color de título) ---------- */
.eyebrow { display: block; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--rose); font-weight: 500; }
.title, .title-xl {
  font-family: var(--f); font-weight: 300; text-transform: uppercase; color: var(--wine); margin: 0; line-height: 1.2;
}
.title { font-size: clamp(22px, 2.8vw, 32px); letter-spacing: .2em; }
.title-xl { font-size: clamp(28px, 4.6vw, 54px); letter-spacing: .18em; }
.rule { width: 56px; height: 1px; background: var(--rose); margin: 18px 0 0; border: 0; }
.center { text-align: center; }
.center .rule { margin-left: auto; margin-right: auto; }
.lead { font-size: clamp(16px, 1.3vw, 18px); font-weight: 300; color: #56404A; max-width: 56ch; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 32px; border-radius: 999px;
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--rose); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--rose-deep); }
.btn-dark { background: var(--wine); color: #fff; }
.btn-dark:hover { background: var(--ink); }
.btn-ghost { border: 1px solid currentColor; }
.btn-ghost:hover { background: var(--wine); color: #fff; border-color: var(--wine); }
.btn-light { background: #fff; color: var(--wine); }
.btn-light:hover { background: var(--blush); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--wine); }

/* ---------- barra de anuncios ---------- */
.announce { background: var(--wine); color: #F3DCE3; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; overflow: hidden; white-space: nowrap; height: 34px; display: flex; align-items: center; }
.announce-track { display: inline-flex; gap: 56px; animation: marquee 36s linear infinite; padding-left: 56px; }
.announce-track span::before { content: '✦'; margin-right: 56px; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- encabezado de dos niveles ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(252, 247, 245, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 10px 30px -24px rgba(59, 10, 27, .6); }
.header-top { height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.logo img { height: 44px; width: auto; transition: height .4s var(--ease); }
.header.scrolled .logo img { height: 36px; }
.header-left, .header-actions { display: flex; align-items: center; gap: 4px; }
.header-actions { justify-content: flex-end; }
.search-trigger { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 13px; letter-spacing: .08em; transition: border-color .3s; }
.search-trigger:hover { border-color: var(--rose); }
.search-trigger svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; position: relative; transition: background .25s; }
.icon-btn:hover { background: var(--blush); }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--rose); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 500; transform: scale(0); transition: transform .35s var(--ease); }
.badge.show { transform: scale(1); }
.badge.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.4); } }
.menu-btn { display: none; }
.account-link { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border-radius: 999px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--wine); transition: background .25s; margin-right: 4px; }
.account-link:hover { background: var(--blush); }
.account-link svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nav ul { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; gap: clamp(18px, 2.6vw, 42px); height: 44px; align-items: center; }
.nav a { position: relative; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; padding: 8px 0; color: var(--wine); }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--rose); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }

/* ---------- portada (carrusel con los banners de Wix) ---------- */
/* Ancho completo siempre; solo la altura se adapta (2:1, sin pasar del alto de la pantalla). */
.hero-slider { position: relative; width: 100%; height: clamp(360px, 50vw, calc(100vh - 160px)); overflow: hidden; background: var(--sand); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.slide.on { opacity: 1; z-index: 1; }
.slide picture, .brand-band picture { display: contents; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.slide.on img { animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.slide a { position: absolute; inset: 0; }
.slider-ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 10px; }
.slider-ui button { width: 34px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .55); overflow: hidden; position: relative; }
.slider-ui button.on::after { content: ''; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: progress 6s linear forwards; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .85); display: grid; place-items: center; opacity: 0; transition: opacity .3s, background .3s; color: var(--wine); }
.hero-slider:hover .slider-arrow { opacity: 1; }
.slider-arrow:hover { background: #fff; }
.slider-arrow.prev { left: 24px; } .slider-arrow.next { right: 24px; }
.slider-arrow svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }

.slogan { background: var(--blush); padding: clamp(48px, 7vw, 96px) 0; text-align: center; position: relative; overflow: hidden; }
.slogan::before { content: ''; position: absolute; inset: 0; background: url('../img/pattern-renee.jpg?v=3') center / 520px repeat; opacity: .035; }
.slogan .wrap { position: relative; }
.slogan .lead { margin: 18px auto 30px; }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- secciones ---------- */
section { padding: clamp(56px, 8vw, 112px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.sec-head.center { flex-direction: column; align-items: center; }
.sec-head .eyebrow { margin-bottom: 12px; }

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); }
.cat { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--blush); isolation: isolate; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(42, 15, 24, .6)); z-index: 1; }
.cat:hover img { transform: scale(1.07); }
.cat-info { position: absolute; left: 0; right: 0; bottom: 22px; color: #fff; z-index: 2; text-align: center; }
.cat-info h3 { font-weight: 400; font-size: clamp(15px, 1.6vw, 19px); letter-spacing: .3em; text-transform: uppercase; margin: 0; }
.cat-info small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .85; display: block; margin-top: 4px; transition: opacity .4s, transform .4s var(--ease); }

/* tarjetas de producto */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 32px) clamp(12px, 1.6vw, 24px); }
.card { position: relative; display: flex; flex-direction: column; }
.card-top { position: relative; border-radius: var(--radius); overflow: hidden; }
.card-media { display: block; position: relative; aspect-ratio: 1; overflow: hidden; background: #fff; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1s var(--ease); }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.alt { opacity: 1; }
.card:hover .card-media img { transform: scale(1.04); }
.card.is-out .card-media img:not(.alt) { filter: grayscale(.35) opacity(.8); }
.tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--wine); font-weight: 500; }
.tag.out { background: var(--wine); color: #fff; }
.tag.low { background: #fff3e6; color: var(--warn); }
.fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; transition: transform .3s var(--ease); }
.fav svg { width: 18px; height: 18px; fill: none; stroke: var(--wine); stroke-width: 1.6; transition: fill .3s; }
.fav.on svg { fill: var(--rose); stroke: var(--rose); }
.fav:active { transform: scale(.85); }
.quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; height: 44px; border-radius: 999px; background: var(--wine); color: #fff; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; display: grid; place-items: center; transform: translateY(140%); transition: transform .45s var(--ease), background .3s; }
.quick:hover { background: var(--ink); }
.card:hover .quick, .card:focus-within .quick { transform: none; }
.card-body { padding: 14px 4px 0; display: flex; flex-direction: column; gap: 4px; }
.card-brand { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.card-title { font-size: 15px; line-height: 1.4; font-weight: 400; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.price { font-size: 16px; font-weight: 500; color: var(--wine); letter-spacing: .04em; }
.swatches { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.swatches i { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); opacity: .5; }

/* bloques editoriales */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.split.rev { grid-template-columns: 1fr 1.1fr; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.split-media.tall { aspect-ratio: 4 / 5; }
.split-media img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.split-text .lead { margin: 20px 0 28px; }
.split-text .eyebrow { margin-bottom: 14px; }
.chips-inline { display: flex; gap: 8px; flex-wrap: wrap; margin: -8px 0 28px; }
.chips-inline span { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--rose); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--wine); }
.tinted { background: var(--blush); }
.brand-band { display: block; border-radius: var(--radius); overflow: hidden; position: relative; }
.brand-band img { width: 100%; aspect-ratio: 970 / 300; object-fit: cover; transition: transform 1.2s var(--ease); }
.brand-band:hover img { transform: scale(1.03); }

.story-teaser { position: relative; overflow: hidden; background: var(--wine); color: #F3DCE3; }
.story-teaser .title, .story-teaser .eyebrow { color: #fff; }
.story-teaser .lead { color: #EBCAD5; }
.story-teaser .rule { background: #F3DCE3 !important; }
.story-teaser .btn-ghost:hover { background: #fff; color: var(--wine); border-color: #fff; }

/* confianza */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.trust div { background: var(--paper); padding: 30px 24px; text-align: center; }
.trust svg { width: 30px; height: 30px; stroke: var(--rose); fill: none; stroke-width: 1.3; margin: 0 auto 14px; }
.trust h4 { margin: 0 0 6px; font-weight: 500; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--wine); }
.trust p { margin: 0; font-size: 14px; color: var(--muted); }

/* instagram */
.insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta a { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.insta a::after { content: ''; position: absolute; inset: 0; background: rgba(194, 24, 91, .45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='30' height='30' fill='none' stroke='white' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E") center / 30px no-repeat; opacity: 0; transition: opacity .4s; }
.insta a:hover::after { opacity: 1; }
.insta a:hover img { transform: scale(1.08); }

/* newsletter / footer */
.newsletter { background: var(--rose); color: #fff; border-radius: calc(var(--radius) * 1.5); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.newsletter::after { content: ''; position: absolute; right: -40px; bottom: -60px; width: 340px; height: 120px; background: url('../img/logo-renee-white.png?v=3') center / contain no-repeat; opacity: .1; pointer-events: none; }
.newsletter .title, .newsletter .eyebrow { color: #fff; }
.nl-form { display: flex; background: #fff; border-radius: 999px; padding: 6px; gap: 6px; position: relative; z-index: 1; }
.nl-form input { flex: 1; border: 0; outline: 0; padding: 0 18px; background: transparent; min-width: 0; color: var(--ink); }

footer { background: var(--wine); color: #EBCAD5; padding: clamp(48px, 7vw, 90px) 0 30px; margin-top: clamp(56px, 8vw, 112px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
footer h5 { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; margin: 0 0 18px; color: #fff; font-weight: 500; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; font-weight: 300; }
footer a:hover { color: #fff; }
.foot-logo { height: 46px; margin-bottom: 8px; }
.foot-slogan { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; opacity: .8; margin: 0 0 14px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; display: grid; place-items: center; transition: background .3s; }
.socials a:hover { background: rgba(255, 255, 255, .12); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .15); display: flex; justify-content: space-between; gap: 16px; font-size: 13px; opacity: .75; flex-wrap: wrap; }

/* ---------- cabecera de página ---------- */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 44px); text-align: center; }
.page-hero .title-xl { margin-top: 12px; }
.page-hero .rule { margin: 18px auto 0; }
.page-hero .lead { margin: 18px auto 0; }
.page-banner { position: relative; height: clamp(220px, 34vw, 420px); overflow: hidden; display: grid; place-items: center; text-align: center; color: #fff; isolation: isolate; }
.page-banner img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; z-index: -2; will-change: transform; }
.page-banner::after { content: ''; position: absolute; inset: 0; background: rgba(59, 10, 27, .45); z-index: -1; }
.page-banner .title-xl, .page-banner .eyebrow { color: #fff; }
.page-banner .rule { background: #fff !important; margin: 18px auto 0; }
.crumbs { font-size: 12px; letter-spacing: .12em; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; text-transform: uppercase; }
.crumbs a:hover { color: var(--rose); }

/* ---------- tienda ---------- */
.shop { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 4vw, 56px); padding-bottom: 40px; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; display: grid; gap: 30px; }
.filters h6 { margin: 0 0 14px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: var(--wine); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 13px; display: inline-flex; align-items: center; gap: 8px; transition: all .25s; }
.chip:hover { border-color: var(--rose); }
.chip.on { background: var(--wine); border-color: var(--wine); color: #fff; }
.chip small { opacity: .6; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; cursor: pointer; }
.toggle input { appearance: none; width: 44px; height: 26px; border-radius: 13px; background: var(--line); position: relative; transition: background .3s; cursor: pointer; flex: none; }
.toggle input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.toggle input:checked { background: var(--rose); }
.toggle input:checked::after { transform: translateX(18px); }
.range { width: 100%; accent-color: var(--rose); }
.range-val { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.search-inline { flex: 1; min-width: 200px; max-width: 420px; position: relative; }
.search-inline input { width: 100%; height: 48px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); padding: 0 20px 0 46px; outline: 0; transition: border-color .3s, box-shadow .3s; }
.search-inline input:focus { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(194, 24, 91, .12); }
.search-inline svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--muted); fill: none; stroke-width: 1.6; }
.select { height: 48px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); padding: 0 40px 0 18px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C2185B' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.result-count { font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.filter-open { display: none; }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty .title { margin-bottom: 12px; }

/* ---------- ficha de producto ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); padding: 10px 0 40px; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
.thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 640px; overflow-y: auto; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { width: 84px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid transparent; transition: border-color .3s, opacity .3s; opacity: .65; flex: none; background: #fff; }
.thumbs button.on, .thumbs button:hover { border-color: var(--rose); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.stage { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; aspect-ratio: 1; }
.slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slides::-webkit-scrollbar { display: none; }
.slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; cursor: zoom-in; }
.dots { position: absolute; bottom: 14px; left: 0; right: 0; display: none; justify-content: center; gap: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .7); transition: width .3s, background .3s; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.dots i.on { width: 20px; background: var(--rose); }
.stage-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; opacity: 0; transition: opacity .3s; font-size: 22px; color: var(--wine); }
.stage:hover .stage-nav { opacity: 1; }
.stage-nav.prev { left: 14px; } .stage-nav.next { right: 14px; }
.pdp-info h1 { font-weight: 400; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .1em; text-transform: uppercase; color: var(--wine); line-height: 1.3; margin: 14px 0 14px; }
.pdp-price { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.pdp-price .price { font-size: 24px; }
.stock-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; background: #edf3ed; color: var(--ok); }
.stock-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock-pill.low { background: #fff3e6; color: var(--warn); }
.stock-pill.out { background: #f6e8e8; color: var(--danger); }
.opt-label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; margin: 26px 0 12px; display: flex; justify-content: space-between; color: var(--wine); font-weight: 500; }
.opt-label span { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400; }
.variants { display: flex; flex-wrap: wrap; gap: 10px; }
.variant { min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; position: relative; transition: all .25s; }
.variant:hover { border-color: var(--rose); }
.variant.on { border-color: var(--wine); background: var(--wine); color: #fff; }
.variant.out { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(122, 95, 103, .6); }
.variant.out.on { background: var(--muted); border-color: var(--muted); color: #fff; }
.buy-row { display: flex; gap: 12px; margin-top: 28px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 52px; background: var(--paper); }
.qty button { width: 44px; height: 100%; font-size: 20px; color: var(--rose); }
.qty span { min-width: 28px; text-align: center; }
.buy-row .btn { flex: 1; }
.notify { margin-top: 18px; padding: 20px; border-radius: var(--radius-sm); background: var(--blush); }
.notify p { margin: 0 0 12px; font-size: 14px; }
.notify form { display: flex; gap: 8px; }
.notify input { flex: 1; min-width: 0; height: 48px; border-radius: 999px; border: 1px solid var(--line); padding: 0 18px; outline: 0; background: #fff; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.perks div { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.perks svg { width: 22px; height: 22px; stroke: var(--rose); fill: none; stroke-width: 1.4; flex: none; }
.acc { border-top: 1px solid var(--line); margin-top: 30px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--wine); font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 22px; color: var(--rose); transition: transform .3s; font-weight: 300; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc-body { padding: 0 0 22px; color: #56404A; font-size: 15px; font-weight: 300; }
.acc .acc-body ul { padding-left: 18px; }
.sticky-buy { display: none; }

/* ---------- paneles ---------- */
.scrim { position: fixed; inset: 0; background: rgba(42, 15, 24, .42); opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 80; backdrop-filter: blur(2px); }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); z-index: 90; transform: translateX(100%); transition: transform .5s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.drawer.on { transform: none; }
.drawer.left { left: 0; right: auto; transform: translateX(-100%); }
.drawer.left.on { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-weight: 400; font-size: 16px; letter-spacing: .26em; text-transform: uppercase; color: var(--wine); margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--cream); }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); animation: fadeIn .4s var(--ease); }
.line img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; background: #fff; }
.line h4 { margin: 0; font-size: 14px; font-weight: 400; line-height: 1.35; }
.line small { color: var(--muted); font-size: 13px; }
.line .qty { height: 36px; margin-top: 8px; }
.line .qty button { width: 34px; font-size: 16px; }
.line .rm { font-size: 12px; color: var(--muted); text-decoration: underline; margin-top: 6px; }
.line .price { font-size: 15px; }
.totals { display: grid; gap: 6px; font-size: 15px; margin-bottom: 16px; }
.totals div { display: flex; justify-content: space-between; gap: 10px; }
.totals .grand { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--wine); padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; }
.progress { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; margin: 6px 0 14px; }
.progress i { display: block; height: 100%; background: var(--rose); transition: width .6s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }

.mobile-nav { display: grid; padding: 6px 24px; }
.mobile-nav a { font-size: 14px; letter-spacing: .24em; text-transform: uppercase; color: var(--wine); padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mobile-nav a small { font-size: 12px; color: var(--muted); letter-spacing: .06em; }

.search-panel { position: fixed; inset: 0 0 auto 0; z-index: 90; background: var(--paper); transform: translateY(-105%); transition: transform .5s var(--ease); max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow); padding-bottom: 30px; }
.search-panel.on { transform: none; }
.search-top { display: flex; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.search-top input { flex: 1; border: 0; outline: 0; font-size: clamp(18px, 2.4vw, 26px); font-weight: 300; letter-spacing: .06em; background: transparent; min-width: 0; }
.search-hints { display: flex; gap: 8px; flex-wrap: wrap; padding: 18px 0; }
.search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.sr-item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; transition: background .25s; }
.sr-item:hover { background: var(--blush); }
.sr-item img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: #fff; }
.sr-item b { font-weight: 400; font-size: 15px; display: block; line-height: 1.3; }
.sr-item mark { background: var(--petal); color: inherit; border-radius: 3px; }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 72px); padding: 10px 0 40px; }
.steps { display: flex; gap: 8px; margin-bottom: 28px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); flex-wrap: wrap; }
.steps span.on { color: var(--wine); }
.steps span + span::before { content: '—'; margin-right: 8px; opacity: .5; }
.form-card { background: var(--paper); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); margin-bottom: 18px; }
.form-card h3 { font-weight: 400; font-size: 14px; letter-spacing: .24em; text-transform: uppercase; color: var(--wine); margin: 0 0 20px; display: flex; align-items: center; gap: 12px; }
.form-card h3 i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; background: var(--blush); color: var(--rose); font-size: 13px; letter-spacing: 0; display: grid; place-items: center; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { height: 52px; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 0 16px; outline: 0; transition: border-color .3s, box-shadow .3s; width: 100%; }
.field textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(194, 24, 91, .12); }
.field.err input, .field.err select { border-color: var(--danger); }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .25s, background .25s; background: #fff; }
.pay-opt:has(input:checked) { border-color: var(--rose); background: var(--blush); }
.pay-opt input { accent-color: var(--rose); margin-top: 5px; }
.pay-opt b { font-weight: 500; display: block; }
.pay-opt small { color: var(--muted); }
.demo-note { font-size: 12px; color: var(--rose-deep); background: var(--blush); padding: 8px 12px; border-radius: 10px; margin-top: 12px; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; background: var(--blush); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.summary h3 { font-weight: 400; font-size: 14px; letter-spacing: .24em; text-transform: uppercase; color: var(--wine); margin: 0 0 6px; }
.summary .line { border-color: rgba(194, 24, 91, .18); grid-template-columns: 64px 1fr auto; }
.summary .line img { width: 64px; height: 64px; }
.thumb-qty { position: relative; }
.thumb-qty b { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--wine); color: #fff; font-size: 11px; display: grid; place-items: center; font-weight: 500; }
.success { text-align: center; max-width: 640px; margin: 0 auto; padding: 40px 0; }
.success .check { width: 92px; height: 92px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; margin: 0 auto 24px; }
.success .check svg { width: 44px; height: 44px; stroke: var(--rose); stroke-width: 2; fill: none; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .8s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- nuestra historia ---------- */
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.story-photo { position: relative; }
.story-photo .p1 { border-radius: 240px 240px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.story-photo .p2 { position: absolute; right: -8%; bottom: -8%; width: 46%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 8px solid var(--cream); box-shadow: var(--shadow); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.prose p { color: #56404A; font-size: 17px; font-weight: 300; margin: 0 0 18px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; text-align: center; transition: transform .5s var(--ease), box-shadow .5s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value .n { display: block; font-size: 12px; letter-spacing: .3em; color: var(--rose); margin-bottom: 14px; }
.value h4 { margin: 0 0 8px; font-weight: 500; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--wine); }
.value p { margin: 0; font-size: 14px; color: var(--muted); }
.quote { text-align: center; padding: clamp(64px, 9vw, 120px) 0; background: var(--blush); position: relative; overflow: hidden; }
.quote::before { content: ''; position: absolute; inset: 0; background: url('../img/pattern-renee.jpg?v=3') center / 520px repeat; opacity: .035; }
.quote .wrap { position: relative; }
.quote img { height: 60px; margin: 0 auto 20px; }

/* ---------- contacto ---------- */
.socials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.social-card { position: relative; display: grid; gap: 10px; justify-items: center; text-align: center; padding: 38px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; isolation: isolate; }
.social-card::before { content: ''; position: absolute; inset: 0; background: var(--rose); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.social-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--rose); color: #fff; }
.social-card:hover::before { transform: none; }
.social-card:hover h4, .social-card:hover .handle, .social-card:hover .go { color: #fff; }
.social-card:hover .ico { background: rgba(255, 255, 255, .18); color: #fff; }
.social-card .ico { width: 64px; height: 64px; border-radius: 50%; background: var(--blush); color: var(--rose); display: grid; place-items: center; transition: background .5s, color .5s; }
.social-card .ico svg { width: 26px; height: 26px; fill: currentColor; }
.social-card h4 { margin: 6px 0 0; font-weight: 500; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--wine); transition: color .5s; }
.social-card .handle { color: var(--muted); transition: color .5s; }
.social-card .go { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--rose); margin-top: 6px; transition: color .5s; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.contact-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-photo .over { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(255, 255, 255, .94); border-radius: var(--radius-sm); padding: 18px 20px; backdrop-filter: blur(6px); }
.contact-photo .over b { display: block; font-weight: 500; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--wine); margin-bottom: 4px; }
.contact-photo .over span { font-size: 14px; color: var(--muted); }

/* ---------- políticas (estilo del documento de marca) ---------- */
.policy-doc { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
.policy-doc::before, .policy-doc::after { content: ''; position: absolute; border-radius: 50%; z-index: 0; }
.policy-doc::before { width: 260px; height: 260px; background: var(--sand); left: -110px; bottom: -130px; }
.policy-doc::after { width: 180px; height: 180px; background: var(--rose); left: -100px; bottom: -110px; opacity: .85; }
.policy-list { list-style: none; margin: 0; padding: 0; counter-reset: p; position: relative; z-index: 1; display: grid; gap: 4px; }
.policy-list li { counter-increment: p; display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 300; color: #56404A; }
.policy-list li:last-child { border-bottom: 0; }
.policy-list li::before { content: counter(p, decimal-leading-zero); font-size: 12px; letter-spacing: .2em; color: var(--rose); padding-top: 4px; }
.policy-sign { position: relative; z-index: 1; text-align: right; margin-top: 30px; }
.policy-sign small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.policy-sign img { height: 44px; margin-left: auto; }
.ship-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 36px; }
.ship-step { text-align: center; padding: 30px 20px; border-radius: var(--radius); background: var(--blush); }
.ship-step svg { width: 34px; height: 34px; stroke: var(--rose); fill: none; stroke-width: 1.3; margin: 0 auto 12px; }
.ship-step b { display: block; font-weight: 500; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--wine); margin-bottom: 6px; }
.ship-step span { font-size: 14px; color: var(--muted); }


/* ---------- cuenta de clienta ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: stretch; }
.auth > * { min-width: 0; }
.auth-photo { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 520px; }
.auth-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(59, 10, 27, .7)); }
.auth-photo .cap { position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 1; color: #fff; }
.auth-photo .cap b { display: block; font-weight: 400; font-size: 18px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 10px; }
.auth-photo .cap ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-weight: 300; font-size: 15px; }
.auth-photo .cap li::before { content: '✦'; margin-right: 10px; opacity: .8; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.auth-tabs button { height: 52px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); position: relative; }
.auth-tabs button.on { color: var(--wine); }
.auth-tabs button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--rose); }
.auth-alt { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--muted); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.auth-alt::before, .auth-alt::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.btn-google { width: 100%; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.btn-google:hover { border-color: var(--rose); }
.btn-google svg { width: 18px; height: 18px; }
.form-msg { font-size: 14px; margin: 12px 0 0; min-height: 20px; }
.form-msg.err { color: var(--danger); }
.form-msg.ok { color: var(--ok); }
.text-link { color: var(--rose); text-decoration: underline; font-size: 14px; }
.account { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.account > * { min-width: 0; }
.account-nav { display: grid; gap: 4px; position: sticky; top: calc(var(--header-h) + 20px); }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--wine); text-align: left; transition: background .25s; }
.account-nav a:hover, .account-nav button:hover { background: var(--blush); }
.account-nav .on { background: var(--wine); color: #fff; }
.account-nav svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; flex: none; }
.hello { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--rose); color: #fff; display: grid; place-items: center; font-size: 22px; letter-spacing: .06em; flex: none; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.stat span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.stat b { display: block; font-weight: 400; font-size: 24px; color: var(--wine); margin-top: 4px; }
.order-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 14px; }
.order-card header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.order-card header b { font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--wine); }
.order-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.order-thumbs img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--blush); color: var(--wine); }
.status.entregado { background: #edf3ed; color: var(--ok); }
.status.cancelado { background: #f6e8e8; color: var(--danger); }
.track-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 14px 0 6px; }
.track-bar i { height: 4px; border-radius: 2px; background: var(--line); }
.track-bar i.on { background: var(--rose); }
.track-labels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.check-row { display: flex; gap: 10px; align-items: center; font-size: 14px; margin-top: 14px; cursor: pointer; }
.check-row input { accent-color: var(--rose); width: 18px; height: 18px; }
.login-hint { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--blush); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 18px; font-size: 14px; }

/* ---------- notificaciones ---------- */
.notif-menu { position: fixed; top: 92px; right: max(16px, calc((100vw - var(--maxw)) / 2 + var(--gutter) - 8px)); z-index: 85; width: min(360px, calc(100% - 32px)); max-height: 70vh; overflow-y: auto; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .3s var(--ease); }
.notif-menu.on { transform: none; opacity: 1; visibility: visible; }
.notif-menu header { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.notif-menu header b { font-weight: 500; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--wine); }
.notif { display: grid; gap: 2px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; transition: background .25s; }
.notif:hover { background: var(--blush); }
.notif b { font-weight: 500; }
.notif span { color: #56404A; }
.notif small { color: var(--muted); font-size: 12px; }
.notif.unread { background: #FBEFF2; }
.notif.unread b::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); margin-right: 8px; vertical-align: middle; }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 75; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35); transition: transform .35s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { from { transform: scale(1); opacity: .5; } to { transform: scale(1.6); opacity: 0; } }
.wa-tip { position: absolute; right: 72px; top: 50%; transform: translateY(-50%); background: var(--paper); color: var(--wine); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 9px 14px; border-radius: 999px; white-space: nowrap; box-shadow: var(--shadow-sm); opacity: 0; transition: opacity .3s; pointer-events: none; }
.wa-float:hover .wa-tip { opacity: 1; }
.wa-menu { position: fixed; right: 22px; bottom: 94px; z-index: 76; width: min(320px, calc(100% - 44px)); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transform: translateY(12px) scale(.96); opacity: 0; visibility: hidden; transition: all .35s var(--ease); transform-origin: bottom right; }
.wa-menu.on { transform: none; opacity: 1; visibility: visible; }
.wa-menu header { background: #075e54; color: #fff; padding: 16px 18px; }
.wa-menu header b { display: block; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.wa-menu header span { font-size: 13px; opacity: .85; }
.wa-menu a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); transition: background .25s; }
.wa-menu a:hover { background: var(--blush); }
.wa-menu a:last-child { border-bottom: 0; }
.wa-menu a i { width: 40px; height: 40px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; flex: none; }
.wa-menu a i svg { width: 20px; height: 20px; fill: currentColor; }
.wa-menu a b { display: block; font-weight: 500; font-size: 14px; }
.wa-menu a small { color: var(--muted); }
.wa-menu .empty-wa { padding: 18px; font-size: 14px; color: var(--muted); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1eb457; }
.btn-wa svg { width: 18px; height: 18px; fill: currentColor; }
.wa-inline { display: inline-flex; align-items: center; gap: 8px; color: #128c4a; font-size: 14px; margin-top: 14px; }
.wa-inline svg { width: 18px; height: 18px; fill: currentColor; }
.social-card.wa .ico { background: #e3f7ea; color: #25d366; }
.social-card.wa::before { background: #25d366; }
.social-card.wa:hover { border-color: #25d366; }
.foot-wa { display: grid; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 300; }
.foot-wa a { display: inline-flex; align-items: center; gap: 8px; }
.foot-wa svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- toast / lightbox ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 14px 18px 14px 14px; border-radius: 16px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); transition: transform .5s var(--ease), opacity .3s, visibility .5s; max-width: calc(100% - 32px); font-size: 14px; opacity: 0; visibility: hidden; }
.toast.on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.toast button { color: var(--petal); text-decoration: underline; margin-left: 6px; white-space: nowrap; }
.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(42, 15, 24, .92); display: none; place-items: center; padding: 20px; }
.lightbox.on { display: grid; animation: fadeIn .3s; }
.lightbox img { max-height: 90vh; border-radius: var(--radius); }
.lightbox button { position: absolute; top: 18px; right: 18px; color: #fff; width: 48px; height: 48px; font-size: 30px; }

/* ---------- transiciones ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(12% 0 12% 0 round var(--radius)); transition: clip-path 1.4s var(--ease); }
.reveal-img.in { clip-path: inset(0 0 0 0 round var(--radius)); }
.grid .reveal:nth-child(4n+2), .cats .reveal:nth-child(2), .values .reveal:nth-child(2), .socials-grid .reveal:nth-child(2) { transition-delay: .08s; }
.grid .reveal:nth-child(4n+3), .cats .reveal:nth-child(3), .values .reveal:nth-child(3), .socials-grid .reveal:nth-child(3) { transition-delay: .16s; }
.grid .reveal:nth-child(4n+4), .cats .reveal:nth-child(4), .values .reveal:nth-child(4) { transition-delay: .24s; }
#view { animation: pageIn .7s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } }
.curtain { position: fixed; inset: 0; z-index: 200; background: var(--cream); display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; }
.curtain img { height: 64px; animation: breathe 1.4s ease-in-out infinite; }
.curtain.off { opacity: 0; visibility: hidden; }
@keyframes breathe { 50% { opacity: .5; transform: scale(.97); } }

.tabbar { display: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .insta { grid-template-columns: repeat(3, 1fr); }
  .trust, .values { grid-template-columns: 1fr 1fr; }
  .nav ul { gap: 18px; }
  .nav a { letter-spacing: .16em; font-size: 11px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .header-top { height: 64px; grid-template-columns: auto 1fr auto; }
  .logo { justify-self: center; }
  .logo img, .header.scrolled .logo img { height: 30px; }
  .nav, .search-trigger, .header-actions .hide-m { display: none; }
  .account-link { padding: 0; width: 44px; justify-content: center; margin: 0; }
  .account-link span { display: none; }
  .menu-btn { display: grid; }

  .hero-slider { height: 62.5vw; }
  .hero-slider.has-m { height: 125vw; max-height: calc(100vh - 120px); }
  .brand-band.has-m img { aspect-ratio: auto; }
  .slider-arrow { display: none; }

  .cats { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .quick { transform: none; height: 38px; font-size: 10px; left: 8px; right: 8px; bottom: 8px; }
  .card-top { border-radius: 14px; }

  .split, .split.rev, .story, .contact-grid { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .newsletter { grid-template-columns: 1fr; }
  .socials-grid, .ship-steps { grid-template-columns: 1fr; }
  .socials-grid { gap: 12px; }
  .social-card { grid-template-columns: 56px 1fr; justify-items: start; text-align: left; column-gap: 16px; row-gap: 0; padding: 18px 20px; }
  .social-card .ico { grid-row: 1 / 4; width: 56px; height: 56px; }
  .social-card h4 { margin: 0; }
  .social-card .go { margin-top: 2px; }
  .story-photo { margin: 0 8% 40px 0; }

  .shop { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: auto 0 0 0; z-index: 95; background: var(--paper); border-radius: 24px 24px 0 0; padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom)); transform: translateY(105%); transition: transform .5s var(--ease); max-height: 82vh; overflow-y: auto; box-shadow: var(--shadow); }
  .filters.on { transform: none; }
  .filters .sheet-head { display: flex !important; }
  .filter-open { display: inline-flex; }

  .pdp { grid-template-columns: 1fr; padding-top: 0; }
  .gallery { grid-template-columns: 1fr; position: static; margin: 0 calc(var(--gutter) * -1); }
  .stage { border-radius: 0; }
  .thumbs, .stage-nav { display: none; }
  .dots { display: flex; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 60; gap: 10px; align-items: center; padding: 10px var(--gutter); background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(150%); transition: transform .45s var(--ease); }
  .sticky-buy.on { transform: none; }
  .sticky-buy .btn { flex: 1; height: 48px; padding: 0 18px; }
  .sticky-buy .meta { font-size: 12px; line-height: 1.3; max-width: 40%; color: var(--muted); }
  .sticky-buy .meta b { display: block; font-size: 16px; font-weight: 500; color: var(--wine); }

  .checkout { grid-template-columns: 1fr; }
  .auth, .account { grid-template-columns: 1fr; }
  .auth-photo { min-height: 320px; order: 2; }
  .account-nav { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .account-nav::-webkit-scrollbar { display: none; }
  .stat-row { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stat { padding: 14px; }
  .stat b { font-size: 18px; }
  .wa-float { bottom: calc(78px + env(safe-area-inset-bottom)); right: 16px; width: 54px; height: 54px; }
  .wa-menu { bottom: calc(144px + env(safe-area-inset-bottom)); right: 16px; }
  .wa-tip { display: none; }
  .notif-menu { top: 70px; right: 16px; }
  .summary { position: static; order: -1; }
  .fields { grid-template-columns: 1fr; }

  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); height: calc(64px + env(safe-area-inset-bottom)); }
  .tabbar a, .tabbar button { display: grid; place-items: center; align-content: center; gap: 2px; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); position: relative; }
  .tabbar svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
  .tabbar .on { color: var(--wine); }
  .tabbar .badge { top: 6px; right: calc(50% - 22px); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  footer { margin-top: 64px; }
}

@media (max-width: 520px) {
  .btn-row .btn { flex: 1; padding: 0 18px; }
  .cat-info { bottom: 14px; }
  .cat-info h3 { letter-spacing: .22em; }
  .grid { gap: 22px 10px; }
  .card-title { font-size: 14px; }
  .fav { width: 34px; height: 34px; top: 8px; right: 8px; }
  .tag { top: 8px; left: 8px; font-size: 9px; padding: 5px 9px; }
  .insta { gap: 6px; }
  .trust, .values { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .perks { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; background: transparent; padding: 0; }
  .nl-form input { background: #fff; height: 52px; border-radius: 999px; }
  .notify form { flex-direction: column; }
  .buy-row { flex-wrap: wrap; }
  .policy-list li { grid-template-columns: 36px 1fr; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-img { opacity: 1; transform: none; clip-path: none; }
}

/* Vista previa del borrador (solo administración) */
.preview-bar { position: relative; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; padding: 8px 16px; background: #2A0F18; color: #F3DCE3; font-size: 13px; text-align: center; }
.preview-bar b { letter-spacing: .18em; text-transform: uppercase; font-weight: 500; font-size: 12px; color: #fff; }
.preview-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- checkout: correo primero, transferencia con comprobante ---------- */
.link-ribbon { background: var(--wine); color: #F3DCE3; border: 0; }
.link-ribbon b { color: #fff; }
.co-lead { font-size: 15px; margin: -4px 0 16px; }
.co-note { margin: -6px 0 14px; font-size: 13px; color: var(--muted); }
.co-code { margin-top: 18px; padding: 18px; border-radius: var(--radius-sm); background: var(--blush); }
.co-code p { margin: 0 0 14px; line-height: 1.55; }
.co-code #coCode { font-size: 24px; letter-spacing: .5em; text-align: center; }
.co-code .btn { margin-top: 14px; height: 52px; }
.co-code-links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 14px; }
.bank-box { margin-top: 16px; padding: 18px; border-radius: var(--radius-sm); background: var(--blush); }
.bank-box .eyebrow { margin: 0 0 8px; }
.bank-data { white-space: pre-wrap; margin: 0 0 8px; font-size: 15px; line-height: 1.6; color: var(--wine); font-weight: 500; user-select: all; -webkit-user-select: all; }
.bank-box .hint { margin: 0; font-size: 13px; color: var(--muted); }
.receipt-field { margin-top: 16px; }
.receipt-field .req { color: var(--danger); font-size: 11px; letter-spacing: .08em; }
.receipt-drop { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1.5px dashed var(--rose); border-radius: var(--radius-sm); background: var(--paper); cursor: pointer; min-height: 76px; }
.receipt-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.receipt-drop img { width: 60px; height: 60px; object-fit: cover; border-radius: 10px; flex: none; }
.receipt-drop span { display: grid; gap: 2px; min-width: 0; }
.receipt-drop b { font-weight: 500; color: var(--wine); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.receipt-drop small { color: var(--muted); font-size: 12px; }
.receipt-icon, .receipt-pdf { width: 48px; height: 48px; border-radius: 50%; background: var(--blush); color: var(--rose); display: grid !important; place-items: center; font-size: 24px; flex: none; }
.receipt-pdf { border-radius: 10px; font-size: 12px; letter-spacing: .1em; font-weight: 600; }
.receipt-field.has .receipt-drop { border-style: solid; background: #f6faf6; border-color: var(--ok); }
.receipt-field.err .receipt-drop { border-color: var(--danger); background: #FBEFF2; }

/* ---------- carrito enviado por link ---------- */
.link-cart { max-width: 720px; }
.link-lines .line { grid-template-columns: 84px 1fr auto; }
.link-lines .qty button[disabled] { opacity: .3; }
.link-totals { margin: 18px 0; }
.link-actions { display: grid; gap: 10px; }
.link-actions .btn-primary { height: 58px; }
.link-cart .hint { color: var(--muted); font-size: 13px; margin-top: 14px; }

/* ---------- estado del pedido ---------- */
.status.verificando { background: #fbf1e4; color: var(--warn); }
.os-note { margin: 0 0 18px; font-size: 16px; line-height: 1.55; color: var(--wine); }
.os-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.os-steps li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; position: relative; padding-bottom: 18px; color: var(--muted); }
.os-steps li:last-child { padding-bottom: 0; }
.os-steps li::before { content: ''; position: absolute; left: 10px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.os-steps li:last-child::before { display: none; }
.os-steps li.done::before { background: var(--rose); }
.os-steps i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); position: relative; z-index: 1; }
.os-steps li.done i { background: var(--rose); border-color: var(--rose); }
.os-steps li.on i { border-color: var(--rose); box-shadow: inset 0 0 0 4px var(--paper); background: var(--rose); }
.os-steps li.done, .os-steps li.on { color: var(--wine); }
.os-steps span { display: grid; gap: 2px; padding-top: 1px; }
.os-steps b { font-weight: 500; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.os-steps small { font-size: 12px; color: var(--muted); }
.os-ship { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--blush); display: grid; gap: 4px; }
.os-ship small { color: var(--muted); }
[hidden] { display: none !important; }
.link-actions .btn { width: 100%; min-width: 0; white-space: normal; text-align: center; }

/* transferencia: elegir banco */
.bank-pick { margin: 4px 0 14px; }
.bank-pick select { background: var(--paper); }
.bank-info { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 10px; padding: 14px 16px; border-radius: 10px; background: var(--paper); font-size: 15px; }
.bank-info dt { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; align-self: center; }
.bank-info dd { margin: 0; color: var(--wine); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; min-width: 0; overflow-wrap: anywhere; }
.bank-num { font-size: 17px; letter-spacing: .04em; user-select: all; -webkit-user-select: all; }
.field.err select { border-color: var(--danger); }


/* =========================================================================
   Identidad 3.0 — tipografía y acentos del manual de marca
   ========================================================================= */
.title, .title-xl, .cat-info h3, .pdp-info h1, .drawer-head h3, .form-card h3, .summary h3,
.auth-photo .cap b, footer h5 { font-family: var(--f-display); font-weight: 400; }
.title { letter-spacing: .14em; }
.title-xl { letter-spacing: .12em; }
.rule { height: 2px; background: var(--rose); }
.eyebrow { font-weight: 700; color: var(--rose); }
.btn { font-weight: 700; letter-spacing: .18em; }
.btn-dark { background: var(--wine); }
.btn-dark:hover { background: var(--night); }
.price { font-weight: 700; }
.announce, footer { background: var(--night); }
.announce-track span::before { content: ''; display: inline-block; width: 18px; height: 1px; background: var(--orchid); vertical-align: middle; opacity: 1; margin-right: 22px; }
footer h5 { letter-spacing: .2em; }
.story-teaser { background: var(--wine); }
.newsletter { background: var(--wine); }
.newsletter::after { opacity: .08; }
@media (min-width: 861px) { .logo img { height: 50px; } .header.scrolled .logo img { height: 40px; } }
@media (max-width: 860px) {
  /* Celular: logo centrado en la pantalla (columnas laterales iguales) */
  .header-top { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .header-left { justify-self: start; }
  .header-actions { gap: 0; }
  .header-actions .icon-btn, .header-actions .account-link { width: 40px; }
  .header-actions .account-link { display: none; } /* en celular la cuenta está en la barra de abajo */
  .header-actions #bellBtn { display: none; } /* en celular los avisos van en la barra de abajo; arriba solo la bolsa */
  .notif-menu { top: auto; bottom: calc(76px + env(safe-area-inset-bottom)); right: 12px; left: 12px; width: auto; max-height: 62vh; transform: translateY(8px); }
  .notif-menu.on { transform: none; }
  .logo { justify-self: center; }
  .logo img, .header.scrolled .logo img { height: 34px; }
}
.foot-logo { height: 58px; }
/* "Disponibles ahora": aire entre el bloque anterior, el texto y los productos */
.sec-instock { padding-top: clamp(48px, 6vw, 88px); }
.sec-head .eyebrow { margin-bottom: 16px; }
.sec-head .rule { margin-top: 20px; }

/* Barra de anuncios: cada mensaje se mueve por separado desde app.js (startMarquee). */
.announce { position: relative; display: block; }
.announce-track { position: absolute; inset: 0; animation: none !important; gap: 0; padding: 0; display: block; transform: none; }
.announce-track span { position: absolute; left: 0; top: 0; height: 100%; display: flex; align-items: center; white-space: nowrap; padding-right: 40px; }
.announce-track span::before { margin-right: 22px; flex: none; }

/* Banner intermedio de la portada: más alto y con menos espacio hacia la sección siguiente */
.brand-band img { aspect-ratio: 1920 / 720; }
.sec-banner { padding-bottom: clamp(28px, 3.5vw, 52px); }

/* Modo en construcción */
body.construction { min-height: 100dvh; background: var(--blush); display: grid; place-items: center; padding: 24px 16px; }
.uc-wrap { width: 100%; max-width: 440px; text-align: center; }
.uc-logo { height: 64px; margin: 0 auto 26px; display: block; }
.uc-wrap h1 { font-family: Marcellus, serif; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--wine); font-size: clamp(24px, 6vw, 34px); margin: 0 0 12px; }
.uc-sub { color: var(--rose-deep); margin: 0 0 10px; font-size: 16px; }
.uc-ig a { color: var(--rose); font-weight: 700; }
.uc-admin { margin-top: 34px; text-align: left; background: #fff; border-radius: 16px; padding: 4px 18px; }
.uc-admin summary { cursor: pointer; padding: 12px 0; font-size: 13px; color: var(--wine); text-align: center; }
.uc-admin[open] { padding-bottom: 18px; }
.uc-note { font-size: 14px; }

/* Botón pequeño y seguimiento del envío (Forza) */
.btn-sm { height: 40px; padding: 0 18px; font-size: 13px; justify-self: start; }
.os-ship .btn-sm { margin-top: 8px; background: #fff; }
.ship-tl { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.ship-tl li { position: relative; padding-left: 22px; }
.ship-tl li::before { content: ''; position: absolute; left: 0; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--petal); }
.ship-tl li::after { content: ''; position: absolute; left: 4px; top: 18px; bottom: -8px; width: 2px; background: var(--petal); }
.ship-tl li:last-child::after { display: none; }
.ship-tl li.now::before { background: var(--rose); box-shadow: 0 0 0 4px rgba(194, 24, 91, .15); }
.ship-tl b { display: block; font-size: 14px; color: var(--wine); }
.ship-tl small { color: var(--muted); font-size: 12px; }

/* Recoger en tienda: mapa y distancia */
.pk-card { display: grid; gap: 4px; }
.pk-addr { margin: 0 0 6px; line-height: 1.5; }
.pk-map { height: 260px; border-radius: var(--radius-sm); overflow: hidden; margin: 6px 0 12px; border: 1px solid var(--line); background: var(--sand); z-index: 0; }
.pk-dist { margin: 10px 0 4px; font-size: 14px; }
.pk-dist small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.pk-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.pk-card .btn-sm { justify-self: start; }
.pk-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Entrega: la opción elegida despliega su panel debajo (direcciones o recoger en tienda) */
.ship-opt.open { border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 0; }
.ship-panel { border: 1px solid var(--rose); border-top: 0; border-radius: 0 0 14px 14px; padding: 16px 16px 18px; margin: -10px 0 10px; background: #fff; animation: shipOpen .25s ease; }
@keyframes shipOpen { from { opacity: 0; transform: translateY(-6px); } }
.addr-h { margin: 0 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.addr-tile { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); }
.addr-tile b { color: var(--wine); font-size: 15px; }
.addr-tile small { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 2px; }
.addr-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 20px; background: var(--blush); color: var(--rose-deep); font-size: 11px; letter-spacing: .04em; vertical-align: 2px; }
.addr-list { display: grid; gap: 10px; }
.addr-list .addr-tile { cursor: pointer; transition: border-color .2s, background .2s; }
.addr-list .addr-tile:hover, .addr-list .addr-tile:focus-visible { border-color: var(--rose); outline: none; }
.addr-list .addr-tile.on { border-color: var(--rose); background: #fff; }
.addr-dot { flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--petal); }
.addr-tile.on .addr-dot { border-color: var(--rose); box-shadow: inset 0 0 0 4px #fff; background: var(--rose); }
.addr-actions { display: flex; gap: 10px 16px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.addr-add { background: none; border: 0; padding: 6px 0; color: var(--rose); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; text-align: left; }
.addr-add:hover { text-decoration: underline; }
.addr-list + .addr-add { margin-top: 10px; }
.addr-save { display: flex; gap: 12px 18px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.addr-save .check-row { margin: 0; }
.addr-save .btn .spin { display: inline-block; width: 14px; height: 14px; margin-right: 8px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; vertical-align: -2px; animation: spin .7s linear infinite; }
.addr-save .btn.saved { background: var(--ok); border-color: var(--ok); }
@keyframes spin { to { transform: rotate(360deg); } }
.addr-msg { margin: 8px 0 0; font-size: 13px; min-height: 1em; }
.addr-msg.ok { color: var(--ok); }
.addr-msg.err { color: var(--danger); }

/* Campos obligatorios: asterisco en la etiqueta */
.checkout .field:has(:required) > label::after, #addrForm .field:has(:required) > label::after { content: ' *'; color: var(--rose); font-weight: 700; }
.req-note { margin: 10px 0 4px; font-size: 12px; color: var(--muted); }
.req-note span { color: var(--rose); font-weight: 700; }

/* Paso "Tu cuenta" del checkout */
.co-acc .btn-google { height: 52px; }
.co-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.co-or::before, .co-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.co-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; margin-bottom: 16px; border-radius: 40px; background: var(--sand); }
.co-tabs button { border: 0; background: none; padding: 10px; border-radius: 40px; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.co-tabs button.on { background: #fff; color: var(--wine); font-weight: 700; box-shadow: 0 1px 4px rgba(59, 10, 27, .12); }
.co-acc .check-row { margin: 14px 0 0; }
.co-acc-btn { height: 54px; margin-top: 16px; }
.co-acc-btn .spin, .co-acc .btn-google .spin { display: inline-block; width: 15px; height: 15px; margin-right: 8px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; vertical-align: -2px; animation: spin .7s linear infinite; }
.co-forgot { display: block; margin: 14px auto 0; }
.addr-body { flex: 1; min-width: 0; }
.addr-edit { flex: none; align-self: flex-start; background: #fff; border: 1px solid var(--petal); border-radius: 20px; padding: 6px 14px; font: inherit; font-size: 13px; font-weight: 700; color: var(--rose); cursor: pointer; }
.addr-edit:hover, .addr-edit:focus-visible { border-color: var(--rose); outline: none; }
.addr-del { background: none; border: 0; padding: 6px 0; font: inherit; font-size: 14px; color: var(--danger); cursor: pointer; }
.addr-del:hover { text-decoration: underline; }
.rc-warn { max-width: 560px; margin: 0 auto 26px; padding: 14px 18px; border-radius: 14px; background: #fff6e8; border: 1px solid #ecc98f; color: #7a4a12; line-height: 1.55; }

/* Reneé: asistente virtual de la tienda */
.rn-fab { position: fixed; right: 22px; bottom: 94px; z-index: 76; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--wine); color: #fff; font-family: 'Marcellus', serif; font-size: 24px; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(59, 10, 27, .5); display: grid; place-items: center; transition: transform .2s; }
.rn-fab:hover { transform: scale(1.06); }
.rn-fab em { position: absolute; right: 64px; white-space: nowrap; background: #fff; color: var(--wine); font: 600 12px/1 Lato, sans-serif; font-style: normal; padding: 8px 12px; border-radius: 20px; box-shadow: 0 6px 18px -8px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transition: opacity .2s; }
.rn-fab:hover em { opacity: 1; }
.rn-fab.on { background: var(--rose); }
.rn-panel { padding: 0 !important; margin: 0; position: fixed; right: 22px; bottom: 160px; z-index: 90; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 200px)); background: #fff; border-radius: 20px; box-shadow: 0 24px 60px -18px rgba(59, 10, 27, .45); display: flex; flex-direction: column; overflow: hidden; animation: rnIn .2s ease; }
@keyframes rnIn { from { opacity: 0; transform: translateY(12px); } }
.rn-panel .rn-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--wine); color: #fff; }
.rn-panel .rn-head div { flex: 1; line-height: 1.2; } .rn-panel .rn-head small { display: block; opacity: .75; font-size: 12px; }
.rn-av { width: 34px; height: 34px; border-radius: 50%; background: var(--rose); display: grid; place-items: center; font-family: 'Marcellus', serif; font-size: 18px; }
.rn-panel .rn-head button { background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; padding: 2px 6px; opacity: .85; }
.rn-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--cream); }
.rn-msg { display: flex; max-width: 88%; } .rn-msg.me { align-self: flex-end; } .rn-msg.ai { align-self: flex-start; }
.rn-bubble { padding: 9px 13px; border-radius: 16px; font-size: 14px; line-height: 1.5; word-break: break-word; }
.rn-msg.me .rn-bubble { background: var(--wine); color: #fff; border-bottom-right-radius: 4px; }
.rn-msg.ai .rn-bubble { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.rn-bubble p { margin: 0 0 5px; } .rn-bubble p:last-child { margin: 0; } .rn-bubble ul { margin: 4px 0; padding-left: 18px; }
.rn-bubble a { color: var(--rose); font-weight: 700; }
.rn-hello { margin: auto 0; text-align: center; font-size: 14px; }
.rn-sug { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 10px; }
.rn-sug button { border: 1px solid var(--petal); background: #fff; color: var(--wine); border-radius: 18px; padding: 7px 12px; font: inherit; font-size: 12.5px; cursor: pointer; }
.rn-typing { display: flex; gap: 4px; } .rn-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); opacity: .4; animation: rnDot 1.2s infinite; } .rn-typing i:nth-child(2) { animation-delay: .2s; } .rn-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes rnDot { 40% { opacity: 1; transform: translateY(-3px); } }
.rn-order { margin-top: 10px; padding: 10px; border: 1px solid var(--petal); border-radius: 14px; background: var(--cream); display: grid; gap: 8px; }
.rn-line { display: flex; gap: 8px; align-items: center; font-size: 13px; } .rn-line img { width: 38px; height: 38px; object-fit: cover; border-radius: 8px; } .rn-line span { flex: 1; } .rn-line small { display: block; color: var(--muted); }
.rn-sub { display: flex; justify-content: space-between; border-top: 1px dashed var(--petal); padding-top: 6px; } .rn-hint { color: var(--muted); font-size: 12px; }
.rn-order .btn { height: 42px; font-size: 12px; }
.rn-input { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--line); align-items: flex-end; }
.rn-input textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font: inherit; font-size: 15px; max-height: 110px; outline: none; }
.rn-input textarea:focus { border-color: var(--rose); }
.rn-mic, .rn-send { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 16px; flex: none; }
.rn-send { background: var(--rose); border-color: var(--rose); color: #fff; }
.rn-mic.on { background: var(--rose); border-color: var(--rose); animation: rnPulse 1.2s infinite; } @keyframes rnPulse { 50% { box-shadow: 0 0 0 7px rgba(194, 24, 91, .18); } }
.rn-foot { display: block; text-align: center; font-size: 11px; color: var(--muted); padding: 0 10px 8px; }
.rn-load { color: var(--muted); text-align: center; }
@media (max-width: 760px) {
  .rn-fab { right: 16px; bottom: calc(142px + env(safe-area-inset-bottom)); width: 50px; height: 50px; }
  .rn-panel { right: 8px; left: 8px; width: auto; bottom: calc(70px + env(safe-area-inset-bottom)); height: calc(100dvh - 140px - env(safe-area-inset-bottom)); }
}
body.construction .rn-fab, body.construction .rn-panel { display: none; }

/* Transferencia: bancos como tarjetas que se despliegan */
.bank-tiles { display: grid; gap: 8px; margin-bottom: 10px; }
.bank-tile { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); overflow: hidden; transition: border-color .2s; }
.bank-tile.open { border-color: var(--rose); }
.bank-head { width: 100%; display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; color: var(--ink); }
.bank-head b { font-size: 15px; color: var(--wine); }
.bank-head small { color: var(--muted); font-size: 12px; flex: 1; }
.bank-head i { font-style: normal; font-size: 20px; color: var(--rose); width: 20px; text-align: center; }
.bank-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--petal); flex: none; }
.bank-tile.open .bank-dot { border-color: var(--rose); background: var(--rose); box-shadow: inset 0 0 0 3px #fff; }
.bank-tile .bank-info { margin: 0 12px 12px; animation: shipOpen .2s ease; }
.bank-tile > .hint { margin: 0 14px 12px !important; }
.bank-box.err, #bankField.err { outline: 2px solid var(--danger); }
/* Varios comprobantes */
.receipt-list { display: grid; gap: 8px; }
.receipt-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--rose); border-radius: var(--radius-sm); background: var(--paper); }
.receipt-item img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; flex: none; }
.receipt-item span { display: grid; gap: 2px; min-width: 0; flex: 1; }
.receipt-item b { font-weight: 500; color: var(--wine); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.receipt-item small { color: var(--muted); font-size: 12px; }
.receipt-rm { border: 0; background: none; font-size: 22px; color: var(--muted); cursor: pointer; padding: 0 4px; }
.add-receipt { text-align: center; margin: 0 0 22px; }
.add-receipt .btn { cursor: pointer; }
.add-receipt-msg { margin: 10px auto 0; max-width: 520px; }
/* Pantalla de espera del checkout */
.co-busy { position: fixed; inset: 0; z-index: 300; background: rgba(252, 247, 245, .88); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 24px; animation: rnIn .2s ease; }
.co-busy-card { display: grid; justify-items: center; gap: 10px; text-align: center; max-width: 320px; padding: 26px 24px; border-radius: 20px; background: #fff; box-shadow: 0 20px 50px -20px rgba(59, 10, 27, .4); }
.co-busy-card b { color: var(--wine); font-size: 17px; }
.co-busy-card small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.co-spinner { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--petal); border-top-color: var(--rose); animation: coSpin .8s linear infinite; }
@keyframes coSpin { to { transform: rotate(360deg); } }
.spin-sm { display: inline-block; width: 14px; height: 14px; margin-right: 8px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; vertical-align: -2px; animation: coSpin .7s linear infinite; }
html.no-scroll { overflow: hidden; }
