/* Tienda Víctor Naturista — estructura tipo app de delivery, look de tienda naturista.
   Referencia: tiendas naturistas mexicanas (p. ej. Shaya Michan: títulos Playfair Display, verde hoja y rojo terracota).
   Paleta: verde bosque #2f5d3a, verde hoja #5f8f4e, salvia #dfe8d3, crema #f7f2e7, tierra #8a5a3b, miel #d99a2b, terracota #b5443b.
   Tipografías (Google Fonts, libres): Playfair Display (títulos) y Nunito (texto). */
:root {
  --naranja: #2f5d3a;
  --naranja-2: #5f8f4e;
  --naranja-osc: #22452b;
  --naranja-claro: #f1f4ea;
  --profundo: #1f3d26;
  --lila: #dfe8d3;
  --ambar: #d99a2b;
  --texto: #2e3a2f;
  --gris: #66705f;
  --gris-2: #9aa293;
  --borde: #e8e2d2;
  --fondo: #f7f2e7;
  --blanco: #fffdf8;
  --verde: #3f8a3c;
  --r: 18px;
  --sombra: 0 2px 10px rgba(31, 61, 38, .07);
  --sombra-2: 0 10px 30px rgba(31, 61, 38, .18);
  --top-h: 132px;
  --f-tit: "Playfair Display", Georgia, "Times New Roman", serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 150px; }
body {
  margin: 0; background: var(--blanco); color: var(--texto);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px; line-height: 1.35; -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}
