@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/BricolageGrotesque-0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/BricolageGrotesque-0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/BricolageGrotesque-0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Figtree-1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/Figtree-1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/Figtree-1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/Figtree-1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/Figtree-1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/Fraunces-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/Fraunces-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Precios.ec v2 — Navidad, mobile first */

:root {
  --red: #c81e2c;
  --red-hot: #e12636;
  --red-deep: #8b1420;
  --red-dark: #3e0c12;
  --green: #1b7a45;
  --green-deep: #0f4f2c;
  --gold: #d4a017;
  --gold-soft: #f6e3a1;
  --gold-deep: #8f6b0c;
  --cream: #fff7ee;
  --cream-2: #f3e6d4;
  --paper: #ffffff;
  --ink: #1a1412;
  --ink-soft: #5a514a;
  --line: #eadccb;
  --line-strong: #d4c3ae;
  --savings: #0c7a3e;
  --savings-bg: #e4f6eb;
  --official: #1e3a5f;
  --official-soft: #e7eef7;
  --whatsapp: #128c7e;
  --whatsapp-deep: #0b6b60;
  --shadow: 0 10px 30px rgba(11, 61, 53, 0.08);
  --shadow-s: 0 2px 8px rgba(11, 61, 53, 0.06);
  --radius: 16px;
  --radius-sm: 12px;
  --font: "Figtree", "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: "Bricolage Grotesque", "Figtree", sans-serif;
  --italic: "Fraunces", Georgia, "Times New Roman", serif;
  --header-h: 58px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* Sample data — always visible */
.sample-banner {
  background: var(--gold-soft);
  color: #5a4208;
  border-bottom: 1px solid #e3c86a;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
}

/* Header */
header.site {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 0 rgba(11, 61, 53, 0.08);
}

header.site .bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
  padding: 6px 0;
}

.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  white-space: nowrap;
}

.logo span {
  color: var(--red);
}

nav.primary {
  display: none;
  gap: 18px;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink-soft);
  margin-left: 8px;
}

nav.primary a:hover,
nav.primary a[aria-current="page"] {
  color: var(--red-deep);
}

.header-search {
  display: none;
  flex: 1;
  max-width: 420px;
  margin-left: auto;
}

.header-search input {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}

.header-search input:focus {
  border-color: var(--red);
  background: #fff;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ghost {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 650;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  background: var(--red-dark);
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 45%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 61, 53, 0.55) 0%, rgba(11, 61, 53, 0.78) 100%);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  padding: 28px 0 32px;
  display: grid;
  gap: 20px;
}

.kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.05rem, 8vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 10px;
}

.hero h1 em {
  font-family: var(--italic);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-soft);
}

.hero .lede {
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  max-width: 34em;
}

.search {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.search input {
  border: 0;
  background: transparent;
  padding: 14px 16px 12px;
  color: var(--ink);
  flex: 1;
  min-width: 0;
  width: 100%;
  outline: none;
  font-size: 16px;
}

.search input::placeholder {
  color: #8a8178;
}

.search button {
  border: 0;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  padding: 12px 16px;
  cursor: pointer;
}

.search button:hover {
  background: var(--red-hot);
}

/* Featured deal inside hero */
.hero-deal {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  display: grid;
  grid-template-columns: 110px 1fr;
}

.hero-deal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f3f1ee;
}

.hero-deal-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.hero-deal-body .prices,
.hero-deal-body h2,
.hero-deal-body .store {
  width: 100%;
}

.hero-deal-body h2 {
  font-family: var(--display);
  font-size: 1.02rem;
  letter-spacing: -0.03em;
  margin: 2px 0 0;
  font-weight: 750;
  line-height: 1.2;
}

.hero-deal .prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin: 4px 0 8px;
}

.hero-deal .now {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  color: var(--savings);
  line-height: 1;
}

.hero-deal .was {
  color: var(--ink-soft);
  font-size: 13.5px;
}

.hero-deal .was s {
  color: #9a8f86;
}

.hero-deal .store {
  font-size: 13px;
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
}

.btn:hover {
  background: var(--red-hot);
}

.btn-green {
  background: var(--green);
}

.btn-green:hover {
  background: #159150;
}

.btn-lite {
  background: transparent;
  color: var(--red-deep);
  border: 1.5px solid var(--red);
}

.btn-lite:hover {
  background: #eaf5f1;
}

.btn-wa {
  background: var(--whatsapp);
  color: #fff;
  gap: 8px;
}

.btn-wa:hover {
  background: var(--whatsapp-deep);
}

/* Badges */
.badge-save {
  display: inline-flex;
  align-items: center;
  background: var(--savings);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 3px 9px;
  border-radius: 999px;
  line-height: 1.3;
}

.badge-festive {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--red);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}

.badge-festive.gold {
  background: var(--gold);
  color: #3e2c05;
}

.badge-festive.week {
  background: var(--green-deep);
  color: #fff;
}

/* Sections */
.section {
  padding: 36px 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  letter-spacing: -0.035em;
  margin: 0;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 40em;
}

/* Categories */
.cats {
  background: var(--paper);
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--line);
}

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cat-tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1.15 / 1;
  display: block;
  isolation: isolate;
  box-shadow: var(--shadow-s);
}

.cat-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.cat-tile:hover img {
  transform: scale(1.06);
}

.cat-tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 12px 11px;
  background: linear-gradient(180deg, transparent, rgba(8, 30, 26, 0.82) 70%);
  color: #fff;
  font-family: var(--display);
  font-weight: 750;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

@media (max-width: 799px) {
  .cat-grid .cat-tile:last-child {
    grid-column: 1 / -1;
    aspect-ratio: 2.35 / 1;
  }
}

/* Deal cards */
.deals {
  background: var(--cream);
}

