:root {
  --brand: #0f766e;
  --brand-dark: #0d5c56;
  --brand-soft: #e6f5f3;
  --ink: #0f172a;
  --bg: #f4f7f8;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #5b6b7c;
  --line: #e2e8f0;
  --success: #0f766e;
  --warning: #c2410c;
  --danger: #be123c;
  --radius: 14px;
  --shadow: none;
  --space: 16px;
  --base: /saas/saas_ecom_pro;
  --nav-h: 58px;
  --font: "Outfit", "Segoe UI", system-ui, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 500px at 10% -10%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(15, 118, 110, 0.08), transparent 55%),
    var(--bg);
  color: var(--text);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }

.app-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100dvh;
  background: transparent;
  position: relative;
  padding-bottom: calc(var(--nav-h) + 20px);
}
.desktop-nav { display: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px var(--space);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(226, 234, 231, 0.8);
}
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff; font-weight: 800; font-size: 13px;
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 30%, transparent);
  flex-shrink: 0;
  font-family: var(--display);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { flex: 1; min-width: 0; }
.brand-text strong {
  display: block; font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--text);
}
.brand-text span { color: var(--muted); font-size: 11px; font-weight: 500; }
.icon-btn {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer;
  position: relative; transition: transform .2s ease, border-color .2s ease;
}
.icon-btn:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; border-radius: 999px;
  background: var(--danger); color: #fff; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; padding: 0 4px;
}

/* Hero: portada panorámica centrada (PC más baja, móvil adaptada) */
.hero {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 280px;
  min-height: 180px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  animation: heroIn .7s ease both;
}
@media (min-width: 900px) {
  .hero {
    aspect-ratio: 2.6 / 1;
    max-height: 320px;
    min-height: 220px;
  }
}
.hero-media {
  position: absolute; inset: 0;
  background-image: linear-gradient(145deg, #111111, #2a2a2a 55%, #1a1a1a);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 18, 16, 0.18) 0%, rgba(8, 18, 16, 0.42) 55%, rgba(8, 18, 16, 0.78) 100%);
  pointer-events: none;
}
/* Portada propia (marca ya en la imagen): velo suave + CTA, sin texto que compita */
.hero.hero--branded {
  aspect-ratio: 2.4 / 1;
  max-height: 300px;
}
@media (max-width: 699px) {
  .hero.hero--branded {
    aspect-ratio: 16 / 10;
    max-height: 220px;
    min-height: 168px;
  }
}
.hero.hero--branded .hero-veil {
  background:
    linear-gradient(180deg, transparent 0%, transparent 42%, rgba(0,0,0,.32) 78%, rgba(0,0,0,.58) 100%);
}
.hero.hero--branded .hero-copy {
  align-content: end;
  justify-items: start;
  gap: 8px;
  padding: 16px var(--space) 18px;
  max-width: none;
}
.hero.hero--branded .hero-logo-badge,
.hero.hero--branded .hero-brand,
.hero.hero--branded h1 {
  display: none !important;
}
.hero.hero--branded #hero-sub,
.hero.hero--branded p#hero-sub {
  font-size: 13px;
  opacity: .92;
  max-width: 36ch;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.hero.hero--branded .hero-cta {
  margin-top: 2px;
  padding: 10px 16px;
  font-size: 13px;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
}
.hero-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 0;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 20px var(--space) 22px;
  max-width: 560px;
}
.hero-logo-badge {
  width: 48px; height: 48px; border-radius: 14px;
  overflow: hidden; background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
  display: grid; place-items: center;
  backdrop-filter: blur(8px);
}
.hero-logo-badge img { width: 100%; height: 100%; object-fit: cover; }
.hero-logo-badge span { font-weight: 800; font-size: 14px; letter-spacing: .04em; }
.hero-brand {
  margin: 0;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 5.5vw, 34px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.02em;
  max-width: 16ch;
  text-wrap: balance;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.hero #hero-sub,
.hero p#hero-sub {
  margin: 0;
  opacity: .92;
  font-size: 14px;
  font-weight: 450;
  max-width: 32ch;
  line-height: 1.45;
}
.hero-cta {
  width: fit-content;
  margin-top: 6px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-cta:hover { transform: translateY(-1px); }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.store-score {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 16px 18px;
  padding: 0;
  background: transparent;
  border: 0;
  grid-template-columns: none;
}
.store-score[hidden] { display: none !important; }
.score-board {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 8px;
  align-items: stretch;
}
.score-rating {
  appearance: none;
  margin: 0;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 16px 14px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 88px;
}
.score-rating strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-size: clamp(24px, 5.5vw, 30px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0;
}
.score-rating span {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.3;
}
.score-metrics {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  min-width: 0;
}
.score-metric {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.score-metric strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}
.score-metric span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Legacy 3-column rail (caché vieja) */
.score-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.score-cell {
  appearance: none;
  border: 0;
  background: transparent;
  margin: 0;
  padding: 16px 10px;
  text-align: center;
  cursor: default;
  font: inherit;
  color: inherit;
  position: relative;
  min-width: 0;
}
button.score-cell { cursor: pointer; }
.score-cell + .score-cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--line);
}
.score-cell strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 4px;
}
.score-cell span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.score-seal {
  appearance: none;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line));
  border-radius: 14px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand-soft) 70%, #fff) 0%, #fff 55%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  min-height: 56px;
}
.score-seal:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}
.score-seal-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--brand-dark);
  border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--line));
}
.score-seal-ico svg { width: 18px; height: 18px; }
.score-seal-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.score-seal-copy strong {
  font-size: 14.5px;
  font-weight: 750;
  color: var(--text);
  letter-spacing: -0.01em;
}
.score-seal-copy span {
  font-size: 12px;
  font-weight: 550;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}
