/* =========================================================================
   DR. PARFUM — Estilos
   ========================================================================= */

:root {
  --ink: #111111;
  --ink-2: #2A2620;
  --muted: #6B6458;
  --line: #ECE7DF;
  --line-2: #DDD6CA;
  --soft: #F6F3EE;
  --cream: #F6F2EC;
  --gold: #E2C27E;
  --bronze: #8A6626;
  --white: #FFFFFF;
  --dark: #0E0D0B;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1440px;
  --pad: 32px;
  --ease: cubic-bezier(.16, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; }
a:hover { color: var(--bronze); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .46em; text-transform: uppercase; color: var(--bronze); }
.h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4.6vw, 64px); line-height: 1; letter-spacing: -.01em; }
.h2 em { font-weight: 400; color: var(--bronze); }
.center { text-align: center; }
.head { display: flex; flex-direction: column; gap: 12px; }
.head--row { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border: 0; text-decoration: none;
  font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  transition: background-color .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--bronze); color: var(--white); }
.btn--line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--pill { border-radius: 999px; }
.btn--lg { min-height: 56px; padding: 0 40px; font-size: 13px; letter-spacing: .3em; }
.btn--block { width: 100%; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white);
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink);
  transition: background-color .25s ease, color .25s ease;
}
.icon-btn:hover { background: var(--ink); color: var(--white); }
.icon-btn--dark { border: 0; background: var(--ink); color: var(--white); }
.icon-btn--dark:hover { background: var(--bronze); }

