/* =========================================================
   LIMPIEZA MAGISTRAL — estilos
   Índice:
   1. Variables (colores, tipografía, espacios)
   2. Base
   3. Utilidades y botones
   4. Cabecera y navegación
   5. Hero
   6. Productos
   7. Cómo pedir
   8. Nosotros
   9. Contacto y pie
   10. Carrito (panel lateral)
   11. Aviso y botón flotante
   12. Responsive y movimiento reducido
   ========================================================= */

/* 1. VARIABLES ------------------------------------------- */
:root {
  /* Paleta tomada del logo */
  --verde-noche: #0A3A1C;   /* pie de página */
  --verde-bosque: #0E4D25;  /* hero, títulos */
  --verde-logo: #1B7A35;    /* botones principales */
  --verde-lima: #7DC243;    /* burbujas, acentos */
  --menta: #EAF4E1;         /* fondos suaves */
  --menta-2: #D8EBC8;       /* bordes suaves */
  --blanco: #FFFFFF;
  --tinta: #14261A;         /* texto */
  --tinta-suave: #4A5E50;
  --wsp: #25D366;

  /* Fondo de la foto según categoría */
  --tono-hogar: #EFEAF8;
  --tono-cocina: #F3F7DC;
  --tono-ropa: #E6F1FA;
  --tono-bano: #E3F3EA;
  --tono-autos: #FBE9E7;

  --f-titulo: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --f-texto: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radio-s: 10px;
  --radio-m: 18px;
  --radio-l: 28px;
  --ancho: 1180px;
  --cabecera: 72px;
}

/* 2. BASE ------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--cabecera) + 12px); }

body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
}

body.sin-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--f-titulo);
  color: var(--verde-bosque);
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}
h2 { font-size: clamp(2rem, 3vw + 1rem, 3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

a { color: var(--verde-logo); }

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

.contenedor {
  width: min(100% - 2.5rem, var(--ancho));
  margin-inline: auto;
}

.saltar {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--verde-bosque);
  color: var(--blanco);
  border-radius: var(--radio-s);
}
.saltar:focus { top: 1rem; }

/* 3. BOTONES --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 1rem/1 var(--f-texto);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active { transform: scale(0.97); }

.btn--lima { background: var(--verde-lima); color: var(--verde-noche); }
.btn--lima:hover { background: #8fd251; }

.btn--linea { border-color: rgba(255, 255, 255, 0.6); color: var(--blanco); }
.btn--linea:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--blanco); }

.btn--verde { background: var(--verde-logo); color: var(--blanco); }
.btn--verde:hover { background: var(--verde-bosque); }

.btn--wsp { background: var(--wsp); color: #06331A; }
.btn--wsp:hover { background: #3ee07b; }

.btn--grande { min-height: 56px; padding-inline: 2rem; font-size: 1.1rem; }
.btn--bloque { width: 100%; }

.btn-texto {
  background: none;
  border: 0;
  padding: 0.25rem;
  font: 600 0.9rem var(--f-texto);
  color: var(--tinta-suave);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.btn-texto:hover { color: var(--verde-bosque); }

/* 4. CABECERA -------------------------------------------- */
/* Franja de promoción (precio por mayor), encima de la cabecera */
.franja {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 1rem;
  padding: 0.6rem 1.25rem;
  background: var(--verde-lima);
  color: var(--verde-noche);
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
}
.franja strong { font-weight: 800; }
.franja__cta {
  padding: 0.15rem 0.75rem;
  border-radius: 999px;
  background: var(--verde-noche);
  color: var(--verde-lima);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}
.franja:hover .franja__cta { background: var(--verde-bosque); }

.cabecera {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--menta-2);
}

.cabecera__fila {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--cabecera);
}

.marca {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font: 800 1rem/1 var(--f-titulo);
  color: var(--verde-bosque);
  letter-spacing: -0.01em;
}

.nav { display: flex; gap: 0.25rem; margin-left: auto; }
.nav a {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: var(--tinta);
  font-weight: 600;
  text-decoration: none;
}
.nav a:hover { background: var(--menta); color: var(--verde-bosque); }

.cabecera__acciones { display: flex; align-items: center; gap: 0.5rem; }

