/* ==========================================================
   KOKO LOVE · Estilos
   Paleta tomada del logo: dorado sobre rosa empolvado y crema.
   ========================================================== */

:root {
  --crema: #FBF5EF;
  --crema-2: #F6ECE3;
  --rosa: #F7E3DC;
  --rosa-2: #F0CFC8;
  --rosa-fuerte: #C2667A;
  --vino: #6A2838;
  --vino-2: #521C2A;
  --oro: #A9813D;
  --oro-claro: #D9BE8A;
  --tinta: #3A2A29;
  --gris: #776461;
  --blanco: #FFFFFF;
  --wa: #128C4B;
  --wa-2: #0E733D;
  --error: #B3261E;
  --linea: rgba(169, 129, 61, .22);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radio: 18px;
  --sombra: 0 10px 30px -14px rgba(106, 40, 56, .28);
  --ancho: 1160px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 86px; -webkit-text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }

body {
  margin: 0;
  background: var(--crema);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico { width: 20px; height: 20px; flex: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; color: var(--vino); letter-spacing: -.005em; }
h1 { font-size: clamp(2.7rem, 9.5vw, 4.9rem); }
h2 { font-size: clamp(2.1rem, 6.4vw, 3.3rem); }
h3 { font-size: 1.45rem; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--rosa-fuerte); }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--vino); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--vino); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--oro); margin-bottom: 14px;
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.eyebrow--claro { color: var(--oro-claro); }
.centrar { display: flex; justify-content: center; margin-top: 34px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 12px 24px -12px rgba(18, 140, 75, .7); }
.btn--wa:hover { background: var(--wa-2); }
.btn--vino { background: var(--vino); color: var(--crema); box-shadow: 0 12px 24px -14px rgba(106, 40, 56, .8); }
.btn--vino:hover { background: var(--vino-2); }
.btn--ghost { border-color: var(--vino); color: var(--vino); }
.btn--ghost:hover { background: var(--vino); color: var(--crema); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn--sm svg { width: 18px; height: 18px; }
.btn--lg { min-height: 58px; font-size: 1.05rem; }
.btn--full { width: 100%; }
.btn-texto {
  background: none; border: 0; padding: 8px; cursor: pointer; justify-self: center;
  color: var(--vino); font-weight: 600; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- Franja de anuncio ---------- */
.anuncio { background: var(--vino); color: var(--crema); text-align: center; font-size: .8rem; letter-spacing: .06em; padding: 8px 16px; }
.anuncio--prueba { background: var(--oro-claro); color: var(--vino-2); font-weight: 600; }

/* ---------- Encabezado ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 245, 239, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linea);
}
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 12px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--oro); min-width: 0; }
.brand__mark { width: 48px; height: 48px; border-radius: 50%; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.42rem; letter-spacing: .14em; text-transform: uppercase; color: var(--vino); white-space: nowrap; }
.brand__tag { font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--oro); margin-top: 5px; white-space: nowrap; }

.header__acciones { display: flex; align-items: center; gap: 2px; }
.icono-btn {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; background: transparent; border-radius: 12px; color: var(--vino); cursor: pointer; text-decoration: none;
  transition: background-color .2s ease;
}
.icono-btn:hover { background: rgba(106, 40, 56, .07); }
.icono-btn svg { width: 24px; height: 24px; }
.carrito-btn__n {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--rosa-fuerte); color: #fff; font-size: .7rem; font-weight: 600; line-height: 19px; text-align: center;
}

.menu-btn {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  display: grid; place-content: center; gap: 7px; border-radius: 12px;
}
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--vino); border-radius: 2px; transition: transform .25s ease; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.nav {
  position: absolute; left: 0; right: 0; top: 100%;
  display: none; flex-direction: column; gap: 2px;
  padding: 10px 20px 22px; background: var(--crema);
  border-bottom: 1px solid var(--linea);
  box-shadow: 0 24px 30px -24px rgba(58, 42, 41, .35);
}
.nav.abierto { display: flex; }
.nav a:not(.btn) { padding: 13px 4px; text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(169, 129, 61, .16); }
.nav a[aria-current="page"] { color: var(--vino); font-weight: 600; }
.nav .btn { margin-top: 14px; }

.header--simple .header__in { min-height: 64px; }
.header__volver { display: inline-flex; align-items: center; gap: 8px; color: var(--vino); font-weight: 500; font-size: .92rem; text-decoration: none; }
.header__volver:hover { text-decoration: underline; }
.ico--atras { width: 18px; height: 18px; transform: rotate(180deg); }

@media (max-width: 420px) {
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 1.18rem; letter-spacing: .1em; }
  .brand__tag { font-size: .5rem; letter-spacing: .24em; }
  .icono-btn, .menu-btn { width: 40px; height: 40px; }
}

@media (min-width: 1000px) {
  .menu-btn { display: none; }
  .header__in { gap: 28px; }
  .nav {
    position: static; display: flex; flex-direction: row; align-items: center; gap: 26px;
    margin-left: auto; padding: 0; background: none; border: 0; box-shadow: none;
  }
  .nav a:not(.btn) { padding: 6px 0; border: 0; font-size: .95rem; position: relative; white-space: nowrap; }
  .nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
    background: var(--oro); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
  }
  .nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .nav .nav__wa { display: none; }
}

/* ---------- Portada ---------- */
.hero {
  position: relative; overflow-x: clip;
  background:
    radial-gradient(60% 50% at 88% 12%, rgba(240, 207, 200, .75), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(217, 190, 138, .28), transparent 70%),
    var(--crema);
}
.hero__in { display: grid; gap: 44px; padding-top: 44px; padding-bottom: 56px; }
.lead { font-size: 1.1rem; color: var(--gris); max-width: 34em; margin-top: 20px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__cta .btn { flex: 1 1 200px; }

.hero__stats { list-style: none; margin: 34px 0 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid rgba(169, 129, 61, .3); }
.hero__stats strong { display: block; font-family: var(--serif); font-size: clamp(1.6rem, 6vw, 2.1rem); font-weight: 600; color: var(--vino); line-height: 1; }
.hero__stats span { display: block; font-size: .8rem; color: var(--gris); margin-top: 6px; line-height: 1.3; }

.hero__art { position: relative; width: min(100%, 400px); margin: 0 auto; }

.arch {
  position: relative; overflow: hidden;
  border-radius: 999px 999px var(--radio) var(--radio);
  background: linear-gradient(170deg, #FFFFFF 0%, var(--rosa) 55%, var(--rosa-2) 100%);
  box-shadow: var(--sombra);
}
.arch::after {
  content: ""; position: absolute; inset: 12px; pointer-events: none;
  border: 1px solid rgba(169, 129, 61, .55);
  border-radius: 999px 999px 10px 10px;
}
.arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arch--main { aspect-ratio: 4 / 5; }
.arch--foto::after { border-color: rgba(255, 255, 255, .7); }

.arch__logo { position: absolute; inset: 0; display: grid; place-items: center; padding-top: 8%; }
.arch .arch__logo img { position: static; width: 68%; height: auto; border-radius: 50%; }

.float {
  position: absolute; display: grid; place-items: center;
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--blanco); color: var(--rosa-fuerte);
  box-shadow: var(--sombra); border: 1px solid rgba(169, 129, 61, .35);
  animation: flotar 6s ease-in-out infinite;
}
.float svg { width: 38px; height: 38px; }
.float--a { left: -10px; top: 30%; }
.float--b { right: -10px; top: 52%; animation-delay: -2s; color: var(--vino); }
.float--c { left: 8%; bottom: -22px; width: 64px; height: 64px; animation-delay: -4s; color: var(--oro); }
.float--c svg { width: 30px; height: 30px; }
.hero__art:has(.arch--foto) .float--a { display: none; }
.hero__art:has(.arch--foto) .float--b { top: 70%; }
@keyframes flotar { 50% { transform: translateY(-10px); } }

@media (min-width: 900px) {
  .hero__in { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 64px; padding-top: 72px; padding-bottom: 88px; }
  .hero__cta .btn { flex: 0 0 auto; }
  .hero__art { width: min(100%, 430px); }
  .float { width: 92px; height: 92px; }
  .float--a { left: -34px; }
  .float--b { right: -34px; }
}

/* Cinta en movimiento */
.cinta { background: var(--vino); color: var(--crema); overflow: hidden; padding: 13px 0; }
.cinta__pista { display: flex; align-items: center; gap: 26px; width: max-content; animation: cinta 34s linear infinite; }
.cinta span { font-family: var(--serif); font-style: italic; font-size: 1.25rem; white-space: nowrap; }
.cinta i { font-style: normal; color: var(--oro-claro); font-size: .8rem; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.sec { padding: 68px 0; }
.sec__head { max-width: 640px; margin-bottom: 34px; }
.sec__head--fila { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.sec__sub { color: var(--gris); margin-top: 14px; }
.ver-todo { display: inline-flex; align-items: center; gap: 6px; color: var(--vino); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; padding-bottom: 6px; }
.ver-todo svg { width: 18px; height: 18px; transition: transform .2s ease; }
.ver-todo:hover svg { transform: translateX(3px); }
@media (min-width: 900px) { .sec { padding: 100px 0; } .sec__head { margin-bottom: 46px; } }

/* ---------- Categorías tipo historias ---------- */
.sec--cats { padding-bottom: 20px; }
.cats {
  display: flex; gap: 18px; overflow-x: auto;
  margin: 0 -20px; padding: 6px 20px 16px; scrollbar-width: none;
}
.cats::-webkit-scrollbar { display: none; }
.cat { display: block; flex: none; width: 92px; text-decoration: none; color: inherit; text-align: center; }
.cat__aro {
  display: block; padding: 3px; border-radius: 50%;
  background: conic-gradient(from 210deg, var(--oro), var(--rosa-fuerte), var(--oro-claro), var(--oro));
  transition: transform .25s ease;
}
.cat:hover .cat__aro { transform: scale(1.06) rotate(8deg); }
.cat__img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--crema); overflow: hidden; }
.cat__img svg { width: 44%; height: 44%; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; }
.cat__n { display: block; margin-top: 10px; font-size: .84rem; font-weight: 500; line-height: 1.25; }
@media (min-width: 900px) {
  .cats { justify-content: space-between; gap: 24px; overflow: visible; margin: 0; padding: 6px 0 16px; }
  .cat { flex: 1 1 0; width: auto; max-width: 128px; min-width: 0; }
  .cat__n { font-size: .95rem; }
}

/* ---------- Ilustraciones de respaldo (cuando no hay foto) ---------- */
.ph { color: rgba(106, 40, 56, .5); background: linear-gradient(160deg, #FBEDEA, var(--rosa-2)); }
.ph--flores    { background: linear-gradient(160deg, #FCEDEC, #EEC3C8); }
.ph--fresas    { background: linear-gradient(160deg, #FBE9E3, #E9B7AB); }
.ph--anchetas  { background: linear-gradient(160deg, #FCF3E2, #EAD3A8); }
.ph--desayunos { background: linear-gradient(160deg, #FDF5EA, #EFD8BD); }
.ph--globos    { background: linear-gradient(160deg, #FBEAF0, #E8BCCB); }
.ph--peluches  { background: linear-gradient(160deg, #F8EEE4, #DFC6AF); }
.ph--infantil  { background: linear-gradient(160deg, #F9EBF4, #DFC0DA); }

/* ---------- Filtros ---------- */
.sec--catalogo { background: var(--blanco); border-top: 1px solid rgba(169, 129, 61, .18); border-bottom: 1px solid rgba(169, 129, 61, .18); }

.filtros { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px 18px; padding: 4px 20px 8px; scrollbar-width: none; }
.filtros::-webkit-scrollbar { display: none; }
.filtro {
  flex: none; min-height: 42px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1.5px solid rgba(106, 40, 56, .28); color: var(--vino);
  font-size: .92rem; font-weight: 500; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.filtro:hover { border-color: var(--vino); }
.filtro[aria-pressed="true"] { background: var(--vino); border-color: var(--vino); color: var(--crema); }
@media (min-width: 900px) { .filtros { flex-wrap: wrap; overflow: visible; margin: 0 0 22px; padding: 0; } }

/* ---------- Tarjetas de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; } }

.prod {
  display: flex; flex-direction: column; background: var(--crema);
  border-radius: var(--radio); overflow: hidden; border: 1px solid rgba(169, 129, 61, .2);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: entrar .45s ease both;
}
.prod:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
@keyframes entrar { from { opacity: 0; transform: translateY(10px); } }

.prod__link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.prod__img { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; }
.prod__img > svg { width: 38%; height: auto; aspect-ratio: 1; stroke-width: 1.1; transition: transform .4s ease; }
.prod__img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.prod:hover .prod__img > svg { transform: scale(1.08) rotate(-4deg); }
.prod:hover .prod__img > img { transform: scale(1.05); }
.prod__img .sello { position: absolute; top: 10px; left: 10px; }

.prod__info { display: flex; flex-direction: column; flex: 1; padding: 14px 14px 10px; }
.prod__cat { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--oro); }
.prod h3 { font-size: 1.22rem; margin-top: 4px; }
.prod__precio { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: auto; padding-top: 8px; }
.prod__precio .precio { font-size: 1.04rem; }
.prod__accion {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; margin: 0 14px 14px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--vino); background: transparent; color: var(--vino);
  font-size: .88rem; font-weight: 600; text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.prod__accion:hover { background: var(--vino); color: var(--crema); }
.prod__accion svg { width: 17px; height: 17px; }
@media (min-width: 700px) {
  .prod__info { padding: 18px 18px 12px; }
  .prod h3 { font-size: 1.4rem; }
  .prod__accion { margin: 0 18px 18px; }
}

.precio { font-weight: 600; color: var(--vino); }
.precio__desde { font-weight: 400; font-size: .82em; color: var(--gris); }
.precio__antes { color: var(--gris); font-size: .86rem; }
.sello {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  background: var(--blanco); color: var(--oro); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.sello--oferta { background: var(--rosa-fuerte); color: #fff; }

/* ---------- Encabezado de páginas internas y migas ---------- */
.pagina-cab {
  padding: 4px 0 28px;
  background: radial-gradient(60% 120% at 90% 0%, rgba(240, 207, 200, .6), transparent 70%);
}
.pagina-cab h1 { font-size: clamp(2.4rem, 8vw, 3.8rem); }
.pagina-cab__sub { color: var(--gris); margin-top: 10px; }
.migas { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 18px 0 14px; font-size: .84rem; color: var(--gris); }
.migas a { color: var(--gris); text-decoration: none; }
.migas a:hover { color: var(--vino); text-decoration: underline; }
.migas [aria-current] { color: var(--vino); font-weight: 500; }

/* ---------- Página de tienda ---------- */
.tienda { padding: 0 0 80px; }
.barra { display: grid; gap: 12px; margin-bottom: 8px; }
.buscar { position: relative; }
.buscar svg { position: absolute; left: 15px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--gris); pointer-events: none; }
.buscar input {
  width: 100%; min-height: 48px; padding: 10px 16px 10px 44px; border-radius: 999px;
  border: 1.5px solid rgba(106, 40, 56, .2); background: var(--blanco); font-size: 1rem;
  -webkit-appearance: none; appearance: none;
}
.buscar input:focus { outline: none; border-color: var(--vino); }
.barra__sel { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sel { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sel label { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--oro); }
.sel select, .campo select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A2838' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.sel select {
  width: 100%; min-height: 46px; padding: 0 38px 0 12px; border-radius: 12px;
  border: 1.5px solid rgba(106, 40, 56, .2); background-color: var(--blanco); font-size: .94rem;
}
.sel select:focus { outline: none; border-color: var(--vino); }
.conteo { font-size: .86rem; color: var(--gris); margin: 8px 0 16px; }
@media (min-width: 800px) {
  .barra { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .barra__sel { grid-template-columns: 190px 220px; }
}

/* ---------- Estados vacíos ---------- */
.vacio { display: grid; justify-items: center; gap: 8px; padding: 48px 10px; text-align: center; color: var(--gris); }
.vacio > svg { width: 56px; height: 56px; color: var(--rosa-fuerte); stroke-width: 1.1; margin-bottom: 8px; }
.vacio strong, .vacio h1, .vacio h2 { color: var(--vino); }
.vacio h1, .vacio h2 { font-size: clamp(2rem, 6vw, 2.6rem); }
.vacio p { max-width: 30em; }
.vacio > .btn { margin-top: 12px; }
.vacio--grid { grid-column: 1 / -1; }
.vacio--pagina { padding: 70px 10px; }
.vacio__acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }

/* ---------- Página de producto ---------- */
.pp { display: grid; gap: 28px; padding-bottom: 50px; }
.pp__galeria { min-width: 0; }
.pp__pista {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  aspect-ratio: 1; border-radius: var(--radio); scrollbar-width: none; overscroll-behavior-x: contain;
}
.pp__pista::-webkit-scrollbar { display: none; }
.pp__slide { position: relative; flex: 0 0 100%; display: grid; place-items: center; scroll-snap-align: start; overflow: hidden; }
.pp__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp__slide > svg { width: 34%; height: auto; aspect-ratio: 1; stroke-width: 1; }
.pp__slide--ico:nth-child(2) { background-position: 0 0; filter: saturate(.85) brightness(1.03); }
.pp__slide--ico:nth-child(3) { filter: hue-rotate(-10deg) brightness(1.02); }
.pp__slide .sello { position: absolute; top: 14px; left: 14px; }
.pp__minis { display: flex; gap: 10px; margin-top: 12px; }
.pp__mini {
  position: relative; width: 72px; aspect-ratio: 1; padding: 0; border-radius: 12px; overflow: hidden; cursor: pointer;
  display: grid; place-items: center; border: 2px solid transparent; opacity: .75; transition: opacity .2s ease, border-color .2s ease;
}
.pp__mini:hover { opacity: 1; }
.pp__mini[aria-current="true"] { border-color: var(--vino); opacity: 1; }
.pp__mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp__mini svg { width: 44%; height: 44%; }

.pp__info { min-width: 0; }
.pp__info h1 { font-size: clamp(2.3rem, 7vw, 3.3rem); }
.pp__precio { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 14px; }
.pp__precio .precio { font-size: 1.8rem; font-family: var(--serif); }
.pp__precio .precio__antes { font-size: 1.05rem; }
.pp__precio-det { flex-basis: 100%; font-size: .8rem; color: var(--gris); }
.pp__nota { font-size: .86rem; color: var(--gris); margin-top: 4px; }

.pp__form { display: grid; gap: 22px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--linea); }
.pp__grupo { border: 0; margin: 0; padding: 0; min-width: 0; }
.pp__grupo legend, .pp__label { display: block; padding: 0; margin-bottom: 10px; font-size: .9rem; font-weight: 600; color: var(--vino); }
.opc { font-weight: 400; color: var(--gris); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pill span {
  display: flex; flex-direction: column; min-width: 118px; padding: 10px 16px; border-radius: 14px; line-height: 1.3;
  border: 1.5px solid rgba(106, 40, 56, .22); background: var(--blanco); font-weight: 500;
  transition: border-color .2s ease, background-color .2s ease;
}
.pill small { font-size: .84rem; font-weight: 400; color: var(--gris); }
.pill input:checked + span { border-color: var(--vino); background: var(--rosa); box-shadow: inset 0 0 0 1px var(--vino); }
.pill input:focus-visible + span { outline: 2px solid var(--vino); outline-offset: 3px; }

.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.extra { position: relative; cursor: pointer; }
.extra input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.extra__caja {
  position: relative; height: 100%; display: grid; grid-template-columns: 40px 1fr; column-gap: 10px; align-items: center;
  padding: 12px 30px 12px 12px; border-radius: 14px; border: 1.5px solid rgba(106, 40, 56, .18); background: var(--blanco);
  transition: border-color .2s ease, background-color .2s ease;
}
.extra__ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--vino); }
.extra__ico svg { width: 22px; height: 22px; }
.extra__n { font-size: .86rem; font-weight: 500; line-height: 1.25; }
.extra__p { font-size: .8rem; color: var(--gris); }
.extra__check {
  position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; background: var(--vino); color: #fff;
  opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .2s ease;
}
.extra__check svg { width: 13px; height: 13px; stroke-width: 2.6; }
.extra input:checked + .extra__caja { border-color: var(--vino); background: var(--rosa); }
.extra input:checked + .extra__caja .extra__check { opacity: 1; transform: none; }
.extra input:focus-visible + .extra__caja { outline: 2px solid var(--vino); outline-offset: 3px; }

.cantidad {
  display: inline-flex; align-items: center; height: 38px; flex: none;
  border: 1.5px solid rgba(106, 40, 56, .25); border-radius: 999px; background: var(--blanco);
}
.cantidad button {
  width: 36px; height: 100%; display: grid; place-items: center; padding: 0;
  border: 0; background: none; color: var(--vino); cursor: pointer; border-radius: 999px;
}
.cantidad button:disabled { opacity: .35; cursor: not-allowed; }
.cantidad button svg { width: 16px; height: 16px; stroke-width: 2; }
.cantidad span { min-width: 24px; text-align: center; font-weight: 600; font-size: .95rem; }
.cantidad input {
  width: 42px; border: 0; background: none; text-align: center; font-weight: 600; font-size: 1.05rem; padding: 0;
  -moz-appearance: textfield; appearance: textfield;
}
.cantidad input::-webkit-outer-spin-button, .cantidad input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cantidad--grande { height: 54px; }
.cantidad--grande button { width: 44px; }

.pp__fila { display: flex; gap: 12px; }
.pp__agregar { flex: 1; padding: 0 16px; }
.pp__wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--wa); font-weight: 600; font-size: .94rem; text-decoration: none; }
.pp__wa svg { width: 20px; height: 20px; }
.pp__wa:hover { text-decoration: underline; }

.pp__beneficios {
  list-style: none; margin: 22px 0 0; padding: 18px; display: grid; gap: 14px;
  background: var(--blanco); border-radius: var(--radio); border: 1px solid var(--linea);
}
.pp__beneficios li { display: flex; align-items: flex-start; gap: 12px; font-size: .88rem; color: var(--gris); line-height: 1.4; }
.pp__beneficios svg { width: 24px; height: 24px; color: var(--oro); flex: none; }
.pp__beneficios strong { display: block; color: var(--tinta); font-weight: 600; }

.pp__texto { margin-top: 32px; }
.pp__texto h2 { font-size: 1.6rem; margin: 26px 0 10px; }
.pp__texto h2:first-child { margin-top: 0; }
.pp__texto p { color: var(--gris); }
.incluye { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.incluye li { display: flex; align-items: flex-start; gap: 10px; }
.incluye svg { width: 18px; height: 18px; margin-top: 4px; color: var(--oro); stroke-width: 2.2; flex: none; }
.etiquetas { display: flex; flex-wrap: wrap; gap: 8px; }
.etiquetas a {
  padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(169, 129, 61, .45); background: var(--blanco);
  color: var(--vino); font-size: .86rem; text-decoration: none; transition: background-color .2s ease;
}
.etiquetas a:hover { background: var(--rosa); }

.acordeon { margin-top: 30px; border-top: 1px solid var(--linea); }
.acordeon details { border-bottom: 1px solid var(--linea); }
.acordeon summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 0; cursor: pointer; font-weight: 600; color: var(--vino);
}
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary svg { width: 20px; height: 20px; transition: transform .2s ease; }
.acordeon details[open] summary svg { transform: rotate(180deg); }
.acordeon details > div { display: grid; gap: 10px; padding: 0 0 18px; color: var(--gris); font-size: .94rem; }
.acordeon a { color: var(--vino); font-weight: 500; }

.sec--relacionados { background: var(--blanco); border-top: 1px solid rgba(169, 129, 61, .18); }

@media (min-width: 900px) {
  .pp { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; padding-bottom: 80px; }
  .pp__galeria { position: sticky; top: 96px; }
  .pp__pista { aspect-ratio: 4 / 5; }
  .pp__mini { width: 84px; }
}

/* ---------- Cajón del carrito ---------- */
.carrito {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; border: 0;
  width: min(420px, 100vw); max-width: 100vw; height: 100vh; height: 100dvh; max-height: none;
  background: var(--crema); color: var(--tinta);
  box-shadow: -20px 0 50px -20px rgba(58, 42, 41, .35);
}
.carrito[open] { display: flex; flex-direction: column; animation: cajon .32s cubic-bezier(.2, .8, .2, 1); }
.carrito::backdrop { background: rgba(58, 42, 41, .45); }
@keyframes cajon { from { transform: translateX(100%); } }
.carrito__cab { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 16px 22px; border-bottom: 1px solid var(--linea); }
.carrito__cab h2 { font-size: 1.9rem; }
.carrito__cuerpo { flex: 1; overflow-y: auto; padding: 0 22px; overscroll-behavior: contain; }
.carrito__pie {
  display: grid; gap: 10px; padding: 18px 22px calc(16px + env(safe-area-inset-bottom));
  background: var(--blanco); border-top: 1px solid var(--linea);
}
.carrito__pie:empty { display: none; }
.carrito__nota { font-size: .82rem; color: var(--gris); }
.totales { display: flex; align-items: baseline; justify-content: space-between; }
.totales strong { font-family: var(--serif); font-size: 1.7rem; color: var(--vino); }

.lineas { list-style: none; margin: 0; padding: 0; }
.linea {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: start;
  padding: 16px 0; border-bottom: 1px solid var(--linea);
}
.linea:last-child { border-bottom: 0; }
.linea__img { position: relative; display: grid; place-items: center; width: 76px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.linea__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.linea__img svg { width: 50%; height: 50%; stroke-width: 1.2; }
.linea__n {
  position: absolute; right: 4px; bottom: 4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--vino); color: #fff; font-size: .74rem; font-weight: 600; line-height: 22px; text-align: center;
}
.linea__nombre { display: block; font-family: var(--serif); font-size: 1.18rem; font-weight: 600; line-height: 1.15; color: var(--vino); text-decoration: none; }
.linea__nombre:hover { text-decoration: underline; }
.linea__det { font-size: .82rem; color: var(--gris); line-height: 1.35; margin-top: 3px; }
.linea__ctrl { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.linea__quitar { width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: none; border-radius: 50%; color: var(--gris); cursor: pointer; }
.linea__quitar:hover { color: var(--error); background: rgba(179, 38, 30, .07); }
.linea__quitar svg { width: 18px; height: 18px; }
.linea__total { font-weight: 600; white-space: nowrap; font-size: .95rem; }

/* ---------- Checkout ---------- */
.checkout { padding: 0 0 70px; background: linear-gradient(180deg, var(--crema) 0, var(--crema-2) 100%); }
.checkout__in { display: grid; gap: 16px; }
.avance { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 18px 0 0; font-size: .82rem; color: var(--gris); }
.avance li { display: flex; align-items: center; gap: 10px; }
.avance li + li::before { content: "›"; color: var(--oro); font-size: 1rem; }
.avance a, .avance__btn { color: inherit; background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.avance [aria-current] { color: var(--vino); font-weight: 600; }
.checkout__form { min-width: 0; }
.checkout__form h1 { font-size: clamp(2.2rem, 7vw, 3rem); margin: 6px 0 18px; }

.bloque { display: grid; gap: 16px; margin: 0 0 16px; padding: 22px 18px; background: var(--blanco); border-radius: 20px; box-shadow: var(--sombra); }
.bloque h2 { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; }
.bloque__n { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--vino); color: var(--crema); font-family: var(--sans); font-size: .9rem; }
@media (min-width: 700px) { .bloque { padding: 28px; } }

.radios { display: grid; gap: 10px; }
.radio { position: relative; display: block; cursor: pointer; }
.radio input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.radio__caja {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid rgba(106, 40, 56, .2); background: var(--crema);
  transition: border-color .2s ease, background-color .2s ease;
}
.radio__ico { width: 26px; height: 26px; color: var(--oro); }
.radio__txt { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.radio__txt strong { font-weight: 600; }
.radio__txt small { margin-top: 2px; font-size: .82rem; color: var(--gris); }
.radio__extra { font-weight: 600; color: var(--vino); white-space: nowrap; }
.radio input:checked + .radio__caja { border-color: var(--vino); background: var(--rosa); box-shadow: inset 0 0 0 1px var(--vino); }
.radio input:focus-visible + .radio__caja { outline: 2px solid var(--vino); outline-offset: 3px; }
.radio--off { cursor: not-allowed; }
.radio--off input { cursor: not-allowed; }
.radio--off .radio__caja { opacity: .6; }

.check { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 18px; font-size: .92rem; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--vino); }
.check a { color: var(--vino); font-weight: 500; }
.check--alto { align-self: end; align-items: center; min-height: 50px; margin: 0; }
.check--alto input { margin: 0; }
.ayuda { margin-top: -6px; font-size: .84rem; color: var(--gris); }
.contador { margin-top: 4px; font-size: .78rem; color: var(--gris); text-align: right; }
.error { margin-top: 6px; font-size: .84rem; font-weight: 500; color: var(--error); }
.aviso-error { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #FFF1EF; border: 1px solid rgba(179, 38, 30, .35); color: var(--error); font-size: .9rem; font-weight: 500; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.checkout__nota { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: .84rem; color: var(--gris); }
.checkout__nota svg { width: 18px; height: 18px; margin-top: 2px; color: var(--oro); flex: none; }

.resumen { background: var(--blanco); border-radius: 20px; box-shadow: var(--sombra); }
.resumen summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; cursor: pointer; color: var(--vino); font-weight: 600;
}
.resumen summary::-webkit-details-marker { display: none; }
.resumen__t { display: flex; align-items: center; gap: 10px; }
.resumen__t svg { width: 22px; height: 22px; }
.resumen .resumen__flecha { width: 18px; height: 18px; transition: transform .2s ease; }
.resumen[open] .resumen__flecha { transform: rotate(180deg); }
.resumen summary strong { font-family: var(--serif); font-size: 1.4rem; }
.resumen__cuerpo { display: grid; padding: 0 18px 20px; border-top: 1px solid var(--linea); }
.lineas--resumen .linea { grid-template-columns: 60px minmax(0, 1fr) auto; }
.lineas--resumen .linea__img { width: 60px; }
.lineas--resumen .linea__nombre { font-size: 1.08rem; }

.cuentas { display: grid; gap: 8px; margin: 14px 0 0; }
.cuentas div { display: flex; justify-content: space-between; gap: 12px; font-size: .94rem; }
.cuentas dt { color: var(--gris); }
.cuentas dd { margin: 0; font-weight: 500; }
.cuentas__total { align-items: baseline; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--linea); }
.cuentas__total dt { color: var(--tinta); font-weight: 600; }
.cuentas__total dd { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--vino); }

@media (min-width: 960px) {
  .checkout__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); column-gap: 48px; align-items: start; }
  .avance { grid-column: 1 / -1; }
  .checkout__form { grid-column: 1; grid-row: 2; }
  .checkout__resumen { grid-column: 2; grid-row: 2; position: sticky; top: 96px; margin-top: 74px; }
  .resumen summary { cursor: default; }
  .resumen .resumen__flecha { display: none; }
}

/* ---------- Confirmación ---------- */
.gracias { padding: 34px 0 80px; background: linear-gradient(180deg, var(--rosa) 0, var(--crema) 380px); }
.gracias__in { max-width: 900px; }
.gracias__cab { display: grid; justify-items: center; gap: 4px; text-align: center; }
.gracias__ok {
  width: 72px; height: 72px; margin-bottom: 12px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 14px 30px -12px rgba(18, 140, 75, .7);
}
.gracias__ok svg { width: 36px; height: 36px; stroke-width: 2.2; }
.gracias__cab .eyebrow { margin-bottom: 4px; }
.gracias__cab h1 { font-size: clamp(2.5rem, 8vw, 3.6rem); }
.gracias__cab p:last-child { max-width: 30em; margin-top: 10px; color: var(--gris); }
.gracias__paso {
  display: grid; gap: 14px; max-width: 560px; margin: 28px auto; padding: 22px;
  background: var(--blanco); border: 2px solid var(--wa); border-radius: 22px; box-shadow: var(--sombra);
}
.gracias__paso-t { font-size: .94rem; color: var(--gris); }
.gracias__paso-t strong { display: block; font-family: var(--serif); font-size: 1.55rem; line-height: 1.15; color: var(--vino); margin-bottom: 4px; }
.gracias__estado { font-size: .86rem; color: var(--gris); text-align: center; }
.gracias__estado:empty { display: none; }
.gracias__grid { display: grid; gap: 16px; }
@media (min-width: 800px) { .gracias__grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.caja { padding: 22px; background: var(--blanco); border: 1px solid var(--linea); border-radius: 20px; }
.caja h2 { font-size: 1.7rem; margin-bottom: 14px; }
.sigue { list-style: none; counter-reset: paso; display: grid; gap: 16px; margin: 0; padding: 0; }
.sigue li { counter-increment: paso; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; font-size: .92rem; color: var(--gris); }
.sigue li::before {
  content: counter(paso); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--rosa); color: var(--vino); font-weight: 600;
}
.sigue strong { display: block; color: var(--tinta); }
.g-lineas { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.g-lineas li { display: flex; justify-content: space-between; gap: 12px; font-size: .94rem; }
.g-lineas small { display: block; font-size: .8rem; color: var(--gris); }
.g-datos { display: grid; gap: 10px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--linea); font-size: .9rem; }
.g-datos dt { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--oro); }
.g-datos dd { margin: 2px 0 0; color: var(--gris); }

/* ---------- Políticas ---------- */
.legal { display: grid; gap: 22px; padding-bottom: 80px; }
.legal__indice { display: flex; flex-wrap: wrap; gap: 8px; }
.legal__indice a {
  padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(169, 129, 61, .45); background: var(--blanco);
  color: var(--vino); font-size: .86rem; text-decoration: none;
}
.legal__indice a:hover { background: var(--rosa); }
.legal__texto { max-width: 820px; padding: 26px 20px; background: var(--blanco); border: 1px solid var(--linea); border-radius: 22px; }
.legal__texto section + section { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--linea); }
.legal__texto h2 { font-size: 1.9rem; margin-bottom: 12px; }
.legal__texto p, .legal__texto li { color: var(--gris); }
.legal__texto p + p { margin-top: 12px; }
.legal__texto ul { display: grid; gap: 8px; margin: 12px 0; padding-left: 20px; }
.legal__texto strong { color: var(--tinta); }
.legal__datos { display: grid; gap: 8px; margin: 0 0 16px; }
.legal__datos div { display: grid; grid-template-columns: 140px 1fr; gap: 10px; font-size: .94rem; }
.legal__datos dt { font-weight: 600; color: var(--tinta); }
.legal__datos dd { margin: 0; color: var(--gris); }
.pendiente { padding: 1px 8px; border-radius: 6px; background: #FFF2CC; color: #7A5B00; font-size: .86rem; }
@media (min-width: 900px) {
  .legal { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
  .legal__indice { position: sticky; top: 100px; flex-direction: column; align-items: flex-start; }
  .legal__texto { padding: 40px 44px; }
}

/* ---------- Ocasiones ---------- */
.sec--ocasiones {
  background:
    radial-gradient(50% 80% at 100% 0%, rgba(194, 102, 122, .35), transparent 70%),
    var(--vino);
  color: var(--crema);
}
.sec--ocasiones h2 { color: var(--crema); }
.sec--ocasiones h2 em { color: var(--oro-claro); }
.sec--ocasiones p { color: rgba(251, 245, 239, .78); margin-top: 16px; max-width: 30em; }
.ocasiones { display: grid; gap: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-content: center; }
.chip {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px;
  border: 1px solid rgba(217, 190, 138, .6); color: var(--crema); text-decoration: none;
  font-family: var(--serif); font-size: 1.22rem; font-style: italic;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.chip:hover { background: var(--oro-claro); color: var(--vino-2); transform: translateY(-2px); }
@media (min-width: 900px) { .ocasiones { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; } }

/* ---------- Pasos ---------- */
.pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.pasos li { position: relative; background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio); padding: 26px 24px 28px; }
.pasos__n { display: block; font-family: var(--serif); font-style: italic; font-size: 3.4rem; line-height: .9; color: var(--oro-claro); margin-bottom: 12px; }
.pasos p { color: var(--gris); margin-top: 8px; }
@media (min-width: 700px) { .pasos--4 { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1040px) { .pasos--4 { grid-template-columns: repeat(4, 1fr); gap: 22px; } }

/* ---------- Pedido a la medida y formularios ---------- */
.sec--pedido { background: linear-gradient(180deg, var(--rosa) 0%, var(--crema-2) 100%); }
.pedido { display: grid; gap: 32px; }
.pedido__copy p { color: var(--gris); margin-top: 16px; max-width: 30em; }
.pedido__tel a { color: var(--vino); font-weight: 600; }
@media (min-width: 900px) { .pedido { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } .pedido__copy { position: sticky; top: 110px; } }

.form { background: var(--blanco); border-radius: 24px; padding: 24px 20px; box-shadow: var(--sombra); display: grid; gap: 18px; }
@media (min-width: 700px) { .form { padding: 34px; } }
.campo { border: 0; margin: 0; padding: 0; min-width: 0; }
.campo--2 { display: grid; gap: 16px; }
@media (min-width: 520px) { .campo--2 { grid-template-columns: 1fr 1fr; } }
.campo label, .campo legend { display: block; font-size: .88rem; font-weight: 600; color: var(--vino); margin-bottom: 7px; padding: 0; }
.campo label.check { color: var(--tinta); font-weight: 500; margin-bottom: 0; }
.campo input[type="text"], .campo input[type="tel"], .campo input[type="email"], .campo input[type="date"],
.campo select, .campo textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid rgba(106, 40, 56, .2); background-color: var(--crema); font-size: 1rem;
  transition: border-color .2s ease, background-color .2s ease;
  -webkit-appearance: none; appearance: none;
}
.campo select { padding-right: 40px; }
.campo textarea { resize: vertical; min-height: 96px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--vino); background-color: var(--blanco); }
.campo input:disabled { opacity: .5; }
.campo [aria-invalid="true"] { border-color: var(--error); background-color: #FFF7F6; }
::placeholder { color: #A8948F; }

.opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.opcion { position: relative; cursor: pointer; margin: 0 !important; }
.opcion input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opcion span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px;
  border: 1.5px solid rgba(106, 40, 56, .22); font-size: .9rem; font-weight: 500; color: var(--tinta);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.opcion input:checked + span { background: var(--vino); border-color: var(--vino); color: var(--crema); }
.opcion input:focus-visible + span { outline: 2px solid var(--vino); outline-offset: 3px; }

/* ---------- Nosotros ---------- */
.nosotros { display: grid; gap: 36px; }
.nosotros__art { width: min(100%, 300px); margin: 0 auto; }
.arch--sm { aspect-ratio: 3 / 4; }
.nosotros__copy p { color: var(--gris); margin-top: 16px; max-width: 36em; }
.cita { margin: 30px 0 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--oro); }
.cita blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 5vw, 1.9rem); line-height: 1.22; color: var(--vino); }
.cita figcaption { font-size: .86rem; color: var(--gris); margin-top: 10px; }
@media (min-width: 900px) { .nosotros { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; } .nosotros__art { width: min(100%, 360px); } }

/* ---------- Contacto ---------- */
.sec--contacto { background: var(--blanco); border-top: 1px solid rgba(169, 129, 61, .18); }
.contacto { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 900px) { .contacto { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.tarjeta {
  display: flex; flex-direction: column; gap: 4px; padding: 22px 18px; border-radius: var(--radio);
  background: var(--crema); border: 1px solid var(--linea); text-decoration: none; min-width: 0;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
a.tarjeta:hover { transform: translateY(-4px); box-shadow: var(--sombra); border-color: var(--oro); }
.tarjeta svg { width: 30px; height: 30px; color: var(--oro); margin-bottom: 12px; }
.tarjeta__t { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--vino); line-height: 1.1; }
.tarjeta__d { font-size: .88rem; color: var(--gris); overflow-wrap: anywhere; }
.tarjeta--wa { background: var(--wa); border-color: var(--wa); }
.tarjeta--wa svg, .tarjeta--wa .tarjeta__t { color: #fff; }
.tarjeta--wa .tarjeta__d { color: rgba(255, 255, 255, .9); }

/* ---------- Pie ---------- */
.footer { background: var(--vino-2); color: rgba(251, 245, 239, .78); padding: 56px 0 100px; }
.footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; }
.footer__marca { grid-column: 1 / -1; display: grid; justify-items: start; gap: 14px; }
.footer__logo { display: block; border-radius: 50%; transition: transform .25s ease; }
.footer__logo img { width: 104px; height: 104px; border-radius: 50%; }
.footer__logo:hover { transform: scale(1.05); }
.footer__marca p { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.3; max-width: 18em; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.footer h2 { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--oro-claro); margin-bottom: 6px; }
.footer__col a, .footer__col p { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; text-decoration: none; }
.footer__col a:hover { color: var(--crema); text-decoration: underline; }
.footer__col svg { width: 18px; height: 18px; flex: none; }
.footer__legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(251, 245, 239, .15); font-size: .8rem; letter-spacing: .06em; opacity: .75; }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  .footer__marca { grid-column: auto; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-flotante {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 14px 28px -10px rgba(14, 115, 61, .8);
  transition: transform .2s ease, background-color .2s ease;
}
.wa-flotante::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: pulso 2.6s ease-out infinite;
}
.wa-flotante svg { width: 30px; height: 30px; stroke-width: 1.7; }
.wa-flotante:hover { transform: scale(1.08); background: var(--wa-2); }
@keyframes pulso { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Aparición al hacer scroll ---------- */
.rev { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rev--in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pp__pista { scroll-behavior: auto; }
}

/* ---------- Seguimiento del pedido ---------- */
.seg-estado { max-width: 560px; margin: 26px auto; }
.pasos-seg { list-style: none; margin: 0; padding: 0; display: grid; }
.pasos-seg li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding-bottom: 22px; color: var(--gris); }
.pasos-seg li:last-child { padding-bottom: 0; }
.pasos-seg li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 34px; bottom: 2px; width: 2px; background: var(--linea); }
.pasos-seg li.hecho:not(:last-child)::after { background: var(--oro-claro); }
.pasos-seg__punto { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--linea); background: var(--blanco); color: #fff; }
.pasos-seg__punto svg { width: 16px; height: 16px; stroke-width: 2.6; }
.pasos-seg li.hecho .pasos-seg__punto { background: var(--oro); border-color: var(--oro); }
.pasos-seg li.actual .pasos-seg__punto { background: var(--vino); border-color: var(--vino); box-shadow: 0 0 0 6px rgba(106, 40, 56, .12); }
.pasos-seg strong { display: block; font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; color: var(--tinta); }
.pasos-seg li.actual strong { color: var(--vino); }
.pasos-seg li:not(.hecho):not(.actual) strong { color: var(--gris); opacity: .75; }
.pasos-seg p { font-size: .88rem; margin-top: 2px; }
.seg-actualizado { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--linea); font-size: .82rem; color: var(--gris); }
.seg-actualizado svg { width: 16px; height: 16px; color: var(--oro); }
.seg-cancelado { display: flex; gap: 14px; align-items: flex-start; color: var(--error); }
.seg-cancelado svg { width: 30px; height: 30px; flex: none; }
.seg-cancelado p { color: var(--gris); font-size: .9rem; }
.seg-pago { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--rosa); color: var(--vino); font-weight: 600; font-size: .9rem; }
.seg-pago svg { width: 18px; height: 18px; }
.seg-pago--pagado { background: #E7F4EC; color: var(--wa-2); }
.seg-nota { margin: 12px 0; font-size: .88rem; color: var(--gris); }
