/* ═══════════════════════════════════════════════════════════════════════════
   LANDING ONE — Estilo "sleep store": limpio, luminoso, redondeado.
   Quicksand (titulares redondeados) + Mulish (cuerpo).
   Colores editables desde el panel: --accent, --accent-text, --btn2-bg/text.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --accent: #2fd3be;
  --accent-text: #073b34;
  --btn2-bg: #ffd814;
  --btn2-text: #1f1a00;
  --icon: #2fd3be;
  --btn-bg: #2fd3be;
  --btn-text: #073b34;
  --bg: #ffffff;
  --bg-soft: #f7f9f9;
  --ink: #23262b;
  --ink-soft: #6b7280;
  --line: #e7eaec;
  --dark: #2e3135;
  --head: "Quicksand", "Trebuchet MS", sans-serif;
  --body: "Mulish", "Helvetica Neue", sans-serif;
  --radius: 14px;
  --shadow: 0 14px 40px -18px rgba(35, 38, 43, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--head); font-weight: var(--hw, 600); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 740px; }
.center { text-align: center; }

/* ── Animación de entrada ──────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Botones ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--btn-bg); color: var(--btn-text);
  font-family: var(--ui); font-weight: 700; font-size: calc(16px * var(--fs)); letter-spacing: 0.02em;
  border: none; border-radius: 999px; padding: 14px 36px;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--accent) 65%, #000 10%);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: none; }
.btn-sm { font-size: calc(14px * var(--fs)); padding: 11px 26px; }
.btn-block { width: 100%; padding: 16px; font-size: calc(17px * var(--fs)); }
.btn-secondary { background: var(--btn2-bg); color: var(--btn2-text); }
.btn-outline {
  display: inline-flex; padding: 11px 28px; border-radius: 999px;
  background: transparent; border: 2px solid var(--accent); color: var(--ink);
  font-family: var(--ui); font-weight: 700; font-size: calc(14px * var(--fs)); cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-outline:hover { background: var(--accent); color: var(--accent-text); }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 20px; }
.brand { font-family: var(--ui); font-weight: 700; font-size: calc(24px * var(--fs)); letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: calc(13px * var(--fs)); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: var(--accent); }
.nav-cart { color: var(--ink); }
.nav-cart svg { width: 24px; height: 24px; display: block; }
.nav-cart:hover { color: var(--accent); }

/* ── Selector de idioma ────────────────────────────────────────────────── */
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 6px;
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: calc(13px * var(--fs)); font-weight: 800; letter-spacing: 0.06em; color: var(--ink);
  transition: border-color 0.2s, color 0.2s;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { border-color: var(--accent); color: var(--accent); }
.lang-flag { font-size: calc(16px * var(--fs)); line-height: 1; }
.lang-caret { font-size: calc(10px * var(--fs)); opacity: 0.7; transition: transform 0.2s; }
.lang[open] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 300;
  min-width: 190px; max-height: 70vh; overflow-y: auto; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px;
  box-shadow: var(--shadow);
}
.lang-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 9px;
  font-size: calc(14px * var(--fs)); font-weight: 600; color: var(--ink); text-decoration: none;
}
.lang-menu a:hover { background: var(--bg-soft); }
.lang-menu a.active { background: color-mix(in srgb, var(--accent) 16%, #fff); color: var(--accent-text); font-weight: 800; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 600px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background-image: var(--hero-img); background-size: cover; background-position: center;
  color: #fff;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(10, 30, 28, var(--hero-overlay, 0.35)); }
.hero-inner { position: relative; max-width: 640px; padding: 80px 24px; }
.hero h1 { font-size: calc(clamp(32px, 4.6vw, 48px) * var(--fs) * var(--hs)); font-weight: 600; line-height: 1.2; margin-bottom: 16px; text-shadow: 0 2px 18px rgba(0,0,0,0.3); }
.hero p { font-size: calc(17px * var(--fs)); opacity: 0.95; margin-bottom: 28px; text-shadow: 0 1px 10px rgba(0,0,0,0.35); }

/* ── Prensa ────────────────────────────────────────────────────────────── */
.press { padding: 44px 0 36px; border-bottom: 1px solid var(--line); }
.press-title { text-align: center; font-size: calc(11.5px * var(--fs)); font-weight: 800; letter-spacing: 0.3em; color: var(--ink-soft); margin-bottom: 26px; }
.press-logos { display: flex; align-items: center; justify-content: center; gap: 46px; flex-wrap: wrap; }
.press-name { font-family: var(--head); font-weight: 700; font-size: calc(19px * var(--fs)); color: #3c4046; opacity: 0.75; white-space: nowrap; }
.press-name:nth-child(even) { font-family: var(--body); letter-spacing: 0.08em; }
.press-img { height: 30px; width: auto; opacity: 0.75; filter: grayscale(1); }

/* ── Ficha de producto ─────────────────────────────────────────────────── */
.product { padding: 70px 0; }
.product-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: start; }

.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.gallery-main img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.discount-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: var(--accent-text);
  font-family: var(--ui); font-weight: 700; font-size: calc(14px * var(--fs));
  padding: 6px 14px; border-radius: 999px;
}
.thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); background: var(--bg-soft); cursor: pointer; padding: 0; transition: border-color 0.2s, transform 0.2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { transform: translateY(-2px); }
.thumb.active { border-color: var(--accent); }

