/* ==========================================================
   Barbarita Bellezura — tema de tienda (premium)
   Tipografía: Poppins
   ========================================================== */
:root {
  --bg: #FBF9F6;
  --surface: #FFFFFF;
  --ink: #171314;
  --ink-2: #3F3739;
  --muted: #7E7275;
  --line: #ECE5DF;
  --sand: #F3EDE6;
  --sand-2: #E9DFD4;
  --camel: #A98160;
  --camel-light: #E7CDB3;
  --berry: #9C2A4E;
  --blush: #F5E7EA;
  --wa: #16833F;
  --ok: #2F7D4F;
  --err: #B3261E;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;
  --shadow: 0 1px 2px rgba(23, 19, 20, .04), 0 10px 30px rgba(23, 19, 20, .06);
  --shadow-lg: 0 24px 70px rgba(23, 19, 20, .18);
  --gutter: 16px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 78px; } }
@media (min-width: 1400px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15px/1.65 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; }

/* ---------- Tipografía ---------- */
.h1, .h2, .pdp__title, .band__title, .hs__title { font-family: var(--font); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.h1 { font-size: clamp(26px, 3.4vw, 40px); }
.h2 { font-size: clamp(22px, 2.4vw, 30px); }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--camel); margin: 0 0 10px; }
.eyebrow--light { color: var(--camel-light); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 30px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-weight: 500; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .15s;
}
.btn:active { transform: scale(.985); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { filter: brightness(.94); }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 11.5px; }
.btn.is-loading { opacity: .6; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: 12.5px; }
.link-btn:hover { color: var(--ink); }
.link-arrow { font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 3px; white-space: nowrap; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); letter-spacing: 0; }
.link-arrow:hover::after { transform: translateX(4px); }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; background: transparent; border-radius: 50%; position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--sand); }

