/* Bambi theme — mobile-first. Layered on top of Bootstrap + stylesheet.css. */

/* Fuentes alojadas en el tema (ver fonts/bambi/README.md). Variables: un archivo por familia. Solo el subconjunto latin,
   que cubre el español (á é í ó ú ü ñ ¿ ¡). */
@font-face {
  font-family: "Alexandria"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("fonts/bambi/alexandria-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url("fonts/bambi/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bb-blue: #09364d;
  --bb-blue-2: #0f4d6b;
  --bb-frost: #4a7189;
  --bb-yellow: #fec52d;
  --bb-ice: #eef3f6;
  --bb-ink: #09364d;
  --bb-muted: #46606f;
  --bb-white: #fff;
  --bb-radius: 24px;
  --bb-radius-lg: 32px;
  --bb-ease: cubic-bezier(.16, 1, .3, 1);
  --bb-font: "Alexandria", system-ui, sans-serif;
  --bb-font-head: "Outfit", "Alexandria", system-ui, sans-serif;
  --bb-gutter: 1rem;
  --bb-header-h: 80px;
  --bb-space: clamp(1.75rem, 4vw, 2.75rem); /* vertical rhythm between home sections */
}

@media (min-width: 768px) {
  :root { --bb-gutter: 2rem; --bb-header-h: 100px; }
}

/* Native cross-document page transitions (Chrome / Safari). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: bb-out .25s var(--bb-ease) both; }
::view-transition-new(root) { animation: bb-in .45s var(--bb-ease) both; }
@keyframes bb-out { to { opacity: 0; transform: scale(.985); } }
@keyframes bb-in { from { opacity: 0; transform: translateY(12px); } }
.bb-header { view-transition-name: bb-header; }
::view-transition-group(bb-header) { animation-duration: 0s; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--bb-font);
  font-weight: 400;
  color: var(--bb-ink);
  background: var(--bb-white);
  padding-top: var(--bb-header-h);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--bb-font-head); font-weight: 700; letter-spacing: -.02em; color: var(--bb-ink); }
a { color: var(--bb-blue-2); text-decoration: none; }
a:hover { color: var(--bb-blue); }
img { max-width: 100%; height: auto; }

.bb-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--bb-gutter); }

/* ---------- Header ---------- */
.bb-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--bb-header-h);
  background: var(--bb-blue); /* #09364D solid, the same blue the official site uses once the header is fixed */
  transition: box-shadow .4s var(--bb-ease);
}
.bb-header.is-scrolled { box-shadow: 0 6px 24px rgba(9, 54, 77, .18); }
.bb-header__bar { height: 100%; max-width: 1480px; display: flex; align-items: center; gap: .75rem; }
@media (min-width: 768px) { .bb-header__bar { gap: 1.25rem; } }
.bb-logo { display: block; margin-right: auto; }
.bb-logo img { height: 38px; width: auto; display: block; }
@media (min-width: 768px) { .bb-logo img { height: 52px; } }
.bb-icon-btn {
  display: inline-grid; flex: none; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: var(--bb-white); font-size: 1.05rem; cursor: pointer;
  transition: background .25s var(--bb-ease), transform .25s var(--bb-ease);
}
.bb-icon-btn:hover { background: rgba(255, 255, 255, .12); color: var(--bb-white); }
.bb-icon-btn:active { transform: scale(.92); }
.bb-burger { display: inline-grid; }
/* The person icon (account / log in): only on wide screens, where it takes the place of the "Ingresar" and "Contacto" links. */
.bb-user { display: none; position: relative; text-decoration: none; }
/* Logged in: an avatar with the customer's initial and a live green dot; hovering (or focusing) it opens a small account card. */
.bb-me { display: none; position: relative; }
.bb-me__avatar {
  position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(140deg, #ffe49a 0%, var(--bb-yellow) 55%, #f4a300 100%); color: var(--bb-blue);
  font: 800 1rem/1 var(--bb-font-head); text-transform: uppercase;
  box-shadow: 0 0 0 2px rgba(254, 197, 45, .35), 0 8px 16px -8px rgba(0, 0, 0, .6);
  transition: transform .3s var(--bb-ease), box-shadow .3s var(--bb-ease);
}
.bb-me__avatar::after {
  content: ""; position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border: 2px solid var(--bb-blue); border-radius: 50%;
  background: #35d07f; animation: bb-me-live 2.4s ease-out 2;
}
@keyframes bb-me-live { 0% { box-shadow: 0 0 0 0 rgba(53, 208, 127, .7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(53, 208, 127, 0); } }
.bb-me .bb-user:hover { background: transparent; }
.bb-me:hover .bb-me__avatar, .bb-me:focus-within .bb-me__avatar { transform: scale(1.08); box-shadow: 0 0 0 3px rgba(254, 197, 45, .55), 0 10px 20px -8px rgba(0, 0, 0, .65); }
.bb-me__pop {
  position: absolute; top: 100%; right: -8px; z-index: 30; width: 244px; padding-top: .6rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.97); transform-origin: top right;
  transition: opacity .25s var(--bb-ease), transform .35s var(--bb-ease), visibility 0s .35s;
}
.bb-me:hover .bb-me__pop, .bb-me:focus-within .bb-me__pop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.bb-me__card {
  display: grid; gap: .1rem; padding: .5rem; border-radius: 22px; background: var(--bb-white); color: var(--bb-blue);
  box-shadow: 0 1px 2px rgba(9, 54, 77, .08), 0 28px 56px -22px rgba(5, 32, 47, .6);
}
.bb-me__who { display: flex; align-items: center; gap: .7rem; padding: .6rem .6rem .75rem; margin-bottom: .25rem; border-bottom: 1px solid rgba(9, 54, 77, .08); }
.bb-me__who strong { display: block; font: 700 1rem/1.2 var(--bb-font-head); }
.bb-me__who small { display: block; color: var(--bb-muted); font-size: .78rem; }
.bb-me__avatar--sm { flex: none; width: 40px; height: 40px; font-size: 1.1rem; box-shadow: none; }
.bb-me__avatar--sm::after { display: none; }
.bb-me__card a { display: flex; align-items: center; gap: .7rem; padding: .6rem .75rem; border-radius: 14px; color: var(--bb-blue); font-size: .92rem; font-weight: 500; text-decoration: none; transition: background .2s, color .2s; }
.bb-me__card a i { width: 1.1rem; text-align: center; color: var(--bb-muted); transition: color .2s; }
.bb-me__card a:hover { background: var(--bb-ice); color: var(--bb-blue); }
.bb-me__card a:hover i { color: var(--bb-blue); }
.bb-me__card .bb-me__out { margin-top: .15rem; }
@media (prefers-reduced-motion: reduce) { .bb-me__avatar::after { animation: none; } .bb-me__pop { transition: none; } }

/* Mobile sheet */
.bb-panel {
  position: fixed; inset: var(--bb-header-h) 0 0 0; padding: 1.5rem var(--bb-gutter) 2rem;
  background: var(--bb-blue); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--bb-ease), transform .5s var(--bb-ease), visibility 0s .5s;
}
.bb-header.is-open .bb-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
/* Neutralise the legacy #menu skin from stylesheet.css */
.bb-nav#menu { background: none; border: 0; min-height: 0; border-radius: 0; padding: 0; margin: 0; }
.bb-nav ul { list-style: none; margin: 0; padding: 0; }
.bb-nav > ul > li > a {
  display: block; padding: .9rem 0; color: var(--bb-white);
  font: 700 1.75rem/1.1 var(--bb-font-head); letter-spacing: -.02em;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.bb-nav__sub a { display: block; padding: .4rem 0 .4rem 1rem; color: rgba(255, 255, 255, .75); font-size: 1rem; }
.bb-nav a:hover { color: var(--bb-yellow); }
.bb-panel__extra { margin-top: 1.5rem; display: grid; gap: .25rem; }
.bb-panel__extra a { color: var(--bb-white); padding: .5rem 0; font-weight: 500; white-space: nowrap; }

/* Search */
.bb-search { position: absolute; inset: 100% 0 auto 0; padding: .75rem var(--bb-gutter) 1rem; background: var(--bb-blue);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s var(--bb-ease), transform .4s var(--bb-ease), visibility 0s .4s; }
.bb-header.is-search .bb-search { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.bb-search form { max-width: 640px; margin-inline: auto; margin-bottom: 0 !important; }
.bb-search .form-control { border-radius: 999px 0 0 999px; border: 0; }
.bb-search .btn { border-radius: 0 999px 999px 0; background: var(--bb-yellow); border: 0; color: var(--bb-blue); }
/* The loupe turns into an X while the search is open: that is the way to close it. */
.bb-search-toggle { position: relative; }
/* Font Awesome gives its icons a fixed 1.25em width, which pinned the loupe to the button's left edge: fill the button so it is centred. */
.bb-ico { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; transition: opacity .25s var(--bb-ease), transform .35s var(--bb-ease); }
.bb-ico--close { opacity: 0; transform: rotate(-90deg) scale(.5); }
.bb-header.is-search .bb-ico--open { opacity: 0; transform: rotate(90deg) scale(.5); }
.bb-header.is-search .bb-ico--close { opacity: 1; transform: none; }
.bb-header.is-search .bb-search-toggle { background: rgba(255, 255, 255, .14); }

/* Wide screens (bambi.js sets .is-inline when the field fits next to the menu): the field opens to the left of the X over the free
   space, and the menu slides left to make room. Nothing here changes the layout: the field is positioned over the bar and the menu moves
   with a transform, so both animate on the GPU and the header never reflows. When it does not fit, the field drops down as on a phone. */
.bb-header.is-inline .bb-search {
  inset: 50% var(--bb-search-right, 4rem) auto auto; width: var(--bb-search-w, 320px); padding: 0; background: none; transform: translateY(-50%);
}
.bb-header.is-inline.is-search .bb-search { transform: translateY(-50%); animation: bb-search-in .5s var(--bb-ease) backwards; }
.bb-header.is-inline .bb-search form { max-width: none; }
.bb-header.is-inline .bb-search .input-group { flex-wrap: nowrap; }
.bb-header.is-inline .bb-search .form-control-lg { min-height: 44px; padding: .4rem 1.1rem; font-size: .95rem; }
.bb-header.is-inline .bb-search .btn-lg { min-height: 44px; padding: 0 1.1rem; font-size: .95rem; }
.bb-header.is-inline .bb-search .bb-suggest { left: auto; right: 0; width: min(460px, 92vw); }
.bb-header.is-inline .bb-panel { transition: transform .5s var(--bb-ease); }
.bb-header.is-inline.is-search .bb-panel { transform: translateX(var(--bb-shift, -340px)); }
@keyframes bb-search-in { from { opacity: 0; clip-path: inset(0 0 0 100% round 999px); } to { opacity: 1; clip-path: inset(0 round 999px); } }
@media (prefers-reduced-motion: reduce) {
  .bb-header.is-inline.is-search .bb-search { animation: none; }
  .bb-header.is-inline .bb-panel, .bb-ico { transition: none; }
}

/* Cart */
#cart { margin: 0 !important; width: auto; }
#cart .dropdown { display: block; }
#cart > .dropdown > .btn {
  width: auto; display: inline-flex; align-items: center; gap: .5rem; height: 44px; padding: 0 .9rem;
  border: 0; border-radius: 999px; background: var(--bb-yellow); color: var(--bb-blue); font-weight: 700; font-size: .85rem;
  transition: transform .25s var(--bb-ease), filter .25s;
}
#cart > .dropdown > .btn::after { display: none; }
#cart > .dropdown > .btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.bb-cart__text { display: none; }
#cart .dropdown-menu { min-width: min(92vw, 420px); border: 0; border-radius: var(--bb-radius); box-shadow: 0 24px 60px rgba(9, 54, 77, .25); }

/* Mini-carrito */
#cart .bb-mini { padding: 1rem; background: var(--bb-white); margin-top: .6rem !important; }
.bb-mini__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; max-height: min(46vh, 340px); overflow-y: auto; overscroll-behavior: contain; }
.bb-mini__item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: .85rem; align-items: start; padding: .75rem 0; border-bottom: 1px solid rgba(9, 54, 77, .08); }
.bb-mini__item:last-child { border-bottom: 0; }
.bb-mini__img { display: block; width: 72px; height: 72px; overflow: hidden; border-radius: 14px; background: var(--bb-ice); }
.bb-mini__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bb-mini__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; font-size: .92rem; line-height: 1.25; color: var(--bb-ink); }
.bb-mini__name:hover { color: var(--bb-blue-2); }
.bb-mini__meta { list-style: none; margin: .3rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.bb-mini__meta li { padding: .15rem .55rem; border-radius: 999px; background: var(--bb-ice); color: var(--bb-muted); font-size: .72rem; font-weight: 600; }
.bb-mini__meta .bb-mini__warranty { background: #e7f6ec; color: #17653a; }
.bb-mini__meta .bb-mini__warranty i { margin-right: .2rem; }
.bb-mini__row { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-top: .45rem; }
.bb-mini__qty { color: var(--bb-muted); font-size: .85rem; font-weight: 600; white-space: nowrap; }
.bb-mini__price { font: 800 1rem var(--bb-font-head); white-space: nowrap; color: var(--bb-ink); }
.bb-mini__remove { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--bb-muted); transition: background .2s, color .2s; }
.bb-mini__remove:hover, .bb-mini__remove:focus-visible { background: #fde8e6; color: #b3261e; }
.bb-mini__totals { margin: .5rem 0 1rem; padding: .85rem 1rem; border-radius: 16px; background: var(--bb-ice); display: grid; gap: .35rem; }
.bb-mini__totals div { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; color: var(--bb-muted); }
.bb-mini__totals dt, .bb-mini__totals dd { margin: 0; font-weight: 600; white-space: nowrap; }
.bb-mini__totals .is-total { padding-top: .45rem; border-top: 1px solid rgba(9, 54, 77, .1); font-size: 1.05rem; color: var(--bb-ink); }
.bb-mini__totals .is-total dt, .bb-mini__totals .is-total dd { font-family: var(--bb-font-head); font-weight: 800; }
.bb-mini__actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: .6rem; }
.bb-mini__btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .6rem 1rem; border-radius: 999px; background: var(--bb-blue); color: var(--bb-white); font-weight: 700; font-size: .92rem; transition: transform .25s var(--bb-ease), background .25s; }
.bb-mini__btn:hover { background: var(--bb-blue-2); color: var(--bb-white); transform: translateY(-1px); }
.bb-mini__btn--ghost { background: var(--bb-ice); color: var(--bb-blue); }
.bb-mini__btn--ghost:hover { background: #dde7ee; color: var(--bb-blue); }
.bb-mini__empty { margin: 0; padding: 1.75rem 1rem; display: grid; justify-items: center; gap: .6rem; text-align: center; color: var(--bb-muted); }
.bb-mini__empty i { font-size: 1.6rem; color: var(--bb-frost); }

/* Desktop header */
@media (min-width: 992px) {
  .bb-burger { display: none; }
  .bb-user { display: inline-grid; }
  .bb-me { display: block; }
  .bb-only-sheet { display: none; }
  .bb-panel { position: static; inset: auto; padding: 0; background: none; overflow: visible; opacity: 1; visibility: visible; transform: none; display: flex; align-items: center; gap: 1.25rem; transition: none; }
  .bb-nav > ul { display: flex; gap: .25rem; }
  .bb-nav > ul > li { position: relative; }
  .bb-nav > ul > li > a { white-space: nowrap; padding: .5rem .9rem; font: 500 .95rem var(--bb-font); border: 0; letter-spacing: 0; border-radius: 999px; transition: background .25s; }
  .bb-nav > ul > li:hover > a { background: rgba(255, 255, 255, .12); color: var(--bb-white); }
  .bb-nav__sub { position: absolute; top: 100%; left: 0; min-width: 220px; padding: .5rem; border-radius: 20px; background: var(--bb-white);
    box-shadow: 0 24px 60px rgba(9, 54, 77, .25); opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .25s var(--bb-ease), transform .35s var(--bb-ease), visibility 0s .35s; }
  .bb-nav__item:hover .bb-nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .bb-nav__sub a { padding: .6rem .9rem; color: var(--bb-ink); border-radius: 12px; }
  .bb-nav__sub a:hover { background: var(--bb-ice); color: var(--bb-blue); }
  .bb-panel__extra { margin: 0; display: flex; gap: 1rem; }
  .bb-panel__extra a { padding: .5rem .25rem; font-size: .95rem; }
  .bb-cart__text { display: inline; }
}

/* ---------- Buttons ---------- */
.bb-btn {
  display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.6rem; border: 0; border-radius: 999px;
  font: 700 .95rem var(--bb-font); cursor: pointer; text-decoration: none;
  background: var(--bb-yellow); color: var(--bb-blue);
  transition: transform .35s var(--bb-ease), box-shadow .35s var(--bb-ease), background .25s;
}
.bb-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(254, 197, 45, .35); color: var(--bb-blue); }
.bb-btn:active { transform: scale(.97); }
.bb-btn--dark { background: var(--bb-blue); color: var(--bb-white); }
.bb-btn--dark:hover { box-shadow: 0 12px 28px rgba(9, 54, 77, .3); color: var(--bb-white); }
.bb-btn--line { background: transparent; border: 2px solid var(--bb-blue); color: var(--bb-blue); }
.bb-btn--line:hover { background: var(--bb-blue); color: var(--bb-white); }

