/* =========================================================
   ABUELA FITNESS — Tienda de e-book
   Estética: recetario editorial cálido · crema vintage,
   verde albahaca, rojo tomate, azul vichy, toques dibujados
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,900&family=Caveat:wght@600;700&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&display=swap');

:root {
  --cream:      #f5edd8;
  --cream-deep: #efe3c4;
  --paper:      #fbf6e9;
  --ink:        #2a2520;
  --ink-soft:   #5c5347;
  --green:      #2f7d3a;
  --green-deep: #245e2d;
  --tomato:     #d1362a;
  --tomato-deep:#ab281e;
  --blue:       #7ea9d6;
  --blue-deep:  #4b7bb0;
  --beige-header: #fef3d1;
  --mustard:    #e6a72c;
  --line:       #d9cba6;

  --font-display: 'Fraunces', Georgia, serif;
  --font-script:  'Caveat', cursive;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --shadow-card: 0 18px 40px -18px rgba(42,37,32,.45);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(126,169,214,.10), transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(209,54,42,.08), transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Utility ---------- */
.wrap { width: min(1180px, 92vw); margin-inline: auto; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  color: var(--green);
}
.script { font-family: var(--font-script); font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700;
  font-size: 1rem; letter-spacing: .01em;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  border: 2.5px solid var(--ink);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  background: var(--tomato); color: #fff; border-color: var(--tomato-deep);
  box-shadow: 0 5px 0 var(--tomato-deep);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--tomato-deep); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--tomato-deep); }
.btn--green { background: var(--green); border-color: var(--green-deep); box-shadow: 0 5px 0 var(--green-deep); }
.btn--green:hover { box-shadow: 0 7px 0 var(--green-deep); }
.btn--green:active { box-shadow: 0 2px 0 var(--green-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: 0 5px 0 rgba(42,37,32,.25); }
.btn--ghost:hover { box-shadow: 0 7px 0 rgba(42,37,32,.25); }

/* ---------- Gingham / decorative strips ---------- */
.gingham {
  background-image:
    linear-gradient(45deg, rgba(126,169,214,.5) 25%, transparent 25%, transparent 75%, rgba(126,169,214,.5) 75%),
    linear-gradient(45deg, rgba(126,169,214,.5) 25%, transparent 25%, transparent 75%, rgba(126,169,214,.5) 75%);
  background-size: 22px 22px;
  background-position: 0 0, 11px 11px;
  background-color: #cfe0f1;
}
.tape {
  position: absolute; width: 118px; height: 34px;
  background: rgba(230,167,44,.55);
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
  z-index: 5;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 2.5px solid var(--ink);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; }
.brand { display: flex; align-items: baseline; gap: .4rem; }
.brand b {
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.55rem; line-height: .9; letter-spacing: -.01em;
}
.brand .b-green { color: var(--green); }
.brand .b-red { color: var(--tomato); text-transform: uppercase; }
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a { font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--tomato); }
.cart-btn {
  position: relative; background: none; border: none; cursor: pointer;
  font-size: 1.35rem; padding: .3rem;
}
.cart-count {
  position: absolute; top: -4px; right: -6px;
  background: var(--tomato); color: #fff;
  font-family: var(--font-body); font-weight: 700; font-size: .68rem;
  min-width: 19px; height: 19px; border-radius: 999px;
  display: grid; place-items: center; padding: 0 4px;
  border: 2px solid var(--paper);
}
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* ============ HERO ============ */
.hero { padding: 4.5rem 0 3rem; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--cream-deep); border: 2px solid var(--ink);
  border-radius: 999px; padding: .35rem .9rem;
  font-weight: 700; font-size: .8rem; margin-bottom: 1.4rem;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3rem, 7vw, 5.4rem); line-height: .92;
  letter-spacing: -.02em; margin-bottom: 1.1rem;
}
.hero h1 .l1 { color: var(--green); display: block; transform: rotate(-2deg); transform-origin: left; }
.hero h1 .l2 { color: var(--tomato); display: block; text-transform: uppercase; letter-spacing: .01em; }
.hero .lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 30ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-note { font-family: var(--font-script); font-size: 1.5rem; color: var(--green); }

.hero-visual { position: relative; display: grid; place-items: center; }
.hero-cover {
  width: min(100%, 420px);
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: var(--shadow-card);
  transform: rotate(2.2deg);
  background: var(--paper);
}
.hero-price-tag {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--tomato); color: #fff;
  width: 118px; height: 118px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  border: 3px dashed #fff; box-shadow: var(--shadow-card);
  transform: rotate(-12deg); z-index: 6;
}
.hero-price-tag .old { text-decoration: line-through; opacity: .8; font-size: .8rem; }
.hero-price-tag .now { font-family: var(--font-display); font-weight: 900; font-size: 2rem; line-height: 1; }
.hero-price-tag .cur { font-size: .95rem; }

