/* Estilos de Red Lenic sobre Bootstrap 5.3.
   Bootstrap da la grilla (container / row / col), el breadcrumb, el offcanvas
   del carrito y las utilidades responsive; acá va la identidad de la marca. */

:root {
  /* Paleta tomada del logo: azul índigo (#31398f → #364696) y blanco. */
  --brand: #31398f;
  --brand-2: #3a4aa0;
  --brand-dark: #222a6b;
  --ink: #161a33;
  --muted: #5f6480;
  --surface: #f4f6fc;
  --soft: #e8ebf8;
  --line: #dfe3f1;
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(22, 26, 51, .10);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  /* Serif con peso, en la línea del "Red Lenic" del logo. */
  --font-display: "Fraunces", Georgia, serif;

  /* Bootstrap con los colores y la tipografía de la marca. */
  --bs-primary: #31398f;
  --bs-primary-rgb: 49, 57, 143;
  --bs-body-font-family: var(--font);
  --bs-body-color: var(--ink);
  --bs-body-bg: #fff;
  --bs-border-color: var(--line);
  --bs-link-color: var(--brand);
  --bs-link-color-rgb: 49, 57, 143;
  --bs-link-hover-color: var(--brand-dark);
  --bs-link-hover-color-rgb: 34, 42, 107;
  --bs-focus-ring-color: rgba(49, 57, 143, .2);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---------- Botones (Bootstrap .btn con las variantes de la marca) ---------- */
.btn {
  --bs-btn-padding-x: 22px;
  --bs-btn-font-size: 15px;
  --bs-btn-font-weight: 600;
  --bs-btn-border-width: 0;
  --bs-btn-border-radius: 999px;
  --bs-btn-disabled-opacity: .6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  white-space: nowrap;
}

.btn--primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--brand);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--brand-dark);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--brand);
  --bs-btn-focus-shadow-rgb: 49, 57, 143;
}

.btn--banner {
  --bs-btn-color: var(--brand-dark);
  --bs-btn-bg: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ink);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--ink);
}

.btn--ghost {
  --bs-btn-color: #fff;
  --bs-btn-bg: rgba(255, 255, 255, .14);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(255, 255, 255, .26);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: rgba(255, 255, 255, .32);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55);
}

.btn--plain {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: var(--surface);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: var(--soft);
  --bs-btn-active-color: var(--ink);
  --bs-btn-active-bg: var(--soft);
}

.btn--block { width: 100%; }
.btn--lg { height: 50px; --bs-btn-font-size: 16.5px; }

/* Destello al pasar el mouse por "Comprar" (igual que en DecoNoha). */
.card__buy .btn { position: relative; overflow: hidden; isolation: isolate; }
.card__buy .btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  transform: translateX(-130%);
  pointer-events: none;
}
.card__buy .btn:hover::after { animation: shine-sweep 1.3s ease-in-out; }
@keyframes shine-sweep { to { transform: translateX(130%); } }

