/* ==========================================================================
   Aurora Glass v2.0.0 — bei-bei.shop Bright Modern Glass Edition
   1:1 layout architecture inspired by bei-bei.shop (Glass Light Mode)
   with brighter, fresher modern porcelain-sky-indigo palette.
   Strictly scoped to storefront (.atelier-scope / body.atelier-tokens).
   ========================================================================== */

:root {
  --bb-accent: #5546f6;
  --bb-accent-2: #7c74ff;
  --bb-sky: #0ea5e9;
  --bb-cyan: #06b6d4;
  --bb-rose: #ec4899;
  --bb-amber: #f59e0b;
  --bb-emerald: #10b981;
  --bb-grad-cta: linear-gradient(135deg, #5243f5 0%, #6c5ce7 55%, #4f7cff 100%);
  --bb-grad-cta-hover: linear-gradient(135deg, #4334e8 0%, #5b4be0 55%, #3b6cf5 100%);
  --bb-panel: rgba(255, 255, 255, 0.84);
  --bb-panel-strong: rgba(255, 255, 255, 0.94);
  --bb-border: rgba(148, 138, 212, 0.24);
  --bb-border-hi: rgba(85, 70, 246, 0.44);
  --bb-ink: #1e1b3a;
  --bb-ink-2: #524d73;
  --bb-ink-3: #787399;
  --bb-shadow: 0 20px 60px rgba(64, 52, 132, 0.085), 0 2px 8px rgba(30, 27, 58, 0.03);
  --bb-shadow-hover: 0 26px 64px -12px rgba(85, 70, 246, 0.22), 0 6px 18px rgba(30, 27, 58, 0.05);
  --bb-shadow-btn: 0 12px 28px -8px rgba(85, 70, 246, 0.52);
  --bb-container: 1280px;
}

/* 1. Base Atelier Tokens Override (Bright Luminous Daylight) */
.atelier-scope,
body.atelier-tokens {
  --at-bg-page: #f7f6ff !important;
  --at-bg-surface: rgba(255, 255, 255, 0.88) !important;
  --at-bg-subtle: #f2f1ff !important;
  --at-bg-hover: #e7e5ff !important;
  --at-bg-nav: rgba(255, 255, 255, 0.78) !important;
  --at-ink: #1e1b3a !important;
  --at-ink-2: #524d73 !important;
  --at-ink-3: #787399 !important;
  --at-line: rgba(148, 138, 212, 0.24) !important;
  --at-line-strong: rgba(124, 114, 196, 0.36) !important;
  --at-line-hi: rgba(85, 70, 246, 0.48) !important;
  --at-brand: #5546f6 !important;
  --at-brand-hover: #4637e6 !important;
  --at-brand-soft: rgba(85, 70, 246, 0.1) !important;
  --at-brand-glow: rgba(85, 70, 246, 0.14) !important;
  --at-emerald: #0b9f6a !important;
  --at-emerald-soft: rgba(11, 159, 106, 0.12) !important;
  --at-shadow-card: var(--bb-shadow) !important;
  --at-shadow-card-hover: var(--bb-shadow-hover) !important;
  --at-shadow-dock: 0 14px 40px -10px rgba(64, 52, 132, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* Dark Mode compatibility */
.dark .atelier-scope,
.dark body.atelier-tokens {
  --bb-panel: rgba(20, 22, 38, 0.84);
  --bb-panel-strong: rgba(24, 27, 46, 0.94);
  --bb-border: rgba(154, 146, 255, 0.18);
  --bb-border-hi: rgba(154, 146, 255, 0.5);
  --bb-ink: #f4f3ff;
  --bb-ink-2: #c5c1e0;
  --bb-ink-3: #928db3;
  --bb-shadow: 0 20px 56px rgba(0, 0, 0, 0.55);
  --bb-shadow-hover: 0 26px 64px -10px rgba(124, 116, 255, 0.3);
  --at-bg-page: #090814 !important;
  --at-bg-surface: rgba(22, 24, 42, 0.86) !important;
  --at-bg-nav: rgba(20, 22, 38, 0.82) !important;
  --at-ink: #f4f3ff !important;
  --at-ink-2: #c5c1e0 !important;
  --at-ink-3: #928db3 !important;
}

/* 2. Luminous Daylight Pastel-Aurora Page Canvas (fast GPU scroll, zero fixed-bg jank) */
.atelier-scope {
  background-color: #f8f6ff !important;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(196, 181, 253, 0.42), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(186, 230, 253, 0.48), transparent 26%),
    radial-gradient(circle at 76% 36%, rgba(254, 205, 211, 0.22), transparent 26%),
    linear-gradient(180deg, #faf8ff 0%, #f5f6ff 48%, #f1f0ff 100%) !important;
  background-size: 100% 100% !important;
  background-attachment: scroll !important;
}

/* Hide redundant native UPDATES strip above products on Home (we render full Tutorials section below products) */
.bb-hide-native-updates {
  display: none !important;
}

.dark .atelier-scope {
  background-color: #090814 !important;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(124, 58, 237, 0.22), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(14, 165, 233, 0.16), transparent 32%),
    linear-gradient(180deg, #090814 0%, #0d0c1d 55%, #120f26 100%) !important;
}

.atelier-scope .prism-aurora {
  display: none !important;
}

/* 3. Floating Glass Pill Header (bei-bei.shop 1280px × 72px Glass Dock) */
.atelier-scope header.prism-dock {
  max-width: var(--bb-container) !important;
  height: auto !important;
  min-height: 68px !important;
  padding: 0 22px !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid var(--bb-border) !important;
  box-shadow: var(--at-shadow-dock) !important;
}

.dark .atelier-scope header.prism-dock {
  background: rgba(20, 22, 38, 0.8) !important;
}

.atelier-scope header.prism-dock a[href="/"] > span:first-child,
.atelier-scope header.prism-dock .bg-gradient-to-br {
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  background: linear-gradient(135deg, #5d4ef8 0%, #8b7bff 55%, #38bdf8 100%) !important;
  box-shadow: 0 8px 18px -6px rgba(85, 70, 246, 0.55) !important;
}

.atelier-scope header.prism-dock a[href="/login"],
.atelier-scope header.prism-dock button.bg-primary {
  height: 38px !important;
  padding: 0 20px !important;
  border-radius: 9999px !important;
  background: var(--bb-grad-cta) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 20px -6px rgba(85, 70, 246, 0.55) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}

.atelier-scope header.prism-dock a[href="/login"]:hover,
.atelier-scope header.prism-dock button.bg-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -6px rgba(85, 70, 246, 0.65) !important;
}

/* Widen main content container on homepage to match bei-bei.shop 1280px */
.atelier-scope .max-w-\[1240px\] {
  max-width: var(--bb-container) !important;
}

/* 4. Homepage Original Hero Compression (replaced cleanly by #bb-hero-card on Home) */
.atelier-scope section.bb-home-hero-replaced > .inline-flex.rounded-full,
.atelier-scope section.bb-home-hero-replaced > h1,
.atelier-scope section.bb-home-hero-replaced > p {
  display: none !important;
}

.atelier-scope section.bb-home-hero-replaced {
  max-width: 100% !important;
  padding-top: 0.75rem !important;
  padding-bottom: 0.25rem !important;
  text-align: left !important;
}

/* Move search & category chips cleanly below Marketplace header */
.atelier-scope section.bb-home-hero-replaced .prism-search-hub {
  margin: 0 !important;
  max-width: 440px !important;
  height: 44px !important;
  border-radius: 9999px !important;
  background: var(--bb-panel-strong) !important;
  border: 1px solid var(--bb-border) !important;
  box-shadow: 0 8px 24px -14px rgba(64, 52, 132, 0.18) !important;
}

.atelier-scope section.bb-home-hero-replaced .prism-search-hub:focus-within {
  border-color: var(--bb-accent) !important;
  box-shadow: 0 10px 26px -10px rgba(85, 70, 246, 0.28), 0 0 0 4px rgba(85, 70, 246, 0.1) !important;
}

.atelier-scope section.bb-home-hero-replaced .flex-wrap.justify-center,
.atelier-scope section.bb-home-hero-replaced > div.mt-4 {
  justify-content: flex-start !important;
  margin-top: 1rem !important;
  gap: 0.75rem !important;
}

.atelier-scope section.bb-home-hero-replaced .max-w-\[10rem\] {
  max-width: none !important;
}

.atelier-scope section.bb-home-hero-replaced button[aria-pressed] {
  min-height: 44px !important;
  padding: 0 20px !important;
  border-radius: 9999px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.atelier-scope section.bb-home-hero-replaced button[aria-pressed="true"] {
  background: var(--bb-grad-cta) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: var(--bb-shadow-btn) !important;
}

.atelier-scope section.bb-home-hero-replaced button[aria-pressed="false"] {
  background: var(--bb-panel-strong) !important;
  border: 1px solid var(--bb-border) !important;
  color: var(--bb-ink) !important;
  box-shadow: 0 8px 24px -14px rgba(64, 52, 132, 0.18) !important;
}

.atelier-scope section.bb-home-hero-replaced button[aria-pressed="false"]:hover {
  transform: translateY(-2px);
  border-color: var(--bb-border-hi) !important;
  color: var(--bb-accent) !important;
}

/* ==========================================================================
   5. EXACT bei-bei.shop 2-Column Horizon Hero Card (#bb-hero-card)
   ========================================================================== */
.bb-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  margin: 0.5rem 0 2.25rem;
  background:
    radial-gradient(62% 70% at 14% 12%, rgba(216, 202, 255, 0.32), transparent 55%),
    radial-gradient(50% 60% at 88% 10%, rgba(186, 230, 253, 0.36), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(252, 250, 255, 0.9) 68%, rgba(245, 238, 255, 0.92) 100%);
  border: 1px solid rgba(178, 166, 213, 0.38);
  box-shadow: 0 22px 64px rgba(83, 66, 137, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.dark .bb-hero-card {
  background:
    radial-gradient(60% 65% at 16% 14%, rgba(124, 58, 237, 0.25), transparent 55%),
    radial-gradient(50% 55% at 86% 12%, rgba(14, 165, 233, 0.18), transparent 52%),
    linear-gradient(180deg, rgba(16, 15, 34, 0.94) 0%, rgba(20, 16, 44, 0.94) 70%, rgba(28, 18, 56, 0.96) 100%);
  border-color: rgba(154, 146, 255, 0.22);
}

.bb-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 2.25rem;
  align-items: center;
  padding: clamp(28px, 4vw, 52px) clamp(26px, 4.2vw, 56px) clamp(26px, 3vw, 40px);
}

.bb-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
}

.bb-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 138, 212, 0.28);
  box-shadow: 0 8px 22px -12px rgba(85, 70, 246, 0.26);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--bb-accent);
}

.dark .bb-live-pill {
  background: rgba(30, 28, 56, 0.85);
  color: #c4b5fd;
}

.bb-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: bbPulse 2s ease-in-out infinite;
}

@keyframes bbPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.24); }
  50% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0.08); }
}

