/* ============================================================
   7-Seven PDP — Hero section styles
   Built on Real Botanicals design system.
   ============================================================ */

@import url("./design-system/colors_and_type.css");
@import url("./design-system/tokens.css");

html, body {
  margin: 0;
  padding: 0;
  background: var(--rb-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.rb-announce {
  background: var(--rb-red);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.rb-announce strong { font-weight: 800; }

/* ============================================================
   HEADER
   ============================================================ */
.rb-header {
  position: sticky;
  top: 0;
  background: var(--rb-bg);
  z-index: var(--z-sticky);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 200ms var(--ease-out), background 200ms var(--ease-out);
}
.rb-header.scrolled {
  background: rgba(246, 239, 234, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px -10px rgba(0, 0, 0, 0.18);
}
.rb-header-inner {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}
.rb-brand { display: flex; align-items: center; cursor: pointer; }
.rb-brand img { height: 42px; }
.rb-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
}
.rb-nav a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--rb-fg);
  cursor: pointer;
  text-decoration: none;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color 160ms var(--ease-out);
}
.rb-nav a:hover { color: var(--rb-red); }
.rb-utility { display: flex; align-items: center; gap: 16px; }
.rb-utility button {
  background: none; border: 0; cursor: pointer;
  color: var(--rb-fg); padding: 8px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  transition: background 160ms var(--ease-out);
}
.rb-utility button:hover { background: rgba(0, 0, 0, 0.05); }
.rb-utility .rb-cart { position: relative; }
.rb-cart-count {
  position: absolute;
  top: 2px; right: 0;
  background: var(--rb-red);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  border-radius: 999px;
  padding: 2px 6px;
  min-width: 18px;
  text-align: center;
  line-height: 1;
}
.rb-mobile-toggle { display: none; }

.rb-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
}
.rb-nav-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.rb-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: var(--rb-bg);
  z-index: var(--z-modal);
  transform: translateX(-100%);
  transition: transform 320ms var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: 8px 0 40px -8px rgba(0, 0, 0, 0.18);
}
.rb-nav-drawer.open {
  transform: translateX(0);
}
.rb-nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.rb-nav-drawer-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.rb-nav-drawer-close {
  background: none; border: 0; cursor: pointer;
  color: var(--rb-fg); padding: 6px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  transition: background 160ms var(--ease-out);
}
.rb-nav-drawer-close:hover { background: rgba(0,0,0,0.05); }
.rb-nav-drawer-body {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  overflow-y: auto;
}
.rb-nav-drawer-body a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--rb-fg);
  text-decoration: none;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 140ms var(--ease-out);
}
.rb-nav-drawer-body a:last-child { border-bottom: none; }
.rb-nav-drawer-body a:hover { background: rgba(0,0,0,0.03); }

/* ============================================================
   HERO LAYOUT
   ============================================================ */
.rb-hero {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 32px 28px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

/* ----- GALLERY ----- */
.rb-gallery { position: sticky; top: 96px; }
.rb-gallery-main {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  position: relative;
  overflow: hidden;
}
.rb-gallery-main::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  width: 70%;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.18), transparent 70%);
  filter: blur(8px);
  z-index: 0;
}
.rb-gallery-main img {
  position: relative;
  z-index: 1;
  max-height: 520px;
  object-fit: contain;
  transition: opacity 240ms var(--ease-out), transform 320ms var(--ease-out);
}
.rb-gallery-main img.fading { opacity: 0; transform: scale(0.98); }
.rb-gallery-badge {
  position: absolute;
  top: 24px; left: 24px;
  background: var(--rb-bg-inverse);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 4px;
  z-index: 2;
}
.rb-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.rb-gallery-thumb {
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.rb-gallery-thumb:hover { transform: translateY(-2px); }
.rb-gallery-thumb.active { border-color: var(--rb-red); }
.rb-gallery-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Mobile swipeable gallery */
.rb-gallery-dots { display: none; }

/* ============================================================
   BUY BOX (right column)
   ============================================================ */
.rb-buybox { padding-top: 4px; }

/* Review row */
.rb-bb-review {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  text-decoration: none;
  cursor: pointer;
}
.rb-bb-review:hover .count {
  text-decoration: underline;
}
.rb-bb-review .stars { color: var(--rb-gold); font-size: 16px; letter-spacing: 2px; line-height: 1; }
.rb-bb-review .count {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--rb-gray-500);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.rb-bb-review .divider {
  width: 1px; height: 14px;
  background: var(--color-border);
}
.rb-bb-review .verified {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rb-success);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* Title + supporting */
.rb-bb-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: none;
  margin: 0 0 6px;
  color: var(--rb-fg);
}
.rb-bb-subline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--rb-gray-500);
  margin: 0 0 22px;
}
.rb-bb-subline span { display: inline-block; margin: 0 6px; opacity: 0.35; }

