/* ==========================================================================
   Baseborn V2 — Main Stylesheet
   ========================================================================== */

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--bb-font-body);
  font-size: var(--bb-body-size, 16px);
  background: var(--bb-black);
  color: var(--bb-bone);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none; /* custom cursor on desktop */
}

@media (pointer: coarse) { body { cursor: auto; } }

a { color: var(--bb-link-color, #c8351f); text-decoration: none; transition: color .2s; }
a:hover { color: var(--bb-link-hover, #d4ac0d); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--bb-font-heading);
  color: var(--bb-bone);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.1;
}
h1 { font-size: var(--bb-h1-size, 72px); }
h2 { font-size: clamp(32px, 5vw, 56px); }
h3 { font-size: clamp(24px, 3vw, 36px); }
p { margin-bottom: 1em; }
ul, ol { list-style: none; }

/* ── Custom Cursor ────────────────────────────────────────────────────────── */
.bb-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  background: var(--bb-accent, #c8351f);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  /* centering only — JS moves via left/top, not transform */
  transform: translate(-50%, -50%);
  transition: width .15s, height .15s, opacity .2s, background .2s;
  box-shadow: 0 0 8px 3px rgba(200,53,31,.6);
  mix-blend-mode: normal;
}
.bb-cursor.is-hovering {
  width: 28px;
  height: 28px;
  background: rgba(200,53,31,.35);
  box-shadow: 0 0 12px 4px rgba(200,53,31,.5);
}
.bb-cursor.is-clicking {
  width: 8px;
  height: 8px;
}
@media (pointer: coarse) { .bb-cursor { display: none; } }

/* ── Utilities ────────────────────────────────────────────────────────────── */
.bb-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.bb-btn {
  display: inline-block;
  font-family: var(--bb-font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid var(--bb-btn-primary, #c8351f);
  background: var(--bb-btn-primary, #c8351f);
  color: var(--bb-btn-text, #e8e0d0);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  text-decoration: none;
}
.bb-btn:hover { background: transparent; color: var(--bb-btn-primary, #c8351f); }
.bb-btn--ghost { background: transparent; border-color: var(--bb-bone); color: var(--bb-bone); }
.bb-btn--ghost:hover { background: var(--bb-bone); color: var(--bb-black); }
.bb-btn--sm { padding: 8px 18px; font-size: 11px; }
.bb-btn--full { width: 100%; text-align: center; }
.bb-btn--cta { background: var(--bb-header-cta-color, #c8351f); border-color: var(--bb-header-cta-color, #c8351f); color: #fff; }

/* ── Announcement Bar ─────────────────────────────────────────────────────── */
.bb-announce-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1002;   /* above header */
  width: 100%;
  overflow: hidden;
  padding: 8px 0;
}
.bb-announce__track {
  display: flex;
  gap: 60px;
  animation: bb-marquee-scroll 20s linear infinite;
  width: max-content;
  font-family: var(--bb-font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}
@keyframes bb-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

/* ── Header ───────────────────────────────────────────────────────────────── */
.bb-header {
  position: fixed;
  top: 36px; /* sits below 36px announce bar */
  left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background .35s, backdrop-filter .35s, top .2s;
}
/* When announce bar is absent (lock screen hides it), header returns to top */
.bb-lockscreen-page .bb-header { top: 0; }
.bb-header.is-scrolled,
.bb-header:hover {
  background: rgba(10,9,8,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.bb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  gap: 24px;
}
.bb-logo-img { height: 40px; width: auto; }
.bb-logo-text {
  font-family: var(--bb-font-heading);
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--bb-bone);
}
.bb-header__nav { flex: 1; display: flex; justify-content: center; }
.bb-nav-list { display: flex; gap: 32px; align-items: center; }
.bb-nav-item a {
  font-family: var(--bb-font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bb-bone);
  transition: color .2s;
}
.bb-nav-item a:hover,
.bb-nav-item.active > a { color: var(--bb-red); }
.bb-sub-menu {
  display: none;
  position: absolute;
  background: rgba(10,9,8,0.95);
  border: 1px solid #2a2624;
  padding: 12px 0;
  min-width: 180px;
}
.bb-nav-item { position: relative; }
.bb-nav-item:hover > .bb-sub-menu { display: block; }
.bb-sub-menu .bb-nav-item a { padding: 8px 20px; display: block; font-size: 12px; }
.bb-header__actions { display: flex; align-items: center; gap: 16px; }
.bb-header__cart { color: var(--bb-bone); position: relative; display: flex; align-items: center; }
.bb-cart-count {
  position: absolute;
  top: -8px; right: -8px;
  background: var(--bb-red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ── Hamburger ────────────────────────────────────────────────────────────── */
.bb-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.bb-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--bb-bone);
  transition: transform .3s, opacity .3s;
}
.bb-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bb-hamburger.is-open span:nth-child(2) { opacity: 0; }
.bb-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Drawer ────────────────────────────────────────────────────────── */
.bb-mobile-drawer {
  position: fixed;
  top: 0; right: -320px;
  width: 300px; height: 100vh;
  background: var(--bb-surface);
  border-left: 1px solid #2a2624;
  z-index: 1100;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  padding: 80px 32px 40px;
  display: flex; flex-direction: column; gap: 32px;
  overflow-y: auto;
}
.bb-mobile-drawer.is-open { right: 0; }
.bb-drawer-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none;
  color: var(--bb-bone);
  font-size: 20px;
  cursor: pointer;
}
.bb-drawer-nav { display: flex; flex-direction: column; gap: 4px; }
.bb-drawer-nav .bb-nav-item a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #1e1c1a;
  font-size: 15px;
}
.bb-drawer-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 1050;
}
.bb-drawer-overlay.is-visible { display: block; }
.bb-drawer-cta { width: 100%; text-align: center; }

/* ── Scene Pages ──────────────────────────────────────────────────────────── */
.bb-scene-page { min-height: 100vh; background: var(--bb-black); }
.bb-scene-wrap {
  position: relative;
  width: 100vw;
  overflow: hidden;
}
.bb-scene-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ── Circuit Node Touchpoints ─────────────────────────────────────────────── */
.tp-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  cursor: pointer;
  z-index: 10;
  text-decoration: none;
}
.tp-node:focus { outline: 2px solid var(--tp-color, #e8e0d0); outline-offset: 4px; }

/* Center pulse dot */
.tp-center {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--tp-color, #e8e0d0);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--tp-color, #e8e0d0) 30%, transparent),
    0 0 10px 4px color-mix(in srgb, var(--tp-color, #e8e0d0) 60%, transparent);
  animation: tp-pulse 1.8s ease-in-out infinite;
  position: relative; z-index: 2;
}

/* Bracket corners */
.tp-bracket {
  position: absolute;
  width: 9px; height: 9px;
  border-color: var(--tp-color, #e8e0d0);
  border-style: solid;
  opacity: 0.65;
  transition: opacity .2s, width .2s, height .2s;
}
.tp-bracket-tl { top: 4px;  left: 4px;  border-width: 1.5px 0 0 1.5px; }
.tp-bracket-tr { top: 4px;  right: 4px; border-width: 1.5px 1.5px 0 0; }
.tp-bracket-bl { bottom: 4px; left: 4px;  border-width: 0 0 1.5px 1.5px; }
.tp-bracket-br { bottom: 4px; right: 4px; border-width: 0 1.5px 1.5px 0; }

.tp-node:hover .tp-bracket {
  opacity: 1;
  width: 12px; height: 12px;
}
.tp-node:hover .tp-center {
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--tp-color, #e8e0d0) 20%, transparent),
    0 0 18px 7px color-mix(in srgb, var(--tp-color, #e8e0d0) 80%, transparent);
}

/* Label */
.tp-label {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--bb-font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tp-color, #e8e0d0);
  text-shadow: 0 0 8px var(--tp-color, #e8e0d0);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.tp-node:hover .tp-label { opacity: 1; }
.is-mobile .tp-label { opacity: 1; }

/* Size variants */
.tp-node--sm { width: 28px; height: 28px; }
.tp-node--sm .tp-center { width: 6px; height: 6px; }
.tp-node--lg { width: 48px; height: 48px; }
.tp-node--lg .tp-center { width: 11px; height: 11px; }

/* Mobile: hide if show_mobile is false */
.tp-hide-mobile { display: none; }
@media (min-width: 768px) { .tp-hide-mobile { display: flex; } }

@keyframes tp-pulse {
  0%,100% {
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--tp-color,#e8e0d0) 30%, transparent),
                0 0 10px 4px color-mix(in srgb, var(--tp-color,#e8e0d0) 60%, transparent);
  }
  50% {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--tp-color,#e8e0d0) 15%, transparent),
                0 0 20px 8px color-mix(in srgb, var(--tp-color,#e8e0d0) 80%, transparent);
  }
}

/* ── Lock Screen ──────────────────────────────────────────────────────────── */
/* Hide main header & announce bar on lock screen */
.bb-lockscreen-page .bb-header,
.bb-lockscreen-page .bb-announce-bar { display: none; }

/* Lock screen own top bar */
.bb-lockscreen__topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
}
.bb-lockscreen__topbar-logo {
  text-decoration: none;
  color: var(--bb-bone, #e8e3db);
}
.bb-lockscreen__topbar-logo img {
  max-height: 36px;
  width: auto;
}
.bb-lockscreen__topbar-logo span {
  font-family: var(--bb-font-heading, 'Bebas Neue', sans-serif);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}
.bb-lockscreen__topbar-shop {
  font-size: 0.75rem;
  padding: 0.5rem 1.25rem;
}

.bb-lockscreen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.bb-lockscreen.has-anim { animation: bb-bg-drift var(--anim-dur, 8s) ease-in-out infinite alternate; }
@keyframes bb-bg-drift {
  0%   { background-position: 50% 50%; }
  100% { background-position: 55% 45%; }
}
.bb-lockscreen__overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,9,8,0.3) 0%, rgba(10,9,8,0.85) 100%);
  z-index: 1;
}
.bb-lockscreen__scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.08) 3px,
    rgba(0,0,0,0.08) 4px
  );
  z-index: 2;
  pointer-events: none;
}
.bb-lockscreen__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.7) 100%);
  z-index: 2;
  pointer-events: none;
}
.bb-lockscreen__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 24px;
  max-width: 560px;
}
.bb-lockscreen__logo { max-width: 260px; width: 100%; }
.bb-lockscreen__wordmark {
  font-family: var(--bb-font-heading);
  font-size: clamp(48px, 10vw, 96px);
  letter-spacing: 0.12em;
  color: var(--bb-bone);
}
.bb-lockscreen__divider {
  width: 120px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--bb-red), transparent);
  animation: bb-divider-grow 2s ease-in-out infinite alternate;
}
@keyframes bb-divider-grow {
  from { width: 80px; opacity: .6; }
  to   { width: 160px; opacity: 1; }
}
.bb-lockscreen__tagline {
  font-family: var(--bb-font-label);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bb-muted);
}
.bb-btn--enter {
  font-size: 15px;
  padding: 18px 48px;
  letter-spacing: 0.25em;
}
.bb-lockscreen__ghost-btn {
  font-family: var(--bb-font-label);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bb-muted);
  border-bottom: 1px solid var(--bb-muted);
  transition: color .2s, border-color .2s;
}
.bb-lockscreen__ghost-btn:hover { color: var(--bb-bone); border-color: var(--bb-bone); }
.bb-lockscreen__coords {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--bb-font-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--bb-muted);
  z-index: 3;
}

/* ── Page Transition Overlay ──────────────────────────────────────────────── */
.bb-page-overlay {
  position: fixed; inset: 0;
  background: var(--bb-transition-color, #0a0908);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--bb-transition-dur, 400ms) ease;
}
.bb-page-overlay.is-active { opacity: 1; pointer-events: all; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.bb-footer { padding: 80px 0 0; }
.bb-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.bb-footer__logo-text {
  font-family: var(--bb-font-heading);
  font-size: 24px;
  letter-spacing: 0.1em;
  color: var(--bb-bone);
}
.bb-footer__logo { max-width: 160px; margin-bottom: 16px; }
.bb-footer__tagline {
  font-family: var(--bb-font-label);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bb-footer-accent, #c8351f);
  margin-bottom: 12px;
}
.bb-footer__desc { font-size: 13px; color: var(--bb-muted); line-height: 1.7; }
.bb-footer__heading {
  font-family: var(--bb-font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.bb-footer__nav { display: flex; flex-direction: column; gap: 10px; }
.bb-footer__nav .bb-nav-item a { font-size: 13px; color: var(--bb-muted); transition: color .2s; }
.bb-footer__nav .bb-nav-item a:hover { color: var(--bb-bone); }
.bb-footer__bottom { padding: 20px 0; }
.bb-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.bb-footer__copyright { font-size: 12px; color: var(--bb-muted); letter-spacing: 0.05em; }
.bb-footer__socials { display: flex; gap: 20px; }
.bb-footer__social-link { color: var(--bb-muted); transition: color .2s; }
.bb-footer__social-link:hover { color: var(--bb-bone); }
.bb-footer__payment { display: flex; gap: 8px; }
.bb-payment-icon {
  font-family: var(--bb-font-label);
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border: 1px solid #2a2624;
  color: var(--bb-muted);
  border-radius: 2px;
}

/* ── Product Marquee ──────────────────────────────────────────────────────── */
.bb-marquee { padding: 32px 0; overflow: hidden; }
.bb-marquee__header {
  text-align: center;
  margin-bottom: 20px;
  padding: 0 24px;
}
.bb-marquee__title {
  font-family: var(--bb-font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.bb-marquee__track-wrap { overflow: hidden; }
.bb-marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: bb-marquee-scroll linear infinite;
}
.bb-marquee__track:hover { animation-play-state: paused; }
.bb-marquee__card {
  width: 200px;
  flex-shrink: 0;
  border: 1px solid;
  border-radius: 2px;
  overflow: hidden;
  transition: transform .2s;
}
.bb-marquee__card:hover { transform: translateY(-4px); }
.bb-marquee__card-bar { height: 3px; width: 100%; }
.bb-marquee__card-img,
.bb-marquee__card-img--placeholder {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.bb-marquee__card-img--placeholder { background: #1e1c1a; }
.bb-marquee__card-body { padding: 12px; }
.bb-marquee__card-name { font-size: 12px; font-weight: 600; display: block; margin-bottom: 6px; }
.bb-marquee__card-price { font-size: 13px; margin-bottom: 8px; }
.bb-marquee__card-btn { width: 100%; text-align: center; }

/* ── Character Panel ──────────────────────────────────────────────────────── */
.bb-char-panel {
  position: absolute;
  overflow-y: auto;
  max-height: 55vh;
  padding: 28px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}
.bb-char-panel__name {
  font-size: clamp(36px, 6vw, 64px);
  margin-bottom: 8px;
}
.bb-char-panel__tagline {
  font-family: var(--bb-font-label);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.7;
}
.bb-char-panel__content { font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.bb-char-panel__nav { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Contact Panel ────────────────────────────────────────────────────────── */
.bb-contact-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(480px, 85%);
  padding: 40px 36px;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.bb-contact-panel__heading {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 24px;
  color: var(--bb-bone);
}
.bb-contact-panel__note {
  font-size: 13px;
  color: var(--bb-muted);
  font-style: italic;
  margin-bottom: 16px;
}
.bb-contact-panel__info { margin-top: 24px; font-size: 13px; color: var(--bb-muted); }
.bb-form-group { margin-bottom: 16px; }
.bb-form-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid #2a2624;
  color: var(--bb-bone);
  font-family: var(--bb-font-body);
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s;
}
.bb-form-input:focus { border-color: var(--bb-red); }
.bb-form-textarea { resize: vertical; min-height: 100px; }

/* ── Shop Archive ─────────────────────────────────────────────────────────── */
.bb-shop-archive { background: var(--bb-black); min-height: 100vh; padding-top: 110px; }
.bb-shop-archive__header { padding: 60px 0 40px; }
.bb-shop-archive__title {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 32px;
  color: var(--bb-bone);
}
.bb-shop-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.bb-shop-filter {
  font-family: var(--bb-font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid #2a2624;
  color: var(--bb-muted);
  transition: all .2s;
}
.bb-shop-filter:hover { border-color: var(--bb-bone); color: var(--bb-bone); }
.bb-shop-filter.is-active { color: var(--bb-red); border-color: var(--bb-red); }
.bb-shop-archive__content {
  display: grid;
  grid-template-columns: repeat(var(--shop-cols, 3), 1fr);
  gap: 24px;
  padding-bottom: 80px;
}
.bb-product-card {
  background: var(--card-bg, #141210);
  border: 1px solid #1e1c1a;
  position: relative;
  transition: transform .2s, border-color .2s;
}
.bb-product-card:hover { transform: translateY(-4px); border-color: #3a3834; }
.bb-product-card__bar { height: 3px; }
.bb-product-card__badge {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--bb-font-label);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--bb-black);
  padding: 3px 8px;
  z-index: 2;
}
.bb-product-card__img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.bb-product-card__img--placeholder { background: #1e1c1a; width: 100%; aspect-ratio: 1; }
.bb-product-card__body { padding: 16px; }
.bb-product-card__collection {
  font-family: var(--bb-font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.bb-product-card__name a { font-size: 15px; color: var(--bb-bone); font-weight: 600; }
.bb-product-card__price { font-size: 14px; color: var(--bb-muted); margin: 8px 0 12px; }
.bb-product-card__btn { width: 100%; text-align: center; }
.bb-shop-archive__empty { text-align: center; padding: 80px 0; }

/* ── Single Product ───────────────────────────────────────────────────────── */
.bb-single-product { background: var(--bb-black); min-height: 100vh; padding-top: 110px; }
.bb-single-product .bb-container { padding-top: 40px; padding-bottom: 80px; }
.bb-single-product__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.bb-single-product__gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.bb-product-badge {
  display: inline-block;
  font-family: var(--bb-font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bb-black);
  padding: 4px 12px;
  margin-bottom: 16px;
}
.bb-single-product__title { font-size: clamp(32px, 5vw, 56px); margin-bottom: 16px; }
.bb-single-product__price { font-size: 24px; color: var(--bb-bone); margin-bottom: 24px; }
.bb-single-product__desc { font-size: 15px; color: var(--bb-muted); margin-bottom: 24px; line-height: 1.8; }
.bb-single-product__full-desc { margin-bottom: 40px; font-size: 15px; line-height: 1.9; color: var(--bb-muted); }
.bb-product-pullquote {
  border-left: 4px solid;
  padding: 20px 28px;
  margin: 40px 0;
  font-family: var(--bb-font-label);
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--bb-bone);
  background: var(--bb-surface);
}
.bb-related-products { margin-top: 60px; }
.bb-related-products__title { margin-bottom: 32px; font-size: clamp(24px, 3vw, 36px); }
.bb-related-products__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── Cart ─────────────────────────────────────────────────────────────────── */
.bb-cart-page { background: var(--bb-black); min-height: 100vh; padding-top: 120px; }
.bb-cart-page__title { margin-bottom: 40px; font-size: clamp(36px, 5vw, 60px); }
.bb-cart-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
.bb-cart-table th {
  font-family: var(--bb-font-label);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bb-muted);
  padding: 12px 16px;
  border-bottom: 1px solid #2a2624;
  text-align: left;
}
.bb-cart-item { border-bottom: 1px solid #1e1c1a; }
.bb-cart-item td { padding: 20px 16px; vertical-align: middle; }
.bb-cart-item__product { display: flex; align-items: center; gap: 16px; }
.bb-cart-item__product img { width: 80px; height: 80px; object-fit: cover; }
.bb-qty-input {
  width: 60px; padding: 8px;
  background: var(--bb-surface);
  border: 1px solid #2a2624;
  color: var(--bb-bone);
  text-align: center;
}
.bb-remove-item { color: var(--bb-muted); font-size: 18px; transition: color .2s; }
.bb-remove-item:hover { color: var(--bb-red); }
.bb-cart-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }
.bb-cart-coupon { display: flex; gap: 12px; }
.bb-coupon-input { width: 200px; }
.bb-cart-empty { text-align: center; padding: 80px 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.bb-cart-empty__msg { font-size: 18px; color: var(--bb-muted); }
.bb-cart-totals { max-width: 400px; margin-left: auto; }
.bb-cart-checkout-btn { margin-top: 20px; }

/* ── Checkout ─────────────────────────────────────────────────────────────── */
.bb-checkout-page { background: var(--bb-black); min-height: 100vh; padding-top: 120px; }
.bb-checkout-page__title { margin-bottom: 40px; font-size: clamp(32px, 5vw, 56px); }
.bb-checkout-layout { display: grid; grid-template-columns: 3fr 2fr; gap: 60px; padding-bottom: 80px; }
.bb-checkout-section-title { font-size: 20px; margin-bottom: 24px; margin-top: 32px; color: var(--bb-bone); }
.bb-checkout-section-title:first-child { margin-top: 0; }
.bb-checkout-summary { padding: 32px; background: var(--bb-surface); border: 1px solid #2a2624; align-self: start; }
.bb-checkout-summary__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bb-checkout-summary__table td,
.bb-checkout-summary__table th { padding: 10px 0; border-bottom: 1px solid #1e1c1a; }
.bb-checkout-total td,
.bb-checkout-total th { font-weight: 700; font-size: 16px; color: var(--bb-bone); border-bottom: none; padding-top: 16px; }

/* ── WooCommerce form overrides ───────────────────────────────────────────── */
.woocommerce-input-wrapper input,
.woocommerce-input-wrapper select,
.woocommerce-input-wrapper textarea,
.woocommerce form .input-text,
.woocommerce form select {
  background: var(--bb-surface) !important;
  border: 1px solid #2a2624 !important;
  color: var(--bb-bone) !important;
  padding: 12px 16px !important;
  font-family: var(--bb-font-body) !important;
  width: 100%;
}
.woocommerce form .input-text:focus,
.woocommerce form select:focus { border-color: var(--bb-red) !important; outline: none !important; }
.woocommerce form label { font-family: var(--bb-font-label); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--bb-muted); margin-bottom: 6px; display: block; }
.woocommerce-error, .woocommerce-message, .woocommerce-info {
  padding: 12px 16px;
  margin-bottom: 20px;
  font-family: var(--bb-font-label);
  font-size: 13px;
  letter-spacing: 0.05em;
  border-left: 3px solid var(--bb-red);
  background: var(--bb-surface);
  list-style: none;
}
.woocommerce-message { border-color: var(--bb-amber); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bb-footer__grid { grid-template-columns: 1fr 1fr; }
  .bb-single-product__layout { grid-template-columns: 1fr; }
  .bb-related-products__grid { grid-template-columns: repeat(2, 1fr); }
  .bb-checkout-layout { grid-template-columns: 1fr; }
  .bb-shop-archive__content { --shop-cols: 2; }
}

@media (max-width: 767px) {
  h1 { font-size: clamp(36px, 10vw, 60px); }
  .bb-header__nav { display: none; }
  .bb-hamburger { display: flex; }
  .bb-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .bb-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .bb-shop-archive__content { --shop-cols: 2; }
  .bb-related-products__grid { grid-template-columns: repeat(2, 1fr); }
  .bb-checkout-layout { grid-template-columns: 1fr; }
  .bb-lockscreen__content { gap: 16px; }
  .bb-btn--enter { padding: 14px 32px; font-size: 13px; }
  .tp-label { font-size: 9px; }
}

@media (max-width: 479px) {
  .bb-shop-archive__content { --shop-cols: 1; }
  .bb-cart-table th:nth-child(2),
  .bb-cart-table td:nth-child(2) { display: none; }
  .bb-contact-panel { padding: 28px 20px; }
}
