/* =========================================================
   ELAINE · Velas Artesanales
   Marfil cálido + ciruela/violeta del logo + vidrio esmerilado
   Bordes rectos (sin arcos) · video de fondo en portada
   ========================================================= */
:root {
  --ivory: #F7F3EF;
  --ivory-2: #EFE8E2;
  --sand: #E4DAD2;
  --ink: #2C1E31;
  --ink-soft: #4A3A4F;
  --muted: #6B5D70;
  --plum: #6B2A7B;
  --violet: #9A3FB0;
  --orchid: #C57FD6;
  --lilac: #EBE0F1;
  --cocoa: #2A1D24;
  --white: #FFFFFF;

  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.75);
  --glass-shadow: 0 10px 40px -12px rgba(66, 34, 74, 0.22);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;

  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-pill: 999px;
  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 48px);
  --head: 92px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
[hidden] { display: none !important; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--plum);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .6; }
.display { font-family: var(--serif); font-weight: 300; line-height: 1.02; letter-spacing: -.01em; margin: 0; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; margin: 14px 0 0; }
.h2 em { font-style: italic; color: var(--plum); }
.lead { color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); max-width: 52ch; margin: 14px 0 0; }

/* ---------- buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px; border-radius: var(--r-pill);
  border: 1px solid transparent; text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
  touch-action: manipulation; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 12px; }
.btn-primary { background: var(--plum); color: #fff; box-shadow: 0 10px 26px -10px rgba(107, 42, 123, .7); }
.btn-primary:hover { background: #5a2168; }
.btn-ghost { border-color: rgba(44, 30, 49, .35); background: transparent; }
.btn-ghost:hover { border-color: var(--plum); color: var(--plum); }
.btn-glass { background: var(--glass); border-color: var(--glass-border); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.btn-glass:hover { background: var(--glass-strong); }
.btn-light { background: #fff; color: var(--plum); box-shadow: 0 10px 26px -14px rgba(0,0,0,.45); }
.btn-light:hover { background: var(--lilac); }
.btn-glass-dark { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass-dark:hover { background: rgba(255,255,255,.24); }
.btn-text { background: none; border: 0; min-height: 40px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }

.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center;
  border-radius: 50%; border: 1px solid transparent; background: transparent;
  transition: background-color .2s, color .2s; position: relative;
}
.icon-btn:hover { background: rgba(107, 42, 123, .08); color: var(--plum); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- header (transparente sobre el video, vidrio al bajar) ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; transition: background-color .3s, box-shadow .3s, color .3s; }
.header.is-scrolled {
  color: var(--ink); background: rgba(247, 243, 239, .8);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 1px 0 rgba(44, 30, 49, .08);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--head); transition: height .3s var(--ease); }
.header.is-scrolled .header-in { height: 74px; }
.brand { position: relative; display: block; text-decoration: none; height: 68px; transition: height .3s var(--ease); }
.brand img { height: 100%; width: auto; transition: opacity .3s; }
.header.is-scrolled .brand { height: 56px; }
.nav { display: flex; gap: 4px; }
.nav a {
  text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 14px; border-radius: var(--r-pill); transition: color .2s, background-color .2s;
}
.nav a:hover { background: rgba(255, 255, 255, .14); }
.header.is-scrolled .nav a:hover { color: var(--plum); background: rgba(107, 42, 123, .06); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.header .icon-btn:hover { background: rgba(255,255,255,.14); color: inherit; }
.header.is-scrolled .icon-btn:hover { background: rgba(107, 42, 123, .08); color: var(--plum); }
.badge {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--violet); color: #fff; font-size: 11px; line-height: 18px; text-align: center;
  transform: scale(0); transition: transform .25s var(--ease);
}
.badge.on { transform: scale(1); }
.menu-btn { display: none; }

@media (max-width: 960px) {
  :root { --head: 76px; }
  .brand { height: 54px; }
  .header.is-scrolled .brand { height: 48px; }
  .header.is-scrolled .header-in { height: 66px; }
  .nav {
    position: fixed; inset: 72px 12px auto 12px; flex-direction: column; padding: 12px; color: var(--ink);
    background: rgba(247, 243, 239, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border); border-radius: var(--r-md); box-shadow: var(--glass-shadow);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s, transform .2s var(--ease);
  }
  .nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { padding: 14px 16px; }
  .nav a:hover { background: rgba(107, 42, 123, .06); color: var(--plum); }
  .menu-btn { display: inline-grid; }
}

/* ---------- hero con video ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; color: #fff; isolation: isolate;
  display: grid; grid-template-rows: 1fr auto; background: var(--cocoa);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 48%, rgba(36, 18, 34, .5), rgba(36, 18, 34, .2) 75%),
    linear-gradient(180deg, rgba(26, 14, 22, .5) 0%, rgba(26, 14, 22, .05) 28%, rgba(26, 14, 22, .08) 60%, rgba(52, 20, 58, .62) 100%);
}
.hero-in { padding-top: calc(var(--head) + 4vh); padding-bottom: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero-logo {
  width: clamp(240px, 36vw, 520px); height: auto;
  filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .35));
  animation: rise 1.2s var(--ease) both;
}
.hero h1 { font-size: clamp(40px, 6vw, 84px); margin: 18px 0 0; text-shadow: 0 2px 24px rgba(0,0,0,.3); animation: rise 1.2s .15s var(--ease) both; }
.hero h1 em { font-style: italic; color: #F1D9F7; }
.hero .lead { color: rgba(255,255,255,.88); margin: 18px auto 0; text-shadow: 0 1px 12px rgba(0,0,0,.35); animation: rise 1.2s .25s var(--ease) both; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .hero-ctas { justify-content: center; animation: rise 1.2s .35s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-foot { display: flex; align-items: center; justify-content: flex-start; gap: 16px; padding-bottom: 28px; }
.hero-facts {
  display: flex; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap; padding: 14px 24px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); border-radius: var(--r-md);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.hero-facts div { font-size: 13px; color: rgba(255,255,255,.8); letter-spacing: .04em; }
.hero-facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 28px; color: #fff; line-height: 1.1; }
.video-toggle {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color .2s;
}
.video-toggle:hover { background: rgba(255,255,255,.24); }
.video-toggle svg { width: 18px; height: 18px; }
.video-toggle .i-play, .video-toggle[aria-pressed="true"] .i-pause { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
@media (max-width: 640px) {
  .hero-facts { padding: 12px 16px; gap: 16px; }
  .hero-foot { padding-right: 64px; }
  .hero-facts strong { font-size: 22px; }
  .hero-facts div { font-size: 12px; }
}

/* ---------- editorial collage (story) ---------- */
.story { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.collage { position: relative; aspect-ratio: 1 / 1.08; }
.collage figure { position: absolute; margin: 0; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(44, 30, 49, .45); background: var(--sand); border-radius: var(--r-sm); }
.collage figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collage figure:hover img { transform: scale(1.05); }
.collage .c1 { inset: 0 28% 22% 0; }
.collage .c2 { width: 44%; aspect-ratio: 3/4; right: 0; top: 14%; border: 6px solid var(--ivory); }
.collage .c3 { width: 40%; aspect-ratio: 1; left: 30%; bottom: 0; border: 6px solid var(--ivory); }
.poem { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.5; color: var(--plum); margin: 26px 0 30px; }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.values li {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--r-md);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.values svg { flex: none; width: 26px; height: 26px; color: var(--plum); margin-top: 2px; }
.values strong { display: block; font-weight: 500; }
.values span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .collage { max-width: 560px; width: 100%; margin-inline: auto; }
}