/* ---------- Topbar ---------- */
.topbar { background: var(--brand-dark); color: #fff; }
.topbar__inner { padding-top: 7px; padding-bottom: 7px; font-size: 14px; text-align: center; letter-spacing: .01em; }

/* ---------- Header ---------- */
.sh {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: transform .3s ease;
}
.sh--oculto { transform: translateY(-100%); }

.sh__top { position: relative; display: flex; align-items: center; gap: 24px; padding-top: 10px; padding-bottom: 10px; }

.brand { display: flex; flex: none; }
.brand img { display: block; width: 68px; height: 68px; }

.search { position: relative; flex: 1; max-width: 560px; margin: 0 auto; }
.search__input.form-control {
  height: 46px;
  padding: 0 52px 0 20px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 15px;
}
.search__input.form-control:focus { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(49, 57, 143, .12); }
.search__go {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}
.search__go:hover { background: var(--brand-dark); }

/* Bolsa del carrito con el número de artículos. */
.mini-cart { position: relative; flex: none; }
.sh__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  transition: background .15s ease, color .15s ease;
}
.sh__cart:hover { background: var(--brand); color: #fff; }
.sh__cart-n {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}
.sh__cart-n.is-bump { animation: bump .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes bump { 40% { transform: scale(1.45); } }

/* Aviso "¡Agregado al carrito!" que cuelga de la bolsa. */
.mini-cart__panel {
  position: absolute;
  top: calc(100% + 14px);
  right: -6px;
  z-index: 70;
  width: 300px;
  max-width: calc(100vw - 24px);
  padding: 16px 18px 18px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(22, 26, 51, .22);
  opacity: 0;
  visibility: hidden;
  transform: scale(.5, .4);
  transform-origin: top right;
  transition: opacity .2s ease, transform .22s cubic-bezier(.22, .9, .28, 1), visibility 0s linear .22s;
}
.mini-cart__panel::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 23px;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 2px 0 0 0;
}
.mini-cart.is-open .mini-cart__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mini-cart__close {
  position: absolute;
  top: 6px;
  right: 10px;
  border: 0;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: #8a8fa8;
}
.mini-cart__item { display: flex; gap: 12px; align-items: flex-start; padding-right: 22px; }
.mini-cart__img { width: 52px; height: 52px; flex: none; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.mini-cart__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 14px; }
.mini-cart__name { font-weight: 500; line-height: 1.3; }
.mini-cart__qty { font-size: 13px; color: var(--muted); }
.mini-cart__ok { margin-top: 3px; font-weight: 700; color: #1f7a3d; }
.mini-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.mini-cart__total strong { color: var(--ink); font-size: 16px; }
.mini-cart__ver { height: 42px; }

/* Menú de categorías. (.nav de Bootstrap anula el padding del container: se repone.) */
.sh-nav { border-top: 1px solid var(--line); }
.sh-nav__list.nav { padding-left: calc(var(--bs-gutter-x) * .5); padding-right: calc(var(--bs-gutter-x) * .5); }
.sh-nav__a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.sh-nav__a svg { color: var(--brand); }
.sh-nav__a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.sh-nav__a:hover::after,
.sh-nav__a.is-on::after { transform: scaleX(1); }
.sh-nav__a.is-on { color: var(--brand); font-weight: 600; }

/* ---------- Contenido ---------- */
.content { flex: 1; padding-top: 26px; }

.content__title {
  margin: 36px 0 18px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.breadcrumb {
  --bs-breadcrumb-margin-bottom: 16px;
  --bs-breadcrumb-item-active-color: var(--muted);
  --bs-breadcrumb-divider-color: var(--muted);
  font-size: 14px;
}
.breadcrumb a { color: var(--brand); }
.breadcrumb a:hover { text-decoration: underline; }

.empty {
  padding: 40px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}
.empty a { color: var(--brand); text-decoration: underline; }

/* ---------- Banner ---------- */
.banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 170px;
  margin-bottom: 26px;
  padding: 30px 44px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand) 55%, var(--brand-2) 100%);
  color: #fff;
  overflow: hidden;
}

/* Destello suave, para que no sea un color plano. */
.banner::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 68%);
  pointer-events: none;
}

.banner__txt { position: relative; max-width: 640px; }

/* Rótulo espaciado, como el "ELECTRODOMESTICOS" del logo. */
.banner__eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  opacity: .85;
}

.banner__title { margin: 0; font-family: var(--font-display); font-size: 36px; font-weight: 700; line-height: 1.12; }
.banner__sub { margin: 10px 0 0; font-size: 17px; color: rgba(255, 255, 255, .86); }
.banner__count {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  font-size: 14px;
  font-weight: 500;
}
.banner__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.banner__icon { position: relative; flex: none; display: flex; margin-right: 10px; color: rgba(255, 255, 255, .22); }