/* ---------- Barra de anuncio ---------- */
.announce { background: var(--ink); color: #EFE6DC; font-size: 11px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; text-align: center; padding: 10px var(--gutter); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(251, 249, 246, .9); backdrop-filter: saturate(1.3) blur(16px); -webkit-backdrop-filter: saturate(1.3) blur(16px); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
.header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .94); }
.header__inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.header__actions { display: flex; justify-content: flex-end; gap: 0; }
.nav { display: none; }
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.logo__script { font-family: "Great Vibes", cursive; font-weight: 400; font-size: 34px; letter-spacing: 0; text-transform: none; line-height: .9; color: var(--ink); }
.logo__caps { font-size: 8.5px; font-weight: 400; letter-spacing: .62em; text-transform: uppercase; margin-top: 2px; padding-left: .62em; color: var(--camel); }
.logo--sm .logo__script { font-size: 28px; }
.logo--light .logo__script { color: #fff; }
.logo--light .logo__caps { color: var(--camel-light); }
.cart-count { position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 600; display: grid; place-items: center; }
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

@media (min-width: 1024px) {
  .header__inner { grid-template-columns: auto 1fr auto; gap: 40px; }
  .header__menu { display: none; }
  .logo { align-items: flex-start; }
  .logo__script, .logo__caps { padding-left: 0; }
  .nav { display: flex; justify-content: center; gap: 30px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
  .nav a { padding: 8px 0; position: relative; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav a:hover::after { transform: scaleX(1); }
}

/* ---------- Buscador ---------- */
.search-panel { position: sticky; top: var(--header-h); z-index: 39; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.search-panel__form { display: flex; align-items: center; gap: 12px; height: 68px; }
.search-panel__form input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 17px; font-weight: 300; }

/* ---------- Drawers ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(23, 19, 20, .45); opacity: 0; transition: opacity .3s; }
.drawer__panel { position: absolute; top: 0; bottom: 0; width: min(430px, 92vw); background: var(--surface); display: flex; flex-direction: column; transition: transform .38s var(--ease); z-index: 1; box-shadow: var(--shadow-lg); }
.drawer--right .drawer__panel { right: 0; transform: translateX(100%); }
.drawer--left .drawer__panel { left: 0; transform: translateX(-100%); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 16px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-weight: 500; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin: 0; }
[data-cart-body] { flex: 1; overflow: auto; display: flex; flex-direction: column; }
.drawer__foot { margin-top: auto; padding: 18px 22px 26px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--surface); position: sticky; bottom: 0; }
.drawer__foot p { margin: 0; }
.menu-list { display: flex; flex-direction: column; padding: 8px 0; }
.menu-list a { padding: 16px 22px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.menu-list a:hover { background: var(--bg); }
.menu-foot { margin-top: auto; padding: 22px; display: grid; gap: 12px; font-size: 13px; color: var(--muted); }
body.no-scroll { overflow: hidden; }

.ship-meter { padding: 14px 22px; background: var(--sand); font-size: 13px; }
.ship-meter p { margin: 0 0 8px; }
.ship-meter__bar { height: 3px; background: #fff; overflow: hidden; }
.ship-meter__bar span { display: block; height: 100%; background: var(--ink); transition: width .4s; }

.mini-lines { list-style: none; margin: 0; padding: 8px 22px; display: grid; gap: 4px; }
.mini-line { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.mini-line:last-child { border-bottom: 0; }
.mini-line img { width: 64px; height: 84px; object-fit: cover; border-radius: var(--r-sm); background: var(--sand); }
.mini-line__info { display: grid; gap: 2px; min-width: 0; }
.mini-line__name { font-weight: 500; line-height: 1.35; }
.mini-line b { font-weight: 500; }
.empty { padding: 48px 20px; text-align: center; display: grid; gap: 18px; justify-items: center; }
.empty p { margin: 0; color: var(--muted); }
.empty--page { padding: 90px 20px; }

/* ---------- Carrusel de portada ---------- */
.hs { position: relative; background: var(--sand); overflow: hidden; }
.hs__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.hs__track::-webkit-scrollbar { display: none; }
.hs__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; height: min(78svh, 640px); min-height: 440px; overflow: hidden; }
.hs__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.06); transition: transform 7s ease-out; }
.hs__slide.is-active img { transform: scale(1); }
.hs__slide--right img { object-position: 74% center; }
.hs__slide--left img { object-position: 26% center; }
.hs__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,10,0) 35%, rgba(20,14,10,.62) 100%); pointer-events: none; }
.hs__content { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; padding-bottom: 64px; }
.hs__copy { max-width: 560px; color: #fff; }
.hs__eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; margin: 0 0 12px; color: var(--camel-light); }
.hs__title { font-size: clamp(32px, 5.2vw, 68px); font-weight: 500; line-height: 1.02; letter-spacing: -.03em; color: #fff; }
.hs__sub { font-size: 15px; font-weight: 300; margin: 14px 0 26px; max-width: 42ch; color: rgba(255,255,255,.9); }
.hs__copy > * { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.hs__slide.is-active .hs__copy > * { opacity: 1; transform: none; }
.hs__slide.is-active .hs__copy > *:nth-child(2) { transition-delay: .08s; }
.hs__slide.is-active .hs__copy > *:nth-child(3) { transition-delay: .16s; }
.hs__slide.is-active .hs__copy > *:nth-child(4) { transition-delay: .24s; }
.hs__dots { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3; display: flex; justify-content: center; gap: 6px; }
.hs__dots button { width: 40px; height: 20px; padding: 0; border: 0; background: none; display: grid; align-items: center; }
.hs__dots span { display: block; height: 2px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.hs__dots span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hs__dots [aria-selected="true"] span::after { animation: hsbar var(--hs-dur, 6s) linear forwards; }
.hs.is-paused .hs__dots [aria-selected="true"] span::after { animation-play-state: paused; }
@keyframes hsbar { to { transform: scaleX(1); } }
.hs__arrow { position: absolute; bottom: 24px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.12); color: #fff; display: none; place-items: center; backdrop-filter: blur(6px); transition: background .25s, color .25s; }
.hs__arrow:hover { background: #fff; color: var(--ink); }
.hs__arrow--prev { right: calc(var(--gutter) + 52px); }
.hs__arrow--next { right: var(--gutter); }
@media (min-width: 900px) {
  .hs__slide { height: min(82vh, 760px); }
  .hs__slide::after { background: linear-gradient(90deg, rgba(20,14,10,.58) 0%, rgba(20,14,10,.2) 45%, rgba(20,14,10,0) 70%); }
  .hs__slide--right img, .hs__slide--left img { object-position: center; }
  .hs__content { align-items: center; padding-bottom: 0; }
  .hs__arrow { display: grid; }
  .hs__dots { justify-content: flex-start; left: var(--gutter); right: auto; bottom: 34px; }
  .hs__sub { font-size: 16px; }
}

/* ---------- Franja de confianza ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust__row { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; padding-top: 16px; padding-bottom: 16px; font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.trust__row::-webkit-scrollbar { display: none; }
.trust__row span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; flex: none; }
.trust__row svg { width: 18px; height: 18px; color: var(--camel); }
@media (min-width: 1024px) { .trust__row { justify-content: space-between; } }

/* ---------- Secciones ---------- */
.section { padding: 44px var(--gutter); }
@media (min-width: 768px) { .section { padding-top: 72px; padding-bottom: 72px; } }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.section__head--center { justify-content: center; text-align: center; flex-direction: column; align-items: center; gap: 0; }
.page-head { padding-top: 18px; padding-bottom: 10px; }
.page-head .muted { margin: 8px 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 18px 0 12px; }
.crumbs a:hover { color: var(--ink); }

/* Categorías: tiles editoriales */
.cats { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.cats::-webkit-scrollbar { display: none; }
.cat { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-sm); background: var(--sand); scroll-snap-align: start; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(20,14,10,.55)); }
.cat__name { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.35; }
.cat:hover img { transform: scale(1.05); }
@media (min-width: 700px) { .cats { grid-auto-columns: 28%; } }
@media (min-width: 1024px) { .cats { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; gap: 14px; overflow: visible; } }

/* ---------- Grid de productos ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 10px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 18px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid--collection { margin: 8px 0 64px; }

.card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.card__mediawrap { position: relative; }
.card__media { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r-sm); overflow: hidden; background: var(--sand); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .5s; }
.card__alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__media img { transform: scale(1.04); }
  .card:hover .card__alt { opacity: 1; }
  .card__quick { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
  .card:hover .card__quick, .card__quick:focus-within { opacity: 1; transform: none; }
}
.card--sold .card__media img { filter: grayscale(.7); opacity: .55; }
.badge { position: absolute; left: 10px; top: 10px; z-index: 2; background: #fff; color: var(--ink); font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 5px 9px; border-radius: 2px; }
.badge--dark { background: var(--ink); color: #fff; }
.badge--sale { background: var(--berry); color: #fff; }
.card__quick { position: absolute; right: 10px; bottom: 10px; z-index: 2; margin: 0; }
.quick-add { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 16px rgba(23,19,20,.14); transition: background .2s, color .2s; }
.quick-add svg { width: 18px; height: 18px; stroke-width: 1.8; }
.quick-add:hover { background: var(--ink); color: #fff; }
.quick-add.is-done { background: var(--ok); color: #fff; }
.card__body { display: grid; gap: 4px; padding: 0 2px; }
.card__brand { font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--camel); }
.card__title { font-size: 13.5px; font-weight: 400; line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title:hover { color: var(--ink); }
.card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.price { font-weight: 500; font-size: 14.5px; letter-spacing: .01em; }
.price s, .pdp__price s { color: var(--muted); font-weight: 400; margin-left: 6px; }
.chip { font-size: 10.5px; font-weight: 500; letter-spacing: .08em; padding: 2px 8px; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); }

/* ---------- Franja TikTok ---------- */
.band { background: var(--ink); color: #fff; margin: 24px 0; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(169,129,96,.25), transparent 70%); }
.band__inner { padding-top: 56px; padding-bottom: 56px; display: grid; gap: 26px; align-items: center; position: relative; }
.band__title { font-size: clamp(26px, 3.6vw, 44px); font-weight: 400; letter-spacing: -.02em; }
.band__title em { font-style: italic; font-weight: 300; color: var(--camel-light); }
.band p { color: #D8CFC8; max-width: 52ch; font-weight: 300; }
.band__cta { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .band__inner { grid-template-columns: 1.5fr 1fr; padding-top: 88px; padding-bottom: 88px; } .band__cta { justify-content: flex-end; } }

/* ---------- Colección: pills y filtros ---------- */
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 4px calc(var(--gutter) * -1) 14px; padding: 4px var(--gutter); }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; padding: 9px 18px; border-radius: 2px; border: 1px solid var(--line); background: var(--surface); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; transition: all .2s; }
.pill:hover { border-color: var(--ink); }
.pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.filters__count { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: auto; width: 100%; }
@media (min-width: 768px) { .filters__count { width: auto; } }
.select { position: relative; display: inline-flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 0 30px 0 14px; height: 40px; font-size: 12.5px; }
.select span { color: var(--muted); margin-right: 6px; }
.select:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.select select { appearance: none; border: 0; background: transparent; font-weight: 500; outline: 0; height: 100%; padding-right: 2px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 13px; top: 50%; width: 6px; height: 6px; border: solid var(--ink); border-width: 0 1.3px 1.3px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }

/* ---------- Ficha de producto ---------- */
.pdp { display: grid; gap: 26px; padding-bottom: 40px; }
.pdp__gallery { min-width: 0; }
.pdp__main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.pdp__main::-webkit-scrollbar { display: none; }
.pdp__main img { flex: 0 0 100%; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-sm); scroll-snap-align: center; background: var(--sand); }
.pdp__thumbs { display: flex; gap: 8px; margin-top: 10px; }
.pdp__thumbs button { width: 64px; height: 84px; padding: 0; border: 1px solid transparent; border-radius: var(--r-sm); overflow: hidden; background: none; opacity: .6; transition: opacity .2s; }
.pdp__thumbs button.is-active { border-color: var(--ink); opacity: 1; }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info .eyebrow { margin-bottom: 8px; }
.pdp__title { font-size: clamp(22px, 2.6vw, 32px); font-weight: 400; }
.pdp__price { font-size: 20px; font-weight: 500; margin: 12px 0 14px; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; letter-spacing: .04em; color: var(--ok); margin: 0 0 22px; }
.stock .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 16%, transparent); }
.stock--one { color: var(--berry); }
.stock--out { color: var(--muted); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin: 0 0 22px; }
.specs div { background: var(--surface); padding: 12px 16px; }
.specs dt { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; }
.specs dd { margin: 3px 0 0; font-weight: 500; font-size: 14px; }
.size-tag { display: inline-block; min-width: 36px; text-align: center; padding: 1px 10px; border: 1px solid var(--ink); border-radius: 2px; }
.pdp__buy { margin: 0 0 10px; }
.pdp__desc { margin-top: 28px; }
.pdp__desc h2, .acc summary { font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 10px; }
.pdp__desc p { margin: 0; color: var(--ink-2); font-weight: 300; }
.acc { border-top: 1px solid var(--line); padding: 18px 0; }
.acc:first-of-type { margin-top: 26px; }
.acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; margin: 0; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 18px; font-weight: 300; line-height: 1; letter-spacing: 0; }
.acc[open] summary::after { content: "–"; }
.acc p { margin: 12px 0 0; color: var(--ink-2); font-size: 14px; font-weight: 300; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: start; padding-top: 8px; }
  .pdp__main { margin: 0; padding: 0; }
  .pdp__info { position: sticky; top: calc(var(--header-h) + 28px); }
}
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
.sticky-buy > div { display: grid; line-height: 1.3; }
.sticky-buy b { font-weight: 500; }
.sticky-buy form { margin: 0; }
.sticky-buy .btn { min-height: 44px; padding: 0 22px; }
.sticky-buy.is-visible { transform: none; }
@media (min-width: 900px) { .sticky-buy { display: none; } }