/* ============ MARQUEE ============ */
.marquee {
  background: var(--green); color: var(--paper);
  border-block: 2.5px solid var(--ink);
  overflow: hidden; padding: .7rem 0; margin: 1rem 0 0;
}
.marquee-track { display: flex; gap: 2.5rem; white-space: nowrap; width: max-content; animation: scroll-x 26s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; display: inline-flex; gap: 2.5rem; align-items: center; }
.marquee-track span::after { content: "♥"; color: var(--mustard); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============ SECTION SHELL ============ */
.section { padding: 4.5rem 0; }
.section-head { text-align: center; margin-bottom: 2.6rem; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem); line-height: 1; letter-spacing: -.01em;
  margin-top: .4rem;
}
.section-head p { color: var(--ink-soft); max-width: 52ch; margin: .8rem auto 0; }

/* ============ BENEFITS ============ */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.benefit {
  background: var(--paper); border: 2.5px solid var(--ink); border-radius: var(--radius);
  padding: 1.6rem 1.3rem; text-align: center; box-shadow: 0 6px 0 rgba(42,37,32,.12);
}
.benefit .ico { font-size: 2.2rem; display: block; margin-bottom: .6rem; }
.benefit h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin-bottom: .35rem; }
.benefit p { font-size: .92rem; color: var(--ink-soft); }

/* ============ GALLERY ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.dish {
  position: relative; border: 2.5px solid var(--ink); border-radius: 10px;
  overflow: hidden; background: var(--paper); box-shadow: 0 6px 0 rgba(42,37,32,.12);
  aspect-ratio: 1/1;
}
.dish img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dish:hover img { transform: scale(1.07); }
.dish figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(42,37,32,.82));
  color: #fff; font-weight: 600; font-size: .85rem;
  padding: 1.6rem .7rem .6rem;
}
.gallery-note { text-align: center; margin-top: 1.8rem; font-family: var(--font-script); font-size: 1.6rem; color: var(--tomato); }

/* ============ PRODUCT SHOWCASE (home CTA) ============ */
.showcase { background: var(--cream-deep); border-block: 2.5px solid var(--ink); }
.showcase-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.showcase-cover { position: relative; }
.showcase-cover img { border: 3px solid var(--ink); border-radius: 6px; box-shadow: var(--shadow-card); transform: rotate(-2deg); width: min(100%, 380px); margin-inline: auto; }
.showcase h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem,4vw,3rem); line-height: 1; margin: .5rem 0 1rem; }
.price-row { display: flex; align-items: baseline; gap: .8rem; margin: 1.2rem 0; }
.price-now { font-family: var(--font-display); font-weight: 900; font-size: 2.8rem; color: var(--tomato); }
.price-old { text-decoration: line-through; color: var(--ink-soft); font-size: 1.3rem; }
.price-off { background: var(--mustard); color: var(--ink); font-weight: 700; font-size: .8rem; padding: .2rem .6rem; border-radius: 6px; border: 2px solid var(--ink); }
.check-list { list-style: none; margin: 1.2rem 0 1.8rem; display: grid; gap: .55rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: 1.02rem; }
.check-list li::before { content: "✔"; color: var(--green); font-weight: 900; }

/* ============ TESTIMONIALS ============ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testi {
  position: relative; background: var(--paper); border: 2.5px solid var(--ink);
  border-radius: var(--radius); padding: 1.8rem 1.4rem 1.4rem; box-shadow: 0 6px 0 rgba(42,37,32,.12);
}
.testi .stars { color: var(--mustard); letter-spacing: .1em; margin-bottom: .6rem; }
.testi p { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; font-style: italic; margin-bottom: 1rem; }
.testi .who { font-weight: 700; font-size: .9rem; }
.testi .who span { display: block; color: var(--ink-soft); font-weight: 400; font-size: .82rem; }

/* ============ FAQ ============ */
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: .9rem; }
.faq-item { background: var(--paper); border: 2.5px solid var(--ink); border-radius: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; padding: 1.1rem 1.3rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q .plus { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--tomato); transition: transform .25s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }

/* ============ FINAL CTA ============ */
.final-cta { background: var(--green); color: var(--paper); border-block: 2.5px solid var(--ink); text-align: center; }
.final-cta h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem,5vw,3.6rem); line-height: 1; }
.final-cta p { max-width: 46ch; margin: 1rem auto 1.8rem; opacity: .92; }
.final-cta .btn { background: var(--mustard); color: var(--ink); border-color: #b6811a; box-shadow: 0 5px 0 #b6811a; }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: var(--cream); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-grid h4 { font-family: var(--font-display); font-weight: 600; margin-bottom: .8rem; color: var(--mustard); }
.footer-grid a { display: block; color: var(--cream); opacity: .82; margin-bottom: .45rem; font-size: .92rem; }
.footer-grid a:hover { opacity: 1; color: #fff; }
.footer-brand b { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; }
.footer-brand .b-green { color: #6fc27e; } .footer-brand .b-red { color: #ef6a5f; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding-top: 1.3rem; font-size: .82rem; opacity: .7; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ============ CART DRAWER ============ */
.overlay { position: fixed; inset: 0; background: rgba(42,37,32,.5); opacity: 0; visibility: hidden; transition: .3s; z-index: 200; }
.overlay.show { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(410px, 92vw);
  background: var(--paper); border-left: 3px solid var(--ink);
  transform: translateX(100%); transition: transform .32s cubic-bezier(.5,.1,.3,1);
  z-index: 210; display: flex; flex-direction: column;
}
.cart-drawer.show { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.3rem; border-bottom: 2.5px solid var(--ink); }
.cart-head h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; }
.cart-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; }
.cart-body { flex: 1; overflow-y: auto; padding: 1.2rem 1.3rem; }
.cart-line { display: flex; gap: .9rem; align-items: center; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px dashed var(--line); }
.cart-line img { width: 62px; height: 78px; object-fit: cover; border: 2px solid var(--ink); border-radius: 5px; }
.cart-line .info { flex: 1; }
.cart-line .info b { font-family: var(--font-display); font-size: 1rem; display: block; }
.cart-line .info small { color: var(--ink-soft); }
.cart-line .price { font-weight: 700; color: var(--tomato); }
.cart-empty { text-align: center; color: var(--ink-soft); padding: 3rem 1rem; }
.cart-empty .script { font-size: 1.8rem; color: var(--green); display: block; margin-bottom: .5rem; }
.cart-foot { border-top: 2.5px solid var(--ink); padding: 1.2rem 1.3rem 1.5rem; }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.15rem; margin-bottom: 1rem; }
.cart-total b { font-family: var(--font-display); color: var(--tomato); font-size: 1.4rem; }
.cart-foot .btn { width: 100%; justify-content: center; }
.cart-secure { text-align: center; font-size: .78rem; color: var(--ink-soft); margin-top: .8rem; }

/* ============ TOAST ============ */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120%);
  background: var(--ink); color: var(--cream); padding: .85rem 1.4rem; border-radius: 999px;
  font-weight: 600; z-index: 300; transition: transform .35s cubic-bezier(.5,.1,.3,1); box-shadow: var(--shadow-card);
}
.toast.show { transform: translate(-50%, 0); }

/* =========================================================
   PRODUCT PAGE
   ========================================================= */
.breadcrumb { padding: 1.4rem 0 0; font-size: .85rem; color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--tomato); }

.product { padding: 2rem 0 4rem; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }

.pgallery { position: sticky; top: 90px; }
.pgallery-main {
  position: relative; border: 3px solid var(--ink); border-radius: 8px; overflow: hidden;
  background: var(--paper); box-shadow: var(--shadow-card); aspect-ratio: 3/4;
}
.pgallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pgallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin-top: .8rem; }
.pthumb { border: 2.5px solid var(--ink); border-radius: 6px; overflow: hidden; aspect-ratio: 1/1; cursor: pointer; opacity: .72; transition: opacity .2s, transform .2s; background: var(--paper); }
.pthumb.active { opacity: 1; outline: 3px solid var(--tomato); outline-offset: 1px; }
.pthumb:hover { opacity: 1; transform: translateY(-2px); }
.pthumb img { width: 100%; height: 100%; object-fit: cover; }

.pinfo .eyebrow { margin-bottom: .5rem; }
.pinfo h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: .95; letter-spacing: -.01em; margin-bottom: .3rem; }
.pinfo h1 .b-green { color: var(--green); } .pinfo h1 .b-red { color: var(--tomato); }
.pinfo .subtitle { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 1rem; }
.prating { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; font-size: .92rem; }
.prating .stars { color: var(--mustard); letter-spacing: .08em; font-size: 1.1rem; }
.pprice { display: flex; align-items: baseline; gap: .9rem; margin-bottom: .3rem; }
.pprice .now { font-family: var(--font-display); font-weight: 900; font-size: 3rem; color: var(--tomato); line-height: 1; }
.pprice .old { text-decoration: line-through; color: var(--ink-soft); font-size: 1.4rem; }
.pprice .off { background: var(--mustard); border: 2px solid var(--ink); color: var(--ink); font-weight: 700; font-size: .8rem; padding: .2rem .55rem; border-radius: 6px; }
.pprice-note { font-size: .85rem; color: var(--green); font-weight: 600; margin-bottom: 1.4rem; }