/* Description */
.rb-bb-desc-wrap { margin-bottom: 28px; }
.rb-bb-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.62;
  color: var(--rb-fg);
  margin: 0;
}
.rb-bb-desc + .rb-bb-desc { margin-top: 14px; }
.rb-bb-desc-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rb-bb-readmore {
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rb-fg);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  padding: 12px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rb-bb-readmore:hover { color: var(--rb-red); }
.rb-bb-readmore svg { transition: transform 200ms var(--ease-out); }
.rb-bb-readmore.expanded svg { transform: rotate(180deg); }

/* Selector rows */
.rb-bb-row { margin-bottom: 24px; }
.rb-bb-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}
.rb-bb-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rb-fg);
}
.rb-bb-row-value {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--rb-gray-500);
}
.rb-bb-row-value strong { color: var(--rb-fg); font-weight: 700; }

/* Strength chips */
.rb-bb-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.rb-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  min-height: 46px;
  border-radius: 999px;
  border: 1.5px solid var(--color-border);
  background: #fff;
  color: var(--rb-fg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
  transition: all 180ms var(--ease-out);
  position: relative;
}
.rb-chip:hover { border-color: var(--rb-fg); transform: translateY(-1px); }
.rb-chip.active {
  background: var(--rb-red);
  color: #fff;
  border-color: var(--rb-red);
  box-shadow: 0 4px 12px -4px rgba(161, 26, 30, 0.45);
}

/* Size pills (card-like) */
.rb-size-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.rb-size-grid[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
.rb-size {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 14px 8px 12px;
  cursor: pointer;
  text-align: center;
  transition: all 180ms var(--ease-out);
  position: relative;
}
.rb-size:hover { border-color: var(--rb-fg); transform: translateY(-2px); }
.rb-size.active {
  border-color: var(--rb-red);
  background: var(--rb-red-tint);
  box-shadow: 0 4px 12px -4px rgba(161, 26, 30, 0.25);
}
.rb-size-count {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 18px;
  color: var(--rb-fg);
  line-height: 1;
  letter-spacing: -0.01em;
}
.rb-size.active .rb-size-count { color: var(--rb-red); }
.rb-size-unit {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--rb-gray-500);
  margin-top: 4px;
}
.rb-size-tag {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rb-success);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 3px;
  white-space: nowrap;
}