.banner--portada { min-height: 300px; margin-bottom: 0; padding: 44px 56px; }
.banner--portada .banner__title { font-size: 46px; }

.banner__logo {
  position: relative;
  flex: none;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .10), 0 18px 40px rgba(10, 14, 50, .35);
  animation: flotar 6s ease-in-out infinite;
}
@keyframes flotar { 50% { transform: translateY(-8px); } }

/* ---------- Categorías (recuadros, sólo desde tablet) ---------- */
.cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 22px 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.cat:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.cat__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--brand);
  transition: background .15s ease, color .15s ease;
}
.cat:hover .cat__icon { background: var(--brand); color: #fff; }
.cat__name { font-weight: 600; font-size: 16px; }
.cat__n { font-size: 13px; color: var(--muted); }

/* ---------- Tarjeta de producto (Bootstrap .card con el estilo de DecoNoha) ---------- */
.card {
  --bs-card-border-color: rgba(22, 26, 51, .09);
  --bs-card-border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .15s ease, transform .12s ease;
}
.card:hover { box-shadow: 0 8px 24px rgba(22, 26, 51, .16); transform: translateY(-2px); }

.card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
/* Sin foto: ícono de la categoría sobre un fondo suave. */
.card__media--ph { background: linear-gradient(160deg, var(--surface), var(--soft)); color: rgba(49, 57, 143, .55); }

.card__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.card__body { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px 16px; }
.card__cat { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.card__name {
  margin: 2px 0 6px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  height: 2.6em;   /* 2 líneas exactas: si no entra, se recorta con "…" */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.card__name a:hover { text-decoration: underline; }
.card__price { margin: auto 0 0; font-size: 24px; letter-spacing: -0.02em; }
.card__stock { margin: 8px 0 0; font-size: 13px; color: #b3261e; }

/* Cantidad + "Comprar" dentro de la tarjeta. */
.card__buy { display: flex; gap: 8px; margin-top: 12px; }
.card__buy-qty.form-control {
  width: 56px;
  flex: none;
  height: 40px;
  padding: 0 6px;
  border-radius: 10px;
  font-size: 16px;
  text-align: center;
  -moz-appearance: textfield;
}
.card__buy-qty::-webkit-outer-spin-button,
.card__buy-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.card__buy .btn { flex: 1; height: 40px; --bs-btn-padding-x: 10px; }

/* ---------- Carrito lateral (offcanvas de Bootstrap) ---------- */
.cart-drawer.offcanvas { --bs-offcanvas-width: 460px; --bs-offcanvas-padding-x: 22px; --bs-offcanvas-padding-y: 18px; }
.cart-drawer__head { border-bottom: 1px solid var(--line); }
.cart-drawer__head .offcanvas-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.cart-drawer__body.offcanvas-body { display: flex; flex-direction: column; padding: 0; transition: opacity .15s ease; }
.cart-drawer__body.is-busy { opacity: .55; pointer-events: none; }

.cart-drawer__aviso { margin: 14px 22px 0; padding: 9px 12px; border-radius: 8px; background: #fdecea; color: #a1322a; font-size: 14px; }

.cart-drawer__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 30px;
  color: var(--muted);
}
.cart-drawer__empty svg { color: var(--brand); }

.cart-drawer__list { flex: 1; margin: 0; padding: 0 22px; list-style: none; overflow-y: auto; }
.cart-drawer__item { position: relative; display: flex; gap: 14px; padding: 18px 26px 18px 0; border-bottom: 1px solid var(--line); }
.cart-drawer__thumb {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: rgba(49, 57, 143, .55);
  overflow: hidden;
}
.cart-drawer__thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.cart-drawer__info { flex: 1; min-width: 0; }
.cart-drawer__name { display: block; font-size: 15px; line-height: 1.3; }
.cart-drawer__name:hover { text-decoration: underline; }
.cart-drawer__unit { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.cart-drawer__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.cart-drawer__qty { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.cart-drawer__qty button { width: 32px; height: 32px; border: 0; background: var(--surface); font-size: 17px; color: var(--ink); }
.cart-drawer__qty button:hover { background: var(--soft); }
.cart-drawer__qty input {
  width: 40px;
  border: 0;
  font-size: 15px;
  text-align: center;
  -moz-appearance: textfield;
}
.cart-drawer__qty input:focus { outline: none; }
.cart-drawer__qty input::-webkit-outer-spin-button,
.cart-drawer__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-drawer__price { font-size: 16px; }
.cart-drawer__del { position: absolute; top: 16px; right: 0; border: 0; background: none; color: #8a8fa8; }
.cart-drawer__del:hover { color: #b3261e; }

.cart-drawer__foot { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--surface); }
.cart-drawer__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--muted); }
.cart-drawer__total strong { font-size: 22px; color: var(--ink); }
.cart-drawer__note { margin: -2px 0 2px; font-size: 13px; color: var(--muted); text-align: center; }

/* Aviso flotante (p. ej. "Solo quedan 2 unidades"). */
.rl-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 1090;
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity .25s ease, transform .25s ease;
}
.rl-toast.is-in { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Ficha del producto ---------- */
/* La grilla es una .row de Bootstrap: galería | datos | compra. */
.pdp {
  margin: 0;   /* la .row usa márgenes negativos: acá la caja tiene su propio borde */
  padding: 0 16px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.pdp__gallery { display: flex; gap: 14px; align-items: flex-start; }
.pdp__thumbs { display: flex; flex-direction: column; gap: 10px; flex: none; }
.pdp__thumb {
  width: 64px;
  height: 64px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.pdp__thumb.is-active { border: 2px solid var(--brand); padding: 2px; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.pdp__main img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.pdp__main--ph { background: linear-gradient(160deg, #fff, var(--soft)); color: rgba(49, 57, 143, .5); }

.pdp__cond { font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }
.pdp__title { margin: 8px 0 14px; font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.2; }
.pdp__price { margin: 0; font-size: 36px; font-weight: 500; letter-spacing: -0.02em; }
.pdp__h2 { margin: 26px 0 8px; font-size: 17px; font-weight: 600; }
.pdp__desc { margin: 0; font-size: 15.5px; color: #3a3f5c; }

/* Caja de compra: tarjeta blanca al costado (fija al bajar en compu). */
.pdp__buy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(22, 26, 51, .07);
}
.pdp__perks { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0 0 16px; list-style: none; border-bottom: 1px solid var(--line); }
.pdp__perks li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; }
.pdp__perks svg { flex: none; color: #1f7a3d; }
.pdp__perks .is-sin, .pdp__perks .is-sin svg { color: #b3261e; }
.pdp__buyform { flex-direction: column; gap: 14px; margin-top: 0; }
.pdp__qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; font-size: 15.5px; color: var(--muted); }
.pdp__buyform .card__buy-qty.form-control { width: 84px; height: 44px; font-size: 17px; }
.pdp__buyform .btn { flex: none; width: 100%; height: 50px; }
.pdp-recos { margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 64px; background: var(--ink); color: rgba(255, 255, 255, .78); }
.site-footer__cols { padding: 44px 0 18px; }
.footer-col h4 { margin: 0 0 14px; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff; }
.footer-col--brand img { display: block; width: 92px; height: 92px; margin-bottom: 14px; }
.footer-col--brand p { margin: 0; max-width: 300px; font-size: 15px; }
.footer-list, .footer-steps { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.footer-list li, .footer-steps li { margin-bottom: 8px; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-list__wa { display: inline-flex; align-items: center; gap: 7px; }
.footer-list__muted { color: rgba(255, 255, 255, .55); }
.footer-steps { counter-reset: paso; }
.footer-steps li { counter-increment: paso; display: flex; gap: 10px; align-items: flex-start; }
.footer-steps li::before {
  content: counter(paso);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.site-footer__legal {
  padding-top: 16px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  text-align: center;
}

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 1020;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform .2s ease;
}
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--wa);
  animation: wa-pulso 2.4s ease-out infinite;
}
@keyframes wa-pulso { from { transform: scale(1); opacity: .55; } to { transform: scale(1.7); opacity: 0; } }

/* ==========================================================
   Responsive (mismos cortes que Bootstrap: 576 / 768 / 992 / 1200)
   ========================================================== */

/* Compu: la caja de compra de la ficha queda fija al bajar. */
@media (min-width: 1200px) {
  .pdp__buy { position: sticky; top: 140px; }
}

@media (max-width: 1199.98px) {
  .banner__logo { width: 190px; height: 190px; }
}

@media (max-width: 991.98px) {
  .sh__top { gap: 16px; }
  .banner--portada { padding: 36px 40px; }
  .banner--portada .banner__title { font-size: 38px; }
  .pdp__title { font-size: 26px; }
  .pdp__price { font-size: 32px; }
}

/* Celular */
@media (max-width: 767.98px) {
  body { font-size: 16px; }

  /* Header: logo a la izquierda, bolsa a la derecha, buscador abajo
     y debajo las categorías en una fila que se desliza con el dedo. */
  .sh__top { flex-wrap: wrap; gap: 10px 12px; padding-top: 8px; padding-bottom: 10px; }
  .brand img { width: 52px; height: 52px; }
  .mini-cart { position: static; margin-left: auto; }
  .sh__cart { width: 44px; height: 44px; }
  .mini-cart__panel { right: 12px; }
  .mini-cart__panel::before { right: 22px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search__input.form-control { height: 44px; }

  .sh-nav { border-top: 0; }
  .sh-nav__list {
    gap: 8px;
    padding-top: 0;
    padding-bottom: 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: calc(var(--bs-gutter-x) * .5);   /* que el "imán" respete el margen */
    scrollbar-width: none;
  }
  .sh-nav__list::-webkit-scrollbar { display: none; }
  .sh-nav__list .nav-item { flex: none; scroll-snap-align: start; }
  .sh-nav__a {
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: 14px;
  }
  .sh-nav__a svg { width: 16px; height: 16px; }
  .sh-nav__a::after { display: none; }
  .sh-nav__a.is-on { border-color: var(--brand); background: var(--brand); color: #fff; }
  .sh-nav__a.is-on svg { color: #fff; }

  .content { padding-top: 18px; }
  .content__title { margin: 28px 0 14px; font-size: 23px; }

  .banner, .banner--portada { min-height: 0; padding: 26px 22px; }
  .banner__title, .banner--portada .banner__title { font-size: 28px; }
  .banner__sub { font-size: 15px; }
  .banner__actions .btn { flex: 1; }
  .banner__icon { position: absolute; right: -24px; bottom: -24px; margin: 0; }
  .banner__icon svg { width: 130px; height: 130px; }

  .card__body { padding: 10px 12px 12px; }
  .card__price { font-size: 19px; }
  .card__buy { gap: 6px; }
  .card__buy-qty.form-control { width: 42px; padding: 0 4px; }
  .card__buy .btn { --bs-btn-font-size: 14px; --bs-btn-padding-x: 6px; }

  .pdp { padding: 8px 4px 20px; border-radius: 16px; }
  .pdp__gallery { flex-direction: column-reverse; }
  .pdp__thumbs { flex-direction: row; overflow-x: auto; }
  .pdp__main { width: 100%; }
  .pdp__title { font-size: 24px; }
  .pdp__price { font-size: 30px; }

  .cart-drawer.offcanvas { --bs-offcanvas-width: 100vw; }

  .site-footer { margin-top: 48px; }
  .site-footer__cols { padding-top: 34px; }
  .wa-float { right: 18px; bottom: 20px; width: 52px; height: 52px; }
}