.deal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.deal-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  border: 1px solid rgba(232, 220, 203, 0.8);
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
}

.deal-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.deal-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f4f0ea;
}

.deal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-photo .badge-festive,
.deal-photo .badge-save {
  position: absolute;
  z-index: 1;
}

.deal-photo .badge-festive {
  top: 10px;
  left: 10px;
}

.deal-photo .badge-save {
  bottom: 10px;
  left: 10px;
  font-size: 12.5px;
  padding: 5px 9px;
}

.deal-body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.deal-body h3 {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 730;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.25;
}

.deal-body .now {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.04em;
  color: var(--savings);
  line-height: 1.1;
  margin-top: 4px;
}

.deal-body .meta {
  font-size: 12.5px;
  color: var(--ink-soft);
}

.deal-body .meta s {
  color: #9a8f86;
}

/* Official prices */
.official {
  background:
    radial-gradient(800px 200px at 10% 0%, rgba(30, 58, 95, 0.06), transparent 70%),
    var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.official-intro {
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 44em;
}

.official-list {
  display: grid;
  gap: 10px;
}

.off-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  align-items: center;
}

.off-item h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.off-item .techo {
  font-size: 13px;
  color: var(--official);
  font-weight: 650;
}

.off-item .from {
  grid-column: 1 / -1;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.off-item .from b {
  color: var(--savings);
  font-weight: 750;
}

/* WhatsApp */
.wa-band {
  background: linear-gradient(135deg, #0f4f2c 0%, #128c7e 60%, #1b7a45 100%);
  color: #fff;
  padding: 36px 0;
}

.wa-band .wrap {
  display: grid;
  gap: 16px;
}

.wa-band h2 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  letter-spacing: -0.03em;
  margin: 0 0 6px;
  font-weight: 800;
}

.wa-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 34em;
}

.btn-wa-lg {
  justify-self: start;
  padding: 12px 18px;
  font-size: 15px;
  border-radius: 999px;
  background: #fff;
  color: var(--whatsapp-deep);
}

.btn-wa-lg:hover {
  background: var(--gold-soft);
  color: var(--green-deep);
}

.icon-wa {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

/* Footer */
footer.site {
  background: var(--red-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 24px 0 32px;
  font-size: 13px;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
}

footer.site .logo {
  color: #fff;
  font-size: 1.05rem;
}

footer.site .logo span {
  color: var(--gold-soft);
}

/* ========== PRODUCT PAGE ========== */
.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  padding: 16px 0 8px;
}

.crumb a:hover {
  color: var(--red-deep);
  text-decoration: underline;
}

.crumb .sep {
  opacity: 0.5;
}

.product {
  display: grid;
  gap: 20px;
  padding-bottom: 40px;
}

.product-photo {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1.05;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h1 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 10px;
  font-weight: 800;
}

.product-info .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

.pill-week {
  background: var(--savings-bg);
  color: var(--savings);
}

.pill-official {
  background: var(--official-soft);
  color: var(--official);
}

.official-callout {
  background: var(--official-soft);
  border-left: 4px solid var(--official);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 14px;
  margin: 0 0 20px;
}

.official-callout h2 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--official);
  letter-spacing: -0.02em;
}

.official-callout p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.price-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  margin-bottom: 18px;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  align-items: center;
}

.price-row:first-child {
  border-top: 0;
  background: linear-gradient(90deg, #e4f6eb, #fff 70%);
}

.pharm {
  font-weight: 750;
  letter-spacing: -0.02em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tag-best {
  background: var(--savings);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
}

.checked {
  font-size: 12.5px;
  color: var(--ink-soft);
}

.price-block {
  text-align: right;
}

.amount {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.amount.best {
  color: var(--savings);
}

.diff {
  font-size: 12.5px;
  color: var(--ink-soft);
}

.price-row .btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 2px;
}

.alert-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-s);
}

.alert-card h2 {
  font-family: var(--display);
  margin: 0 0 6px;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  font-weight: 750;
}

.alert-card p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.alert-card form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.alert-card input[type="email"] {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}

.alert-card .btn {
  width: 100%;
  border-radius: 10px;
  padding: 11px 14px;
  background: var(--green);
}

.alert-card .btn:hover {
  background: #159150;
}

.alert-card .note {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
}

.share-row {
  margin-top: 16px;
}

/* Desktop */
@media (min-width: 800px) {
  .wrap {
    width: min(1180px, calc(100% - 64px));
  }

  header.site .bar {
    min-height: 66px;
  }

  nav.primary,
  .header-search,
  .ghost {
    display: flex;
  }

  .header-actions {
    margin-left: 0;
  }

  .hero .wrap {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
    padding: 56px 0 64px;
    min-height: 500px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg,
        rgba(11, 61, 53, 0.88) 0%,
        rgba(11, 61, 53, 0.62) 48%,
        rgba(11, 61, 53, 0.18) 100%);
  }

  .hero-bg {
    object-position: 70% 45%;
  }

  .search {
    flex-direction: row;
    align-items: stretch;
    max-width: 540px;
    border-radius: 999px;
  }

  .search input {
    padding: 14px 20px;
    font-size: 16px;
  }

  .search button {
    padding: 0 22px;
    flex: 0 0 auto;
    border-radius: 0;
  }

  .hero-deal {
    grid-template-columns: 180px 1fr;
    min-height: 200px;
  }

  .hero-deal-body {
    padding: 18px 20px 20px;
  }

  .hero-deal-body h2 {
    font-size: 1.25rem;
  }

  .section {
    padding: 52px 0;
  }

  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .cat-tile {
    aspect-ratio: 1.25 / 1;
    border-radius: 16px;
  }

  .cat-tile span {
    font-size: 1.15rem;
    padding: 36px 16px 14px;
  }

  .deal-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .deal-body {
    padding: 14px 14px 16px;
  }

  .deal-body h3 {
    font-size: 1rem;
  }

  .official-list {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .off-item {
    grid-template-columns: 1fr auto;
    padding: 16px 18px;
  }

  .off-item .from {
    grid-column: auto;
    text-align: right;
  }

  .wa-band .wrap {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
  }

  .product {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
    align-items: start;
    padding-top: 8px;
    padding-bottom: 64px;
  }

  .product-photo {
    position: sticky;
    top: 84px;
    aspect-ratio: 1 / 1.15;
  }

  .price-row {
    grid-template-columns: 1.3fr 0.8fr auto;
    padding: 16px 20px;
    align-items: center;
  }

  .price-row .btn {
    grid-column: auto;
    justify-self: end;
    margin-top: 0;
  }

  .pharm-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .alert-card {
    padding: 20px 22px;
  }
}