.btn-carrito {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.4rem 0.5rem 0.4rem 1rem;
  border: 2px solid var(--verde-logo);
  border-radius: 999px;
  background: var(--blanco);
  color: var(--verde-bosque);
  font: 700 0.95rem var(--f-texto);
  cursor: pointer;
}
.btn-carrito:hover { background: var(--menta); }
.btn-carrito svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-carrito svg circle { fill: currentColor; stroke: none; }

.btn-carrito__contador {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--verde-logo);
  color: var(--blanco);
  font-size: 0.85rem;
}
.btn-carrito__contador.is-vacio { background: var(--menta-2); color: var(--tinta-suave); }
.btn-carrito__contador.rebote { animation: rebote 0.45s ease; }
@keyframes rebote {
  30% { transform: scale(1.35); }
  60% { transform: scale(0.9); }
}

.btn-menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--menta);
  cursor: pointer;
  padding: 12px 11px;
  flex-direction: column;
  justify-content: space-between;
}
.btn-menu span { display: block; height: 2.5px; border-radius: 2px; background: var(--verde-bosque); }

/* 5. HERO ------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 80% 40%, #1B7A35 0%, transparent 70%),
    var(--verde-bosque);
  color: var(--blanco);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(5rem, 9vw, 8rem);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero h1 {
  color: var(--blanco);
  font-size: clamp(2.5rem, 4.6vw + 1rem, 4.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 13ch;
  margin-bottom: 0.4em;
}

.hero__texto > p {
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.25rem);
  max-width: 46ch;
  color: #D6EBCB;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 2.25rem; }

.hero__datos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
  color: #D6EBCB;
}
.hero__datos li { display: flex; align-items: center; gap: 0.5rem; }
.hero__datos li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--verde-lima);
  box-shadow: 0 0 0 4px rgba(125, 194, 67, 0.25);
}

.hero__sello {
  justify-self: center;
  width: min(100%, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 10px;
  background: var(--blanco);
  box-shadow:
    0 0 0 14px rgba(125, 194, 67, 0.18),
    0 0 0 30px rgba(125, 194, 67, 0.08),
    0 30px 60px rgba(0, 0, 0, 0.3);
}
.hero__sello img { width: 100%; height: 100%; object-fit: contain; }

/* Burbujas que suben: el único movimiento automático de la página */
.hero__burbujas { position: absolute; inset: 0; pointer-events: none; }
.hero__burbujas span {
  position: absolute;
  left: var(--x);
  bottom: -60px;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.7) 0 12%, rgba(125, 194, 67, 0.35) 45%, rgba(125, 194, 67, 0.1) 70%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: subir var(--d) linear var(--r) infinite;
  opacity: 0;
}
@keyframes subir {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(18px, -45vh); }
  90% { opacity: 0.8; }
  100% { transform: translate(-10px, -95vh); opacity: 0; }
}

.hero__onda {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: clamp(40px, 6vw, 80px);
  fill: var(--menta);
}

/* 6. PRODUCTOS ------------------------------------------- */
.productos { background: var(--menta); padding: 3rem 0 5rem; }

.seccion__cabeza { max-width: 640px; margin-bottom: 2rem; }
.seccion__cabeza p { color: var(--tinta-suave); font-size: 1.1rem; }

/* Banner de precio por mayor */
.promo {
  display: flex;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-bottom: 2rem;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 4vw, 2.5rem);
  border-radius: var(--radio-l);
  background: var(--verde-bosque);
  color: #D6EBCB;
}
.promo p { margin: 0; }
.promo .promo__cifra {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(84px, 12vw, 120px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--verde-lima);
  color: var(--verde-noche);
  font: 800 clamp(2.2rem, 4vw, 3.2rem)/1 var(--f-titulo);
  box-shadow: 0 0 0 8px rgba(125, 194, 67, 0.25);
}
.promo .promo__titulo {
  margin-bottom: 0.35rem;
  font: 800 clamp(1.4rem, 1.6vw + 1rem, 2.1rem)/1.1 var(--f-titulo);
  color: var(--blanco);
}
.promo strong { color: var(--verde-lima); }

