/* =========================================================
   BOTANICAL LUXURY EXPERIENCE 2.0 — capa de efectos
   Solo transform / opacity / filter en lo que se anima. Todo se apaga con
   prefers-reduced-motion y en equipos de baja potencia (clase .ligero en <html>).
   ========================================================= */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* ---------- Ambiente de la portada ---------- */
.pt-brisa { position: absolute; overflow: hidden; pointer-events: none; }
.pt-brisa img { position: absolute; width: calc(1672 * var(--u)); height: calc(941 * var(--u)); max-width: none; object-fit: cover; }
.pt-brisa-izq { left: 0; top: calc(86 * var(--u)); width: calc(235 * var(--u)); height: calc(260 * var(--u)); filter: url(#brisa-a);
  -webkit-mask-image: linear-gradient(to right, #000 70%, transparent), linear-gradient(to bottom, #000 72%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, #000 70%, transparent), linear-gradient(to bottom, #000 72%, transparent); mask-composite: intersect; }
.pt-brisa-izq img { left: 0; top: calc(-86 * var(--u)); }
.pt-brisa-der { left: calc(1215 * var(--u)); top: calc(70 * var(--u)); width: calc(457 * var(--u)); height: calc(300 * var(--u)); filter: url(#brisa-b);
  -webkit-mask-image: linear-gradient(to left, #000 72%, transparent), linear-gradient(to bottom, #000 70%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to left, #000 72%, transparent), linear-gradient(to bottom, #000 70%, transparent); mask-composite: intersect; }
.pt-brisa-der img { left: calc(-1215 * var(--u)); top: calc(-70 * var(--u)); }

.pt-glow { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(ellipse 38% 46% at 20% 16%, rgba(255, 236, 186, .9), rgba(255, 236, 186, 0) 70%), radial-gradient(ellipse 30% 30% at 84% 30%, rgba(255, 244, 214, .55), transparent 70%);
  animation: luz-natural 13s ease-in-out infinite alternate; }
@keyframes luz-natural { 0% { opacity: .55; transform: translate3d(0, 0, 0); } 45% { opacity: .85; } 100% { opacity: .65; transform: translate3d(1.5%, .8%, 0); } }
.pt-light { opacity: .32; }
.pt-haze { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255, 248, 232, 0) calc(250 * var(--u)), rgba(255, 246, 226, .22) calc(330 * var(--u)), rgba(255, 246, 226, 0) calc(430 * var(--u))); animation: bruma 18s ease-in-out infinite alternate; }
@keyframes bruma { to { opacity: .45; transform: translate3d(0, calc(-10 * var(--u)), 0); } }

/* ---------- Jabón protagonista (2.5D) ---------- */
.hero-stage { transform-style: preserve-3d; }
@media (min-width: 1025px) { .hero-product { position: relative; } }
.hero-product { z-index: 2; filter: drop-shadow(0 calc(10 * var(--u)) calc(10 * var(--u)) rgba(70, 50, 20, .22)) drop-shadow(0 calc(26 * var(--u)) calc(30 * var(--u)) rgba(70, 50, 20, .14)); }
.hero-shadow { position: absolute; z-index: 1; left: 4%; width: 92%; top: 92%; height: 9%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(70, 50, 20, .38), rgba(70, 50, 20, 0) 70%); filter: blur(calc(8 * var(--u))); will-change: transform; }
@keyframes entra-sombra { from { opacity: 0; transform: scaleX(.85); } }
/* reflejo controlado sobre la glicerina (solo zonas verdes, no la etiqueta) */
.hero-sheen { position: absolute; z-index: 3; inset: 0; overflow: hidden; pointer-events: none;
  /* solo sobre la glicerina verde del jabón real (máscara sin etiqueta) */
  -webkit-mask-image: url('/assets/img/portada/glicerina-mascara-v5.png');
  -webkit-mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; 
  mask-image: url('/assets/img/portada/glicerina-mascara-v5.png');
  mask-size: 100% 100%; mask-repeat: no-repeat; mask-composite: intersect; }
.hero-sheen::before { content: ''; position: absolute; top: -10%; bottom: -10%; width: 16%; left: 25%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55) 45%, rgba(240, 255, 225, .2) 60%, rgba(255, 255, 255, 0)); mix-blend-mode: soft-light; transform: translateX(-60%) skewX(-12deg); animation: brillo-glicerina 9s 2.4s ease-in-out infinite; }
@keyframes brillo-glicerina { 0%, 55% { transform: translateX(-60%) skewX(-12deg); } 85%, 100% { transform: translateX(340%) skewX(-12deg); } }
.fx-canvas { position: absolute; z-index: 4; pointer-events: none; }

/* ---------- Botones: vidrio botánico ---------- */
.btn-primary, .btn-hero, .btn-add, .btn-ghost, .car-arrow, .btn-wa, .chip.is-active {
  position: relative; isolation: isolate; overflow: hidden;
  -webkit-backdrop-filter: blur(10px) saturate(1.25); backdrop-filter: blur(10px) saturate(1.25);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), filter .45s var(--ease), background-color .45s var(--ease);
}
.btn-primary, .btn-hero, .btn-add, .car-arrow, .chip.is-active {
  background: linear-gradient(140deg, rgba(92, 128, 44, .86) 0%, rgba(58, 90, 22, .9) 55%, rgba(44, 70, 14, .94) 100%);
  border: 1px solid rgba(214, 232, 176, .42) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 6px 16px rgba(47, 76, 16, .22), 0 18px 34px -12px rgba(47, 76, 16, .35);
  color: #fff;
}
.btn-ghost { background: rgba(255, 252, 244, .55); border: 1px solid rgba(74, 100, 32, .45); color: var(--verde-osc, #33470f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 6px 18px rgba(92, 70, 33, .1); }
.btn-wa { background: #25D366 linear-gradient(140deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 52%, rgba(0, 60, 20, .07)); border: 1px solid rgba(220, 255, 230, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 6px 16px rgba(37, 211, 102, .25), 0 16px 30px -12px rgba(20, 120, 60, .35); }
/* brillo superior del vidrio */
.btn-primary::after, .btn-hero::after, .btn-add::after, .btn-ghost::after, .car-arrow::after, .btn-wa::after, .chip.is-active::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .06) 46%, rgba(255, 255, 255, 0) 50%);
}
/* contorno que se ilumina y un destello que lo recorre */
.btn-primary::before, .btn-hero::before, .btn-add::before, .btn-ghost::before, .car-arrow::before, .btn-wa::before, .chip.is-active::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.4px; pointer-events: none; z-index: 1;
  background: conic-gradient(from var(--ang), rgba(255, 246, 214, .35) 0deg, rgba(255, 246, 214, .35) 250deg, rgba(255, 252, 236, 1) 290deg, rgba(255, 246, 214, .35) 330deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .45s var(--ease);
}
@media (hover: hover) {
  .btn-primary:hover, .btn-hero:hover, .btn-add:hover, .btn-ghost:hover, .btn-wa:hover, .chip.is-active:hover {
    transform: translateY(-2px); filter: brightness(1.07) saturate(1.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -1px 0 rgba(0, 0, 0, .14), 0 10px 22px rgba(47, 76, 16, .26), 0 26px 44px -14px rgba(47, 76, 16, .45);
  }
  .btn-wa:hover { background: #25D366 linear-gradient(140deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 52%, rgba(0, 60, 20, .05)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 22px rgba(37, 211, 102, .3), 0 24px 40px -14px rgba(20, 120, 60, .45); }
  .car-arrow:hover { transform: translateY(-2px); filter: brightness(1.08); }
  .btn-primary:hover::before, .btn-hero:hover::before, .btn-add:hover::before, .btn-ghost:hover::before, .car-arrow:hover::before, .btn-wa:hover::before, .chip.is-active:hover::before { opacity: 1; animation: contorno 1.6s var(--ease) 1 both; }
}
@keyframes contorno { from { --ang: 0deg; } to { --ang: 360deg; } }
/* táctil: respuesta al presionar sin depender de hover */
.btn-primary:active, .btn-hero:active, .btn-add:active, .btn-ghost:active, .btn-wa:active, .car-arrow:active { transform: translateY(1px) scale(.985); filter: brightness(1.04); }
.btn-primary:active::before, .btn-hero:active::before, .btn-add:active::before, .btn-wa:active::before, .btn-ghost:active::before { opacity: 1; }
.btn-primary:focus-visible, .btn-hero:focus-visible, .btn-add:focus-visible, .btn-wa:focus-visible, .btn-ghost:focus-visible { outline: 2px solid #6f8f3a; outline-offset: 3px; }
.btn-primary:disabled, .btn-wa:disabled { filter: grayscale(.25); }
.btn-primary:disabled::before, .btn-wa:disabled::before { display: none; }
.wa-float { background: #25D366; border: 1px solid rgba(220, 255, 230, .6); }

/* ---------- Barra de beneficios: vidrio natural ---------- */
.benefits {
  background: linear-gradient(180deg, rgba(255, 251, 243, .74), rgba(255, 247, 234, .6));
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(214, 191, 147, .25), 0 calc(14 * var(--u)) calc(38 * var(--u)) rgba(110, 85, 40, .14), 0 2px 6px rgba(110, 85, 40, .05);
}
.benefits li { cursor: default; }
.benefits li .ico-benef { transition: transform .6s var(--ease); transform-origin: 50% 70%; }
@media (hover: hover) {
  .benefits li:nth-child(3):hover .ico-benef { transform: translateY(-3px) scale(1.08); }
}
@keyframes latido { 30% { transform: scale(1.16); } 60% { transform: scale(.97); } }

/* ---------- Tarjetas de boutique ---------- */
.card, .post {
  background: linear-gradient(180deg, rgba(255, 253, 248, .82), rgba(255, 250, 241, .7));
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 28px rgba(92, 70, 33, .1), 0 2px 6px rgba(92, 70, 33, .05);
  transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transition: transform .42s var(--ease), box-shadow .42s var(--ease), border-color .42s var(--ease), opacity .7s var(--ease), translate .7s var(--ease);
  animation: none;
}
.card:hover, .post:hover { --ty: -6px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); border-color: rgba(214, 191, 147, .9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 0 0 1px rgba(232, 214, 170, .55), 0 22px 44px -10px rgba(92, 70, 33, .22), 0 6px 14px rgba(92, 70, 33, .08); }
.card-photo img, .post > img { transition: transform .5s var(--ease), filter .5s var(--ease); }
.card:hover .card-photo img, .post:hover > img { transform: scale(1.045); filter: saturate(1.06) contrast(1.02); }
/* luz que sigue al cursor sobre la tarjeta */
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .42s var(--ease); background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .28), transparent 45%); }
.card { position: relative; }
.card:hover::after { opacity: 1; }
.car-card .car-photo { transition: transform .42s var(--ease), box-shadow .42s var(--ease); }
@media (hover: hover) { .car-card button:hover .car-photo { transform: translateY(-4px); box-shadow: 0 calc(16 * var(--u)) calc(30 * var(--u)) rgba(92, 70, 33, .2); } }

/* Entrada escalonada al bajar (si el script falla, todo queda visible) */
.js .entra { opacity: 0; translate: 0 18px; transition: opacity .7s var(--ease), translate .7s var(--ease), transform .42s var(--ease), box-shadow .42s var(--ease), border-color .42s var(--ease); }
.js .entra.in { opacity: 1; translate: 0 0; }

/* ---------- Control de volumen del ambiente ---------- */
.sonido-wrap { position: relative; display: inline-flex; }
.vol { position: absolute; top: calc(100% + 10px); right: -8px; z-index: 50; width: 210px; padding: 12px 14px; border-radius: 16px;
  background: rgba(255, 251, 243, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(214, 191, 147, .6); box-shadow: 0 16px 34px rgba(92, 70, 33, .18);
  font: 500 13px/1.3 var(--f-body); color: var(--ink-soft); }
.vol[hidden] { display: none; }
.vol label { display: flex; justify-content: space-between; margin-bottom: 8px; }
.vol input[type=range] { width: 100%; accent-color: #4a6d1f; }

/* ---------- Agua de la mesa detrás del botón principal ---------- */
.pt-agua { left: 0; top: calc(600 * var(--u)); width: calc(600 * var(--u)); height: calc(230 * var(--u)); filter: url(#agua-mesa);
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 42% 55%, #000 45%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 42% 55%, #000 45%, transparent 100%); }
.pt-agua img { left: 0; top: calc(-600 * var(--u)); }
.pt-ondas { position: absolute; left: 0; top: calc(600 * var(--u)); width: calc(600 * var(--u)); height: calc(230 * var(--u)); pointer-events: none; }
@media (max-width: 1024px) { .pt-agua, .pt-ondas { display: none; } }

/* ---------- Movimiento reducido y equipos ligeros ---------- */
/* Movimiento reducido: se quitan desplazamientos grandes (parallax, inclinaciones, entradas),
   pero se conservan los efectos locales y suaves que no mueven la página: luz, brillo y agua. */
@media (prefers-reduced-motion: reduce) {
  .card, .post { transform: none !important; }
  .js .entra { opacity: 1; translate: none; }
  .pt-glow { animation-duration: 13s !important; animation-iteration-count: infinite !important; }
  .pt-haze { animation-duration: 18s !important; animation-iteration-count: infinite !important; }
  .hero-sheen::before { animation-duration: 9s !important; animation-iteration-count: infinite !important; }
}
.ligero .pt-brisa:not(.pt-agua), .ligero .hero-sheen { display: none; }
@media (max-width: 1024px) {
  .pt-brisa, .pt-glow, .pt-haze { display: none; }
  .hero-shadow { top: 90%; }
}

/* =========================================================
   EXPERIENCIA 3.0
   ========================================================= */
/* ---------- Hojas de sábila independientes (brisa con rotación mínima) ---------- */
.hero-hoja { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; filter: drop-shadow(0 calc(8 * var(--u)) calc(8 * var(--u)) rgba(60, 50, 20, .16)); will-change: transform; }
.hoja-a { transform-origin: 27.5% 60%; animation: brisa-a 7.6s ease-in-out infinite; }
.hoja-b { transform-origin: 14.5% 71%; animation: brisa-b 9.4s ease-in-out infinite; }
@keyframes brisa-a { 0%, 100% { transform: rotate(0deg); } 22% { transform: rotate(-0.85deg); } 41% { transform: rotate(-0.35deg); } 63% { transform: rotate(0.55deg); } 82% { transform: rotate(0.15deg); } }
@keyframes brisa-b { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(0.7deg); } 55% { transform: rotate(0.2deg); } 74% { transform: rotate(-0.5deg); } }
.pt-brisa-izq { filter: url(#brisa-a); }
@media (max-width: 1024px) { .hero-hoja { inset: auto; left: calc(50% - min(48vw, 365px)); bottom: 58px; width: min(96vw, 730px); height: auto; } }

/* ---------- Botones: resplandor champaña y respuesta táctil ---------- */
@media (hover: hover) {
  .btn-primary:hover, .btn-hero:hover, .btn-add:hover, .btn-ghost:hover, .chip.is-active:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), inset 0 -1px 0 rgba(0, 0, 0, .14), 0 0 0 1px rgba(236, 216, 168, .45), 0 0 22px rgba(236, 216, 168, .34), 0 12px 24px rgba(47, 76, 16, .24), 0 26px 44px -14px rgba(47, 76, 16, .42);
  }
  .btn-wa:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 0 0 1px rgba(236, 216, 168, .4), 0 0 20px rgba(236, 216, 168, .3), 0 10px 22px rgba(37, 211, 102, .3), 0 24px 40px -14px rgba(20, 120, 60, .45); }
  .btn:hover svg { transform: translateX(4px); }
}
.btn.toque::before { opacity: 1; animation: contorno .9s var(--ease) 1 both; }

/* ---------- Barra de beneficios: entrada escalonada y reflejo ---------- */
.benefits { position: relative; overflow: hidden; }
.benefits::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-110%); animation: barrido 2.2s 1.2s var(--ease) both; }
@keyframes barrido { to { transform: translateX(110%); } }
.benefits li { animation: sube .8s var(--ease) both; }
.benefits li:nth-child(1) { animation-delay: .55s; } .benefits li:nth-child(2) { animation-delay: .67s; } .benefits li:nth-child(3) { animation-delay: .79s; } .benefits li:nth-child(4) { animation-delay: .91s; }
@keyframes sube { from { opacity: 0; transform: translateY(10px); } }
@media (hover: hover) { .benefits li { transition: transform .4s var(--ease); } .benefits li:hover { transform: translateY(-2px); } }

/* ---------- Carrusel: etiquetas de vidrio marfil y flechas ---------- */
.car-name { background: linear-gradient(180deg, rgba(255, 251, 236, .96), rgba(250, 242, 214, .94)); border-color: rgba(214, 191, 147, .9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 6px 14px rgba(92, 70, 33, .14); letter-spacing: .01em; }
.car-photo { box-shadow: 0 calc(10 * var(--u)) calc(24 * var(--u)) rgba(92, 70, 33, .16), 0 0 0 1px rgba(255, 255, 255, .5) inset; }
.car-track { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }

/* ---------- Catálogo editorial ---------- */
.catalog .grid { gap: 30px; }
.card { border-radius: 22px; }
.card-photo { margin: 10px 10px 0; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 18px rgba(92, 70, 33, .12); aspect-ratio: 4 / 3.2; }
.card-body { padding: 18px 20px 20px; }
.card-cat { font-size: 11px; letter-spacing: .26em; color: #8a7a5c; }
.card h3 { font-family: var(--f-display); font-weight: 500; font-size: 25px; letter-spacing: -.005em; }
.card p { font-family: var(--f-serif); font-size: 15px; color: #5b4f3c; }
.card-price { font-family: var(--f-serif); font-weight: 600; font-size: 21px; color: #3f5a1a; border-top: 1px solid rgba(214, 191, 147, .5); margin-top: auto; padding-top: 14px; }
.card p { margin-bottom: 12px; }
.card-actions .btn { border-radius: 14px; }
@media (hover: none) { .card:active { transform: scale(.985); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 0 0 1px rgba(232, 214, 170, .6), 0 10px 22px rgba(92, 70, 33, .14); } }

/* ---------- Animaciones al desplazarse (variadas) ---------- */
.js .rv-titulo { opacity: 0; letter-spacing: .03em; filter: blur(5px); transform: translateY(14px); transition: opacity 1s var(--ease), letter-spacing 1.2s var(--ease), filter 1s var(--ease), transform 1s var(--ease); }
.js .rv-titulo.in { opacity: 1; letter-spacing: normal; filter: none; transform: none; }
.js .rv-foto { clip-path: inset(10% 8% 10% 8% round 24px); transition: clip-path 1.3s var(--ease); }
.js .rv-foto img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.js .rv-foto.in { clip-path: inset(0 0 0 0 round 24px); }
.js .rv-foto.in img { transform: scale(1); }
.js .rv-linea { transform: scaleX(0); transition: transform 1.1s .2s var(--ease); }
.js .rv-linea.in { transform: scaleX(1); }
.soaps-title::before, .soaps-title::after { transition: transform 1.2s .3s var(--ease), opacity 1s .3s; }
.js .soaps-title:not(.in)::before, .js .soaps-title:not(.in)::after { transform: scaleX(0); opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .js .rv-titulo, .js .rv-foto, .js .rv-foto img, .js .rv-linea { opacity: 1; filter: none; transform: none; clip-path: none; letter-spacing: normal; }
  .hero-hoja { animation: none !important; }
}

/* ---------- Celular: catálogo en dos columnas ---------- */
@media (max-width: 640px) {
  .catalog .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card { border-radius: 18px; }
  .card-photo { margin: 6px 6px 0; border-radius: 13px; }
  .card-body { padding: 12px 12px 14px; gap: 4px; }
  .card-cat { font-size: 9.5px; letter-spacing: .18em; }
  .card h3 { font-size: 18px; line-height: 1.15; }
  .card p { font-size: 13px; -webkit-line-clamp: 2; line-clamp: 2; }
  .card-price { font-size: 17px; margin-top: auto; padding-top: 8px; }
  .card p { margin-bottom: 6px; }
  .card-actions { grid-template-columns: 1fr; gap: 6px; margin-top: 8px; }
  .card-actions .btn { min-height: 44px; font-size: 14px; padding: 8px; }
}

/* Carrito 3D de marca (encabezado, tarjetas y ficha) */
.cart-btn .carrito-3d { width: 40px; height: 40px; display: block; filter: drop-shadow(0 2px 2px rgba(60, 45, 20, .12)); transition: transform .35s var(--ease); }
.cart-btn:hover .carrito-3d { transform: translateY(-2px) rotate(-4deg); }
.cart-btn.salta .carrito-3d { animation: carritoSalta .5s var(--ease); }
@keyframes carritoSalta { 30% { transform: translateY(-5px) rotate(-6deg); } 60% { transform: translateY(1px) rotate(2deg); } }
.ico-carrito { width: 24px; height: 24px; flex: none; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25)); transition: transform .3s var(--ease); }
.btn:hover .ico-carrito { transform: translateX(2px) rotate(-6deg); }
.card-actions { grid-template-columns: 1fr !important; }
.card-actions .btn-add { gap: 10px; }
@media (prefers-reduced-motion: reduce) { .cart-btn .carrito-3d, .ico-carrito { transition: none; animation: none !important; } }

/* Ícono Ecológico: las flechas de reciclaje giran sobre su propio centro (49.67% 52.99%, medido en la imagen); la hoja central queda quieta.
   Se mantiene aunque el equipo pida "reducir movimiento" (es un giro lento y suave). */
.benefits .ico-eco { position: relative; display: inline-block; }
.benefits .ico-eco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.benefits .ico-eco .eco-flechas { transform-origin: 49.67% 52.99%; animation: eco-gira 9s linear infinite; will-change: transform; }
.benefits li:hover .ico-eco { transform: none; }
@keyframes eco-gira { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .benefits .ico-eco .eco-flechas { animation-duration: 9s !important; animation-iteration-count: infinite !important; }
}

/* Ícono "Libre de Parabenos": nace de una semillita. Ciclo de 7 s:
   la semilla cae y se asienta, se abre, el tallo crece hacia arriba, las 2 hojas se despliegan desde la unión (50% 53%),
   se mecen suave y todo se desvanece para volver a empezar. Se mantiene con "reducir movimiento". */
.benefits .ico-brote { position: relative; display: inline-block; animation: br-ciclo 7s linear infinite; }
@keyframes br-ciclo { 0%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
.benefits li:hover .ico-brote { transform: none !important; }
.benefits .ico-brote img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ico-brote .semilla { position: absolute; left: 50%; top: 76%; width: 17%; height: 12%; margin-left: -8.5%; border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 35% 30%, #c9a06a 0 14%, #8a5a2b 45%, #5b3a1a 100%); box-shadow: 0 1px 1px rgba(60, 40, 15, .25);
  animation: br-semilla 7s cubic-bezier(.3, .7, .3, 1) infinite; }
.ico-brote .br-tallo { animation: br-tallo 7s ease-out infinite; }
.ico-brote .br-izq { transform-origin: 50% 53%; animation: br-izq 7s cubic-bezier(.34, 1.4, .5, 1) infinite; }
.ico-brote .br-der { transform-origin: 50% 53%; animation: br-der 7s cubic-bezier(.34, 1.4, .5, 1) infinite; }
@keyframes br-semilla {
  0% { opacity: 0; transform: translateY(-120%) scale(.7); }
  7% { opacity: 1; transform: translateY(0) scale(1); }
  10% { transform: translateY(-12%) scale(1.04, .96); }
  13% { transform: translateY(0) scale(1); }
  17% { transform: rotate(-8deg); }
  20% { transform: rotate(7deg) scaleX(1.08); }
  24% { opacity: 1; transform: scale(1.12, .9); }
  38% { opacity: 0; transform: scale(.6, .5) translateY(30%); }
  100% { opacity: 0; transform: scale(.6, .5) translateY(30%); }
}
@keyframes br-tallo {
  0%, 22% { opacity: 1; clip-path: inset(100% 0 0 0); }
  38% { clip-path: inset(46% 0 0 0); }
  88%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes br-izq {
  0%, 34% { opacity: 0; transform: rotate(48deg) scale(.08); }
  38% { opacity: 1; }
  52% { transform: rotate(0) scale(1); }
  64% { transform: rotate(-3deg) scale(1); }
  76% { transform: rotate(1.5deg) scale(1); }
  88%, 100% { opacity: 1; transform: rotate(0) scale(1); }
}
@keyframes br-der {
  0%, 36% { opacity: 0; transform: rotate(-48deg) scale(.08); }
  40% { opacity: 1; }
  54% { transform: rotate(0) scale(1); }
  66% { transform: rotate(3deg) scale(1); }
  78% { transform: rotate(-1.5deg) scale(1); }
  88%, 100% { opacity: 1; transform: rotate(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .benefits .ico-brote, .ico-brote .semilla, .ico-brote .br-tallo, .ico-brote .br-hoja { animation-duration: 7s !important; animation-iteration-count: infinite !important; }
}

/* Ícono "Hecho con Amor": el corazón se dibuja desde su punta inferior (54.17% 52.08%) subiendo por ambos lados
   hasta cerrarse arriba; luego late y se desvanece para repetir (ciclo 6 s). La mano queda fija. */
@property --am { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.benefits .ico-amor { position: relative; display: inline-block; }
.benefits li:hover .ico-amor { transform: none !important; }
.benefits .ico-amor img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ico-amor .am-corazon {
  --mk: conic-gradient(from 180deg at 54.17% 31.25%, #000 0 var(--am), transparent var(--am) calc(360deg - var(--am)), #000 calc(360deg - var(--am)));
  -webkit-mask-image: var(--mk); mask-image: var(--mk);
  transform-origin: 54.17% 52%; animation: am-dibuja 6s linear infinite;
}
@keyframes am-dibuja {
  0% { --am: 0deg; opacity: 1; transform: scale(1); animation-timing-function: cubic-bezier(.45, .05, .35, 1); }
  38% { --am: 181deg; transform: scale(1); }
  46% { --am: 181deg; transform: scale(1.14); }
  52% { transform: scale(.97); }
  57% { transform: scale(1.08); }
  64% { transform: scale(1); }
  88% { --am: 181deg; opacity: 1; transform: scale(1); }
  96%, 100% { --am: 181deg; opacity: 0; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .ico-amor .am-corazon { animation-duration: 6s !important; animation-iteration-count: infinite !important; }
}

/* Ícono "Ingredientes Naturales": una gota real (la del título) cae sobre la hoja; el ícono cede por el peso y rebota,
   el aro hace 2 ondas de agua y un destello recorre la hoja (enmascarado con la misma imagen). Ciclo 6 s. */
.benefits .ico-ingr { position: relative; display: inline-block; overflow: visible; }
.benefits li:hover .ico-ingr { transform: none !important; }
.ico-ingr .ig-base { position: absolute; inset: 0; transform-origin: 50% 92%; animation: ig-cede 6s ease-out infinite; }
.ico-ingr .ig-base img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ico-ingr .ig-brillo { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url(/assets/img/marca/beneficio-ingredientes.png) center / contain no-repeat; mask: url(/assets/img/marca/beneficio-ingredientes.png) center / contain no-repeat;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 240, .85) 50%, transparent 62%) no-repeat; background-size: 260% 100%; background-position: 130% 0;
  mix-blend-mode: screen; animation: ig-brillo 6s ease-in-out infinite; }
.ico-ingr .ig-gota { position: absolute; left: 50%; top: 36%; width: 15%; height: 15%; margin-left: -7.5%; opacity: 0; transform-origin: 50% 100%; animation: ig-gota 6s linear infinite; }
.ico-ingr .ig-gota::before { content: ''; position: absolute; inset: 0; border-radius: 0 50% 50% 50%; transform: rotate(45deg);
  background: radial-gradient(circle at 38% 40%, rgba(255, 255, 255, .95) 0 9%, rgba(255, 255, 255, .28) 20%, rgba(255, 255, 255, .06) 52%, rgba(225, 245, 200, .22) 78%, rgba(255, 255, 255, .55) 100%);
  box-shadow: inset 1px 1px 1.5px rgba(30, 60, 10, .28), inset -1px -1px 1.5px rgba(255, 255, 255, .8), 0 1.5px 1.5px rgba(30, 55, 15, .28);
  -webkit-backdrop-filter: saturate(1.5) brightness(1.18); backdrop-filter: saturate(1.5) brightness(1.18); }
.ico-ingr .ig-onda { position: absolute; inset: 6%; border-radius: 50%; border: 1.5px solid rgba(110, 150, 60, .55); opacity: 0; pointer-events: none;
  animation: ig-onda 6s ease-out infinite; }
.ico-ingr .ig-onda2 { animation-name: ig-onda2; }
@keyframes ig-gota {
  0%, 12% { opacity: 0; transform: translateY(-420%) scale(.88, 1.12); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  15% { opacity: 1; }
  34% { opacity: 1; transform: translateY(0) scale(.88, 1.12); }
  37% { opacity: 1; transform: translateY(14%) scale(1.5, .62); }
  41% { opacity: .9; transform: translateY(12%) scale(1.25, .78); }
  52%, 100% { opacity: 0; transform: translateY(14%) scale(1.55, .5); }
}
@keyframes ig-cede {
  0%, 34% { transform: none; }
  38% { transform: translateY(1.5px) scale(1.02, .955); }
  44% { transform: translateY(-.8px) scale(.99, 1.02); }
  50% { transform: translateY(.3px) scale(1.005, .995); }
  56%, 100% { transform: none; }
}
@keyframes ig-onda {
  0%, 35% { opacity: 0; transform: scale(.9); }
  38% { opacity: .9; }
  70%, 100% { opacity: 0; transform: scale(1.32); }
}
@keyframes ig-onda2 {
  0%, 41% { opacity: 0; transform: scale(.9); }
  44% { opacity: .65; }
  78%, 100% { opacity: 0; transform: scale(1.26); }
}
@keyframes ig-brillo {
  0%, 40% { background-position: 130% 0; opacity: 0; }
  43% { opacity: 1; }
  62% { background-position: -30% 0; opacity: 1; }
  66%, 100% { background-position: -30% 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ico-ingr .ig-base, .ico-ingr .ig-brillo, .ico-ingr .ig-gota, .ico-ingr .ig-onda { animation-duration: 6s !important; animation-iteration-count: infinite !important; }
}