@media (min-width: 800px) and (max-width: 1040px) {
  .deal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Very small screens: keep badges from overflowing */
@media (max-width: 379px) {
  .deal-grid,
  .cat-grid {
    gap: 8px;
  }

  .deal-body {
    padding: 10px;
  }

  .deal-body .now {
    font-size: 1.12rem;
  }
}
/* ===== v1 additions (keep the v2 look) ===== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ghost { align-items: center; }

/* Mobile quick nav */
.subnav {
  display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav a {
  flex: 0 0 auto; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--line); color: var(--ink-soft);
}
.subnav a:first-child { background: var(--red); border-color: var(--red); color: #fff; }
.subnav a[aria-current="page"] { border-color: var(--red-deep); color: var(--red-deep); }
.subnav a:first-child[aria-current="page"] { color: #fff; }
@media (min-width: 800px) { .subnav { display: none; } }

/* Sample tags */
.tag-sample {
  display: inline-block; margin-top: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; color: #6b4f07; background: var(--gold-soft); border-radius: 6px; padding: 2px 6px;
}
.tag-sample.real { color: #fff; background: var(--green-deep); }
.checked .tag-sample { margin: 0 4px 0 0; }
.off-item .from .tag-sample { margin: 0 0 0 4px; vertical-align: 1px; }
.sample-callout {
  font-size: 13.5px; color: #5a4208; background: #fff8e0; border: 1px solid #ecd58a;
  border-radius: var(--radius-sm); padding: 10px 12px; margin: 0 0 14px;
}

.more-link { margin: 22px 0 0; text-align: center; }
.official-source, .official-callout .src { font-size: 12.5px; color: var(--ink-soft); margin: 14px 0 0; }
.official-callout .src { margin-top: 8px; }
.official-callout p + p { margin-top: 6px; }
.official-callout a, .official-source a, .source-box a, .prose a { color: var(--official); text-decoration: underline; }
.official-callout.wide { margin-bottom: 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.off-item h3 a:hover { color: var(--red-deep); text-decoration: underline; }
.techo-unit { font-weight: 500; opacity: .8; }

/* Page hero for /navidad and categories */
.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--red-dark); }
.page-hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 61, 53,.55), rgba(11, 61, 53,.88)); }
.page-hero .wrap { position: relative; padding: 18px 0 30px; }
.page-hero h1 {
  font-family: var(--display); font-weight: 800; letter-spacing: -.04em; line-height: 1.05;
  font-size: clamp(2rem, 7vw, 3.4rem); margin: 6px 0 10px; max-width: 16em;
}
.page-hero.compact h1 { font-size: clamp(1.6rem, 5.5vw, 2.6rem); }
.page-hero h1 em { font-family: var(--italic); font-style: italic; font-weight: 600; color: var(--gold-soft); }
.page-hero .lede { margin: 0; max-width: 36em; color: rgba(255,255,255,.92); font-size: 1.02rem; }
.page-hero .kicker { margin: 10px 0 0; }
.crumb.light { color: rgba(255,255,255,.8); padding-top: 0; }
.crumb.light a:hover { color: #fff; }
@media (min-width: 800px) {
  .page-hero .wrap { padding: 28px 0 48px; }
  .page-hero .hero-shade { background: linear-gradient(90deg, rgba(11, 61, 53,.9) 0%, rgba(11, 61, 53,.6) 55%, rgba(11, 61, 53,.25) 100%); }
}

.small-h { font-family: var(--display); font-size: 1.15rem; letter-spacing: -.03em; margin: 0 0 12px; font-weight: 750; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.chip:hover { border-color: var(--red); color: var(--red-deep); }
.chip.festive { background: var(--red); border-color: var(--red); color: #fff; }
.other-cats { padding: 8px 0 40px; }

/* Product page extras */
.price-row { grid-template-columns: 1fr auto; }
@media (min-width: 800px) { .price-row { grid-template-columns: 1fr auto; } }
.about-product { margin: 0 0 18px; }
.about-product h2 { font-family: var(--display); font-size: 1.05rem; margin: 0 0 4px; letter-spacing: -.02em; }
.about-product p { margin: 0; color: var(--ink-soft); }
.form-ok { color: var(--savings) !important; font-weight: 700; background: var(--savings-bg); padding: 8px 10px; border-radius: 8px; }
.form-err { color: var(--red-deep) !important; font-weight: 700; }
.related { padding-top: 8px; }
.product-photo img { aspect-ratio: auto; }

/* Generic pages */
.wrap.narrow { max-width: 760px; padding-bottom: 48px; }
.page-title {
  font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: 1.12;
  font-size: clamp(1.6rem, 5.5vw, 2.4rem); margin: 6px 0 10px;
}
.lede-dark { color: var(--ink-soft); margin: 0 0 18px; max-width: 46em; font-size: 1.02rem; }
.prose { font-size: 1rem; }
.prose h2 { font-family: var(--display); font-size: 1.2rem; letter-spacing: -.025em; margin: 26px 0 6px; }
.prose p { margin: 0 0 12px; color: var(--ink); }
.note { font-size: 12.5px; color: var(--ink-soft); }

/* Precio máximo */
.source-box {
  background: var(--official-soft); border-left: 4px solid var(--official);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 16px; margin: 0 0 20px; font-size: 14px;
}
.source-box h2 { margin: 0 0 6px; font-size: 1rem; color: var(--official); letter-spacing: -.02em; }
.source-box p { margin: 0 0 6px; color: var(--ink-soft); }
.source-box p:last-child { margin-bottom: 0; }
.source-box.slim { padding: 10px 14px; font-size: 13px; }
.pm-search { margin: 0 0 24px; }
.pm-search label { display: block; font-weight: 750; margin: 0 0 6px; font-size: 14px; }
.pm-search-row { display: flex; gap: 8px; }
.pm-search input {
  flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 12px;
  font-size: 16px; background: #fff; color: var(--ink);
}
.pm-search .btn { border-radius: 10px; }
.pm-ours { padding-top: 8px; }
.pm-ours.official { background: none; padding-left: 0; padding-right: 0; }
.letters { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 6px; margin: 0 0 24px; }
.letters a {
  display: flex; flex-direction: column; align-items: center; padding: 8px 0 6px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line); font-family: var(--display); font-weight: 800; font-size: 1.05rem;
}
.letters a span { font-family: var(--font); font-size: 10.5px; font-weight: 600; color: var(--ink-soft); }
.letters a:hover, .letters a[aria-current="page"] { border-color: var(--red); color: var(--red-deep); background: #eaf5f1; }
.pm-help { padding-bottom: 40px; max-width: 46em; }
.omp-list { margin-bottom: 18px; }
.omp-group {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 12px; overflow: hidden;
  box-shadow: var(--shadow-s);
}
.omp-group h2 { margin: 0; padding: 10px 14px; font-size: 1rem; letter-spacing: -.02em; background: var(--cream-2); font-family: var(--display); }
.omp-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); align-items: center; scroll-margin-top: 120px; }
.omp-row:target { background: #fff8e0; }
.omp-desc { font-size: 14px; }
.omp-level { display: block; font-size: 12px; color: var(--ink-soft); }
.omp-price { text-align: right; font-family: var(--display); font-weight: 800; color: var(--official); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.omp-price span { display: block; font-family: var(--font); font-weight: 600; font-size: 11.5px; color: var(--ink-soft); }
.pm-results { margin: 0 0 24px; }

/* Footer v1 */
footer.site .wrap { display: grid; gap: 14px; }
footer.site p { margin: 6px 0 0; max-width: 46em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-links a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-sample { font-size: 12px; opacity: .85; border-top: 1px solid rgba(255,255,255,.15); padding-top: 12px; }
@media (min-width: 800px) {
  footer.site .wrap { grid-template-columns: 1.3fr 1fr; }
  .foot-sample { grid-column: 1 / -1; }
}
.deal-body .tag-sample { align-self: flex-start; margin-top: 8px; }
@media (max-width: 599px) {
  .sb-more { display: none; }
  .product-photo { aspect-ratio: 4 / 3; }
}

/* Official-only cards and medicine pages */
.stats-bar {
  background: var(--red-dark);
  color: #fff;
  border-top: 3px solid var(--gold);
}
.stats-bar .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px 0;
  text-align: center;
}
.stats-bar b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.05rem, 3.6vw, 1.55rem);
  letter-spacing: -.03em;
  font-weight: 800;
  color: var(--gold-soft);
}
.stats-bar span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255,.8);
  margin-top: 2px;
}