.score-seal-go {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  opacity: .85;
}
.score-seal.is-verified,
.score-seal.trust-pill.is-verified {
  border-color: #e0c56a;
  background: linear-gradient(135deg, #fff8e6 0%, #fff 52%, #faf3dc 100%);
  box-shadow: 0 12px 28px rgba(180, 130, 20, 0.12);
}
.score-seal.is-verified .score-seal-ico,
.score-seal.trust-pill.is-verified .score-seal-ico {
  background: linear-gradient(145deg, #f6e27a, #d4a017);
  color: #5c4208;
  border-color: #c9a227;
}
.score-seal.is-verified .score-seal-copy strong,
.score-seal.trust-pill.is-verified .score-seal-copy strong { color: #7a5408; }
.score-seal.is-verified .score-seal-copy span,
.score-seal.trust-pill.is-verified .score-seal-copy span { color: #9a7a28; }
.score-seal.is-verified .score-seal-go,
.score-seal.trust-pill.is-verified .score-seal-go { color: #9a7a28; }

/* Legacy score-pill hooks (por si queda markup viejo en caché) */
.score-pill { display: none !important; }

.trust[hidden] { display: none !important; }

.section-title small.criteria {
  font-size: 11px; font-weight: 500; color: var(--muted);
}
.home-block { padding-top: 8px; }
.grid-products, .grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow);
}
.product-card {
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease;
  background: #fff;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 32, 31, 0.12);
}
.product-card:active { transform: scale(.985); }
.product-card .thumb-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    linear-gradient(160deg, #eef4f2 0%, #e2ebe8 55%, #d8e4e0 100%);
}
.product-card .card-fav {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #111;
  font-size: 15px;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.product-card .card-fav:hover { background: #fff; }
.product-card .badge-feat {
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 8px;
}
.product-card .thumb-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(15, 30, 28, 0.04));
  pointer-events: none;
}
.product-card .thumb {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  max-height: none;
  object-fit: cover !important;
  object-position: center center;
  display: block;
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0 !important;
  box-sizing: border-box;
  background: #f3f3f3;
  transition: opacity .25s ease, transform .35s ease;
}
.product-card .thumb:not([src]),
.product-card .thumb[src=""] { opacity: 0; }
.product-card:hover .thumb { transform: scale(1.03); }
.product-card .thumb.is-fallback { object-fit: contain !important; padding: 24px !important; filter: none; }
.product-card .body { padding: 12px 13px 14px; }
.product-card .product-stock-line {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.35;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card h3 {
  margin: 0 0 6px; font-size: 13.5px; line-height: 1.35; font-weight: 650;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.7em; letter-spacing: -0.015em; color: var(--ink);
}
.product-card .price {
  font-weight: 750; font-size: 16px; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.product-card .price .old {
  color: var(--muted); font-weight: 500; text-decoration: line-through;
  font-size: 12px; margin-left: 6px;
}
.product-card .meta {
  display: flex; gap: 6px; flex-wrap: wrap; align-items: center;
  font-size: 11px; color: var(--muted); margin-top: 8px; font-weight: 500;
}
.product-card .meta-pill {
  background: #f2f6f5; border-radius: 999px; padding: 3px 8px;
}
.product-card .badge-sale {
  display: inline-block; font-size: 10px; font-weight: 700;
  background: #fff1f2; color: #be123c; padding: 3px 8px; border-radius: 999px; margin-bottom: 6px;
}

.chips-wrap { padding-top: 14px; padding-bottom: 2px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; border: 1px solid var(--line); background: rgba(255,255,255,.9);
  border-radius: 999px; padding: 9px 15px; font-size: 13px; color: var(--text);
  cursor: pointer; font-weight: 550; transition: .18s ease;
}
.chip:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.chip.active {
  background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 650;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--brand) 28%, transparent);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 14px; padding: 12px 16px; font-weight: 650; cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-light { background: #fff; color: #0f3d39; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.section { padding: 4px var(--space) 16px; }
.section-title {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 10px 0 14px; font-size: 20px; font-weight: 700;
  font-family: var(--display); letter-spacing: -0.02em;
}

.reviews-list { display: grid; gap: 10px; }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 15px; box-shadow: var(--shadow);
}
.review-card .stars { color: #d97706; font-weight: 700; font-size: 13px; }
.review-card .who { font-size: 12px; color: var(--muted); margin-top: 4px; }
.review-card .body-text { margin: 8px 0 0; font-size: 13px; line-height: 1.45; }
.review-photo-btn {
  display: block;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
  width: 100%;
}
.review-photo {
  display: block;
  width: auto;
  max-width: min(100%, 220px);
  max-height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: 1.5px solid #d6d3d1;
  background: #f8fafc;
}
.review-card .verified {
  display: inline-block; margin-top: 8px; font-size: 10px; font-weight: 700;
  color: #0f766e; background: #ecfdf5; padding: 3px 8px; border-radius: 999px;
}

.modal {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(15,23,42,.48);
  display: grid; place-items: center; padding: 20px;
}
.modal[hidden] { display: none !important; }
.modal-card {
  width: min(420px, 100%); background: #fff; border-radius: 18px;
  padding: 22px; position: relative; box-shadow: 0 24px 60px rgba(0,0,0,.22);
}
.modal-close {
  position: absolute; right: 10px; top: 8px; border: 0; background: transparent;
  font-size: 24px; cursor: pointer; color: var(--muted);
}
.trust-points { margin: 12px 0 0; padding-left: 18px; font-size: 13px; color: var(--muted); }

.review-form {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  display: grid; gap: 8px;
}
.star-pick { display: flex; gap: 4px; }
.star-pick button {
  border: 0; background: transparent; font-size: 22px; cursor: pointer; color: #d1d5db;
}
.star-pick button.on { color: #f59e0b; }

.order-close-process {
  margin: 16px 0 18px;
  padding: 18px 16px 16px;
  border-radius: 18px;
  border: 1.5px solid #d6d3d1;
  background: linear-gradient(180deg, #fafaf9 0%, #fff 55%);
  box-shadow: 0 8px 22px rgba(28, 25, 23, .05);
}
.order-close-process.is-done {
  border-color: color-mix(in srgb, #059669 28%, #d6d3d1);
  background: linear-gradient(180deg, #ecfdf5, #fff);
}
.order-close-process.is-soft {
  background: #fff;
}
.order-close-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #78716c;
}
.order-close-title {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.order-close-lede {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: #57534e;
  line-height: 1.4;
}
.order-close-steps {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.order-close-steps li {
  display: grid;
  gap: 2px;
  justify-items: center;
  text-align: center;
  padding: 9px 4px;
  border-radius: 12px;
  background: #f5f5f4;
  color: #78716c;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
}
.order-close-steps li span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: inherit;
}
.order-close-steps li.is-todo { opacity: .72; }
.order-close-steps li.is-current {
  background: #111;
  color: #fff;
}
.order-close-steps li.is-done {
  background: #ecfdf5;
  color: #047857;
}
.order-close-panel {
  display: grid;
  gap: 10px;
}
.order-close-panel[hidden] {
  display: none !important;
}
.order-close-q {
  margin: 0;
  font-size: 15px;
  font-weight: 750;
  color: #1c1917;
}
.order-close-hint {
  margin: 0;
  font-size: 12.5px;
  color: #78716c;
}
.order-close-stars {
  justify-content: center;
  gap: 6px;
  padding: 4px 0 2px;
}
.order-close-stars button {
  font-size: 28px;
}
.order-close-panel textarea {
  width: 100%;
  border: 1.5px solid #d6d3d1;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  resize: vertical;
  min-height: 84px;
  background: #fff;
}
.order-close-photo {
  display: grid;
  gap: 8px;
}
.order-close-photo-label {
  font-size: 13px;
  font-weight: 700;
  color: #292524;
}
.order-close-photo input[type="file"] {
  font: inherit;
  font-size: 13px;
  width: 100%;
}
.order-close-next {
  margin: 0 0 4px;
  padding: 10px 12px 10px 28px;
  border-radius: 12px;
  background: #f5f5f4;
  border: 1px solid #e7e5e4;
  font-size: 13px;
  color: #44403c;
  line-height: 1.45;
}
.order-close-next li + li { margin-top: 4px; }
.order-close-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.order-close-drop {
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
  padding: 18px 14px;
  border-radius: 14px;
  border: 1.5px dashed #0f766e;
  background: linear-gradient(180deg, #f0fdfa, #fff);
  color: #134e4a;
  cursor: pointer;
  user-select: none;
}
.order-close-drop strong {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f766e;
}
.order-close-drop > span:last-child {
  font-size: 12px;
  color: #57534e;
}
.order-close-drop-ico {
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
  background: #0f766e;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.order-close-drop.has-file {
  border-style: solid;
  background: #ecfdf5;
}
.order-close-steps li[data-goto-step] {
  cursor: pointer;
}
.order-close-photo-prev {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 10px;
  border-radius: 12px;
  border: 1.5px solid #d6d3d1;
  background: #fff;
}
.order-close-photo-prev[hidden] {
  display: none !important;
}
.order-close-photo-prev img {
  display: block;
  max-width: min(100%, 200px);
  max-height: 160px;
  object-fit: cover;
  border-radius: 10px;
  background: #f8fafc;
}
.order-close-panel .btn-ghost {
  color: #57534e;
}
.ecn-img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(28, 25, 23, .72);
}
.ecn-img-lightbox.is-open { display: grid; }
.ecn-img-lightbox img {
  max-width: min(92vw, 420px);
  max-height: 72vh;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0,0,0,.35);
}
.ecn-img-lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: rgba(255,255,255,.92);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #111;
}

.price { font-weight: 750; font-size: 15px; }
.price .old { color: var(--muted); font-weight: 500; text-decoration: line-through; font-size: 12px; margin-left: 6px; }
.stock-low { color: var(--warning); font-size: 12px; margin-top: 4px; }

.trust {
  margin: 8px var(--space) 24px; padding: 14px 15px; border-radius: 16px;
  background: #fff;
  border: 1.5px solid #d6d3d1; display: flex; gap: 12px; align-items: flex-start;
  cursor: pointer; box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}
.trust-ico {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center; background: #eceff1; color: #6b7280;
  border: 1px solid #d1d5db;
}
.trust.is-verified {
  background: linear-gradient(145deg, #fff9e8 0%, #fff 55%, #f7efd4 100%);
  border: 1.5px solid #e8c76a;
  box-shadow: 0 10px 24px rgba(180, 130, 20, .14);
}
.trust.is-verified .trust-ico {
  background: linear-gradient(145deg, #f6e27a, #d4a017);
  color: #5c4208;
  border-color: #c9a227;
}
.trust-ico svg { width: 20px; height: 20px; }
.trust strong { display: block; font-size: 14.5px; font-weight: 750; color: #111; }
.trust.is-verified strong { color: #7a5408; }
.trust span { color: #44403c; font-size: 12.5px; line-height: 1.45; font-weight: 500; }

.bottom-nav {
  position: fixed; left: 0; right: 0; transform: none;
  bottom: 0; width: 100%;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  max-height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.92);
  border-top: 1px solid color-mix(in srgb, var(--brand) 10%, var(--line));
  display: flex; flex-direction: row; flex-wrap: nowrap;
  align-items: stretch; justify-content: space-between;
  overflow: hidden; z-index: 30;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.06);
}
.bottom-nav a {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex: 1 1 0%; min-width: 0; max-width: 20%;
  gap: 3px;
  font-size: 10.5px; color: #8a93a0; padding: 8px 0 6px; font-weight: 650;
  min-height: 0; height: var(--nav-h);
  overflow: hidden;
  letter-spacing: 0.01em;
  transition: color .18s ease;
}
.bottom-nav a .nav-ico {
  width: 36px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.bottom-nav a .nav-label {
  line-height: 1;
}
.bottom-nav a .pic { margin: 0; background: transparent !important; border: 0 !important; }
.bottom-nav svg { width: 22px; height: 22px; }
.bottom-nav a.active {
  color: var(--brand-dark);
  font-weight: 800;
}
.bottom-nav a.active .nav-ico {
  background: color-mix(in srgb, var(--brand) 14%, #fff);
  color: var(--brand);
  transform: translateY(-1px);
}
.bottom-nav a.active::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 4px 10px var(--brand-glow);
}

.view { display: none; }
.view.active { display: block; }

/* Galería: marco fijo; la imagen SIEMPRE completa (nunca recorta) */
.pdp-layout { display: block; }
.gallery-wrap { background: #fff; }
.gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: min(78vh, 560px);
  height: auto;
  background: linear-gradient(165deg, #f4f7f6 0%, #e8efec 100%);
  overflow: hidden;
  border-radius: 0;
}
.gallery-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}
.gallery-stage img,
.gallery-stage video {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}
.gallery-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #111;
}
.gallery-meta {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}
.gallery-count {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}
.gallery-thumbs {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 10px var(--space) 0; scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs button {
  flex: 0 0 auto; width: 52px; height: 66px; padding: 0;
  border: 2px solid transparent; border-radius: 10px;
  overflow: hidden; background: #eef2f1; cursor: pointer; position: relative;
}
.gallery-thumbs button.active { border-color: var(--brand); }
.gallery-thumbs img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: auto;
  display: block;
  position: absolute;
  inset: 0;
  margin: auto;
  padding: 3px;
  box-sizing: border-box;
}
.gallery-thumbs .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,.35); color: #fff; font-size: 14px; font-weight: 800;
}

.pdp { padding: var(--space) var(--space) calc(var(--space) + 24px); }
.pdp h1 { margin: 0 0 6px; font-size: 16px; line-height: 1.35; font-weight: 650; }
.pdp-cat {
  display: inline-block; font-size: 12px; color: var(--brand); font-weight: 650;
  margin-bottom: 0; border: 0; background: transparent; padding: 0; cursor: pointer; font: inherit;
}
.pdp-tags {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 10px;
}
.pdp-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 8px; background: #111; color: #fff;
}
.pdp-tag--best { background: #0f766e; }
.pdp-proof {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 12px; color: var(--muted); margin: 0 0 10px;
}
.pdp-proof .stars { color: #f59e0b; font-weight: 700; }
.pdp-brand-rep {
  display: block;
  font-size: 12px;
  font-weight: 650;
  color: #78716c;
  margin-top: 1px;
}
.pdp-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 12px;
}
.pdp-social-card {
  border: 1.5px solid #d6d3d1;
  border-radius: 14px;
  padding: 11px 12px;
  background: #fff;
  display: grid;
  gap: 2px;
  min-width: 0;
}
.pdp-social-card.is-product {
  border-color: color-mix(in srgb, #f59e0b 35%, #d6d3d1);
  background: linear-gradient(180deg, #fffbeb, #fff);
}
.pdp-social-card.is-store {
  border-color: color-mix(in srgb, #0f766e 28%, #d6d3d1);
  background: linear-gradient(180deg, #f0fdfa, #fff);
}
.pdp-social-kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #78716c;
}
.pdp-social-main {
  font-size: 18px;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.pdp-social-card.is-product .pdp-social-main { color: #b45309; }
.pdp-social-card.is-store .pdp-social-main { color: #0f766e; }
.pdp-social-sub,
.pdp-social-sold {
  font-size: 12px;
  color: #57534e;
  font-weight: 600;
  line-height: 1.3;
}
.pdp-social-sold { color: #292524; font-weight: 750; }
.pdp-trust-line {
  margin: 0 0 14px;
  font-size: 13px;
  color: #78716c;
  font-weight: 550;
  line-height: 1.4;
}
.pdp-stock-inline {
  margin: 4px 0 12px;
  font-size: 14px;
  font-weight: 650;
}
.pdp-stock-inline .stock-msg { color: #44403c; }
.pdp-stock-inline .stock-msg.stock-ok { color: #047857; }
.pdp-stock-inline .stock-msg.stock-low { color: #c2410c; }
.pdp-stock-inline .stock-msg.stock-out { color: #b91c1c; }
.card-social {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: #b45309;
  line-height: 1.3;
}
.pdp-reviews-early {
  padding: 8px var(--space) 4px;
  margin-top: 4px;
}
.pdp-price-box {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0 0 8px;
}
.pdp-price-box .tag { display: none; }
.pdp-price-box .price {
  font-size: 1.65rem; font-weight: 800; color: #111; letter-spacing: -0.02em;
}
.pdp-price-box .old {
  color: #a8a29a; font-size: 15px; text-decoration: line-through; margin-left: 10px; font-weight: 500;
}
.pdp-price-box .save {
  display: block; margin: 4px 0 0; color: #b45309; font-size: 13px; font-weight: 650;
}
.pdp .desc {
  margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5;
  white-space: pre-wrap;
}
.pdp-qty-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin: 14px 0 0;
  font-size: 13px; color: var(--muted);
}
.variants { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 8px; }
.variants.pdp-var-picker {
  display: grid;
  gap: 14px;
  margin: 10px 0 4px;
}
.pdp-var-axis { display: grid; gap: 8px; }
.pdp-var-axis-label {
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: #1c1917;
  font-weight: 700;
}
.pdp-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid #d6d3d1;
  border-radius: 12px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2357534e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  padding: 14px 42px 14px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #1c1917;
  line-height: 1.35;
  min-height: 52px;
  cursor: pointer;
}
.pdp-select:focus {
  outline: none;
  border-color: #1c1917;
  box-shadow: 0 0 0 3px rgba(28, 25, 23, 0.08);
}
.pdp-radio-list {
  display: grid;
  gap: 6px;
}
.pdp-radio {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: left;
  border: 1.5px solid #e7e5e4;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 14.5px;
  color: #1c1917;
}
.pdp-radio-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #a8a29a;
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  background: #fff;
}
.pdp-radio.active {
  border-color: #1c1917;
  background: #fafaf9;
}
.pdp-radio.active .pdp-radio-dot {
  border-color: #1c1917;
}
.pdp-radio.active .pdp-radio-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #1c1917;
}
.pdp-radio-text {
  flex: 1;
  font-weight: 600;
  line-height: 1.35;
}
.pdp-radio-note {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 650;
  color: #c2410c;
}
.pdp-radio.is-soldout,
.pdp-radio:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.pdp-var-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pdp-chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  line-height: 1.2;
}
.pdp-chip-main {
  font-weight: 650;
}
.pdp-chip-meta {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.pdp-chip--size {
  border-radius: 12px;
  min-width: 48px;
  min-height: 44px;
  justify-content: center;
  padding: 10px 14px;
}
.pdp-chip--size .pdp-chip-main {
  font-variant-numeric: tabular-nums;
  font-size: 15px;
}
.pdp-chip.active {
  border-color: #1c1917;
  background: #1c1917;
  color: #fff;
}
.pdp-buy-block {
  margin: 12px 0 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.pdp-chip.is-soldout,
.pdp-chip:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  text-decoration: line-through;
}
.variant {
  border: 1px solid var(--line); background: #fff; border-radius: 12px;
  padding: 8px 12px; cursor: pointer; font-size: 13px;
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
  min-width: 72px;
}
.variant .variant-label { font-weight: 650; }
.variant .variant-stock { font-size: 11px; color: var(--muted); font-weight: 600; }
.variant.active { border-color: var(--brand); background: #ecfdf5; color: #0f766e; font-weight: 650; }
.variant.active .variant-stock { color: #0f766e; }
.variant.is-soldout,
.variant:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
}
.pdp-var-hint { margin: 0 0 8px; font-size: 12.5px; color: #78716c; }
.pdp-stock-breakdown[hidden] { display: none !important; }
.gallery-thumb-btn {
  position: relative;
  overflow: hidden;
}
.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.stock-out { color: #b91c1c; font-weight: 700; }
.stock-low { color: #c2410c; font-weight: 700; }
#buy-now:disabled, #add-cart:disabled { opacity: 0.45; cursor: not-allowed; }

.related { padding: 8px var(--space) 24px; }
.related h2 { margin: 0 0 12px; font-size: 15px; font-weight: 750; }
.related-block {
  padding: 22px var(--space) 28px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #f3f7f6 0%, transparent 70%);
}
.related-head h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 750;
  font-family: var(--display);
  letter-spacing: -.02em;
}
.related-head p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}
.related-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.related-more {
  width: 100%;
  margin-top: 14px;
}
.related-empty {
  text-align: center;
  padding: 28px 16px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
}
.reviews-block { padding-bottom: calc(var(--nav-h) + 96px); }
@media (min-width: 720px) {
  .related-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .related-more { width: auto; }
}

.sticky-cta {
  position: relative;
  left: auto;
  right: auto;
  transform: none;
  bottom: auto;
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  z-index: 5;
}
.sticky-cta .btn-cart,
.btn-cart {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #111;
  color: #111;
  border-radius: 0;
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.sticky-cta .btn-buy,
.btn-buy {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 0;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.sticky-cta .btn-buy:hover,
.btn-buy:hover {
  background: #000;
}
.sticky-cta--early {
  position: relative !important;
  left: auto !important;
  transform: none !important;
  width: 100% !important;
  margin-top: 16px;
}

/* Sticky real en móvil (Farfetch / marketplace) */
@media (max-width: 719px) {
  .sticky-cta.sticky-cta--bar,
  .sticky-cta--early.sticky-cta--bar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: calc(var(--nav-h, 64px) + env(safe-area-inset-bottom, 0px)) !important;
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border-top: 1px solid #e5e7eb !important;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08) !important;
    z-index: 40 !important;
    transform: none !important;
    backdrop-filter: blur(12px);
  }
  .pdp { padding-bottom: 120px; }
}

.pdp-ship {
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid #e5e7eb;
  display: grid;
  gap: 10px;
}
.pdp-ship-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #374151;
}
.pdp-ship-row .pic {
  margin-top: 1px;
}
.pdp-ship-row strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #111;
}
.pdp-ship-row span {
  color: #6b7280;
  font-size: 12.5px;
}
.pdp-trust-row {
  margin: 16px 0 0;
  padding: 14px;
  background: #fff;
  border: 1.5px solid #d6d3d1;
  border-radius: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}
.pdp-trust-row.is-verified {
  background: linear-gradient(145deg, #fff9e8 0%, #fff 55%, #f7efd4 100%);
  border-color: #e8c76a;
}
.pdp-trust-row.is-verified strong { color: #7a5408; }
.pdp-trust-row.is-verified .pic,
.pdp-trust-row.is-verified svg { color: #b8860b; }
.pdp-trust-row strong { display: block; font-size: 13.5px; color: #111; font-weight: 750; }
.pdp-trust-row span { font-size: 12.5px; color: #44403c; line-height: 1.4; font-weight: 500; }
.pdp-specs {
  margin: 20px 0 0;
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
}
.pdp-specs h3 {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 700;
}
.pdp-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.pdp-specs-table th,
.pdp-specs-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: top;
}
.pdp-specs-table th {
  width: 38%;
  color: #6b7280;
  font-weight: 600;
  background: #fafafa;
}
.pdp-specs-table td { color: #111; }
.pdp-policy {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: #f3f4f6;
  font-size: 12.5px;
  color: #4b5563;
  line-height: 1.45;
}
.pdp-price-box .price { font-variant-numeric: tabular-nums; }
.pdp-price-live .old { margin-left: 8px; }
.qty {
  display: inline-flex; align-items: center; gap: 4px; background: #f3f4f6;
  border-radius: 999px; padding: 2px;
}
.qty button { width: 32px; height: 32px; border: 0; border-radius: 999px; background: #fff; cursor: pointer; font-size: 16px; }
.qty span { min-width: 18px; text-align: center; font-size: 13px; font-weight: 700; }

.form { display: grid; gap: 12px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff;
}
.pay-options { display: grid; gap: 8px; }
.pay-option {
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fff; cursor: pointer;
  display: flex; gap: 10px; align-items: center;
}
.pay-option.active { border-color: var(--brand); background: #f0fdfa; }
.summary-row { display: flex; justify-content: space-between; margin: 6px 0; color: #44403c; font-size: 14px; font-weight: 500; }
.summary-row.total { color: #111; font-weight: 800; font-size: 16px; margin-top: 10px; }
.summary-row span:last-child { color: #1c1917; font-weight: 650; }

/* Cupón checkout — bloque premium */
.coupon-panel {
  position: relative;
  padding: 16px 16px 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line));
  background:
    linear-gradient(165deg, #fff 0%, color-mix(in srgb, var(--brand-soft) 55%, #fff) 100%);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.coupon-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 30%, transparent));
}
.coupon-panel.is-ok {
  border-color: color-mix(in srgb, var(--success) 45%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--success) 18%, transparent);
}
.coupon-panel.is-err {
  border-color: color-mix(in srgb, var(--danger) 40%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--danger) 14%, transparent);
}
.coupon-panel.is-loading .coupon-apply { opacity: .7; pointer-events: none; }
.coupon-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.coupon-kicker {
  margin: 0 0 2px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.coupon-title {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
.coupon-hint {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  max-width: 28ch;
}
.coupon-badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 8px;
  border: 1px dashed color-mix(in srgb, var(--brand) 35%, var(--line));
  color: var(--brand-dark);
  background: rgba(255,255,255,.7);
}
.coupon-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: stretch;
}
.coupon-row input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.coupon-row input::placeholder {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #a8a49d;
}
.coupon-row input:focus {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent);
}
.coupon-apply {
  border: 0;
  background: var(--brand);
  color: #fff;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, transform .15s ease;
}
.coupon-apply:hover { background: var(--brand-dark); }
.coupon-apply:active { transform: scale(.98); }
.coupon-status {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
  margin-top: 12px;
  min-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .22s ease, transform .22s ease;
}
.coupon-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.coupon-status-icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.coupon-status-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 550;
}
.coupon-status.is-ok .coupon-status-icon {
  background: color-mix(in srgb, var(--success) 16%, #fff);
  color: var(--success);
}
.coupon-status.is-ok .coupon-status-text { color: var(--success); }
.coupon-status.is-err .coupon-status-icon {
  background: color-mix(in srgb, var(--danger) 14%, #fff);
  color: var(--danger);
}
.coupon-status.is-err .coupon-status-text { color: var(--danger); }
.coupon-status.is-loading .coupon-status-icon {
  background: var(--brand-soft);
  color: var(--muted);
}
.coupon-status.is-loading .coupon-status-text { color: var(--muted); font-weight: 500; }

.empty {
  text-align: center; padding: 48px 20px; color: var(--muted);
}
.toast {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--nav-h) + 16px); background: #111827; color: #fff;
  padding: 12px 16px; border-radius: 12px; font-size: 14px; z-index: 50;
  opacity: 0; pointer-events: none; transition: .2s ease;
}
.toast.show { opacity: 1; }

.wa-fab {
  position: fixed;
  right: max(16px, calc(50% - 220px));
  bottom: calc(var(--nav-h) + 18px);
  width: 56px; height: 56px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  z-index: 40;
  transition: transform .2s ease;
}
.wa-fab:hover { transform: scale(1.06); color: #fff; }
@media (min-width: 900px) {
  .wa-fab { right: max(24px, calc(50% - 560px)); bottom: 28px; }
}

.muted { color: var(--muted); }
.hidden { display: none !important; }

@media (min-width: 900px) {
  .app-shell {
    max-width: 1180px;
    padding-bottom: 40px;
    background: rgba(255,255,255,.35);
    border-left: 1px solid rgba(226,234,231,.8);
    border-right: 1px solid rgba(226,234,231,.8);
  }
  .bottom-nav { display: none; }
  .desktop-nav {
    display: flex; gap: 18px; align-items: center; margin-right: 8px;
  }
  .desktop-nav a {
    font-size: 13px; font-weight: 600; color: var(--muted);
  }
  .desktop-nav a:hover { color: var(--brand); }
  .store-score {
    margin: 28px 28px 10px;
    padding: 0;
    grid-template-columns: none;
  }
  .hero {
    aspect-ratio: 2.6 / 1;
    max-height: 320px;
    min-height: 220px;
  }
  .hero.hero--branded {
    aspect-ratio: 2.4 / 1;
    max-height: 300px;
  }
  .hero-copy { padding: 24px 40px 26px; }
  .hero h1 { max-width: 18ch; font-size: clamp(26px, 3vw, 36px); }
  .section { padding-left: 28px; padding-right: 28px; }
  .trust { margin-left: 28px; margin-right: 28px; }
  .grid-products, .grid-2 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .product-card h3 { font-size: 14px; }
  .pdp-layout {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 28px;
    align-items: start;
    padding: 16px 28px 32px;
  }
  .gallery {
    max-height: 560px;
    border-radius: 16px;
  }
  .gallery-thumbs { padding-left: 0; padding-right: 0; }
  .pdp { padding: 0; }
  .sticky-cta {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 18px;
    box-shadow: none;
  }
  .related { padding-left: 28px; padding-right: 28px; }
  .reviews-list { grid-template-columns: 1fr 1fr; }
}

/* ===== ATelier Noir — boutique editorial (inspirado Farfetch, distinto al teal anterior) ===== */
:root {
  --brand: #1a1a1a;
  --brand-dark: #000000;
  --brand-soft: #f0eeeb;
  --ink: #111111;
  --bg: #f3f2ef;
  --surface: #ffffff;
  --text: #111111;
  --muted: #6f6c67;
  --line: #e4e1db;
  --success: #2f6b4f;
  --warning: #9a6b2f;
  --danger: #8f2d3a;
  --price: #111111;
  --sale: #8f2d3a;
  --radius: 2px;
  --shadow: none;
  --space: 16px;
  --nav-h: 58px;
  --font: "Outfit", "Segoe UI", system-ui, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
body {
  background:
    linear-gradient(180deg, #ebe8e2 0%, var(--bg) 180px);
  color: var(--text);
  letter-spacing: .01em;
}
.app-shell {
  max-width: 1120px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}
.topbar {
  padding: 12px 16px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  gap: 12px;
  min-height: 56px;
}
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: #111; color: #f7f5f2;
  box-shadow: none; font-size: 11px; font-weight: 600;
  font-family: var(--display); letter-spacing: .04em;
}
.brand-text strong {
  font-family: var(--display);
  font-size: 18px; font-weight: 600; letter-spacing: .02em;
}
.brand-text span { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
}
.icon-btn:hover { border-color: #111; }
.badge { background: #111; top: -2px; right: -2px; }
.badge.badge-hot, .badge.is-hot {
  background: #e11d48; color: #fff;
  box-shadow: 0 0 0 2px #fff;
}
.badge.hidden { display: none !important; }
.icon-btn.notif-bell.has-unread {
  border-color: color-mix(in srgb, #e11d48 35%, var(--line));
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}
.icon-btn.notif-bell.has-unread .pic {
  color: #e11d48;
}
@keyframes notifPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.notif-bell.has-unread #notif-count:not(.hidden) {
  animation: notifPulse 1.4s ease-in-out infinite;
}

/* —— Cuenta comprador —— */
.account-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
}
.account-hero {
  padding: 18px 16px 16px;
  background:
    linear-gradient(135deg, #0f766e 0%, #134e4a 55%, #0b3d3a 100%);
  color: #fff;
}
.account-hero strong {
  display: block;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: 4px;
}
.account-hero span {
  font-size: 13px;
  opacity: .88;
}
.account-body { padding: 14px 16px 16px; }
.account-pwd {
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #faf9f7;
}
.account-pwd-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}
.account-pwd-hint {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.account-pwd .field { margin: 0 0 10px; }
.account-pwd .field:last-of-type { margin-bottom: 12px; }
.account-pwd .field label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: #6b7280;
}
.account-pwd .field input[type="password"],
.account-pwd .field input[type="text"] {
  width: 100%;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  padding: 0 12px !important;
  line-height: 1.25 !important;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}
.account-pwd .btn {
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.account-actions {
  display: grid;
  gap: 8px;
}
.account-actions .btn {
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 600;
}
.account-actions .btn-ghost {
  background: #fff;
  justify-content: flex-start;
  border-color: var(--line);
}
.account-actions a.btn { text-decoration: none; }

/* —— Drawer avisos —— */
.notif-drawer {
  position: fixed;
  z-index: 60;
  top: 56px;
  right: 12px;
  left: 12px;
  max-width: 420px;
  margin-left: auto;
  max-height: min(72vh, 560px);
  overflow: auto;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--brand) 12%, var(--line));
  box-shadow: 0 24px 48px rgba(15, 23, 42, .16);
  background: #f8faf9;
}
.notif-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.notif-drawer-head strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
}
.notif-drawer-close {
  border: 0 !important;
  background: #f3f4f6 !important;
  border-radius: 999px !important;
  padding: 8px 12px !important;
  font-size: 12px !important;
  font-weight: 650 !important;
}
.notif-drawer-hint {
  background: #fff;
  padding: 8px 16px 12px;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}
.notif-drawer-actions {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  padding: 10px 12px 12px;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}
.notif-drawer-actions .btn {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.notif-drawer-list { padding: 10px; display: grid; gap: 8px; }
.notif-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: start;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  font: inherit;
  color: inherit;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
}
.notif-item.is-unread {
  background: #fff;
  border-color: color-mix(in srgb, #e11d48 28%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in srgb, #e11d48 10%, transparent);
}
.notif-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #0f766e;
  background: #ecfdf5;
  flex-shrink: 0;
}
.notif-ico.is-ok { color: #047857; background: #ecfdf5; }
.notif-ico.is-warn { color: #b45309; background: #fffbeb; }
.notif-ico.is-danger { color: #be123c; background: #fff1f2; }
.notif-ico.is-info { color: #1d4ed8; background: #eff6ff; }
.notif-main { min-width: 0; }
.notif-main strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 3px;
}
.notif-main .notif-body {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.notif-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.notif-proof-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, #0f766e 35%, var(--line));
  background: linear-gradient(180deg, #0f766e, #0d9488);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .08);
  cursor: pointer;
}
.notif-proof-btn:hover {
  filter: brightness(1.05);
}
.notif-proof-btn::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cline x1='10' y1='9' x2='8' y2='9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cline x1='10' y1='9' x2='8' y2='9'/%3E%3C/svg%3E") center / contain no-repeat;
}
.notif-item.has-proof {
  border-color: color-mix(in srgb, #0f766e 22%, var(--line));
}
.notif-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.notif-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #e11d48;
}
.notif-time {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  margin: 0;
}

.hero, .hero.hero--branded {
  aspect-ratio: 2.4 / 1;
  max-height: 200px;
  min-height: 140px;
  border-radius: 0;
}
@media (min-width: 900px) {
  .hero, .hero.hero--branded {
    aspect-ratio: 3.4 / 1;
    max-height: 260px;
    min-height: 180px;
  }
}
.hero-veil {
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.55) 100%) !important;
}
.hero-copy { padding: 16px var(--space) 18px; gap: 8px; max-width: 520px; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 600;
  letter-spacing: .01em;
}
.hero-cta, .hero.hero--branded .hero-cta {
  background: #fff; color: #111;
  border-radius: 0; padding: 11px 18px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  box-shadow: none;
}
.hero.hero--branded #hero-sub { font-size: 12px; letter-spacing: .06em; }

.shop-tools { padding: 14px 16px 4px; background: transparent; display: flex; flex-direction: column; gap: 10px; }
.chips {
  gap: 8px;
  border-bottom: 0;
  padding-bottom: 2px;
  scrollbar-width: thin;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.chip .chip-ico {
  font-size: 15px;
  line-height: 1;
  flex: 0 0 auto;
}
.chip .pic.chip-ico,
.chip .pic.sm {
  width: 20px;
  height: 20px;
  border-radius: 0;
  background: transparent;
  border: 0;
}
.chip .pic svg {
  width: 18px;
  height: 18px;
}
.chip .chip-label {
  white-space: nowrap;
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chip:hover {
  color: #111;
  border-color: #d1d5db;
  background: #f9fafb;
}
.chip.active {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: none;
}
.chip.active .chip-label { color: #fff; }
.sort-bar {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 12px 0 4px; scrollbar-width: none;
}
.sort-bar::-webkit-scrollbar { display: none; }
.sort-chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: #fff; color: var(--muted);
  padding: 7px 12px; font-size: 11px; font-weight: 500;
  cursor: pointer; border-radius: 0; letter-spacing: .04em;
}
.sort-chip.active, .sort-chip:hover {
  border-color: #111; color: #111; background: #f7f5f2;
}

.store-score {
  margin: 24px 16px 12px;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  grid-template-columns: none;
}
.score-rail {
  border-color: var(--line);
}
.score-cell strong {
  font-family: var(--display);
  font-weight: 600;
}
.score-cell span {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.score-seal {
  border-radius: 14px;
}

.section { padding-left: 16px; padding-right: 16px; }
.section-title {
  font-family: var(--display);
  font-size: 28px; font-weight: 600;
  margin: 22px 0 14px; letter-spacing: .01em;
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
}
.section-title small.criteria {
  font-family: var(--font);
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.grid-products, .grid-2 {
  gap: 12px 10px;
  grid-template-columns: 1fr 1fr;
}
.card, .product-card {
  border-radius: 0; border: 0;
  box-shadow: none; overflow: hidden;
  background: transparent;
  cursor: pointer;
}
.product-card:hover { transform: none; box-shadow: none; }
.product-card .thumb-wrap {
  aspect-ratio: 3 / 4;
  background: #eceae6;
  position: relative; overflow: hidden;
}
.product-card .thumb-wrap::after { display: none; }
.product-card .thumb {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; object-position: center;
  position: absolute; inset: 0; padding: 0 !important; margin: 0;
  transition: transform .55s var(--ease);
}
.product-card:hover .thumb { transform: scale(1.04); }
.product-card .badge-sale {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: #111; color: #fff;
  font-size: 10px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 0;
}
.product-card .badge-stack {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
}
.product-card .badge-stack .badge-sale,
.product-card .badge-stack .badge-best {
  position: static;
}
.product-card .badge-best {
  background: #0f766e; color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 8px;
}
.product-card .body { padding: 12px 2px 6px; }
.product-card h3 {
  font-family: var(--font);
  font-size: 12px; font-weight: 500; line-height: 1.4;
  color: #222; margin: 0 0 8px; letter-spacing: .01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.6em;
}
.product-card .price-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
}
.product-card .price {
  color: var(--price); font-size: 14px; font-weight: 600; letter-spacing: 0;
}
.product-card .price .old {
  color: #a8a59f; font-size: 11px; margin-left: 6px; font-weight: 400;
  text-decoration: line-through;
}
.product-card .sale-tag {
  font-size: 10px; color: var(--sale); font-weight: 600; letter-spacing: .06em;
}
.product-card .card-cta {
  margin-top: 10px; width: 100%;
  border: 1px solid #111; background: transparent; color: #111;
  padding: 9px 10px; font-size: 10px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  transition: .2s var(--ease);
}
.product-card:hover .card-cta { background: #111; color: #fff; }

.btn, .btn-primary, .btn-light, .btn-ghost {
  border-radius: 0 !important;
  letter-spacing: .08em; text-transform: uppercase;
  font-size: 11px !important; font-weight: 600 !important;
}
.btn-primary, .btn.btn-primary {
  background: #111 !important; color: #fff !important; border-color: #111 !important;
}
.btn-ghost { border: 1px solid var(--line) !important; background: #fff !important; color: #111 !important; }
.btn-buy {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #111;
  color: #fff;
  border: 0;
  padding: 14px 16px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer;
}
.btn-buy:hover { background: #000; }
.btn-cart {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #fff; color: #111; border: 1px solid #111;
  padding: 14px 16px;
  font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer;
}
.sticky-cta, .sticky-cta--early {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px;
  margin-top: 16px;
  width: 100% !important;
  max-width: 100% !important;
  z-index: 5;
}
@media (min-width: 720px) {
  .sticky-cta, .sticky-cta--early {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    background: transparent;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
.pay-hint {
  margin: 10px 0 0; font-size: 11px; color: var(--muted);
  letter-spacing: .04em; text-align: center;
}
.pdp-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.pdp h1 {
  font-family: var(--display);
  font-size: clamp(28px, 5vw, 40px); font-weight: 600;
  margin: 4px 0 10px; letter-spacing: .01em; line-height: 1.1;
}
.pdp-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
.pdp .price { font-size: 22px; font-weight: 600; }
.pdp-cat {
  border: 0; background: transparent; padding: 0;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); cursor: pointer; margin-bottom: 6px;
}
.bottom-nav {
  border-top: 1px solid var(--line); background: #fff;
  backdrop-filter: none;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  flex-wrap: nowrap;
}
.bottom-nav a.active { color: #111; }
.wa-fab {
  width: 50px; height: 50px; border-radius: 50%;
  background: #25D366; color: #fff;
  bottom: calc(var(--nav-h) + 14px); right: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.trust {
  margin: 18px 16px 28px; padding: 16px;
  border: 1.5px solid #d6d3d1; border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}
.trust.is-verified {
  border-color: #e8c76a;
  background: linear-gradient(145deg, #fff9e8 0%, #fff 55%, #f7efd4 100%);
}
.trust.is-verified .trust-ico {
  background: linear-gradient(145deg, #f6e27a, #d4a017);
  color: #5c4208;
}
.chip.active { /* keep */ }

/* —— Mis pedidos (lista + filtros) —— */
.orders-session {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  margin-bottom: 12px;
  border: 1.5px solid #cfcfc8;
  background: linear-gradient(135deg, #f8faf9, #fff);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 8px 20px rgba(15,23,42,.04);
}
.orders-session strong {
  font-size: 16px;
  font-weight: 750;
  color: #111;
}
.orders-session span {
  font-size: 13px;
  color: #44403c;
  font-weight: 500;
}
.orders-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  margin: 0 0 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.orders-filters::-webkit-scrollbar { display: none; }
.orders-filter {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid #d6d3d1;
  background: #fff;
  color: #292524;
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.orders-filter em {
  font-style: normal;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  background: #f3f4f6;
  color: #44403c;
}
.orders-filter.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}
.orders-filter.is-active em {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.orders-filter.is-empty:not(.is-active) {
  opacity: .7;
}
.orders-list {
  display: grid;
  gap: 12px;
}
.orders-empty {
  padding: 28px 16px;
  text-align: center;
  color: #44403c;
  font-size: 14px;
  border: 1.5px dashed #d6d3d1;
  background: #fafafa;
  border-radius: 14px;
}
.order-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border: 1.5px solid #d6d3d1;
  background: #fff;
  padding: 14px;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.order-row:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, #d6d3d1);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}
.order-row:active { transform: scale(.995); }
.order-row-img {
  width: 80px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  border: 1.5px solid #d6d3d1;
  background: #f5f5f4;
}
.order-row-body { min-width: 0; }
.order-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.order-row-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #111;
}
.order-row-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: #1c1917;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-row-meta {
  margin: 5px 0 0;
  font-size: 12.5px;
  color: #44403c;
  font-weight: 500;
}
.order-row-cta {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #0f766e;
}
.order-status {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1.5px solid transparent;
}
.order-status--ok { background: #ecfdf5; color: #047857; border-color: #6ee7b7; }
.order-status--warn { background: #fffbeb; color: #b45309; border-color: #fcd34d; }
.order-status--danger { background: #fff1f2; color: #be123c; border-color: #fda4af; }
.order-status--info { background: #eff6ff; color: #1d4ed8; border-color: #93c5fd; }
.order-status--neutral { background: #f5f5f4; color: #292524; border-color: #d6d3d1; }
.order-mini-track {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 10px;
  max-width: 180px;
}
.order-mini-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e7e5e4;
  border: 1.5px solid #a8a29e;
  flex-shrink: 0;
}
.order-mini-dot.done,
.order-mini-dot.current {
  background: #0f766e;
  border-color: #0f766e;
}
.order-mini-dot.current {
  box-shadow: 0 0 0 3px rgba(15, 118, 110, .2);
}
.order-mini-dot.fail {
  background: #e11d48;
  border-color: #e11d48;
}
.order-mini-line {
  flex: 1;
  height: 2.5px;
  background: #e7e5e4;
  min-width: 10px;
}
.order-mini-dot.done + .order-mini-line {
  background: #0f766e;
}
.orders-back {
  margin-bottom: 10px;
  border-radius: 999px !important;
  padding: 8px 12px !important;
  font-size: 12px !important;
}
.order-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}
.order-detail-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #57534e;
  font-weight: 750;
}
.order-detail-num {
  margin: 2px 0 0;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
  color: #111;
}
.order-detail-status-msg {
  margin: 0 0 14px;
  font-size: 15px;
  color: #1c1917;
  font-weight: 600;
}

.order-shell {
  display: block; width: 100%; text-align: left; cursor: pointer;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(17,17,17,.03), transparent 42%),
    linear-gradient(180deg, #fff 0%, #faf9f7 100%);
  padding: 16px 14px 14px; margin-bottom: 14px;
  font: inherit; color: inherit; appearance: none; -webkit-appearance: none;
  transition: border-color .2s ease, transform .2s ease;
}
.order-shell:active { transform: scale(.995); }
.order-shell-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.order-shell-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: #111;
}
.order-shell-cta {
  display: block; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #737373; font-weight: 600;
}
.order-card-meta {
  font-size: 12px; color: var(--muted); margin: 4px 0 0;
}
.order-detail-summary {
  border: 1.5px solid #d6d3d1; background: #fff; padding: 4px 14px; margin-bottom: 18px;
  border-radius: 14px; box-shadow: 0 6px 18px rgba(15,23,42,.04);
}
.track-section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px; font-weight: 600; margin: 0 0 4px; letter-spacing: -.02em; color: #111;
}
.track-section-lede {
  margin: 0 0 14px; font-size: 14px; color: #44403c; line-height: 1.45; font-weight: 500;
}
.product-tracks { display: grid; gap: 14px; }
.product-track-card {
  border: 1.5px solid #d6d3d1; background: #fff;
  padding: 16px 14px 14px;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
  animation: trackCardIn .45s ease both;
  animation-delay: var(--delay, 0ms);
}
.product-track-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
  margin-bottom: 16px;
}
.product-track-media {
  display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; min-width: 0;
}
.product-track-img {
  width: 72px; height: 88px; object-fit: cover;
  border: 1.5px solid #d6d3d1; background: #f5f5f4;
  border-radius: 12px;
}
.product-tracks--compact .product-track-media {
  grid-template-columns: 56px 1fr; gap: 10px;
}
.product-tracks--compact .product-track-img {
  width: 56px; height: 68px;
}
.product-track-kicker {
  margin: 0 0 2px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: #57534e; font-weight: 700;
}
.product-track-title {
  margin: 0; font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px; font-weight: 600; line-height: 1.15; color: #111;
}
.product-track-meta {
  margin: 4px 0 0; font-size: 13px; color: #44403c; font-weight: 500;
}
.product-track-badge {
  flex-shrink: 0; align-self: flex-start;
  font-size: 10px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; padding: 6px 9px; border: 1.5px solid #111; color: #111;
  background: #fff; border-radius: 999px;
}
.track-path--vertical { position: relative; }
.track-progress {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
}
.track-progress-bar {
  flex: 1; height: 8px; border-radius: 999px;
  background: #e7e5e4; overflow: hidden;
  border: 1px solid #d6d3d1;
}
.track-progress-bar i {
  display: block; height: 100%;
  background: linear-gradient(90deg, #0f766e, #111);
  border-radius: inherit;
  transition: width .35s ease;
}
.track-progress-label {
  flex-shrink: 0;
  font-size: 12px; font-weight: 750; color: #1c1917;
}
.track-vline {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0;
  position: relative;
}
.track-vstep {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 18px;
  min-height: 48px;
}
.track-vstep.is-last { padding-bottom: 0; }
.track-vstep:not(.is-last)::before {
  content: "";
  position: absolute;
  left: 15px; top: 32px; bottom: 0;
  width: 3px;
  background: #e7e5e4;
  border-radius: 2px;
}
.track-vstep.done:not(.is-last)::before,
.track-vstep.current:not(.is-last)::before {
  background: #111;
}
.track-vdot {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800; line-height: 1;
  background: #fff; border: 2.5px solid #a8a29e; color: #57534e;
  position: relative; z-index: 1;
  transition: background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.track-vbody {
  padding-top: 2px; min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.track-vtop {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.track-vtitle {
  font-size: 14px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: #57534e;
}
.track-vhint {
  font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 8px; border: 1.5px solid #111; color: #111; background: #fff;
  border-radius: 999px;
}
.track-vhint.is-done {
  border-color: transparent; background: #111; color: #fff;
}
.track-vhint.is-todo {
  border-color: #d6d3d1; color: #57534e; background: #fafaf9;
}
.track-vdesc {
  font-size: 13px; color: #44403c; line-height: 1.45; font-weight: 500;
}
.track-vaction {
  display: block;
  margin: 6px 0 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
}
.track-vstep.done .track-vaction {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
  font-weight: 600;
}
.track-vaction.is-done { opacity: .85; }
.track-pickup-code {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #0b1220;
  color: #fff;
  display: grid;
  gap: 4px;
}
.track-pickup-code span {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .75;
}
.track-pickup-code strong {
  font-size: 22px;
  letter-spacing: .18em;
  font-weight: 800;
}
.order-pickup-cta {
  margin: 14px 0;
  padding: 16px;
  border-radius: 16px;
  border: 1.5px solid #fed7aa;
  background: linear-gradient(180deg, #fff7ed, #fff);
}
.order-pickup-cta.is-code {
  border-color: #86efac;
  background: linear-gradient(180deg, #f0fdf4, #fff);
}
.order-pickup-hero {
  margin: 12px 0 16px;
  padding: 18px 16px 16px;
  border-radius: 18px;
  border: 1.5px solid #86efac;
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 70%);
  text-align: center;
}
.order-pickup-hero .order-pickup-kicker {
  color: #15803d;
  margin-bottom: 2px;
}
.order-pickup-hero-lead {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 750;
  color: #0f172a;
}
.order-pickup-hero .order-pickup-code-box {
  margin: 0 auto 10px;
  max-width: 280px;
}
.order-pickup-hero-hint {
  margin: 0;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.4;
}
.order-pickup-hero-meta {
  margin: 10px 0 0;
  font-size: 12px;
  color: #64748b;
}
.order-pickup-confirm-btn {
  margin-top: 14px;
}
.order-close-process.is-pickup-ready {
  border-color: #86efac;
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 55%);
}
.order-pickup-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #c2410c;
}
.order-pickup-cta.is-code .order-pickup-kicker { color: #15803d; }
.order-pickup-cta h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #0f172a;
}
.order-pickup-cta p {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.45;
}
.order-pickup-ways {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
}
.order-pickup-code-box {
  margin: 8px 0 12px;
  padding: 16px 14px;
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .22em;
  border-radius: 14px;
  background: #0b1220;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.track-pickup-code { display: none !important; }
.track-address {
  margin-top: 8px; padding: 12px 14px;
  background: linear-gradient(135deg, #fafaf9 0%, #f5f5f4 100%);
  border: 1.5px solid #d6d3d1;
  border-left: 4px solid #111;
  border-radius: 12px;
  animation: trackCardIn .4s ease both;
}
.track-address-label {
  display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: #57534e; font-weight: 750; margin-bottom: 4px;
}
.track-address-text {
  display: block; font-size: 15px; font-weight: 700; color: #111; line-height: 1.35;
}
.track-address-who {
  display: block; margin-top: 4px; font-size: 12.5px; color: #44403c; font-weight: 500;
}
.track-address--empty { border-left-color: #a8a29e; }
.track-ship-meta {
  margin-top: 8px;
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1.5px solid #d6d3d1;
  border-radius: 12px;
}
.track-ship-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
}
.track-ship-label {
  flex: 0 0 auto;
  min-width: 7.5rem;
  font-size: 12px;
  font-weight: 650;
  color: #57534e;
}
.track-ship-label::after {
  content: ":";
}
.track-ship-value {
  flex: 1 1 auto;
  font-size: 13.5px;
  font-weight: 750;
  color: #111;
  word-break: break-word;
}
a.track-ship-value {
  color: #0f766e;
  text-decoration: underline;
}
.track-ship-proof,
.order-ship-proof {
  width: 100%;
}
.track-ship-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.track-proof-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1.5px solid #cfd8d6;
  background: #fff;
  color: #0f766e;
  font: inherit;
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: .01em;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
.track-proof-btn:hover {
  border-color: #0f766e;
  background: #f0fdfa;
}
.track-proof-btn.is-download {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}
.track-proof-btn.is-download:hover {
  filter: brightness(1.06);
  background: #0f766e;
}
.track-ship-preview,
.order-ship-preview {
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1.5px solid #d6d3d1;
  background: #fff;
  max-width: 100%;
}
.track-ship-preview img,
.order-ship-preview img {
  display: block;
  width: auto;
  max-width: min(100%, 260px);
  max-height: 200px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 8px;
  background: #f8fafc;
}
.order-ship-proof .track-ship-row {
  margin-top: 2px;
}
.order-ship-preview img {
  max-width: min(100%, 280px);
  max-height: 220px;
}
.track-vstep.done .track-vdot {
  background: #111; border-color: #111; color: #fff;
}
.track-vstep.done .track-vtitle { color: #111; }
.track-vstep.done .track-vdesc { color: #292524; }
.track-vstep.current .track-vdot {
  background: #111; border-color: #111; color: #fff;
  box-shadow: 0 0 0 5px rgba(17,17,17,.12);
  animation: trackPulse 1.8s ease-in-out infinite;
}
.track-vstep.current .track-vtitle { color: #111; }
.track-vstep.current .track-vdesc { color: #1c1917; font-weight: 600; }
.track-vstep.current .track-vbody {
  padding: 10px 12px; margin: -8px -10px -8px 0;
  background: rgba(17,17,17,.04);
  border: 1.5px solid #e7e5e4;
  border-radius: 12px;
}
.track-vstep.fail .track-vdot {
  background: #fef2f2; border-color: #b91c1c; color: #b91c1c;
}
.track-vstep.fail .track-vtitle { color: #b91c1c; }
.track-vstep.todo .track-vtitle { color: #78716c; }
.track-status {
  margin: 14px 0 0; padding: 12px 14px;
  background: #111; color: #fff;
  font-size: 14px; font-weight: 650; line-height: 1.35;
  letter-spacing: .01em;
  border-radius: 12px;
}
.order-wa-card {
  margin: 14px 0;
  padding: 16px;
  border: 1.5px solid #86efac;
  background: linear-gradient(165deg, #f0fdf4 0%, #fff 70%);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(22, 163, 74, .08);
}
.order-wa-card strong {
  display: block;
  font-size: 16px;
  color: #14532d;
  margin-bottom: 4px;
}
.order-wa-card p {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: #166534;
  line-height: 1.45;
  font-weight: 500;
}
.btn-wa {
  background: #16a34a !important;
  color: #fff !important;
  border: 1.5px solid #15803d !important;
  font-weight: 750 !important;
}
.btn-wa:hover { filter: brightness(1.05); }
.order-detail-card {
  padding: 16px !important;
  margin-top: 14px;
  border: 1.5px solid #d6d3d1 !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 22px rgba(15,23,42,.05);
}
.order-detail-status-msg {
  margin: 6px 0 0;
  font-size: 14.5px;
  color: #1c1917;
  font-weight: 600;
  line-height: 1.4;
}
.order-lines { display: grid; gap: 10px; }
.order-line-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e7e5e4;
}
.order-line-row:last-child { border-bottom: 0; }
.order-line-img {
  width: 52px; height: 64px; object-fit: cover;
  border-radius: 10px; border: 1.5px solid #d6d3d1; background: #f5f5f4;
}
.order-line-copy { min-width: 0; display: grid; gap: 2px; }
.order-line-copy strong {
  font-size: 14px; color: #111; line-height: 1.25;
}
.order-line-copy span { font-size: 12.5px; color: #44403c; font-weight: 500; }
.order-line-price { font-weight: 750; color: #111; font-size: 14px; }
.order-proof-block { margin-top: 14px; }
.order-proof-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1c1917;
}
.order-proof-img {
  max-width: 100%;
  border-radius: 12px;
  border: 1.5px solid #d6d3d1;
  display: block;
}
.product-tracks--compact .product-track-card { padding: 14px 12px 12px; }
.product-tracks--compact .product-track-title { font-size: 18px; }
.product-tracks--compact .track-vstep { padding-bottom: 14px; min-height: 40px; }
.product-tracks--compact .track-vdot { width: 26px; height: 26px; font-size: 11px; }
.product-tracks--compact .track-vstep:not(.is-last)::before { left: 12px; top: 26px; }
.product-tracks--compact .track-vtitle { font-size: 12px; }
.product-tracks--compact .track-vdesc { font-size: 12px; }
.product-tracks--compact .track-status { font-size: 13px; margin-top: 10px; padding: 10px 12px; }
.product-tracks--compact .track-address { padding: 8px 10px; }
.product-tracks--compact .track-address-text { font-size: 13px; }
.product-tracks--compact .track-vstep.current .track-vbody {
  padding: 6px 8px; margin: -6px -8px -6px 0;
}
@keyframes trackPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(17,17,17,.1); }
  50% { box-shadow: 0 0 0 7px rgba(17,17,17,.05); }
}
@keyframes trackCardIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 900px) {
  .app-shell { max-width: 1180px; }
  .grid-products, .grid-2 { grid-template-columns: repeat(4, 1fr); gap: 18px 14px; }
  .store-score { margin: 28px 28px 12px; grid-template-columns: none; }
  .section { padding-left: 28px; padding-right: 28px; }
  .shop-tools { padding-left: 28px; padding-right: 28px; }
  .product-card h3 { font-size: 13px; }
}

/* —— Auth comprador (registro / Google) —— */
.buyer-auth-tabs { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 14px; }
.buyer-auth-tabs .chip {
  border:1px solid var(--line); background:#fff; color:var(--muted);
  padding:8px 14px; border-radius:999px; font-size:13px; font-weight:650; cursor:pointer;
}
.buyer-auth-tabs .chip.active { background:#111; color:#fff; border-color:#111; }
.buyer-auth-panel .field { margin-bottom:10px; }
.buyer-auth-divider {
  display:flex; align-items:center; gap:12px; margin:16px 0 12px; color:var(--muted); font-size:12px;
}
.buyer-auth-divider::before, .buyer-auth-divider::after {
  content:""; flex:1; height:1px; background:var(--line);
}
.google-btn-wrap { display:flex; justify-content:center; min-height:44px; }

.checkout-session {
  margin: 0 0 14px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #fafaf8;
}
.checkout-session strong { font-size: 14px; display: block; }
.checkout-session .muted { margin: 4px 0 0; font-size: 12.5px; }

/* —— Auth gate premium (checkout) —— */
@keyframes auth-gate-in {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes auth-gate-ken {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@keyframes auth-gate-panel-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
#auth-gate-modal {
  padding: max(10px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(255,255,255,.08), transparent 55%),
    rgba(6, 6, 6, .72);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
}
#auth-gate-modal:not([hidden]) .auth-gate-shell {
  animation: auth-gate-in .45s cubic-bezier(.22, 1, .36, 1) both;
}
.auth-gate-shell {
  position: relative;
  width: min(960px, 100%);
  max-height: min(92dvh, 720px);
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  background: linear-gradient(165deg, #fbfaf7 0%, #f4f1eb 48%, #efeae2 100%);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 1px 0 rgba(255,255,255,.35) inset,
    0 28px 80px rgba(0,0,0,.42);
}
.auth-gate-x {
  position: absolute; z-index: 6; top: 12px; right: 12px;
  width: 40px; height: 40px; border: 1px solid rgba(17,17,17,.12);
  border-radius: 2px;
  background: rgba(255,255,255,.88);
  color: #111; font-size: 26px; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.auth-gate-x:hover {
  background: #fff;
  border-color: rgba(17,17,17,.28);
  transform: translateY(-1px);
}
.auth-gate-visual {
  position: relative;
  min-height: 100%;
  background: #0c0c0c;
  overflow: hidden;
}
.auth-gate-visual-bg {
  position: absolute; inset: -4%;
  background: linear-gradient(145deg, #161616 0%, #2a2a2a 42%, #0e0e0e 100%);
  background-size: cover;
  background-position: center;
  animation: auth-gate-ken 1.1s cubic-bezier(.22, 1, .36, 1) both;
}
.auth-gate-visual-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.35) 100%),
    linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.28) 42%, rgba(0,0,0,.82) 100%);
}
.auth-gate-visual-copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 32px 30px 34px;
  color: #fff;
  z-index: 1;
}
.auth-gate-brand {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: .78;
}
.auth-gate-visual-copy h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(32px, 4.2vw, 44px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.02em;
  max-width: 14ch;
  text-wrap: balance;
}
.auth-gate-visual-copy p:last-child {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  opacity: .86;
  max-width: 30ch;
}
.auth-gate-panel {
  position: relative;
  padding: 34px 32px 26px;
  overflow: auto;
  max-height: min(92dvh, 720px);
  animation: auth-gate-panel-in .5s .08s cubic-bezier(.22, 1, .36, 1) both;
}
.auth-gate-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(17,17,17,.1), transparent);
  pointer-events: none;
}
.auth-gate-head { margin-bottom: 20px; }
.auth-gate-kicker {
  margin: 0 0 8px;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8a857c;
  font-weight: 650;
}
.auth-gate-panel h2,
.auth-gate-head h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: #111;
}
.auth-gate-lede {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #6f6c67;
  max-width: 36ch;
}
.auth-gate-google-block {
  margin: 0 0 4px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(17,17,17,.08);
  background: rgba(255,255,255,.72);
}
.auth-gis-host, .google-btn-wrap.auth-gis-host {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin: 0;
}
.auth-gis-host .auth-gis-slot,
.auth-gis-slot {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 44px;
}
.auth-gis-slot > div {
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 100%;
}
.auth-google-hint {
  margin: 10px 0 0;
  font-size: 11.5px;
  color: #8a857c;
  line-height: 1.4;
  text-align: center;
}
.auth-choice-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 16px;
  color: #8a857c;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.auth-choice-or::before, .auth-choice-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17,17,17,.14), transparent);
}
.auth-gate-form { gap: 14px; }
.auth-gate-form .field { margin: 0; }
.auth-gate-form .field label {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 650;
  color: #8a857c;
  margin-bottom: 7px;
}
.auth-gate-form .field input {
  border: 0;
  border-bottom: 1.5px solid rgba(17,17,17,.16);
  border-radius: 0;
  background: transparent;
  padding: 11px 2px 12px;
  font-size: 15px;
  color: #111;
  transition: border-color .2s ease, background .2s ease;
}
.auth-gate-form .field input::placeholder { color: #b0aaa0; }
.auth-gate-form .field input:focus {
  outline: none;
  border-bottom-color: #111;
  background: rgba(255,255,255,.35);
}
.auth-gate-submit {
  margin-top: 6px;
  border-radius: 2px !important;
  padding: 14px 16px !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  transition: transform .2s ease, background .2s ease !important;
}
.auth-gate-submit:hover { transform: translateY(-1px); }
.auth-gate-login-details .btn-ghost {
  border-radius: 2px !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 12px !important;
}
.auth-gate-msg {
  margin: 0;
  min-height: 16px;
  font-size: 12px;
  color: #8f2d3a;
  line-height: 1.4;
}
.auth-gate-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #8a857c;
}
.auth-gate-login-details {
  margin-top: 18px;
  border-top: 1px solid rgba(17,17,17,.08);
  padding-top: 12px;
}
.auth-gate-login-details summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #5c5852;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: color .2s ease;
}
.auth-gate-login-details summary::-webkit-details-marker { display: none; }
.auth-gate-login-details summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 400;
  color: #8a857c;
  line-height: 1;
}
.auth-gate-login-details[open] summary {
  color: #111;
  margin-bottom: 12px;
}
.auth-gate-login-details[open] summary::after { content: "–"; }
.auth-gate-login-details .auth-gate-form { margin-top: 4px; }
.auth-gate-foot {
  margin: 18px 0 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9a958c;
  line-height: 1.4;
}
@media (max-width: 760px) {
  #auth-gate-modal {
    padding: 0;
    align-items: end;
  }
  .auth-gate-shell {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: min(96dvh, 900px);
    border-radius: 16px 16px 0 0;
    border: 0;
  }
  .auth-gate-visual {
    min-height: 168px;
    max-height: 34dvh;
  }
  .auth-gate-visual-copy { padding: 18px 18px 20px; }
  .auth-gate-visual-copy h3 {
    font-size: 26px;
    max-width: 18ch;
  }
  .auth-gate-visual-copy p:last-child {
    font-size: 12.5px;
    max-width: none;
  }
  .auth-gate-panel {
    padding: 20px 18px calc(18px + env(safe-area-inset-bottom));
    max-height: none;
  }
  .auth-gate-panel::before { display: none; }
  .auth-gate-panel h2,
  .auth-gate-head h2 { font-size: 28px; }
  .auth-gate-lede { font-size: 13px; max-width: none; }
  .auth-gate-x {
    top: 10px; right: 10px;
    background: rgba(0,0,0,.42);
    border-color: transparent;
    color: #fff;
  }
  .auth-gate-x:hover {
    background: rgba(0,0,0,.55);
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  #auth-gate-modal:not([hidden]) .auth-gate-shell,
  .auth-gate-visual-bg,
  .auth-gate-panel {
    animation: none !important;
  }
}

/* Preferencias + bloques insights */
.prefs-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(15, 23, 42, .45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}
.prefs-modal[hidden] { display: none !important; }
.prefs-sheet {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 18px 18px 14px 14px;
  padding: 20px 18px 16px;
  box-shadow: 0 -8px 40px rgba(0,0,0,.18);
}
.prefs-sheet h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}
.prefs-lead {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.4;
}
.prefs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.prefs-chip {
  appearance: none;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 650;
  font-size: 13px;
  cursor: pointer;
  color: #0f172a;
}
.prefs-chip.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}
.prefs-actions {
  display: grid;
  gap: 8px;
}
@media (min-width: 640px) {
  .prefs-modal { align-items: center; }
  .prefs-sheet { border-radius: 16px; }
}

/* IA saludo + motivación (comprador) */
.ai-greet-card {
  margin: 0 0 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.ai-greet-hello {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 750;
  color: #0f172a;
  line-height: 1.25;
}
.ai-greet-motivate {
  margin: 0;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.4;
}

.checkout-contact-banner {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a5f;
}
.checkout-contact-banner strong { font-size: 14px; }
.checkout-contact-banner span { font-size: 12.5px; line-height: 1.4; opacity: .95; }
.checkout-contact-banner b { font-weight: 700; }
.field-req {
  font-size: 11px;
  font-weight: 600;
  color: #b45309;
  margin-left: 4px;
  text-transform: lowercase;
}
.field-hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: #64748b;
}

/* Checkout confianza Yape/Plin */
.pay-trust-banner {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #064e3b;
}
.pay-trust-banner strong { font-size: 14px; }
.pay-trust-banner span { font-size: 12.5px; line-height: 1.35; opacity: .92; }
.checkout-register-hint {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.checkout-register-hint strong { display: block; margin-bottom: 4px; font-size: 14px; }
.checkout-google { margin-top: 10px; }

/* Footer tienda + Libro */
.store-footer {
  margin: 8px 16px 12px;
  padding: 18px 4px 24px;
  text-align: center;
  border-top: 0;
}
.store-footer-pay {
  margin: 0 0 12px;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--muted);
  letter-spacing: .04em;
}
.store-footer-link {
  appearance: none;
  display: inline-block;
  margin: 0 8px 6px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  color: var(--brand, #0d9488);
  text-decoration: underline;
  cursor: pointer;
}
.claims-page h2 { margin: 12px 0 6px; font-size: 20px; }
.claims-info { padding: 14px; margin: 12px 0 16px; }
.claims-preface {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #f8fbff 0%, #f0f7ff 100%);
}
.claims-preface-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #1e3a5f;
}
.claims-preface-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #334155;
}
.claims-preface-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  font-size: 13px;
  color: #475569;
}
.claims-preface-wa { margin-top: 12px; width: 100%; }
.claims-form-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 650;
}
.claims-form-hint { margin: 0 0 14px; font-size: 12.5px; }
.store-footer-legal {
  margin: 10px 0 0;
  text-align: center;
}
.store-footer-legal-link {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 11.5px;
  font-weight: 500;
  color: #a8a29e;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.store-footer-legal-link:hover { color: #78716c; }
.account-claims-entry { margin: 10px 0 0; }
.account-claims-link {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 12px;
  color: #a8a29e;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.account-claims-link:hover { color: #78716c; }
.pdp-wa-btn { margin-top: 10px; }