/* ---------- Hero ---------- */
/* One slide, or several that cross-fade in the same cell. The text sits on the left over a wash that is darkest behind it. */
.bb-hero { position: relative; overflow: hidden; color: var(--bb-white); background: var(--bb-blue); }
.bb-hero__track { display: grid; }
.bb-hero__slide {
  grid-area: 1 / 1; position: relative; isolation: isolate; display: flex; align-items: center;
  min-height: calc((100svh - var(--bb-header-h)) * .66); padding: 3rem 0;
}
.bb-hero__bg { /* photo + dark blue wash: intense like the official hero, and readable text */
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
}
.bb-hero__slide::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(9, 54, 77, .93) 0%, rgba(9, 54, 77, .8) 42%, rgba(9, 54, 77, .42) 100%);
}
.bb-hero__inner { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.bb-pill { display: inline-block; padding: .35rem .8rem; border-radius: 999px; background: var(--bb-yellow); color: var(--bb-blue); font: 700 .7rem var(--bb-font); letter-spacing: .08em; text-transform: uppercase; }
.bb-hero__title { margin: .9rem 0; max-width: 17ch; color: var(--bb-white); font-size: clamp(2rem, 6vw, 3.9rem); line-height: 1.02; letter-spacing: -.035em; }
.bb-hero p { max-width: 46ch; margin: 0 0 1.6rem; color: rgba(255, 255, 255, .88); font-weight: 300; font-size: clamp(1rem, 2.6vw, 1.2rem); line-height: 1.6; }
.bb-hero p strong { font-weight: 500; color: var(--bb-white); }
@media (max-width: 767.98px) {
  .bb-hero__slide::before { background: linear-gradient(180deg, rgba(9, 54, 77, .72) 0%, rgba(9, 54, 77, .88) 100%); }
}

/* The text rises in each time its slide comes up. */
.bb-hero__slide.is-active .bb-hero__inner > * { animation: bb-hero-in .9s var(--bb-ease) both; }
.bb-hero__slide.is-active .bb-hero__inner > :nth-child(2) { animation-delay: .08s; }
.bb-hero__slide.is-active .bb-hero__inner > :nth-child(3) { animation-delay: .16s; }
.bb-hero__slide.is-active .bb-hero__inner > :nth-child(4) { animation-delay: .24s; }
@keyframes bb-hero-in { from { opacity: 0; transform: translateY(24px); } }

/* Carousel: only with more than one slide (and JavaScript; without it the first slide stays). */
.bb-hero--slider .bb-hero__slide { opacity: 0; visibility: hidden; transition: opacity .9s var(--bb-ease), visibility 0s linear .9s; }
.bb-hero--slider .bb-hero__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.bb-hero--slider .bb-hero__bg { transform: scale(1.04); transition: transform 7s linear; }
.bb-hero--slider .is-active .bb-hero__bg { transform: scale(1.1); }
.bb-hero__btn {
  position: absolute; top: 50%; z-index: 3; display: none; place-items: center; width: 48px; height: 48px; margin-top: -24px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: var(--bb-white); font-size: 1rem; cursor: pointer;
  backdrop-filter: blur(6px); transition: background .25s var(--bb-ease), color .25s var(--bb-ease), transform .25s var(--bb-ease);
}
.bb-hero__btn:hover { background: var(--bb-yellow); color: var(--bb-blue); }
.bb-hero__btn:focus-visible { outline: 3px solid var(--bb-yellow); outline-offset: 2px; }
.bb-hero__btn--prev { left: max(.75rem, 2vw); }
.bb-hero__btn--next { right: max(.75rem, 2vw); }
.bb-hero__dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 1.1rem; display: flex; justify-content: center; gap: .5rem; }
.bb-hero__dot {
  width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer;
}
.bb-hero__dot::after { content: ""; width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .45); transition: width .4s var(--bb-ease), background .3s var(--bb-ease); }
.bb-hero__dot.is-on::after { width: 28px; background: var(--bb-yellow); }
.bb-hero__dot:focus-visible { outline: 3px solid var(--bb-yellow); outline-offset: 1px; border-radius: 8px; }
/* The dots live in the bottom padding so they never cover the button. */
.bb-hero--slider .bb-hero__slide { padding-bottom: 4.25rem; }
@media (min-width: 768px) {
  .bb-hero__btn { display: grid; }
  .bb-hero--slider .bb-hero__inner { padding-inline: 3.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-hero__slide.is-active .bb-hero__inner > * { animation: none; }
  .bb-hero--slider .bb-hero__slide { transition: none; }
  .bb-hero--slider .bb-hero__bg, .bb-hero--slider .is-active .bb-hero__bg { transform: none; transition: none; }
}

/* ---------- Sections ---------- */
.bb-section { padding: calc(var(--bb-space) * 1.1) 0; }
.bb-section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.bb-section__head h2 { margin: 0; font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.05; }
.bb-section__head p { margin: .5rem 0 0; max-width: 44ch; color: var(--bb-muted); font-weight: 300; }

/* Product grid (module output) */
#product-list, .row-cols-1.product-grid, .bb-products .row { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
.product-thumb {
  position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden;
  background: var(--bb-ice); border: 0; border-radius: var(--bb-radius);
  transition: transform .6s var(--bb-ease), box-shadow .6s var(--bb-ease);
}
.product-thumb:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(9, 54, 77, .16); }
.product-thumb .image { position: relative; background: #e1e9ee; overflow: hidden; }
/* Heart over the photo (bottom right, so it never meets the offer or compatibility badges at the top). */
.bb-thumb__wish { position: absolute; right: .65rem; bottom: .65rem; z-index: 2; margin: 0; }
.bb-wish { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--bb-blue); font-size: 1.05rem; box-shadow: 0 8px 20px -8px rgba(9, 54, 77, .5); cursor: pointer; transition: transform .25s var(--bb-ease), background .2s, color .2s; }
.bb-wish:hover, .bb-wish:focus-visible { background: var(--bb-yellow); transform: scale(1.1); }
.bb-wish:active { transform: scale(.92); }
.bb-wish.is-on, .bb-tool.is-on { color: #d9304f; }
.bb-wish.is-on i, .bb-tool.is-on i { font-weight: 900; }
/* "Visto recientemente": the heart sits over the photo (a quarter-width-by-three photo: 75% of the card's width), bottom right as in the other cards. */
.bb-feature__item--recent { position: relative; container-type: inline-size; }
.bb-feature__item--recent .bb-thumb__wish { top: calc(75cqw - 42px - .65rem); right: .65rem; bottom: auto; }
.product-thumb .image img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transform: scale(1.22); transition: transform .8s var(--bb-ease); }
.product-thumb:hover .image img { transform: scale(1.3); }
.product-thumb .content { flex: 1; display: flex; flex-direction: column; padding: 1.25rem 1.25rem 1.5rem; gap: 1rem; }
.product-thumb .description { flex: 1; }
.product-thumb h4 { margin: 0 0 .4rem; font-size: 1.25rem; line-height: 1.15; }
.product-thumb h4 a { color: var(--bb-ink); }
.product-thumb p { margin: 0 0 .75rem; color: var(--bb-muted); font-size: .9rem; font-weight: 300; }
.product-thumb .description p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-thumb .price { font: 700 1.35rem var(--bb-font-head); }
.product-thumb .price-old { margin-left: .4rem; font-size: .95rem; font-weight: 400; color: var(--bb-muted); text-decoration: line-through; }
/* En oferta: el anterior tachado y chico arriba, el precio nuevo grande en azul abajo, y el porcentaje sobre la imagen. */
.product-thumb .price--offer { display: grid; gap: .1rem; }
.product-thumb .price--offer .price-old { margin: 0; font: 500 .85rem var(--bb-font); text-decoration: none; }
.product-thumb .price--offer .price-old s { text-decoration-thickness: 1.5px; text-decoration-color: rgba(179, 38, 30, .7); }
.product-thumb .price--offer .price-new { font-size: 1.5rem; color: var(--bb-blue); }
.bb-badge-off { position: absolute; top: .65rem; right: .65rem; z-index: 2; padding: .28rem .7rem; border-radius: 999px; background: var(--bb-yellow); color: var(--bb-blue); font: 800 .78rem var(--bb-font); box-shadow: 0 6px 16px -8px rgba(9, 54, 77, .5); }
.product-thumb .price-tax { display: block; font: 300 .75rem var(--bb-font); color: var(--bb-muted); }
.bb-thumb__actions { display: flex; gap: .5rem; align-items: center; }
.bb-thumb__actions .bb-btn { flex: 1; justify-content: center; padding: .8rem .9rem; white-space: nowrap; }
.bb-thumb__ghost { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 1px solid rgba(9, 54, 77, .15); border-radius: 50%; background: transparent; color: var(--bb-blue); transition: background .25s, transform .25s var(--bb-ease); }
.bb-thumb__ghost:hover { background: var(--bb-white); transform: scale(1.08); }
/* Desktop: the button just says "Agregar" (the cards are narrow there); phones keep the full label. */
.bb-btn__short { display: none; }
@media (min-width: 992px) { .bb-btn__long { display: none; } .bb-btn__short { display: inline; } }
/* Phones: the price gets its own band, with room above and between the old and the new one. */
@media (max-width: 767.98px) {
  .product-thumb .content { gap: 1.35rem; padding: 1.35rem 1.25rem 1.5rem; }
  .product-thumb .description p { margin-bottom: 1.1rem; }
  .product-thumb .price { padding-top: 1.1rem; border-top: 1px solid rgba(9, 54, 77, .1); font-size: 1.55rem; line-height: 1.2; }
  .product-thumb .price--offer { gap: .45rem; }
  .product-thumb .price--offer .price-old { font-size: .95rem; }
  .product-thumb .price--offer .price-new { font-size: 1.85rem; line-height: 1.1; }
}