/* Purchase options card */
.rb-purchase {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.rb-popt {
  position: relative;
  border-radius: 12px;
  border: 1.5px solid var(--color-border);
  padding: 18px 16px;
  cursor: pointer;
  background: #fff;
  transition: all 180ms var(--ease-out);
}
.rb-popt:hover { border-color: var(--rb-fg); }
.rb-popt.selected {
  background: var(--rb-bg);
  border-color: var(--rb-red);
  box-shadow: 0 2px 12px -6px rgba(161, 26, 30, 0.25);
}
.rb-popt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.rb-popt-radio {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  position: relative;
  background: #fff;
  transition: border-color 160ms var(--ease-out);
}
.rb-popt.selected .rb-popt-radio { border-color: var(--rb-red); }
.rb-popt.selected .rb-popt-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--rb-red);
  border-radius: 999px;
}
.rb-popt-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  color: var(--rb-fg);
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.rb-popt-price-wrap {
  text-align: right;
  white-space: nowrap;
}
.rb-popt-price {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 17px;
  color: var(--rb-fg);
  line-height: 1;
}
.rb-popt-strike {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--rb-gray-500);
  text-decoration: line-through;
  margin-bottom: 3px;
}
.rb-popt-expanded {
  margin-top: 14px;
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rb-popt-freq-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--rb-fg);
}
.rb-popt-freq-select {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--rb-fg);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
}
.rb-popt-feats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.rb-popt-feat {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--rb-fg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rb-popt-feat svg { color: var(--rb-success); flex-shrink: 0; }

.rb-save-badge {
  display: inline-block;
  background: var(--rb-success);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  line-height: 1;
  padding: 5px 9px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

/* Quantity + Add to cart */
.rb-bb-cta-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 14px;
}
.rb-qty {
  display: inline-flex;
  align-items: stretch;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  padding: 0;
  overflow: hidden;
  height: 54px;
}
.rb-qty button {
  width: 52px;
  background: transparent;
  border: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  color: var(--rb-fg);
  cursor: pointer;
  transition: background 160ms;
}
.rb-qty button:hover { background: var(--rb-bg); }
.rb-qty .v {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 0 6px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
}

.rb-add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--rb-red);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 32px;
  height: 54px;
  cursor: pointer;
  transition: all 180ms var(--ease-out);
  box-shadow: 0 8px 24px -10px rgba(161, 26, 30, 0.55);
  position: relative;
  overflow: hidden;
}
.rb-add-to-cart:hover { background: var(--rb-red-hover); transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(161, 26, 30, 0.65); }
.rb-add-to-cart:active { transform: translateY(0) scale(0.99); }
.rb-add-to-cart .price-pill {
  background: rgba(255, 255, 255, 0.18);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Payment + shipping reassurance */
.rb-bb-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--rb-fg);
  margin-bottom: 20px;
  padding: 10px 0;
}
.rb-bb-pay strong { font-weight: 800; }
.rb-bb-pay .pay-brand {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--rb-fg);
}

/* Reassurance strip */
.rb-bb-reassure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px 0 8px;
  border-top: 1px solid var(--color-border);
}
.rb-bb-reassure-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.35;
  color: var(--rb-fg);
}
.rb-bb-reassure-item svg { color: var(--rb-red); flex-shrink: 0; }
.rb-bb-reassure-item strong {
  display: block;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.rb-bb-reassure-item .s {
  font-weight: 400;
  font-size: 11px;
  color: var(--rb-gray-500);
}

/* ============================================================
   FOOTER
   ============================================================ */
.rb-footer {
  background: var(--rb-red);
  color: #fff;
  padding: 72px 28px 32px;
  margin-bottom: 0;
}
.rb-footer-inner {
  max-width: var(--container-xl);
  margin: 0 auto;
}
.rb-footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 64px;
  padding-bottom: 48px;
}
.rb-footer-brand img {
  height: 56px;
  /* Invert to white on red background */
  filter: brightness(0) invert(1);
  margin-bottom: 18px;
}
.rb-footer-brand p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 280px;
  margin: 0;
}
.rb-footer h5 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 20px;
}
.rb-footer-nav ul,
.rb-footer-trust-list,
.rb-footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Align nav column with the trust column (which has an h5) */
.rb-footer-nav { padding-top: 33px; }
.rb-footer-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms var(--ease-out);
}
.rb-footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rb-footer-trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}
.rb-footer-trust-list svg { flex-shrink: 0; color: #fff; }

.rb-footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0 0 28px;
}

.rb-footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.rb-footer-copy {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}
.rb-footer-legal {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px 22px;
  justify-content: center;
}
.rb-footer-legal a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 160ms var(--ease-out);
}
.rb-footer-legal a:hover { color: #fff; }

.rb-footer-pay {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rb-pay-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-right: 4px;
}
.rb-pay-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 4px;
  min-width: 38px;
}

@media (max-width: 900px) {
  .rb-footer { padding: 56px 20px 24px; }
  .rb-footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 36px;
  }
  .rb-footer-nav { padding-top: 0; }
  .rb-footer-bottom {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }
  .rb-footer-copy { white-space: normal; }
  .rb-footer-legal { justify-content: center; }
  .rb-footer-pay { justify-content: center; flex-wrap: wrap; }
}

/* Pad bottom so the sticky mobile cart never overlaps the footer */
@media (max-width: 768px) {
  .rb-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */
.rb-reviews {
  background: #fff;
  padding: 96px 28px;
  border-top: 1px solid var(--color-border);
}
.rb-reviews-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.rb-reviews-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 36px);
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--rb-fg);
  margin: 0 0 48px;
}

