:root {
  --bg: #fffdf9;
  --card: #ffffff;
  --ink: #1f1712;
  --muted: #7b6f63;
  --line: #ece2d3;
  --red: #d3271d;
  --red-dark: #a81a12;
  --cream: #f8efdf;
  --gold: #b5852b;
  --gold-light: #e6bf63;
  --sand: #ecdcc0;
  --peach: #f6d3c2;
  --green-soft: #d3e2d2;
  --blue-soft: #d2def1;
  --wa: #25d366;
  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(16px, 4vw, 56px);
  --shadow: 0 18px 40px -22px rgba(31, 23, 18, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1.100; letter-spacing: -.01em; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* ---------- Cinta superior ---------- */
.marquee { overflow: hidden; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; }
.track { display: flex; width: max-content; animation: slide 36s linear infinite; }
.track span { display: flex; align-items: center; padding: 9px 0; white-space: nowrap; }
.track span::after { content: ''; width: 7px; height: 7px; margin: 0 22px; background: var(--gold-light); border-radius: 50%; }
.track b { color: var(--gold-light); margin-left: 6px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Encabezado ---------- */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 20px;
  padding: 12px var(--pad); background: var(--bg); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 54px; width: auto; mix-blend-mode: multiply; }
.brand-name { display: grid; gap: 5px; font: 600 17px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; white-space: nowrap; }
.brand-name small { font-size: 8.500px; font-weight: 600; letter-spacing: .22em; color: var(--gold); }
.search { flex: 1; max-width: 420px; margin-inline: auto; display: flex; align-items: center; gap: 10px; background: #fff; border: 1.500px solid var(--line); border-radius: 99px; padding: 10px 18px; transition: border-color .15s; }
.search:focus-within { border-color: var(--ink); }
.search svg { width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { border: 0; outline: 0; background: none; width: 100%; min-width: 0; }
.cart-btn { display: flex; align-items: center; gap: 10px; padding: 9px 9px 9px 20px; background: var(--ink); color: #fff; border-radius: 99px; font-weight: 600; white-space: nowrap; transition: transform .15s; }
.cart-btn:hover { transform: translateY(-1px); }
.cart-btn b { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; background: var(--red); border-radius: 99px; font-size: 13px; }

/* ---------- Portada ---------- */
.hero { display: grid; grid-template-columns: 1.150fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); padding: clamp(32px, 5vw, 72px) var(--pad); background: var(--cream); border-radius: 0 0 44px 44px; overflow: hidden; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 7px 16px; background: #fff; border-radius: 99px; font-size: 13px; font-weight: 600; }
.eyebrow::before { content: ''; width: 8px; height: 8px; background: var(--red); border-radius: 50%; }
.hero h1 { font-size: clamp(38px, 5vw, 72px); line-height: 1.060; letter-spacing: -.02em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold); }
.lead { margin: 22px 0 30px; max-width: 30em; font-size: 18px; color: #4b4552; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn { width: auto; }
.hero-logo { width: 100%; max-width: 580px; height: auto; justify-self: center; mix-blend-mode: multiply; }

/* ---------- Beneficios ---------- */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 28px var(--pad) 0; }
.perk { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.perk svg { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 14px; fill: none; stroke: var(--ink); stroke-width: 1.800; stroke-linecap: round; stroke-linejoin: round; }
.perk:nth-child(1) svg { background: var(--sand); } .perk:nth-child(2) svg { background: var(--gold-light); } .perk:nth-child(3) svg { background: var(--peach); }
.perk b { display: block; font: 700 17px/1.200 var(--display); }
.perk span { color: var(--muted); font-size: 14px; }

/* ---------- Catálogo ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 56px var(--pad) 0; }
.section-head h2 { font-size: clamp(32px, 4.500vw, 54px); }
.section-head h2 em { font-style: italic; font-weight: 500; color: var(--gold); }
.section-head p { margin: 0; color: var(--muted); white-space: nowrap; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 22px var(--pad) 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 20px; background: #fff; border: 1.500px solid var(--line); border-radius: 99px; font-weight: 600; font-size: 14px; transition: .15s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

main { padding: 22px var(--pad) 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 36px 20px; }
.card { display: flex; flex-direction: column; }
.thumb { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; border-radius: 24px; margin-bottom: 14px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .thumb img { transform: scale(1.050); }
.thumb span { font: 700 88px/1 var(--display); color: rgba(255, 255, 255, .75); }
.t0 { background: var(--sand); } .t1 { background: var(--peach); } .t2 { background: var(--green-soft); } .t3 { background: var(--blue-soft); } .t4 { background: #f5e3ae; }
.cat { margin: 0 0 2px; color: var(--gold); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.card h3 { font: 600 17px/1.300 var(--sans); letter-spacing: 0; }
.desc { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.price { margin: 6px 0 0; font: 700 22px/1 var(--display); }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sz { min-width: 38px; height: 34px; padding: 0 10px; background: #fff; border: 1.500px solid var(--line); border-radius: 99px; font-size: 13px; font-weight: 600; transition: .12s; }
.sz:hover { border-color: var(--ink); }
.sz.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.buy { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 10px; }
.add { flex: 1; padding: 12px 14px; background: var(--ink); color: #fff; border-radius: 99px; font-weight: 600; font-size: 14px; transition: background .15s, transform .15s; }
.add:hover { background: var(--red); }
.add:active { transform: scale(.970); }
.add:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.note { font-size: 13px; font-weight: 600; color: var(--red-dark); white-space: nowrap; }
.stepper { display: inline-flex; align-items: center; background: var(--cream); border-radius: 99px; padding: 4px; }
.stepper button { width: 36px; height: 36px; background: var(--ink); color: #fff; border-radius: 50%; font-size: 18px; line-height: 1; }
.stepper button:hover { background: var(--red); }
.stepper span { min-width: 36px; text-align: center; font-weight: 700; }
.buy > .stepper { flex: 1; justify-content: space-between; }
.empty { text-align: center; color: var(--muted); padding: 56px 16px; font-size: 17px; }

/* ---------- Cómo comprar ---------- */
.how { padding: 40px var(--pad) 72px; }
.how h2 { font-size: clamp(32px, 4.500vw, 54px); margin-bottom: 24px; }
.how h2 em { font-style: italic; font-weight: 500; color: var(--gold); }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how li { padding: 28px; border-radius: 28px; min-height: 210px; display: flex; flex-direction: column; }
.how li:nth-child(1) { background: var(--sand); } .how li:nth-child(2) { background: var(--gold-light); } .how li:nth-child(3) { background: var(--peach); }
.how li b { font: 700 56px/1 var(--display); letter-spacing: -.04em; margin-bottom: auto; }
.how li strong { font: 700 22px/1.150 var(--display); margin: 20px 0 6px; }
.how li span { color: #3d3842; font-size: 15px; }

/* ---------- Pie ---------- */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding: 40px var(--pad) 110px; background: var(--ink); color: #b9b3c0; border-radius: 44px 44px 0 0; font-size: 14px; }
.foot .brand-name { color: #fff; font-size: 20px; }
.foot p { margin: 0; }

.fab { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 15; display: flex; align-items: center; gap: 12px; padding: 8px 22px 8px 8px; background: var(--ink); color: #fff; border-radius: 99px; font-weight: 600; white-space: nowrap; box-shadow: 0 16px 34px -10px rgba(31, 23, 18, .6); }
.fab > span:first-child { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; background: var(--red); border-radius: 99px; }
.fab b { color: var(--gold-light); }

/* ---------- Carrito ---------- */
.scrim { position: fixed; inset: 0; z-index: 30; background: rgba(31, 23, 18, .5); backdrop-filter: blur(3px); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 40; width: min(460px, 100%); display: flex; flex-direction: column; background: var(--bg); border-radius: 32px 0 0 32px; overflow: hidden; transform: translateX(105%); visibility: hidden; transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility .32s; }
.drawer.open { transform: none; visibility: visible; }
.drawer > header { display: flex; align-items: center; gap: 10px; padding: 20px 22px 16px; }
.drawer h2 { flex: 1; font-size: 30px; }
.icon-btn { padding: 9px 16px; background: #fff; border: 1.500px solid var(--line); border-radius: 99px; font-size: 13px; font-weight: 600; }
.icon-btn:hover { border-color: var(--ink); }
.view { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.lines, .form-body { flex: 1; overflow-y: auto; padding: 4px 22px 20px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 14px; margin-bottom: 10px; background: #fff; border-radius: 22px; }
.line .thumb { width: 76px; margin: 0; border-radius: 16px; }
.line .thumb span { font-size: 34px; }
.line-info { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.line-info b { font-weight: 600; line-height: 1.250; }
.line-info small { color: var(--muted); margin-bottom: 8px; }
.line .stepper button { width: 28px; height: 28px; font-size: 16px; }
.line .stepper span { min-width: 30px; }
.line > strong { font: 700 17px/1.400 var(--display); }
.sum { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 8px; background: #fff; border-radius: 28px 28px 0 0; box-shadow: 0 -12px 30px -20px rgba(31, 23, 18, .3); }
.row { display: flex; justify-content: space-between; align-items: baseline; color: #4b4552; }
.row.total { padding-top: 10px; margin-bottom: 6px; border-top: 1.500px dashed var(--line); color: var(--ink); font-weight: 600; }
.row.total b, #subtotal { font: 700 28px/1 var(--display); color: var(--ink); }

.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px 28px; border-radius: 99px; text-decoration: none; font-weight: 600; font-size: 16px; transition: background .15s, color .15s, transform .15s, border-color .15s; }
.btn:active:not(:disabled) { transform: scale(.980); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.primary { background: var(--red); color: #fff; }
.btn.primary:hover:not(:disabled) { background: var(--red-dark); }
.btn.whatsapp { background: var(--wa); color: #063d1d; }
.btn.whatsapp:hover:not(:disabled) { background: #1fc15b; }
.btn.whatsapp svg { width: 20px; height: 20px; fill: currentColor; }
.btn.ghost { background: #fff; border: 1.500px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.danger { background: var(--cream); color: var(--red-dark); }
.btn.danger:hover { background: var(--red); color: #fff; }
.btn.small { width: auto; padding: 9px 18px; font-size: 14px; }

/* ---------- Formularios ---------- */
label { display: grid; gap: 6px; margin-bottom: 16px; font-size: 14px; font-weight: 600; }
input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=search]), textarea, select {
  width: 100%; padding: 13px 16px; background: #fff; border: 1.500px solid var(--line); border-radius: 16px; font-size: 16px; font-weight: 400; resize: vertical; transition: border-color .15s;
}
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--ink); }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 600; }
.opt { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding: 14px 16px; background: #fff; border: 1.500px solid var(--line); border-radius: 18px; cursor: pointer; transition: .15s; }
.opt:has(input:checked) { border-color: var(--gold); background: var(--cream); }
.opt input { accent-color: var(--ink); width: 18px; height: 18px; flex: none; margin: 0; }
.opt span { flex: 1; display: grid; }
.opt b { font-size: 15px; }
.opt small { color: #4b4552; font-weight: 400; }
.opt i { font: 700 18px/1 var(--display); font-style: normal; }
.error { margin: 0; padding: 12px 16px; background: var(--cream); color: var(--red-dark); border-radius: 14px; font-size: 14px; font-weight: 600; }

.done { align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 32px; }
.done p { margin: 0; }
.done .tick { width: 84px; height: 84px; padding: 22px; margin-bottom: 14px; background: var(--gold-light); border-radius: 50%; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done .label { color: var(--muted); font-weight: 600; }
.done h3 { font-size: 60px; letter-spacing: -.03em; margin-bottom: 10px; }
.done .muted { color: #4b4552; max-width: 300px; margin-bottom: 18px; }
.done .btn + .btn { margin-top: 6px; }

/* ---------- Lapa voladora ---------- */
.lapa { position: fixed; left: 0; top: 0; z-index: 25; width: 150px; pointer-events: none; animation: lapa-fly 34s linear infinite; will-change: transform; }
.lapa svg { display: block; width: 100%; overflow: visible; filter: drop-shadow(0 10px 8px rgba(31, 23, 18, .18)); }
.lapa-bob { animation: lapa-bob 2.6s ease-in-out infinite; }
.wing { transform-origin: 108px 62px; animation: lapa-flap .55s ease-in-out infinite; }
.wing.far { animation-delay: -.07s; }
.lapa-bob.pareja { position: absolute; left: -68%; top: 34%; width: 86%; animation-delay: -1.1s; }
.pareja .wing { animation-duration: .61s; animation-delay: -.2s; }
@keyframes lapa-flap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(-.6); } }
@keyframes lapa-bob { 0%, 100% { transform: translateY(-12px); } 50% { transform: translateY(12px); } }
@keyframes lapa-fly {
  0% { transform: translate(-20vw, 38vh) scaleX(1); }
  38% { transform: translate(110vw, 12vh) scaleX(1); }
  38.01%, 55% { transform: translate(110vw, 55vh) scaleX(-1); }
  93% { transform: translate(-25vw, 22vh) scaleX(-1); }
  93.01%, 100% { transform: translate(-20vw, 38vh) scaleX(1); }
}

/* ---------- Móvil ---------- */
@media (max-width: 820px) {
  .top { flex-wrap: wrap; gap: 10px 14px; }
  .brand img { height: 44px; }
  .brand-name { font-size: 14px; letter-spacing: .26em; }
  .top .brand-name small { display: none; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .cart-btn { margin-left: auto; }
  .hero { grid-template-columns: 1fr; border-radius: 0 0 32px 32px; }
  .hero-logo { max-width: 420px; }
  .lapa { width: 104px; }
  .perks { grid-template-columns: 1fr; gap: 10px; }
  .how ol { grid-template-columns: 1fr; }
  .how li { min-height: 0; }
  .how li b { margin-bottom: 8px; font-size: 44px; }
  .section-head { padding-top: 40px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .thumb { border-radius: 18px; }
  .thumb span { font-size: 60px; }
  .card h3 { font-size: 15px; }
  .price { font-size: 19px; }
  .add { padding: 11px 8px; font-size: 13px; }
  .buy { flex-wrap: wrap; gap: 6px; }
  .drawer { border-radius: 0; }
  .foot { border-radius: 32px 32px 0 0; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .lapa { display: none; } }

/* ---------- Ventana de pedido compacta ---------- */
#viewCheckout .form-body { padding: 4px 22px 12px; }
#viewCheckout label { margin-bottom: 10px; gap: 4px; font-size: 13px; }
#viewCheckout input, #viewCheckout textarea, #viewCheckout select { padding: 9px 12px; font-size: 15px; border-radius: 12px; }
#viewCheckout label small { color: var(--muted); font-weight: 400; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.mini { list-style: none; margin: 0 0 12px; padding: 10px 14px; max-height: 104px; overflow-y: auto; background: #fff; border: 1.500px solid var(--line); border-radius: 14px; font-size: 13px; }
.mini li { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.mini b { white-space: nowrap; }
#viewCheckout .sum { padding-top: 12px; gap: 8px; }
.totals { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: #4b4552; }
.totals b { color: var(--ink); margin-left: 4px; }
.totals .total { font-weight: 600; color: var(--ink); }
.totals .total b { font: 700 24px/1 var(--display); }
#viewCheckout .btn { padding: 13px 20px; }
.drawer > header { padding: 14px 22px 10px; }
@media (max-width: 420px) { .pair { grid-template-columns: 1fr; } }

/* ---------- Detalle del producto ---------- */
[data-detail] { cursor: zoom-in; }
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(31, 23, 18, .65); backdrop-filter: blur(3px); }
.modal-box { position: relative; display: grid; grid-template-columns: minmax(0, 1.100fr) minmax(0, 1fr); width: min(940px, 100%); max-height: 94vh; background: var(--bg); border-radius: 28px; overflow: hidden; }
.modal-media { display: flex; flex-direction: column; min-height: 0; background: var(--ink); }
.modal-img { flex: 1; display: grid; place-items: center; min-height: 0; overflow: hidden; }
.modal-img img { transition: transform .25s ease; }
.modal-img img.zoomed { transform: scale(2.6); cursor: zoom-out; will-change: transform; }
.modal-img img { cursor: zoom-in; }
.modal-img img, .modal-img video { display: block; max-width: 100%; max-height: 94vh; object-fit: contain; }
.modal-media:has(.modal-thumbs:not([hidden])) .modal-img :is(img, video) { max-height: calc(94vh - 84px); }
.modal-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; justify-content: center; }
.modal-thumbs button { flex: none; width: 52px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #3a302a; color: #fff; opacity: .65; }
.modal-thumbs button.on { border-color: var(--gold-light); opacity: 1; }
.modal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.more { position: absolute; z-index: 1; right: 10px; bottom: 10px; padding: 3px 9px; background: rgba(31, 23, 18, .75); color: #fff; border-radius: 99px; font: 600 12px/1.300 var(--sans); font-style: normal; }
.line .more, .prow .more { display: none; }
.modal-img span { padding: 120px 0; font: 700 140px/1 var(--display); color: rgba(255, 255, 255, .75); }
.modal-info { display: flex; flex-direction: column; padding: 60px 28px 26px; overflow-y: auto; }
.modal-info h2 { font-size: clamp(24px, 3vw, 34px); margin: 4px 0 10px; }
.modal-info .price { font-size: 30px; margin: 0 0 12px; }
.modal-info .desc { font-size: 15px; margin: 0 0 14px; }
.modal-info .label { margin: 6px 0 0; font-size: 13px; font-weight: 600; }
.modal-info .buy { margin-top: 18px; }
.modal-info .hint { margin: 16px 0 0; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.modal.zoom { padding: 0; }
.modal.zoom .modal-box { grid-template-columns: 1fr; width: auto; max-height: 100vh; background: none; border-radius: 0; }
.modal.zoom .modal-info { display: none; }
.modal.zoom .modal-media { background: none; }
.modal.zoom .modal-thumbs { display: none; }
.modal.zoom .modal-img img { cursor: zoom-out; max-height: 100vh !important; max-width: 100vw; }
@media (max-width: 720px) {
  .modal-box { grid-template-columns: 1fr; overflow-y: auto; }
  .modal-img img, .modal-img video { max-height: 56vh !important; }
  .modal-info { padding: 20px 20px 22px; overflow: visible; }
}

/* ---------- Temporada ---------- */
.chip.season { border-color: var(--gold); color: var(--gold); }
.chip.season.on { background: var(--gold); border-color: var(--gold); color: #fff; }
.tag { position: absolute; z-index: 1; top: 10px; left: 10px; padding: 4px 10px; background: var(--red); color: #fff; border-radius: 99px; font: 700 11px/1.200 var(--sans); font-style: normal; text-transform: uppercase; letter-spacing: .06em; }
.line .tag, .prow .tag { display: none; }

/* ---------- Pasarela ---------- */
.runway .section-head { padding-top: 48px; }
.runway-stage { position: relative; height: clamp(300px, 36vw, 470px); margin-top: 12px; overflow: hidden; }
.rw {
  position: absolute; left: 50%; top: 50%; width: clamp(150px, 18vw, 240px); aspect-ratio: 4 / 5; margin: 0;
  display: grid; place-items: center; overflow: hidden; border-radius: 24px; cursor: pointer;
  transform: translate(-50%, -50%) translateX(calc(var(--o, 0) * 124%)) scale(var(--s, 1)); opacity: var(--a, 1);
  transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .8s, box-shadow .8s;
}
.rw.on { box-shadow: 0 26px 46px -22px rgba(31, 23, 18, .55); }
.rw img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rw span { font: 700 88px/1 var(--display); color: rgba(255, 255, 255, .75); }
.rw figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 1px; padding: 28px 14px 12px; text-align: center;
  background: linear-gradient(transparent, rgba(20, 61, 41, .82)); color: #fff; font-size: 12px;
  opacity: 0; transition: opacity .5s;
}
.rw figcaption b { font: 700 13px/1.200 var(--sans); }
.rw.on figcaption { opacity: 1; }

/* ---------- Naturaleza: verdes y bocetos botánicos ---------- */
:root { --green: #1f5d3d; --green-dark: #143d29; --green-pale: #e6efdf; --leaf: #2f7a4f; }
.marquee { background: var(--green-dark); }
.eyebrow::before { background: var(--leaf); }
.cat { color: var(--green); }
.chip.on { background: var(--green-dark); border-color: var(--green-dark); }
.perk:nth-child(1) svg { background: var(--green-pale); }
.hero, .how, .foot { position: relative; overflow: hidden; }
.hero { background: var(--green-pale); }
.hero > *, .how > *, .foot > * { position: relative; z-index: 1; }
.hero::before, .hero::after, .how::before, .how::after, .foot::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none; background: var(--leaf);
  -webkit-mask: var(--m) no-repeat center / contain; mask: var(--m) no-repeat center / contain;
}
.hero::before { --m: url(/sketch-palm.svg); width: 360px; height: 360px; left: -90px; bottom: -110px; opacity: .3; transform: rotate(-14deg); }
.hero::after { --m: url(/sketch-leaf.svg); width: 400px; height: 400px; right: -120px; top: -150px; opacity: .3; transform: rotate(18deg); }
.section-head h2::after { content: ''; display: inline-block; width: .9em; height: .9em; margin-left: .25em; vertical-align: -.1em; background: var(--leaf); -webkit-mask: url(/sketch-leaf.svg) no-repeat center / contain; mask: url(/sketch-leaf.svg) no-repeat center / contain; }
.how { margin-top: 32px; padding-top: 64px; background: var(--green-pale); border-radius: 44px 44px 0 0; }
.how::before { --m: url(/sketch-mango.svg); width: 230px; height: 230px; right: 4%; top: -34px; opacity: .4; }
.how::after { --m: url(/sketch-palm.svg); width: 320px; height: 320px; left: -110px; bottom: -120px; opacity: .25; transform: rotate(8deg); }
.how li:nth-child(n) { background: var(--bg); border: 1px solid #d3e0c9; }
.how li b { color: var(--green); }
.foot { background: var(--green-dark); border-radius: 0; color: #c5d6c5; }
.foot::after { --m: url(/sketch-palm.svg); width: 300px; height: 300px; right: -60px; bottom: -130px; background: #cfe3c6; opacity: .2; transform: scaleX(-1) rotate(-10deg); }
@media (max-width: 820px) {
  .hero::before { width: 230px; height: 230px; left: -70px; bottom: -80px; }
  .hero::after { width: 250px; height: 250px; right: -90px; top: -100px; }
  .how { border-radius: 32px 32px 0 0; padding-top: 48px; }
  .how::before { width: 140px; height: 140px; top: -20px; }
  .foot { border-radius: 0; }
}

/* ---------- Administración ---------- */
.field { display: grid; gap: 8px; margin-bottom: 16px; font-size: 14px; }
.field .hint { margin: 0; }
.gallery { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery figure { margin: 0; width: 104px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.gallery img, .gallery video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ink); }
.gallery figcaption { display: grid; gap: 2px; padding: 6px; font-size: 12px; text-align: center; }
.gallery figcaption span { font-weight: 700; color: var(--gold); }
.gallery button { color: var(--red-dark); font-weight: 600; text-decoration: underline; }
.gallery button[data-first] { color: var(--ink); }
.admin { max-width: 980px; margin: 0 auto; padding: 24px 16px 80px; }
.admin-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-top .brand { margin-right: auto; }
.tabs { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 26px; margin-bottom: 20px; }
.panel h2 { font-size: 26px; margin-bottom: 18px; }
.login { max-width: 420px; margin: 10vh auto; }
.login .brand { margin-bottom: 22px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
.hint { color: var(--muted); font-size: 14px; margin: -6px 0 16px; }
.warn { padding: 14px 18px; background: var(--gold-light); border-radius: 16px; font-weight: 600; margin: 0 0 20px; }
.ok { color: #128a43; font-weight: 600; }
.check-row { display: flex; align-items: center; gap: 10px; }
.check-row input { width: 18px; height: 18px; accent-color: var(--red); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.preview { width: 112px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--sand); border-radius: 16px; }
.plist { display: grid; gap: 10px; }
.prow { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 20px; }
.prow.off { opacity: .5; }
.prow .thumb { width: 56px; margin: 0; border-radius: 12px; }
.prow .thumb span { font-size: 26px; }
.prow small { color: var(--muted); display: block; }
.order { border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px; margin-bottom: 12px; }
.order header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.order h3 { font-size: 24px; margin-right: auto; }
.order small { color: var(--muted); }
.order ul { margin: 10px 0; padding-left: 20px; }
.order p { margin: 2px 0; }
.badge { padding: 4px 12px; border-radius: 99px; background: var(--gold-light); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.badge.entregado { background: #c9f2d8; color: #0c6b33; }
.badge.cancelado { background: var(--line); color: var(--muted); }
@media (max-width: 560px) { .prow { grid-template-columns: 56px 1fr; } .prow .actions { grid-column: 1 / -1; } }

/* ---------- Tableta (600 a 820 px): encabezado en una fila y tres columnas ---------- */
@media (min-width: 600px) and (max-width: 820px) {
  .top { flex-wrap: nowrap; }
  .search { order: 0; flex: 1; flex-basis: auto; max-width: 340px; }
  .hero { grid-template-columns: 1.150fr 1fr; align-items: center; }
  .hero h1 { font-size: 38px; }
  .hero-logo { max-width: 100%; }
  .perks { grid-template-columns: repeat(3, 1fr); }
  .perk { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .how ol { grid-template-columns: repeat(3, 1fr); }
  .how li { padding: 20px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 28px 14px; }
}

/* ---------- Teléfono ---------- */
@media (max-width: 599px) {
  .top { padding-block: 8px; gap: 8px 12px; }
  .search { padding: 8px 14px; }
  .lapa { width: 84px; }
  .hero h1 { font-size: 34px; }
  .lead { font-size: 16px; margin: 16px 0 22px; }
  .section-head { align-items: center; }
  .modal { padding: 8px; }
  .modal-img img, .modal-img video { max-height: 46vh !important; }
  .modal-media:has(.modal-thumbs:not([hidden])) .modal-img :is(img, video) { max-height: 40vh !important; }
  .modal.zoom .modal-img img { max-height: 100vh !important; }
  .modal-info { padding: 16px 18px 20px; }
  .modal-info h2 { font-size: 22px; }
  .modal-info .price { font-size: 26px; margin-bottom: 8px; }
  .fab { bottom: 12px; }
}

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 16; display: flex; align-items: center; gap: 8px; height: 54px; padding: 0 20px 0 15px; background: var(--wa); color: #063d1d; border-radius: 99px; font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(6, 61, 29, .6); transition: transform .15s; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
@media (max-width: 599px) {
  .wa-float { right: 12px; bottom: 76px; width: 52px; height: 52px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
}