.med-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.med-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 16px;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  min-height: 168px;
  color: inherit;
}
.med-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.med-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--official);
  border-radius: 6px;
  padding: 3px 7px;
  margin-bottom: 8px;
}
.med-card h3 {
  font-family: var(--display);
  font-size: 1.02rem;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin: 0 0 4px;
}
.med-meta, .hero-med-meta {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.med-price {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.35rem, 4.5vw, 1.85rem);
  letter-spacing: -.03em;
  color: var(--official);
  font-variant-numeric: tabular-nums;
}
.med-per {
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  color: var(--ink-soft);
}

.hero-official {
  background: #fff;
  color: var(--ink);
  align-self: center;
}
.hero-official .hero-deal-body {
  padding: 18px 18px 16px;
}
.hero-official h2 { color: var(--ink); }
.hero-official .now { color: var(--official); }
.hero-official .was { color: var(--ink-soft); }
.hero-official .store { color: var(--official); }
.hero-official .badge-festive { background: var(--official); color: #fff; }

.kicker-dark { color: var(--official); margin-bottom: 4px; }

.med-page { padding-bottom: 12px; }
.med-page h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  font-size: clamp(2rem, 7vw, 3.2rem);
  margin: 0 0 6px;
}
.med-page-meta { margin: 0 0 16px; color: var(--ink-soft); font-size: 1.05rem; }
.med-page-price {
  background: var(--official-soft);
  border-left: 6px solid var(--official);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 18px 14px;
  margin: 0 0 18px;
}
.med-page-price .amount {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 8vw, 3.6rem);
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--official);
  font-variant-numeric: tabular-nums;
}
.med-page-price .per { margin-top: 4px; font-weight: 700; color: var(--official); }