.bb-hero-title {
  margin: 0;
  font-size: clamp(2.6rem, 4.8vw, 3.85rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #1c1638;
}

.dark .bb-hero-title {
  color: #ffffff;
}

.bb-hero-tagline {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 650;
  line-height: 1.55;
  color: #0b9f6a;
}

.dark .bb-hero-tagline {
  color: #34d399;
}

.bb-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.bb-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 40px;
  padding: 0 1rem;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 138, 212, 0.24);
  box-shadow: 0 8px 20px -14px rgba(64, 52, 132, 0.2);
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--bb-ink-2);
}

.dark .bb-feature-pill {
  background: rgba(32, 30, 62, 0.78);
  color: #d8d4f2;
}

.bb-feature-pill svg {
  width: 15px;
  height: 15px;
  color: var(--bb-accent);
  flex-shrink: 0;
}

.bb-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.bb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 50px;
  padding: 0 1.8rem;
  border-radius: 9999px;
  font-size: 0.96rem;
  font-weight: 750;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

.bb-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.bb-btn-primary {
  background: var(--bb-grad-cta);
  color: #ffffff;
  box-shadow: var(--bb-shadow-btn);
}

.bb-btn-primary:hover {
  background: var(--bb-grad-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(85, 70, 246, 0.65);
}

.bb-btn-glass {
  background: rgba(255, 255, 255, 0.94);
  color: var(--bb-ink);
  border: 1px solid rgba(148, 138, 212, 0.28);
  box-shadow: 0 10px 26px -14px rgba(64, 52, 132, 0.24);
}

.dark .bb-btn-glass {
  background: rgba(34, 32, 66, 0.85);
  color: #f4f3ff;
  border-color: rgba(154, 146, 255, 0.24);
}

.bb-btn-glass:hover {
  transform: translateY(-2px);
  border-color: var(--bb-border-hi);
  color: var(--bb-accent);
}

/* Right column of Hero: 3 KPI cards + Buying Guide */
.bb-hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.bb-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.bb-kpi-box {
  border-radius: 18px;
  padding: 1.05rem 1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 138, 212, 0.22);
  box-shadow: 0 14px 32px -16px rgba(64, 52, 132, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.dark .bb-kpi-box {
  background: rgba(28, 28, 56, 0.88);
  border-color: rgba(154, 146, 255, 0.2);
}

.bb-kpi-box:hover {
  transform: translateY(-3px);
  border-color: var(--bb-border-hi);
}

.bb-kpi-lbl {
  font-size: 0.78rem;
  font-weight: 650;
  color: #6f62c9;
}

.dark .bb-kpi-lbl {
  color: #a5b4fc;
}

.bb-kpi-val {
  margin-top: 0.35rem;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--bb-ink);
  font-variant-numeric: tabular-nums;
}

.bb-hero-guide {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(148, 138, 212, 0.22);
  display: flex;
  flex-direction: column;
  gap: 0.78rem;
}

.bb-guide-heading {
  font-size: 0.84rem;
  font-weight: 750;
  color: var(--bb-accent);
  margin-bottom: 0.1rem;
}

.dark .bb-guide-heading {
  color: #a5b4fc;
}

.bb-guide-row {
  padding-bottom: 0.72rem;
  border-bottom: 1px solid rgba(148, 138, 212, 0.16);
}

.bb-guide-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.bb-guide-row-title {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--bb-ink);
}

