/* ===========================================================
   La Cesta de la Madre Tierra — sistema de diseño
   Mismo patrón estructural que lapescaderiadealfredito.es / edicbravos.com:
   HTML pre-renderizado, CSS-only, cero dependencias externas.
   =========================================================== */

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-600-italic.woff2') format('woff2');
  font-weight: 600; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root{
  color-scheme: only light;

  /* --- color: base cálida, verde de marca derivado del #61CE70 original --- */
  --bg: #FBF9F3;
  --surface: #F3EEDF;
  --surface-2: #ECE3C9;
  --ink: #2B2B25;
  --ink-soft: #5B5A4C;
  --line: #E1D9C2;

  --brand: #3F9B4C;        /* verde accesible para botones/enlaces */
  --brand-strong: #2C7A39; /* hover / texto sobre verde claro */
  --brand-light: #61CE70;  /* verde original del cliente — highlights e ilustración */
  --accent-warm: #E2A94F;  /* ocre — ilustración / cesta destacada */
  --accent-red: #C15A3B;   /* terracota apagado — ilustración (fruta), no chrome de UI */

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 26px;
  --shadow: 0 12px 28px -18px rgba(43,43,37,.35);
  --container: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

/* Transición nativa entre páginas (Safari/Chrome recientes).
   Si el navegador no la soporta, no pasa nada: navega como siempre. */
@view-transition{
  navigation: auto;
}
::view-transition-old(root){ animation-duration: .22s; animation-timing-function: ease-out; }
::view-transition-new(root){ animation-duration: .28s; animation-timing-function: ease-out; }

/* Respaldo para navegadores sin View Transitions: fundido suave al cargar cada página */
body{ animation: page-fade-in .4s ease both; }
@keyframes page-fade-in{ from{ opacity: 0; } to{ opacity: 1; } }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
p{ margin: 0 0 1em; color: var(--ink-soft); max-width: 62ch; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
img, svg{ display: block; max-width: 100%; }

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link{
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0; z-index: 999;
}
.skip-link:focus{ left: 0; }

:focus-visible{ outline: 2px solid var(--brand-strong); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: 12px 20px; border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn .icon{ flex-shrink: 0; }
.btn-primary{ background: var(--brand); color: #fff; }
.btn-primary:hover{ background: var(--brand-strong); box-shadow: var(--shadow); }
.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--ink-soft); }
.btn-lg{ padding: 15px 26px; font-size: 1rem; }
.btn-sm{ padding: 9px 16px; font-size: .85rem; }

/* ---------- header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,249,243,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 24px;
}
.wordmark{ display: flex; align-items: center; gap: 10px; }
.wordmark-logo{ width: 40px; height: 40px; object-fit: contain; }
.wordmark-text{ display: flex; flex-direction: column; line-height: 1.05; }
.wordmark-line1{ font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.wordmark-line2{ font-family: var(--font-body); font-weight: 500; font-size: .66rem; letter-spacing: .02em; color: var(--brand-strong); }

.main-nav{ display: flex; gap: 28px; font-weight: 500; font-size: .95rem; }
.main-nav a{ position: relative; padding-bottom: 4px; }
.main-nav a:hover{ color: var(--brand-strong); }
.main-nav a[aria-current="page"]{ color: var(--brand-strong); font-weight: 600; }
.main-nav a[aria-current="page"]::after{
  content: ''; position: absolute; left: 0; right: 0; bottom: -13px; height: 2px;
  background: var(--brand); border-radius: 2px;
}
.mobile-menu a[aria-current="page"]{ color: var(--brand-strong); font-weight: 600; }

.header-actions{ display: flex; align-items: center; gap: 14px; }
.header-actions .btn-primary{ display: none; }

.menu-toggle{
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 4px; cursor: pointer;
}
.menu-toggle span{ width: 18px; height: 1.6px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(5.6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-5.6px) rotate(-45deg); }

.mobile-menu{
  display: flex; flex-direction: column; gap: 4px; padding: 0 24px;
  max-height: 0; overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
}
.mobile-menu.open{ max-height: 420px; padding: 8px 24px 20px; }
.mobile-menu a{ padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-menu .btn{ margin-top: 12px; justify-content: center; }

@media (max-width: 860px){
  .main-nav{ display: none; }
}
@media (min-width: 861px){
  .mobile-menu, .menu-toggle{ display: none; }
  .header-actions .btn-primary{ display: inline-flex; }
}

/* ---------- hero ---------- */
.hero{ padding: 72px 0 88px; }
.hero-inner{
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; gap: 56px;
}
.hero h1{
  font-size: clamp(2.5rem, 4vw + 1.2rem, 3.6rem);
  max-width: 14ch;
}
.hero-lead{ font-size: 1.08rem; max-width: 46ch; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 20px; }
.hero-meta{ font-size: .88rem; color: var(--ink-soft); margin: 0; }
.hero-art{ opacity: 0; transform: translateY(14px); animation: rise .7s ease .1s forwards; position: relative; max-width: 400px; width: 100%; margin: 0 auto; height: 100%; }
.hero-art::after{
  content: ''; position: absolute; left: 8%; right: 8%; bottom: -14px; height: 22px;
  background: radial-gradient(ellipse, rgba(43,43,37,.22) 0%, rgba(43,43,37,0) 72%);
  z-index: 0;
}
.hero-art img{
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: top center; border-radius: var(--radius-l);
  box-shadow: 0 22px 40px -14px rgba(43,43,37,.4);
  position: relative; z-index: 1;
}
.hero-copy{ opacity: 0; transform: translateY(14px); animation: rise .7s ease forwards; }
@keyframes rise{ to{ opacity: 1; transform: none; } }

@media (max-width: 860px){
  .hero{ padding: 44px 0 56px; }
  .hero-inner{ grid-template-columns: 1fr; gap: 32px; }
  .hero-art{ order: -1; max-width: 320px; margin: 0 auto; height: 280px; }
}

/* ---------- categorías ---------- */
.categorias{ padding: 64px 0 76px; background: var(--surface); }
.categorias h2{ font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem); margin-bottom: 32px; }
.cat-grid{
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.cat-card{
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-m);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .15s ease, transform .15s ease;
}
.cat-card:hover{ border-color: var(--brand); transform: translateY(-3px); }
.cat-photo{ position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; }
.cat-photo img{ width: 100%; height: 100%; object-fit: cover; }
.cat-icon{
  position: absolute; left: 12px; bottom: -16px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg); color: var(--brand-strong);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.cat-icon svg{ width: 20px; height: 20px; }
.cat-body{ padding: 24px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.cat-name{ font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.cat-desc{ font-size: .85rem; color: var(--ink-soft); }

@media (max-width: 980px){ .cat-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px){ .cat-grid{ grid-template-columns: repeat(2, 1fr); } }

/* ---------- cestas ---------- */
.cestas{ padding: 64px 0 76px; background: var(--surface); }
.cestas h2{ font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem); margin-bottom: 8px; }
.section-lead{ margin-bottom: 32px; }
.cestas-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.cesta-card{
  position: relative;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-l);
  overflow: hidden; display: flex; flex-direction: column;
}
.cesta-photo{ display: block; aspect-ratio: 8/7; overflow: hidden; }
.cesta-photo img{ width: 100%; height: 100%; object-fit: cover; }
.cesta-card h3, .cesta-card .cesta-peso, .cesta-card .cesta-items, .cesta-card .cesta-footer{
  padding-left: 26px; padding-right: 26px;
}
.cesta-card h3{ margin-top: 22px; }
.cesta-card .cesta-footer{ padding-bottom: 28px; }
.cesta-destacada{ background: var(--ink); color: #fff; border-color: var(--ink); }
.cesta-destacada p, .cesta-destacada .cesta-peso{ color: rgba(255,255,255,.7); }
.cesta-destacada .cesta-items li{ border-color: rgba(255,255,255,.14); }
.cesta-destacada .btn-primary{ background: var(--brand-light); color: var(--ink); }
.cesta-destacada .btn-primary:hover{ background: #fff; }
.cesta-tag{
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--brand-light); color: var(--ink);
  font-size: .78rem; font-weight: 600; padding: 5px 14px; border-radius: 999px;
}
.cesta-card h3{ font-size: 1.4rem; margin-bottom: 2px; }
.cesta-peso{ font-size: .88rem; color: var(--ink-soft); margin-bottom: 18px; }
.cesta-items{ display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; flex-grow: 1; }
.cesta-items li{
  font-size: .9rem; padding-bottom: 9px; border-bottom: 1px solid var(--line);
}
.cesta-footer{ display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cesta-precio{ font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }
.cesta-precio small{ font-family: var(--font-body); font-weight: 500; font-size: .7rem; color: var(--ink-soft); }
.cesta-destacada .cesta-precio small{ color: rgba(255,255,255,.6); }

@media (max-width: 980px){ .cestas-grid{ grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

/* ---------- nosotros ---------- */
.nosotros{ padding: 52px 0 88px; }
.nosotros-inner{
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center;
  background: var(--surface-2); border-radius: var(--radius-l); padding: 40px;
}
.nosotros-foto{ position: relative; border-radius: var(--radius-m); overflow: visible; }
.nosotros-foto img{ width: 100%; height: auto; border-radius: var(--radius-m); display: block; object-fit: cover; aspect-ratio: 3/4; }
.nosotros-badge{
  position: absolute; left: -18px; bottom: -18px;
  background: var(--bg); border-radius: var(--radius-m); box-shadow: var(--shadow);
  padding: 16px 20px; display: flex; flex-direction: column;
}
.numero-grande{ font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--brand-strong); }
.numero-label{ font-size: .8rem; color: var(--ink-soft); max-width: 12ch; }
.valores-list{ display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.valores-list li{ display: flex; align-items: center; gap: 14px; font-size: .96rem; color: var(--ink-soft); }
.valores-list img{ width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.valores-list strong{ color: var(--ink); }

@media (max-width: 860px){
  .nosotros-inner{ grid-template-columns: 1fr; padding: 30px 22px 50px; gap: 40px; }
  .nosotros-foto{ max-width: 280px; margin: 0 auto; }
}

/* ---------- contacto ---------- */
.contacto{ padding: 52px 0 100px; }
.contacto-inner{ display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contacto h2{ font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem); }
.contacto-list{ display: flex; flex-direction: column; gap: 14px; margin: 20px 0 26px; }
.contacto-list li{ display: flex; align-items: center; gap: 10px; font-size: .98rem; }
.contacto-list .icon{ color: var(--brand-strong); }
.horario-list{ display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; max-width: 360px; }
.horario-list li{ display: flex; justify-content: space-between; font-size: .9rem; color: var(--ink-soft); }
.contacto-mapa{ border-radius: var(--radius-m); overflow: hidden; min-height: 320px; border: 1px solid var(--line); }
.contacto-mapa iframe{ width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.mapa-placeholder{
  width: 100%; height: 100%; min-height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--surface); border: 0; cursor: pointer; color: var(--ink);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  transition: background-color .15s ease;
}
.mapa-placeholder:hover{ background: var(--surface-2); }
.mapa-placeholder svg{ width: 28px; height: 28px; color: var(--brand-strong); margin-bottom: 4px; }
.mapa-placeholder small{ font-weight: 400; font-size: .8rem; color: var(--ink-soft); }

@media (max-width: 860px){ .contacto-inner{ grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer{ border-top: 1px solid var(--line); padding: 22px 0; }
.footer-inner{ display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; font-size: .82rem; color: var(--ink-soft); }
.footer-inner a{ color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal-links{ display: flex; gap: 16px; }

/* ---------- whatsapp float ---------- */
.whatsapp-float{
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(43,43,37,.45);
  transition: transform .15s ease;
}
.whatsapp-float .icon{ width: 24px; height: 24px; }
.whatsapp-float:hover{ transform: scale(1.06); background: var(--brand-strong); }

/* ---------- volver arriba ---------- */
.back-to-top{
  position: fixed; left: 20px; bottom: 20px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(43,43,37,.3);
  cursor: pointer; padding: 0;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, border-color .15s ease, color .15s ease;
}
.back-to-top.visible{ opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover{ border-color: var(--brand); color: var(--brand-strong); }
.back-to-top svg{ width: 19px; height: 19px; }

/* ---------- página productos ---------- */
.cat-subnav{
  position: sticky; top: 65px; z-index: 40;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.cat-subnav-inner{
  position: relative;
  display: flex; gap: 8px; overflow-x: auto; padding: 12px 24px;
  scrollbar-width: none; scroll-snap-type: x proximity;
}
.cat-subnav-inner::-webkit-scrollbar{ display: none; }
.cat-subnav-inner a{
  display: flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  font-size: .88rem; font-weight: 500; color: var(--ink-soft);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  scroll-snap-align: start;
}
.cat-subnav-inner a svg{ width: 15px; height: 15px; flex-shrink: 0; }
.cat-subnav-inner a:hover{ border-color: var(--brand); color: var(--brand-strong); }
.cat-subnav-inner a.active{ background: var(--brand); border-color: var(--brand); color: #fff; }

@media (max-width: 640px){
  .cat-subnav{ top: 61px; }
  .cat-subnav-inner{ padding: 10px 0 10px 24px; gap: 6px; }
  .cat-subnav-inner::after{
    content: ''; flex: 0 0 28px;
  }
  .cat-subnav-inner a{ padding: 7px 12px; font-size: .82rem; }
  .cat-subnav::after{
    content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 32px;
    background: linear-gradient(to right, rgba(251,249,243,0), var(--bg));
    pointer-events: none;
  }
}

.productos-intro{ padding: 48px 0 12px; }
.productos-intro h1{ font-size: clamp(2rem, 3vw + 1rem, 2.8rem); max-width: 16ch; }

.producto-cat{ padding: 52px 0 48px; scroll-margin-top: 120px; }
.producto-cat:first-of-type{ padding-top: 92px; }
.producto-cat:nth-of-type(1){ background: linear-gradient(to bottom, var(--bg) 0, var(--bg) calc(100% - 110px), var(--surface) 100%); }
.producto-cat:nth-of-type(2){ background: linear-gradient(to bottom, var(--bg) 0, var(--surface) 110px, var(--surface) calc(100% - 110px), var(--bg) 100%); }
.producto-cat:nth-of-type(3){ background: linear-gradient(to bottom, var(--surface) 0, var(--bg) 110px, var(--bg) calc(100% - 110px), var(--surface) 100%); }
.producto-cat:nth-of-type(4){ background: linear-gradient(to bottom, var(--bg) 0, var(--surface) 110px, var(--surface) calc(100% - 110px), var(--bg) 100%); }
.producto-cat:nth-of-type(5){ background: linear-gradient(to bottom, var(--surface) 0, var(--bg) 110px, var(--bg) 100%); }
.producto-cat:not(:last-of-type){ border-bottom: 1px solid var(--line); }
.producto-cat-head{ display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.cat-icon-static{
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg); color: var(--brand-strong);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px -2px rgba(43,43,37,.18);
}
.producto-cat-head h2{ font-size: clamp(1.4rem, 2vw + .8rem, 1.9rem); margin-bottom: 4px; }
.producto-cat-head .section-lead{ margin: 0; }

.producto-grid{
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px;
}
.producto-card{
  display: flex; flex-direction: column; gap: 10px;
  border-radius: var(--radius-m); overflow: hidden;
  background: var(--bg); border: 1px solid var(--line);
  transition: border-color .15s ease, transform .15s ease;
}
.producto-card:hover{ border-color: var(--brand); transform: translateY(-2px); }
.producto-photo{ display: block; aspect-ratio: 1/1; overflow: hidden; }
.producto-photo img{ width: 100%; height: 100%; object-fit: cover; }
.producto-name{ font-size: .88rem; font-weight: 500; padding: 0 12px; }
.producto-card:not(:has(.producto-detalle)) .producto-name{ padding-bottom: 14px; }
.producto-detalle{ padding: 4px 12px 12px; }
.producto-detalle summary{
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
  font-size: .76rem; font-weight: 600; color: var(--brand-strong);
}
.producto-detalle summary::-webkit-details-marker{ display: none; }
.producto-detalle summary svg{ width: 13px; height: 13px; flex-shrink: 0; }
.producto-detalle[open] summary{ margin-bottom: 6px; }
.producto-detalle p{ font-size: .76rem; color: var(--ink-soft); line-height: 1.45; margin: 0; }

.productos-cta{ padding: 76px 0; background: var(--ink); }
.productos-cta-inner{
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  color: #fff;
}
.productos-cta-inner h2{ margin-bottom: 6px; }
.productos-cta-inner p{ color: rgba(255,255,255,.72); margin: 0; }
.productos-cta-inner .btn-primary{ background: var(--brand-light); color: var(--ink); flex-shrink: 0; }
.productos-cta-inner .btn-primary:hover{ background: #fff; }

@media (max-width: 600px){ .productos-cta{ padding: 52px 0; } }

@media (max-width: 600px){
  .producto-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ---------- teaser de cestas (home) ---------- */
.cestas-teaser{ padding: 64px 0 56px; }
.cestas-teaser-inner{
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px;
  background: var(--surface-2); border-radius: var(--radius-l); padding: 52px;
}
.cestas-teaser-copy h2{ font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem); }
.cestas-teaser-copy .btn{ margin-top: 10px; }
.cestas-teaser-photos{ display: flex; justify-content: center; }
.cestas-teaser-photos img{
  width: 128px; height: 128px; border-radius: 50%; object-fit: cover;
  border: 5px solid var(--surface-2); box-shadow: var(--shadow);
}
.cestas-teaser-photos img:not(:first-child){ margin-left: -34px; }

@media (max-width: 860px){
  .cestas-teaser-inner{ grid-template-columns: 1fr; padding: 34px 26px; gap: 28px; text-align: center; }
  .cestas-teaser-copy{ display: flex; flex-direction: column; align-items: center; }
}

/* ---------- cta genérica de cierre (home, nosotros...) ---------- */
.home-cta{ padding: 76px 0; background: var(--ink); }
.home-cta-inner{
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  color: #fff;
}
.home-cta-inner h2{ margin-bottom: 6px; }
.home-cta-inner p{ color: rgba(255,255,255,.72); margin: 0; }
.home-cta-inner .btn-primary{ background: var(--brand-light); color: var(--ink); flex-shrink: 0; }
.home-cta-inner .btn-primary:hover{ background: #fff; }

@media (max-width: 600px){ .home-cta{ padding: 52px 0; } }

/* ---------- intro de página interior (cestas, nosotros, contacto) ---------- */
.pagina-intro{ padding: 56px 0 40px; }
.pagina-intro h1{ font-size: clamp(2rem, 3vw + 1rem, 2.8rem); max-width: 18ch; }
.pagina-intro .hero-lead{ max-width: 52ch; }

/* ---------- cabecera con foto (páginas interiores) ---------- */
.pagina-hero-section{ padding: 28px 0 0; }
.pagina-hero{
  position: relative; overflow: hidden; color: #fff;
  min-height: 360px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-l); text-align: center;
}
.pagina-hero img{
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.pagina-hero::after{
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: rgba(20,19,14,.48);
}
.pagina-hero-content{ position: relative; z-index: 2; padding: 40px 40px; display: flex; flex-direction: column; align-items: center; }
.pagina-hero h1{
  font-size: clamp(1.9rem, 3vw + 1rem, 2.6rem); color: #fff; max-width: 16ch;
}
.pagina-hero p{
  color: rgba(255,255,255,.92); max-width: 46ch; font-size: 1.02rem; text-shadow: 0 1px 12px rgba(0,0,0,.25);
}
.pagina-hero .btn{ margin-top: 6px; }

@media (min-width: 640px){ .pagina-hero{ min-height: 520px; } }
@media (max-width: 640px){ .pagina-hero-content{ padding: 26px 22px; } }

/* ---------- ofertas ---------- */
.ofertas-lista{ padding: 8px 0 90px; display: flex; flex-direction: column; gap: 28px; }
.oferta-destacada{
  display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 48px;
  background: var(--surface); border-radius: var(--radius-l); padding: 44px;
}
.oferta-destacada-alt{ grid-template-columns: 1.2fr .8fr; }
.oferta-destacada-alt .oferta-destacada-foto{ order: 2; }
.oferta-destacada-foto{
  border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4/5;
  background: #F4E9B8; box-shadow: var(--shadow);
}
.oferta-destacada-foto img{ width: 100%; height: 100%; object-fit: cover; }
.oferta-destacada-copy h2{ font-size: clamp(1.5rem, 2vw + 1rem, 2.1rem); margin-bottom: 8px; }
.oferta-badge{
  display: inline-block; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 600;
  padding: 5px 14px; border-radius: 999px;
}
.oferta-destacada-copy .oferta-badge{ margin-bottom: 12px; }
.oferta-destacada-precio{ font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; color: var(--brand-strong); margin: 0 0 10px; }
.oferta-destacada-copy .btn{ margin-top: 10px; }

@media (max-width: 760px){
  .oferta-destacada, .oferta-destacada-alt{ grid-template-columns: 1fr; padding: 30px 24px; gap: 24px; }
  .oferta-destacada-alt .oferta-destacada-foto{ order: 0; }
  .oferta-destacada-foto{ max-width: 280px; margin: 0 auto; }
}

.ofertas-vacio{ padding: 8px 0 100px; }
.ofertas-vacio-inner{
  max-width: 640px; margin: 0 auto; text-align: center;
  background: var(--surface); border-radius: var(--radius-l); padding: 56px 40px;
}
.ofertas-vacio-inner h2{ margin-bottom: 10px; }
.ofertas-vacio-inner p{ margin: 0 auto 24px; }
.ofertas-vacio-inner .btn{ margin: 0 auto; }

/* ---------- gancho de oferta (home) ---------- */
.ofertas-hook{ padding: 40px 0 8px; }
.ofertas-hook-inner{
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: rgba(63,155,76,.11); border: 1px solid rgba(63,155,76,.28);
  border-radius: var(--radius-m); padding: 18px 26px;
}
.ofertas-hook-text{ display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); }
.ofertas-hook .btn-ghost{ border-color: var(--brand); color: var(--brand-strong); flex-shrink: 0; }
.ofertas-hook .btn-ghost:hover{ background: var(--brand); color: #fff; }

@media (max-width: 560px){
  .ofertas-hook-inner{ flex-direction: column; align-items: flex-start; padding: 18px 22px; }
}

/* ---------- páginas legales ---------- */
.legal-page{ padding: 56px 0 100px; }
.legal-page-inner{ max-width: 760px; }
.legal-page h1{ font-size: clamp(1.8rem, 2.5vw + 1rem, 2.4rem); margin-bottom: 6px; }
.legal-updated{ font-size: .85rem; color: var(--ink-soft); margin-bottom: 36px; }
.legal-page h2{ font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin: 32px 0 10px; }
.legal-page p, .legal-page li{ max-width: none; font-size: .95rem; }
.legal-list{ display: flex; flex-direction: column; gap: 6px; margin: 0 0 1em; padding-left: 1.2em; list-style: disc; }

/* ---------- promo de cestas para empresas ---------- */
.cestas-promo{ padding: 52px 0 76px; }
.cestas-promo-inner{
  display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 48px;
  background: var(--ink); color: #fff; border-radius: var(--radius-l); padding: 44px;
}
.cestas-promo-foto{
  border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow);
}
.cestas-promo-foto img{ width: 100%; height: 100%; object-fit: cover; }
.cestas-promo-copy h2{ font-size: clamp(1.5rem, 2vw + 1rem, 2.1rem); color: #fff; margin-bottom: 14px; }
.cestas-promo-copy .oferta-badge{ margin-bottom: 14px; }
.cestas-promo-copy .section-lead{ color: rgba(255,255,255,.75); margin-bottom: 22px; }
.cestas-promo-copy .btn-primary{ background: var(--brand-light); color: var(--ink); }
.cestas-promo-copy .btn-primary:hover{ background: #fff; }

@media (max-width: 760px){
  .cestas-promo-inner{ grid-template-columns: 1fr; padding: 30px 24px; gap: 24px; text-align: center; }
  .cestas-promo-foto{ max-width: 260px; margin: 0 auto; }
  .cestas-promo-copy{ display: flex; flex-direction: column; align-items: center; }
}
