/* Aussie Peptides – Raptor Labs–inspired catalog theme */

:root {
  --primary: #000000;
  --primary-dark: #000000;
  --accent: #c41e3a;
  --accent-subtle: #e11d48;
  --accent-dark: #9f1239;
  --accent-glow: rgba(196, 30, 58, 0.22);
  --accent-on: #ffffff;
  --ink: #000000;
  --bg: #ffffff;
  --bg-secondary: #f5f5f5;
  --text: #000000;
  --text-secondary: #3a3a3a;
  --muted: #7a7471;
  --border: #d4d4d4;
  --border-strong: #000000;
  --surface-dark: #000000;
  --danger: #e85d6c;
  --success: #22c55e;
  --radius-lg: 0px;
  --radius-md: 0px;
  --shadow-soft: none;
  --shadow-medium: none;
  --ease-snap: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-hard: cubic-bezier(0.7, 0, 0.3, 1);
}

/* Typography – Prompt-style display + clean body */
h1,
h2,
h3,
h4,
.hero h1,
.section-title,
.section-heading h2,
.page-title,
.catalog-title,
.catalog-sidebar h2,
.product-title,
.product-card .product-name,
.modal-title,
.top-bar,
.btn-primary,
.btn-ghost,
.btn-sm-primary,
.product-cta,
.cart-drawer-header h3,
.newsletter-title {
  font-family: "Prompt", "Oswald", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-weight: 800;
}

body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: "Rubik", "Inter", system-ui, sans-serif;
}

/* Hide hero / trust – Raptor goes straight to catalog */
.hero,
.trust-badges {
  display: none !important;
}

/* Top bar – minimal black strip */
.top-bar {
  background: #000000 !important;
  animation: none !important;
  box-shadow: none !important;
  border-bottom: 1px solid #222 !important;
  font-family: "Prompt", system-ui, sans-serif !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.top-bar::before {
  display: none !important;
}

/* Announcement */
.announcement-bar {
  background: #f5f5f5 !important;
  border-bottom: 1px solid var(--border) !important;
}

.announcement-badge {
  background: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
  border-radius: 0 !important;
}

.announcement-dot.is-active {
  background: #000 !important;
}

.announcement-close:hover {
  border-color: #000 !important;
  background: #f5f5f5 !important;
  color: #000 !important;
}

/* Header – Raptor style */
header {
  background: #ffffff !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: none !important;
}

header.scrolled {
  box-shadow: none !important;
}

.logo img {
  height: 50px !important;
  width: auto !important;
  filter: grayscale(1) contrast(1.2);
}

/* Primary top navigation – Raptor style */
nav {
  display: flex !important;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  font-family: "Prompt", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  font-weight: 700;
}

nav a {
  position: relative;
  color: var(--text) !important;
  white-space: nowrap;
  padding-bottom: 3px;
  transition: color 0.12s var(--ease-hard);
}

nav a:hover {
  color: var(--accent) !important;
}

nav a.active {
  color: #000 !important;
}

nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent) !important;
  border-radius: 0;
}

.header-right .pill {
  display: none !important;
}

.cart-button {
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  background: #000 !important;
  color: #fff !important;
  font-family: "Prompt", system-ui, sans-serif !important;
  text-transform: uppercase;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  transition: background 0.12s var(--ease-hard), color 0.12s var(--ease-hard) !important;
}

.cart-button:hover {
  background: #fff !important;
  color: #000 !important;
}

.cart-count {
  background: var(--accent) !important;
  color: var(--accent-on) !important;
  border-radius: 0 !important;
}

.mobile-menu-btn {
  border: 1px solid #000 !important;
  border-radius: 0 !important;
}

/* ── Raptor-style hero ─────────────────────────────────────── */
.rl-hero {
  position: relative;
  background: #000;
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid #1a1a1a;
}

.rl-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 75% at 80% 55%, rgba(196, 30, 58, 0.20), transparent 60%),
    radial-gradient(45% 55% at 10% 12%, rgba(255, 255, 255, 0.06), transparent 60%);
  pointer-events: none;
}

.rl-hero-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 104px) 24px clamp(40px, 6vw, 76px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 32px;
}

.rl-hero-eyebrow {
  display: inline-block;
  font-family: "Prompt", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #bdbdbd;
  margin-bottom: 18px;
}

.rl-hero-title {
  font-family: "Prompt", "Oswald", system-ui, sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-size: clamp(3rem, 9vw, 7rem);
  margin: 0 0 22px;
  color: #fff;
}

.rl-hero-title span {
  color: var(--accent);
}

.rl-hero-sub {
  max-width: 30rem;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.55;
  color: #c9c9c9;
  margin: 0 0 30px;
}

.rl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.rl-hero-btn {
  font-family: "Prompt", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid #fff;
  background: #fff;
  color: #000;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s var(--ease-hard), color 0.15s var(--ease-hard), border-color 0.15s var(--ease-hard);
}

.rl-hero-btn span {
  transition: transform 0.15s var(--ease-hard);
}

