/* ==========================================================================
   BEBO Beauty storefront design (Universal Shop-inspired layout, BEBO pink).
   Loaded after store.css and bebo.css. store.css provides the base components
   (product cards, section heads, promo cards, features bar); this file adds the
   header, navigation, hero, category glider, newsletter and responsive rules.
   ========================================================================== */
:root {
    --bs-max: 1240px;
    --surface-2: #faf6f8;
    --header-shadow: 0 6px 24px -18px rgba(43, 35, 39, .5);
}
body.theme-bebo { background: #fff; color: var(--text); font-family: var(--font-body); }
.theme-bebo h1, .theme-bebo h2, .theme-bebo h3, .theme-bebo h4, .theme-bebo h5, .theme-bebo h6 { font-family: var(--font-head); color: var(--charcoal); letter-spacing: -.01em; }
.theme-bebo .container { max-width: var(--bs-max); }
.theme-bebo main { min-height: 50vh; }
.theme-bebo .section { padding: clamp(1.25rem, .9rem + 1.5vw, 2.25rem) 0; }
/* Back-to-back sections share one gap instead of two (no double padding). */
.theme-bebo .section:not(.bg-surface) + .section:not(.bg-surface) { padding-top: 0; }
.theme-bebo .section.bg-surface, .theme-bebo .bg-surface { background: var(--surface-2) !important; }
.section-sm-top { padding-top: 1.5rem !important; }
.text-brand { color: var(--bebo-btn) !important; }

/* ---------- Top bar ---------- */
.bs-topbar { background: var(--charcoal); color: rgba(255, 255, 255, .86); font-size: .78rem; }
.bs-topbar-row { display: flex; align-items: center; gap: 1rem; min-height: 34px; }
.bs-topbar a { color: rgba(255, 255, 255, .86); display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; white-space: nowrap; }
.bs-topbar a:hover { color: #fff; }
.bs-topbar-left, .bs-topbar-right { gap: 1.1rem; align-items: center; flex: 0 0 auto; }
.bs-topbar-center { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.bs-topbar-center a { max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: block; }
.bs-topbar-center i { margin-right: .35rem; color: #f6a9c3; }

/* ---------- Header ---------- */
.bs-header { position: sticky; top: 0; z-index: 1030; background: #fff; box-shadow: var(--header-shadow); }
.bs-header-main { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; }
.bs-logo { flex: 0 0 auto; }
.bs-logo .brand-logo img { height: 42px; width: auto; }
.bs-search { position: relative; flex: 1 1 auto; max-width: 640px; height: 46px; display: flex; align-items: stretch; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s, box-shadow .2s; }
.bs-search:focus-within { border-color: var(--bebo); box-shadow: 0 0 0 .2rem rgba(221, 56, 114, .12); background: #fff; }
.bs-search-cat { border: 0; background: transparent; padding: 0 .4rem 0 1.1rem; max-width: 165px; font-size: .85rem; font-weight: 600; color: var(--charcoal); border-right: 1px solid var(--line); border-radius: 999px 0 0 999px; outline: none; cursor: pointer; }
.bs-search input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; padding: 0 1rem; font-size: .92rem; outline: none; }
.bs-search-btn { flex: 0 0 auto; width: 38px; height: 38px; margin: 3px; border: 0; border-radius: 50%; background: var(--bebo-btn); color: #fff; display: grid; place-items: center; transition: background .2s; }
.bs-search-btn:hover { background: var(--bebo-dark); }
.bs-search .search-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 1050; }
.bs-actions { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.bs-action { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 58px; padding: .3rem .35rem; border: 0; background: none; color: var(--charcoal); font-size: .7rem; font-weight: 600; text-decoration: none; border-radius: 10px; }
.bs-action i { font-size: 1.3rem; line-height: 1; }
.bs-action:hover { color: var(--bebo-btn); background: var(--bebo-blush); }
.bs-action .count { position: absolute; top: 0; right: 10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--bebo-btn); color: #fff; font-size: .65rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.bs-action .count[data-count="0"] { display: none; }
.bs-icon-btn { width: 42px; height: 42px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; color: var(--charcoal); font-size: 1.35rem; }
.bs-icon-btn:hover { background: var(--bebo-blush); color: var(--bebo-btn); }

/* Navigation row */
.bs-nav { border-top: 1px solid var(--line); background: #fff; }
.bs-nav-row { display: flex; align-items: center; gap: 1rem; min-height: 50px; }
.bs-allcats { position: relative; flex: 0 0 auto; }
.bs-allcats-btn { display: inline-flex; align-items: center; gap: .5rem; height: 38px; padding: 0 1rem; white-space: nowrap; border: 0; border-radius: 10px; background: var(--bebo-btn); color: #fff; font-weight: 700; font-size: .85rem; }
.bs-allcats-btn:hover { background: var(--bebo-dark); }
.bs-deals { color: var(--bebo-btn) !important; }
.bs-nav-extra { flex: 0 0 auto; font-size: .85rem; font-weight: 600; color: var(--bebo-btn); text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; }
/* hover / focus dropdowns (desktop) */
.bs-nav .nav-dropdown > .dropdown-menu { display: block; top: 100%; left: 0; margin-top: .35rem; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility 0s linear .18s; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgba(43, 35, 39, .35); }
.bs-nav .nav-dropdown > .dropdown-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem; }
.bs-nav .nav-dropdown:hover > .dropdown-menu, .bs-nav .nav-dropdown:focus-within > .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.bs-nav .mega-menu .dropdown-item { font-size: .88rem; padding: .45rem 1rem; }
.bs-nav .mega-menu .dropdown-item:hover { background: var(--bebo-blush); color: var(--bebo-btn); }
.bs-mega { width: min(920px, calc(100vw - 2rem)); padding: 1.2rem 1.4rem; }
.bs-mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.bs-mega-col a { display: block; font-size: .85rem; color: var(--muted); padding: .2rem 0; text-decoration: none; }
.bs-mega-col a:hover { color: var(--bebo-btn); }
.bs-mega-col .bs-mega-title { font-weight: 700; color: var(--charcoal); font-size: .92rem; margin-bottom: .25rem; }
.search-panel { padding: .7rem 0 .9rem; border-top: 1px solid var(--line); background: #fff; }
.search-panel .bs-search { max-width: none; }

@media (max-width: 991.98px) {
    .bs-header-main { min-height: 64px; gap: .5rem; }
    .bs-logo { flex: 1 1 auto; display: flex; justify-content: center; }
    .bs-logo .brand-logo img { height: 34px; }
    .bs-actions { margin-left: 0; gap: 0; }
    .bs-action { min-width: 42px; padding: .35rem; }
    .bs-action span:not(.count) { display: none; }
    .bs-action .count { right: 2px; }
}

/* ---------- Hero ---------- */
.bs-hero-wrap { padding: 1.25rem 0 .5rem; }
.bs-hero { position: relative; border-radius: 22px; overflow: hidden; background: var(--bebo-pastel); aspect-ratio: 1240 / 460; min-height: 260px; isolation: isolate; }
.bs-hero-track, .bs-hero-slide { position: absolute; inset: 0; }
.bs-hero-slide { opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.bs-hero-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.bs-hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bs-hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43, 35, 39, .72) 0%, rgba(43, 35, 39, .42) 42%, rgba(43, 35, 39, 0) 72%); }
.bs-hero-content { position: absolute; z-index: 2; left: clamp(1.25rem, 5vw, 3.5rem); top: 50%; transform: translateY(-50%); max-width: min(520px, 62%); color: #fff; }
.bs-hero-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); font-size: .78rem; font-weight: 600; margin-bottom: .9rem; }
.theme-bebo .bs-hero-title { color: #fff; font-size: clamp(1.6rem, 1rem + 2.8vw, 3.1rem); font-weight: 800; line-height: 1.08; margin: 0 0 .7rem; }
.bs-hero-text { font-size: clamp(.9rem, .85rem + .3vw, 1.05rem); opacity: .92; margin: 0 0 1.3rem; }
.bs-hero-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.5rem; border-radius: 999px; background: #fff; color: var(--charcoal) !important; font-weight: 700; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.bs-hero-btn:hover { background: var(--bebo-btn); color: #fff !important; transform: translateY(-1px); }
.bs-hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 1rem; transform: translateX(-50%); display: flex; gap: .4rem; }
.bs-hero-dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, .55); transition: width .25s, background .25s; }
.bs-hero-dots button.is-active { width: 28px; background: #fff; }
.bs-hero-nav { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: var(--charcoal); display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.bs-hero:hover .bs-hero-nav, .bs-hero-nav:focus-visible { opacity: 1; }
.bs-hero-nav.prev { left: 1rem; } .bs-hero-nav.next { right: 1rem; }
@media (max-width: 767.98px) {
    .bs-hero { aspect-ratio: auto; height: 380px; border-radius: 16px; }
    .bs-hero-slide::after { background: linear-gradient(0deg, rgba(43, 35, 39, .82) 0%, rgba(43, 35, 39, .35) 60%, rgba(43, 35, 39, .05) 100%); }
    .bs-hero-content { top: auto; bottom: 2.6rem; transform: none; max-width: calc(100% - 2.5rem); }
    .bs-hero-nav { display: none; }
}

/* ---------- Features bar / promo cards ---------- */
.theme-bebo .features-bar .feature { border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.theme-bebo .features-bar .feature i { color: var(--bebo-btn); background: var(--bebo-pastel); }
.theme-bebo .promo-card { border-radius: 18px; min-height: 190px; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.theme-bebo .promo-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(43, 35, 39, .75), rgba(43, 35, 39, 0) 70%); }
.theme-bebo .promo-card > div { position: relative; }
.theme-bebo .promo-card h3 { color: #fff; }

/* ---------- Category glider (auto right-to-left; pauses on hover/focus; manual after touch) ---------- */
.bs-cat-marquee { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.bs-cat-marquee::-webkit-scrollbar { display: none; }
.bs-cat-track { display: flex; gap: clamp(.9rem, .5rem + 1.5vw, 1.8rem); width: max-content; padding: .4rem .2rem 1rem; animation: bsCatGlide calc(var(--count, 8) * 3.2s) linear infinite; }
.bs-cat-marquee:hover .bs-cat-track, .bs-cat-marquee:focus-within .bs-cat-track, .bs-cat-marquee.is-manual .bs-cat-track { animation-play-state: paused; }
.bs-cat-marquee.is-manual .bs-cat-track { animation: none; }
@keyframes bsCatGlide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bs-cat-track { animation: none; } }
.bs-cat { display: flex; flex-direction: column; align-items: center; gap: .45rem; width: clamp(92px, 20vw, 128px); text-decoration: none; text-align: center; }
.bs-cat-img { width: clamp(84px, 18vw, 116px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--bebo-pastel), #fff); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 12px 24px -16px rgba(221, 56, 114, .55); transition: transform .3s, box-shadow .3s; }
.bs-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.bs-cat-img i { font-size: 2rem; color: var(--bebo-btn); }
.bs-cat:hover .bs-cat-img { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--bebo), 0 16px 28px -16px rgba(221, 56, 114, .7); }
.bs-cat-name { font-weight: 700; font-size: .88rem; color: var(--charcoal); line-height: 1.2; }
.bs-cat-count { font-size: .75rem; color: var(--muted); }

/* ---------- Product cards ---------- */
.theme-bebo .product-card { border-radius: 16px; border-color: var(--line); transition: box-shadow .25s, transform .25s, border-color .25s; }
.theme-bebo .product-card:hover { border-color: #f1c6d6; box-shadow: 0 20px 36px -26px rgba(221, 56, 114, .55); transform: translateY(-2px); }
.theme-bebo .product-card .body { padding: .85rem .95rem 1rem; display: flex; flex-direction: column; gap: .3rem; }
.theme-bebo .product-card .meta { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.theme-bebo .product-card .title { font-size: .92rem; font-weight: 600; margin: 0; line-height: 1.35; min-height: 2.5em; }
.theme-bebo .product-card .title a { color: var(--charcoal); text-decoration: none; }
.theme-bebo .product-card .title a:hover { color: var(--bebo-btn); }
.bs-card-foot { margin-top: auto; padding-top: .3rem; min-width: 0; }
.theme-bebo .product-card .price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .45rem; min-width: 0; }
.theme-bebo .product-card .price { font-weight: 800; font-size: 1.05rem; color: var(--charcoal); }
.theme-bebo .product-card .price-soon { font-size: .82rem; font-weight: 700; color: var(--bebo-btn); }
.p-badge.sample { background: var(--charcoal); color: #fff; }
.bs-sample-note { background: var(--bebo-blush); border: 1px dashed #ecbccd; border-radius: 12px; padding: .8rem 1rem; color: var(--charcoal); font-size: .92rem; margin: .5rem 0 1rem; }
.bs-sample-note i { color: var(--bebo-btn); margin-right: .25rem; }

/* ---------- Newsletter ---------- */
.bs-newsletter { display: grid; grid-template-columns: auto 1fr minmax(260px, 420px); align-items: center; gap: 1.25rem 1.5rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: 20px; background: linear-gradient(120deg, var(--bebo-pastel), #fff 70%); border: 1px solid var(--line); }
.bs-newsletter-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--bebo-btn); color: #fff; display: grid; place-items: center; font-size: 1.5rem; }
.bs-newsletter h2 { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); margin: 0 0 .2rem; }
.bs-newsletter p { margin: 0; color: var(--muted); font-size: .9rem; }
.bs-newsletter-form { display: flex; gap: .5rem; }
.bs-newsletter-form .form-control { border-radius: 999px; min-width: 0; }
@media (max-width: 767.98px) { .bs-newsletter { grid-template-columns: 1fr; text-align: center; } .bs-newsletter-icon { margin: 0 auto; } .bs-newsletter-form { flex-direction: column; } }

/* ---------- Footer ---------- */
.bs-footer { padding-top: 3rem; }
.bs-footer .brand-logo img { height: 46px; }
.bs-footer .contact-list li { font-size: .88rem; }
.pay-chip { background: rgba(255, 255, 255, .14); color: #fff; border-radius: 6px; padding: .2rem .55rem; font-size: .75rem; font-weight: 600; }
.bs-footer .footer-bottom a { color: #fff; text-decoration: underline; }

/* ---------- Shop listing & misc pages ---------- */
.theme-bebo .page-header { background: linear-gradient(120deg, var(--bebo-blush), #fff); border-bottom: 1px solid var(--line); }
.theme-bebo .panel { border-radius: 16px; }
.theme-bebo .filter-card { border-radius: 14px; }

/* ---------- Mobile guards: never scroll sideways ---------- */
html, body { max-width: 100%; overflow-x: hidden; }
img, video { max-width: 100%; }
@media (max-width: 575.98px) {
    .theme-bebo .container { padding-left: 14px; padding-right: 14px; }
    .theme-bebo .product-card .body { padding: .65rem .7rem .8rem; }
    .theme-bebo .product-card .price { font-size: .95rem; }
    .theme-bebo .product-card .actions button { width: 32px; height: 32px; }
}
/* ---- Carried over from catwalk.css (review marquee used by the testimonials section) ---- */
.marquee { position: relative; outline: none; }
.marquee-viewport { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; cursor: grab; }
.marquee-viewport::-webkit-scrollbar { display: none; }
.marquee-viewport.is-dragging { cursor: grabbing; }
.marquee-track { list-style: none; margin: 0; padding: 4px clamp(16px, 3vw, 40px) 8px; display: flex; gap: clamp(12px, 1.4vw, 22px); width: max-content; }
.marquee-track > li { flex: 0 0 auto; }
.marquee.is-static .marquee-viewport { scroll-snap-type: x mandatory; }
.marquee.is-static .marquee-track > li { scroll-snap-align: center; }
.marquee-controls { display: flex; justify-content: center; gap: .6rem; margin-top: clamp(20px, 2.4vw, 32px); }
.marquee-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: var(--charcoal); display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s; }
.marquee-btn:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.marquee-btn:focus-visible { outline: 2px solid var(--bebo); outline-offset: 2px; }
.review-card { width: clamp(280px, 26vw, 380px); }
.review-card figure { height: 100%; background: var(--bebo-blush); border: 1px solid var(--line); padding: 1.6rem 1.5rem 1.4rem; display: flex; flex-direction: column; gap: .7rem; position: relative; }
.review-card figure::before { content: '\201C'; position: absolute; top: -.1em; right: .35em; font: 500 5.5rem/1 var(--font-head); color: rgba(184, 137, 59, .22); pointer-events: none; }
.review-stars { font-size: .9rem; }
.review-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--charcoal); line-height: 1.2; }
.review-text { margin: 0; color: var(--text); font-size: .94rem; line-height: 1.65; flex: 1; }
.review-author { display: flex; align-items: center; gap: .7rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.review-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review-author b { display: block; color: var(--charcoal); font-size: .9rem; }
.review-author small { color: var(--muted); font-size: .76rem; }
.review-author small i { color: var(--bebo-btn); }
.review-product { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.review-empty { max-width: 560px; margin: 0 auto; text-align: center; border: 1px solid var(--line); background: var(--bebo-blush); padding: clamp(28px, 4vw, 48px); }
.review-empty > i { font-size: 2rem; color: var(--bebo); display: block; margin-bottom: .8rem; }
.review-empty p { color: var(--muted); }
.marquee-track > li { contain: layout paint; }

/* ---------- Fixes after visual review ---------- */
.bs-action.cart-action > i { width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; color: inherit; }
.theme-bebo .promo-card { color: #fff; isolation: isolate; min-height: 180px; }
.theme-bebo .promo-card::before { background: linear-gradient(0deg, rgba(43, 35, 39, .8) 0%, rgba(43, 35, 39, .15) 70%, rgba(43, 35, 39, 0) 100%); z-index: -1; }
.theme-bebo .promo-card > div { max-width: 90%; }
.theme-bebo .promo-card h3, .theme-bebo .promo-card .link, .theme-bebo .promo-card .small { color: #fff !important; }
.theme-bebo .promo-card .link { font-weight: 700; font-size: .85rem; }
.theme-bebo .promo-card:hover { color: #fff; }
@media (max-width: 767.98px) {
    /* Promo cards and service tiles become compact swipe rows on phones. */
    .bs-promos, .bs-features { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -14px; padding-right: 14px; }
    .bs-promos::-webkit-scrollbar, .bs-features::-webkit-scrollbar { display: none; }
    .bs-promos > [class*="col"] { flex: 0 0 82%; max-width: 82%; scroll-snap-align: start; }
    .bs-features > .col { flex: 0 0 62%; max-width: 62%; scroll-snap-align: start; }
    .theme-bebo .promo-card { min-height: 150px; }
}
.bs-footer .footer-title { font-family: var(--font-head); font-size: .95rem; font-weight: 700; letter-spacing: .02em; color: #fff; margin: 0 0 1rem; }
.bs-footer .footer-links li { margin-bottom: .55rem; }
.bs-footer .footer-links a, .bs-footer .contact-list a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .9rem; }
.bs-footer .footer-links a:hover, .bs-footer .contact-list a:hover { color: #fff; text-decoration: underline; }
.bs-footer .contact-list li { display: flex; gap: .6rem; margin-bottom: .75rem; line-height: 1.5; color: rgba(255, 255, 255, .82); min-width: 0; }
.bs-footer .contact-list i { color: #f6a9c3; margin-top: .15rem; flex: 0 0 auto; }
.bs-footer .social-links a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 1.05rem; text-decoration: none; }
.bs-footer .social-links a:hover { background: #fff; color: var(--bebo-btn) !important; }
.bs-footer .footer-bottom { padding: 1rem 0; margin-top: 2.5rem; font-size: .85rem; }
@media (max-width: 575.98px) { .theme-bebo .product-card .price-soon { font-size: .74rem; white-space: nowrap; } }
.bs-hero-pause { position: absolute; z-index: 3; right: 1rem; bottom: .7rem; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: var(--charcoal); display: grid; place-items: center; }
.bs-hero-pause:focus-visible, .bs-hero-nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.theme-bebo .wide-promo { border-radius: 20px; }
.theme-bebo .wide-promo h2 { color: inherit; }
.theme-bebo .wide-promo .btn-light { color: var(--charcoal); }

/* ---------- Product sliders (homepage rows) ---------- */
.bs-slider { position: relative; --per: 2; --gap: .75rem; }
@media (min-width: 768px) { .bs-slider { --per: 3; --gap: 1rem; } }
@media (min-width: 992px) { .bs-slider { --per: 4; } }
@media (min-width: 1200px) { .bs-slider { --per: 5; } }
.bs-slider-track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: .25rem .1rem 1rem; overscroll-behavior-x: contain; }
.bs-slider-track::-webkit-scrollbar { display: none; }
.bs-slide { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); min-width: 0; scroll-snap-align: start; display: flex; }
.bs-slide > .product-card { width: 100%; }
.bs-slider-btn { position: absolute; z-index: 3; top: 38%; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--charcoal); display: grid; place-items: center; box-shadow: 0 10px 22px -14px rgba(43, 35, 39, .5); }
.bs-slider-btn:hover { background: var(--bebo-btn); color: #fff; border-color: var(--bebo-btn); }
.bs-slider-btn.prev { left: -14px; } .bs-slider-btn.next { right: -14px; }
@media (max-width: 767.98px) { .bs-slider-btn { display: none; } }
/* Consistent card geometry everywhere: square image, two-line title, footer pinned to the bottom. */
.theme-bebo .product-card { display: flex; flex-direction: column; height: 100%; }
.theme-bebo .product-card .body { flex: 1 1 auto; }
.theme-bebo .product-card .media { aspect-ratio: 1 / 1; }
.theme-bebo .product-card .title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Licensed product photo attribution under the gallery */
.pdp-photo-credit{margin:.5rem 0 0;font-size:.72rem;line-height:1.35;color:var(--bs-secondary-color,#6c757d);text-align:center}
.pdp-photo-credit a{color:inherit;text-decoration:underline}

/* Wholesale quantity price list on the product page (approved wholesale accounts only) */
.wholesale-tiers{border:1px solid var(--line,#eee);border-radius:12px;padding:.65rem .8rem;background:var(--surface-2,#fff7fa);max-width:420px}
.wholesale-tiers-head{font-size:.85rem;font-weight:600;margin-bottom:.35rem;display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}
.wholesale-tiers .table{--bs-table-bg:transparent;font-size:.85rem}
.wholesale-tiers .table th{font-weight:600;color:var(--muted,#6c757d);font-size:.75rem;text-transform:uppercase;letter-spacing:.03em}

/* Wholesale + touch ergonomics (audit 2026-11-17) */
.badge-wholesale{font-size:.72rem}
@media (pointer:coarse){
  .theme-bebo .form-check-input{width:1.25rem;height:1.25rem;margin-top:.1rem}
  .theme-bebo .form-check{min-height:1.75rem}
}
.btn.disabled[aria-disabled="true"]{opacity:.65;pointer-events:none}

/* Homepage: the service-highlights bar under the hero was removed (2026-11-17). Whatever section now follows the hero gets
   the same breathing room the hero has above it (1.25rem total); nothing changes if the bar is switched back on. */
.bs-hero-wrap + section:not(.features-bar) { margin-top: .75rem; }

/* ==========================================================================
   Storefront update 2026-11-17: announcement ticker, brand marquee, card buttons.
   ========================================================================== */

/* ---------- Header announcement ticker (scrolls right to left) ---------- */
.bs-nav-row { padding: .35rem 0; }
.bs-ticker { position: relative; flex: 1 1 auto; min-width: 0; height: 38px; display: flex; align-items: center; overflow: hidden; border-radius: 999px; background: linear-gradient(90deg, var(--bebo-pastel), var(--bebo-blush) 50%, var(--bebo-pastel)); border: 1px solid #f7d3e0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.bs-ticker-track { display: flex; flex: 0 0 auto; width: max-content; animation: bsTicker 58s linear infinite; will-change: transform; backface-visibility: hidden; }
.bs-ticker:hover .bs-ticker-track { animation-play-state: paused; }
.bs-ticker-group { display: flex; flex: 0 0 auto; }
.bs-ticker-item { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bebo-deep); }
.bs-ticker-item .bi { color: var(--bebo-btn); font-size: 1rem; }
.bs-ticker-sep { display: inline-block; width: 6px; height: 6px; margin: 0 1.6rem 0 1.05rem; border-radius: 1px; background: var(--bebo); opacity: .55; transform: rotate(45deg); }
@keyframes bsTicker { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.bs-mega-foot { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.bs-mega-foot a { display: inline-flex; align-items: center; gap: .4rem; font-size: .86rem; font-weight: 700; color: var(--charcoal); text-decoration: none; }
.bs-mega-foot a:hover { color: var(--bebo-btn); }
@media (max-width: 991.98px) {
    .bs-nav-row { padding: .3rem 0 .4rem; min-height: 0; }
    .bs-ticker { height: 32px; }
    .bs-ticker-item { font-size: .7rem; letter-spacing: .1em; }
    .bs-ticker-item .bi { font-size: .9rem; }
    .bs-ticker-sep { margin: 0 1.2rem 0 .8rem; }
}
@media (prefers-reduced-motion: reduce) {
    .bs-ticker { justify-content: center; }
    .bs-ticker-track { animation: none; width: auto; }
    .bs-ticker-group + .bs-ticker-group, .bs-ticker-item:not(:first-child), .bs-ticker-sep { display: none; }
}

/* ---------- Shop by Brand: one row of logos gliding left to right ---------- */
.bs-brand-strip { padding: .25rem 0 1.25rem; }
.bs-brand-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.theme-bebo .bs-brand-title { font-size: clamp(1.1rem, .95rem + .6vw, 1.45rem); font-weight: 800; margin: 0; }
.bs-brand-all { flex: 0 0 auto; font-size: .85rem; font-weight: 700; color: var(--bebo-btn); text-decoration: none; white-space: nowrap; }
.bs-brand-all:hover { color: var(--bebo-dark); text-decoration: underline; }
.bs-brand-marquee { overflow: hidden; padding: .3rem 0 .45rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.bs-brand-track { display: flex; width: max-content; animation: bsBrandGlide calc(var(--brand-count, 12) * 3.4s) linear infinite; will-change: transform; backface-visibility: hidden; }
.bs-brand-marquee:hover .bs-brand-track, .bs-brand-marquee:focus-within .bs-brand-track { animation-play-state: paused; }
.bs-brand-group { display: flex; flex: 0 0 auto; gap: .75rem; padding: 0 .75rem 0 0; margin: 0; list-style: none; }
.bs-brand-group > li { flex: 0 0 auto; }
.bs-brand-tile { display: grid; place-items: center; width: 150px; height: 64px; padding: .45rem .85rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.bs-brand-tile img { max-width: 100%; max-height: 40px; width: auto; height: auto; object-fit: contain; }
.bs-brand-tile span { font-family: var(--font-head); font-weight: 700; font-size: .9rem; line-height: 1.15; color: var(--charcoal); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.bs-brand-tile:hover, .bs-brand-tile:focus-visible { border-color: var(--bebo); box-shadow: 0 12px 22px -16px rgba(221, 56, 114, .65); transform: translateY(-2px); }
.bs-brand-tile:hover span, .bs-brand-tile:focus-visible span { color: var(--bebo-btn); }
.bs-brand-tile:focus-visible { outline: 2px solid var(--bebo); outline-offset: 2px; }
@keyframes bsBrandGlide { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
@media (max-width: 575.98px) {
    .bs-brand-tile { width: 124px; height: 54px; padding: .35rem .6rem; border-radius: 12px; }
    .bs-brand-tile span { font-size: .8rem; }
    .bs-brand-group { gap: .55rem; padding-right: .55rem; }
}
@media (prefers-reduced-motion: reduce) {
    .bs-brand-marquee { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
    .bs-brand-marquee::-webkit-scrollbar { display: none; }
    .bs-brand-track { animation: none; }
    .bs-brand-group[aria-hidden="true"], .bs-brand-group > li[aria-hidden="true"] { display: none; }
}

/* ---------- Product card buttons: Add to Cart + Buy Now ----------
   Raised above the card-wide title link (store.css .title a::before, z-index 1); without this every tap
   on a button opened the product page instead of adding to the cart. */
.bs-card-btns { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin-top: .6rem; }
.bs-card-btn { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; height: 38px; min-width: 0; padding: 0 .5rem; border: 1.5px solid var(--bebo-btn); border-radius: 10px; font-size: .78rem; font-weight: 700; line-height: 1; white-space: nowrap; overflow: hidden; cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.bs-card-btn > span { overflow: hidden; text-overflow: ellipsis; }
.bs-card-btn > i { flex: 0 0 auto; font-size: .92rem; }
.bs-add-btn { background: #fff; color: var(--bebo-btn); }
.bs-add-btn:hover:not(:disabled) { background: var(--bebo-blush); color: var(--bebo-dark); border-color: var(--bebo-dark); }
.bs-buy-btn { background: var(--bebo-btn); color: #fff; }
.bs-buy-btn:hover:not(:disabled) { background: var(--bebo-dark); border-color: var(--bebo-dark); box-shadow: 0 8px 16px -10px rgba(169, 31, 82, .8); }
.bs-card-btn:focus-visible { outline: 2px solid var(--bebo); outline-offset: 2px; }
.bs-card-btn:disabled:not(.is-disabled) { opacity: .8; }
.bs-card-btn.is-disabled { grid-column: 1 / -1; background: var(--surface-2); border-color: var(--line); color: var(--muted); cursor: not-allowed; }
.bs-card-btn .spinner-border { width: .9rem; height: .9rem; border-width: .14em; }
@container pcard (max-width: 262px) { .bs-card-btn > i { display: none; } .bs-card-btn { font-size: .76rem; padding: 0 .35rem; } }
@container pcard (max-width: 200px) {
    .bs-card-btns { grid-template-columns: 1fr; gap: .35rem; }
    .bs-card-btn { height: 36px; }
    .bs-card-btn > i { display: inline-block; }
}
/* Shop list view: buttons keep a comfortable width instead of stretching across the row (full width on phones). */
.products-list .bs-card-btns { grid-template-columns: repeat(2, minmax(130px, 170px)); }
@media (max-width: 575.98px) { .products-list .bs-card-btns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