.rating { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.rating-stars { color: #f5a623; letter-spacing: 1px; font-size: calc(16px * var(--fs)); }
.rating-count { font-size: calc(13.5px * var(--fs)); color: var(--ink-soft); text-decoration: none; }
.rating-count:hover { color: var(--accent); }

.pname { font-size: calc(clamp(22px, 2.6vw, 28px) * var(--fs) * var(--hs)); font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.price { font-family: var(--ui); font-size: calc(26px * var(--fs) * var(--hs)); font-weight: 700; }
.compare { color: var(--ink-soft); font-size: calc(17px * var(--fs)); }

/* Tabs */
.tabs { margin-bottom: 18px; }
.tab-heads { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tab-head {
  background: none; border: none; cursor: pointer;
  font-family: var(--ui); font-weight: 700; font-size: calc(14px * var(--fs)); color: var(--ink-soft);
  padding: 10px 2px; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab-head.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-body { display: none; font-size: calc(14.5px * var(--fs)); color: var(--ink-soft); }
.tab-body.active { display: block; }

.pbullets { list-style: none; margin-bottom: 18px; }
.pbullets li { font-size: calc(14.5px * var(--fs)); padding: 5px 0 5px 24px; position: relative; }
.pbullets li::before { content: "•"; position: absolute; left: 8px; color: var(--icon); font-weight: 900; }

.plinks { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.plinks a { font-size: calc(14px * var(--fs)); font-weight: 700; color: var(--accent); text-decoration: none; }
.plinks a:hover { text-decoration: underline; }

.swatches { margin-bottom: 18px; }
.swatch-label { font-size: calc(14px * var(--fs)); color: var(--ink-soft); display: block; margin-bottom: 8px; }
.swatch-label strong { color: var(--ink); }
.swatch-row { display: flex; gap: 10px; }
.swatch {
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  background: var(--sw); border: 2px solid var(--line);
  box-shadow: inset 0 0 0 3px var(--bg);
  transition: border-color 0.2s, transform 0.2s;
}
.swatch:hover { transform: scale(1.1); }
.swatch.active { border-color: var(--accent); }

.stock { display: flex; align-items: center; gap: 8px; font-size: calc(13.5px * var(--fs)); font-weight: 700; margin-bottom: 18px; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease infinite; }
@keyframes pulse { 50% { opacity: 0.35; transform: scale(0.8); } }

.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; font-size: calc(14px * var(--fs)); font-weight: 700; }
.qty { display: flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: none; cursor: pointer; background: var(--bg-soft); color: var(--ink); font-size: calc(17px * var(--fs)); font-weight: 800; transition: background 0.15s, color 0.15s; }
.qty button:hover { background: var(--accent); color: var(--accent-text); }
.qty output { min-width: 34px; text-align: center; font-weight: 800; }
.qty-total { margin-left: auto; font-family: var(--ui); font-size: calc(20px * var(--fs)); }

.paypal-zone { margin-top: 10px; min-height: 2px; }
.paypal-zone:empty { display: none; }
.pay-note { font-size: calc(12px * var(--fs)); color: var(--ink-soft); text-align: center; margin-top: 12px; }
.pay-note.error { color: #d04b3e; font-weight: 700; }

/* ── Banda de features ─────────────────────────────────────────────────── */
.features { padding-bottom: 80px; }
.features-band { background: var(--accent); padding: 20px 24px; text-align: center; }
.features-band h2 { color: var(--accent-text); font-size: calc(clamp(20px, 2.6vw, 26px) * var(--fs) * var(--hs)); font-weight: 700; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 54px; text-align: center; }
.feature-icon { font-size: calc(38px * var(--fs)); display: block; margin-bottom: 14px; }
.feature h3 { font-size: calc(19px * var(--fs) * var(--hs)); font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: calc(14.5px * var(--fs)); color: var(--ink-soft); max-width: 300px; margin: 0 auto; }

/* ── Banner ────────────────────────────────────────────────────────────── */
.banner {
  position: relative; min-height: 440px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background-image: var(--banner-img); background-size: cover; background-position: center;
  color: #fff;
}
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(15, 20, 30, 0.35); }
.banner-inner { position: relative; padding: 60px 24px; }
.banner h2 { font-size: calc(clamp(28px, 4vw, 42px) * var(--fs) * var(--hs)); font-weight: 600; margin-bottom: 22px; text-shadow: 0 2px 16px rgba(0,0,0,0.35); }

/* ── Reseñas ───────────────────────────────────────────────────────────── */
.reviews { padding: 90px 0; }
.section-title { font-size: calc(clamp(24px, 3.2vw, 32px) * var(--fs) * var(--hs)); font-weight: 700; margin-bottom: 40px; }
.review-scroller-wrap { position: relative; margin-bottom: 30px; }
.review-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr);
  gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  scrollbar-width: none;
}
.review-scroller::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 28px -16px rgba(35,38,43,0.18); }
.review-img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--bg-soft); }
.review-body { padding: 0 18px 20px; text-align: center; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%; margin: -22px auto 8px;
  background: var(--accent); color: var(--accent-text);
  font-family: var(--ui); font-weight: 700; font-size: calc(15px * var(--fs));
  display: flex; align-items: center; justify-content: center;
  border: 3px solid #fff; position: relative;
}
.review figcaption { font-weight: 800; font-size: calc(14px * var(--fs)); margin-bottom: 4px; }
.verified { color: var(--accent); font-size: calc(12px * var(--fs)); }
.review-stars { color: #f5a623; letter-spacing: 1px; font-size: calc(13px * var(--fs)); margin-bottom: 10px; }
.review blockquote { font-size: calc(13.5px * var(--fs)); color: var(--ink-soft); line-height: 1.55; }
.scroller-btn {
  position: absolute; top: 40%; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--accent);
  font-size: calc(22px * var(--fs)); cursor: pointer; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
}
.scroller-btn.prev { left: -14px; }
.scroller-btn.next { right: -14px; }
.scroller-btn:hover { background: var(--accent); color: var(--accent-text); }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { padding: 80px 0; background: var(--bg-soft); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 0; font-family: var(--ui); font-weight: 700; font-size: calc(16px * var(--fs)); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { font-size: calc(22px * var(--fs)); color: var(--accent); transition: transform 0.25s ease; flex: none; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-item p { padding: 0 0 20px; color: var(--ink-soft); font-size: calc(14.5px * var(--fs)); max-width: 60ch; }

/* ── CTA final ─────────────────────────────────────────────────────────── */
.final-cta {
  position: relative; overflow: hidden; padding: 90px 0;
  background: radial-gradient(120% 140% at 50% 0%, color-mix(in srgb, var(--accent) 88%, #fff) 0%, var(--accent) 45%, color-mix(in srgb, var(--accent) 60%, #0a2a26) 100%);
  color: var(--accent-text);
}
.final-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.final-text { text-align: left; }
.final-rating { display: flex; align-items: center; gap: 10px; font-family: var(--ui); font-weight: 700; font-size: calc(15px * var(--fs)); margin-bottom: 14px; }
.final-rating .rating-stars { color: #fff; }
.final-cta h2 { color: var(--accent-text); font-size: calc(clamp(28px, 3.8vw, 44px) * var(--fs) * var(--hs)); font-weight: 700; line-height: 1.15; margin-bottom: 14px; }
.final-sub { font-size: calc(17px * var(--fs)); opacity: .92; margin-bottom: 20px; max-width: 520px; }
.final-checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.final-checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: calc(16px * var(--fs)); line-height: 1.4; }
.final-checks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.28); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.final-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.final-price strong { font-family: var(--head); font-size: calc(34px * var(--fs)); font-weight: 700; }
.final-price s { opacity: .75; font-size: calc(18px * var(--fs)); }
.final-badge { background: #fff; color: var(--ink); border-radius: 999px; padding: 4px 11px; font-size: 13px; font-weight: 800; }
.final-cta .btn { background: #fff; color: var(--ink); min-height: 54px; padding: 15px 40px; font-size: calc(17px * var(--fs)); }
.final-note { font-size: calc(13px * var(--fs)); opacity: .88; margin-top: 12px; }
.final-media img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px -22px rgba(0,0,0,.45); background: #fff; }

@media (max-width: 920px) {
  .final-wrap { grid-template-columns: 1fr; gap: 36px; }
  .final-media { max-width: 360px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .final-cta { padding: 60px 0; }
  .final-cta .btn { width: 100%; }
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer { background: var(--dark); color: #cfd3d8; padding: 54px 0 90px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 36px; margin-bottom: 40px; }
.fcol h4 { color: #fff; font-size: calc(14px * var(--fs)); font-weight: 700; letter-spacing: 0.06em; margin-bottom: 14px; }
.fcol a { display: block; color: #aeb4bb; font-size: calc(13.5px * var(--fs)); text-decoration: none; padding: 4px 0; }
.fcol a:hover { color: var(--accent); }
.fcol-news p { font-size: calc(13px * var(--fs)); color: #aeb4bb; margin-bottom: 14px; }
.news-form { display: flex; gap: 8px; }
.news-form input {
  flex: 1; min-width: 0; padding: 11px 16px; border-radius: 999px;
  border: 1px solid #4a4e54; background: #3a3d42; color: #fff; font-size: calc(14px * var(--fs)); font-family: var(--body);
}
.news-form input::placeholder { color: #9298a0; }
.news-form input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.news-ok { font-size: calc(12.5px * var(--fs)); color: var(--accent); margin-top: 10px; min-height: 16px; }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #44474c; padding-top: 24px; }
.footer-base p { font-size: calc(12.5px * var(--fs)); color: #9298a0; }
.pay-icons { display: flex; gap: 8px; }
.pay-icons span { font-size: calc(10.5px * var(--fs)); font-weight: 800; letter-spacing: 0.06em; border: 1px solid #4a4e54; border-radius: 6px; padding: 3px 9px; color: #aeb4bb; }

/* ── Barra fija ────────────────────────────────────────────────────────── */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.sticky-bar.show { transform: none; }
.sticky-info { display: flex; flex-direction: column; line-height: 1.3; }
.sticky-info strong { font-size: calc(14px * var(--fs)); }
.sticky-info span { font-size: calc(13px * var(--fs)); color: var(--ink-soft); }
.sticky-info s { opacity: 0.6; }

/* ── Lightbox de vídeo ─────────────────────────────────────────────────── */
.video-modal { position: fixed; inset: 0; z-index: 500; background: rgba(10,12,14,0.9); display: flex; align-items: center; justify-content: center; padding: 24px; }
.video-modal[hidden] { display: none; }
.video-frame { width: min(960px, 100%); aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden; }
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: none; display: block; }
.video-close { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,0.12); color: #fff; font-size: calc(18px * var(--fs)); cursor: pointer; }
.video-close:hover { background: var(--accent); color: var(--accent-text); }

/* ── Página de gracias ─────────────────────────────────────────────────── */
.thanks { min-height: 100vh; display: flex; align-items: center; padding: 60px 0; }
.thanks-seal { width: 90px; height: 90px; margin: 0 auto 28px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-size: calc(42px * var(--fs)); font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 20px 50px -16px color-mix(in srgb, var(--accent) 80%, transparent); }
.thanks h1 { font-size: calc(clamp(30px, 4.6vw, 48px) * var(--fs)); margin-bottom: 16px; }
.thanks-sub { color: var(--ink-soft); margin: 0 auto 32px; max-width: 48ch; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .product-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .review-scroller { grid-auto-columns: 75%; }
  .scroller-btn.prev { left: 4px; }
  .scroller-btn.next { right: 4px; }
}
@media (max-width: 560px) {
  .hero { min-height: 440px; }
  .footer-grid { grid-template-columns: 1fr; }
  .press-logos { gap: 24px; }
  .press-name { font-size: calc(15px * var(--fs)); }
  .review-scroller { grid-auto-columns: 88%; }
}

/* ── Logo en imagen, métodos de pago, banner de cookies ───────────────── */
.brand-img { display: inline-flex; align-items: center; letter-spacing: 0; }
.brand-img img { display: block; width: auto; max-width: 220px; object-fit: contain; }
.footer-logo { display: block; width: auto; max-width: 220px; margin-bottom: 26px; object-fit: contain; }
.pay-icons { align-items: center; flex-wrap: wrap; }
.pay-img { height: 24px; width: auto; display: block; border-radius: 4px; }
.pay-badges { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pay-badges span { font-size: calc(10.5px * var(--fs)); font-weight: 800; letter-spacing: 0.06em; border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; color: var(--ink-soft); }
.pay-badges .pay-img { height: 24px; }
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 16px 18px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { font-size: calc(13.5px * var(--fs)); color: var(--ink-soft); flex: 1 1 260px; }
.cookie-bar a { color: var(--accent); font-weight: 700; }
.cookie-btns { display: flex; gap: 10px; }

/* ── Contador de oferta ───────────────────────────────────────────────── */
.offer { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 14px 0 6px; padding: 12px 16px; border-radius: var(--radius); background: var(--of-bg, color-mix(in srgb, var(--accent) 14%, #fff)); border: 1px solid var(--of-border, color-mix(in srgb, var(--accent) 40%, #fff)); }
.offer[hidden] { display: none; }
.offer-label { font-family: var(--ui); font-weight: 700; font-size: calc(14.5px * var(--fs)); color: var(--of-label, var(--ink)); }
.offer-cd { display: flex; gap: 8px; }
.offer-cd div { min-width: 46px; text-align: center; background: var(--of-num-bg, #fff); border-radius: 10px; padding: 6px 4px 4px; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.offer-cd b { display: block; font-family: var(--ui); font-size: calc(19px * var(--fs)); line-height: 1.1; color: var(--of-num-text, var(--ink)); font-variant-numeric: tabular-nums; }
.offer-cd span { display: block; font-size: calc(9.5px * var(--fs)); letter-spacing: .1em; text-transform: uppercase; color: var(--of-text, var(--ink-soft)); }
.offer-cd div.off { display: none; }

/* ── Sellos de confianza ──────────────────────────────────────────────── */
.trust { margin-top: 16px; }
.trust-title { font-size: calc(11.5px * var(--fs)); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); font-weight: 800; text-align: center; margin-bottom: 10px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: calc(12.5px * var(--fs)); font-weight: 700; color: var(--ink-soft); text-decoration: none; }
.trust-item svg { width: 20px; height: 20px; flex: none; stroke: var(--icon); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-img { height: 36px; width: auto; max-width: 150px; object-fit: contain; display: block; }
.trust-product { padding-top: 14px; border-top: 1px solid var(--line); }
.trust-hero { margin-top: 26px; }
.trust-hero .trust-item { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.trust-hero .trust-item svg { stroke: #fff; }
.trust-footer { margin: 0 0 30px; padding-bottom: 26px; border-bottom: 1px solid #454a50; }
.trust-footer .trust-item { color: #cfd3d8; }
.trust-footer .trust-title { color: #aeb4bb; }

/* ── Caracteres de titulares: espaciado y mayúsculas ─────────────────── */
h1, h2, h3, h4 { letter-spacing: var(--hls, normal); text-transform: var(--htt, none); }

/* Campos y botones heredan la fuente del texto (si no, el navegador usa una propia) */
input, textarea, select, button { font-family: inherit; }

/* ── Hero: prueba social, precio y tira de beneficios ─────────────── */
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: center; margin: -12px 0 24px; font-family: var(--ui); font-size: calc(15px * var(--fs)); font-weight: 600; }
.hero-stars { color: #fbbf24; letter-spacing: 2px; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.hero-dim { opacity: .8; font-weight: 500; }
.hero-price { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 6px 14px; backdrop-filter: blur(6px); }
.hero-price s { opacity: .75; margin-left: 4px; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 24px 28px; z-index: 1; }
.hero-benefits { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hero-benefit { background: rgba(10,30,28,.45); border: 1px solid rgba(255,255,255,.22); border-radius: 16px; padding: 16px 18px; backdrop-filter: blur(8px); display: flex; flex-direction: column; gap: 4px; text-align: left; color: #fff; }
.hero-benefit strong { font-family: var(--ui); font-size: calc(16px * var(--fs)); font-weight: 700; }
.hero-benefit span { font-size: calc(14px * var(--fs)); opacity: .9; line-height: 1.45; }

/* ── Opciones de producto (chips: tallas, materiales…) ───────────── */
.opt-group { margin-top: 18px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { font-family: var(--ui); min-width: 48px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line, #d0d5dd); background: #fff; color: var(--ink, #101828); font-size: calc(15px * var(--fs)); font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.chip:hover { border-color: var(--accent, #2FD3BE); }
.chip.active { background: var(--accent, #2FD3BE); border-color: var(--accent, #2FD3BE); color: var(--accent-text, #073B34); }
.chip:focus-visible { outline: 3px solid var(--accent, #2FD3BE); outline-offset: 2px; }

@media (max-width: 920px) {
  .hero { min-height: auto; flex-direction: column; justify-content: center; }
  .hero-inner { width: 100%; box-sizing: border-box; }
  .hero-inner { padding-bottom: 36px; }
  .hero-foot { position: relative; width: 100%; box-sizing: border-box; padding: 0 16px 28px; }
  .hero-benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hero-benefits { grid-template-columns: 1fr; }
}

.opt-group + .stock { margin-top: 14px; }

/* ── Media de reseñas ───────────────────────────────────────────────── */
.rating-value { font-family: var(--ui); font-weight: 700; font-size: calc(16px * var(--fs)); color: var(--ink); }
.reviews-summary { display: flex; align-items: center; justify-content: center; gap: 14px; margin: -22px 0 40px; }
.rs-num { font-family: var(--head); font-size: calc(44px * var(--fs)); font-weight: 700; line-height: 1; color: var(--ink); }
.rs-col { display: flex; flex-direction: column; gap: 2px; }
.rs-count { font-size: calc(14px * var(--fs)); color: var(--ink-soft); }

/* ── Galería fija al bajar (solo escritorio) ───────────────────────── */
@media (min-width: 921px) {
  .gallery { position: sticky; top: 90px; align-self: start; }
}

/* ── Ajustes móvil (≤ 560 px): botones táctiles, textos legibles, pie compacto ── */
@media (max-width: 560px) {
  .btn { min-height: 50px; padding: 14px 22px; font-size: calc(16px * var(--fs)); white-space: normal; text-align: center; line-height: 1.25; }
  .btn-sm { min-height: 42px; padding: 10px 20px; }
  .btn-outline { min-height: 48px; }
  .btn-block { min-height: 56px; font-size: calc(17px * var(--fs)); }

  .hero::before { background: rgba(10, 30, 28, max(var(--hero-overlay, 0.35), 0.5)); }
  .hero h1 { font-size: calc(30px * var(--fs) * var(--hs)); }
  .hero p { font-size: calc(16px * var(--fs)); }
  .hero-benefit span { font-size: calc(13.5px * var(--fs)); }
  .section-title { font-size: calc(24px * var(--fs) * var(--hs)); margin-bottom: 28px; }
  .reviews { padding: 60px 0; }
  .product { padding: 44px 0; }

  .tab-head { padding: 12px 4px; font-size: calc(15px * var(--fs)); }
  .swatch { width: 40px; height: 40px; }
  .qty button { width: 44px; height: 44px; }
  .qty output { min-width: 40px; }
  .chip { min-height: 44px; padding: 10px 16px; }
  .pay-note { font-size: calc(13px * var(--fs)); }

  .sticky-bar { padding: 10px 14px; gap: 10px; }
  .sticky-info { min-width: 0; flex: 1; }
  .sticky-info strong { font-size: calc(13.5px * var(--fs)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .sticky-bar .btn { min-height: 48px; padding: 12px 20px; flex: none; white-space: nowrap; }

  .scroller-btn { width: 36px; height: 36px; font-size: 18px; }
  .scroller-btn.prev { left: 2px; }
  .scroller-btn.next { right: 2px; }

  .pay-icons span, .pay-badges span { font-size: calc(11.5px * var(--fs)); padding: 4px 10px; }
  .footer { padding: 40px 0 90px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; margin-bottom: 28px; }
  .footer-grid .fcol-news { grid-column: 1 / -1; }
  .footer-base p { font-size: calc(13.5px * var(--fs)); }
}

/* ── Flechas de la imagen principal (cambiar de variante/foto) ─────── */
.gal-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.15); display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.gal-arrow:hover { background: var(--accent); color: var(--accent-text); }
.gal-arrow:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.gal-prev { left: 12px; }
.gal-next { right: 12px; }
.gal-count { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 3; background: rgba(16,24,40,.6); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; pointer-events: none; }
@media (max-width: 560px) {
  .gal-arrow { width: 44px; height: 44px; }
  .gal-prev { left: 8px; }
  .gal-next { right: 8px; }
}

/* ── Reseñas tipo tienda: resumen, filtros, tarjetas y formulario ───── */
.rv-summary { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; margin-bottom: 24px; }
.rv-score { display: flex; align-items: center; gap: 14px; }
.rv-score .rs-num { font-family: var(--head); font-size: calc(56px * var(--fs)); font-weight: 800; line-height: 1; color: var(--ink); }
.rv-score-col { display: flex; flex-direction: column; gap: 4px; }
.rv-meta { color: var(--ink-soft); font-size: calc(14px * var(--fs)); }
.rv-dist { display: grid; gap: 6px; min-width: 0; }
.rv-bar { display: grid; grid-template-columns: 44px 1fr 36px; align-items: center; gap: 10px; background: none; border: 0; padding: 2px 0; cursor: pointer; font: inherit; color: var(--ink-soft); font-size: calc(13px * var(--fs)); text-align: left; }
.rv-bar i { display: block; height: 8px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.rv-bar b { display: block; height: 100%; background: #f5a623; border-radius: 999px; }
.rv-bar:hover span:first-child { color: var(--ink); }
.rv-write { text-align: right; }
.rv-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.rv-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-chip { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: calc(13px * var(--fs)); font-weight: 600; cursor: pointer; min-height: 40px; }
.rv-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.rv-sort select { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: calc(13px * var(--fs)); background: #fff; color: var(--ink); min-height: 40px; }
.rv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.rv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.rv-card[hidden] { display: none; }
.rv-top { display: flex; flex-direction: column; gap: 4px; }
.rv-title { font-size: calc(16px * var(--fs)); font-weight: 700; color: var(--ink); margin: 0; }
.rv-text { color: var(--body); font-size: calc(15px * var(--fs)); line-height: 1.6; margin: 0; }
.rv-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.rv-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.rv-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: auto; padding-top: 8px; font-size: calc(13px * var(--fs)); color: var(--ink-soft); }
.rv-name { font-weight: 700; color: var(--ink); }
.rv-verified { color: #0f8a5f; font-weight: 600; }
.rv-date { margin-left: auto; }
.rv-empty { margin: 10px 0; }
.rv-more-wrap { margin-top: 26px; }
.rv-more-wrap[hidden] { display: none; }

/* Modal de envío */
.rv-modal { position: fixed; inset: 0; z-index: 9990; background: rgba(16,24,40,.55); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.rv-modal[hidden] { display: none; }
.rv-dialog { background: #fff; color: var(--ink); border-radius: 18px; width: 100%; max-width: 560px; padding: 28px; position: relative; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); }
.rv-dialog h3 { font-family: var(--head); font-size: calc(22px * var(--fs)); margin: 0 0 18px; }
.rv-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--ink-soft); cursor: pointer; }
.rv-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.rv-label { font-size: calc(13px * var(--fs)); font-weight: 600; color: var(--ink-soft); }
.rv-field input, .rv-field textarea { border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font: inherit; font-size: calc(15px * var(--fs)); color: var(--ink); background: #fff; min-height: 44px; width: 100%; box-sizing: border-box; }
.rv-field textarea { resize: vertical; }
.rv-field input.rv-bad, .rv-field textarea.rv-bad { border-color: #d92d20; }
.rv-stars-input { display: flex; gap: 4px; }
.rv-stars-input button { border: 0; background: none; font-size: 34px; line-height: 1; color: #d0d5dd; cursor: pointer; padding: 2px; min-width: 44px; min-height: 44px; }
.rv-stars-input button.on { color: #f5a623; }
.rv-stars-input.rv-bad { outline: 2px solid #d92d20; border-radius: 8px; }
.rv-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.rv-thumb { position: relative; width: 72px; height: 72px; }
.rv-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.rv-thumb button { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; font-size: 16px; line-height: 1; }
.rv-add-photo { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; border: 1px dashed var(--line); border-radius: 10px; padding: 10px 16px; min-height: 44px; cursor: pointer; font-weight: 600; font-size: calc(14px * var(--fs)); color: var(--ink); }
.rv-consent { display: flex; gap: 10px; align-items: flex-start; font-size: calc(13px * var(--fs)); color: var(--ink-soft); margin-bottom: 16px; }
.rv-consent input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; }
.rv-consent.rv-bad { color: #d92d20; }
.rv-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.rv-msg { font-size: calc(14px * var(--fs)); margin: 0 0 12px; min-height: 1em; }
.rv-msg.ok { color: #0f8a5f; font-weight: 600; }
.rv-msg.err { color: #d92d20; font-weight: 600; }
#rv-submit { width: 100%; }
#rv-submit:disabled { opacity: .6; cursor: default; }

@media (max-width: 920px) {
  .rv-summary { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .rv-write { text-align: left; }
}
@media (max-width: 680px) {
  .rv-grid { grid-template-columns: 1fr; }
  .rv-dialog { padding: 22px 18px; }
  .rv-date { margin-left: 0; }
}

/* El atributo hidden debe ganar a display de .btn / .btn-outline dentro de reseñas */
.reviews [hidden] { display: none !important; }
.rv-dialog h3 { padding-right: 44px; }

.rv-hint { font-size: calc(13px * var(--fs)); color: var(--ink-soft); margin: -6px 0 16px; }

/* ── Reseñas: estilo lista compacta ─────────────────────────────────── */
.rv-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.rv-card { display: grid; grid-template-columns: 200px 1fr; column-gap: 32px; row-gap: 10px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 26px 4px; box-shadow: none; }
.rv-foot { grid-column: 1; grid-row: 1 / span 3; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; padding: 0; }
.rv-name { font-size: calc(15px * var(--fs)); }
.rv-date { margin-left: 0; }
.rv-top { grid-column: 2; grid-row: 1; }
.rv-text { grid-column: 2; grid-row: 2; }
.rv-photos { grid-column: 2; grid-row: 3; }
.rv-photos img { width: 72px; height: 72px; }
.rv-title { font-size: calc(15px * var(--fs)); }
@media (max-width: 680px) {
  .rv-card { display: flex; flex-direction: column; gap: 10px; padding: 20px 2px; }
  .rv-foot { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
  .rv-photos img { width: 64px; height: 64px; }
}

/* Puntuación numérica junto a las estrellas */
.rv-top { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.rv-top .review-stars { margin-bottom: 0; }
.rv-num { font-weight: 700; color: var(--ink); font-size: calc(14px * var(--fs)); }

/* Vista ampliada de fotos de reseñas */
.rv-photos img { cursor: zoom-in; }
.rv-lb { position: fixed; inset: 0; z-index: 9995; background: rgba(8,12,20,.88); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.rv-lb[hidden] { display: none !important; }
.rv-lb img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.rv-lb-close { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.rv-lb-close:hover { background: rgba(255,255,255,.3); }

.rv-flag { font-size: 1.15em; line-height: 1; vertical-align: -1px; }
.rv-field select { border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font: inherit; font-size: calc(15px * var(--fs)); color: var(--ink); background: #fff; min-height: 44px; width: 100%; box-sizing: border-box; }

/* Paginación de reseñas */
.rv-pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; margin-top: 28px; }
.rv-pager:empty { display: none; }
.rv-pager button { min-width: 42px; min-height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.rv-pager button[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.rv-pager button:disabled { opacity: .4; cursor: default; }
.rv-pager .rv-gap { padding: 0 4px; color: var(--ink-soft); }
#rv-grid { transition: opacity .2s; }
#rv-grid.loading { opacity: .45; pointer-events: none; }

/* Detalles del producto: imagen + texto + datos técnicos, alternando lados */
.details { padding: 90px 0 30px; }
.details-sub { color: var(--ink-soft); max-width: 640px; margin: -8px auto 24px; }
.detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.detail-row:last-child { border-bottom: 0; }
.detail-row.rev .detail-media { order: 2; }
.detail-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--bg-soft); }
.detail-body h3 { font-family: var(--head); font-size: calc(26px * var(--fs)); color: var(--ink); margin: 0 0 12px; }
.detail-body p { color: var(--body); line-height: 1.7; margin: 0 0 22px; font-size: calc(16px * var(--fs)); }
.detail-specs { margin: 0; border-top: 1px solid var(--line); }
.detail-specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-specs dt { color: var(--ink-soft); font-weight: 600; font-size: calc(14px * var(--fs)); }
.detail-specs dd { margin: 0; color: var(--ink); text-align: right; font-size: calc(14px * var(--fs)); }
@media (max-width: 820px) {
  .details { padding: 60px 0 10px; }
  .detail-row { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .detail-row.rev .detail-media { order: 0; }
}

/* ── Ficha de producto: estilo tipo tienda (categoría, stock, compra en línea) ── */
.pkicker { font-size: calc(12.5px * var(--fs)); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 6px; }
.ptitle-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.ptitle-row .pname { margin-bottom: 0; }
.stock-pill { display: inline-flex; align-items: center; gap: 6px; background: color-mix(in srgb, var(--btn-bg) 16%, #fff); color: var(--btn-bg); font-family: var(--ui); font-weight: 700; font-size: calc(12px * var(--fs)); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.stock-pill .stock-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease infinite; }
.pshort-desc { color: var(--ink-soft); line-height: 1.6; font-size: calc(15px * var(--fs)); margin: 0 0 18px; }

.buy-price-row { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.buy-price { font-family: var(--ui); font-size: calc(28px * var(--fs)); font-weight: 800; color: var(--ink); margin-left: auto; }
.buy-buttons { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.buy-buttons .btn { padding: 15px 30px; width: 100%; text-align: center; font-size: calc(16px * var(--fs)); }
.buy-buttons .paypal-zone { width: 100%; margin-top: 0; }

.pmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: calc(12.5px * var(--fs)); color: var(--ink-soft); padding: 14px 0; margin: 10px 0 4px; border-top: 1px solid var(--line); }
.pmeta b { color: var(--ink); font-weight: 700; }
.pmeta-share { margin-left: auto; background: none; border: none; cursor: pointer; font: inherit; color: var(--ink-soft); padding: 0; }
.pmeta-share:hover { color: var(--accent); }

.tabs { margin-top: 10px; }
.tab-head-link { text-decoration: none; }

@media (max-width: 560px) {
  .pmeta-share { margin-left: 0; }
}