/* Benefits */
.bb-benefits { margin-inline: var(--bb-gutter); border-radius: var(--bb-radius-lg); color: var(--bb-white); background: radial-gradient(90% 120% at 50% -20%, #2d5b78, #09364d 60%); }
.bb-benefits h3 { color: var(--bb-white); font-size: 1.3rem; margin: 1rem 0 .4rem; }
.bb-benefits p { margin: 0; font-weight: 300; line-height: 1.55; color: rgba(255, 255, 255, .82); }
.bb-benefits__grid { display: grid; gap: 2.5rem 1.5rem; grid-template-columns: 1fr; }
.bb-benefits img { width: 56px; height: 56px; }
@media (min-width: 576px) { .bb-benefits__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .bb-benefits__grid { grid-template-columns: repeat(4, 1fr); } .bb-benefits { margin-inline: auto; max-width: calc(1240px - 2 * var(--bb-gutter)); } }

/* About */
.bb-about { display: grid; overflow: hidden; border-radius: var(--bb-radius-lg); background: var(--bb-ice); }
.bb-about img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.bb-about__body { padding: clamp(1.5rem, 5vw, 3.5rem); }
.bb-about h2 { font-size: clamp(1.8rem, 4.5vw, 2.75rem); margin: 0 0 1rem; }
.bb-about p { color: var(--bb-muted); line-height: 1.7; font-weight: 300; }
.bb-about p strong { color: var(--bb-ink); font-weight: 500; }
@media (min-width: 768px) { .bb-about { grid-template-columns: 1fr 1fr; } }

/* FAQ — native <details>, animated with interpolate-size where supported */
.bb-faq { max-width: 820px; margin-inline: auto; }
.bb-faq h2 { font-size: clamp(1.8rem, 4.5vw, 2.75rem); margin-bottom: 1.5rem; }
.bb-faq details { border-bottom: 1px solid rgba(9, 54, 77, .12); interpolate-size: allow-keywords; }
.bb-faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; cursor: pointer; list-style: none; font-weight: 500; }
.bb-faq summary::-webkit-details-marker { display: none; }
.bb-faq summary::after { content: "+"; font: 300 1.6rem/1 var(--bb-font); transition: transform .4s var(--bb-ease); }
.bb-faq details[open] summary::after { transform: rotate(45deg); }
.bb-faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--bb-ease), content-visibility .5s allow-discrete; }
.bb-faq details[open]::details-content { block-size: auto; }
.bb-faq details p { margin: 0 0 1.25rem; color: var(--bb-muted); font-weight: 300; line-height: 1.65; }