.pfeatures { list-style: none; display: grid; gap: .6rem; margin: 1.4rem 0 1.8rem; padding: 1.3rem; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 12px; }
.pfeatures li { display: flex; gap: .7rem; align-items: flex-start; }
.pfeatures li .fi { font-size: 1.2rem; }
.pfeatures li b { display: block; }
.pfeatures li small { color: var(--ink-soft); }

.pbuy { display: flex; flex-direction: column; gap: .8rem; }
.pbuy .btn { width: 100%; justify-content: center; font-size: 1.1rem; padding: 1.1rem; }
.pbuy-trust { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; justify-content: center; margin-top: .4rem; font-size: .82rem; color: var(--ink-soft); }
.pbuy-trust span { display: inline-flex; align-items: center; gap: .35rem; }

/* Product long sections */
.pblock { padding: 3.5rem 0; border-top: 2px dashed var(--line); }
.pblock h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1.2rem; text-align: center; }
.pblock .lead { text-align: center; color: var(--ink-soft); max-width: 60ch; margin: 0 auto 2rem; }

.inside-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; }
.inside-card { background: var(--paper); border: 2.5px solid var(--ink); border-radius: 12px; padding: 1.4rem; box-shadow: 0 6px 0 rgba(42,37,32,.1); }
.inside-card .n { font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: var(--tomato); line-height: 1; }
.inside-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin: .3rem 0 .4rem; }
.inside-card p { font-size: .93rem; color: var(--ink-soft); }

.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.4rem,5vw,3.4rem); color: var(--green); line-height: 1; }
.stat .lbl { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700; color: var(--ink-soft); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-visual { order: -1; }
  .benefits-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .showcase-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pgallery { position: static; }
  .inside-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2,1fr); gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 520px) {
  .benefits-grid, .gallery-grid { grid-template-columns: 1fr; }
  .pgallery-thumbs { grid-template-columns: repeat(4,1fr); }
}

/* =========================================================
   PÁGINA DE VENTAS (producto.html) — layout limpio
   ========================================================= */
body.sales { background: #ffffff; }

/* Header beige, solo el icono */
.sales-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--beige-header);
  border-bottom: 1px solid rgba(171,40,30,.18);
  display: flex; justify-content: center; align-items: center;
  padding: .5rem 0;
}
.sales-header a { display: inline-flex; }

/* Recorte del icono con CSS (el beige del icono = fondo de la header) */
.mark { position: relative; display: block; height: 80px; width: 102px; overflow: hidden; }
.mark img { position: absolute; top: 50%; left: 49.3%; transform: translate(-50%, -50%); width: 415px; max-width: none; height: auto; }
.mark--circle {
  height: 90px; width: 90px; border-radius: 50%;
  background: var(--beige-header); border: 2.5px solid var(--tomato);
  margin: 0 auto 1.6rem;
}
.mark--circle img { width: 360px; }

/* HERO: cocina de fondo + producto encima (compacto) */
.sale-hero {
  position: relative;
  background: url("../assets/elementos/hero-fondo.png") center 40% / cover no-repeat;
  min-height: clamp(440px, 62vh, 640px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .4rem;
  padding: clamp(1rem, 2.5vw, 1.8rem) 1rem clamp(1.2rem, 3vw, 2rem);
  overflow: hidden;
}
.sale-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 30%, rgba(255,247,235,.4) 100%);
  pointer-events: none;
}
.sale-hero-product {
  position: relative; z-index: 2;
  width: min(480px, 84vw);
  filter: drop-shadow(0 24px 30px rgba(60,40,20,.42));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }

/* Zona de compra bajo el producto */
.buy-zone { position: relative; z-index: 3; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.buy-price {
  display: inline-flex; align-items: baseline; gap: .45rem;
  background: rgba(255,255,255,.85); backdrop-filter: blur(2px);
  border: 2px solid var(--ink); border-radius: 999px;
  padding: .3rem 1.05rem; box-shadow: 0 6px 18px -8px rgba(0,0,0,.4);
}
.buy-price .amt { font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; color: var(--green); line-height: 1; }
.buy-price .sep { color: var(--ink-soft); font-weight: 700; }
.buy-price .lbl { font-weight: 700; font-size: .72rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .1em; }
.buy-price--big { border: none; background: transparent; box-shadow: none; padding: 0; }
.buy-price--big .amt { font-size: 2.4rem; }
.buy-price--big .lbl { font-size: .82rem; }

.btn-buy {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1.25rem; letter-spacing: .02em;
  text-transform: uppercase;
  padding: 1.05rem 3.2rem; border-radius: 999px; cursor: pointer;
  color: #fff; background: var(--tomato); border: 3px solid var(--tomato-deep);
  box-shadow: 0 7px 0 var(--tomato-deep), 0 16px 30px -10px rgba(171,40,30,.6);
  transition: transform .16s ease, box-shadow .16s ease;
}
.btn-buy:hover { transform: translateY(-2px); box-shadow: 0 9px 0 var(--tomato-deep), 0 20px 34px -10px rgba(171,40,30,.6); }
.btn-buy:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--tomato-deep); }
.btn-buy[disabled] { opacity: .7; cursor: wait; }