/* Star color */
.rb-rstars {
  color: var(--rb-gold);
  letter-spacing: 2px;
  line-height: 1;
  white-space: nowrap;
}

/* Summary row */
.rb-reviews-summary {
  display: grid;
  grid-template-columns: 1fr auto 1.4fr auto 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
}
.rb-rsum-divider {
  width: 1px;
  height: 80px;
  background: var(--color-border);
  justify-self: center;
}
.rb-rsum-avg {
  display: flex; flex-direction: column;
  gap: 8px; align-items: center;
}
.rb-rsum-num { line-height: 1; }
.rb-rsum-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--rb-fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.rb-rsum-link:hover { color: var(--rb-red); }
.rb-rsum-based {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--rb-gray-500);
}

.rb-rsum-hist {
  display: flex; flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 360px;
  justify-self: center;
}
.rb-rsum-row {
  display: grid;
  grid-template-columns: auto 1fr 48px;
  gap: 14px;
  align-items: center;
}
.rb-rsum-bar {
  height: 8px;
  background: var(--rb-paper);
  border-radius: 999px;
  overflow: hidden;
}
.rb-rsum-bar-fill {
  height: 100%;
  background: var(--rb-red);
  border-radius: 999px;
  transition: width 400ms var(--ease-out);
}
.rb-rsum-count {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--rb-gray-500);
  text-align: right;
}

.rb-rsum-cta { justify-self: end; }
.rb-write-review {
  background: var(--rb-red);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 14px 26px;
  cursor: pointer;
  transition: all 180ms var(--ease-out);
  box-shadow: 0 6px 18px -8px rgba(161, 26, 30, 0.4);
}
.rb-write-review:hover {
  background: var(--rb-red-hover);
  transform: translateY(-1px);
}

/* Sort */
.rb-reviews-sort {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex; justify-content: flex-start;
}
.rb-sort-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rb-red);
  padding: 4px 0;
}
.rb-sort-btn:hover { color: var(--rb-red-hover); }

/* Review rows */
.rb-review-list { padding-top: 8px; }
.rb-review-row {
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex; flex-direction: column; gap: 14px;
}
.rb-review-meta {
  display: flex; align-items: center; gap: 10px;
}
.rb-review-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--rb-fg);
}
.rb-review-verified {
  background: var(--rb-red);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.rb-review-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: var(--rb-fg);
  margin: 0;
  max-width: 900px;
}

.rb-review-more {
  display: flex; justify-content: center;
  padding-top: 36px;
}
.rb-load-more {
  background: transparent;
  border: 1.5px solid var(--rb-fg);
  color: var(--rb-fg);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 32px;
  cursor: pointer;
  transition: all 180ms var(--ease-out);
}
.rb-load-more:hover {
  background: var(--rb-fg);
  color: #fff;
}

@media (max-width: 900px) {
  .rb-reviews { padding: 64px 20px; }
  .rb-reviews-title { margin-bottom: 32px; }
  .rb-reviews-summary {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 20px 0;
  }
  .rb-rsum-divider { display: none; }
  .rb-rsum-hist { max-width: 100%; }
  .rb-rsum-cta { justify-self: stretch; }
  .rb-write-review { width: 100%; padding: 16px 24px; }
  .rb-review-row { padding: 22px 0; }
}

/* ============================================================
   FAQs
   ============================================================ */
.rb-faq {
  background: var(--rb-bg);
  padding: 96px 28px;
}
.rb-faq-inner {
  max-width: 880px;
  margin: 0 auto;
}
.rb-faq-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: center;
  color: var(--rb-fg);
  margin: 0 0 28px;
}
.rb-faq-divider {
  width: 64px;
  height: 3px;
  background: var(--rb-red);
  margin: 0 auto 48px;
  border-radius: 999px;
}
.rb-faq-list {
  border-top: 1px solid var(--color-border);
}
.rb-faq-item {
  border-bottom: 1px solid var(--color-border);
}
.rb-faq-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 28px 8px;
  gap: 24px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--rb-fg);
  text-align: left;
  transition: color 160ms var(--ease-out);
}
.rb-faq-head:hover { color: var(--rb-red); }
.rb-faq-head svg {
  color: var(--rb-fg);
  flex-shrink: 0;
  transition: transform 280ms var(--ease-out), color 160ms var(--ease-out);
}
.rb-faq-head:hover svg { color: var(--rb-red); }
.rb-faq-item.open .rb-faq-head svg { transform: rotate(180deg); color: var(--rb-red); }
.rb-faq-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease-out);
}
.rb-faq-item.open .rb-faq-body-wrap { grid-template-rows: 1fr; }
.rb-faq-body {
  overflow: hidden;
}
.rb-faq-item.open .rb-faq-body { padding: 0 8px 28px; }
.rb-faq-body p {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: var(--rb-fg);
  max-width: 760px;
}

