/* Aromar — estilos del sitio. Mobile first, sin frameworks.
   Tienda moderna: lienzo blanco para que las fotos manden, tipografía geométrica
   (Outfit, eco de la "a" redonda del logo) y color en bloques con intención:
   los azules del logo y un lila que conversa con la flor. */

:root {
  --bg: #ffffff;
  --bg-alt: #f2f5fb;
  --surface: #ffffff;
  --ink: #13204a;
  --ink-2: #2e3b5c;
  --muted: #5b6579;
  --line: #e3e8f2;
  --accent: #2f56b0;
  --accent-hover: #234391;
  --accent-soft: #e9effb;
  --navy: #13204a;
  --navy-2: #1c2e66;
  --lilac: #f6f0fb;
  --on-dark: #d3dcf2;
  --on-dark-accent: #a9bdf0;
  --ok: #2b7a4b;
  --err: #b3261e;
  --warn: #8a5a00;
  --wa: #1fa855;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(19, 32, 74, .05), 0 8px 24px rgba(19, 32, 74, .06);
  --shadow-lg: 0 2px 6px rgba(19, 32, 74, .06), 0 24px 48px rgba(19, 32, 74, .14);
  --font-head: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent-soft); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; color: #fff; }

/* ── Layout ── */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-tight { padding-block: clamp(24px, 4vw, 48px); }
.section-alt { background: var(--bg-alt); }
.section-lilac { background: var(--lilac); }
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-dark .h2, .section-dark .h3 { color: #fff; }
.section-dark .eyebrow { color: var(--on-dark-accent); }
.section-dark .link-arrow { color: #fff; }
.section-head { max-width: 680px; margin-bottom: clamp(24px, 4vw, 44px); }
.section-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head .h2 { margin-bottom: 0; }
.two-col { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; align-items: start; }
  .two-col-form { grid-template-columns: .9fr 1.1fr; }
}

/* ── Tipografía ── */
.display, .h1, .h2, .h3 { font-family: var(--font-head); font-weight: 600; margin: 0 0 .45em; color: var(--ink); }
.display { font-size: clamp(2.7rem, 6.4vw, 5rem); line-height: 1; letter-spacing: -.04em; }
.h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); line-height: 1.05; letter-spacing: -.035em; }
.h2 { font-size: clamp(1.85rem, 3.8vw, 2.9rem); line-height: 1.08; letter-spacing: -.03em; }
.h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -.01em; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.2rem); color: var(--muted); margin: 0 0 1.5em; max-width: 56ch; }
.eyebrow { margin: 0 0 14px; font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.eyebrow-light { color: #cdd9f7; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.req { color: var(--err); }
.opt { color: var(--muted); font-weight: 400; font-size: .85em; }

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: .75rem 1.5rem;
  border: 1.5px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2; letter-spacing: -.005em; text-decoration: none;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.02); }
.btn:active { transform: scale(.98); }
.btn:disabled, .btn[aria-busy="true"] { opacity: .6; cursor: progress; transform: none; }
.btn-lg { min-height: 56px; padding: .9rem 1.8rem; font-size: 1.05rem; }
.btn-sm { min-height: 38px; padding: .45rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(19, 32, 74, .25); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--lilac); color: var(--ink); border-color: var(--lilac); }
.link { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; text-decoration: none; color: var(--ink); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; }
.actions-row.center { justify-content: center; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 44px; min-height: 44px; padding: 0 8px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink); text-decoration: none; position: relative;
  transition: background-color .2s var(--ease);
}
.icon-btn:hover { background: var(--bg-alt); color: var(--ink); }
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .02em; text-decoration: none; }
.badge-muted { background: var(--bg-alt); color: var(--muted); }