/* ---------- Carrito / checkout ---------- */
.cart-layout, .checkout { display: grid; gap: 28px; padding-bottom: 72px; }
@media (min-width: 900px) { .cart-layout, .checkout { grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; } .summary { position: sticky; top: calc(var(--header-h) + 20px); } }
.cart-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line img { width: 92px; height: 122px; object-fit: cover; border-radius: var(--r-sm); background: var(--sand); }
.cart-line__info { display: grid; gap: 4px; font-size: 14px; }
.cart-line__name { font-weight: 500; }
.cart-line b { font-weight: 500; }
.cart-line__actions { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.cart-line__actions form { margin: 0; }
.qty select { border: 1px solid var(--line); border-radius: 2px; padding: 6px 10px; background: var(--surface); }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; font-size: 14px; }
.summary .mini-lines { padding: 0; }
.summary__title { font-weight: 500; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 4px; }
.summary .total { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 16px; font-size: 16px; }
.summary .total b { font-weight: 600; }

.checkout__form { display: grid; gap: 26px; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
legend { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; padding: 0; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm); padding: 14px 15px; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px var(--sand); }
.field__err { color: var(--err); font-size: 12.5px; }
.choices { display: grid; gap: 10px; }
@media (min-width: 600px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 15px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; transition: border-color .2s, background .2s; font-size: 14px; }
.choice input { accent-color: var(--ink); margin-top: 4px; width: 17px; height: 17px; }
.choice span { display: grid; gap: 2px; }
.choice b { font-weight: 500; }
.choice small { color: var(--muted); font-size: 12.5px; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--bg); }