.rl-hero-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.rl-hero-btn:hover span {
  transform: translateX(4px);
}

.rl-hero-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.rl-hero-btn--ghost:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.rl-hero-note {
  font-family: "Prompt", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.66rem;
  color: #7a7a7a;
}

.rl-hero-art {
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.rl-hero-carousel {
  position: relative;
  width: 70%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
}

.rl-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  opacity: 0;
  filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.7));
  animation: rlHeroCarousel 13.5s linear infinite both;
}

/* 3 slides, staggered by a third of the cycle via negative delays */
.rl-hero-slide:nth-child(1) {
  animation-delay: 0s;
}

.rl-hero-slide:nth-child(2) {
  animation-delay: -4.5s;
}

.rl-hero-slide:nth-child(3) {
  animation-delay: -9s;
}

@keyframes rlHeroCarousel {
  0% {
    opacity: 0;
    transform: scale(0.93) translateY(10px);
  }

  7% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  30% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  40% {
    opacity: 0;
    transform: scale(0.97) translateY(-10px);
  }

  100% {
    opacity: 0;
    transform: scale(0.97) translateY(-10px);
  }
}

.rl-hero-dots {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.rl-hero-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  animation: rlHeroDot 13.5s linear infinite both;
}

.rl-hero-dots span:nth-child(1) {
  animation-delay: 0s;
}

.rl-hero-dots span:nth-child(2) {
  animation-delay: -4.5s;
}

.rl-hero-dots span:nth-child(3) {
  animation-delay: -9s;
}

@keyframes rlHeroDot {

  0%,
  33% {
    background: var(--accent);
    transform: scale(1.25);
  }

  38%,
  100% {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1);
  }
}

/* Feature strip under hero */
.rl-strip {
  background: #0a0a0a;
  border-bottom: 1px solid var(--border);
}

.rl-strip-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.rl-strip-item {
  font-family: "Prompt", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(0.7rem, 1.1vw, 0.82rem);
  font-weight: 700;
  color: #ededed;
}

.rl-strip-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
}

/* ── How your order works ──────────────────────────────────── */
#about.rl-how {
  text-align: center;
}

#about .section-heading,
#legal .section-heading {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
}

#about .section-heading p {
  max-width: 620px;
  font-size: 0.95rem;
  color: var(--muted);
}

.rl-payid-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  max-width: 920px;
  margin: 24px auto 0;
  background: #000;
  color: #fff;
  padding: 16px 20px;
  border: 1px solid #000;
}

.rl-payid-check {
  flex: none;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 999px;
}

.rl-payid-text {
  flex: 1;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #d4d4d4;
}

.rl-payid-text strong {
  color: #fff;
}

.rl-payid-tag {
  flex: none;
  font-family: "Prompt", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.62rem;
  font-weight: 800;
  background: var(--accent);
  color: #fff;
  padding: 6px 10px;
  white-space: nowrap;
}

.rl-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 1100px;
  margin: 26px auto 0;
  text-align: left;
}

.rl-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  padding: 22px 18px 20px;
  transition: border-color 0.15s var(--ease-hard), transform 0.15s var(--ease-hard);
}

.rl-step:hover {
  border-color: #000;
  transform: translateY(-3px);
}

.rl-step-num {
  display: block;
  font-family: "Prompt", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 12px;
}

.rl-step-title {
  font-family: "Prompt", system-ui, sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  margin: 0 0 6px;
  color: var(--text);
}

.rl-step-desc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.rl-step--highlight {
  border-color: #000;
  box-shadow: 5px 5px 0 var(--accent);
}

.rl-step-tag {
  display: inline-block;
  margin-top: 12px;
  font-family: "Prompt", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.6rem;
  font-weight: 800;
  background: var(--accent);
  color: #fff;
  padding: 4px 8px;
}

.rl-how-note {
  max-width: 760px;
  margin: 26px auto 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 920px) {
  .rl-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rl-payid-banner {
    flex-direction: column;
    text-align: center;
  }

  .rl-payid-text {
    text-align: center;
  }
}

@media (max-width: 520px) {
  .rl-steps {
    grid-template-columns: 1fr;
  }
}

/* ── Legal & compliance accordion ──────────────────────────── */
#legal {
  max-width: none !important;
  margin: 0 !important;
  background: #fafafa;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px 56px !important;
}

.legal-intro {
  max-width: 760px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
}

#legal .section-heading {
  text-align: center;
}

.legal-nav {
  justify-content: center !important;
  margin-top: 22px !important;
}

.legal-link {
  border-radius: 0 !important;
  border: 1px solid var(--border) !important;
  background: #fff !important;
  font-family: "Prompt", system-ui, sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem !important;
  font-weight: 700;
  color: var(--text) !important;
  transition: background 0.14s var(--ease-hard), color 0.14s var(--ease-hard), border-color 0.14s var(--ease-hard) !important;
}

.legal-link:hover {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
  transform: none !important;
}

.rl-accordion {
  max-width: 880px;
  margin: 28px auto 0;
  border-top: 1px solid var(--border);
  background: #fff;
  border: 1px solid var(--border);
}