.filtros { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filtro {
  min-height: 42px;
  padding: 0.5rem 1.1rem;
  border: 2px solid var(--menta-2);
  border-radius: 999px;
  background: var(--blanco);
  color: var(--tinta);
  font: 600 0.95rem var(--f-texto);
  cursor: pointer;
}
.filtro:hover { border-color: var(--verde-lima); }
.filtro[aria-selected="true"] {
  background: var(--verde-bosque);
  border-color: var(--verde-bosque);
  color: var(--blanco);
}

.grid-productos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}
.grid-vacio { color: var(--tinta-suave); }

.producto {
  display: flex;
  flex-direction: column;
  background: var(--blanco);
  border-radius: var(--radio-l);
  padding: 0.6rem;
  border: 1px solid var(--menta-2);
}

.producto__foto {
  position: relative;
  border-radius: calc(var(--radio-l) - 8px);
  background: var(--tono-hogar);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.producto--cocina .producto__foto { background: var(--tono-cocina); }
.producto--ropa .producto__foto { background: var(--tono-ropa); }
.producto--bano .producto__foto { background: var(--tono-bano); }
.producto--autos .producto__foto { background: var(--tono-autos); }
.producto__foto img { width: 82%; height: 100%; object-fit: contain; }
/* Fotos reales (jpg): ocupan todo el marco */
.producto__foto--real img { width: 100%; object-fit: cover; }

.producto__sello {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--verde-bosque);
  color: var(--blanco);
  font-size: 0.8rem;
  font-weight: 700;
}

.producto__info { display: flex; flex-direction: column; flex: 1; padding: 1rem 0.6rem 0.5rem; }
.producto__info h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.producto__info > p { font-size: 0.95rem; color: var(--tinta-suave); line-height: 1.5; }

.producto__tamanos { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: auto 0 1rem; padding-top: 0.25rem; }
.tamano {
  min-height: 36px;
  padding: 0.3rem 0.8rem;
  border: 1.5px solid var(--menta-2);
  border-radius: var(--radio-s);
  background: var(--blanco);
  color: var(--tinta);
  font: 600 0.88rem var(--f-texto);
  cursor: pointer;
}
.tamano:hover { border-color: var(--verde-lima); }
.tamano[aria-pressed="true"] {
  border-color: var(--verde-logo);
  background: var(--menta);
  color: var(--verde-bosque);
  box-shadow: inset 0 0 0 1px var(--verde-logo);
}

.producto__compra { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.producto__precio { font: 800 1.5rem/1 var(--f-titulo); color: var(--verde-bosque); }
.btn--agregar { min-height: 44px; padding-inline: 1.2rem; }
.btn--agregar.is-ok { background: var(--verde-lima); color: var(--verde-noche); }

.producto__info .producto__mayor {
  align-self: flex-start;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--verde-lima);
  color: var(--verde-noche);
  font-size: 0.85rem;
  line-height: 1.3;
}
.producto__info .producto__mayor[hidden] { display: none; }

/* 7. CÓMO PEDIR ------------------------------------------ */
.pasos { padding: 5rem 0; }

.pasos__lista {
  counter-reset: paso;
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.pasos__lista::before {
  /* línea que une los pasos */
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  right: 33%;
  border-top: 2px dashed var(--menta-2);
}
.pasos__lista li { counter-increment: paso; position: relative; }
.pasos__lista li::before {
  content: counter(paso);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--verde-lima);
  color: var(--verde-noche);
  font: 800 1.5rem var(--f-titulo);
  position: relative;
  box-shadow: 0 0 0 8px var(--blanco);
}
.pasos__lista p { color: var(--tinta-suave); max-width: 32ch; }

/* 8. NOSOTROS -------------------------------------------- */
.nosotros { background: var(--menta); padding: 5rem 0; }
.nosotros__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.nosotros__texto p { max-width: 58ch; color: var(--tinta-suave); }
.nosotros__texto .nosotros__lead {
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--tinta);
  font-weight: 500;
}