.bb-guide-row-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--bb-accent);
}

.dark .bb-guide-row-num {
  color: #a5b4fc;
}

.bb-guide-row-desc {
  margin-top: 0.22rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--bb-ink-2);
}

/* Signature 3D Perspective Horizon Floor inside Hero Card (exact bei-bei.shop vibe!) */
.bb-hero-horizon {
  position: relative;
  height: 118px;
  overflow: hidden;
  border-top: 1px solid rgba(236, 72, 153, 0.18);
  background: linear-gradient(
    180deg,
    rgba(244, 198, 232, 0.36) 0%,
    rgba(232, 224, 255, 0.42) 32%,
    rgba(248, 246, 255, 0.92) 100%
  );
  perspective: 360px;
}

.dark .bb-hero-horizon {
  border-top-color: rgba(236, 72, 153, 0.32);
  background: linear-gradient(
    180deg,
    rgba(236, 72, 153, 0.22) 0%,
    rgba(85, 70, 246, 0.18) 38%,
    rgba(18, 14, 40, 0.95) 100%
  );
}

.bb-hero-horizon::before {
  content: "";
  position: absolute;
  inset: -20px -25% 0;
  background-image:
    linear-gradient(to right, rgba(124, 116, 255, 0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(124, 116, 255, 0.22) 1px, transparent 1px);
  background-size: 46px 28px;
  transform: rotateX(62deg);
  transform-origin: 50% 0%;
  opacity: 0.85;
}

.bb-hero-horizon-word {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%) perspective(240px) rotateX(52deg);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(124, 116, 255, 0.26) 0%, rgba(14, 165, 233, 0.42) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
}