.rl-acc-item {
  border-bottom: 1px solid var(--border);
}

.rl-acc-item:last-child {
  border-bottom: none;
}

.rl-acc-head {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-family: "Prompt", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  transition: color 0.15s var(--ease-hard), background 0.15s var(--ease-hard);
}

.rl-acc-head::-webkit-details-marker {
  display: none;
}

.rl-acc-head:hover {
  color: var(--accent);
  background: #fafafa;
}

.rl-acc-item[open]>.rl-acc-head {
  color: var(--accent);
}

.rl-acc-icon {
  position: relative;
  width: 15px;
  height: 15px;
  flex: none;
}

.rl-acc-icon::before,
.rl-acc-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.22s var(--ease-hard), opacity 0.22s var(--ease-hard);
}

.rl-acc-icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}

.rl-acc-icon::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
}

.rl-acc-item[open] .rl-acc-icon::after {
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}

.rl-acc-body {
  padding: 0 20px 20px;
  animation: rlAccIn 0.25s var(--ease-hard);
}

.rl-acc-body p {
  margin: 0 0 4px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.rl-acc-body ul {
  margin: 8px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rl-acc-body li {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@keyframes rlAccIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 860px) {
  .rl-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 6px;
    padding-top: clamp(32px, 9vw, 56px);
  }

  .rl-hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .rl-hero-actions {
    justify-content: center;
  }

  .rl-hero-art {
    order: -1;
    min-height: 240px;
    margin-bottom: 6px;
  }

  .rl-hero-carousel {
    width: 60%;
    max-width: 280px;
  }

  .rl-hero-dots {
    margin-top: 16px;
  }
}

@media (max-width: 480px) {
  .rl-hero-carousel {
    width: 72%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rl-hero-slide {
    animation: none !important;
  }

  .rl-hero-slide:nth-child(1) {
    opacity: 1;
  }

  .rl-hero-dots span {
    animation: none !important;
  }

  .rl-hero-dots span:nth-child(1) {
    background: var(--accent);
  }
}

/* Catalog layout */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid var(--border);
}

.catalog-sidebar {
  border-right: 1px solid var(--border);
  padding: 28px 20px 40px;
  position: sticky;
  top: 80px;
  align-self: start;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.catalog-sidebar h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  line-height: 1;
}

.catalog-sidebar-group {
  margin-bottom: 24px;
}

.catalog-sidebar-group h4 {
  font-family: "Prompt", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: var(--text);
}

.catalog-search {
  display: flex;
  gap: 0;
}

.catalog-search input {
  flex: 1;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 0;
  padding: 10px 12px;
  font-size: 0.85rem;
  background: #fff;
  font-family: inherit;
}

.catalog-search input:focus {
  outline: none;
  border-color: #000;
}

.catalog-search button {
  border: 1px solid #000;
  background: #c8c8c8;
  color: #000;
  padding: 10px 14px;
  font-family: "Prompt", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.12s var(--ease-hard);
}

.catalog-search button:hover {
  background: #000;
  color: #fff;
}

.catalog-filters {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.catalog-filters .filter-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--text) !important;
  font-family: "Prompt", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transform: none !important;
  box-shadow: none !important;
}

.catalog-filters .filter-pill::after {
  content: attr(data-index);
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.catalog-filters .filter-pill:hover {
  border-color: var(--border);
  color: var(--text) !important;
}

.catalog-filters .filter-pill.active {
  border: 1px solid #000 !important;
  background: #fff !important;
  color: #000 !important;
}

.catalog-sort select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 10px 12px;
  font-size: 0.85rem;
  background: #fff;
  cursor: pointer;
}

.catalog-main {
  padding: 28px 24px 48px;
}

.catalog-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95;
  margin-bottom: 8px;
}

.catalog-count {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 24px;
  text-transform: none;
  font-weight: 400;
  font-family: "Rubik", "Inter", sans-serif;
}

/* Hide old toolbar when catalog layout present */
.toolbar {
  display: none !important;
}

.product-section#shop {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.product-section#shop>.section-heading {
  display: none !important;
}

/* Product grid – Raptor cards */
.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.product-card {
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #fff !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden;
  transition: border-color 0.15s var(--ease-hard) !important;
  transform: none !important;
}

.product-card::before {
  display: none !important;
}

.product-card:hover {
  border-color: #000 !important;
  box-shadow: none !important;
  transform: none !important;
}

.product-card-header {
  padding: 14px 14px 8px;
  border-bottom: 1px solid var(--border);
}

.entry-id {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 6px;
  font-family: "Rubik", "Inter", sans-serif;
}

.product-card .product-title,
.product-card .product-name {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.05;
  margin-bottom: 8px;
  font-weight: 800;
}

.product-variant {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border: 1px solid var(--border);
  background: #f5f5f5;
  color: var(--text-secondary);
  font-family: "Rubik", "Inter", sans-serif;
}