/* ── Cinta de avisos ── */
.topbar { background: var(--navy); color: var(--on-dark); font-family: var(--font-head); font-size: .82rem; font-weight: 500; letter-spacing: .02em; }
.ticker { overflow: hidden; padding: 8px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker-group { display: flex; gap: 44px; padding-right: 44px; white-space: nowrap; }
.ticker-group span::before { content: "✦"; margin-right: 44px; color: var(--on-dark-accent); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; width: auto; justify-content: center; }
  .ticker-group[aria-hidden="true"] { display: none; }
  .ticker-group { flex-wrap: wrap; justify-content: center; white-space: normal; }
}

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 68px; gap: 8px; }
.brand { justify-self: center; display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand-word { font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; color: #4f74b8; line-height: 1; }
.brand:hover .brand-word { color: var(--accent); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 2px; }
.menu-btn { justify-self: start; }
.account-name { display: none; font-family: var(--font-head); font-size: .92rem; font-weight: 500; max-width: 10ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--font-head); font-size: .7rem; font-weight: 700; line-height: 19px; text-align: center;
}
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.site-nav {
  position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: 8px var(--gutter) 20px;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(19, 32, 74, .08);
  opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.site-nav.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; }
.site-nav a[aria-current="page"] { color: var(--accent); }
@media (min-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 24px; min-height: 76px; }
  .menu-btn { display: none; }
  .brand { justify-self: start; }
  .site-nav { position: static; display: flex; justify-content: center; gap: 6px; padding: 0; background: none; border: 0; box-shadow: none; opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .site-nav a { border: 0; padding: 10px 14px; border-radius: 999px; font-size: 1rem; }
  .site-nav a:hover { background: var(--bg-alt); }
  .site-nav a[aria-current="page"] { color: var(--ink); background: var(--bg-alt); }
  .account-name:not(:empty) { display: inline; }
}

/* ── Desplegable de la cuenta ── */
.account-menu { position: relative; }
.account-pop {
  position: absolute; right: -6px; top: calc(100% + 12px); z-index: 60;
  width: 360px; max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain;
  padding: 22px 20px 20px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.account-pop.open { opacity: 1; transform: none; }
@media (max-width: 599px) {
  .account-pop { position: fixed; left: 12px; right: 12px; width: auto; top: 96px; max-height: calc(100dvh - 110px); transform-origin: top center; }
}
.pop-title { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; }
.pop-sub { margin: 2px 0 16px; color: var(--muted); font-size: .9rem; word-break: break-all; }
.account-pop .auth, .account-pop .form { gap: 12px; }
.account-pop input:not([type="radio"]):not([type="checkbox"]) { min-height: 46px; }
.account-pop .btn { min-height: 46px; }
.pop-links { display: grid; gap: 2px; margin: 0 0 14px; }
.pop-links a { display: flex; gap: 12px; align-items: center; padding: 12px 10px; border-radius: 12px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 500; }
.pop-links a:hover { background: var(--bg-alt); color: var(--ink); }
.pop-links .icon { color: var(--accent); }

/* ── Hero ── */
.hero {
  padding-block: clamp(28px, 5vw, 72px) clamp(48px, 7vw, 96px); overflow: hidden;
  background:
    radial-gradient(55% 65% at 88% 28%, rgba(214, 190, 240, .5) 0%, rgba(214, 190, 240, 0) 70%),
    linear-gradient(160deg, #e7eefc 0%, #f3f6fd 55%, #ffffff 100%);
}
.hero-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero-text .lead { max-width: 46ch; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: var(--accent); }
.hero-visual { position: relative; width: min(100%, 500px); margin-inline: auto; }
@media (min-width: 900px) { .hero-visual { justify-self: end; margin-inline: 0; } }
.hero-photo { display: block; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: var(--bg-alt); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hero-photo:hover img { transform: scale(1.03); }
.hero-chip {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: grid; grid-template-columns: 48px 1fr auto auto; gap: 12px; align-items: center;
  padding: 10px 10px 10px 10px; border-radius: 18px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .7); box-shadow: var(--shadow-lg);
}
.hero-chip img { width: 48px; height: 60px; object-fit: cover; border-radius: 10px; }
.hero-chip-text { min-width: 0; display: grid; }
.hero-chip-text a { color: var(--ink); text-decoration: none; font-family: var(--font-head); }
.hero-chip-text small { color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 900px) { .hero-chip { left: -36px; right: auto; bottom: 36px; width: 330px; } }
.hero-in { animation: hero-in .8s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .08s; }
.hero-text > :nth-child(3) { animation-delay: .16s; }
.hero-text > :nth-child(4) { animation-delay: .24s; }
.hero-visual.hero-in { animation-delay: .2s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-flower { display: grid; place-items: center; }

/* Apariciones al hacer scroll, solo CSS: sin JS y sin parpadeo. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ── Beneficios de compra ── */
.perks { border-block: 1px solid var(--line); }
.perks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; padding-block: 22px; }
@media (min-width: 900px) {
  .perks-grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .perk + .perk { border-left: 1px solid var(--line); padding-left: 24px; }
}
.perk { display: flex; gap: 12px; align-items: flex-start; }
.perk strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: .98rem; }
.perk small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.perk-icon { flex: none; color: var(--accent); margin-top: 1px; }

/* ── Productos ── */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 720px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; } }
@media (min-width: 1040px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product-card { position: relative; display: flex; flex-direction: column; }
.pc-media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); aspect-ratio: 4 / 5; }
.pc-media > a { display: block; height: 100%; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.05); }
.pc-add {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px;
  background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(19, 32, 74, .18);
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.pc-add span { display: none; }
.pc-add:hover { background: var(--ink); color: #fff; transform: scale(1.06); }
.pc-add:active { transform: scale(.94); }
@media (hover: hover) and (min-width: 1040px) {
  .pc-add { width: auto; padding: 0 16px 0 12px; opacity: 0; transform: translateY(8px); }
  .pc-add span { display: inline; }
  .product-card:hover .pc-add, .pc-add:focus-visible { opacity: 1; transform: none; }
}
.pc-add-inline { position: static; box-shadow: none; background: var(--ink); color: #fff; opacity: 1 !important; transform: none !important; width: 44px !important; padding: 0 !important; }
.pc-add-inline span { display: none !important; }
.pc-add-inline:hover { background: var(--accent); }
.pc-soldout { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-family: var(--font-head); font-size: .78rem; font-weight: 600; color: var(--muted); }
.pc-info { padding: 12px 2px 0; display: grid; gap: 2px; }
.pc-title { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.12rem); letter-spacing: -.01em; line-height: 1.25; }
.pc-title a { color: var(--ink); text-decoration: none; }
.pc-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pc-notes { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.price { margin: 4px 0 0; font-family: var(--font-head); font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums; }
.price s, .price-old { color: var(--muted); font-weight: 400; font-size: .85em; }
.price-lg { font-size: clamp(1.7rem, 3vw, 2.1rem); margin: 0; letter-spacing: -.02em; }

/* ── Familias ── */
.family-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 64%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.family-grid::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .family-grid { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }
.family-card { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; color: #fff; text-decoration: none; background: var(--navy-2); }
.family-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.family-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 32, 74, 0) 35%, rgba(19, 32, 74, .85) 100%); }
.family-card:hover img { transform: scale(1.06); }
.family-card:hover { color: #fff; }
.family-info { position: absolute; inset: auto 0 0 0; z-index: 1; display: grid; gap: 4px; padding: 18px; }
.family-name { font-family: var(--font-head); font-size: 1.55rem; font-weight: 600; letter-spacing: -.02em; }
.family-copy { font-size: .86rem; line-height: 1.4; opacity: .9; }
.family-count { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: .82rem; font-weight: 600; margin-top: 6px; }

/* ── ¿Por qué aromatizar? (anillo con la flor) ── */
.why-grid { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.check-list .icon { flex: none; margin-top: 2px; padding: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--accent); }
.why-ring { position: relative; width: min(100%, 500px); aspect-ratio: 1; margin-inline: auto; }
.why-ring::before {
  content: ""; position: absolute; inset: 13%; border-radius: 50%;
  border: clamp(12px, 2.4vw, 20px) solid rgba(122, 92, 170, .13);
  background: radial-gradient(circle, rgba(122, 92, 170, .14) 1px, transparent 1.6px) 0 0 / 14px 14px;
}
.why-center { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.why-bubble {
  position: absolute; width: 31%; aspect-ratio: 1; display: grid; place-items: center; padding: 4%;
  border-radius: 50%; background: #fff; border: 1px solid rgba(122, 92, 170, .14); box-shadow: 0 14px 34px rgba(80, 50, 130, .13);
  transform: translate(-50%, -50%); text-align: center;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(.8rem, 1.9vw, 1.05rem); line-height: 1.2; letter-spacing: -.01em; color: var(--ink);
}
.why-bubble-0 { left: 50%; top: 13%; }
.why-bubble-1 { left: 87%; top: 50%; }
.why-bubble-2 { left: 50%; top: 87%; }
.why-bubble-3 { left: 13%; top: 50%; }

/* La flor original de Aromar: cosmos fotográfico que gira sobre la rama de limón. */
.flower-art { position: relative; isolation: isolate; }
.flower-art .flower { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 14px 22px rgba(120, 40, 110, .22)); }
.flower-art .flower-branch { position: absolute; z-index: 0; width: 95%; left: -38%; top: -26%; }
/* Esquina superior izquierda del anillo: no tapa ninguna burbuja (como en el sitio original). */
.flower-in-ring { position: absolute; left: -3%; top: -3%; width: 31%; z-index: 2; }
.flower-in-ring .flower-branch { width: 85%; left: -32%; top: -28%; }
@media (max-width: 600px) {
  .flower-in-ring { left: 0; top: -2%; width: 30%; }
  .flower-in-ring .flower-branch { width: 70%; left: -8%; top: -18%; }
}
.flower-hero { width: min(70%, 300px); margin: 40px auto; }
.flower-hero .flower-branch { width: 110%; left: -55%; top: -30%; }
@media (prefers-reduced-motion: no-preference) {
  .flower-art .flower { animation: spin 50s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Banda empresas ── */
.b2b-band { background: linear-gradient(135deg, var(--navy-2) 0%, var(--accent) 100%); color: #e6ecfa; }
.b2b-band .h2 { color: #fff; }
.b2b-band .lead { color: #d3dcf2; }
.b2b-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .b2b-grid { grid-template-columns: 1.1fr .9fr; } }
.b2b-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.b2b-points li { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.b2b-points .icon { flex: none; color: #cdd9f7; }
.b2b-points strong { display: block; color: #fff; font-family: var(--font-head); font-weight: 600; }

/* ── Encabezado de páginas internas ── */
.page-head { padding-block: clamp(28px, 5vw, 56px) 0; }
.page-head-sm { padding-block: clamp(20px, 4vw, 40px) 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; font-size: .88rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }

/* ── Filtros ── */
.filter-bar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 28px; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip span { color: var(--muted); font-size: .82rem; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] span { color: var(--on-dark-accent); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ── Ficha de producto ── */
.product-layout { display: grid; gap: clamp(24px, 4vw, 64px); }
@media (min-width: 900px) {
  .product-layout { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .product-gallery { position: sticky; top: 100px; }
}
.product-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; background: var(--bg-alt); }
.product-info { display: grid; gap: 16px; align-content: start; justify-items: start; }
.product-info > * { margin: 0; }
.product-title { display: grid; margin: 0; }
.product-kicker { font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.product-notes { font-family: var(--font-head); font-size: .88rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.product-tagline { font-size: 1.15rem; line-height: 1.55; color: var(--ink-2); max-width: 44ch; }
.product-price { display: flex; align-items: baseline; gap: 12px; }
.buy-box { display: flex; gap: 10px; width: 100%; }
.buy-box .btn { flex: 1; }
.product-info .btn-block { width: 100%; }
.qty-btn { flex: none; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.qty-btn { display: grid; place-items: center; width: 44px; height: 54px; border: 0; background: none; color: var(--ink); border-radius: 999px; font-size: 1.2rem; }
.qty-btn:hover { background: var(--bg-alt); }
.qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.qty-input { width: 40px; border: 0; background: none; text-align: center; font-family: var(--font-head); font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm .qty-btn { width: 36px; height: 38px; }
.qty-sm .qty-input { width: 32px; font-size: .95rem; }
.stock-low { color: var(--warn); font-weight: 600; font-size: .92rem; }
.stock-out { color: var(--err); font-weight: 600; }
.ship-info { list-style: none; margin: 4px 0 0; padding: 18px; display: grid; gap: 12px; width: 100%; border-radius: var(--radius); background: var(--bg-alt); font-size: .93rem; }
.ship-info li { display: flex; gap: 12px; }
.ship-info .icon { flex: none; color: var(--accent); margin-top: 2px; }
.product-desc { width: 100%; }
.product-desc > p { margin: 0 0 12px; color: var(--ink-2); }
.product-desc details, .faq details { border-top: 1px solid var(--line); }
.product-desc details:last-child, .faq details:last-child { border-bottom: 1px solid var(--line); }
.product-desc summary, .faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; position: relative; }
.product-desc summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.product-desc summary::after, .faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 300; color: var(--ink); transition: transform .25s var(--ease); }
details[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
.product-desc details p, .faq details p { margin: 0 0 18px; color: var(--ink-2); }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0 0 16px; font-size: .95rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.faq { margin-top: 24px; }

/* Barra fija de compra en el celular (aparece al pasar el botón principal). */
.buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
  display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.buy-bar.show { transform: none; }
.buy-bar img { width: 44px; height: 55px; object-fit: cover; border-radius: 8px; }
.buy-bar strong { display: block; font-family: var(--font-head); font-weight: 600; line-height: 1.2; }
.buy-bar .price { margin: 0; font-size: .92rem; }
body.has-buybar .wa-float { bottom: 92px; }
@media (min-width: 900px) { .buy-bar { display: none; } }

/* ── Empresas ── */
.feature-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 26px; border-radius: var(--radius); background: var(--bg-alt); transition: transform .25s var(--ease); }
.feature:hover { transform: translateY(-4px); }
.feature h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; margin: 16px 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--accent); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 26px; border-radius: var(--radius); background: #fff; }
.step h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; margin: 16px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 600; }
.equip-list { list-style: none; margin: 0; padding: 0; display: grid; }
.equip-list li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.equip-list strong { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.equip-list span { color: var(--muted); font-size: .95rem; }
.sector-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sector-chips li { padding: 10px 16px; border-radius: 999px; background: var(--bg-alt); font-family: var(--font-head); font-weight: 500; font-size: .95rem; }

/* ── Contacto ── */
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px; margin-bottom: 12px; border-radius: var(--radius); background: var(--bg-alt); color: var(--ink); text-decoration: none; transition: transform .2s var(--ease); }
.contact-card:hover { transform: translateY(-3px); color: var(--ink); }
.contact-card strong { display: block; font-family: var(--font-head); font-weight: 600; }
.contact-card small { color: var(--muted); }
.contact-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--accent); flex: none; }
.contact-lines { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-lines li { display: flex; gap: 12px; align-items: center; }
.contact-lines .icon { color: var(--accent); flex: none; }

/* ── Formularios ── */
.card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.card.form, .checkout-card, .card[data-auth-gate], .card[data-reset-view] { padding: clamp(20px, 3.5vw, 32px); }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; }
legend { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; margin-bottom: 4px; padding: 0; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .93rem; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
input:not([type="radio"]):not([type="checkbox"]), select, textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem;
  border: 1px solid #d3dae8; border-radius: var(--radius-sm); background: #fff;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
textarea { min-height: 100px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47, 86, 176, .15); }
input:disabled { background: var(--bg-alt); color: var(--muted); }
.is-invalid { border-color: var(--err) !important; }
.is-invalid:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, .14) !important; }
.is-valid { border-color: var(--ok) !important; }
.field-error { margin: 0; color: var(--err); font-size: .85rem; font-weight: 600; }
.field-error:empty { display: none; }
.field-hint { margin: 0; color: var(--muted); font-size: .82rem; }
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 52px; }
.pass-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; border-radius: 8px; }
.pass-toggle:hover { color: var(--ink); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 600; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.choice-group { display: grid; gap: 10px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid #d3dae8; border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.choice:hover { border-color: #aab6cf; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice input { margin-top: 4px; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.choice strong { display: block; font-family: var(--font-head); font-weight: 600; }
.choice small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.notice { padding: 14px 16px; border-radius: 12px; background: #fff6e0; color: #5c4300; font-size: .93rem; margin: 0; }
.notice-ok { background: #e7f4ec; color: #1d5a37; }
.notice-err { background: #fdecea; color: #7f1d17; }

/* ── Ingreso ── */
.auth { display: grid; gap: 16px; }
.auth-intro { margin: 0; color: var(--muted); }
.google-btn { min-height: 44px; display: flex; justify-content: center; }
.divider { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--muted); font-size: .85rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-alt); }
.tab { flex: 1; min-height: 42px; border: 0; border-radius: 999px; background: none; font-family: var(--font-head); font-weight: 600; color: var(--muted); transition: background-color .2s var(--ease), color .2s var(--ease); }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(19, 32, 74, .12); }
.tabs-wide { margin-bottom: 20px; }
.logged-as { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--bg-alt); font-size: .92rem; }

/* ── Carrito (página) ── */
.cart-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 980px) {
  .cart-layout { grid-template-columns: 1fr 380px; }
  .cart-summary { position: sticky; top: 100px; }
  .summary-cta { display: none; }
}
.cart-main { display: grid; gap: 24px; }
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px 14px; align-items: center; padding: 12px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.cart-line img { width: 76px; height: 95px; object-fit: cover; border-radius: 12px; }
.cart-line-name { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink); text-decoration: none; line-height: 1.2; }
.cart-line-meta { color: var(--muted); font-size: .85rem; margin: 2px 0 8px; }
.cart-line-side { display: grid; justify-items: end; gap: 6px; }
.cart-line-total { font-family: var(--font-head); font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-line-remove { color: var(--muted); min-width: 40px; min-height: 40px; }
.cart-line-warn { grid-column: 1 / -1; margin: 0; color: var(--warn); font-size: .86rem; font-weight: 600; }
.cart-summary { padding: 24px; display: grid; gap: 16px; }
.totals { margin: 0; display: grid; gap: 10px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.totals .total { padding-top: 12px; border-top: 1px solid var(--ink); font-family: var(--font-head); font-size: 1.2rem; }
.totals .total dt { color: var(--ink); font-weight: 600; }
.totals .total dd { font-weight: 700; }
.free-ship, .cd-free { padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); font-size: .9rem; }
.free-ship p, .cd-free p { margin: 0 0 8px; }
.progress { height: 6px; border-radius: 999px; background: rgba(47, 86, 176, .18); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .4s var(--ease); }
.summary-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: .88rem; }
.summary-trust li { display: flex; gap: 8px; align-items: center; }
.empty-state { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 48px 16px; color: var(--muted); }
.empty-state .icon { color: var(--accent); }
.empty-state h2 { margin: 8px 0 0; color: var(--ink); }

/* ── Carrito lateral ── */
.cart-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(19, 32, 74, .38); opacity: 0; transition: opacity .3s var(--ease); }
.cart-backdrop.show { opacity: 1; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; width: min(430px, 100%);
  display: grid; grid-template-rows: auto auto 1fr auto; background: #fff; box-shadow: -20px 0 60px rgba(19, 32, 74, .2);
  transform: translateX(105%); transition: transform .35s var(--ease); visibility: hidden;
}
.cart-drawer.open { transform: none; visibility: visible; }
.cd-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 12px 22px; border-bottom: 1px solid var(--line); }
.cd-title { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; }
.cd-title span { color: var(--muted); font-weight: 500; font-size: 1rem; }
.cd-free { margin: 14px 22px 0; }
.cd-lines { list-style: none; margin: 0; padding: 8px 22px; overflow-y: auto; display: grid; align-content: start; }
.cd-line { display: grid; grid-template-columns: 68px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cd-line img { width: 68px; height: 85px; object-fit: cover; border-radius: 12px; background: var(--bg-alt); }
.cd-line.added img { box-shadow: 0 0 0 3px var(--accent); }
.cd-name { font-family: var(--font-head); font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.2; }
.cd-meta { margin: 2px 0 8px; color: var(--muted); font-size: .82rem; }
.cd-side { display: grid; justify-items: end; gap: 6px; }
.cd-side strong { font-family: var(--font-head); font-weight: 600; font-variant-numeric: tabular-nums; }
.cd-empty { padding: 32px 22px; text-align: center; color: var(--muted); display: grid; gap: 12px; justify-items: center; align-content: start; }
.cd-foot { padding: 16px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cd-subtotal { display: flex; justify-content: space-between; font-family: var(--font-head); font-size: 1.15rem; }
.cd-subtotal strong { font-weight: 700; }
.cd-note { margin: 0; color: var(--muted); font-size: .85rem; }
.cd-continue { justify-self: center; color: var(--ink); }

/* ── Cuenta y pedidos ── */
.order-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.order-item { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .2s var(--ease); }
.order-item:hover { transform: translateY(-2px); color: var(--ink); }
.order-item-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; font-family: var(--font-head); }
.order-item small { color: var(--muted); }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-family: var(--font-head); font-size: .78rem; font-weight: 600; background: var(--bg-alt); color: var(--ink-2); }
.status-pending { background: #fff1d0; color: #6b4a00; }
.status-paid, .status-preparing { background: var(--accent-soft); color: var(--accent); }
.status-shipped { background: #e3f1f7; color: #165a73; }
.status-delivered { background: #e3f3e9; color: #1d5a37; }
.status-cancelled { background: #f6e3e1; color: #7f1d17; }
.order-head { text-align: center; display: grid; justify-items: center; gap: 6px; margin-bottom: 20px; }
.order-head .big-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.order-card { padding: clamp(18px, 3vw, 28px); display: grid; gap: 16px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; font-size: .78rem; color: var(--muted); }
.timeline li { display: grid; justify-items: center; gap: 6px; }
.timeline li::before { content: ""; width: 100%; height: 5px; border-radius: 999px; background: var(--line); }
.timeline li.done { color: var(--ink); font-weight: 600; }
.timeline li.done::before { background: var(--accent); }
.bank { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; padding: 16px; border-radius: 12px; background: var(--bg-alt); }
.bank dt { color: var(--muted); }
.bank dd { margin: 0; font-weight: 600; word-break: break-all; }

/* ── Texto largo (legales) ── */
.prose h2 { font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; letter-spacing: -.02em; margin: 2em 0 .5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }

/* ── Footer ── */
.site-footer { background: var(--navy); color: var(--on-dark); padding-top: clamp(48px, 7vw, 88px); }
.footer-grid { display: grid; gap: 32px; padding-bottom: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer-brand img { width: 52px; height: 52px; border-radius: 14px; background: #fff; padding: 5px; }
.footer-brand p { max-width: 34ch; font-size: .93rem; }
.footer-title { color: #fff; font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; margin: 0 0 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .93rem; }
.footer-links a { color: var(--on-dark); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .icon { flex: none; color: var(--on-dark-accent); }
.social { display: flex; gap: 6px; margin-top: 12px; }
.social .icon-btn { color: #e6ecfa; background: rgba(255, 255, 255, .08); }
.social .icon-btn:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: #9eabcb; }

/* ── Flotantes ── */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); transition: transform .2s var(--ease), bottom .3s var(--ease); }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px);
  padding: 12px 14px 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg);
  font-weight: 600; font-size: .95rem; animation: toast-in .3s var(--ease);
}
.toast a { color: #fff; white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); text-decoration: none; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ── Celular: toques de 44 px, ficha más compacta y filtros que avisan que se deslizan ── */
@media (max-width: 899px) {
  .breadcrumb a { display: inline-block; margin-block: -10px; padding-block: 10px; }
  .footer-links { gap: 0; }
  .footer-links a { display: inline-block; padding-block: 10px; }
  .footer-contact li { min-height: 44px; }
  .link-arrow { padding-block: 9px; }
  button.link { padding-block: 10px; }
  .qty-sm .qty-btn { width: 40px; height: 40px; }
  .product-gallery img { aspect-ratio: 1; border-radius: 22px; }
  .product-info { gap: 12px; }
  .filter-bar { padding-right: 40px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
  .wa-float { right: 12px; bottom: 12px; width: 50px; height: 50px; }
  /* La barra de compra no tapa el final del pie. */
  body.has-buybar .site-footer { padding-bottom: 84px; }
}