/* CTA band */
.bb-cta { margin: 0 var(--bb-gutter); padding: clamp(2.5rem, 8vw, 5rem) var(--bb-gutter); border-radius: var(--bb-radius-lg); text-align: center; color: var(--bb-white);
  background: radial-gradient(100% 140% at 20% 0%, #4a7189, #09364d 65%); }
.bb-cta h2 { color: var(--bb-white); font-size: clamp(1.9rem, 5.5vw, 3.4rem); margin: 0 0 .5rem; }
.bb-cta p { margin: 0 0 1.75rem; font-weight: 300; font-size: 1.1rem; opacity: .9; }

/* ---------- Avisos (errores, éxitos): un cartel por vez, debajo del header ---------- */
#alert {
  position: fixed; z-index: 1900; top: calc(var(--bb-header-h) + .75rem); left: 50%; width: min(540px, calc(100vw - 1.5rem)); margin: 0;
  transform: translateX(-50%); display: grid; gap: .6rem; pointer-events: none;
}
#alert .alert {
  --bb-tone: var(--bb-blue-2); --bb-tone-soft: #e6f0f6;
  position: relative; display: flex; align-items: flex-start; gap: .8rem; margin: 0; padding: .85rem .6rem .95rem .85rem; overflow: hidden;
  border: 0; border-radius: 18px; background: var(--bb-white); color: var(--bb-ink); font-size: .93rem; line-height: 1.45; pointer-events: auto;
  box-shadow: inset 5px 0 0 var(--bb-tone), 0 18px 44px -14px rgba(9, 54, 77, .4), 0 0 0 1px rgba(9, 54, 77, .07);
  animation: bb-toast-in .45s var(--bb-ease) both;
}
#alert .alert-danger { --bb-tone: #b3261e; --bb-tone-soft: #fdecea; }
#alert .alert-success { --bb-tone: #1f8a4c; --bb-tone-soft: #e7f6ec; }
#alert .alert-warning { --bb-tone: #b26a00; --bb-tone-soft: #fff3d6; }
.bb-alert__icon { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--bb-tone-soft); color: var(--bb-tone); font-size: 1rem; }
.bb-alert__text { flex: 1; min-width: 0; padding-top: .3rem; overflow-wrap: anywhere; }
#alert .alert a { color: var(--bb-tone); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
#alert .alert .btn-close { position: static; flex: none; width: 34px; height: 34px; margin: 0; padding: 0; border-radius: 50%; background-size: .7rem; opacity: .5; }
#alert .alert .btn-close:hover, #alert .alert .btn-close:focus-visible { opacity: 1; background-color: var(--bb-ice); }
/* The bar shows how long the notice stays (it stops while the mouse is over it); when it ends the notice leaves. */
#alert .alert::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--bb-tone); opacity: .35; transform-origin: left; animation: bb-toast-time var(--bb-toast-ms, 6000ms) linear forwards; }
#alert .alert:hover::after, #alert .alert:focus-within::after { animation-play-state: paused; }
#alert .alert.is-leaving { opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s; }
@keyframes bb-toast-in { from { opacity: 0; transform: translateY(-12px) scale(.98); } }
@keyframes bb-toast-time { to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { #alert .alert { animation: none; } #alert .alert::after { opacity: 0; } }

/* Errors under a field */
.invalid-feedback { margin-top: .3rem; color: #b3261e; font-size: .8rem; font-weight: 600; line-height: 1.35; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #b3261e; }
.form-control.is-invalid:focus, .form-select.is-invalid:focus { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, .18); }

/* ---------- Footer ---------- */
footer { position: static; width: auto; border: 0; margin-top: 3rem; padding: 3.5rem 0 2rem; background: var(--bb-blue); color: rgba(255, 255, 255, .75); }
footer h5 { margin-bottom: 1rem; color: var(--bb-white); font: 700 .8rem var(--bb-font); letter-spacing: .1em; text-transform: uppercase; }
footer a { color: rgba(255, 255, 255, .75); }
footer a:hover { color: var(--bb-yellow); }
footer li { margin-bottom: .5rem; }
footer .bb-footer__brand img { height: 34px; width: auto; }
footer .bb-footer__brand p { margin-top: 1rem; max-width: 28ch; font-weight: 300; }
footer .bb-footer__tag { letter-spacing: .25em; text-transform: uppercase; font-size: .7rem; color: var(--bb-yellow); }
footer hr { border-color: rgba(255, 255, 255, .15); opacity: 1; }
footer p { font-size: .85rem; }
footer .bb-regret-btn {
  display: flex; width: fit-content; align-items: center; gap: .5rem; margin-top: 1.25rem; padding: .5rem 1rem; border: 1px solid var(--bb-yellow); border-radius: 999px;
  color: var(--bb-yellow); font-weight: 600; transition: background .25s var(--bb-ease), color .25s var(--bb-ease);
}
footer .bb-regret-btn:hover { background: var(--bb-yellow); color: var(--bb-blue); }
.bb-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; }
footer .bb-footer__credit a { color: var(--bb-white); font-weight: 700; letter-spacing: .04em; }
footer .bb-footer__credit a:hover { color: var(--bb-yellow); }

/* ---------- Inner pages (category / product / checkout): light restyle ---------- */
#container > main { min-height: 50vh; }
/* Migas de pan: un recorrido liviano (el tema base las dibujaba como flechas dentro de una caja gris). */
.breadcrumb {
  display: flex; flex-wrap: nowrap; align-items: center; gap: .15rem; margin: 0; padding: 1rem 0 .75rem;
  overflow-x: auto; scrollbar-width: none; font-size: .85rem; background: none; border: 0; border-radius: 0;
}
.breadcrumb::-webkit-scrollbar { display: none; }
.breadcrumb > li.breadcrumb-item { display: flex; align-items: center; flex: none; padding: 0; text-shadow: none; color: var(--bb-muted); }
.breadcrumb > li.breadcrumb-item::after { content: none; display: none; }
.breadcrumb > li.breadcrumb-item + li::before {
  content: ""; float: none; width: .42rem; height: .42rem; margin: 0 .55rem 0 .35rem; padding: 0;
  border-top: 1.5px solid rgba(9, 54, 77, .35); border-right: 1.5px solid rgba(9, 54, 77, .35); transform: rotate(45deg);
}
.breadcrumb > li.breadcrumb-item > a { display: inline-flex; align-items: center; color: var(--bb-muted); font-weight: 500; text-decoration: none; transition: color .2s; }
.breadcrumb > li.breadcrumb-item > a:hover { color: var(--bb-blue); }
.breadcrumb > li.breadcrumb-item:first-child > a { width: 30px; height: 30px; justify-content: center; border-radius: 50%; background: var(--bb-ice); color: var(--bb-blue); }
.breadcrumb > li.breadcrumb-item:first-child > a:hover { background: var(--bb-yellow); }
.breadcrumb > li.breadcrumb-item:last-child > a { color: var(--bb-ink); font-weight: 700; pointer-events: none; }
.breadcrumb i { font-size: .8rem; }
#content h1, #content h2 { letter-spacing: -.02em; }
.btn-primary { --bs-btn-bg: var(--bb-blue); --bs-btn-border-color: var(--bb-blue); --bs-btn-hover-bg: var(--bb-blue-2); --bs-btn-hover-border-color: var(--bb-blue-2); --bs-btn-active-bg: var(--bb-blue); border-radius: 999px; font-weight: 700; }
.btn { border-radius: 999px; }
.form-control, .form-select { border-radius: 14px; }
.card, .table { border-radius: var(--bb-radius); }

/* ---------- Floating WhatsApp button ---------- */
/* Always a circle. A ring pulses out of it and the icon gives a little shake every few seconds, so it is noticed without nagging. */
.bb-wa {
  position: fixed; z-index: 950; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border-radius: 50%;
  background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 10px 28px -8px rgba(9, 54, 77, .55), 0 2px 6px rgba(9, 54, 77, .25);
  transition: transform .3s var(--bb-ease), box-shadow .3s var(--bb-ease), bottom .35s var(--bb-ease);
  animation: bb-wa-in .7s var(--bb-ease) 1.2s backwards;
}
.bb-wa::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #25d366; animation: bb-wa-pulse 2.6s cubic-bezier(.2, .6, .4, 1) 2s infinite; }
.bb-wa i { font-size: 2rem; line-height: 1; transform-origin: 50% 70%; animation: bb-wa-shake 8s ease-in-out 3s infinite; }
.bb-wa:hover, .bb-wa:focus-visible { color: #fff; transform: translateY(-3px) scale(1.06); box-shadow: 0 16px 34px -8px rgba(9, 54, 77, .6), 0 2px 6px rgba(9, 54, 77, .25); }
.bb-wa:hover i, .bb-wa:focus-visible i, .bb-wa:hover::before, .bb-wa:focus-visible::before { animation: none; }
.bb-wa:focus-visible { outline: 3px solid var(--bb-yellow); outline-offset: 3px; }
@keyframes bb-wa-pulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.75); opacity: 0; } }
@keyframes bb-wa-shake { 0%, 12%, 100% { transform: none; } 2% { transform: rotate(-14deg); } 4% { transform: rotate(12deg); } 6% { transform: rotate(-10deg); } 8% { transform: rotate(8deg); } 10% { transform: rotate(-4deg); } }
@keyframes bb-wa-in { from { transform: scale(.2); opacity: 0; } }
/* The text is a bubble to the left of the circle (computers, on hover or keyboard focus); on phones there is only the circle. */
.bb-wa__label {
  display: none; position: absolute; right: calc(100% + .8rem); top: 50%; padding: .55rem 1rem; border-radius: 999px; background: var(--bb-white); color: var(--bb-blue);
  font: 700 .9rem var(--bb-font); white-space: nowrap; box-shadow: 0 10px 28px -10px rgba(9, 54, 77, .5); opacity: 0; pointer-events: none; transform: translate(8px, -50%);
  transition: opacity .25s var(--bb-ease), transform .3s var(--bb-ease);
}
@media (hover: hover) and (min-width: 768px) {
  .bb-wa__label { display: block; }
  .bb-wa:hover .bb-wa__label, .bb-wa:focus-visible .bb-wa__label { opacity: 1; transform: translate(0, -50%); }
}
@media (max-width: 767.98px) { .bb-wa { width: 56px; height: 56px; } .bb-wa i { font-size: 1.85rem; } }
/* On a product page the "add to cart" bar slides up from the bottom on phones: the button rides above it. */
@media (max-width: 991.98px) {
  body:has(.bb-sticky-buy.is-on) .bb-wa { bottom: calc(5.4rem + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .bb-wa, .bb-wa::before, .bb-wa i, .bb-wa__label { animation: none; transition: none; }
  .bb-wa:hover, .bb-wa:focus-visible { transform: none; }
}

/* ---------- Motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px) scale(.985); transition: opacity .9s var(--bb-ease), transform 1.1s var(--bb-ease); transition-delay: var(--bb-delay, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Scroll-linked hero depth (Apple-style). Progressive enhancement. */
@supports (animation-timeline: view()) {
  .bb-hero__inner { animation: bb-hero-out linear both; animation-timeline: view(); animation-range: exit 0% exit 70%; }
  @keyframes bb-hero-out { to { opacity: .0; transform: translateY(-6vh) scale(.96); } }
  .bb-about img { animation: bb-parallax linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes bb-parallax { from { transform: scale(1.12) translateY(-3%); } to { transform: scale(1.12) translateY(3%); } }
  .bb-about { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* The featured module prints its own h3; the section already has a heading. */
.bb-products > h3, .bb-products > div > h3 { display: none; }

/* ---------- Destacados: carrusel que avanza solo (como mucho 4 por vista, también en pantallas anchas) ---------- */
.bb-feature { --bb-per-view: 1.25; --bb-feature-gap: 1rem; }
.bb-feature__track {
  display: flex; gap: var(--bb-feature-gap); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: .75rem 0 .75rem; margin-inline: calc(var(--bb-gutter) * -1); padding-inline: var(--bb-gutter);
  scroll-padding-inline: var(--bb-gutter);
}
.bb-feature__track::-webkit-scrollbar { display: none; }
.bb-feature__track:focus-visible { outline: 3px solid var(--bb-yellow); outline-offset: -3px; border-radius: var(--bb-radius); }
/* The track bleeds into the gutter; percentages are relative to its content box, i.e. the section width. */
.bb-feature__item {
  flex: 0 0 calc((100% - (var(--bb-per-view) - 1) * var(--bb-feature-gap)) / var(--bb-per-view));
  scroll-snap-align: start; min-width: 0;
}
@media (min-width: 576px) { .bb-feature { --bb-per-view: 2.2; } }
@media (min-width: 768px) { .bb-feature { --bb-per-view: 3; } }
@media (min-width: 992px) { .bb-feature { --bb-per-view: 4; --bb-feature-gap: 1.25rem; } }
.bb-feature__item .product-thumb { height: 100%; border-radius: 20px; background: var(--bb-white); box-shadow: 0 1px 2px rgba(9, 54, 77, .05), 0 10px 26px -16px rgba(9, 54, 77, .3); }
.bb-feature .product-thumb .image { background: var(--bb-ice); }
.bb-feature .product-thumb .image img { aspect-ratio: 5 / 4; object-fit: cover; transform: scale(1.02); }
.bb-feature .product-thumb:hover .image img { transform: scale(1.08); }
.bb-feature .product-thumb .content { padding: 1rem 1rem 1.15rem; gap: .85rem; }
.bb-feature .product-thumb h4 { font-size: 1.05rem; line-height: 1.2; }
.bb-feature .product-thumb .description p { -webkit-line-clamp: 2; font-size: .82rem; }
.bb-feature .product-thumb .price { font-size: 1.2rem; }
.bb-feature .product-thumb .price--offer .price-new { font-size: 1.35rem; }
.bb-feature .bb-thumb__actions .bb-btn { padding: .7rem .75rem; font-size: .8rem; }
.bb-feature .bb-thumb__ghost { display: none; }
.bb-feature { position: relative; --bb-dots-h: 2.6rem; }
.bb-feature__item .bb-cats__card { height: 100%; background: var(--bb-white); box-shadow: 0 1px 2px rgba(9, 54, 77, .05), 0 10px 26px -16px rgba(9, 54, 77, .3); }
.bb-feature.is-static .bb-feature__track { scroll-snap-type: none; }
.bb-feature.is-static .bb-feature__clone, .bb-feature.is-static .bb-feature__btn, .bb-feature.is-static .bb-feature__dots { display: none; }
/* Arrows: on the sides, vertically centered on the cards (the dots row below is not counted). */
.bb-feature__btn {
  position: absolute; z-index: 3; top: calc((100% - var(--bb-dots-h)) / 2 - 24px); width: 48px; height: 48px; display: none; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer; background: var(--bb-white); color: var(--bb-blue);
  box-shadow: 0 10px 28px -8px rgba(9, 54, 77, .45), 0 0 0 1px rgba(9, 54, 77, .06);
  transition: background .25s var(--bb-ease), color .25s var(--bb-ease), transform .25s var(--bb-ease), box-shadow .25s;
}
.bb-feature__btn--prev { left: -.5rem; }
.bb-feature__btn--next { right: -.5rem; }
.bb-feature__btn:hover { background: var(--bb-blue); color: var(--bb-white); transform: scale(1.06); }
.bb-feature__btn:active { transform: scale(.94); }
.bb-feature__btn:focus-visible { outline: 3px solid var(--bb-yellow); outline-offset: 2px; }
@media (min-width: 768px) { .bb-feature__btn { display: grid; } }
@media (min-width: 1300px) { .bb-feature__btn--prev { left: -1.6rem; } .bb-feature__btn--next { right: -1.6rem; } }
/* Dots: centered under the carousel. */
.bb-feature__dots { height: var(--bb-dots-h); display: flex; align-items: center; justify-content: center; gap: .5rem; }
.bb-feature__dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(9, 54, 77, .22); cursor: pointer; transition: width .35s var(--bb-ease), background .25s; }
.bb-feature__dot:hover { background: rgba(9, 54, 77, .45); }
.bb-feature__dot.is-on { width: 26px; background: var(--bb-blue); }
.bb-feature__dot:focus-visible { outline: 3px solid var(--bb-yellow); outline-offset: 2px; }

/* Suggestions: a spinner in the field while they load, and the previous list stays (dimmed) until the new one is ready. */
.bb-suggest-wrap.is-loading::after { content: ""; position: absolute; top: 50%; right: 2.6rem; width: 16px; height: 16px; margin-top: -8px; border: 2px solid rgba(9, 54, 77, .2); border-top-color: var(--bb-blue); border-radius: 50%; animation: bb-spin .7s linear infinite; pointer-events: none; }
.bb-suggest.is-stale { opacity: .55; transition: opacity .15s; }
@keyframes bb-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bb-suggest-wrap.is-loading::after { animation-duration: 2s; } }