.product-image-wrapper {
  padding: 0 !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-image {
  border-radius: 0 !important;
  background: #fff !important;
  height: 220px !important;
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
}

.product-card:hover .product-image {
  transform: none !important;
}

.product-image img {
  object-fit: contain !important;
  padding: 12px;
}

.product-labels {
  display: none !important;
}

.product-content {
  padding: 12px 14px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: auto;
}

.product-meta-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stock.out-of-stock,
.stock-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 8px;
  border: 1px solid var(--danger);
  color: #000;
  background: #fff;
  box-shadow: 2px 2px 0 var(--danger);
  font-family: "Prompt", system-ui, sans-serif;
}

.price {
  font-family: "Prompt", system-ui, sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

.per,
.product-subtitle {
  font-size: 0.75rem !important;
  color: var(--muted) !important;
}

.card-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.btn-sm-primary,
.btn-sm-ghost,
.product-cta {
  width: 100%;
  border-radius: 0 !important;
  padding: 12px 14px !important;
  font-family: "Prompt", system-ui, sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.75rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.12s var(--ease-hard), color 0.12s var(--ease-hard) !important;
  transform: none !important;
  box-shadow: none !important;
}

.btn-sm-primary,
.product-cta:not(.out-of-stock-cta) {
  background: #fff !important;
  color: #000 !important;
  border: 1px solid #000 !important;
}

.btn-sm-primary:hover:not(:disabled),
.product-cta:not(.out-of-stock-cta):hover {
  background: #000 !important;
  color: #fff !important;
}

.btn-sm-primary:disabled,
.product-cta.out-of-stock-cta {
  background: #fff !important;
  color: #000 !important;
  border: 1px solid #000 !important;
  opacity: 1 !important;
}

.btn-sm-ghost {
  display: none !important;
}

.product-disclaimer {
  display: none !important;
}

/* Primary buttons */
.btn-primary {
  border-radius: 0 !important;
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #000 !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

.btn-primary::after {
  display: none !important;
}

.btn-primary:hover {
  background: var(--accent) !important;
  color: var(--accent-on) !important;
  border-color: var(--accent) !important;
  box-shadow: none !important;
  transform: none !important;
}

.btn-ghost {
  border-radius: 0 !important;
  border: 1px solid #000 !important;
  color: #000 !important;
  background: #fff !important;
}

.btn-ghost:hover {
  background: #000 !important;
  color: #fff !important;
  transform: none !important;
}

/* Section headings elsewhere */
.section-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
}

.product-section:not(#shop) {
  max-width: 1180px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

/* Newsletter */
.newsletter-section {
  border-top: 1px solid #000 !important;
  /* Contrast band: the title/desc are white, so keep a dark background */
  background: #0a0a0a !important;
}

.newsletter-btn {
  border-radius: 0 !important;
  background: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
}

.newsletter-btn:hover {
  background: var(--accent) !important;
  color: var(--accent-on) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Footer */
footer.footer {
  max-width: none !important;
  width: 100%;
  margin: 0 !important;
  padding: 32px 24px !important;
  background: #fff !important;
  color: var(--muted) !important;
  border-top: 1px solid var(--border) !important;
}

footer.footer a {
  color: #000 !important;
}

footer.footer a:hover {
  color: var(--accent-dark) !important;
}

/* Forms */
input:focus,
select:focus,
textarea:focus {
  border-color: #000 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Reveal – subtle */
.reveal,
.reveal-stagger>* {
  opacity: 1 !important;
  transform: none !important;
}

/* Dark payment pages */
body:has(.wrap > .top .logo) {
  background: #000 !important;
  color: #fafafa !important;
}

body:has(.wrap > .top .logo) .btn.primary {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--accent-on) !important;
  border-radius: 0 !important;
  font-family: "Prompt", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

body:has(.wrap > .top .logo) .btn:not(.primary):hover {
  border-color: var(--accent) !important;
  background: rgba(196, 30, 58, 0.08) !important;
}

body:has(.wrap > .top .logo) input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.2) !important;
}

/* Welcome modal – Raptor mono */
#welcomeModalBackdrop .modal-content {
  border-radius: 0 !important;
  border: 1px solid #000 !important;
}

.welcome-pill {
  background: var(--accent) !important;
  color: var(--accent-on) !important;
  border-radius: 0 !important;
  font-family: "Prompt", system-ui, sans-serif !important;
  font-weight: 800 !important;
  text-transform: uppercase;
}

.welcome-modal-side {
  background: #000 !important;
  border-radius: 0 !important;
}

.welcome-chip {
  border-radius: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  font-family: "Prompt", system-ui, sans-serif;
  text-transform: uppercase;
  font-size: 0.7rem;
}

#welcomeModalBackdrop .btn-primary {
  border-radius: 0 !important;
}

