/* RASTA White Storefront Design System - PRD v4.0 */
:root {
  --bg-page: #fbfbf9;
  --bg-card: #ffffff;
  --bg-alt: #f4f4f0;
  --text-main: #14171a;
  --text-muted: #536471;
  --text-light: #7b8b9a;
  --border-color: #e5e7eb;
  --border-light: #f0f2f5;
  --gold: #c59a3f;
  --gold-hover: #b08731;
  --gold-subtle: #fcf8ee;
  --gold-border: #eddcb5;
  --green-badge: #1b4d3e;
  --green-bg: #edf7f2;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --max-w: 1140px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-stack);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 1. Age Bar - Non-blocking inline banner (never fixed, never overlay) */
.age-bar {
  background: #111417;
  color: #f1f3f5;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.age-bar-content {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.age-bar-badge {
  background: var(--gold);
  color: #111;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 4px;
}

/* 2. Header */
.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 20px;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: #111;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.brand-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}

.age-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: #27272a;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  padding: 3px 8px;
  border-radius: 20px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-pill-link {
  background: var(--bg-alt);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

/* 3. Breadcrumb */
.breadcrumb-wrapper {
  max-width: var(--max-w);
  margin: 16px auto 0;
  padding: 0 20px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--text-light);
  gap: 8px;
}

.breadcrumb-list a {
  color: var(--text-muted);
}

.breadcrumb-list a:hover {
  color: var(--text-main);
  text-decoration: underline;
}

.breadcrumb-sep {
  opacity: 0.5;
}

/* 4. Product Hero (Two-column: square image | details) */
.product-main {
  max-width: var(--max-w);
  margin: 20px auto 40px;
  padding: 0 20px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 820px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.product-gallery {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.image-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f8f8f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge-overlay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 4px 10px;
  background: var(--green-bg);
  color: var(--green-badge);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
}

/* Product Details */
.product-details {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.product-descriptor {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #111;
  margin-bottom: 14px;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.price-main {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
}

.price-compare {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: line-through;
}

.save-badge {
  background: var(--gold-subtle);
  color: #8c6818;
  border: 1px solid var(--gold-border);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Options / Strain Selector */
.option-section {
  margin-bottom: 22px;
}

.option-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.strain-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.strain-chip {
  padding: 8px 14px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.strain-chip:hover {
  border-color: #a1a1aa;
}

.strain-chip.active {
  border-color: #111;
  background: #111;
  color: #fff;
}

/* Single Gold CTA */
.cta-wrapper {
  margin: 24px 0 20px;
}

.btn-gold-cta {
  display: block;
  width: 100%;
  background: var(--gold);
  color: #111;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(197, 154, 63, 0.35);
  transition: transform 0.15s ease, background-color 0.15s ease;
  cursor: pointer;
}

.btn-gold-cta:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.cta-subtext {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 8px;
}

/* Trust List */
.trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.trust-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #16a34a;
}

/* 5. Compliance Strip - verbatim region text */
.compliance-strip {
  background: #f4f4f0;
  border: 1px solid #e2e2dc;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-top: 24px;
  font-size: 0.775rem;
  line-height: 1.45;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 10px;
}

.compliance-icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

/* Below the Fold: Description & Details Accordions */
.product-below {
  max-width: var(--max-w);
  margin: 0 auto 60px;
  padding: 0 20px;
}

.details-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.section-heading {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #111;
}

.description-prose {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #374151;
  margin-bottom: 28px;
}

.accordions-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  overflow: hidden;
  transition: background 0.15s ease;
}

details[open] {
  background: var(--bg-card);
}

summary {
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #111;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-light);
  transition: transform 0.15s ease;
}

details[open] summary::after {
  content: "−";
}

.accordion-content {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #4b5563;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.specs-table td {
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--text-muted);
  width: 35%;
}

/* Footer & Real NAP */
.site-footer {
  background: #111417;
  color: #9ca3af;
  padding: 48px 20px 32px;
  border-top: 1px solid #23272d;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #9ca3af;
  line-height: 1.5;
  max-width: 380px;
  font-size: 0.8125rem;
}

.footer-col h4 {
  color: #f3f4f6;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #9ca3af;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-nap {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8125rem;
  color: #9ca3af;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #23272d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.75rem;
  color: #6b7280;
}