/* ---------- catalog slider ---------- */
.catalog { padding: clamp(70px, 9vw, 120px) 0 clamp(70px, 9vw, 110px); background: linear-gradient(180deg, var(--ivory), var(--ivory-2)); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.tabs {
  display: inline-flex; padding: 5px; gap: 4px; border-radius: var(--r-pill); max-width: 100%; overflow-x: auto; scrollbar-width: none;
  background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--r-pill); background: transparent;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
  transition: background-color .25s, color .25s;
}
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }

.rail {
  list-style: none; margin: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 23vw, 300px); gap: clamp(14px, 1.6vw, 22px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gut), calc((100% - var(--wrap)) / 2));
  padding: 6px max(var(--gut), calc((100% - var(--wrap)) / 2)) 10px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { scroll-snap-type: none; cursor: grabbing; }
.rail.dragging * { pointer-events: none; }

.card { scroll-snap-align: start; display: flex; flex-direction: column; animation: cardIn .5s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-sm); background: var(--sand); border: 0; padding: 0; width: 100%; }
.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, .card:focus-within .card-media img.alt { opacity: 1; }
.card:hover .card-media img { transform: scale(1.04); }
.card-count {
  position: absolute; left: 12px; bottom: 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: var(--r-pill); background: var(--glass-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.fav { position: absolute; top: 8px; right: 8px; z-index: 2; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
.fav:hover { background: rgba(255,255,255,.2); color: #fff; }
.fav[aria-pressed="true"] svg { fill: var(--orchid); stroke: var(--orchid); }
.fav[aria-pressed="true"] { animation: pop .35s var(--ease); }
@keyframes pop { 50% { transform: scale(1.25); } }
.card-body { padding: 16px 2px 0; text-align: center; }
.card-body h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0; line-height: 1.2; }
.card-body p { margin: 4px 0 6px; font-size: 14px; color: var(--muted); }
.price { font-variant-numeric: tabular-nums; font-weight: 500; letter-spacing: .04em; }
.price.quote { font-weight: 400; font-style: italic; font-family: var(--serif); font-size: 18px; color: var(--plum); }
.card-add {
  margin-top: 12px; width: 100%; min-height: 44px; border-radius: var(--r-pill);
  border: 1px solid rgba(44, 30, 49, .25); background: transparent;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .2s, color .2s, border-color .2s;
}
.card-add:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.rail-ctrl { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.scrollbar { position: relative; flex: 1; height: 44px; cursor: pointer; touch-action: none; }
.scrollbar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); background: rgba(44, 30, 49, .14); border-radius: 2px; }
.scroll-thumb { position: absolute; top: 50%; left: 0; height: 6px; transform: translateY(-50%); border-radius: 6px; background: linear-gradient(90deg, var(--plum), var(--violet)); min-width: 40px; cursor: grab; transition: height .2s; }
.scrollbar:hover .scroll-thumb, .scrollbar.active .scroll-thumb { height: 10px; }
.rail-arrows { display: flex; gap: 8px; }
.rail-arrows .icon-btn { border-color: rgba(44, 30, 49, .2); }
.rail-arrows .icon-btn:disabled { opacity: .35; cursor: default; }
.rail-pos { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 64px; }

/* ---------- ritual (video vertical) ---------- */
.ritual { padding: clamp(80px, 10vw, 130px) 0; background: var(--cocoa); color: #fff; }
.ritual .eyebrow { color: #E6C6EE; }
.ritual .h2 em { color: #F1D9F7; }
.ritual .lead { color: rgba(255,255,255,.75); }
.ritual .steps li { border-color: rgba(255,255,255,.14); }
.ritual .steps li::before { color: #E6C6EE; }
.ritual .steps span { color: rgba(255,255,255,.7); }
.ritual-grid { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.ritual-video { margin: 0; position: relative; }
.ritual-video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r-sm); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); background: #1a1216; }
.ritual-video figcaption { margin-top: 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
@media (max-width: 860px) {
  .ritual-grid { grid-template-columns: 1fr; }
  .ritual-video { max-width: 340px; margin-inline: auto; }
}

/* ---------- aromas ---------- */
.aromas-sec { padding: clamp(80px, 10vw, 130px) 0; background: linear-gradient(180deg, #F3EDF2, var(--ivory)); }
.aromas-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.aromas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.aroma {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 8px;
  border-radius: var(--r-pill); border: 1px solid rgba(44,30,49,.15);
  background: var(--glass); font-size: 14px; color: var(--ink);
  backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.aroma:hover { background: #fff; }
.aroma:active { transform: scale(.97); }
.aroma[aria-pressed="true"] { border-color: var(--plum); background: #fff; box-shadow: 0 0 0 1px var(--plum); }
.aroma i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(44,30,49,.12); }
.aroma-card {
  margin-top: 22px; display: flex; gap: 18px; align-items: center; padding: 20px 22px; max-width: 520px;
  background: var(--glass-strong); border: 1px solid var(--glass-border); border-radius: var(--r-md); box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.aroma-card i { flex: none; width: 54px; height: 54px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(44,30,49,.12); transition: background-color .4s; }
.aroma-card small { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--plum); }
.aroma-card strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; }
.aroma-card p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.aromas-photo { margin: 0; overflow: hidden; border-radius: var(--r-sm); box-shadow: 0 40px 60px -34px rgba(44,30,49,.5); }
.aromas-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .aromas-grid { grid-template-columns: 1fr; } }

/* ---------- special (bautizo / eventos) ---------- */
.special { padding: clamp(80px, 10vw, 140px) 0; }
.special-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.mosaic { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr 1fr; gap: 12px; aspect-ratio: 1 / 1.05; }
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--r-sm); background: var(--sand); }
.mosaic figure:nth-child(1) { grid-row: span 2; }
.mosaic figure:nth-child(2) { grid-row: span 1; }
.mosaic figure:nth-child(3) { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 28px 0 30px; display: grid; gap: 4px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; padding: 16px 0; border-bottom: 1px solid rgba(44, 30, 49, .1); }
.steps li::before { content: "0" counter(s); font-family: var(--serif); font-size: 24px; color: var(--plum); line-height: 1.2; }
.steps strong { font-weight: 500; }
.steps span { display: block; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .special-grid { grid-template-columns: 1fr; } }

/* ---------- pagos ---------- */
.pay { padding: clamp(80px, 10vw, 130px) 0; background: linear-gradient(160deg, #EFE3F3 0%, var(--ivory) 60%); }
.pay-grid { display: grid; grid-template-columns: 1.1fr 1.1fr .9fr; gap: 16px; }
.pay-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 28px; border-radius: var(--r-lg); min-height: 240px;
  border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow);
}
.pay-card h3 { margin: 6px 0 0; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; }
.pay-card p { margin: 0; }
.pay-card .btn { margin-top: auto; }
.pay-num { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: .06em; font-variant-numeric: tabular-nums; font-weight: 300; }
.pay-flag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35); }
.pay-yape { background: linear-gradient(145deg, #742284 0%, #5A1A6B 100%); color: #fff; }
.pay-plin { background: linear-gradient(145deg, #0E6F8F 0%, #1C4E7A 100%); color: #fff; }
.pay-card-t { background: var(--glass-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pay-card-t .pay-flag { background: var(--lilac); border-color: transparent; color: var(--plum); }
.pay-card-t p { color: var(--muted); }
.pay-qr { background: #fff; padding: 8px; border-radius: var(--r-md); width: 132px; }
.pay-qr img { width: 100%; }
.pay-steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pay-steps li { display: flex; gap: 14px; align-items: center; color: var(--ink-soft); font-size: 15px; }
.pay-steps strong { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 20px; font-weight: 400; color: var(--plum); border: 1px solid rgba(107,42,123,.35); }
@media (max-width: 900px) {
  .pay-grid { grid-template-columns: 1fr; }
  .pay-card { min-height: 0; }
  .pay-steps { grid-template-columns: 1fr; }
}

/* ---------- instagram ---------- */
.inspo { padding: clamp(80px, 10vw, 120px) 0; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ig-grid a { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-sm); display: block; background: var(--sand); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ig-grid a:hover img { transform: scale(1.06); }
.ig-grid a::after {
  content: ""; position: absolute; inset: 0; transition: background-color .3s;
  background: rgba(107, 42, 123, 0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6'%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 / 0 no-repeat;
}
.ig-grid a:hover::after { background-color: rgba(107, 42, 123, .35); background-size: 30px; }
@media (max-width: 860px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- catalog download + QR ---------- */
.qr-sec { padding: 0 0 clamp(80px, 10vw, 130px); }
.qr-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 4vw, 52px); border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(235, 224, 241, .9), rgba(247, 243, 239, .7));
  border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow);
}
.qr-card::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(197,127,214,.45), transparent 70%); }
.qr-copy { position: relative; }
.qr-copy .h2 { font-size: clamp(30px, 3.6vw, 46px); }
.qr-copy strong { color: var(--ink); font-weight: 500; }
.qr-box { position: relative; background: #fff; padding: 14px; border-radius: var(--r-md); width: 188px; box-shadow: 0 12px 30px -16px rgba(44,30,49,.5); }
.qr-box svg { width: 100%; height: auto; display: block; }
.qr-box small { display: block; text-align: center; font-size: 12px; color: var(--muted); margin-top: 6px; }
.qr-card .actions { display: flex; flex-direction: column; gap: 10px; position: relative; }
@media (max-width: 860px) { .qr-card { grid-template-columns: 1fr; justify-items: start; } }

/* ---------- footer ---------- */
.footer { background: var(--cocoa); color: rgba(255, 255, 255, .78); padding: 70px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer img { height: 96px; width: auto; }
.footer p { max-width: 36ch; margin-top: 16px; }
.footer h4 { color: #fff; font-weight: 500; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 14px; }
.footer a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; }
.footer a:hover { color: #fff; }
.footer svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- modal / quick view ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.open { visibility: visible; }
.scrim { position: absolute; inset: 0; background: rgba(28, 16, 32, .5); opacity: 0; transition: opacity .25s; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal.open .scrim { opacity: 1; }
.sheet {
  position: relative; width: min(960px, 100%); max-height: calc(100svh - 32px); overflow: auto;
  display: grid; grid-template-columns: 1.1fr 1fr; background: var(--ivory); border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(20px) scale(.98); transition: opacity .25s, transform .3s var(--ease);
}
.modal.open .sheet { opacity: 1; transform: none; }
.sheet .close { position: absolute; top: 10px; right: 10px; z-index: 3; background: var(--glass-strong); }
.qv-media { position: relative; background: var(--sand); min-height: 360px; }
.qv-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qv-thumbs { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.qv-thumbs button { flex: none; width: 56px; height: 56px; border-radius: var(--r-sm); overflow: hidden; border: 2px solid #fff; padding: 0; opacity: .75; }
.qv-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--plum); }
.qv-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.qv-info { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.qv-info h3 { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1.05; margin: 6px 0 0; }
.qv-frase { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--plum); margin: 6px 0 0; }
.qv-info .note { margin: 4px 0 0; }
.qv-info .price { font-size: 22px; color: var(--plum); }
.qv-actions { display: grid; gap: 10px; margin-top: auto; }
.field .label { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid rgba(44,30,49,.2);
  background: #fff; font-size: 14px; display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .2s, background-color .2s;
}
.chip i { width: 14px; height: 14px; border-radius: 50%; }
.chip[aria-pressed="true"] { border-color: var(--plum); background: var(--lilac); }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(44,30,49,.2); border-radius: var(--r-pill); background: #fff; }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; }
.qty output { min-width: 36px; text-align: center; font-variant-numeric: tabular-nums; }
.note { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .sheet { grid-template-columns: 1fr; }
  .qv-media { aspect-ratio: 4 / 4.2; min-height: 0; }
}

/* ---------- order drawer + checkout ---------- */
.drawer { position: fixed; inset: 0; z-index: 210; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer.open .scrim { opacity: 1; }
.panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: rgba(247, 243, 239, .94); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-left: 1px solid var(--glass-border);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease);
}
.drawer.open .panel { transform: none; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid rgba(44,30,49,.1); }
.panel-head h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; }
.panel-list { flex: 1; overflow: auto; padding: 8px 20px; list-style: none; margin: 0; min-height: 120px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(44,30,49,.08); }
.line img { width: 64px; height: 76px; object-fit: cover; border-radius: var(--r-sm); }
.line strong { font-weight: 500; display: block; line-height: 1.3; }
.line small { color: var(--muted); }
.line .rm { font-size: 12px; text-decoration: underline; background: none; border: 0; color: var(--muted); padding: 6px 0; min-height: 32px; }
.empty { text-align: center; color: var(--muted); padding: 50px 10px; }
.empty svg { width: 42px; height: 42px; margin: 0 auto 12px; color: var(--orchid); }
.panel-foot { padding: 16px 20px 20px; border-top: 1px solid rgba(44,30,49,.1); display: grid; gap: 12px; }
.panel-foot .note { margin: -6px 0 0; }
.total { display: flex; justify-content: space-between; font-size: 18px; }
.total strong { font-variant-numeric: tabular-nums; font-weight: 500; }
.paymethod { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.paymethod legend { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.paymethod label { position: relative; cursor: pointer; }
.paymethod input { position: absolute; opacity: 0; inset: 0; }
.paymethod span {
  display: grid; text-align: center; padding: 10px 6px; border-radius: var(--r-md); min-height: 58px; align-content: center;
  border: 1px solid rgba(44,30,49,.2); background: #fff; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.paymethod b { font-weight: 500; }
.paymethod small { font-size: 11px; color: var(--muted); }
.paymethod input:checked + span { border-color: var(--plum); background: var(--lilac); box-shadow: 0 0 0 1px var(--plum); }
.paymethod input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.paybox {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md);
  background: linear-gradient(145deg, #742284, #5A1A6B); color: #fff;
}
.paybox.plin { background: linear-gradient(145deg, #0E6F8F, #1C4E7A); }
.paybox > div:nth-child(2) { flex: 1; }
.paybox small { display: block; font-size: 12px; opacity: .85; }
.paybox strong { display: block; font-size: 24px; font-weight: 400; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.paybox-qr { width: 64px; background: #fff; padding: 4px; border-radius: 6px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 20px); opacity: 0;
  padding: 12px 20px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: 14px;
  transition: opacity .25s, transform .3s var(--ease); pointer-events: none; display: flex; gap: 10px; align-items: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--orchid); }

/* ---------- floating whatsapp ---------- */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--plum); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(107, 42, 123, .7); transition: transform .2s var(--ease);
}
.wa:hover { transform: translateY(-2px); }
.wa svg { width: 26px; height: 26px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

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