/* ---------- Barra superior dorada ---------- */
.topbar { background: #D9B872; color: #070605; overflow: hidden; white-space: nowrap; font-size: 11px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; }
.marquee { display: inline-flex; align-items: center; gap: 56px; padding: 11px 0; width: max-content; animation: marquee 38s linear infinite; }
.marquee i { font-style: normal; }
.topbar:hover .marquee { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Encabezado ---------- */
.header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 58px; height: 58px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: .32em; }
.brand__sub { font-size: 9px; letter-spacing: .46em; color: var(--muted); padding-top: 6px; }
.search { flex: 1 1 280px; min-width: 0; display: flex; align-items: center; gap: 10px; background: var(--soft); padding: 0 18px; border-radius: 999px; }
.search input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; font-size: 15px; }
.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.chip-link { min-height: 48px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; text-decoration: none; border: 1px solid var(--line-2); border-radius: 999px; transition: border-color .25s ease; }
.chip-link:hover { border-color: var(--ink); color: var(--ink); }
.bag-btn { min-height: 48px; padding: 0 18px 0 16px; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); display: inline-flex; align-items: center; gap: 10px; font-size: 13px; transition: background-color .25s ease; }
.bag-btn:hover { background: var(--bronze); }
.bag-btn__icon { position: relative; display: flex; }
.badge { position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.bump { animation: bump .5s ease; }

.catnav { border-top: 1px solid var(--line); }
.catnav__in { display: flex; justify-content: center; gap: 4px 44px; overflow-x: auto; scrollbar-width: none; }
.catnav__in::-webkit-scrollbar { display: none; }
.catnav a { position: relative; flex: none; text-decoration: none; min-height: 50px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.catnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .35s ease; }
.catnav a:hover { color: var(--ink); }
.catnav a:hover::after { transform: scaleX(1); }

/* ---------- Banner ---------- */
.banner { position: relative; overflow: hidden; transition: background-color 1s ease; }
.slide { position: relative; min-height: 600px; display: flex; align-items: stretch; animation: banIn 1s var(--ease) both; }
.slide__pattern { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide__in { position: relative; width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 56px; padding-bottom: 96px; }
.slide__txt { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.slide__title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(54px, 7.4vw, 112px); line-height: .9; letter-spacing: -.02em; }
.slide__title em { font-weight: 400; display: block; }
.slide__text { margin: 0; font-size: 17px; font-weight: 300; line-height: 1.7; max-width: 440px; opacity: .85; }
.slide__art { flex: 1 1 460px; min-width: 0; position: relative; display: flex; align-items: center; justify-content: center; min-height: 460px; }
.slide__disc { position: absolute; left: 50%; top: 50%; width: min(460px, 90vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; }
.slide__ring { position: absolute; left: 50%; top: 50%; width: min(540px, 100vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid; }
.slide__art svg { position: relative; margin: 0 -16px; }
.slide .u1 { animation: up .9s .15s var(--ease) both; }
.slide .u2 { animation: up .9s .3s var(--ease) both; }
.slide .u3 { animation: up .9s .45s var(--ease) both; }
.slide .u4 { animation: up .9s .6s var(--ease) both; }

/* Banner con video */
.slide--video { color: #fff; }
.slide__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.1) 100%); }

.banner__ctrl { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 18px; }
.banner__arrow { width: 44px; height: 44px; border-radius: 50%; background: transparent; border: 1px solid currentColor; display: flex; align-items: center; justify-content: center; opacity: .75; transition: opacity .25s ease; }
.banner__arrow:hover { opacity: 1; }
.banner__dots { display: flex; gap: 8px; }
.banner__dot { width: 52px; height: 44px; padding: 0; border: 0; background: transparent; display: flex; align-items: center; }
.banner__dot span { position: relative; display: block; width: 100%; height: 2px; background: currentColor; opacity: .3; overflow: hidden; }
.banner__dot[aria-pressed="true"] span { opacity: 1; background: transparent; }
.banner__dot[aria-pressed="true"] span::before { content: ""; position: absolute; inset: 0; background: currentColor; opacity: .3; }
.banner__dot[aria-pressed="true"] span::after { content: ""; position: absolute; inset: 0; background: currentColor; transform-origin: left center; animation: prog var(--ban-ms, 5500ms) linear both; }
.banner.is-paused .banner__dot span::after { animation-play-state: paused; }

/* ---------- Beneficios ---------- */
.perks { border-bottom: 1px solid var(--line); }
.perks__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.perk { display: flex; align-items: center; justify-content: center; gap: 14px; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk__t { font-size: 14px; font-weight: 500; }
.perk__s { font-size: 13px; color: var(--muted); }

/* ---------- Secciones ---------- */
.section { padding-top: 100px; padding-bottom: 100px; display: flex; flex-direction: column; gap: 40px; }
.section--tight-top { padding-top: 60px; }
.section--tight-bottom { padding-bottom: 40px; }

/* Categorías en círculo */
.circles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.circle { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.circle:hover { color: var(--ink); }
.circle__img { width: 100%; max-width: 190px; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s ease; }
.circle__img svg { width: 40%; filter: drop-shadow(0 14px 14px rgba(0,0,0,.25)); }
.circle__img img { width: 72%; height: 72%; object-fit: contain; }
.circle:hover .circle__img { transform: translateY(-6px); box-shadow: 0 22px 40px -18px rgba(0,0,0,.25); }
.circle__label { font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }

/* Paginador */
.pager { display: flex; align-items: center; gap: 10px; }
.pager__txt { font-size: 13px; color: var(--muted); padding-right: 6px; }
.round { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ink); background: transparent; color: var(--ink); transition: background-color .25s ease, color .25s ease; }
.round:hover, .round--dark { background: var(--ink); color: var(--white); }
.round--dark:hover { background: var(--bronze); border-color: var(--bronze); }

/* ---------- Tarjeta de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 44px 24px; }
.grid--feat { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; gap: 14px; animation: pop .55s var(--ease) both; }
.card__img { position: relative; width: 100%; aspect-ratio: 1 / 1.1; border: 0; padding: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card__img svg { width: 44%; filter: drop-shadow(0 22px 22px rgba(0,0,0,.22)); transition: transform .7s var(--ease); }
.card__img img { width: 80%; height: 80%; object-fit: contain; transition: transform .9s var(--ease); }
.card:hover .card__img svg { transform: translateY(-12px) scale(1.05); }
.card:hover .card__img img { transform: translateY(-8px) scale(1.04); }
.tag { position: absolute; top: 14px; left: 14px; background: var(--white); color: var(--ink); font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; padding: 6px 10px; }
.card__quick { position: absolute; left: 14px; right: 14px; bottom: 14px; min-height: 44px; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; opacity: 0; transform: translateY(10px); transition: all .4s ease; }
.card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; }
.card__info { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.card__fam { font-size: 10px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze); }
.card__name { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.05; }
.card__sub { font-size: 13px; color: var(--muted); }
.card__price { font-size: 18px; font-weight: 500; padding-top: 4px; }

/* ---------- Promos ---------- */
.promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; padding-bottom: 90px; }
.promo { position: relative; overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; padding: 44px; text-decoration: none; }
.promo--dark { background: #1A120A; color: #F7F0E3; }
.promo--light { background: #EFE7DA; color: var(--ink); }
.promo:hover { color: inherit; }
.promo__art { position: absolute; inset: 0; transition: transform 1.1s var(--ease); }
.promo:hover .promo__art { transform: scale(1.06); }
.promo__glow { position: absolute; right: -60px; top: -40px; width: 460px; height: 460px; border-radius: 50%; }
.promo__bottles { position: absolute; right: 40px; top: 40px; display: flex; align-items: flex-end; }
.promo__bottles svg { margin: 0 -10px; filter: drop-shadow(0 24px 24px rgba(0,0,0,.4)); }
.promo__txt { position: relative; display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
.promo__name { font-family: var(--serif); font-size: 58px; font-weight: 300; line-height: .9; }
.promo__desc { font-size: 15px; font-weight: 300; line-height: 1.6; opacity: .85; }
.promo__cta { padding-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 6px; }
.promo--dark .eyebrow, .promo--dark .promo__cta { color: var(--gold); }

/* ---------- Asesor ---------- */
.quiz { background: var(--cream); }
.quiz__in { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 100px; padding-bottom: 100px; }
.quiz__ask { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.quiz__ask .h2 { font-size: clamp(44px, 5vw, 76px); line-height: .92; }
.quiz__step { display: flex; flex-direction: column; gap: 12px; }
.quiz__label { font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 480px; border: 1px solid var(--ink); background: var(--white); }
.segmented button { min-height: 52px; border: 0; background: var(--white); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; transition: background-color .25s ease, color .25s ease; }
.segmented button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.vibes { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.vibe { position: relative; min-height: 190px; padding: 0 10px 16px; border: 1px solid #E6DFD3; background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; transition: background-color .3s ease, border-color .3s ease, transform .3s ease; }
.vibe:hover { transform: translateY(-2px); }
.vibe[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.vibe svg.bottle { width: 54px; margin-bottom: 8px; filter: drop-shadow(0 12px 12px rgba(0,0,0,.2)); }
.vibe__name { font-family: var(--serif); font-size: 26px; line-height: 1; }
.vibe__hint { font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.vibe__check { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); display: none; align-items: center; justify-content: center; }
.vibe[aria-pressed="true"] .vibe__check { display: flex; animation: pop .4s var(--ease) both; }
.quiz__result { flex: 1 1 520px; min-width: 0; align-self: center; }
.quiz__wait { background: var(--white); border: 1px solid #E6DFD3; min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 40px; }
.quiz__wait p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.2; color: #4A443B; max-width: 380px; }
.quiz__bottles { display: flex; align-items: flex-end; }
.quiz__bottles svg { width: 74px; margin: 0 -6px; filter: drop-shadow(0 16px 16px rgba(0,0,0,.2)); animation: float 6s ease-in-out infinite; }
.matches { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.match { background: var(--white); border: 1px solid #E6DFD3; padding: 22px 14px 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; animation: pop .55s var(--ease) both; }
.match__img { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.match__img svg { width: 46%; filter: drop-shadow(0 16px 16px rgba(0,0,0,.22)); transition: transform .6s var(--ease); }

.match:hover .match__img svg { transform: translateY(-8px); }

/* ---------- Tienda con filtros ---------- */
.shop__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.shop__head .h2 { font-size: clamp(44px, 5vw, 72px); line-height: .95; }
.shop__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.shop__count { font-size: 14px; color: var(--muted); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sort select { height: 46px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); padding: 0 14px; font-size: 14px; letter-spacing: 0; text-transform: none; }
.shop__body { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.filters { flex: 1 1 220px; max-width: 100%; }
.filters summary { list-style: none; display: none; }
.filters summary::-webkit-details-marker { display: none; }
.filters__in { display: flex; flex-direction: column; gap: 28px; }
.fgroup { border: 0; margin: 0; padding: 0 0 24px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.fgroup legend { padding: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.fopt { display: flex; align-items: center; gap: 12px; min-height: 40px; cursor: pointer; font-size: 15px; color: var(--ink-2); }
.fopt input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.fopt span:nth-child(2) { flex: 1; }
.fopt__n { font-size: 12px; color: #8E877B; }
.link-btn { align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: transparent; font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }
.shop__grid { flex: 999 1 600px; min-width: 0; }
.empty { text-align: center; padding: 60px 16px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.empty p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 30px; color: #4A443B; }

/* ---------- Catálogo real: extras ---------- */
.card__info { flex: 1; }
.card__insp { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--bronze); line-height: 1.3; padding-top: 2px; }
.price s { color: #8E877B; font-weight: 400; font-size: .8em; margin-right: 4px; }
.price--out { color: #9B3B3B; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.card--out .card__img img { opacity: .5; filter: grayscale(.4); }
.tag--out { left: auto; right: 14px; background: var(--ink); color: var(--white); }
.noimg { font-family: var(--serif); font-size: 42px; letter-spacing: .2em; color: rgba(0,0,0,.18); }
.more { display: flex; justify-content: center; padding-top: 48px; }

.slide__photos { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 8px; margin-top: -30px; }
@media (min-width: 1600px) {
  .slide__photo--0 .slide__card, .slide__photo--2 .slide__card { width: 210px; height: 260px; }
  .slide__photo--1 .slide__card { width: 300px; height: 360px; }
}
.slide__photo { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.slide__card { display: flex; align-items: flex-end; justify-content: center; }
.slide__card img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 26px 24px var(--ban-shadow, rgba(0,0,0,.3))); transition: transform .6s var(--ease); }
.slide__photo:hover .slide__card img { transform: translateY(-8px) scale(1.03); }
.slide__photo--0 .slide__card, .slide__photo--2 .slide__card { width: 180px; height: 220px; }
.slide__photo--1 { position: relative; z-index: 1; }
.slide__photo--1 .slide__card { width: 260px; height: 310px; }

.promo__bottles img { object-fit: contain; height: auto; filter: drop-shadow(0 24px 24px rgba(0,0,0,.35)); margin: 0 -14px; }

.lead-muted { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.7; color: #4A443B; max-width: 460px; }
.insp-search { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--ink); padding: 0 18px; max-width: 520px; }
.insp-search input { flex: 1; min-width: 0; height: 58px; border: 0; background: transparent; font-size: 16px; }
.insp-search input:focus-visible, .search input:focus-visible { outline: none; }
.insp-search:focus-within { box-shadow: 0 0 0 2px var(--bronze); }
.search:focus-within { box-shadow: 0 0 0 2px var(--bronze); }
.insp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.insp-chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); font-size: 13px; transition: all .25s ease; }
.insp-chip:hover { border-color: var(--ink); }
.insp-chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.grid--insp { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 32px 18px; }
.quiz__bottles img { width: 110px; height: 150px; object-fit: contain; margin: 0 -8px; filter: drop-shadow(0 16px 16px rgba(0,0,0,.2)); animation: float 6s ease-in-out infinite; }
.quiz__bottles img:nth-child(2) { animation-delay: -2s; }
.quiz__bottles img:nth-child(3) { animation-delay: -4s; }
.quiz__wait .btn { margin-top: 6px; }

.fswitch { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; font-weight: 500; cursor: pointer; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.fswitch input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.fgroup + .fgroup { margin-top: 20px; }
.fopt.is-zero { opacity: .4; }
.brand-search { width: 100%; height: 42px; border: 1px solid var(--line-2); padding: 0 12px; font-size: 14px; margin-bottom: 8px; background: var(--white); }
.brandlist { max-height: 300px; overflow-y: auto; padding-right: 6px; }

.modal__meta { font-size: 14px; color: var(--muted); margin-top: -8px; }
.modal__insp { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--cream); border-left: 2px solid var(--bronze); }
.modal__insp b { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.modal__price .price { font-size: 28px; font-weight: 500; }
.buybar { display: flex; flex-direction: column; gap: 14px; }
.modal__note { font-size: 12px; color: var(--muted); text-align: center; }
.related { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rel { background: none; border: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.rel__img { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.rel__img img { width: 78%; height: 78%; object-fit: contain; transition: transform .5s var(--ease); }
.rel:hover .rel__img img { transform: translateY(-4px); }
.rel__name { font-family: var(--serif); font-size: 17px; line-height: 1.1; }
.rel__price { font-size: 13px; font-weight: 500; }
.line__brand { font-size: 10px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze); }

/* ---------- Sugerencias del buscador ---------- */
.search { position: relative; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.16); max-height: min(70vh, 560px); overflow-y: auto; animation: pop .3s var(--ease) both; }
.suggest__item { width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line); background: var(--white); text-align: left; }
.suggest__item:hover, .suggest__item.is-active, .suggest__all.is-active { background: var(--soft); }
.suggest__img { flex: none; width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; }
.suggest__img img { width: 88%; height: 88%; object-fit: contain; }
.suggest__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.suggest__brand { font-size: 10px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze); }
.suggest__name { font-family: var(--serif); font-size: 19px; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest__insp { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest__price { flex: none; font-size: 14px; font-weight: 500; }
.suggest__price .price--out { font-size: 11px; }
.suggest__all { width: 100%; min-height: 48px; border: 0; background: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.suggest__all:hover { background: var(--ink); color: var(--white); }
.suggest__empty { padding: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }
.suggest__empty a { font-weight: 600; color: var(--ink); }

/* ---------- Frase ---------- */
.quote { position: relative; overflow: hidden; background: var(--ink); color: #F7F0E3; }
.quote__pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .6; }
.quote__in { position: relative; max-width: 1100px; margin: 0 auto; padding: 120px var(--pad); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.quote__in img { width: 84px; height: 84px; border-radius: 50%; }
.quote__in p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(36px, 4.8vw, 68px); line-height: 1.08; }
.quote__sig { font-size: 11px; letter-spacing: .5em; text-transform: uppercase; color: var(--gold); }

/* ---------- Preguntas ---------- */
.faq { max-width: 1100px; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__q { width: 100%; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; background: transparent; border: 0; text-align: left; font-family: var(--serif); font-size: 25px; }
.faq__icon { flex: none; font-family: var(--sans); font-size: 24px; font-weight: 300; transition: transform .4s ease; }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 48px 24px 0; font-size: 15px; font-weight: 300; line-height: 1.8; color: #4A443B; animation: fade .35s ease both; }

/* ---------- Pie ---------- */
.footer { background: var(--dark); color: #D4C9B6; }
.footer__in { padding-top: 80px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 56px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 44px; }
.footer__brand { display: flex; flex-direction: column; gap: 18px; max-width: 340px; }
.footer__brand img { width: 92px; height: 92px; border-radius: 50%; }
.footer__claim { font-family: var(--serif); font-style: italic; font-size: 32px; color: #F7F0E3; }
.footer__txt { font-size: 14px; font-weight: 300; line-height: 1.7; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 64px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; font-weight: 300; }
.footer__col .eyebrow { color: var(--gold); font-weight: 600; letter-spacing: .32em; padding-bottom: 6px; }
.footer__col a { text-decoration: none; color: #D4C9B6; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(226,194,126,.2); font-size: 12px; letter-spacing: .1em; color: #9A9184; }

/* ---------- WhatsApp flotante ---------- */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 25; width: 60px; height: 60px; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 34px rgba(0,0,0,.3); transition: transform .25s ease, background-color .25s ease; }
.fab:hover { transform: translateY(-2px); background: var(--bronze); color: var(--white); }

/* ---------- Ventanas ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; animation: fade .35s ease both; }
.overlay__bg { position: absolute; inset: 0; background: rgba(17,17,17,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal { position: relative; width: 100%; max-width: 1080px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--white); display: flex; flex-wrap: wrap; box-shadow: 0 40px 100px rgba(0,0,0,.35); animation: pop .55s var(--ease) both; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.modal__media { flex: 1 1 400px; min-width: 0; min-height: 480px; position: relative; display: flex; align-items: center; justify-content: center; }
.modal__media svg { width: 46%; filter: drop-shadow(0 30px 30px rgba(0,0,0,.25)); animation: float 6s ease-in-out infinite; }
.modal__media img { width: 78%; height: 78%; max-height: 520px; object-fit: contain; animation: float 6s ease-in-out infinite; }
.modal__body { flex: 1 1 420px; min-width: 0; padding: 48px 40px; display: flex; flex-direction: column; gap: 20px; }
.modal__name { margin: 0; font-family: var(--serif); font-weight: 300; font-size: 54px; line-height: .92; }
.modal__price { font-size: 26px; font-weight: 500; }
.modal__desc { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.8; color: #4A443B; }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #E6DFD3; }
.notes > div { padding: 14px; }
.notes > div + div { border-left: 1px solid #E6DFD3; }
.small-label { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.notes b { display: block; font-family: var(--serif); font-size: 18px; font-weight: 400; line-height: 1.25; padding-top: 4px; }
.meters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.meters > div { display: flex; flex-direction: column; gap: 8px; }
.bars { display: flex; gap: 4px; }
.bars i { flex: 1; height: 4px; background: #E6DFD3; }
.bars i.on { background: var(--ink); }
.modal__when { font-size: 14px; color: #4A443B; }
.modal__when strong { font-weight: 500; color: var(--ink); }
.buy { display: flex; flex-wrap: wrap; gap: 12px; }
.buy .btn { flex: 1 1 220px; min-height: 54px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-2); }
.qty button { width: 48px; height: 54px; background: transparent; border: 0; font-size: 20px; }
.qty span { min-width: 30px; text-align: center; font-size: 16px; }

.overlay--side { padding: 0; justify-content: flex-end; align-items: stretch; z-index: 60; }
.overlay--side .overlay__bg { background: rgba(17,17,17,.45); backdrop-filter: none; -webkit-backdrop-filter: none; }
.drawer { position: relative; width: min(440px, 100%); background: var(--white); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,.2); animation: slideIn .5s var(--ease) both; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--serif); font-size: 36px; line-height: 1; }
.drawer__sub { font-size: 13px; color: var(--muted); padding-top: 4px; }
.drawer__list { flex: 1; overflow-y: auto; padding: 4px 28px; }
.drawer__empty { padding: 70px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.drawer__empty p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 28px; color: #4A443B; }
.line { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); animation: pop .45s var(--ease) both; }
.line__img { width: 74px; height: 86px; flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.line__img svg { width: 54%; }
.line__img img { width: 86%; height: 86%; object-fit: contain; }
.line__info { flex: 1; min-width: 0; }
.line__name { font-family: var(--serif); font-size: 22px; line-height: 1.05; }
.line__each { font-size: 12px; color: var(--muted); padding-top: 2px; }
.line__qty { display: flex; align-items: center; gap: 2px; padding-top: 8px; }
.line__qty button { width: 44px; height: 36px; border: 1px solid var(--line-2); background: var(--white); }
.line__qty span { min-width: 30px; text-align: center; }
.line__total { font-size: 16px; font-weight: 500; }
.line { align-items: stretch; }
.line__img { align-self: center; }
.line__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 12px; flex: none; }
.line__total { margin-top: auto; padding-bottom: 6px; white-space: nowrap; }
.line__del { width: 36px; height: 36px; margin: -6px -8px 0 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.line__del:hover, .line__del:focus-visible { background: #F3EFE8; color: var(--ink); }
.line.is-out { opacity: 0; transform: translateX(24px); transition: opacity .25s ease, transform .25s ease; }
.drawer__foot { padding: 22px 28px 26px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; background: #FAF8F5; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__total span { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.drawer__total b { font-size: 30px; font-weight: 500; }
.drawer__foot .btn { letter-spacing: .18em; white-space: nowrap; }
.drawer__note { font-size: 12px; color: var(--muted); text-align: center; }
.btn.is-disabled { opacity: .4; pointer-events: none; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 70; background: var(--ink); color: var(--white); padding: 10px 10px 10px 18px; display: flex; align-items: center; gap: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.3); font-size: 14px; white-space: nowrap; max-width: calc(100vw - 32px); animation: toastIn .5s var(--ease) both; }
.toast span { overflow: hidden; text-overflow: ellipsis; }
.toast button { min-height: 40px; padding: 0 14px; border: 0; background: var(--gold); color: var(--ink); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: 10px; }

body.lock { overflow: hidden; }
section[id] { scroll-margin-top: 130px; }

/* ---------- Animaciones ---------- */
@keyframes up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes banIn { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }
.float { animation: float 6s ease-in-out infinite; }

/* Aparecer al hacer scroll */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Celular ---------- */
@media (max-width: 900px) {
  :root { --pad: 20px; }
  .brand { gap: 10px; }
  .brand img { width: 42px; height: 42px; }
  .brand__name { font-size: 17px; letter-spacing: .16em; }
  .chip-link { width: 48px; padding: 0; justify-content: center; }
  .bag-btn { padding: 0 14px; }
  .brand__sub { display: none; }
  .header__in { gap: 12px; }
  .search { order: 3; flex-basis: 100%; }
  .header__actions { margin-left: auto; }
  .chip-link span { display: none; }
  .catnav__in { justify-content: flex-start; gap: 0 28px; }
  .perks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .perk { justify-content: flex-start; align-items: flex-start; gap: 10px; }
  .perk svg { flex: none; width: 22px; }
  .perk__t { font-size: 13px; line-height: 1.3; }
  .perk__s { font-size: 12px; }
  .perk + .perk { border-left: 0; }
  .slide { min-height: 0; }
  .slide__in { padding-top: 36px; padding-bottom: 90px; gap: 10px; }
  .slide__art { min-height: 300px; order: -1; }
  .slide__photos { gap: 4px; margin-top: 0; }
  .slide__photo--0 .slide__card, .slide__photo--2 .slide__card { width: 27vw; height: 30vw; }
  .slide__photo--1 .slide__card { width: 38vw; height: 42vw; }
  .grid--insp { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .suggest__name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 17px; }
  .suggest__item { gap: 10px; padding: 10px; }
  .card__insp { font-size: 14px; }
  .brandlist { max-height: 240px; }
  .section, .quiz__in { padding-top: 70px; padding-bottom: 70px; }
  .promo { min-height: 380px; padding: 28px; }
  .promo__bottles { right: 16px; top: 20px; transform: scale(.75); transform-origin: top right; }
  .filters summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 18px; border: 1px solid var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; cursor: pointer; }
  .filters[open] summary { margin-bottom: 20px; }
  .filters { flex-basis: 100%; }
  .shop__body { gap: 28px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .grid--feat { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .card__name { font-size: 21px; }
  .card .btn { padding: 0 8px; letter-spacing: .14em; font-size: 10px; }



  section[id] { scroll-margin-top: 170px; }



  .faq__q { font-size: 21px; }
  .fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* iPhone hace zoom automático en campos con letra menor a 16px: se evita */
@media (max-width: 900px) {
  input, select, textarea, .search input, .insp-search input, .brand-search, .sort select { font-size: 16px !important; }
}

/* Encabezado en celulares angostos: la bolsa solo muestra el ícono y el número */
@media (max-width: 480px) {
  .header__in { flex-wrap: wrap; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand__name { white-space: nowrap; }
  #bagHeadTotal { display: none; }
  .bag-btn { width: 48px; padding: 0; justify-content: center; }
  .header__actions { gap: 8px; margin-left: 0; }
  .catnav a { min-height: 44px; font-size: 12px; }
}

/* ---------- Ficha en celular: pantalla completa, barra de compra fija abajo ---------- */
@media (max-width: 900px) {
  .overlay:not(.overlay--side) { padding: 0; align-items: stretch; }
  .modal { display: block; width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; animation: sheetIn .45s var(--ease) both; box-shadow: none; }
  .modal__close { position: sticky; top: max(12px, env(safe-area-inset-top)); right: auto; z-index: 5; display: flex; margin: 12px 12px -58px auto; background: rgba(255,255,255,.95); box-shadow: 0 4px 14px rgba(0,0,0,.15); }
  .modal__media { min-height: 0; height: 44vh; max-height: 380px; }
  .modal__media img { width: 72%; height: 82%; }
  .modal__body { padding: 24px 20px 0; gap: 16px; }
  .modal__name { font-size: 38px; }
  .modal__desc { font-size: 15px; line-height: 1.7; }
  .notes { grid-template-columns: 1fr; }
  .notes > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 14px; }
  .notes > div + div { border-left: 0; border-top: 1px solid #E6DFD3; }
  .notes b { font-size: 17px; text-align: right; padding-top: 0; }
  .buybar { position: sticky; bottom: 0; z-index: 4; margin: 0 -20px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px rgba(0,0,0,.06); flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
  .buybar .modal__price { flex: 1 1 100%; display: flex; align-items: baseline; justify-content: space-between; }
  .buybar .modal__price .price { font-size: 22px; }
  .buybar .buy { flex: 1 1 100%; flex-wrap: nowrap; gap: 10px; }
  .buybar .qty button { width: 42px; height: 50px; }
  .buybar .buy .btn { flex: 1 1 auto; min-width: 0; min-height: 50px; padding: 0 10px; letter-spacing: .14em; font-size: 11px; white-space: nowrap; }
  .modal__body > .btn--block { order: 0; }
  .modal__note { padding-bottom: 4px; }
  .related { padding-bottom: 28px; }
  .related__grid { gap: 8px; }
  .rel__name { font-size: 15px; }
}
@keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }


/* =========================================================================
   DISEÑO CLEAN v2
   ========================================================================= */

/* ---------- Encabezado compacto al bajar ---------- */
.header { transition: box-shadow .35s ease, background-color .35s ease; }
.header__in { transition: padding .35s ease; }
.brand img { transition: width .35s ease, height .35s ease; }
body.is-scrolled .header { box-shadow: 0 10px 30px -18px rgba(0,0,0,.25); background: rgba(255,255,255,.97); }
body.is-scrolled .header__in { padding-top: 8px; padding-bottom: 8px; }
body.is-scrolled .brand img { width: 44px; height: 44px; }
body.is-scrolled .brand__sub { opacity: 0; height: 0; padding: 0; overflow: hidden; }
.brand__sub { transition: opacity .3s ease; }
.catnav { transition: max-height .35s ease, opacity .3s ease, border-color .3s ease; max-height: 60px; overflow: hidden; }
@media (max-width: 900px) {
  body.nav-up .catnav { max-height: 0; opacity: 0; border-color: transparent; }
  body.is-scrolled .search input { height: 42px; }
}

/* ---------- Tarjeta minimalista ---------- */
.card { gap: 16px; }
.card__media { position: relative; overflow: hidden; }
.card__img { position: relative; width: 100%; aspect-ratio: 1 / 1.12; border: 0; padding: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.card__img img { width: 78%; height: 78%; object-fit: contain; transition: transform .9s var(--ease); }
.card:hover .card__img img { transform: translateY(-6px) scale(1.05); }
.card__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.035); }
.card .tag { top: 12px; left: 12px; background: rgba(255,255,255,.9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 9px; padding: 5px 9px; letter-spacing: .24em; }
.card .tag--out { left: auto; right: 12px; top: 12px; background: var(--ink); color: #fff; }
.card__add { position: absolute; right: 12px; bottom: 12px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .35s ease, transform .35s var(--ease), background-color .25s ease; }
.card__add:hover { background: var(--bronze); color: #fff; }
.card:hover .card__add, .card:focus-within .card__add { opacity: 1; transform: none; }
.card__add--wa { background: #fff; color: var(--ink); box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); }
.card__add.is-added { background: #2E6B4E; }
.card__info { display: flex; flex-direction: column; gap: 4px; padding: 0 4px; border: 0; background: transparent; text-align: left; cursor: pointer; color: inherit; }
.card__info .card__fam { font-size: 10px; letter-spacing: .28em; }
.card__name { display: block; font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.08; }
.card__sub { display: block; font-size: 12.5px; color: var(--muted); }
.card__insp { display: block; font-size: 14px; }
.card__price { display: block; font-size: 16px; font-weight: 500; padding-top: 6px; }
.card__info:hover .card__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.card--out .card__img img { opacity: .55; }
@media (hover: none) { .card__add { opacity: 1; transform: none; width: 44px; height: 44px; right: 8px; bottom: 8px; } }
.grid { gap: 52px 24px; }

/* ---------- Carrusel "Lo más pedido" ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 6px; outline-offset: 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail > .card { scroll-snap-align: start; }
.rail__bar { position: relative; height: 2px; background: var(--line); margin-top: 8px; overflow: hidden; }
.rail__bar span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); transition: width .3s ease; }
.round:disabled { opacity: .3; cursor: default; }
.link-arrow { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; margin-right: 12px; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow span { transition: transform .3s ease; }
.link-arrow:hover span { transform: translateX(4px); }
@media (max-width: 1100px) { .rail { grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; } }
@media (max-width: 900px) {
  .rail { grid-auto-columns: 66%; gap: 14px; margin-right: calc(var(--pad) * -1); padding-right: var(--pad); scroll-padding-left: 0; }
  .link-arrow { display: none; }
  .pager .round { display: none; }
}

/* ---------- Franja de marcas ---------- */
.brands { border-bottom: 1px solid var(--line); padding: 22px 0 26px; overflow: hidden; }
.brands__label { text-align: center; font-size: 10px; letter-spacing: .5em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; }
.brands__track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands__row { display: inline-flex; align-items: center; gap: 34px; width: max-content; animation: marquee 60s linear infinite; }
.brands__track:hover .brands__row { animation-play-state: paused; }
.brands__item { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink); white-space: nowrap; transition: color .25s ease; }
.brands__item:hover { color: var(--bronze); }
.brands__dot { color: var(--gold); font-size: 10px; }
@media (max-width: 900px) { .brands__item { font-size: 20px; } .brands__row { gap: 24px; animation-duration: 45s; } }

/* ---------- Pie con logotipo grande ---------- */
.footer__word { font-family: var(--serif); font-weight: 300; font-size: clamp(60px, 14vw, 230px); letter-spacing: .08em; line-height: .8; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(226,194,126,.35); user-select: none; overflow: hidden; }

/* ---------- Detalles generales ---------- */
.section__head-line { height: 1px; background: var(--line); }
.btn--dark, .btn--line { border-radius: 0; }
::selection { background: var(--gold); color: var(--ink); }

/* ---------- Móvil: encabezado sin saltos ----------
   El alto del encabezado ya no cambia al bajar (eso empujaba la página).
   Al bajar se esconde completo deslizándose; al subir vuelve a aparecer. */
@media (max-width: 900px) {
  .header { transition: transform .35s var(--ease), box-shadow .35s ease, background-color .35s ease; }
  body.is-scrolled .header__in { padding-top: 14px; padding-bottom: 14px; }
  body.is-scrolled .brand img { width: 42px; height: 42px; }
  body.is-scrolled .search input { height: 48px; }
  body.nav-up .catnav { max-height: 60px; opacity: 1; border-color: var(--line); }
  body.nav-up .header { transform: translateY(-100%); box-shadow: none; }
}

/* ---------- Marcas: compatible con iPhone ----------
   Safari de iPhone escondía la franja al combinar la máscara (mask-image)
   con la animación. Ahora el desvanecido de los lados es una capa blanca encima. */
.brands__track { position: relative; -webkit-mask-image: none; mask-image: none; }
.brands__track::before, .brands__track::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 1; pointer-events: none; }
.brands__track::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.brands__track::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }
.brands__row { animation-name: marqueeBrands; }
@keyframes marqueeBrands { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brands__track:hover .brands__row { animation-play-state: running; }
@media (hover: hover) { .brands__track:hover .brands__row { animation-play-state: paused; } }

/* Celular: la franja se mueve con JavaScript (desplazamiento nativo).
   iPhone no dibuja capas animadas muy anchas y por eso quedaba en blanco.
   Además se puede deslizar con el dedo. */
@media (max-width: 900px) {
  .brands__track { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .brands__track::-webkit-scrollbar { display: none; }
  .brands__track::before, .brands__track::after { display: none; }
  .brands__row { animation: none; transform: none; padding: 0 20px; }
}

/* ---------- Banner: reservar su espacio mientras carga el catálogo ----------
   Antes, al abrir la página se veían primero "Envíos…" y lo de abajo,
   y luego el banner aparecía empujando todo hacia abajo. */
.banner { background-color: #EFE5D6; }
#bannerSlide:empty { min-height: 612px; position: relative; }
#bannerSlide:empty ~ .banner__ctrl { visibility: hidden; }
@media (max-width: 1023px) { #bannerSlide:empty { min-height: 765px; } }
@media (max-width: 767px) { #bannerSlide:empty { min-height: 727px; } }
#bannerSlide:empty::before { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: url("../img/logo-icono.png?v=2") center / cover no-repeat; opacity: .5; animation: banLoad 1.4s ease-in-out infinite; }
@keyframes banLoad { 0%, 100% { opacity: .25; transform: scale(.94); } 50% { opacity: .6; transform: scale(1); } }

/* ---------- Pie de página en celular ----------
   "DR. PARFUM" se cortaba en pantallas angostas y el botón de WhatsApp
   tapaba el texto final. */
.footer__word { font-size: clamp(34px, 11.2vw, 200px); }
@media (max-width: 600px) {
  .footer__word { font-size: 12.4vw; letter-spacing: .05em; }
  .footer__bottom { padding-bottom: 76px; }
}

/* ---------- Ofertas ---------- */
:root { --sale: #A3263A; }
.tag--sale { left: auto !important; right: 12px; background: var(--sale) !important; color: #fff !important; letter-spacing: .08em !important; font-size: 11px !important; font-weight: 700; }
.price--sale { color: var(--sale); }
.price--sale s { color: #8E877B; }
.price__off { font-style: normal; font-size: .72em; font-weight: 700; letter-spacing: .04em; color: #fff; background: var(--sale); padding: 2px 6px; margin-left: 4px; vertical-align: 2px; }
.catnav a.catnav__sale { color: var(--sale); }
.catnav a.catnav__sale[hidden] { display: none; }
.card .price__off { display: none; }
.card .price--sale s { display: block; font-size: .78em; margin: 0 0 2px; }

/* ---------- Frase flotando ---------- */
.quote__float { display: flex; flex-direction: column; align-items: center; gap: 26px; animation: quoteFloat 7s ease-in-out infinite; }
.quote__float img { animation: quoteFloat 5.5s ease-in-out infinite reverse; box-shadow: 0 0 0 1px rgba(217,184,114,.35), 0 0 60px 6px rgba(217,184,114,.18); }
.quote__float .quote__sig { animation: sigGlow 4s ease-in-out infinite; }
@keyframes quoteFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes sigGlow { 0%, 100% { opacity: .75; } 50% { opacity: 1; text-shadow: 0 0 18px rgba(217,184,114,.55); } }

/* ---------- Móvil: menos espacio en blanco entre secciones ---------- */
@media (max-width: 900px) {
  .section, .quiz__in { padding-top: 46px; padding-bottom: 46px; gap: 26px; }
  .section--tight-top { padding-top: 34px; }
  .section--tight-bottom { padding-bottom: 26px; }
  .quote__in { padding-top: 72px; padding-bottom: 72px; }
  .brands { padding: 18px 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