/* CARRUSEL de platos */
.sale-carousel { padding: clamp(2.4rem, 6vw, 4rem) 0 clamp(1.5rem,4vw,2.5rem); background: #fff; }
.carousel-track {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .5rem clamp(1rem, 6vw, 4rem) 1.2rem; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .slide {
  flex: 0 0 auto; width: min(340px, 74vw); aspect-ratio: 4/3;
  scroll-snap-align: center; border-radius: 16px; overflow: hidden;
  border: 3px solid var(--ink); box-shadow: 0 12px 26px -14px rgba(0,0,0,.5); background: var(--paper);
}
.carousel-track .slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-ctrls { display: flex; justify-content: center; gap: 1rem; margin-top: .4rem; }
.carousel-ctrls button {
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  background: var(--beige-header); border: 2.5px solid var(--ink); font-size: 1.3rem; line-height: 1;
  display: grid; place-items: center; transition: transform .15s, background .15s;
}
.carousel-ctrls button:hover { transform: translateY(-2px); background: #fff; }

/* Frase + segundo CTA */
.sale-claim { text-align: center; padding: clamp(2.5rem,7vw,4.5rem) 1.2rem clamp(3rem,8vw,5rem); background: #fff; }
.sale-claim .icon-mark { width: 92px; margin: 0 auto 1.2rem; opacity: .95; }
.sale-claim h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.02; letter-spacing: -.01em;
  max-width: 16ch; margin: 0 auto 2rem;
}
.sale-claim h2 .g { color: var(--green); }
.sale-claim h2 .r { color: var(--tomato); }
.sale-claim .buy-price { background: var(--beige-header); }

.sales-foot { background: var(--beige-header); text-align: center; padding: 1.6rem 1rem; font-size: .82rem; color: var(--ink-soft); border-top: 1px solid rgba(171,40,30,.18); }

@media (max-width: 620px) {
  .mark { height: 64px; width: 82px; }
  .mark img { width: 330px; }
  .mark--circle { height: 78px; width: 78px; }
  .mark--circle img { width: 312px; }
  .sale-hero { background-position: center 42%; min-height: 52vh; }
  .sale-hero-product { width: 82vw; }
}

/* =========================================================
   BOTÓN ANIMADO "Adquirir" (port vanilla del componente
   animated-generate-button de shadcn/Tailwind)
   ========================================================= */
.gen-btn-wrap { position: relative; display: inline-block; }

.gen-btn {
  --padding: 4px;
  --radius: 24px;
  --transition: 0.4s;
  --highlight-hue: 132deg;               /* glow verde, on-brand */
  --highlight:    hsl(var(--highlight-hue), 100%, 70%);
  --highlight-50: hsla(var(--highlight-hue), 100%, 70%, 0.5);
  --highlight-30: hsla(var(--highlight-hue), 100%, 70%, 0.3);
  --highlight-20: hsla(var(--highlight-hue), 100%, 70%, 0.2);
  --highlight-80: hsla(var(--highlight-hue), 100%, 70%, 0.8);
  --svg-fill: #e8e8e8;

  position: relative; z-index: 0;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; user-select: none;
  border-radius: var(--radius);
  padding: 0.9rem 1.9rem;
  max-width: min(90vw, 400px);
  background-color: #4caf5a;                /* verde más claro */
  background-image: linear-gradient(180deg, #63c473 0%, #4caf5a 55%, #3d9a4b 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(0.98rem, 2.6vw, 1.1rem);
  text-transform: uppercase; letter-spacing: .03em; text-align: center;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.2), inset 0 2px 2px rgba(255,255,255,.15),
    inset 0 4px 4px rgba(255,255,255,.1), inset 0 8px 8px rgba(255,255,255,.05),
    inset 0 16px 16px rgba(255,255,255,.05),
    0 -1px 1px rgba(0,0,0,.02), 0 -2px 2px rgba(0,0,0,.03), 0 -4px 4px rgba(0,0,0,.05),
    0 -8px 8px rgba(0,0,0,.06), 0 -16px 16px rgba(0,0,0,.08);
  transition: box-shadow var(--transition), border var(--transition), background-color var(--transition);
}

.gen-btn::before {
  content: ""; position: absolute;
  top: calc(0px - var(--padding)); left: calc(0px - var(--padding));
  width: calc(100% + var(--padding) * 2); height: calc(100% + var(--padding) * 2);
  border-radius: calc(var(--radius) + var(--padding));
  pointer-events: none; z-index: -1;
  background-image: linear-gradient(0deg, #0004, #000a);
  transition: box-shadow var(--transition), filter var(--transition);
  box-shadow:
    0 -8px 8px -6px #0000 inset, 0 -16px 16px -8px #00000000 inset,
    1px 1px 1px #fff2, 2px 2px 2px #fff1, -1px -1px 1px #0002, -2px -2px 2px #0001;
}

.gen-btn::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none;
  background-image: linear-gradient(0deg, #fff, var(--highlight), var(--highlight-50) 8%, transparent);
  background-position: 0 0; opacity: 0;
  transition: opacity var(--transition), filter var(--transition);
}

/* Letras */
.gen-letter {
  display: inline-block; color: #ffffff88;
  animation: gen-letter-anim 2s ease-in-out infinite;
  transition: color var(--transition), text-shadow var(--transition), opacity var(--transition);
}
@keyframes gen-letter-anim { 50% { text-shadow: 0 0 3px #fff8; color: #fff; } }

/* SVG */
.gen-svg {
  margin-right: .5rem; width: 1.5rem; height: 1.5rem; flex: 0 0 auto;
  fill: var(--svg-fill);
  filter: drop-shadow(0 0 2px #fff9);
  animation: gen-flicker 2s linear infinite; animation-delay: .5s;
  transition: fill var(--transition), filter var(--transition), opacity var(--transition);
}
@keyframes gen-flicker { 50% { opacity: .3; } }

.gen-txt { position: relative; display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; white-space: nowrap; }

/* Hover */
.gen-btn:hover { border-color: hsla(var(--highlight-hue), 100%, 80%, 0.4); }
.gen-btn:hover::before {
  box-shadow:
    0 -8px 8px -6px #fffa inset, 0 -16px 16px -8px var(--highlight-30) inset,
    1px 1px 1px #fff2, 2px 2px 2px #fff1, -1px -1px 1px #0002, -2px -2px 2px #0001;
}
.gen-btn:hover::after {
  opacity: 1;
  -webkit-mask-image: linear-gradient(0deg, #fff, transparent);
  mask-image: linear-gradient(0deg, #fff, transparent);
}
.gen-btn:hover .gen-svg {
  fill: #fff;
  filter: drop-shadow(0 0 3px var(--highlight)) drop-shadow(0 -4px 6px #0009);
  animation: none;
}

/* Active */
.gen-btn:active {
  border-color: hsla(var(--highlight-hue), 100%, 80%, 0.7);
  background-color: hsla(var(--highlight-hue), 50%, 20%, 0.5);
}
.gen-btn:active::before {
  box-shadow:
    0 -8px 12px -6px #fffa inset, 0 -16px 16px -8px var(--highlight-80) inset,
    1px 1px 1px #fff4, 2px 2px 2px #fff2, -1px -1px 1px #0002, -2px -2px 2px #0001;
}
.gen-btn:active::after {
  opacity: 1;
  -webkit-mask-image: linear-gradient(0deg, #fff, transparent);
  mask-image: linear-gradient(0deg, #fff, transparent);
  filter: brightness(200%);
}
.gen-btn:active .gen-letter {
  text-shadow: 0 0 1px hsla(var(--highlight-hue), 100%, 90%, 0.9);
  animation: none;
}

/* Focus (efecto de letras al pulsar) */
.gen-btn:focus { outline: none; }
.gen-btn:focus .gen-letter {
  animation: gen-focused-letter 1s ease-in-out forwards, gen-letter-anim 1.2s ease-in-out infinite;
  animation-delay: 0s, 1s;
}
@keyframes gen-focused-letter {
  0%, 100% { filter: blur(0px); transform: scale(1); }
  50% { transform: scale(2); filter: blur(10px) brightness(150%) drop-shadow(-36px 12px 12px var(--highlight)); }
}
.gen-btn:focus .gen-svg { animation-duration: 1.2s; animation-delay: .2s; }
.gen-btn:focus::before {
  box-shadow:
    0 -8px 12px -6px #fff3 inset, 0 -16px 16px -8px var(--highlight-20) inset,
    1px 1px 1px #fff3, 2px 2px 2px #fff1, -1px -1px 1px #0002, -2px -2px 2px #0001;
}
.gen-btn:focus::after {
  opacity: .6;
  -webkit-mask-image: linear-gradient(0deg, #fff, transparent);
  mask-image: linear-gradient(0deg, #fff, transparent);
  filter: brightness(100%);
}

/* Retardo escalonado de letras */
.gen-txt .gen-letter:nth-child(1){animation-delay:0s}
.gen-txt .gen-letter:nth-child(2){animation-delay:.08s}
.gen-txt .gen-letter:nth-child(3){animation-delay:.16s}
.gen-txt .gen-letter:nth-child(4){animation-delay:.24s}
.gen-txt .gen-letter:nth-child(5){animation-delay:.32s}
.gen-txt .gen-letter:nth-child(6){animation-delay:.4s}
.gen-txt .gen-letter:nth-child(7){animation-delay:.48s}
.gen-txt .gen-letter:nth-child(8){animation-delay:.56s}
.gen-txt .gen-letter:nth-child(9){animation-delay:.64s}
.gen-txt .gen-letter:nth-child(10){animation-delay:.72s}
.gen-txt .gen-letter:nth-child(11){animation-delay:.8s}
.gen-txt .gen-letter:nth-child(12){animation-delay:.88s}
.gen-txt .gen-letter:nth-child(13){animation-delay:.96s}

/* Deshabilitado */
.gen-btn:disabled { opacity: .6; cursor: not-allowed; }

/* En la sección clara (claim) el botón oscuro necesita algo de aire */
.sale-claim .gen-btn-wrap { margin-top: .2rem; }

/* =========================================================
   CARD STACK — abanico 3D (port vanilla del componente
   card-stack de framer-motion)
   ========================================================= */
.sale-cardstack {
  background: #fff;
  padding: clamp(2rem, 5vw, 3.6rem) 0 clamp(1.6rem, 4vw, 2.6rem);
  overflow: hidden;
}
.stack {
  position: relative;
  width: min(1100px, 94vw);
  margin-inline: auto;
  perspective: 1100px;
  outline: none;
}
.stack::before {  /* wash / spotlight superior */
  content: ""; position: absolute; left: 15%; right: 15%; top: 24px; height: 190px;
  background: rgba(42,37,32,.06); filter: blur(60px); border-radius: 999px; pointer-events: none;
}
.stack::after {   /* sombra inferior */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 6px; height: 150px;
  background: rgba(0,0,0,.12); filter: blur(55px); border-radius: 999px; pointer-events: none;
}
.stack-stage { position: absolute; inset: 0; transform-style: preserve-3d; }

.stack-card {
  position: absolute; bottom: 30px; left: 50%;
  transform-origin: center bottom;
  border-radius: 18px; overflow: hidden;
  border: 4px solid rgba(42,37,32,.12);
  background: var(--paper);
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.5);
  transform-style: preserve-3d;
  cursor: pointer; user-select: none;
  transition: transform .55s cubic-bezier(.22,.61,.36,1), opacity .4s ease, box-shadow .4s ease, border-color .4s ease;
  will-change: transform, opacity;
}
.stack-card.is-active { cursor: grab; border-color: rgba(76,175,90,.65); box-shadow: 0 30px 58px -18px rgba(0,0,0,.62); }
.stack-card.is-active:active { cursor: grabbing; }
.stack-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; display: block; }
.stack-card .ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.62), transparent 55%); pointer-events: none; }
.stack-card .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1rem 1.1rem; color: #fff; }
.stack-card .cap b { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.1; display: block; }
.stack-card .cap small { opacity: .85; font-size: .84rem; }

.stack-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.4rem; }
.stack-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: rgba(42,37,32,.28); transition: transform .2s, background .2s;
}
.stack-dots button:hover { background: rgba(42,37,32,.5); }
.stack-dots button.on { background: var(--green); transform: scale(1.3); }

/* Card-stack en móvil: separación controlada del hero (override final) */
@media (max-width: 620px) {
  .sale-cardstack { margin-top: 0; padding-top: 0.6rem; padding-bottom: 1rem; }
  .stack-head { padding-top: 1.6rem; padding-bottom: 0.2rem; }
  .stack-head h2 { font-size: 1.55rem; }
  .stack-head p { font-size: .92rem; }
}

/* =========================================================
   SECCIONES NUEVAS — página de ventas (rediseño)
   ========================================================= */

/* Contexto del card-stack */
.stack-head { text-align: center; padding: clamp(2rem, 5vw, 3rem) 1rem 0.4rem; }
.stack-head h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.5rem, 3.8vw, 2.3rem); line-height: 1.05; }
.stack-head p { color: var(--ink-soft); font-size: .98rem; margin-top: .4rem; }

/* Frase editorial: más aire */
.sale-claim { padding: clamp(3.5rem, 8vw, 6rem) 1.2rem; }
.sale-claim h2 { letter-spacing: -.01em; }

/* Beneficios minimalistas */
.sale-benefits { background: #fff; padding: clamp(2.6rem, 6vw, 4.5rem) 1rem; }
.benefits-inner { width: min(1000px, 92vw); margin-inline: auto; }
.benefits-title {
  font-family: var(--font-display); font-weight: 900; text-align: center;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem); line-height: 1.06;
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
}
.benefits-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.b2 { padding-top: 1rem; border-top: 2px solid var(--line); }
.b2-k {
  display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  margin-bottom: .4rem; position: relative; padding-left: .95rem;
}
.b2-k::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.b2:nth-child(even) .b2-k::before { background: var(--tomato); }
.b2 p { font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }

/* Mira lo que hay dentro */
.sale-inside { background: var(--paper); padding: clamp(2.8rem, 7vw, 5rem) 1rem; }
.inside-head { text-align: center; max-width: 60ch; margin: 0 auto clamp(2rem, 5vw, 3.2rem); }
.inside-head h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: .6rem; }
.inside-head p { color: var(--ink-soft); }
.inside-pages { display: flex; justify-content: center; align-items: center; max-width: 1000px; margin-inline: auto; }
.ipage {
  position: relative; width: min(290px, 31%);
  background: #fff; padding: 10px 10px 0; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 18px 34px -18px rgba(0,0,0,.42);
}
.ipage img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; display: block; }
.ipage figcaption { font-size: .8rem; color: var(--ink-soft); text-align: center; padding: .6rem .3rem .7rem; font-weight: 600; }
.ipage--l { transform: rotate(-5deg) translateY(10px); z-index: 1; }
.ipage--c { transform: scale(1.05); margin: 0 -1.4rem; z-index: 3; }
.ipage--r { transform: rotate(5deg) translateY(10px); z-index: 1; }

/* CTA final */
.sale-final {
  background: var(--beige-header); text-align: center;
  padding: clamp(3rem, 8vw, 5.5rem) 1.2rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
}
.sale-final h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.02; letter-spacing: -.01em; }
.sale-final h2 .g { color: var(--green); }
.sale-final h2 .r { color: var(--tomato); }
.sale-final p { max-width: 44ch; color: var(--ink-soft); font-size: 1.05rem; margin: 0 auto; }

/* Footer con enlaces */
.sales-foot .foot-copy { margin-bottom: .5rem; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; font-size: .8rem; }
.foot-links a { color: var(--ink-soft); }
.foot-links a:hover { color: var(--tomato); }
.foot-links span { color: rgba(0,0,0,.25); }

/* ---------- Responsive páginas de ventas ---------- */
@media (max-width: 760px) {
  .benefits-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .benefits-row { grid-template-columns: 1fr; gap: 0; }
  .b2 { padding: .9rem 0; border-top: 1px solid var(--line); }
  .b2:first-child { border-top: 2px solid var(--line); }
  .inside-pages { flex-direction: column; gap: 0; }
  .ipage { width: min(280px, 78vw); }
  .ipage--l { transform: rotate(-3deg); z-index: 1; margin: 0; }
  .ipage--c { transform: scale(1); margin: -1.2rem 0; z-index: 3; }
  .ipage--r { transform: rotate(3deg); z-index: 1; margin: 0; }
}

/* =========================================================
   PULIDO — aparición suave al hacer scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
/* stagger de los beneficios */
.benefits-row .b2.reveal:nth-child(1) { transition-delay: 0s; }
.benefits-row .b2.reveal:nth-child(2) { transition-delay: .09s; }
.benefits-row .b2.reveal:nth-child(3) { transition-delay: .18s; }
.benefits-row .b2.reveal:nth-child(4) { transition-delay: .27s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .sale-hero-product { animation: none; }
}
