/* BeeBay light marketplace redesign patch
   Scope: public storefront only. Loaded after existing theme files. */
:root {
  --bb-ink: #111827;
  --bb-muted: #667085;
  --bb-soft: #f8fafc;
  --bb-cream: #fffaf0;
  --bb-card: #ffffff;
  --bb-line: #edf0f5;
  --bb-gold: #ffb703;
  --bb-gold-2: #ffcc33;
  --bb-orange: #fb8500;
  --bb-teal: #16b8c7;
  --bb-green: #20c989;
  --bb-purple: #8b5cf6;
  --bb-red: #ff5a4f;
  --bb-shadow: 0 18px 34px rgba(15, 23, 42, 0.10), 0 34px 76px rgba(15, 23, 42, 0.16);
  --bb-shadow-sm: 0 10px 18px rgba(15, 23, 42, 0.08), 0 22px 46px rgba(15, 23, 42, 0.12);
  --bb-radius: 20px;
  --bb-radius-sm: 14px;
  --font-family-base: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { background: #f7f7f6; }
body.public-screen-body.beebay-light-ui {
  color: var(--bb-ink) !important;
  background-color: var(--page-bg-color, #f5f7fb) !important;
  background-image: var(--page-bg-image, none) !important;
  background-repeat: no-repeat !important;
  background-attachment: var(--page-bg-attach, scroll) !important;
  background-size: cover !important;
  background-position: center center !important;
  font-family: var(--font-family-base);
}
body.public-screen-body.beebay-light-ui::before {
  background: var(--page-bg-overlay, none) !important;
  background-image: var(--page-bg-overlay, none) !important;
  background-size: cover;
  background-position: center center;
  opacity: 1;
  mask-image: none;
}
body.public-screen-body.beebay-light-ui a { text-decoration: none; }

body.public-screen-body.beebay-light-ui {
  --bb-hero-card-bg: linear-gradient(145deg,
    color-mix(in srgb, var(--theme-accent, #253238) 16%, rgba(255,255,255,0.78)),
    color-mix(in srgb, var(--theme-accent, #253238) 10%, rgba(255,255,255,0.60))
  );
  --bb-hero-card-border: color-mix(in srgb, var(--theme-accent, #253238) 28%, rgba(255,255,255,0.58));
  --bb-hero-chip-bg: color-mix(in srgb, var(--theme-accent, #253238) 14%, rgba(255,255,255,0.58));
  --bb-hero-chip-border: color-mix(in srgb, var(--theme-accent, #253238) 24%, rgba(255,255,255,0.46));
  --bb-hero-card-shadow: 0 16px 28px rgba(15,23,42,.10), 0 30px 64px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.42);
  --bb-card-surface: linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(248,250,252,.98) 100%);
  --bb-card-surface-soft: linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(246,248,251,.95) 100%);
  --bb-card-border: color-mix(in srgb, var(--bb-line) 74%, rgba(255,255,255,.85));
  --bb-card-elevation: 0 10px 18px rgba(15,23,42,.08), 0 24px 50px rgba(15,23,42,.14), inset 0 1px 0 rgba(255,255,255,.92);
  --bb-card-elevation-hover: 0 14px 26px rgba(15,23,42,.10), 0 34px 72px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.95);
}
.bb-main-container.container,
main.container.bb-main-container {
  width: min(1420px, calc(100% - 48px));
  padding-bottom: 24px;
}

/* Header */
.bb-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bb-hero-card-bg);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border-bottom: 1px solid var(--bb-hero-card-border);
  box-shadow: 0 12px 32px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.36);
}
.bb-header-inner {
  width: min(1420px, calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 20px;
  align-items: center;
}
.bb-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main, var(--bb-ink));
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -0.04em;
}
.bb-brand-logo { max-width: 196px; max-height: 58px; width: auto; object-fit: contain; }
.bb-brand-hive,
.bb-mini-hive {
  display: inline-block;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--bb-gold), var(--bb-orange));
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
  position: relative;
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.65);
}
.bb-brand-text { line-height: 1; }
.bb-primary-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  font-weight: 760;
}
.bb-primary-nav a {
  color: var(--text-main, #202938);
  padding: 12px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.bb-primary-nav a:hover,
.bb-primary-nav a.is-active {
  color: var(--text-main, #202938);
  background: var(--bb-hero-chip-bg);
  border-color: var(--bb-hero-chip-border);
  transform: translateY(-1px);
}
.bb-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.bb-icon-link {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: var(--text-main, var(--bb-ink));
  background: var(--bb-hero-chip-bg);
  border: 1px solid var(--bb-hero-chip-border);
  font-size: 22px;
}
.bb-cart-link,
.bb-login-link {
  color: var(--text-main, var(--bb-ink));
  font-weight: 760;
  font-size: 14px;
  white-space: nowrap;
}
.bb-cart-link { color: var(--text-soft, var(--bb-muted)); }
.bb-start-selling,
.button,
.bb-apply-filter {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bb-gold-2), var(--bb-gold));
  color: #15130a !important;
  box-shadow: 0 12px 22px rgba(255, 183, 3, .22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease;
}
.bb-start-selling:hover,
.button:hover,
.bb-apply-filter:hover { transform: translateY(-1px); box-shadow: 0 15px 30px rgba(255, 183, 3, .28); }
.button-secondary { background: #fff !important; color: var(--bb-ink) !important; border: 1px solid var(--bb-line); box-shadow: var(--bb-shadow-sm); }

/* Shared UI */
.glass,
body.theme-preview-solid .glass {
  background: var(--bb-card-surface) !important;
  border: 1px solid var(--bb-card-border) !important;
  box-shadow: var(--bb-card-elevation) !important;
  backdrop-filter: none !important;
  color: var(--bb-ink) !important;
}
.alert { margin-top: 18px; }
.bb-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 22px 0 16px;
  color: var(--bb-muted);
  font-size: 13px;
}
.bb-breadcrumbs a { color: #667085; }
.bb-breadcrumbs strong { color: var(--bb-ink); font-weight: 760; }
.bb-stars { color: var(--bb-gold); letter-spacing: .06em; }
.bb-empty-panel {
  background: var(--bb-card-surface);
  border: 1px solid var(--bb-card-border);
  border-radius: var(--bb-radius);
  box-shadow: var(--bb-card-elevation);
  padding: 32px;
  margin-top: 24px;
}

/* Homepage */
.bb-home-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: 34px;
  align-items: center;
  padding: 24px 10px 18px;
  min-height: 455px;
}
.bb-home-copy { max-width: 620px; }
.bb-creator-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--bb-line);
  background: #fff;
  box-shadow: var(--bb-shadow-sm);
  color: var(--bb-muted);
  font-size: 14px;
  margin-bottom: 18px;
}
.bb-creator-pill strong { color: var(--bb-orange); }
.bb-home-copy h1 {
  margin: 0;
  max-width: 610px;
  color: #121a2b;
  font-size: clamp(46px, 5.8vw, 76px);
  line-height: .98;
  letter-spacing: -0.065em;
  font-weight: 900;
}
.bb-home-copy h1 span,
.bb-catalog-hero h1 span { color: var(--bb-gold); }
.bb-home-copy p,
.bb-catalog-hero p {
  margin: 16px 0 0;
  color: #4b5565;
  font-size: 18px;
  line-height: 1.55;
}
.bb-search-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--bb-line);
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--bb-shadow-sm);
  margin: 16px 0 14px;
  max-width: 560px;
}
.bb-search-bar input {
  border: 0 !important;
  background: transparent !important;
  padding: 12px 14px !important;
  outline: none;
  color: var(--bb-ink);
}
.bb-search-bar button {
  border: 0;
  border-radius: 10px;
  background: var(--bb-gold);
  color: #17130b;
  font-weight: 900;
  padding: 0 22px;
  cursor: pointer;
}
.bb-home-chips,
.bb-category-chips,
.bb-popular-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.bb-home-chips a,
.bb-category-chips a,
.bb-popular-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--bb-line);
  background: #fff;
  border-radius: 12px;
  color: #334155;
  font-weight: 760;
  font-size: 13px;
  padding: 0 12px;
  box-shadow: 0 6px 14px rgba(15,23,42,.035);
}
.bb-category-chips a.is-active,
.bb-home-chips a:hover,
.bb-category-chips a:hover { background: #fff7de; border-color: #ffe0a3; color: #b36a00; }
.bb-home-visual,
.bb-hero-visual {
  min-height: 360px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 30px;
  background: radial-gradient(circle at 50% 48%, rgba(255,183,3,.20), transparent 32%),
              linear-gradient(135deg, #fff, #fff9e9 65%, #fff);
}
.bb-home-visual::after,
.bb-hero-visual::after,
.bb-product-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(30deg, rgba(255,183,3,.22) 12%, transparent 12.5%, transparent 87%, rgba(255,183,3,.22) 87.5%, rgba(255,183,3,.22)),
                    linear-gradient(150deg, rgba(255,183,3,.22) 12%, transparent 12.5%, transparent 87%, rgba(255,183,3,.22) 87.5%, rgba(255,183,3,.22));
  background-size: 80px 138px;
  opacity: .25;
  pointer-events: none;
}
.bb-hive-stage {
  width: 220px;
  height: 150px;
  border-radius: 36px;
  background: linear-gradient(180deg, #fffdf7, #fff1c1);
  border: 1px solid #ffe5a4;
  box-shadow: 0 30px 65px rgba(255,183,3,.25), inset 0 -18px 30px rgba(255,183,3,.12);
  position: relative;
  transform: perspective(600px) rotateX(58deg);
  z-index: 1;
}
.bb-hive-stage.large { width: 300px; height: 205px; }
.bb-hive-stage span,
.bb-hive-stage::before,
.bb-hive-stage::after {
  position: absolute;
  content: "";
  width: 64px;
  height: 56px;
  border: 9px solid var(--bb-gold);
  border-radius: 14px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
}
.bb-hive-stage::before { margin-left: -40px; margin-top: 26px; }
.bb-hive-stage::after { margin-left: 40px; margin-top: 26px; }
.bb-hero-token,
.bb-floating-icon {
  position: absolute;
  z-index: 2;
  min-width: 58px;
  min-height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--bb-line);
  box-shadow: var(--bb-shadow-sm);
  font-weight: 900;
}
.token-pdf,.pdf { top: 58px; left: 43%; color: #ef4444; }
.token-img { top: 145px; left: 22%; color: #8b5cf6; }
.token-play,.play { top: 40px; right: 30%; color: #0ea5e9; }
.token-code,.code { top: 84px; right: 18%; color: #22c55e; }
.bb-hero-bee { position: absolute; top: 92px; right: 70px; font-size: 42px; z-index: 3; }
.bb-category-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 0 22px;
}
.bb-category-strip a {
  min-height: 86px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 8px 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--bb-line);
  box-shadow: var(--bb-shadow-sm);
}
.bb-category-strip span { grid-row: span 2; font-size: 30px; }
.bb-category-strip strong { color: var(--bb-ink); line-height: 1.15; }
.bb-category-strip small { color: var(--bb-muted); }
.bb-home-section { margin-top: 22px; }
.bb-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 14px;
}
.bb-section-heading h2 { margin: 0; font-size: 24px; letter-spacing: -.025em; }
.bb-section-heading a { color: #344054; font-weight: 760; font-size: 14px; }
.bb-product-card-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.bb-benefits-row {
  display: grid;
  grid-template-columns: 1.55fr repeat(3, minmax(190px, .6fr));
  gap: 14px;
  margin-top: 18px;
}
.bb-trust-panel,
.bb-benefit-card {
  background: var(--bb-card-surface);
  border: 1px solid var(--bb-card-border);
  border-radius: 18px;
  box-shadow: var(--bb-card-elevation);
  padding: 20px;
}
.bb-trust-panel h2,
.bb-benefit-card h3 { margin: 0; }
.bb-trust-panel p,
.bb-benefit-card p { color: var(--bb-muted); margin: 6px 0 0; }
.bb-stat-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; color: #475467; }
.bb-stat-row strong { display: block; color: var(--bb-gold); font-size: 24px; }
.bb-benefit-card { text-align: center; display: grid; place-content: center; min-height: 146px; }
.bb-benefit-card span { font-size: 32px; }
.bb-benefit-card.yellow { background: linear-gradient(180deg, #fff9ea 0%, #fff2c7 100%); }
.bb-benefit-card.teal { background: linear-gradient(180deg, #f1fefe 0%, #daf9f8 100%); }
.bb-benefit-card.purple { background: linear-gradient(180deg, #f8f2ff 0%, #ede0ff 100%); }

/* Product detail page */
.bb-product-page {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(360px, .95fr);
  gap: 22px;
  align-items: start;
}
.bb-product-gallery-wrap { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 16px; }
.bb-product-thumbnails { display: grid; gap: 12px; align-content: start; }
.bb-thumb-button,
.bb-thumb-more {
  border: 1px solid var(--bb-card-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bb-card-surface-soft);
  box-shadow: var(--bb-card-elevation);
  min-height: 92px;
  padding: 0;
  cursor: pointer;
}
.bb-thumb-button.is-active { border-color: var(--bb-gold); box-shadow: 0 0 0 3px rgba(255,183,3,.20); }
.bb-thumb-button img { width: 100%; height: 92px; object-fit: cover; }
.bb-thumb-more { display: grid; place-content: center; color: var(--bb-ink); gap: 3px; }
.bb-thumb-more strong { font-size: 22px; }
.bb-thumb-more span { color: var(--bb-muted); font-size: 12px; }
.bb-faux-screen { display: block; width: 100%; height: 92px; background: linear-gradient(135deg, #172033, #283a5f); position: relative; }
.bb-faux-screen-a::before,
.bb-faux-screen-b::before { content:""; position:absolute; inset:14px; border-radius:10px; background: repeating-linear-gradient(0deg, rgba(255,255,255,.18), rgba(255,255,255,.18) 6px, transparent 6px, transparent 13px); }
.bb-faux-screen-b { background: linear-gradient(135deg, #f8fafc, #fff4d7); }
.bb-faux-screen-b::before { background: linear-gradient(90deg, rgba(255,183,3,.4), transparent), repeating-linear-gradient(90deg, rgba(15,23,42,.16), rgba(15,23,42,.16) 8px, transparent 8px, transparent 18px); }
.bb-product-hero-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: 18px;
  border: 1px solid var(--bb-card-border);
  background: radial-gradient(circle at 48% 42%, rgba(255,183,3,.16), transparent 32%), linear-gradient(135deg, #fff, #fff8e6 62%, #fff);
  box-shadow: var(--bb-card-elevation);
  padding: 22px;
}
.bb-heart-button {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--bb-line);
  background: rgba(255,255,255,.86);
  font-size: 23px;
  color: #344054;
  cursor: pointer;
}
.bb-app-badges { position: relative; z-index: 2; display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; }
.bb-app-badges span {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  background: #111827;
}
.bb-app-badges span:nth-child(1) { background:#ef4444; }
.bb-app-badges span:nth-child(2) { background:#8b5cf6; }
.bb-app-badges span:nth-child(3) { background:#0ea5e9; }
.bb-app-badges span:nth-child(4) { background:#111827; }
.bb-app-badges span:nth-child(5) { background:#f59e0b; }
.bb-product-hero-art { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; min-height: 300px; }
.bb-product-title-art { text-align: center; }
.bb-product-title-art span { display:block; text-transform:uppercase; letter-spacing:.52em; font-size:12px; font-weight:900; color:#263044; margin-bottom: 4px; }
.bb-product-title-art h1 { margin: 0; font-size: clamp(30px, 4vw, 58px); line-height: .95; letter-spacing: -.055em; color: #111827; }
.bb-product-title-art h1::first-letter { color: var(--bb-gold); }
.bb-product-title-art p { color: #667085; margin: 10px auto 0; max-width: 420px; }
.bb-main-preview-frame {
  border: 1px solid #e9edf5;
  border-radius: 18px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 24px 45px rgba(15,23,42,.08);
  padding: 12px;
  transform: rotate(-1.5deg);
}
.bb-main-preview-frame img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; }
.bb-product-proof-row {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 12px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--bb-line);
  border-radius: 16px;
  margin-top: 20px;
}
.bb-product-proof-row div { display: grid; grid-template-columns: 32px 1fr; gap: 0 9px; align-items: center; }
.bb-product-proof-row span { grid-row: span 2; color: var(--bb-gold); }
.bb-product-proof-row strong { font-size: 13px; }
.bb-product-proof-row small { color: var(--bb-muted); font-size: 11px; }
.bb-buy-panel {
  background: #fff;
  border: 1px solid var(--bb-line);
  border-radius: 18px;
  box-shadow: var(--bb-shadow-sm);
  padding: 24px;
}
.bb-title-line { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.bb-title-line h1 { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -.04em; }
.bb-title-line span,
.bb-seller-line em {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 8px;
  background: #fff2c6;
  color: #b76d00;
  padding: 0 9px;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.bb-product-subtitle { color: var(--bb-muted); margin: 10px 0 14px; }
.bb-seller-line { display: flex; align-items: center; gap: 8px; color: #475467; font-size: 14px; }
.bb-seller-avatar { width: 28px; height: 28px; border-radius: 999px; display:grid; place-items:center; background:#f1e9ff; color:#8b5cf6; }
.bb-rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color:#475467; font-size: 14px; margin: 18px 0; }
.bb-price-line { display: grid; gap: 4px; padding: 6px 0 18px; border-bottom: 1px solid var(--bb-line); }
.bb-price-line strong { font-size: 38px; line-height: 1; letter-spacing: -.05em; }
.bb-price-line span { color: var(--bb-muted); }
.bb-buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 10px; }
.bb-buy-now,
.bb-add-cart {
  min-height: 52px;
  border-radius: 12px;
  font-weight: 900;
  cursor: pointer;
}
.bb-buy-now { border: 0; background: var(--bb-gold); color: #15130b; box-shadow: 0 12px 20px rgba(255,183,3,.22); }
.bb-add-cart { border: 1px solid var(--bb-gold); background: #fff; color: #172033; }
.bb-guarantee { color: var(--bb-muted); font-size: 13px; text-align: center; margin: 8px 0 18px; }
.bb-product-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; border-top: 1px solid var(--bb-line); padding-top: 18px; }
.bb-product-facts div { display: grid; gap: 3px; padding-left: 12px; border-left: 3px solid #eef1f6; }
.bb-product-facts span { color: var(--bb-muted); font-size: 12px; }
.bb-product-facts strong { font-size: 14px; }
.bb-product-tabs { margin-top: 16px; }
.bb-tab-nav { display: flex; align-items: center; gap: 28px; padding: 0 8px 0; border-bottom: 1px solid var(--bb-line); }
.bb-tab-nav a { color: #475467; font-weight: 800; padding: 16px 0; border-bottom: 3px solid transparent; }
.bb-tab-nav a.is-active { color: var(--bb-ink); border-color: var(--bb-gold); }
.bb-tab-nav span { background: #f2f4f7; border-radius: 7px; padding: 2px 6px; }
.bb-info-grid { display: grid; grid-template-columns: 1.15fr .62fr .92fr; gap: 14px; margin-top: 14px; }
.bb-description-card,
.bb-review-summary,
.bb-review-list {
  background: #fff;
  border: 1px solid var(--bb-line);
  border-radius: 16px;
  box-shadow: var(--bb-shadow-sm);
  padding: 20px;
}
.bb-description-card h2 { margin: 0 0 8px; font-size: 19px; }
.bb-description-card p { color: #4b5565; margin: 0 0 16px; }
.bb-check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: #475467; }
.bb-check-list li::before { content: "✓"; color: var(--bb-gold); font-weight: 900; margin-right: 9px; }
.bb-review-summary { text-align: center; }
.bb-score { font-size: 50px; font-weight: 900; letter-spacing: -.06em; }
.bb-rating-bars { display: grid; gap: 8px; margin: 16px 0; }
.bb-rating-bars span { display:block; height: 8px; background: #f0f2f5; border-radius: 999px; overflow: hidden; }
.bb-rating-bars em { display:block; height:100%; background: var(--bb-gold); border-radius: 999px; }
.bb-review-button { min-height: 42px; width: 100%; background: #fff; border: 1px solid var(--bb-gold); border-radius: 10px; font-weight: 900; }
.bb-review-list { display: grid; gap: 14px; }
.bb-review-list article { border-bottom: 1px solid var(--bb-line); padding-bottom: 12px; }
.bb-review-list article:last-of-type { border-bottom: 0; }
.bb-review-list div { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bb-review-list span { color: var(--bb-green); font-weight: 760; font-size: 12px; }
.bb-review-list em { margin-left: auto; color: var(--bb-gold); font-style: normal; }
.bb-review-list h3 { margin: 7px 0 3px; font-size: 14px; }
.bb-review-list p { margin: 0; color: var(--bb-muted); font-size: 13px; }
.bb-review-list a { color: var(--bb-orange); font-weight: 900; }
.bb-related-products { margin-top: 22px; }

/* Cards and catalog */
.bb-market-card {
  background: var(--bb-card-surface);
  border: 1px solid var(--bb-card-border);
  border-radius: 16px;
  box-shadow: var(--bb-card-elevation);
  overflow: hidden;
  min-width: 0;
  transition: transform .18s ease, box-shadow .18s ease;
}
.bb-market-card:hover { transform: translateY(-5px); box-shadow: var(--bb-card-elevation-hover); }
.bb-market-thumb {
  display: block;
  position: relative;
  aspect-ratio: 1.45 / 1;
  background: #f8fafc;
  overflow: hidden;
}
.bb-market-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bb-market-thumb span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--bb-line);
  color: #344054;
}
.bb-market-thumb b {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  border-radius: 7px;
  background: var(--bb-gold);
  color: #221b00;
  font-size: 10px;
  padding: 5px 7px;
}
.bb-market-copy { padding: 12px; }
.bb-market-copy h3 { font-size: 15px; line-height: 1.25; margin: 0; }
.bb-market-copy h3 a { color: var(--bb-ink); }
.bb-market-copy p { margin: 5px 0 10px; color: var(--bb-muted); font-size: 12px; }
.bb-market-copy div { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: #475467; }
.bb-market-copy strong { margin-left: auto; color: var(--bb-ink); font-size: 15px; }
.bb-catalog-page { display: block; }

.bb-catalog-searchbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px;
  background: var(--bb-card-surface);
  border: 1px solid var(--bb-card-border);
  border-radius: 18px;
  box-shadow: var(--bb-card-elevation);
}
.bb-catalog-searchbar input[type="search"] {
  flex: 1 1 260px;
  min-height: 46px;
  border-radius: 14px !important;
  padding: 0 16px;
}
.bb-catalog-searchbar .button,
.bb-catalog-searchbar .button-secondary {
  min-height: 46px;
  white-space: nowrap;
}
.bb-catalog-search-count {
  margin-left: auto;
  color: var(--bb-muted);
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (max-width: 720px) {
  .bb-catalog-searchbar {
    align-items: stretch;
    flex-direction: column;
  }
  .bb-catalog-search-count {
    margin-left: 0;
  }
}
.bb-filter-sidebar {
  position: sticky;
  top: 92px;
  background: var(--bb-card-surface);
  border: 1px solid var(--bb-card-border);
  border-radius: 16px;
  box-shadow: var(--bb-card-elevation);
  padding: 16px;
  color: #475467;
}
.bb-filter-title { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 14px; color: var(--bb-ink); }
.bb-filter-title a { color: var(--bb-teal); font-size: 12px; font-weight: 900; }
.bb-filter-block { border-top: 1px solid var(--bb-line); padding-top: 14px; margin-top: 14px; display: grid; gap: 9px; }
.bb-filter-block h3 { margin: 0 0 3px; color: var(--bb-ink); font-size: 14px; }
.bb-filter-block a,
.bb-filter-block label { display: flex; align-items: center; gap: 8px; color: #475467; font-size: 13px; }
.bb-filter-block a span { width: 12px; height: 12px; border-radius: 999px; border: 1px solid #d9dee7; }
.bb-filter-block a.is-active { color: #b76d00; font-weight: 900; }
.bb-filter-block a.is-active span { background: var(--bb-gold); border-color: var(--bb-gold); }
.bb-filter-block em { margin-left: auto; font-style: normal; color: #f59e0b; }
.bb-range-line { height: 4px; border-radius: 999px; background: var(--bb-gold); position: relative; }
.bb-range-line span::before,
.bb-range-line span::after { content:""; position:absolute; top:50%; transform: translateY(-50%); width:14px; height:14px; border-radius:999px; background:#fff; border:3px solid var(--bb-gold); }
.bb-range-line span::before { left:0; } .bb-range-line span::after { right:0; }
.bb-price-inputs { display:flex; justify-content:space-between; font-size: 12px; }
.bb-apply-filter { width: 100%; margin-top: 16px; }
.bb-filter-sidebar small { display:block; text-align:center; color: var(--bb-muted); margin-top: 10px; }
.bb-catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 22px;
  align-items: center;
  margin-bottom: 14px;
}
.bb-catalog-hero h1 { margin: 0; font-size: clamp(36px, 4vw, 54px); line-height: 1; letter-spacing: -.055em; }
.bb-popular-tags { margin-top: 12px; }
.bb-popular-tags span { color: #475467; font-size: 13px; }
.bb-hero-visual { min-height: 210px; border-radius: 24px; }
.bb-hero-visual .bb-hive-stage { width: 190px; height: 130px; }
.bb-floating-icon { min-width: 48px; min-height: 48px; font-size: 13px; }
.bb-chip-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  background: var(--bb-card-surface);
  border: 1px solid var(--bb-card-border);
  border-radius: 14px;
  box-shadow: var(--bb-card-elevation);
  padding: 10px;
  margin-bottom: 14px;
}
.bb-sort-box { display: flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--bb-muted); font-size: 13px; }
.bb-sort-box strong { border: 1px solid var(--bb-line); border-radius: 10px; color: var(--bb-ink); padding: 8px 12px; }
.bb-catalog-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.bb-pagination { background: var(--bb-card-surface); border: 1px solid var(--bb-card-border); border-radius: 16px; padding: 12px; box-shadow: var(--bb-card-elevation); }
.catalog-page-link.is-active { background: var(--bb-gold) !important; color: #17130b !important; }
.bb-trending-collections { margin-top: 16px; background: var(--bb-card-surface); border:1px solid var(--bb-card-border); border-radius: 16px; padding: 16px; box-shadow: var(--bb-card-elevation); }
.bb-collection-row { display:grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bb-collection-row a { border:1px solid var(--bb-line); border-radius: 14px; padding: 14px; color: var(--bb-ink); font-weight: 900; }
.bb-collection-row span { display:block; color: var(--bb-muted); font-weight: 500; font-size: 12px; margin-top: 3px; }

/* Existing cart/checkout/forms get the same bright card language */
.form-card,
.checkout-card-shell,
.table-wrap,
.list-row {
  border-radius: var(--bb-radius-sm);
}
.admin-table th,
.admin-table td { border-bottom-color: var(--bb-line) !important; }
input, textarea, select {
  background: #fff !important;
  border-color: #d9dee7 !important;
  color: var(--bb-ink) !important;
}
.price { color: var(--bb-ink) !important; }
.muted { color: var(--bb-muted) !important; }

/* Footer */
.bb-site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 26px 0 0;
  padding: 18px 20px;
  color: #344054;
  font-weight: 860;
  background: var(--bb-card-surface-soft);
  border: 1px solid var(--bb-card-border);
  border-radius: 18px;
  box-shadow: var(--bb-card-elevation);
}
.bb-mini-hive { width: 22px; height: 22px; vertical-align: -5px; margin-right: 6px; }
.bb-footer-tagline { color: var(--bb-teal); }
.site-footer { display: none !important; }

/* Responsive */
@media (max-width: 1220px) {
  .bb-product-card-row,
  .bb-catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bb-category-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bb-catalog-hero { grid-template-columns: 1fr; }
  .bb-hero-visual { display: none; }
}
@media (max-width: 1050px) {
  .bb-header-inner { grid-template-columns: 1fr; gap: 6px; padding: 10px 0; }
  .bb-primary-nav { justify-content: flex-start; overflow-x: auto; }
  .bb-primary-nav a { padding: 8px 6px 10px; }
  .bb-header-actions { justify-content: flex-start; flex-wrap: wrap; }
  .bb-home-hero,
  .bb-product-page,
  .bb-info-grid,
  .bb-benefits-row { grid-template-columns: 1fr; }
  .bb-home-visual { min-height: 280px; }
  .bb-product-gallery-wrap { grid-template-columns: 1fr; }
  .bb-product-thumbnails { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bb-catalog-page { grid-template-columns: 1fr; }
  .bb-filter-sidebar { position: static; }
}
@media (max-width: 720px) {
  .bb-main-container.container,
  main.container.bb-main-container,
  .bb-header-inner { width: min(100% - 24px, 1420px); }
  .bb-brand-logo { max-width: 170px; }
  .bb-home-copy h1 { font-size: 44px; }
  .bb-home-visual { display: none; }
  .bb-search-bar { grid-template-columns: 1fr; }
  .bb-search-bar button { min-height: 42px; }
  .bb-category-strip,
  .bb-product-card-row,
  .bb-catalog-grid,
  .bb-collection-row,
  .bb-product-proof-row,
  .bb-product-facts { grid-template-columns: 1fr 1fr; }
  .bb-buy-actions { grid-template-columns: 1fr; }
  .bb-product-hero-art { grid-template-columns: 1fr; }
  .bb-product-title-art h1 { font-size: 34px; }
  .bb-tab-nav { overflow-x: auto; gap: 18px; }
  .bb-site-footer { flex-direction: column; gap: 6px; }
}
@media (max-width: 480px) {
  .bb-category-strip,
  .bb-product-card-row,
  .bb-catalog-grid,
  .bb-collection-row,
  .bb-product-proof-row,
  .bb-product-facts,
  .bb-product-thumbnails { grid-template-columns: 1fr; }
}


/* Security patch: simplified order success / order vault redirect */
.bb-order-success-page {
    max-width: 760px;
    margin: 3rem auto;
    text-align: center;
    padding: 3rem 2rem;
}
.bb-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffd447, #ff9f1c);
    color: #1c1b12;
    font-size: 2.4rem;
    font-weight: 900;
    box-shadow: 0 18px 45px rgba(255, 171, 0, .25);
}
.bb-success-actions {
    display: flex;
    justify-content: center;
    gap: .85rem;
    flex-wrap: wrap;
    margin: 1.5rem 0 1rem;
}


/* Homepage hero patch: use uploaded image with less zoom */
.bb-home-hero.bb-home-hero-brand {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(400px, 42vw, 560px);
  display: flex;
  align-items: center;
  padding: 44px clamp(22px, 5vw, 72px);
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}
.bb-home-hero.bb-home-hero-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/images/beebay-home-hero-brand.png?v=20260425-alpha') center center / 100% auto no-repeat;
  -webkit-mask-image: radial-gradient(140% 130% at 54% 52%, #000 48%, rgba(0,0,0,.94) 66%, rgba(0,0,0,.58) 82%, rgba(0,0,0,.16) 94%, transparent 100%);
  mask-image: radial-gradient(140% 130% at 54% 52%, #000 48%, rgba(0,0,0,.94) 66%, rgba(0,0,0,.58) 82%, rgba(0,0,0,.16) 94%, transparent 100%);
  pointer-events: none;
}
.bb-home-hero.bb-home-hero-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--page-bg-color, #f5f7fb) 28%, transparent) 0%, transparent 18%, transparent 82%, color-mix(in srgb, var(--page-bg-color, #f5f7fb) 18%, transparent) 100%);
  pointer-events: none;
}
.bb-home-copy-card {
  position: relative;
  z-index: 2;
  width: min(620px, calc(100% - 24px));
  border-radius: 28px;
  padding: 28px 28px 22px;
  background: var(--bb-hero-card-bg);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border: 1px solid var(--bb-hero-card-border);
  box-shadow: var(--bb-hero-card-shadow);
}
.bb-home-copy { max-width: none; }
.bb-home-copy-card .bb-creator-pill,
.bb-home-copy-card .bb-search-bar {
  background: var(--bb-hero-chip-bg);
  border: 1px solid var(--bb-hero-chip-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.bb-home-copy-card .bb-home-chips a { background: var(--bb-hero-chip-bg); border: 1px solid var(--bb-hero-chip-border); }
.bb-home-copy-card .bb-home-copy h1 { max-width: 520px; }
.bb-home-hero-ornaments {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.bb-home-hero-ornaments .bb-hero-token,
.bb-home-hero-ornaments .bb-hero-bee-small { position: absolute; }
.bb-home-hero-ornaments .bb-hero-token {
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(223,231,241,.95);
  box-shadow: 0 12px 24px rgba(15,23,42,.10);
  font-weight: 900;
}
.bb-home-hero-ornaments .token-pdf { top: 76px; left: 60%; color: #ef4444; }
.bb-home-hero-ornaments .token-img { top: 176px; left: 68%; color: #8b5cf6; }
.bb-home-hero-ornaments .token-play { top: 78px; right: 26%; color: #0ea5e9; }
.bb-home-hero-ornaments .token-code { top: 122px; right: 16%; color: #22c55e; }
.bb-home-hero-ornaments .bb-hero-bee-small {
  top: 154px;
  right: 8%;
  font-size: 34px;
  filter: drop-shadow(0 8px 16px rgba(15,23,42,.14));
}
.bb-home-visual { display: none !important; }

@media (max-width: 1050px) {
  .bb-home-hero.bb-home-hero-brand {
    min-height: clamp(360px, 52vw, 500px);
    padding: 34px 24px;
  }
  .bb-home-hero.bb-home-hero-brand::before {
    background-size: 120% auto;
    background-position: center center;
  }
  .bb-home-copy-card {
    width: min(580px, calc(100% - 12px));
    padding: 24px 24px 20px;
  }
  .bb-home-hero-ornaments .token-pdf { left: 66%; }
  .bb-home-hero-ornaments .token-img { left: 74%; }
  .bb-home-hero-ornaments .token-play { right: 18%; }
  .bb-home-hero-ornaments .token-code { right: 8%; }
  .bb-home-hero-ornaments .bb-hero-bee-small { right: 4%; }
}

@media (max-width: 720px) {
  .bb-home-hero.bb-home-hero-brand {
    min-height: 360px;
    padding: 26px 16px 30px;
  }
  .bb-home-hero.bb-home-hero-brand::before {
    background-size: cover;
    background-position: 64% center;
  }
  .bb-home-copy-card {
    width: 100%;
    padding: 20px 18px 18px;
    border-radius: 22px;
    background: rgba(255,255,255,.78);
  }
  .bb-home-hero-ornaments .bb-hero-token {
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    border-radius: 16px;
  }
  .bb-home-hero-ornaments .token-pdf { top: 44px; left: auto; right: 38%; }
  .bb-home-hero-ornaments .token-img { top: 116px; left: auto; right: 46%; }
  .bb-home-hero-ornaments .token-play { top: 52px; right: 18%; }
  .bb-home-hero-ornaments .token-code { top: 114px; right: 6%; }
  .bb-home-hero-ornaments .bb-hero-bee-small { top: 130px; right: 22%; font-size: 30px; }
}