/* ==========================================================================
   6. Marketplace Section Heading & 3-Column bei-bei.shop Big Poster Cards
   ========================================================================== */
.bb-sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--bb-border);
}

.bb-kicker {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7c74ff;
  margin-bottom: 0.35rem;
}

.bb-sec-h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--bb-ink);
  line-height: 1.15;
}

/* Hide Vue's default compact card grid immediately (zero 1-frame flash) */
.bb-native-cards-hidden,
.atelier-scope .grid:has(> article.prism-pcard) {
  display: none !important;
}

/* Hide Vue's loading skeleton cards when our instant SWR product grid is already visible */
.bb-has-instant-grid .grid:has(.theme-skeleton),
.bb-has-instant-grid .prism-card:has(.theme-skeleton) {
  display: none !important;
}

/* 3-Column Big Card Grid (exact bei-bei.shop geometry) */
.bb-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 1.25rem;
}

.bb-product-card {
  --card-accent: #0ea5e9;
  --card-accent-soft: rgba(14, 165, 233, 0.14);
  --card-glow: rgba(14, 165, 233, 0.22);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 22% 8%, var(--card-accent-soft), transparent 44%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 100%);
  border: 1.5px solid var(--bb-border);
  box-shadow: var(--bb-shadow);
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease, border-color 0.2s ease;
  overflow: hidden;
  contain: layout style;
}

.dark .bb-product-card {
  background:
    radial-gradient(circle at 22% 8%, var(--card-accent-soft), transparent 44%),
    linear-gradient(160deg, rgba(24, 26, 46, 0.94) 0%, rgba(18, 20, 38, 0.88) 100%);
}

/* Mouse spotlight sheen */
.bb-product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--ux-mx, 50%) var(--ux-my, 0%), var(--card-accent-soft), transparent 55%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.bb-product-card:hover::before {
  opacity: 1;
}

.bb-product-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-accent);
  box-shadow: 0 26px 60px -14px var(--card-glow), 0 6px 18px rgba(30, 27, 58, 0.06);
}