body.con-carrito { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
body.bloqueado { overflow: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
a { color: var(--naranja-osc); }

/* ---------- Encabezado ---------- */
.top { position: sticky; top: 0; z-index: 40; background: var(--blanco); transition: box-shadow .2s; }
.top.sombra { box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.top__in {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "marca entrega carrito" "buscar buscar buscar";
  gap: 10px 12px; align-items: center; padding: 10px 14px 8px; max-width: 1240px; margin: 0 auto;
}
.marca { grid-area: marca; display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--texto); }
.marca__logo {
  width: 38px; height: 38px; border-radius: 12px; background: var(--naranja); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 15px; letter-spacing: -.5px;
  box-shadow: 0 3px 8px rgba(47, 93, 58, .35);
}
.marca__txt { display: flex; flex-direction: column; line-height: 1.05; }
.marca__txt strong { font-size: 17px; font-weight: 700; letter-spacing: -.3px; }
.marca__txt small { font-size: 11.5px; color: var(--gris); font-weight: 700; }
.entrega {
  grid-area: entrega; justify-self: start; display: flex; align-items: center; gap: 6px; border: 0; background: none;
  color: var(--texto); padding: 4px 6px; border-radius: 10px; min-width: 0; text-align: left;
}
.entrega svg { color: var(--naranja); flex: none; }
.entrega span { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.entrega small { font-size: 11px; color: var(--gris); font-weight: 700; }
.entrega strong { font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buscador {
  grid-area: buscar; display: flex; align-items: center; gap: 8px; background: var(--fondo); border-radius: 14px;
  padding: 0 12px; height: 46px; border: 1.5px solid transparent; transition: border-color .15s, background .15s;
}
.buscador:focus-within { border-color: var(--naranja); background: #fff; }
.buscador svg { color: var(--gris); flex: none; }
.buscador input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; font-weight: 600; color: var(--texto);
}
.buscador input::placeholder { color: var(--gris-2); font-weight: 600; }
.buscador input::-webkit-search-cancel-button { display: none; }
.buscador__x { border: 0; background: #dcdde1; width: 22px; height: 22px; border-radius: 50%; line-height: 1; font-size: 16px; color: #555; padding: 0; }
.carrito-top {
  grid-area: carrito; position: relative; display: flex; align-items: center; gap: 6px; border: 0; background: var(--naranja-claro);
  color: var(--naranja-osc); height: 40px; padding: 0 10px; border-radius: 12px; font-weight: 800;
}
.carrito-top__txt { display: none; }
.burbuja {
  position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--naranja);
  color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .2s;
  border: 2px solid #fff;
}
.burbuja.on { transform: scale(1); }

/* ---------- Chips de categoría ---------- */
.chips { border-bottom: 1px solid var(--borde); }
.chips__in {
  display: flex; gap: 6px; overflow-x: auto; padding: 4px 10px 10px; max-width: 1240px; margin: 0 auto;
  scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.chips__in::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: 5px; border: 0; background: none; padding: 2px 4px;
  width: 76px; scroll-snap-align: start;
}
.chip__img {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--fondo); border: 2.5px solid transparent;
  transition: border-color .15s, transform .15s; box-shadow: var(--sombra);
}
.chip__img img { width: 100%; height: 100%; object-fit: cover; }
.chip__txt { font-size: 12.5px; font-weight: 800; color: var(--gris); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.chip.activo .chip__img { border-color: var(--naranja); transform: translateY(-1px); }
.chip.activo .chip__txt { color: var(--naranja-osc); }

/* ---------- Contenido ---------- */
.main { max-width: 1240px; margin: 0 auto; padding: 12px 14px 24px; }
.banners {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -14px; padding: 2px 14px 6px;
  scrollbar-width: none;
}
.banners::-webkit-scrollbar { display: none; }
.banner {
  position: relative; flex: none; width: 88%; max-width: 560px; min-height: 168px; border-radius: 20px; overflow: hidden;
  scroll-snap-align: center; display: flex; color: #fff; background: var(--naranja);
}
.banner--a { background: linear-gradient(125deg, #2f5d3a 0%, #4f7d42 100%); }
.banner--b { background: linear-gradient(125deg, #1f3d26 0%, #2f5d3a 100%); }
.banner--c { background: linear-gradient(125deg, #e6eedc 0%, #f7f2e7 100%); color: var(--profundo); }
.banner__txt { position: relative; z-index: 2; padding: 16px 16px 16px; width: 62%; display: flex; flex-direction: column; gap: 6px; }
.banner__tag { align-self: flex-start; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; background: rgba(255,255,255,.22); padding: 3px 8px; border-radius: 999px; }
.banner--c .banner__tag { background: rgba(0,0,0,.1); }
.banner h1, .banner h2 { margin: 0; font-size: 19px; line-height: 1.12; font-weight: 700; letter-spacing: -.3px; }
.banner p { margin: 0; font-size: 12.5px; font-weight: 700; opacity: .92; }
.banner__btn {
  margin-top: auto; align-self: flex-start; border: 0; background: #fff; color: var(--naranja-osc); font-weight: 700; font-size: 13px;
  padding: 8px 14px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.banner--b .banner__btn { color: var(--profundo); }
.banner--c .banner__btn { background: var(--naranja); color: #fff; }
.banner__img {
  position: absolute; right: 6px; bottom: 8px; height: 86%; width: 40%; object-fit: contain; border-radius: 16px;
  background: #fff; padding: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.banner__img--2 { right: 30%; bottom: 14px; height: 60%; width: 26%; transform: rotate(-6deg); z-index: 1; display: none; }
.beneficios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 4px; }
.beneficio {
  display: flex; align-items: center; gap: 8px; background: var(--fondo); border-radius: 14px; padding: 9px 10px; font-size: 12.5px; color: var(--gris); font-weight: 700;
}
.beneficio strong { color: var(--texto); display: block; font-weight: 700; }
.beneficio__ico { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--naranja); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }

.sec { margin-top: 22px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.sec-head h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.3px; }
.sec-sub { font-size: 13px; color: var(--gris); font-weight: 700; }
.resultados { margin-top: 10px; }
.cargando { text-align: center; color: var(--gris); padding: 40px 10px; font-weight: 700; }
.vacio { text-align: center; color: var(--gris); padding: 30px 10px; }
.vacio p { margin: 4px 0; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.carrusel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -14px; padding: 0 14px 6px; scrollbar-width: none;
}
.carrusel::-webkit-scrollbar { display: none; }
.carrusel .card { scroll-snap-align: start; }

/* ---------- Tarjeta de producto ---------- */
.card { position: relative; min-width: 0; }
.card__foto {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; background: var(--fondo);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.03);
}
.card--combo .card__foto { aspect-ratio: 4 / 3; }
.card__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card__foto img { transform: scale(1.03); }
.card__desc {
  position: absolute; z-index: 2; top: 8px; left: 8px; background: var(--naranja); color: #fff; font-weight: 700; font-size: 12px;
  padding: 3px 8px; border-radius: 8px;
}
.card__info { padding: 8px 2px 0; }
.card__precio { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.2px; }
.card__precio s { font-size: 13px; color: var(--gris-2); font-weight: 700; margin-left: 4px; }
.card__nombre {
  margin: 2px 0 0; font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--texto);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__unidad { margin: 2px 0 0; font-size: 12.5px; color: var(--gris); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__ahorro { margin: 4px 0 0; display: inline-block; font-size: 12px; font-weight: 700; color: var(--verde); background: #e8f7ee; padding: 2px 8px; border-radius: 6px; }

/* Control + / − sobre la foto */
.ctrl {
  position: absolute; z-index: 3; right: 8px; bottom: 8px; display: flex; align-items: center; background: #fff; border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0,0,0,.18); height: 38px; overflow: hidden; transition: width .2s;
}
.ctrl__btn {
  width: 38px; height: 38px; border: 0; background: transparent; display: grid; place-items: center; font-size: 22px; font-weight: 800; line-height: 1;
  color: var(--naranja); padding: 0; touch-action: manipulation;
}
.ctrl__mas { background: var(--naranja); color: #fff; border-radius: 50%; }
.ctrl__menos, .ctrl__n { display: none; }
.ctrl__n { min-width: 22px; text-align: center; font-weight: 700; font-size: 15px; }
.ctrl.activo .ctrl__menos, .ctrl.activo .ctrl__n { display: grid; }
.ctrl.activo .ctrl__n { display: block; }
.ctrl.activo .ctrl__mas { background: transparent; color: var(--naranja); border-radius: 0; }
.ctrl.activo { background: #fff; outline: 2px solid var(--naranja); outline-offset: -2px; }
.ctrl--fila { position: static; flex: none; box-shadow: none; height: 36px; }
.ctrl--fila .ctrl__btn { width: 34px; height: 36px; }

/* ---------- Carrito flotante ---------- */
.flotante {
  position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 16px 0 10px; border: 0; border-radius: 16px;
  background: var(--naranja); color: #fff; font-weight: 700; font-size: 16px; box-shadow: 0 8px 24px rgba(47, 93, 58, .42);
  transition: transform .25s, opacity .25s;
}
.flotante.vacio { transform: translateY(140%); opacity: 0; pointer-events: none; }
.flotante__n { min-width: 34px; height: 34px; border-radius: 10px; background: rgba(0,0,0,.16); display: grid; place-items: center; font-size: 15px; }
.flotante__txt { flex: 1; text-align: left; }
.flotante__total { font-size: 17px; }

/* ---------- Cajón del carrito ---------- */
.velo { position: fixed; inset: 0; z-index: 60; background: rgba(15, 15, 20, .45); opacity: 0; transition: opacity .25s; }
.velo.on { opacity: 1; }
.cajon {
  position: fixed; z-index: 61; left: 0; right: 0; bottom: 0; max-height: 92vh; max-height: 92dvh; background: #fff; border-radius: 22px 22px 0 0;
  display: flex; flex-direction: column; transform: translateY(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1); box-shadow: var(--sombra-2);
}
.cajon.on { transform: none; }
.cajon__head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--borde); }
.cajon__head h2 { flex: 1; margin: 0; font-size: 18px; font-weight: 700; text-align: center; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--fondo); display: grid; place-items: center; }
.btn-link { border: 0; background: none; color: var(--naranja-osc); font-weight: 800; padding: 8px; text-decoration: underline; text-underline-offset: 3px; }
.cajon__head .btn-link { min-width: 58px; }
.cajon__body { flex: 1; overflow-y: auto; padding: 6px 14px 14px; -webkit-overflow-scrolling: touch; }
.cajon__vacio { text-align: center; color: var(--gris); padding: 40px 10px; }
.cajon__vacio-ico { width: 76px; height: 76px; border-radius: 50%; background: var(--naranja-claro); color: var(--naranja); display: grid; place-items: center; margin: 0 auto 10px; }
.cajon__vacio p { margin: 4px 0; }
.fila { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--borde); }
.fila img { width: 62px; height: 62px; border-radius: 12px; object-fit: cover; background: var(--fondo); flex: none; }
.fila__info { flex: 1; min-width: 0; }
.fila__info p { margin: 0; }
.fila__nombre { font-weight: 800; font-size: 14px; line-height: 1.2; }
.fila__det { font-size: 12px; color: var(--gris); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fila__sub { font-weight: 700; font-size: 15px; margin-top: 2px !important; }

.entrega-form { margin-top: 14px; }
.entrega-form h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.campo { margin-bottom: 10px; }
.campo label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 4px; }
.campo input {
  width: 100%; height: 46px; border-radius: 12px; border: 1.5px solid var(--borde); background: var(--fondo); padding: 0 12px;
  font: inherit; font-size: 16px; font-weight: 600; color: var(--texto); outline: 0;
}
.campo input:focus { border-color: var(--naranja); background: #fff; }
.campo__err { display: none; color: #d12a2a; font-size: 12.5px; font-weight: 800; margin-top: 3px; }
.campo.error input { border-color: #d12a2a; background: #fff6f6; }
.campo.error .campo__err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.pago { background: var(--naranja-claro); border-radius: 14px; padding: 12px; margin-top: 6px; border: 1px dashed #c9d8b7; }
.pago p { margin: 0; }
.pago__t { font-weight: 700; font-size: 13.5px; }
.pago__banco { font-size: 13px; color: var(--gris); font-weight: 700; margin: 2px 0 6px !important; }
.pago__fila { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 2px 0; }
.pago__fila span { color: var(--gris); font-weight: 700; }
.pago__num { letter-spacing: .6px; }
.btn-copiar { margin-top: 8px; border: 0; background: #fff; color: var(--naranja-osc); font-weight: 700; font-size: 13px; padding: 7px 12px; border-radius: 999px; box-shadow: var(--sombra); }
.pago__nota { font-size: 12px; color: var(--gris); margin-top: 6px !important; font-weight: 600; }

.cajon__foot { padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--borde); background: #fff; }
.resumen { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; font-weight: 800; }
.resumen strong { font-size: 22px; font-weight: 700; }
.resumen__nota { margin: 2px 0 10px; font-size: 12px; color: var(--gris); font-weight: 600; }
.btn-pedir {
  width: 100%; height: 54px; border: 0; border-radius: 14px; background: var(--naranja); color: #fff; font-weight: 700; font-size: 16.5px;
  display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; box-shadow: 0 6px 16px rgba(47, 93, 58, .35);
}
.btn-pedir:active, .flotante:active { transform: scale(.985); }
.btn-sec {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 16px; border-radius: 14px;
  border: 1.5px solid var(--borde); background: #fff; color: var(--texto); font-weight: 800; text-decoration: none; font-size: 15px;
}

/* ---------- Confirmación ---------- */
.conf { position: fixed; inset: 0; z-index: 80; background: rgba(15,15,20,.5); display: grid; place-items: end center; padding: 0; }
.conf__card {
  width: 100%; max-width: 480px; max-height: 94dvh; overflow-y: auto; background: #fff; border-radius: 22px 22px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom));
  text-align: center;
}
.conf__check { width: 60px; height: 60px; margin: 0 auto 8px; border-radius: 50%; background: #e8f7ee; color: var(--verde); display: grid; place-items: center; font-size: 30px; font-weight: 700; }
.conf h2 { margin: 0 0 6px; font-size: 21px; font-weight: 700; }
.conf p { margin: 4px 0; color: var(--gris); font-weight: 600; }
.conf__total { font-size: 17px; color: var(--texto) !important; }
.conf .pago { text-align: left; margin: 10px 0; }
.conf__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 8px; }
.conf__btns .btn-pedir--a { grid-column: 1 / -1; }
.conf__ayuda { font-size: 12.5px; }
.conf__ver { text-align: left; margin: 8px 0; font-size: 13px; }
.conf__ver summary { cursor: pointer; font-weight: 800; color: var(--naranja-osc); }
.conf__ver pre { white-space: pre-wrap; font-family: inherit; background: var(--fondo); padding: 10px; border-radius: 10px; font-size: 13px; }

.recomienda {
  margin-top: 30px; background: var(--fondo); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 10px;
}
.recomienda h3 { margin: 0; font-size: 17px; font-weight: 700; }
.recomienda p { margin: 2px 0 0; color: var(--gris); font-weight: 600; font-size: 14px; }
.pie { text-align: center; color: var(--gris); font-size: 13px; padding: 24px 0 8px; }
.pie p { margin: 4px 0; }
.pie__v { font-size: 12px; color: var(--gris-2); }

.toast {
  position: fixed; z-index: 90; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0;
  background: var(--profundo); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 800; font-size: 14px; pointer-events: none;
  transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); text-align: center; box-shadow: var(--sombra-2);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Tableta ---------- */
@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .carrusel { grid-auto-columns: 44%; }
  .banner { width: 70%; min-height: 200px; }
  .banner h1, .banner h2 { font-size: 24px; }
}

/* ---------- Escritorio ---------- */
@media (min-width: 960px) {
  :root { --r: 18px; }
  .top__in { grid-template-columns: auto auto 1fr auto; grid-template-areas: "marca entrega buscar carrito"; padding: 14px 24px; gap: 20px; }
  .marca__logo { width: 44px; height: 44px; font-size: 17px; }
  .marca__txt strong { font-size: 20px; }
  .buscador { max-width: 640px; width: 100%; justify-self: center; height: 48px; }
  .carrito-top { height: 46px; padding: 0 16px; }
  .carrito-top__txt { display: inline; }
  .chips__in { padding: 6px 24px 12px; gap: 10px; justify-content: flex-start; }
  .chip { width: 88px; }
  .chip__img { width: 64px; height: 64px; }
  .main { padding: 20px 24px 40px; }
  .banners { margin: 0; padding: 0 0 6px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; overflow: visible; }
  .banner { width: auto; max-width: none; min-height: 230px; }
  .banner--a .banner__txt { width: 55%; }
  .banner--b .banner__txt, .banner--c .banner__txt { width: 100%; padding-bottom: 20px; }
  .banner--b .banner__img, .banner--c .banner__img { width: 60%; opacity: .55; }
  .banner h1 { font-size: 28px; }
  .banner h2 { font-size: 21px; }
  .banner p { font-size: 14px; }
  .beneficios { max-width: 760px; }
  .beneficio { font-size: 14px; padding: 12px 14px; }
  .sec { margin-top: 32px; }
  .sec-head h2 { font-size: 24px; }
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 18px; }
  .carrusel { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; gap: 18px; }
  .card__precio { font-size: 18px; }
  .card__nombre { font-size: 15px; }
  .ctrl { right: 10px; bottom: 10px; height: 42px; }
  .ctrl__btn { width: 42px; height: 42px; }
  .ctrl--fila { height: 36px; }
  .ctrl--fila .ctrl__btn { width: 34px; height: 36px; }
  body.con-carrito { padding-bottom: 0; }
  .flotante { left: auto; right: 28px; bottom: 28px; width: 330px; height: 62px; border-radius: 18px; }
  .cajon { left: auto; top: 0; bottom: 0; width: 430px; max-height: none; border-radius: 22px 0 0 22px; transform: translateX(105%); }
  .cajon.on { transform: none; }
  .conf { place-items: center; padding: 20px; }
  .conf__card { border-radius: 22px; padding: 26px 24px; }
  .recomienda { flex-direction: row; align-items: center; justify-content: space-between; padding: 22px 26px; }
  .toast { bottom: 110px; }
}
@media (min-width: 1200px) {
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (hover: hover) {
  .chip:hover .chip__img { transform: translateY(-2px); }
  .ctrl__btn:hover { filter: brightness(.95); }
  .btn-pedir:hover, .flotante:hover { background: var(--naranja-osc); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }


/* ---------- Toques naturistas (títulos con serifa, fotos de catálogo, píldoras) ---------- */
.banner h1, .banner h2, .sec-head h2, .marca__txt strong, .cajon__head h2, .conf h2, .recomienda h3, .modal-pwa h3, .guardar h2 {
  font-family: var(--f-tit); font-weight: 500; letter-spacing: -.2px;
}
.banner h1, .banner h2 { font-size: 18px; line-height: 1.18; }
.sec-head h2 { font-size: 18px; color: var(--profundo); }
.marca__logo { background: linear-gradient(160deg, #5f8f4e, #22452b); font-family: var(--f-tit); font-weight: 500; letter-spacing: 0; border-radius: 50%; box-shadow: 0 3px 8px rgba(47,93,58,.35); }
.marca__txt strong { font-size: 16px; color: var(--profundo); }
.marca__txt small { color: var(--naranja); font-weight: 600; font-size: 11px; }
.aviso {
  background: var(--naranja); color: #fff; text-align: center; font-size: 12.5px; font-weight: 600; padding: 6px 12px; letter-spacing: .3px; text-transform: uppercase;
}
.aviso strong { font-weight: 700; }
.buscador { background: #fff; border: 1.5px solid #d6dcc6; border-radius: 999px; }
.buscador:focus-within { border-color: var(--naranja); }
.carrito-top { border-radius: 999px; }
.chip__img { background: #fff; border-color: var(--borde); }
.chip__txt { font-weight: 600; }
.chip.activo .chip__img { border-color: var(--naranja); }
.chip.activo .chip__txt { color: #fff; background: var(--naranja); border-radius: 999px; padding: 1px 8px; }
.card__foto { background: #fff; border: 1px solid var(--borde); box-shadow: none; }
.card__foto img { object-fit: contain; padding: 6%; }
.card__desc { background: var(--profundo); border-radius: 999px; font-weight: 700; }
.card__nuevo { position: absolute; z-index: 2; top: 8px; right: 8px; background: var(--ambar); color: var(--profundo); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.card__precio { color: var(--naranja-osc); }
.card__nombre { font-weight: 600; }
.card__unidad { font-weight: 500; }
.card__txt { margin: 4px 0 0; font-size: 12.5px; color: var(--gris); font-weight: 400; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card--agotado .card__foto img { opacity: .45; }
.card__agotado { position: absolute; z-index: 3; left: 8px; bottom: 10px; background: #fff; color: var(--gris); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; box-shadow: var(--sombra); }
.fila img { object-fit: contain; background: #fff; border: 1px solid var(--borde); }
.beneficio { background: var(--naranja-claro); }
.recomienda { background: var(--naranja-claro); }
.btn-pedir { border-radius: 999px; }
.flotante { border-radius: 999px; }
.flotante__n { border-radius: 50%; }

/* Bloque guardar tiendita */
.guardar { margin-top: 22px; background: linear-gradient(135deg, #f1f4ea, #e6eedc); border-radius: 22px; padding: 16px; }
.guardar h2 { margin: 0 0 4px; font-size: 16px; color: var(--profundo); }
.guardar p { margin: 0 0 12px; color: var(--gris); font-size: 13.5px; }
.guardar-tienda { display: grid; gap: 10px; }
.btn-guardar {
  display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 50px; padding: 10px 16px;
  border-radius: 999px; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
}
.btn-guardar--app { background: var(--naranja); color: #fff; border: 0; box-shadow: 0 6px 16px rgba(47,93,58,.3); }
.btn-guardar--contacto { background: #fff; color: var(--naranja-osc); border: 2px solid var(--naranja); }
.btn-guardar[hidden] { display: none !important; }
.modal-pwa { position: fixed; inset: 0; z-index: 2000; background: rgba(31, 61, 38, .55); display: flex; align-items: flex-end; justify-content: center; padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.modal-pwa[hidden] { display: none !important; }
.modal-pwa__caja { position: relative; width: 100%; max-width: 420px; background: #fff; color: var(--texto); border-radius: 22px; padding: 22px 18px 16px; box-shadow: var(--sombra-2); text-align: center; }
.modal-pwa__icono { border-radius: 16px; margin: 0 auto 10px; }
.modal-pwa h3 { font-size: 16px; margin: 0 0 8px; color: var(--profundo); }
.modal-pwa__clave { font-weight: 700; color: var(--naranja-osc); background: var(--naranja-claro); border-radius: 12px; padding: 10px; margin: 0 0 10px; }
.modal-pwa ol { text-align: left; margin: 0 0 14px 20px; padding: 0; font-size: 14.5px; line-height: 1.5; color: var(--gris); }
.modal-pwa li { margin-bottom: 5px; }
.modal-pwa__cerrar { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--naranja-claro); font-size: 24px; line-height: 1; }
.ico-compartir { display: inline-block; font-weight: 800; color: #007aff; }
body.con-modal-pwa { overflow: hidden; }

/* Pie verde bosque */
.pie { background: var(--profundo); color: #e3ecdc; border-radius: 22px; margin-top: 26px; padding: 22px 16px 18px; }
.pie a { color: #fff; }
.pie strong { color: #fff; font-family: var(--f-tit); font-weight: 500; }
.pie__leyenda { display: inline-block; margin: 6px 0 !important; font-size: 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 3px 10px; }
.pie__nota { font-size: 11.5px; color: #c3d2b8; max-width: 560px; margin: 8px auto !important; }
.pie__hecho { font-size: 12px; color: #c3d2b8; margin-top: 12px !important; }
.pie__hecho a { color: #e6eedc; }

@media (min-width: 560px) { .guardar-tienda { grid-template-columns: 1fr 1fr; } }
@media (min-width: 600px) { .banner__img--2 { display: block; } }
@media (min-width: 700px) { .modal-pwa { align-items: center; } }
@media (min-width: 960px) {
  .banner h1 { font-size: 24px; } .banner h2 { font-size: 19px; }
  .sec-head h2 { font-size: 21px; }
  .banner--b .banner__img, .banner--c .banner__img { opacity: 1; width: 38%; }
  .banner--b .banner__txt, .banner--c .banner__txt { width: 62%; }
  .guardar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; }
  .guardar-tienda { min-width: 460px; }
  .guardar p { margin: 0; }
}
@media (max-width: 420px) { .entrega { visibility: hidden; } }

/* (sin foto de persona en el encabezado) */
.marca__foto { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; display: block;
  border: 2px solid #5f8f4e; box-shadow: 0 3px 8px rgba(47,93,58,.35); background: #eef3e6; margin-left: -2px; }
@media (min-width: 960px) { .marca__foto { width: 44px; height: 44px; } }
@media (max-width: 370px) { .marca__logo, .marca__foto { width: 34px; height: 34px; } .marca__logo { font-size: 13px; } .marca { gap: 6px; } }


/* ---------- Víctor Naturista: ajustes finales ---------- */
body { background: var(--blanco); font-size: 15.5px; }
.banner h1, .banner h2, .sec-head h2, .marca__txt strong, .cajon__head h2, .conf h2, .recomienda h3, .modal-pwa h3, .guardar h2, .pie strong { font-weight: 700; letter-spacing: 0; }
.aviso { background: var(--profundo); text-transform: none; letter-spacing: .2px; font-size: 13px; }
.aviso::before { content: "🌿 "; }
.marca__logo { width: 40px; height: 40px; padding: 0; background: none; box-shadow: 0 3px 8px rgba(47,93,58,.3); overflow: hidden; border-radius: 50%; }
.marca__logo img { width: 100%; height: 100%; display: block; }
.marca__txt strong { color: var(--profundo); font-size: 17px; }
.marca__txt small { color: var(--naranja-2); font-weight: 700; font-size: 11.5px; }
.top { background: var(--blanco); }
.buscador { background: #fff; }
.chip__img { border-radius: 50%; }
.chip.activo .chip__txt { background: var(--naranja); }
.card__foto { background: #f7f2e7; border: 1px solid var(--borde); }
.card__foto img { object-fit: cover; padding: 0; }
.card__desc { background: #b5443b; }
.card__nuevo { background: var(--ambar); color: #fff; }
.card__precio { color: var(--profundo); font-weight: 800; }
.card__precio s { color: var(--gris-2); font-weight: 600; }
.card__nombre { font-weight: 700; color: var(--texto); }
.ctrl__mas { background: var(--naranja); }
/* Banner principal con la foto del magnesio */
.banner { color: #fff; }
.banner--a { background: radial-gradient(120% 140% at 0% 0%, #3d7347 0%, #2f5d3a 45%, #1f3d26 100%); min-height: 210px; }
.banner--a .banner__txt { width: 56%; }
.banner--a .banner__img { right: 0; bottom: 0; top: 0; height: 100%; width: 46%; object-fit: cover; border-radius: 0; padding: 0; background: none; box-shadow: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.banner--a .banner__tag { background: var(--ambar); color: #fff; }
.banner--b { background: linear-gradient(125deg, #8a5a3b 0%, #6b4129 100%); }
.banner--c { background: linear-gradient(125deg, #e6eedc 0%, #f7f2e7 100%); color: var(--profundo); }
.banner--b .banner__img, .banner--c .banner__img { object-fit: cover; padding: 0; border: 4px solid rgba(255,255,255,.85); }
.banner__btn { color: var(--profundo); }
.banner--c .banner__btn { background: var(--naranja); color: #fff; }
.banner__precio { display: inline-block; margin-top: 2px; font-weight: 800; font-size: 15px; color: #fff; }
.banner__precio s { opacity: .7; font-weight: 600; font-size: 13px; margin-left: 4px; }
.beneficio__ico { background: var(--naranja-2); }
.guardar { background: linear-gradient(135deg, #f1f4ea, #e6eedc); }
.recomienda { background: #f7f2e7; }
.salud-nota { margin: 18px 0 0; background: #fbf6ea; border: 1px solid #ecdfc2; border-radius: 16px; padding: 12px 14px; font-size: 13px; color: #6b5a3c; }
.salud-nota strong { color: #5a4526; }
.pie { background: var(--profundo); }
.pie__hecho a { color: #e6eedc; }
@media (min-width: 960px) {
  .banner--a { min-height: 250px; }
  .banner--a .banner__img { width: 48%; }
  .banner--b .banner__img, .banner--c .banner__img { opacity: 1; }
}