@media (max-width: 768px) {
  .rb-faq { padding: 64px 20px; }
  .rb-faq-divider { margin-bottom: 32px; }
  .rb-faq-head { padding: 22px 4px; }
  .rb-faq-item.open .rb-faq-body { padding: 0 4px 22px; }
}

/* ============================================================
   KEY BENEFITS SECTION
   ============================================================ */
.rb-benefits {
  background: var(--rb-paper);
  padding: 80px 28px;
}
.rb-benefits-inner {
  max-width: var(--container-lg);
  margin: 0 auto;
}
.rb-benefits-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--rb-fg);
  margin: 0 0 56px;
}
.rb-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.rb-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 0 12px;
}
.rb-benefit-circle {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  border: 1.5px solid var(--rb-fg);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rb-red);
  transition: transform 280ms var(--ease-out), background 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.rb-benefit:hover .rb-benefit-circle {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 16px 28px -16px rgba(161, 26, 30, 0.35);
}
.rb-benefit-label {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rb-fg);
  line-height: 1.2;
}
.rb-benefit-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.55;
  color: var(--rb-gray-500);
  max-width: 220px;
}

@media (max-width: 768px) {
  .rb-benefits { padding: 56px 20px; }
  .rb-benefits-title { margin-bottom: 40px; }
  .rb-benefits-grid { grid-template-columns: 1fr; gap: 36px; }
  .rb-benefit-circle { width: 84px; height: 84px; }
}

/* ============================================================
   DETAIL ACCORDION (Product Details / Supplement Facts / Safety / COA)
   ============================================================ */