.bb-product-card[data-tier="1m"] { --card-accent: #0ea5e9; --card-accent-soft: rgba(14, 165, 233, 0.16); --card-glow: rgba(14, 165, 233, 0.3); }
.bb-product-card[data-tier="3m"] { --card-accent: #10b981; --card-accent-soft: rgba(16, 185, 129, 0.16); --card-glow: rgba(16, 185, 129, 0.3); }
.bb-product-card[data-tier="6m"] { --card-accent: #6366f1; --card-accent-soft: rgba(99, 102, 241, 0.16); --card-glow: rgba(99, 102, 241, 0.32); }
.bb-product-card[data-tier="12m"] { --card-accent: #5546f6; --card-accent-soft: rgba(85, 70, 246, 0.18); --card-glow: rgba(85, 70, 246, 0.36); border-color: rgba(85, 70, 246, 0.34); }
.bb-product-card[data-tier="vip"] { --card-accent: #f59e0b; --card-accent-soft: rgba(245, 158, 11, 0.17); --card-glow: rgba(245, 158, 11, 0.3); border-color: rgba(245, 158, 11, 0.34); }

/* BIG Bright Modern Visual Poster Banner inside every Product Card */
.bb-card-poster {
  position: relative;
  z-index: 2;
  height: 232px;
  border-radius: 22px;
  padding: 18px 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 12px 26px -14px var(--card-glow);
}

.bb-product-card:hover .bb-card-poster {
  transform: scale(1.015);
}

/* Vibrant Bright Modern Gradients per Plan Tier */
.bb-card-poster[data-tier="1m"] {
  background:
    radial-gradient(circle at 86% 24%, rgba(255, 255, 255, 0.32), transparent 44%),
    radial-gradient(circle at 12% 92%, rgba(56, 189, 248, 0.45), transparent 50%),
    linear-gradient(135deg, #2563eb 0%, #0ea5e9 56%, #22d3ee 100%);
}

.bb-card-poster[data-tier="3m"] {
  background:
    radial-gradient(circle at 86% 22%, rgba(255, 255, 255, 0.3), transparent 44%),
    radial-gradient(circle at 14% 92%, rgba(52, 211, 153, 0.42), transparent 48%),
    linear-gradient(135deg, #059669 0%, #10b981 52%, #06b6d4 100%);
}

.bb-card-poster[data-tier="6m"] {
  background:
    radial-gradient(circle at 86% 22%, rgba(255, 255, 255, 0.3), transparent 44%),
    radial-gradient(circle at 14% 92%, rgba(167, 139, 250, 0.45), transparent 50%),
    linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #38bdf8 100%);
}

.bb-card-poster[data-tier="12m"] {
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.34), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(236, 72, 153, 0.36), transparent 46%),
    linear-gradient(135deg, #4338ca 0%, #6366f1 48%, #0ea5e9 100%);
}

.bb-card-poster[data-tier="vip"] {
  background:
    radial-gradient(circle at 86% 22%, rgba(255, 255, 255, 0.36), transparent 44%),
    radial-gradient(circle at 14% 92%, rgba(251, 191, 36, 0.45), transparent 48%),
    linear-gradient(135deg, #ea580c 0%, #ec4899 52%, #6366f1 100%);
}

/* Subtle tech grid overlay on poster */
.bb-card-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

.bb-poster-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bb-poster-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bb-poster-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.bb-poster-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-poster-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(8px);
}

.bb-poster-shield {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.bb-poster-main {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.bb-poster-big {
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
}

.bb-poster-sub {
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.bb-poster-orb {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  color: #ffffff;
  box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.22);
  transition: transform 0.32s ease;
  flex-shrink: 0;
}

.bb-poster-orb svg {
  width: 28px;
  height: 28px;
}

.bb-product-card:hover .bb-poster-orb {
  transform: scale(1.08);
}

.bb-poster-specs {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bb-poster-spec {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}

/* Card Pills Row */
.bb-card-pills {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bb-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--bb-ink-2);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--bb-border);
}

.dark .bb-pill {
  background: rgba(34, 36, 62, 0.85);
}

.bb-pill-hot {
  color: var(--bb-accent);
  background: rgba(85, 70, 246, 0.1);
  border-color: rgba(85, 70, 246, 0.24);
}

.bb-product-card[data-tier="12m"] .bb-pill-hot {
  color: #ffffff;
  background: var(--bb-grad-cta);
  border-color: transparent;
}

.bb-product-card[data-tier="vip"] .bb-pill-hot {
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ec4899);
  border-color: transparent;
}

/* Card Copy */
.bb-card-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bb-card-title {
  margin: 0;
  font-size: 1.24rem;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--bb-ink);
  transition: color 0.18s ease;
}

.bb-product-card:hover .bb-card-title {
  color: var(--bb-accent);
}

.bb-card-sub {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 650;
  color: #6b5ce7;
}

.dark .bb-card-sub {
  color: #a5b4fc;
}

.bb-card-desc {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--bb-ink-2);
}

.bb-card-unlimited-bar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bb-card-feat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #047857;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.24);
}

.bb-card-feat-blue {
  color: #0369a1;
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.22);
}

.dark .bb-card-feat {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.16);
}

.dark .bb-card-feat-blue {
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.16);
}

/* ==========================================================================
   6.5 Homepage Tutorials Showcase Section (5 Client Platforms with Large Images)
   ========================================================================== */
.bb-tutorials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bb-tut-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 28px;
  background: var(--bb-panel-strong);
  border: 1.5px solid var(--bb-border);
  box-shadow: var(--bb-shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.24s ease;
  overflow: hidden;
  contain: layout style;
}

.bb-tut-card:hover {
  transform: translateY(-7px);
  border-color: var(--bb-border-hi);
  box-shadow: var(--bb-shadow-hover);
}

.bb-tut-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #eef2ff;
  box-shadow: 0 10px 26px -14px rgba(64, 52, 132, 0.24);
}

.bb-tut-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}

.bb-tut-card:hover .bb-tut-thumb img {
  transform: scale(1.04);
}

.bb-tut-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bb-tut-os {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--bb-accent);
  background: rgba(85, 70, 246, 0.1);
  border: 1px solid rgba(85, 70, 246, 0.2);
}

.bb-tut-client {
  font-size: 12px;
  font-weight: 650;
  color: var(--bb-ink-3);
}

.bb-tut-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.35;
  color: var(--bb-ink);
  transition: color 0.18s ease;
}

.bb-tut-card:hover .bb-tut-title {
  color: var(--bb-accent);
}

.bb-tut-summary {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--bb-ink-2);
}

.bb-tut-foot {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--bb-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 750;
  color: var(--bb-accent);
}

/* Blog / Tutorial Detail Large Image & Code Pill Polish */
.atelier-scope .prose img {
  width: 100% !important;
  height: auto !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 40px -16px rgba(64, 52, 132, 0.22) !important;
  border: 1px solid var(--bb-border);
}

.atelier-scope .prose code::before,
.atelier-scope .prose code::after {
  content: none !important;
}

.atelier-scope .prose code {
  padding: 2px 7px;
  border-radius: 7px;
  background: rgba(85, 70, 246, 0.09);
  color: #4338ca;
  font-weight: 650;
  font-size: 0.88em;
}

.dark .atelier-scope .prose code {
  background: rgba(124, 116, 255, 0.18);
  color: #c7d2fe;
}