.alert { padding: 13px 16px; border-radius: var(--r-sm); margin: 16px 0; font-size: 14px; }
.alert--ok { background: #E7F4EC; color: var(--ok); }
.alert--err { background: #FDECEC; color: var(--err); }

/* ---------- Gracias ---------- */
.thanks { padding: 36px var(--gutter) 72px; }
.thanks__card { max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 36px 26px; display: grid; gap: 12px; text-align: center; }
.thanks__card .mini-lines { padding: 8px 0; text-align: left; }
.thanks__card .row-between { text-align: left; }
.thanks__icon { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 6px; border: 1px solid var(--ink); display: grid; place-items: center; font-size: 24px; }
.thanks__card p { margin: 0; }
.bank { text-align: left; background: var(--sand); padding: 18px; border-radius: var(--r-sm); }
.bank h2 { font-size: 11.5px; font-weight: 500; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .16em; }
.bank pre { margin: 0; font: inherit; white-space: pre-wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #CFC5BE; margin-top: 48px; font-size: 13.5px; font-weight: 300; }
.footer__grid { display: grid; gap: 32px; padding-top: 60px; padding-bottom: 40px; grid-template-columns: 1fr 1fr; }
.footer__grid > div:first-child { grid-column: 1 / -1; }
.footer__grid > div { display: grid; gap: 10px; align-content: start; }
.footer h3 { color: #fff; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 8px; }
.footer a:hover { color: #fff; }
.footer .logo { align-items: flex-start; }
.footer .logo__script, .footer .logo__caps { padding-left: 0; }
.footer__tag { font-size: 15px; font-weight: 300; font-style: italic; color: #fff; margin: 16px 0 0; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; padding-bottom: 30px; font-size: 12px; color: #9A8F8A; }
.footer__legal a { text-decoration: underline; }
@media (max-width: 899px) { .footer { padding-bottom: 80px; } }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer__grid > div:first-child { grid-column: auto; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 35; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(22, 131, 63, .35); transition: transform .2s, bottom .3s; }
.wa-float svg { width: 28px; height: 28px; stroke: none; }
.wa-float:hover { transform: scale(1.06); }
body.has-sticky-buy .wa-float { bottom: calc(80px + env(safe-area-inset-bottom)); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 160%); background: var(--ink); color: #fff; padding: 13px 20px; border-radius: var(--r-sm); font-size: 13px; z-index: 80; transition: transform .35s var(--ease); box-shadow: var(--shadow-lg); white-space: nowrap; }
.toast.is-visible { transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .hs__slide img { transform: none; }
  .hs__copy > * { opacity: 1; transform: none; }
}
@media (max-width: 767px) {
  .filters .select { flex: 1 1 calc(50% - 4px); min-width: 0; }
  .filters .select select { min-width: 0; flex: 1; text-overflow: ellipsis; }
  .announce { font-size: 10px; letter-spacing: .12em; }
}