.rb-detail-acc {
  margin-top: 28px;
  border-top: 1px solid var(--color-border);
}
.rb-detail-item {
  border-bottom: 1px solid var(--color-border);
}
.rb-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 22px 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--rb-fg);
  text-align: left;
}
.rb-detail-head:hover { color: var(--rb-red); }
.rb-detail-head .lh {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.rb-detail-head > svg:last-child {
  color: var(--rb-fg);
  transition: transform 240ms var(--ease-out);
  flex-shrink: 0;
}
.rb-detail-item.open .rb-detail-head > svg:last-child {
  transform: rotate(180deg);
}
.rb-detail-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms var(--ease-out);
}
.rb-detail-item.open .rb-detail-body-wrap {
  grid-template-rows: 1fr;
}
.rb-detail-body {
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--rb-fg);
}
.rb-detail-item.open .rb-detail-body {
  padding: 0 4px 22px;
}
.rb-detail-body p { margin: 0 0 12px; }
.rb-detail-body p:last-child { margin-bottom: 0; }
.rb-detail-body ul {
  margin: 0; padding-left: 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.rb-detail-link {
  color: var(--rb-red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.rb-detail-link:hover { color: var(--rb-red-hover); }

/* ============================================================
   MOBILE STICKY ADD-TO-CART
   ============================================================ */
.rb-sticky-cart {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--color-border);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: none;
  gap: 12px;
  align-items: center;
  transform: translateY(120%);
  transition: transform 300ms var(--ease-out);
  box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.18);
}
.rb-sticky-cart.show { transform: translateY(0); }
.rb-sticky-cart .pimg {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--rb-bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rb-sticky-cart .pimg img { max-height: 38px; }
.rb-sticky-cart .meta { flex: 1; min-width: 0; }
.rb-sticky-cart .t {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  color: var(--rb-fg);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rb-sticky-cart .v {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--rb-gray-500);
}
.rb-sticky-cart .price {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
  color: var(--rb-fg);
  margin-right: 4px;
}
.rb-sticky-cart .rb-add-to-cart {
  padding: 0 18px;
  height: 44px;
  font-size: 13px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .rb-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px 20px 120px;
  }
  .rb-gallery { position: static; }
  .rb-gallery-main { min-height: 420px; padding: 20px; }
  .rb-gallery-main img { max-height: 380px; }
  .rb-gallery-thumbs { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 768px) {
  .rb-header-inner {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
  }
  .rb-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .rb-brand img { height: 34px; }
  .rb-nav { display: none; }
  .rb-utility {
    margin-left: auto;
    gap: 4px;
  }
  .rb-utility a[aria-label="Account"] { display: none; }
  .rb-mobile-toggle {
    display: inline-flex;
    background: none; border: 0; cursor: pointer;
    padding: 8px;
    color: var(--rb-fg);
    flex-shrink: 0;
  }
  .rb-announce {
    font-size: 11px;
    letter-spacing: 0.14em;
    padding: 9px 12px;
  }

  .rb-bb-title { font-size: 28px; }
  .rb-bb-row { margin-bottom: 20px; }

  .rb-size-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .rb-size-grid[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
  .rb-size { padding: 12px 4px 10px; }
  .rb-size-count { font-size: 16px; }
  .rb-size-unit { font-size: 10px; }

  .rb-bb-reassure { grid-template-columns: 1fr; gap: 12px; }
  .rb-bb-reassure-item { padding: 6px 0; }

  .rb-sticky-cart { display: flex; }

  .rb-gallery-main { min-height: 360px; }
  .rb-gallery-main img { max-height: 320px; }
  .rb-gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .rb-gallery-thumb:nth-child(n+5) { display: none; }

  .rb-bb-cta-row {
    grid-template-columns: 1fr;
  }
  .rb-qty { width: fit-content; margin: 0 auto; }
}

@media (max-width: 480px) {
  .rb-hero { padding: 16px 14px 130px; }
  .rb-utility { gap: 4px; }
}

/* ============================================================
   Cart Drawer
   ============================================================ */

.rb-cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
}
.rb-cart-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.rb-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: var(--rb-bg);
  z-index: var(--z-modal);
  transform: translateX(100%);
  transition: transform 320ms var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px -8px rgba(0, 0, 0, 0.18);
}
.rb-cart-drawer.open {
  transform: translateX(0);
}

.rb-cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.rb-cart-drawer-title {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--rb-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.rb-cart-drawer-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--rb-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
}
.rb-cart-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-3);
  background: transparent;
  color: var(--rb-dark);
  cursor: pointer;
  transition: background 150ms var(--ease-out), border-color 150ms var(--ease-out);
}
.rb-cart-drawer-close:hover {
  background: var(--color-bg-subtle);
  border-color: var(--color-border-strong);
}

.rb-cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rb-cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 0;
  color: var(--color-muted);
  font-family: var(--font-ui);
  font-size: 14px;
}

.rb-cart-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-4);
}
.rb-cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.rb-cart-item-name {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  color: var(--rb-dark);
}
.rb-cart-item-variant {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--color-muted);
}
.rb-cart-item-price {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--rb-dark);
  margin-top: 6px;
}
.rb-cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.rb-qty-sm {
  height: 32px !important;
  min-width: 88px !important;
  border-radius: var(--radius-3) !important;
}
.rb-qty-sm button {
  width: 28px !important;
  font-size: 15px !important;
}
.rb-qty-sm .v {
  font-size: 13px !important;
}
.rb-cart-item-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2);
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  transition: color 150ms, border-color 150ms, background 150ms;
}
.rb-cart-item-remove:hover {
  color: var(--rb-red);
  border-color: var(--rb-red);
  background: var(--rb-red-tint, #fdf2f2);
}

.rb-cart-drawer-foot {
  padding: 20px 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}
.rb-cart-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  color: var(--rb-dark);
}
.rb-checkout-btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: var(--rb-red);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-3);
  transition: opacity 180ms var(--ease-out);
}
.rb-checkout-btn:hover {
  opacity: 0.85;
}
.rb-checkout-btn:active {
  opacity: 0.7;
}