.compromisos { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.compromisos li {
  background: var(--blanco);
  border-radius: var(--radio-m);
  padding: 1.25rem 1.5rem 1.25rem 3.75rem;
  position: relative;
}
.compromisos li::before {
  /* burbuja como viñeta, igual que en el logo */
  content: "";
  position: absolute;
  left: 1.4rem;
  top: 1.45rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #c6ec9f 0 20%, var(--verde-lima) 60%);
}
.compromisos h3 { margin-bottom: 0.2rem; }
.compromisos p { margin: 0; color: var(--tinta-suave); font-size: 0.98rem; }

/* 9. CONTACTO Y PIE -------------------------------------- */
.contacto { padding: 4rem 0; }
.contacto__caja {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radio-l);
  background: var(--verde-bosque);
  color: #D6EBCB;
}
.contacto__caja h2 { color: var(--blanco); font-size: clamp(1.8rem, 2.4vw + 1rem, 2.6rem); margin-bottom: 0.2em; }
.contacto__caja p { margin: 0; font-size: 1.1rem; }

.pie { background: var(--verde-noche); color: #B9D3AE; padding: 3.5rem 0 1.5rem; font-size: 0.95rem; }
.pie__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.pie h3 { color: var(--blanco); font-family: var(--f-texto); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.pie p { margin: 0 0 0.4rem; }
.pie a { color: #DDF0D2; }
.pie a:hover { color: var(--verde-lima); }
.pie__marca img { margin-bottom: 0.75rem; }
.pie__redes { display: flex; flex-direction: column; gap: 0.4rem; }
.pie .pie__legal { margin: 2.5rem auto 0; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; }

/* 10. CARRITO -------------------------------------------- */
.velo {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10, 58, 28, 0.45);
  opacity: 0;
  transition: opacity 0.25s;
}
.velo.is-visible { opacity: 1; }

.carrito {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--blanco);
  box-shadow: -20px 0 50px rgba(10, 58, 28, 0.2);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.3s;
}
.carrito.is-abierto { transform: none; visibility: visible; }
.carrito:focus { outline: none; }

.carrito__cabeza {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--menta-2);
}
.carrito__cabeza h2 { font-size: 1.6rem; margin: 0; }
.carrito__cerrar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--menta);
  cursor: pointer;
}
.carrito__cerrar svg { width: 20px; stroke: var(--verde-bosque); stroke-width: 2.5; stroke-linecap: round; }

.carrito__cuerpo { flex: 1; overflow-y: auto; padding: 0.5rem 1.5rem 1.5rem; }
.carrito__lista { list-style: none; margin: 0; padding: 0; }

.linea {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--menta);
}
.linea img { width: 64px; height: 64px; border-radius: 14px; background: var(--menta); padding: 4px; object-fit: contain; }
.linea img[src$=".jpg"] { padding: 0; object-fit: cover; }
.linea__info { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.linea__info strong { line-height: 1.25; }
.linea__info > span { font-size: 0.85rem; color: var(--tinta-suave); }
.linea__lado { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.linea__subtotal { font-weight: 700; color: var(--verde-bosque); white-space: nowrap; }

.cantidad {
  display: inline-flex;
  align-items: center;
  margin-top: 0.4rem;
  border: 1.5px solid var(--menta-2);
  border-radius: 999px;
  width: max-content;
}
.cantidad button {
  width: 36px;
  height: 34px;
  border: 0;
  background: none;
  font-size: 1.2rem;
  color: var(--verde-bosque);
  cursor: pointer;
  border-radius: 999px;
}
.cantidad button:hover { background: var(--menta); }
.cantidad output { min-width: 28px; text-align: center; font-weight: 700; }

.carrito__vacio { text-align: center; padding: 3rem 1rem; }
.carrito__vacio p { color: var(--tinta-suave); font-size: 1.1rem; }

.carrito__datos { display: grid; gap: 0.8rem; margin-top: 1.5rem; }
.carrito__ayuda { margin: 0; font-size: 0.9rem; color: var(--tinta-suave); }
.carrito__datos label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.92rem; }
.carrito__datos input,
.carrito__datos textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--menta-2);
  border-radius: var(--radio-s);
  font: 400 1rem var(--f-texto);
  color: var(--tinta);
  resize: vertical;
}
.carrito__datos input:focus,
.carrito__datos textarea:focus { outline: none; border-color: var(--verde-logo); box-shadow: 0 0 0 3px rgba(125, 194, 67, 0.3); }