@media (max-width: 900px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--border);
    max-height: none;
    padding: 20px 16px;
  }

  .catalog-main {
    padding: 20px 16px 40px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Collapse top nav into the hamburger on narrower screens.
   Scope to the desktop header nav only so the slide-out
   `.mobile-menu-nav` (which lives outside <header>) stays visible. */
@media (max-width: 1024px) {
  header nav:not(.mobile-menu-nav) {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
  }
}

@media (max-width: 540px) {
  .product-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   Cart drawer — Raptor Labs–inspired brutalist redesign.
   This block is intentionally last so it overrides the
   per-page inline cart styles on every page that loads theme.css.
   ============================================================ */
.cart-drawer-backdrop {
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(2px) !important;
}

.cart-drawer {
  width: min(420px, 100%) !important;
  background: #ffffff !important;
  border-left: 2px solid #000 !important;
  box-shadow: -16px 0 0 rgba(0, 0, 0, 0.05) !important;
}

/* Header */
.cart-drawer-header {
  padding: 22px 22px 16px !important;
  border-bottom: 2px solid #000 !important;
  align-items: flex-start !important;
  background: #fff !important;
}

.cart-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-drawer-header h3 {
  font-family: "Prompt", "Oswald", system-ui, sans-serif !important;
  font-size: 1.9rem !important;
  font-weight: 800 !important;
  line-height: 0.92 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.02em !important;
  color: #000 !important;
}

.cart-title-count {
  font-family: "Prompt", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.cart-close-btn {
  border: 2px solid #000 !important;
  background: #fff !important;
  border-radius: 0 !important;
  width: 34px !important;
  height: 34px !important;
  font-size: 1.2rem !important;
  line-height: 1 !important;
  color: #000 !important;
  flex: 0 0 auto;
}

.cart-close-btn:hover {
  background: #000 !important;
  color: #fff !important;
  transform: none !important;
}

/* Items list */
.cart-items {
  background: #fff !important;
  padding: 0 !important;
  gap: 0 !important;
}

.cart-item {
  background: #fff !important;
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 16px 22px !important;
  grid-template-columns: 64px 1fr auto !important;
  gap: 14px !important;
  align-items: start !important;
  animation: none !important;
}

.cart-item:hover {
  transform: none !important;
}

.cart-item-image {
  width: 64px !important;
  height: 64px !important;
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  background: #f5f5f5 !important;
}

.cart-item-info {
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cart-item-title {
  font-family: "Prompt", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: 0.9rem;
  line-height: 1.1;
  color: #000;
}

.cart-item-sub {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.cart-item-line {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 6px !important;
}

.cart-item-total {
  font-family: "Prompt", system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #000;
}

/* Quantity stepper */
.cart-qty {
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  overflow: hidden;
}

.cart-qty button {
  width: 28px !important;
  height: 28px !important;
  border-radius: 0 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #000 !important;
}

.cart-qty button:hover {
  background: #000 !important;
  color: #fff !important;
}

.cart-qty span {
  min-width: 30px !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Remove (trash) button */
.cart-item-remove {
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: flex-start;
  transition: color 0.15s ease;
}

.cart-item-remove:hover {
  color: var(--accent);
}

.cart-item-remove svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Empty state */
.cart-empty {
  padding: 72px 28px !important;
  text-align: center !important;
  color: #000 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cart-empty::before {
  content: none !important;
}

.cart-empty-title {
  font-family: "Prompt", "Oswald", system-ui, sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  color: #000;
}

.cart-empty-sub {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 8px 0 22px;
}

.cart-empty-cta {
  font-family: "Prompt", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  padding: 14px 28px;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cart-empty-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Footer / order summary */
.cart-footer {
  border-top: 2px solid #000 !important;
  padding: 18px 22px 22px !important;
  background: #fff !important;
}

.cart-summary-row {
  font-size: 0.74rem !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px !important;
  align-items: baseline !important;
}

.cart-summary-row > span,
.cart-summary-row small {
  color: var(--muted) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.06em;
}

.cart-summary-row .cart-total {
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
}

.cart-grandtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid #000;
  margin-top: 10px;
  padding-top: 12px;
  margin-bottom: 14px;
}

.cart-grandtotal-label {
  font-family: "Prompt", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #000;
}

.cart-grandtotal-value {
  font-family: "Prompt", "Oswald", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: #000;
}

.cart-footer .btn-primary {
  border-radius: 0 !important;
  margin-top: 0 !important;
  padding: 15px !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.04em !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

.cart-footer .btn-primary::after {
  content: "\2192" !important;
  display: inline-block !important;
  font-size: 1.1rem !important;
  line-height: 1;
}

.cart-footer .note {
  font-size: 0.66rem !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  margin-top: 12px !important;
  color: var(--muted) !important;
}

/* ============================================================
   Community section — brutalist redesign to match the brand.
   Overrides the soft, rounded inline styles on index.html and
   community.html (loaded last, so these win the cascade).
   ============================================================ */
.community-section,
.community-section-bg {
  background: #ffffff !important;
  border-radius: 0 !important;
  text-align: center;
}

.community-section-bg {
  padding-top: 12px !important;
  padding-bottom: 8px !important;
  margin-bottom: 44px !important;
}

.community-section .section-heading {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px;
  text-align: center;
}

/* Eyebrow label → crimson tag, matching .rl-step-tag / .rl-payid-tag */
.community-badge {
  display: inline-block;
  font-family: "Prompt", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.62rem;
  font-weight: 800;
  color: #ffffff !important;
  background: var(--accent) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 6px 11px !important;
  margin-bottom: 14px;
}

.community-grid {
  gap: 22px !important;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.community-video-card {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  cursor: pointer;
  transition: transform 0.15s var(--ease-hard, ease) !important;
  box-shadow: none !important;
}

.community-video-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.community-video-inner {
  background: #0a0a0a !important;
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  transition: box-shadow 0.15s var(--ease-hard, ease), transform 0.15s var(--ease-hard, ease);
}

.community-video-card:hover .community-video-inner {
  transform: translateY(-4px);
  box-shadow: 7px 7px 0 var(--accent);
}

.community-video-placeholder {
  background: #0a0a0a !important;
  font-family: "Prompt", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: #555 !important;
}

/* Play button → crimson disc with white triangle */
.community-video-card .community-play-overlay {
  background: rgba(0, 0, 0, 0.3) !important;
}

.community-video-card .community-play-overlay svg {
  width: 24px !important;
  height: 24px !important;
  fill: #ffffff !important;
  background: var(--accent);
  border-radius: 999px;
  padding: 15px;
  box-sizing: content-box;
  filter: none !important;
}

/* Overlay label → crimson tag, top-left */
.community-video-overlay {
  top: 10px;
  left: 10px;
  right: auto;
  bottom: auto;
  padding: 5px 9px !important;
  background: var(--accent) !important;
  color: #ffffff !important;
  font-family: "Prompt", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.58rem !important;
  font-weight: 800 !important;
}

/* Caption */
.community-video-caption {
  margin-top: 12px !important;
  font-family: "Prompt", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem !important;
  font-weight: 700;
  color: #000 !important;
  text-align: center;
}

/* CTA → brutalist ghost button that inverts on hover */
.community-cta-wrap {
  margin-top: 30px !important;
  text-align: center;
}

.community-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Prompt", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 13px 24px !important;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: background 0.15s var(--ease-hard, ease), color 0.15s var(--ease-hard, ease);
}

.community-cta:hover {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000 !important;
  box-shadow: none !important;
  text-decoration: none;
}

/* ============================================================
   THEME TOGGLE BUTTON (header action, both themes)
   ============================================================ */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
  cursor: pointer;
  transition: background 0.15s var(--ease-hard, ease), color 0.15s var(--ease-hard, ease),
    border-color 0.15s var(--ease-hard, ease);
}

.theme-toggle-btn:hover {
  background: #000;
  color: #fff;
}

.theme-toggle-btn svg {
  display: block;
}

/* ============================================================
   DARK THEME
   Opt-in via <html data-theme="dark">. With no attribute the
   site stays in its default light mode. The brand stays
   monochrome + crimson, simply inverted for dark surfaces.
   ============================================================ */
html[data-theme="dark"] {
  --bg: #0b0b0b;
  --bg-secondary: #161616;
  --text: #f2f2f2;
  --text-secondary: #bdbdbd;
  --muted: #8c8c8c;
  --border: #2a2a2a;
  --border-strong: #f2f2f2;
  --accent: #e11d48;
  --accent-subtle: #f43f5e;
  --accent-dark: #be123c;
  --accent-glow: rgba(225, 29, 72, 0.25);
  color-scheme: dark;
}

html[data-theme="dark"] body {
  background: var(--bg) !important;
  color: var(--text) !important;
}

/* The logo PNG has an opaque white background, so a plain invert() would
   turn that backdrop into a black box. Invert to get a white mark on a
   black field, then blend the (now black) background into the dark header
   with mix-blend-mode: screen so only the white mark shows. */
html[data-theme="dark"] .logo img {
  filter: grayscale(1) contrast(1.05) invert(1) !important;
  mix-blend-mode: screen;
}

/* Header + announcement */
html[data-theme="dark"] header {
  background: #0f0f0f !important;
}

html[data-theme="dark"] .announcement-bar {
  background: #141414 !important;
  border-bottom-color: var(--border) !important;
}

html[data-theme="dark"] .announcement-badge {
  background: #1c1c1c !important;
}

html[data-theme="dark"] .announcement-close {
  background: #1c1c1c !important;
  border-color: var(--border) !important;
}

html[data-theme="dark"] nav a.active {
  color: #f2f2f2 !important;
}

/* Theme toggle button in dark */
html[data-theme="dark"] .theme-toggle-btn {
  background: transparent;
  border-color: #f2f2f2;
  color: #f2f2f2;
}

html[data-theme="dark"] .theme-toggle-btn:hover {
  background: #f2f2f2;
  color: #000;
}

/* Cart + mobile menu buttons (solid black → light) */
html[data-theme="dark"] .cart-button {
  background: #f2f2f2 !important;
  color: #000 !important;
  border-color: #f2f2f2 !important;
}

html[data-theme="dark"] .cart-button:hover {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}

html[data-theme="dark"] .mobile-menu-btn {
  background: transparent !important;
  border-color: #f2f2f2 !important;
  color: #f2f2f2 !important;
}

/* Light elevated surfaces → dark surfaces */
html[data-theme="dark"] .rl-step,
html[data-theme="dark"] .rl-accordion,
html[data-theme="dark"] .legal-link,
html[data-theme="dark"] .legal-card,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .modal,
html[data-theme="dark"] .modal-main,
html[data-theme="dark"] .catalog-search input,
html[data-theme="dark"] .catalog-sort select {
  background: #161616 !important;
  color: var(--text) !important;
}

/* Banded light sections → dark */
html[data-theme="dark"] #legal,
html[data-theme="dark"] .newsletter-section {
  background: #0f0f0f !important;
}

/* Product card internals */
html[data-theme="dark"] .product-image {
  background: #1c1c1c !important;
}

html[data-theme="dark"] .product-variant {
  background: #1f1f1f !important;
  color: var(--text-secondary) !important;
  border-color: var(--border) !important;
}

html[data-theme="dark"] .stock.out-of-stock,
html[data-theme="dark"] .stock-badge {
  background: #161616 !important;
  color: #f2f2f2 !important;
}

html[data-theme="dark"] .upcoming-card {
  background: #141414 !important;
}

/* Bordered/ghost buttons (white/black) → dark-surface with light frame */
html[data-theme="dark"] .btn-sm-primary,
html[data-theme="dark"] .btn-sm-primary:disabled,
html[data-theme="dark"] .product-cta:not(.out-of-stock-cta),
html[data-theme="dark"] .product-cta.out-of-stock-cta,
html[data-theme="dark"] .btn-ghost {
  background: #161616 !important;
  color: #f2f2f2 !important;
  border-color: #3a3a3a !important;
}

html[data-theme="dark"] .btn-sm-primary:hover:not(:disabled),
html[data-theme="dark"] .product-cta:not(.out-of-stock-cta):hover,
html[data-theme="dark"] .btn-ghost:hover {
  background: #f2f2f2 !important;
  color: #000 !important;
  border-color: #f2f2f2 !important;
}

/* Solid black buttons → light (hover still goes crimson via base rule) */
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .newsletter-btn {
  background: #f2f2f2 !important;
  color: #000 !important;
  border-color: #f2f2f2 !important;
}

/* Catalog search button (light grey) */
html[data-theme="dark"] .catalog-search button {
  background: #262626 !important;
  color: #f2f2f2 !important;
  border-color: #3a3a3a !important;
}

html[data-theme="dark"] .catalog-search button:hover {
  background: #f2f2f2 !important;
  color: #000 !important;
}

html[data-theme="dark"] .catalog-search input:focus {
  border-color: #f2f2f2 !important;
}

/* Active filter pill */
html[data-theme="dark"] .catalog-filters .filter-pill.active {
  background: #f2f2f2 !important;
  color: #000 !important;
  border-color: #f2f2f2 !important;
}

/* Footer */
html[data-theme="dark"] footer.footer {
  background: #0f0f0f !important;
}

html[data-theme="dark"] footer.footer a {
  color: #f2f2f2 !important;
}

/* Forms */
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  background: #161616 !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #777 !important;
}

html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus {
  border-color: #f2f2f2 !important;
}

/* Accordion hover wash */
html[data-theme="dark"] .rl-acc-head:hover {
  background: #1c1c1c !important;
}

/* Legal link hover (kept inverted) */
html[data-theme="dark"] .legal-link:hover {
  background: #f2f2f2 !important;
  color: #000 !important;
  border-color: #f2f2f2 !important;
}

/* Modals */
html[data-theme="dark"] .welcome-modal-main {
  background: radial-gradient(circle at top left, #161616, #161616 32%, #0f0f0f 72%) !important;
  border-right-color: var(--border) !important;
}

html[data-theme="dark"] .welcome-tagline {
  color: #f2f2f2 !important;
}

html[data-theme="dark"] .welcome-list {
  color: #cfcfcf !important;
}

html[data-theme="dark"] .welcome-note,
html[data-theme="dark"] .modal-small,
html[data-theme="dark"] .product-modal-tagline {
  color: #bdbdbd !important;
}

html[data-theme="dark"] .modal-close {
  color: #f2f2f2 !important;
}

/* Mobile slide-out menu */
html[data-theme="dark"] .mobile-menu {
  background: #0f0f0f !important;
}

html[data-theme="dark"] .mobile-menu-header {
  background: #161616 !important;
  border-bottom-color: var(--border) !important;
}

html[data-theme="dark"] .mobile-menu-header h3 {
  color: #f2f2f2 !important;
}

html[data-theme="dark"] .mobile-menu-close {
  color: #f2f2f2 !important;
}

/* Cart drawer (overrides the cart redesign's white surfaces) */
html[data-theme="dark"] .cart-drawer,
html[data-theme="dark"] .cart-drawer-header,
html[data-theme="dark"] .cart-items,
html[data-theme="dark"] .cart-item,
html[data-theme="dark"] .cart-footer {
  background: #0f0f0f !important;
}

html[data-theme="dark"] .cart-drawer {
  border-left-color: #f2f2f2 !important;
}

html[data-theme="dark"] .cart-drawer-header {
  border-bottom-color: #f2f2f2 !important;
}

html[data-theme="dark"] .cart-footer {
  border-top-color: #f2f2f2 !important;
}

html[data-theme="dark"] .cart-drawer-header h3,
html[data-theme="dark"] .cart-item-title,
html[data-theme="dark"] .cart-item-total,
html[data-theme="dark"] .cart-grandtotal-label,
html[data-theme="dark"] .cart-grandtotal-value,
html[data-theme="dark"] .cart-summary-row .cart-total,
html[data-theme="dark"] .cart-empty-title {
  color: #f2f2f2 !important;
}

html[data-theme="dark"] .cart-item {
  border-bottom-color: var(--border) !important;
}

html[data-theme="dark"] .cart-close-btn {
  background: #161616 !important;
  color: #f2f2f2 !important;
  border-color: #f2f2f2 !important;
}

html[data-theme="dark"] .cart-close-btn:hover {
  background: #f2f2f2 !important;
  color: #000 !important;
}

html[data-theme="dark"] .cart-item-image {
  background: #1c1c1c !important;
  border-color: #f2f2f2 !important;
}

html[data-theme="dark"] .cart-qty {
  border-color: #3a3a3a !important;
}

html[data-theme="dark"] .cart-qty button {
  color: #f2f2f2 !important;
}

html[data-theme="dark"] .cart-qty button:hover {
  background: #f2f2f2 !important;
  color: #000 !important;
}

html[data-theme="dark"] .cart-qty span {
  border-left-color: #3a3a3a !important;
  border-right-color: #3a3a3a !important;
}

html[data-theme="dark"] .cart-grandtotal {
  border-top-color: #f2f2f2 !important;
}

/* Community section (white band → dark; cards already dark) */
html[data-theme="dark"] .community-section,
html[data-theme="dark"] .community-section-bg {
  background: var(--bg) !important;
}

html[data-theme="dark"] .community-video-caption {
  color: #f2f2f2 !important;
}

html[data-theme="dark"] .community-video-inner {
  border-color: var(--border) !important;
}

html[data-theme="dark"] .community-cta {
  background: #161616 !important;
  color: #f2f2f2 !important;
  border-color: #3a3a3a !important;
}

html[data-theme="dark"] .community-cta:hover {
  background: #f2f2f2 !important;
  color: #000 !important;
  border-color: #f2f2f2 !important;
}

/* Info/content pages (order guide, terms, privacy, legal, verify,
   certificates, tracking) — light content panels → dark */
html[data-theme="dark"] .page-shell,
html[data-theme="dark"] .certificate-card,
html[data-theme="dark"] .verify-copy,
html[data-theme="dark"] .verify-form-card,
html[data-theme="dark"] .card {
  background: #161616 !important;
  border-color: var(--border) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .btn-secondary {
  background: #161616 !important;
  color: #f2f2f2 !important;
  border-color: #3a3a3a !important;
}

/* Jump-link / nav pills (e.g. "Research disclaimer" chips on legal pages) */
html[data-theme="dark"] .chip {
  background: #161616 !important;
  border-color: #3a3a3a !important;
  color: #f2f2f2 !important;
}

html[data-theme="dark"] .chip:hover {
  background: #f2f2f2 !important;
  color: #000 !important;
  border-color: #f2f2f2 !important;
}

/* Inline dark-grey copy inside dark modals/forms → readable light grey */
html[data-theme="dark"] .modal-main [style*="#4b5563"],
html[data-theme="dark"] .modal-main [style*="#374151"],
html[data-theme="dark"] .modal-main [style*="#6b7280"],
html[data-theme="dark"] .page-shell [style*="#4b5563"] {
  color: #bdbdbd !important;
}

/* Verify warning panel */
html[data-theme="dark"] [style*="#fffbeb"],
html[data-theme="dark"] .verify-warning {
  background: #2a2212 !important;
}

/* ============================================================
   Bundle products — "What's included" list
   ============================================================ */
.bundle-includes {
  border: 1px solid #000;
  background: #fafafa;
  padding: 10px 12px;
  margin: 4px 0 2px;
}

.bundle-includes-title {
  font-family: "Prompt", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  font-size: 0.66rem;
  color: #000;
  margin-bottom: 6px;
}

.bundle-includes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bundle-includes-list li {
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--text-secondary);
}

.bundle-includes-list a {
  color: inherit;
  text-decoration: none;
}

.bundle-includes-list a:hover {
  color: var(--accent);
}

.bundle-qty {
  font-family: "Prompt", system-ui, sans-serif;
  font-weight: 800;
  color: var(--accent);
}

/* Dark theme */
html[data-theme="dark"] .bundle-includes {
  background: #161616;
  border-color: #3a3a3a;
}

html[data-theme="dark"] .bundle-includes-title {
  color: #f2f2f2;
}