.med-facts {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
}
.med-facts > div {
  display: grid;
  grid-template-columns: minmax(8em, 34%) 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.med-facts dt { margin: 0; font-size: 12px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.med-facts dd { margin: 0; font-weight: 650; }

a.omp-row { color: inherit; }
a.omp-row:hover { background: #eaf5f1; }

@media (min-width: 800px) {
  .med-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .med-card { min-height: 200px; padding: 16px 16px 18px; }
  .med-card h3 { font-size: 1.15rem; }
  .hero-official { max-width: 340px; }
  .stats-bar .wrap { padding: 18px 0; }
}
@media (max-width: 599px) {
  .stats-bar span { letter-spacing: .02em; font-size: 10px; }
}

/* Official hero card has no product photo */
.hero-official,
.hero-official.hero-deal {
  display: block;
  grid-template-columns: none;
}
.header-actions .ghost { display: none; }
@media (min-width: 800px) {
  .header-actions .ghost { display: flex; }
  .hero-official { width: 100%; }
}
/* ===== Planes de celular ===== */
.op-claro { background: #c81e2c; }
.op-tigo { background: #0a4da8; }
.op-tuenti { background: #7a1ea8; }

.op {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ops { background: var(--cream); padding: 8px 0 4px; }
.op-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.op-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 62px;
  padding: 10px 8px;
  border-radius: 14px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -.03em;
  color: #fff;
  text-align: center;
  line-height: 1.1;
}
.op-tile span {
  font-family: var(--font);
  font-weight: 650;
  font-size: 11px;
  letter-spacing: 0;
  opacity: .9;
}
.op-tile[aria-current="page"] { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--red); }

.plan-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.plan-filters a,
.plan-filters .chip {
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
}
.plan-filters a:hover { border-color: var(--red); color: var(--red-deep); }
.plan-filters a[aria-current="page"] {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.plan-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  border: 1px solid rgba(232, 220, 203, .8);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  height: 100%;
  color: inherit;
  padding: 12px 12px 14px;
  gap: 6px;
}
.plan-card h3,
.plan-card .now,
.plan-card .meta,
.plan-card .more { width: 100%; }
.plan-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.plan-card h3 {
  font-family: var(--display);
  font-size: .98rem;
  font-weight: 750;
  letter-spacing: -.03em;
  margin: 2px 0 0;
  line-height: 1.25;
}
.plan-card .now {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.04em;
  color: var(--savings);
  line-height: 1.1;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.plan-card .per {
  font-size: .72rem;
  font-weight: 650;
  color: var(--ink-soft);
  letter-spacing: 0;
}
.plan-card .meta {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.35;
}
.plan-card .more {
  margin-top: auto;
  padding-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red-deep);
}
.plan-card .tax-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.home-planes { background: var(--cream); }
.home-planes .plan-grid { margin-top: 4px; }

.plan-page-price {
  background: var(--savings-bg);
  border-left: 6px solid var(--savings);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 18px 14px;
  margin: 0 0 18px;
}
.plan-page-price .amount {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 8vw, 3.6rem);
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--savings);
  font-variant-numeric: tabular-nums;
}
.plan-page-price .per { margin-top: 4px; font-weight: 700; color: var(--green-deep); }
.plan-page-price .tax { margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); }

.plan-hero-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 18px;
}
.plan-hero-photo img { width: 100%; height: auto; display: block; aspect-ratio: 1 / 1; object-fit: cover; }

@media (min-width: 800px) {
  .plan-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .plan-card h3 { font-size: 1.12rem; }
  .plan-card .now { font-size: 1.7rem; }
  .op-grid { gap: 12px; }
  .op-tile { min-height: 72px; font-size: 1.15rem; }
  .plan-page { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 32px; align-items: start; }
  .plan-hero-photo { margin: 0; }
}
@media (max-width: 599px) {
  .plan-card .now { font-size: 1.2rem; }
}
/* ===== Finanzas (NerdWallet-style comparison) ===== */
/* Palette v2 (23 Nov 2026): mostly white, one brand green + one amber accent, cool neutrals.
   Overrides the old base tokens (--red*, --gold*, --cream*) site-wide so no burgundy is left. */
:root {
  --brand: #00875a;
  --brand-hot: #009966;
  --brand-deep: #006b47;
  --brand-dark: #006b47;
  --brand-tint: #eaf6f0;
  --brand-tint-2: #f4faf7;
  --accent: #ffb81c;
  --accent-hot: #ffc84a;
  --accent-soft: #fff1cc;
  --red: var(--brand);
  --red-hot: var(--brand-hot);
  --red-deep: var(--brand-deep);
  --red-dark: var(--brand-deep);
  --green: var(--brand);
  --green-deep: var(--brand-deep);
  --gold: var(--accent);
  --gold-soft: var(--accent-soft);
  --gold-deep: #8a5a00;
  --cream: #f5f7fa;
  --cream-2: #eaeef3;
  --paper: #ffffff;
  --ink: #1d2733;
  --ink-soft: #5b6675;
  --line: #e3e8ee;
  --line-strong: #cbd3dc;
  --savings: var(--brand);
  --savings-bg: var(--brand-tint);
  --official: var(--brand-deep);
  --official-soft: var(--brand-tint);
  --shadow: 0 10px 30px rgba(29, 39, 51, 0.08);
  --shadow-s: 0 2px 10px rgba(29, 39, 51, 0.06);
}
body { background: #fff; }
.btn-accent { background: var(--accent); color: #1a1a1a; }
.btn-accent:hover { background: var(--accent-hot); }
.btn-ghost-light { background: transparent; border: 2px solid rgba(255,255,255,.75); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.hero .lede, .page-hero .lede { color: rgba(255,255,255,.9); }

/* Section heroes: solid brand-dark band, photo on the right */
.fin-hero-pattern { display: none; }
.page-hero.fin-hero { background: var(--brand-dark); }
.fin-hero .wrap, .fin-home-hero .wrap { position: relative; z-index: 1; }
.fin-hero .kicker { margin-top: 10px; }
.fin-hero-photo .wrap { display: grid; gap: 16px; padding-bottom: 24px; }
.fin-hero-pic { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 7; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.fin-hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.fin-hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

/* Home hero */
.fin-home-hero { background: var(--brand-dark); }
.fin-home-hero .wrap { padding: 26px 0 30px; gap: 22px; }
.fin-home-visual { position: relative; }
.fin-home-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; border-radius: 18px; box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.fin-board {
  display: block; background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 16px 12px; margin: -56px 12px 0; position: relative;
  box-shadow: 0 18px 40px rgba(0,0,0,.25); text-decoration: none; border-top: 5px solid var(--accent);
}
.fin-board-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-deep); background: var(--official-soft); padding: 3px 9px; border-radius: 999px; }
.fin-board ol { list-style: none; margin: 8px 0 8px; padding: 0; counter-reset: b; }
.fin-board li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); counter-increment: b; }
.fin-board li:last-child { border-bottom: 0; }
.fin-board li::before { content: counter(b); font-family: var(--display); font-weight: 800; color: var(--brand-dark); background: var(--accent); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; flex: 0 0 auto; }
.fin-board-name { flex: 1; font-weight: 750; line-height: 1.15; }
.fin-board-name small { display: block; font-weight: 600; font-size: 12px; color: var(--ink-soft); }
.fin-board b { font-family: var(--display); font-size: 1.45rem; letter-spacing: -.04em; color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.fin-board .store { font-size: 12.5px; font-weight: 700; color: var(--brand); }

/* Category tiles: photo on top, white card body */
.fin-tiles-band { background: var(--cream); padding: 22px 0 22px; }
.fin-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fin-tile {
  display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; color: var(--ink);
  text-decoration: none; box-shadow: var(--shadow-s); border: 1px solid var(--line); transition: transform .15s ease, box-shadow .15s ease;
}
.fin-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand); }
.fin-tile-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-2); }
.fin-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.fin-tile:hover .fin-tile-img img { transform: scale(1.05); }
.fin-tile-body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; border-top: 4px solid var(--brand); }
.fin-tile b { font-family: var(--display); font-size: 1.05rem; letter-spacing: -.03em; line-height: 1.15; }
.fin-tile b::after { content: "\00a0→"; color: var(--brand); }
.fin-tile-body span { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.fin-tile small { font-size: 12px; font-weight: 750; color: var(--brand-deep); margin-top: 2px; }

/* Comparison tables */
.fin-table-wrap { width: 100%; }
.fin-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 14px; }
.fin-table th, .fin-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.fin-table thead th { background: var(--red-dark); color: #fff; font-size: 12px; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; }
.fin-table tbody tr:last-child > * { border-bottom: 0; }
.fin-table tbody tr:hover { background: #fffaf2; }
.fin-table tbody th a { font-family: var(--display); font-weight: 750; font-size: 1.02rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.fin-table tbody th a:hover { color: var(--red-deep); text-decoration: underline; }
.fin-sub { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-top: 2px; }
.fin-big { font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.03em; color: var(--red-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fin-na .fin-big { font-family: var(--font); font-size: 13px; font-weight: 600; }
.fin-src { font-size: 12px; color: var(--ink-soft); }
.fin-src a { color: var(--official); text-decoration: underline; }
.muted { color: var(--ink-soft); font-size: 13px; }
.fin-table-simple thead th { background: var(--official); }
.fin-count { margin: 2px 0 12px; font-weight: 700; }

@media (max-width: 799px) {
  .fin-table, .fin-table tbody, .fin-table tr, .fin-table th, .fin-table td { display: block; }
  .fin-table { border: 0; background: transparent; border-radius: 0; }
  .fin-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fin-table tbody tr { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin: 0 0 10px; padding: 4px 0; box-shadow: var(--shadow-s); }
  .fin-table tbody th { border-bottom: 1px solid var(--line); padding: 10px 14px; }
  .fin-table tbody td { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 14px; border-bottom: 0; text-align: right; }
  .fin-table tbody td::before { content: attr(data-label); font-size: 12px; font-weight: 700; color: var(--ink-soft); text-align: left; text-transform: uppercase; letter-spacing: .03em; }
  .fin-table tbody td.fin-big { font-size: 1.35rem; }
  .fin-table-simple tbody tr { display: flex; justify-content: space-between; align-items: center; padding: 0; }
  .fin-table-simple tbody th { border: 0; }
  .fin-table-simple tbody td::before { content: none; }
}

/* Chips */
.fin-chips { align-items: center; margin-bottom: 10px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.fin-chips::-webkit-scrollbar { display: none; }
.chip-label { flex: 0 0 auto; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); min-width: 6.5em; }
@media (min-width: 800px) { .fin-chips { flex-wrap: wrap; } }

.fin-callout { background: #fff8e0; border: 1px solid #f0d78a; border-left: 6px solid var(--gold); border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; font-size: 14px; }
.fin-callout p { margin: 0 0 6px; }
.fin-callout p:last-child { margin: 0; }
.fin-callout a { color: var(--official); text-decoration: underline; }

/* Product pages */
.fin-page { max-width: 820px; padding: 4px 0 8px; }
.fin-figure { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 18px; }
.fin-figure > div { background: var(--red-dark); color: #fff; border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.fin-figure > div:nth-child(2) { background: var(--official); }
.fin-figure-label { font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-soft); }
.fin-figure-num { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 8vw, 2.8rem); letter-spacing: -.05em; line-height: 1; }
.fin-figure-sub { font-size: 12.5px; opacity: .85; }
.fin-matrix-wrap { overflow-x: auto; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.fin-matrix { border-collapse: collapse; font-size: 13.5px; min-width: 100%; }
.fin-matrix th, .fin-matrix td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fin-matrix thead th { background: var(--red-dark); color: #fff; font-size: 12px; font-weight: 750; }
.fin-matrix tbody th { text-align: left; font-weight: 750; background: var(--cream); position: sticky; left: 0; }
.fin-matrix thead th:first-child { text-align: left; position: sticky; left: 0; }
.fin-matrix td { font-weight: 700; }
.fin-matrix .eff { display: block; font-size: 11px; font-weight: 600; color: var(--ink-soft); }
.related { padding-top: 12px; }

.fin-alt { background: var(--cream); }
.fin-trust { background: var(--official); color: #fff; padding: 28px 0; }
.fin-trust-grid { display: grid; gap: 18px; }
.fin-trust h2 { font-family: var(--display); font-size: 1.3rem; letter-spacing: -.03em; margin: 0 0 6px; color: var(--gold-soft); }
.fin-trust p { margin: 0; opacity: .92; }
.fin-trust a { color: #fff; text-decoration: underline; font-weight: 700; }

.fin-two { display: grid; gap: 24px; }
.fin-two .small-h { margin-top: 18px; }
.fin-inst-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fin-inst { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); }
.fin-inst b { font-family: var(--display); font-size: 1.1rem; letter-spacing: -.02em; }
.fin-inst span { font-size: 13px; color: var(--ink-soft); }
.fin-inst:hover { border-color: var(--red); }
.fin-list { list-style: none; margin: 0 0 18px; padding: 0; }
.fin-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.fin-list a { font-weight: 700; color: var(--ink); }
.fin-list span { font-weight: 800; color: var(--red-deep); white-space: nowrap; }
.fin-src-list { margin: 0 0 6px; padding-left: 18px; color: var(--ink-soft); }

/* Header: finance first, other sections lighter */
nav.primary { align-items: center; gap: 16px; }
nav.primary .nav-sep { width: 1px; height: 18px; background: var(--line-strong); }
nav.primary .nav-2 { font-weight: 600; font-size: 13px; color: var(--ink-soft); opacity: .85; }
.subnav a.nav-2 { background: transparent; font-weight: 600; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.foot-grid .foot-links { flex-direction: column; gap: 6px; }
.foot-grid .foot-links b { color: var(--gold-soft); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

@media (min-width: 800px) {
  .fin-tiles { grid-template-columns: repeat(4, 1fr); }
  .fin-tiles { gap: 16px; }
  .fin-tile-body { padding: 14px 16px 16px; }
  .fin-tile b { font-size: 1.25rem; }
  .fin-home-hero .wrap { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding: 48px 0 52px; }
  .fin-home-photo { aspect-ratio: 5 / 4; }
  .fin-board { position: absolute; left: -40px; bottom: -28px; margin: 0; width: 330px; }
  .fin-hero-photo .wrap { grid-template-columns: 1.25fr .75fr; align-items: center; gap: 40px; padding: 22px 0 30px; }
  .fin-hero-pic { aspect-ratio: 3 / 2; }
  .fin-trust-grid, .fin-two { grid-template-columns: 1fr 1fr; }
  .fin-inst-grid { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .fin-table thead th:last-child, .fin-table td:last-child { width: 1%; white-space: nowrap; }
}
.stats-bar.fin-stats .wrap { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .stats-bar.fin-stats .wrap { grid-template-columns: repeat(4, 1fr); } }
.fin-big.fin-partial { font-size: 1rem; color: var(--ink-soft); }
.subnav a:first-child { background: var(--cream); border-color: var(--line); color: var(--ink-soft); }
.subnav a[aria-current="page"], .subnav a:first-child[aria-current="page"] { background: var(--red); border-color: var(--red); color: #fff; }

/* Secondary sections (medicines, phone plans): compact photo cards */
.fin-more-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.fin-tile-row { flex-direction: row; }
.fin-tile-row .fin-tile-img { flex: 0 0 38%; aspect-ratio: auto; min-height: 112px; }
.fin-tile-row .fin-tile-body { border-top: 0; border-left: 4px solid var(--brand); justify-content: center; }
.fin-hero-pic-prestamos img { object-position: 40% 35%; }
@media (min-width: 800px) {
  .fin-more-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .fin-tile-row .fin-tile-img { min-height: 150px; }
  .fin-board { left: -24px; bottom: -36px; }
}
.fin-home-hero .lede { max-width: 30em; }

/* ===== Clean light theme (palette v2) ===== */
/* Heroes: light mint band, dark text */
.hero.fin-home-hero, .page-hero.fin-hero { background: linear-gradient(180deg, var(--brand-tint) 0%, var(--brand-tint-2) 100%); color: var(--ink); border-bottom: 1px solid var(--line); }
.fin-home-hero .kicker, .fin-hero .kicker { color: var(--brand-deep); }
.fin-home-hero h1, .fin-hero h1 { color: var(--ink); }
.fin-home-hero h1 em, .fin-hero h1 em { color: var(--brand); }
.fin-home-hero .lede, .fin-hero .lede { color: var(--ink-soft); }
.fin-hero .crumb.light { color: var(--ink-soft); }
.fin-hero .crumb.light a { color: var(--ink); }
.fin-hero .crumb.light a:hover { color: var(--brand-deep); }
.btn-ghost-light { background: #fff; border: 1.5px solid var(--brand); color: var(--brand-deep); }
.btn-ghost-light:hover { background: var(--brand-tint); }
.fin-home-photo, .fin-hero-pic { box-shadow: 0 14px 36px rgba(29, 39, 51, .16); }
.fin-board { border: 1px solid var(--line); border-top: 5px solid var(--accent); box-shadow: 0 16px 40px rgba(29, 39, 51, .16); }
.fin-board li::before { color: var(--ink); }
.fin-tiles-band { background: #fff; }
.fin-alt { background: var(--cream); }
/* Photo heroes (phone plans): neutral shade, no tint */
.page-hero .hero-shade { background: linear-gradient(180deg, rgba(17, 24, 39, .45), rgba(17, 24, 39, .78)); }
.page-hero:not(.fin-hero) h1 em, .page-hero:not(.fin-hero) .kicker { color: var(--accent); }
/* Stats band: the one solid brand-color band */
.stats-bar { background: var(--brand); border-top: 0; }
.stats-bar b { color: #fff; }
.stats-bar span { color: rgba(255, 255, 255, .88); }
/* Tables: light headers */
.fin-table thead th, .fin-matrix thead th, .fin-table-simple thead th { background: var(--brand-tint); color: var(--brand-deep); border-bottom: 1px solid var(--line); }
.fin-table tbody tr:hover { background: var(--brand-tint-2); }
.fin-callout { background: #fffaeb; border-color: #f6dd9a; }
/* Key figures on product pages */
.fin-figure > div { background: var(--brand); color: #fff; }
.fin-figure > div:nth-child(2) { background: var(--brand-tint); color: var(--ink); border: 1px solid #cfe9dc; }
.fin-figure-label { color: rgba(255, 255, 255, .9); }
.fin-figure > div:nth-child(2) .fin-figure-label { color: var(--brand-deep); }
.fin-figure > div:nth-child(2) .fin-figure-sub { color: var(--ink-soft); opacity: 1; }
/* Trust band */
.fin-trust { background: var(--brand-tint); color: var(--ink); border-top: 1px solid #cfe9dc; border-bottom: 1px solid #cfe9dc; }
.fin-trust h2 { color: var(--brand-deep); }
.fin-trust a { color: var(--brand-deep); }
/* Footer: light */
footer.site { background: var(--cream); color: var(--ink-soft); border-top: 1px solid var(--line); }
footer.site .logo { color: var(--ink); }
footer.site .logo span { color: var(--brand); }
.foot-links a { color: var(--ink); }
.foot-links a:hover { color: var(--brand-deep); }
.foot-grid .foot-links b { color: var(--brand-deep); }
.foot-sample { border-top-color: var(--line); }
/* Operators: neutral badges and tiles (no brand reds/purples clashing with the palette) */
.op.op-claro, .op.op-tigo, .op.op-tuenti, .op { background: var(--cream-2); color: var(--ink); }
.op-tile, .op-tile.op-claro, .op-tile.op-tigo, .op-tile.op-tuenti { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.op-tile:hover { border-color: var(--brand); }
.op-tile span { color: var(--ink-soft); }
.op-tile[aria-current="page"] { box-shadow: none; border: 2px solid var(--brand); background: var(--brand-tint); }
.fin-hero-pic-planes img { object-position: 50% 30%; }
/* ===== Guías, comparativos y calculadoras ===== */
.guia-index-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.guia-index-list a {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px 18px; align-items: start;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  text-decoration: none; color: inherit;
}
.guia-index-list a:hover { border-color: var(--brand); }
.guia-index-list .guia-k { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-deep); padding-top: 3px; }
.guia-index-list b { display: block; font-family: var(--display); font-size: 1.12rem; letter-spacing: -.03em; line-height: 1.25; margin: 0 0 4px; }
.guia-index-list span { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 639px) {
  .guia-index-list a { grid-template-columns: 1fr; gap: 4px; }
}
.guia-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 22px; color: var(--ink-soft); font-size: 0.95rem; }
.guia-meta time { color: var(--ink); font-weight: 650; }
.guia-prose { max-width: 46em; }
.guia-prose h2 { font-family: var(--display); font-size: 1.25rem; letter-spacing: -.03em; margin: 28px 0 8px; }
.guia-prose h3 { font-size: 1.02rem; margin: 20px 0 6px; }
.guia-prose p, .guia-prose li { margin: 0 0 12px; }
.guia-prose ul, .guia-prose ol { margin: 0 0 14px; padding-left: 1.2em; }
.guia-prose a { color: var(--official); text-decoration: underline; }
.guia-callout {
  margin: 18px 0; padding: 14px 16px; background: var(--brand-tint); border-radius: 10px;
  border-left: 3px solid var(--brand);
}
.guia-callout p { margin: 0; }
.guia-sources { margin: 32px 0 16px; }
.guia-sources h2 { font-family: var(--display); font-size: 1.15rem; letter-spacing: -.02em; margin: 0 0 8px; }
.guia-sources ol { margin: 0; padding-left: 1.2em; }
.guia-sources li { margin: 0 0 8px; }
.guia-related { margin: 28px 0 8px; }
.guia-related h2 { font-family: var(--display); font-size: 1.15rem; margin: 0 0 10px; }
.guia-related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.guia-related a { color: var(--official); text-decoration: underline; }
.calc-box {
  margin: 8px 0 24px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--brand-tint-2);
}
.calc-box .calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.calc-box label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 650; color: var(--ink-soft); }
.calc-box input, .calc-box select {
  font: inherit; font-weight: 500; color: var(--ink); padding: 10px 12px; border: 1px solid var(--line-strong);
  border-radius: 8px; background: #fff;
}
.calc-box button { margin-top: 14px; }
.calc-result { margin-top: 16px; padding: 14px 16px; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.calc-result[hidden] { display: none; }
.calc-result .calc-figure { font-family: var(--display); font-size: 1.8rem; letter-spacing: -.03em; color: var(--brand-deep); margin: 0 0 4px; }
.calc-result p { margin: 0 0 8px; }
.calc-result p:last-child { margin-bottom: 0; }
.guia-home-list { display: grid; gap: 8px 28px; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none; }
.guia-home-list a { color: inherit; text-decoration: none; display: block; padding: 8px 0; border-bottom: 1px solid var(--line); }
.guia-home-list a:hover b { color: var(--brand-deep); }
.guia-home-list b { display: block; }
.guia-home-list small { color: var(--ink-soft); }
@media (max-width: 639px) { .guia-home-list { grid-template-columns: 1fr; } }