/* Styled Callout Boxes inside Tutorials */
.atelier-scope .prose .tut-box {
  padding: 14px 18px;
  border-radius: 16px;
  margin: 14px 0;
  font-size: 0.94rem;
  line-height: 1.65;
  border: 1px solid var(--bb-border);
}
.atelier-scope .prose .tut-box p { margin: 4px 0 !important; }
.atelier-scope .prose .tut-warn {
  background: #fffbeb;
  border-color: rgba(245, 158, 11, 0.45);
  color: #92400e;
}
.atelier-scope .prose .tut-danger {
  background: #fef2f2;
  border-color: rgba(239, 68, 68, 0.42);
  color: #991b1b;
}
.atelier-scope .prose .tut-tip {
  background: #f5f3ff;
  border-color: rgba(124, 116, 255, 0.35);
  color: #3730a3;
}
.atelier-scope .prose .tut-success {
  background: #ecfdf5;
  border-color: rgba(16, 185, 129, 0.42);
  color: #065f46;
  font-weight: 700;
}
.dark .atelier-scope .prose .tut-warn { background: rgba(245, 158, 11, 0.12); color: #fde68a; }
.dark .atelier-scope .prose .tut-danger { background: rgba(239, 68, 68, 0.14); color: #fecaca; }
.dark .atelier-scope .prose .tut-tip { background: rgba(124, 116, 255, 0.14); color: #c7d2fe; }
.dark .atelier-scope .prose .tut-success { background: rgba(16, 185, 129, 0.14); color: #a7f3d0; }

@media (max-width: 1120px) {
  .bb-tutorials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .bb-tutorials-grid {
    grid-template-columns: 1fr;
  }
}

/* Price + Stock Meta Row */
.bb-card-meta {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.bb-card-price {
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--bb-ink);
  font-variant-numeric: tabular-nums;
}

.bb-card-price small {
  font-size: 1.1rem;
  font-weight: 800;
  margin-right: 2px;
}

.bb-card-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bb-stock-ok {
  font-size: 0.84rem;
  font-weight: 750;
  color: #0b9f6a;
}

.bb-stock-low {
  font-size: 0.84rem;
  font-weight: 750;
  color: #d97706;
}

.bb-stat-chip {
  font-size: 0.78rem;
  font-weight: 650;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(148, 138, 212, 0.12);
  border: 1px solid var(--bb-border);
  color: var(--bb-ink-2);
}

/* Signature bei-bei.shop Dual CTA + Auto-Delivery Row */
.bb-card-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 4px;
}

.bb-card-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bb-act-buy {
  height: 40px;
  padding: 0 18px;
  border-radius: 9999px;
  background: var(--bb-grad-cta);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 750;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px -6px rgba(85, 70, 246, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.bb-act-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(85, 70, 246, 0.68);
}

.bb-act-detail {
  height: 40px;
  padding: 0 15px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--bb-ink);
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid var(--bb-border);
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.dark .bb-act-detail {
  background: rgba(34, 36, 62, 0.85);
}

.bb-act-detail:hover {
  border-color: var(--bb-border-hi);
  color: var(--bb-accent);
  transform: translateY(-1px);
}

.bb-auto-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 12px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 750;
  color: #0b9f6a;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  white-space: nowrap;
}

/* ==========================================================================
   7. Lower Process Grid (4 Colors) + Dual HUD Panels (exact bei-bei.shop)
   ========================================================================== */
.bb-lower-wrap {
  margin: 3.25rem auto 1.5rem;
  width: 100%;
  max-width: var(--bb-container);
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  content-visibility: auto;
  contain-intrinsic-size: 1px 1100px;
}

@media (min-width: 640px) {
  .bb-lower-wrap {
    padding: 0 1.5rem;
  }
}

.bb-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.bb-process-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 26px 24px 30px;
  background: var(--bb-panel-strong);
  border: 1px solid var(--bb-border);
  box-shadow: var(--bb-shadow);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.2s ease;
}

.bb-process-card:hover {
  transform: translateY(-8px);
  border-color: var(--bb-border-hi);
  box-shadow: var(--bb-shadow-hover);
}

.bb-process-title {
  margin: 0 0 12px;
  font-size: 1.08rem;
  font-weight: 850;
  position: relative;
  z-index: 2;
}

.bb-process-card[data-c="cyan"] .bb-process-title { color: #06b6d4; }
.bb-process-card[data-c="rose"] .bb-process-title { color: #ec4899; }
.bb-process-card[data-c="amber"] .bb-process-title { color: #f59e0b; }
.bb-process-card[data-c="emerald"] .bb-process-title { color: #10b981; }

.bb-process-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--bb-ink-2);
  position: relative;
  z-index: 2;
}

.bb-process-wm {
  position: absolute;
  right: 16px;
  bottom: -14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(148, 138, 212, 0.16);
  pointer-events: none;
  user-select: none;
}

/* Dual HUD Panels */
.bb-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.bb-hud-card {
  position: relative;
  border-radius: 30px;
  padding: 32px 30px;
  background:
    linear-gradient(to right, rgba(148, 138, 212, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 138, 212, 0.055) 1px, transparent 1px),
    var(--bb-panel-strong);
  background-size: 28px 28px, 28px 28px, 100% 100%;
  border: 1px solid var(--bb-border);
  box-shadow: var(--bb-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.bb-hud-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--bb-shadow-hover);
}

/* 4-Corner HUD Brackets (Signature bei-bei.shop panel detail) */
.bb-hud-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  opacity: 0.6;
}
.bb-hud-tl { top: 12px; left: 12px; border-top: 2px solid #8b7bff; border-left: 2px solid #8b7bff; border-top-left-radius: 4px; }
.bb-hud-tr { top: 12px; right: 12px; border-top: 2px solid #8b7bff; border-right: 2px solid #8b7bff; border-top-right-radius: 4px; }
.bb-hud-bl { bottom: 12px; left: 12px; border-bottom: 2px solid #8b7bff; border-left: 2px solid #8b7bff; border-bottom-left-radius: 4px; }
.bb-hud-br { bottom: 12px; right: 12px; border-bottom: 2px solid #8b7bff; border-right: 2px solid #8b7bff; border-bottom-right-radius: 4px; }

.bb-channel-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 18px 0 24px;
}

.bb-channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
  height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--bb-border);
  box-shadow: 0 10px 24px -14px rgba(64, 52, 132, 0.24);
  font-size: 0.94rem;
  font-weight: 750;
  color: var(--bb-ink);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.dark .bb-channel-pill {
  background: rgba(32, 34, 60, 0.9);
}

.bb-channel-pill:hover {
  transform: translateX(4px);
  border-color: var(--bb-border-hi);
  color: var(--bb-accent);
}

.bb-channel-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.bb-hud-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.bb-hud-actions .bb-btn {
  height: 44px;
  padding: 0 22px;
  font-size: 0.9rem;
}

/* FAQ List */
.bb-faq-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 20px;
}

.bb-faq-item {
  border-radius: 16px;
  border: 1px solid var(--bb-border);
  background: rgba(255, 255, 255, 0.88);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.dark .bb-faq-item {
  background: rgba(30, 32, 56, 0.78);
}

.bb-faq-item[open] {
  background: rgba(124, 116, 255, 0.08);
  border-color: rgba(124, 116, 255, 0.38);
}

.bb-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 18px;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--bb-ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.bb-faq-item summary::-webkit-details-marker {
  display: none;
}

.bb-faq-item summary::before {
  content: "▸";
  font-size: 0.85rem;
  color: #7c74ff;
  transition: transform 0.2s ease;
}

.bb-faq-item[open] summary::before {
  transform: rotate(90deg);
}

.bb-faq-body {
  padding: 0 18px 16px 36px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--bb-ink-2);
}

/* ==========================================================================
   8. Product Detail Page — bei-bei.shop Glass Order Flow Polish
   ========================================================================== */
.atelier-scope .prism-card {
  border-radius: 28px !important;
  background: var(--bb-panel-strong) !important;
  backdrop-filter: blur(22px);
  border: 1px solid var(--bb-border) !important;
  box-shadow: var(--bb-shadow) !important;
}

.atelier-scope aside.prism-card-accent {
  border-radius: 30px !important;
  border: 1px solid rgba(148, 138, 212, 0.34) !important;
  background:
    radial-gradient(circle at 86% 8%, rgba(244, 114, 182, 0.16), transparent 42%),
    radial-gradient(circle at 12% 14%, rgba(167, 139, 250, 0.18), transparent 44%),
    var(--bb-panel-strong) !important;
  box-shadow: 0 22px 54px -14px rgba(85, 70, 246, 0.2) !important;
}

.atelier-scope aside.prism-card-accent button.bg-primary,
.atelier-scope main button.bg-primary {
  border-radius: 9999px !important;
  background: var(--bb-grad-cta) !important;
  border: none !important;
  box-shadow: var(--bb-shadow-btn) !important;
}

.bb-detail-flow {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--bb-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bb-detail-pay-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--bb-border);
}

.dark .bb-detail-pay-box {
  background: rgba(28, 30, 54, 0.85);
}

.bb-detail-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bb-detail-mini-step {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--bb-border);
}

.dark .bb-detail-mini-step {
  background: rgba(28, 30, 54, 0.85);
}

.bb-detail-mini-step b {
  display: block;
  font-size: 0.8rem;
  color: var(--bb-ink);
}

.bb-detail-mini-step span {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  color: var(--bb-ink-2);
  line-height: 1.4;
}

/* Rich text specs on Product Detail */
.atelier-scope .prose ul {
  display: grid;
  gap: 8px;
  padding-left: 0 !important;
  list-style: none !important;
}

.atelier-scope .prose ul li {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(124, 116, 255, 0.06);
  border: 1px solid rgba(148, 138, 212, 0.18);
  margin: 0 !important;
}

.atelier-scope .prose ul li p {
  margin: 0 !important;
}

/* Footer */
.atelier-scope footer {
  border-top: 1px solid var(--bb-border) !important;
  background: linear-gradient(180deg, transparent 0%, rgba(124, 116, 255, 0.05) 100%);
}

/* ==========================================================================
   9. Bright Opaque Glass AI Support Drawer (.djar-fab / .djar-panel) & Back-to-Top
   ========================================================================== */
html body.atelier-tokens .djar-fab {
  right: 22px !important;
  bottom: 22px !important;
  background: var(--bb-grad-cta) !important;
  box-shadow: 0 12px 30px -6px rgba(85, 70, 246, 0.58), 0 0 0 4px rgba(255, 255, 255, 0.9) !important;
}

html body.atelier-tokens .djar-fab:hover {
  transform: translateY(-2px) scale(1.06) !important;
}

html body.atelier-tokens .back-to-top {
  right: 28px !important;
  bottom: 92px !important;
  background: #ffffff !important;
  border-color: var(--bb-border) !important;
  color: var(--bb-accent) !important;
  box-shadow: var(--bb-shadow) !important;
}

html:not(.dark) body.atelier-tokens .djar-panel {
  right: 22px !important;
  bottom: 92px !important;
  background: #ffffff !important;
  color: #1e1b3a !important;
  border: 1px solid rgba(148, 138, 212, 0.34) !important;
  border-radius: 22px !important;
  box-shadow: 0 26px 64px -14px rgba(64, 52, 132, 0.28), 0 6px 18px rgba(30, 27, 58, 0.08) !important;
}

html:not(.dark) body.atelier-tokens .djar-head {
  background: var(--bb-grad-cta) !important;
  color: #ffffff !important;
  border-bottom: none !important;
}

html:not(.dark) body.atelier-tokens .djar-head-title { color: #ffffff !important; }
html:not(.dark) body.atelier-tokens .djar-head-sub { color: rgba(255, 255, 255, 0.88) !important; }
html:not(.dark) body.atelier-tokens .djar-dot { background: #34d399 !important; box-shadow: 0 0 8px #34d399 !important; }

html:not(.dark) body.atelier-tokens .djar-icon-btn {
  background: rgba(255, 255, 255, 0.22) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}

html:not(.dark) body.atelier-tokens .djar-body { background: #f8f7ff !important; }
html:not(.dark) body.atelier-tokens .djar-msg.bot {
  background: #ffffff !important;
  color: #1e1b3a !important;
  border: 1px solid rgba(148, 138, 212, 0.24) !important;
}
html:not(.dark) body.atelier-tokens .djar-msg.user {
  background: var(--bb-grad-cta) !important;
  color: #ffffff !important;
}
html:not(.dark) body.atelier-tokens .djar-chip {
  background: #ffffff !important;
  border: 1px solid rgba(85, 70, 246, 0.24) !important;
  color: #5546f6 !important;
  font-weight: 650 !important;
}
html:not(.dark) body.atelier-tokens .djar-chip:hover {
  background: var(--bb-grad-cta) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}
html:not(.dark) body.atelier-tokens .djar-foot { background: #ffffff !important; border-top: 1px solid rgba(148, 138, 212, 0.2) !important; }
html:not(.dark) body.atelier-tokens .djar-input { background: #f4f3ff !important; color: #1e1b3a !important; border: 1px solid rgba(148, 138, 212, 0.3) !important; }
html:not(.dark) body.atelier-tokens .djar-send { background: var(--bb-grad-cta) !important; color: #ffffff !important; border-radius: 10px !important; }

/* ==========================================================================
   10. Responsive Breakpoints (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 1120px) {
  .bb-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bb-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .bb-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 24px 20px 22px;
  }
  .bb-dual-grid {
    grid-template-columns: 1fr;
  }
  html body.atelier-tokens .djar-fab {
    right: 16px !important;
    bottom: 82px !important;
    width: 50px !important;
    height: 50px !important;
  }
  html body.atelier-tokens .djar-panel {
    right: 12px !important;
    bottom: 142px !important;
    width: calc(100vw - 24px) !important;
    height: 66vh !important;
    max-height: calc(100vh - 165px) !important;
  }
  html body.atelier-tokens .back-to-top {
    right: 19px !important;
    bottom: 144px !important;
  }
  .atelier-scope footer {
    padding-bottom: 5.5rem !important;
  }
}

@media (max-width: 720px) {
  .bb-hero-card {
    border-radius: 26px;
  }
  .bb-hero-left {
    align-items: center;
    text-align: center;
  }
  .bb-feature-pills,
  .bb-hero-ctas {
    justify-content: center;
  }
  .bb-btn {
    height: 44px;
    padding: 0 1.25rem;
    font-size: 0.88rem;
  }
  .bb-kpi-row {
    gap: 0.55rem;
  }
  .bb-kpi-box {
    padding: 0.8rem 0.6rem;
    text-align: center;
  }
  .bb-kpi-val {
    font-size: 1.25rem;
  }
  .bb-hero-horizon {
    height: 82px;
  }
  .bb-catalog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .bb-process-grid {
    grid-template-columns: 1fr;
  }
  .bb-card-actions {
    flex-wrap: wrap;
  }
  .bb-hud-card {
    padding: 24px 20px;
    border-radius: 24px;
  }
}