.carrito__pie { padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--menta-2); background: var(--blanco); text-align: center; }
.carrito__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.25rem; }
.carrito__total span { font-weight: 600; }
.carrito__total strong { font: 800 1.8rem var(--f-titulo); color: var(--verde-bosque); }
.carrito__nota { text-align: left; font-size: 0.85rem; color: var(--tinta-suave); margin-bottom: 1rem; }
.carrito__ahorro {
  margin: 0.25rem 0 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radio-s);
  background: var(--menta);
  color: var(--verde-bosque);
  font-size: 0.9rem;
  text-align: left;
}
.carrito__ahorro[hidden] { display: none; }

.linea__info s { opacity: 0.7; }
.linea__mayor {
  align-self: flex-start;
  margin-top: 0.2rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--menta);
  color: var(--verde-bosque);
  font-size: 0.78rem;
  font-weight: 600;
}
.linea__mayor.is-aplicado { background: var(--verde-lima); color: var(--verde-noche); }
.carrito__pie .btn-texto { margin-top: 0.6rem; }

/* 11. AVISO Y BOTÓN FLOTANTE ----------------------------- */
.aviso {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: calc(100% - 120px);
  padding: 0.75rem 0.75rem 0.75rem 1.2rem;
  border-radius: 999px;
  background: var(--verde-bosque);
  color: var(--blanco);
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: 0 12px 30px rgba(10, 58, 28, 0.3);
  transform: translate(-50%, 150%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.aviso.is-visible { transform: translate(-50%, 0); }
.aviso button {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--verde-lima);
  color: var(--verde-noche);
  font: 700 0.9rem var(--f-texto);
  cursor: pointer;
}

.wsp-flotante {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wsp);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s;
}
.wsp-flotante:hover { transform: scale(1.06); }
.wsp-flotante svg { width: 32px; height: 32px; fill: var(--blanco); }

/* 12. RESPONSIVE ----------------------------------------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__sello { width: min(58vw, 280px); order: -1; }
  .nosotros__grid { grid-template-columns: 1fr; }
  .pie__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .btn-menu { display: flex; }
  .nav {
    position: absolute;
    top: var(--cabecera);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: var(--blanco);
    border-bottom: 1px solid var(--menta-2);
    box-shadow: 0 20px 30px rgba(10, 58, 28, 0.1);
    display: none;
  }
  .nav.is-abierto { display: flex; }
  .nav a { padding: 0.85rem 0.5rem; border-radius: var(--radio-s); }
  .cabecera__acciones { margin-left: auto; }

  .pasos__lista { grid-template-columns: 1fr; gap: 1.5rem; }
  .pasos__lista::before { top: 28px; bottom: 28px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed var(--menta-2); }
  .pasos__lista li { padding-left: 76px; min-height: 56px; }
  .pasos__lista li::before { position: absolute; left: 0; top: 0; margin: 0; }
}

@media (max-width: 520px) {
  body { font-size: 1rem; }
  .btn-carrito > span:not(.btn-carrito__contador) { display: none; }
  .btn-carrito { padding: 0.4rem 0.5rem 0.4rem 0.7rem; }
  .marca span { font-size: 0.9rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .grid-productos { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .producto { padding: 0.4rem; border-radius: var(--radio-m); }
  .producto__foto { border-radius: 14px; }
  .producto__info { padding: 0.75rem 0.3rem 0.3rem; }
  .producto__info h3 { font-size: 1.05rem; }
  .producto__info > p { display: none; }
  .producto__compra { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .producto__precio { font-size: 1.25rem; }
  .tamano { font-size: 0.8rem; padding: 0.25rem 0.55rem; }
  .pie__grid { grid-template-columns: 1fr; }
  .filtros { flex-wrap: nowrap; overflow-x: auto; margin-inline: -1.25rem; padding: 0 1.25rem 0.25rem; scrollbar-width: none; }
  .filtro { flex-shrink: 0; }
  .aviso { left: 16px; right: 88px; max-width: none; transform: translateY(150%); border-radius: var(--radio-m); }
  .aviso.is-visible { transform: none; }
  .franja { font-size: 0.85rem; }
  .franja__cta { display: none; }
  .promo { flex-direction: column; align-items: flex-start; }
  .producto__info .producto__mayor { font-size: 0.75rem; border-radius: var(--radio-s); }
}

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