/* ─── Breadcrumb ─── */
.breadcrumb-bar {
  border-bottom: 1px solid var(--border-light);
  background: var(--bg);
}

.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 80px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.breadcrumb-inner a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-inner a:hover { color: var(--fg); }

.breadcrumb-sep { color: var(--fg-subtle); }

.breadcrumb-current { color: var(--fg-subtle); }

/* ─── Product Section ─── */
.product-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 80px 100px;
}

.product-inner {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 80px;
  align-items: start;
}

/* ─── Product Visual Column ─── */
.product-visual-col {
  position: sticky;
  top: 80px;
}

.product-gummy-visual {
  position: relative;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  padding: 48px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-bottom: 2px;
}

.gummy-stack {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

.gummy {
  position: relative;
}

.gummy-1 { transform: rotate(-8deg) translateY(-8px); }
.gummy-2 { transform: rotate(3deg) translateY(-4px); }
.gummy-3 { transform: rotate(10deg) translateY(0px); }

.gummy-body {
  width: 72px;
  height: 72px;
  border-radius: 50% 50% 55% 55%;
  position: relative;
  overflow: hidden;
}

.gummy-1 .gummy-body { background: linear-gradient(135deg, #d4541e 0%, #e07828 50%, #c04020 100%); }
.gummy-2 .gummy-body { background: linear-gradient(135deg, #b83520 0%, #d04520 50%, #a03018 100%); }
.gummy-3 .gummy-body { background: linear-gradient(135deg, #e07828 0%, #d4541e 50%, #c84818 100%); }

.gummy-texture-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.gummy-1 .gummy-texture-dot:nth-child(1) { top: 20px; left: 18px; }
.gummy-1 .gummy-texture-dot:nth-child(2) { top: 38px; left: 32px; }
.gummy-1 .gummy-texture-dot:nth-child(3) { top: 52px; left: 22px; }

.gummy-2 .gummy-texture-dot:nth-child(1) { top: 16px; left: 28px; }
.gummy-2 .gummy-texture-dot:nth-child(2) { top: 36px; left: 20px; }
.gummy-2 .gummy-texture-dot:nth-child(3) { top: 48px; left: 38px; }

.gummy-3 .gummy-texture-dot:nth-child(1) { top: 22px; left: 30px; }
.gummy-3 .gummy-texture-dot:nth-child(2) { top: 42px; left: 18px; }
.gummy-3 .gummy-texture-dot:nth-child(3) { top: 28px; left: 42px; }

/* Product Label Card */
.product-label-card {
  width: 100%;
  max-width: 260px;
  border: 1px solid rgba(200, 151, 63, 0.3);
  padding: 20px;
  background: var(--bg-card);
  position: relative;
}

.product-label-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c8973f, #d4a84a);
}

.plc-brand {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
  margin-bottom: 6px;
}

.plc-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
  line-height: 1.2;
}

.plc-dose {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.3;
  margin-bottom: 6px;
}

.plc-count {
  font-size: 0.7rem;
  color: var(--fg-muted);
  font-weight: 500;
  margin-bottom: 12px;
}

.plc-batch {
  font-size: 0.6rem;
  color: var(--fg-subtle);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.plc-barcode {
  margin-bottom: 8px;
}

.plc-barcode-bars {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 28px;
}

.bar {
  width: 4px;
  background: var(--fg-muted);
  flex-shrink: 0;
}

.bar.narrow { width: 2px; }

.plc-servings {
  font-size: 0.65rem;
  color: var(--fg-subtle);
  margin-bottom: 4px;
}

.plc-thc {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.plc-21 {
  position: absolute;
  top: 20px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* Compliant Label Panel */
.product-label-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-top: none;
  padding: 24px 20px;
}

.plp-section { margin-bottom: 16px; }

.plp-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.plp-serving {
  font-size: 0.82rem;
  color: var(--fg);
  margin-bottom: 4px;
}

.plp-servings-note {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.plp-divider {
  height: 1px;
  background: var(--border-light);
  margin: 8px 0;
}

.plp-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 4px 0;
}

.plp-row > span:first-child { color: var(--fg-muted); }
.plp-row strong { color: var(--fg); font-weight: 600; }

.plp-ingredients {
  font-size: 0.72rem;
  color: var(--fg-subtle);
  line-height: 1.5;
  margin-bottom: 12px;
}

.plp-batch {
  font-size: 0.68rem;
  color: var(--fg-subtle);
  letter-spacing: 0.03em;
}

/* ─── Product Detail Column ─── */
.product-detail-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-header {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.product-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 12px;
}

.product-tagline {
  font-size: 1.1rem;
  color: var(--fg-muted);
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg);
}

/* Lab Verified Badge */
.lab-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  width: fit-content;
}

/* Add to Cart */
.product-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.qty-btn {
  width: 40px;
  height: 52px;
  border: none;
  background: transparent;
  color: var(--fg-muted);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--accent-dim);
  color: var(--accent);
}

.qty-value {
  width: 40px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  line-height: 52px;
}

.add-to-cart-btn {
  flex: 1;
  height: 52px;
  background: var(--accent);
  color: #1a1a18;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s ease;
}

.add-to-cart-btn:hover { background: #d4a84a; }

/* Cart Toast */
.cart-toast {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 32px;
  animation: toastIn 0.3s ease;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Product Section Body */
.product-section-body {
  padding: 28px 0;
  border-top: 1px solid var(--border-light);
}

.product-section-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}

.product-section-body p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Warning Box */
.product-warning-box {
  padding: 20px;
  border: 1px solid rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.05);
  margin: 8px 0 24px;
}

.pw-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ef4444;
  margin-bottom: 8px;
}

.product-warning-box p {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ─── COA Panel ─── */
.coa-panel {
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin: 8px 0 32px;
}

.coa-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  background: var(--accent-glow);
}

.coa-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.coa-panel-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 10px;
}

.coa-content {
  padding: 24px;
}

/* COA Document */
.coa-document {
  border: 1px solid var(--border-light);
  padding: 20px;
  background: var(--bg);
  font-family: 'DM Sans', monospace;
}

.coa-doc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.coa-doc-logo { display: flex; flex-direction: column; gap: 2px; }

.coa-lab-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: 0.05em;
}

.coa-lab-sub {
  font-size: 0.65rem;
  color: var(--fg-subtle);
  letter-spacing: 0.04em;
}

.coa-doc-id { text-align: right; }

.coa-doc-label {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-subtle);
  margin-bottom: 2px;
}

.coa-doc-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg-muted);
}

.coa-doc-divider {
  height: 1px;
  background: var(--border-light);
  margin: 12px 0;
}

.coa-doc-section { margin-bottom: 4px; }

.coa-doc-section-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}

.coa-doc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.coa-doc-field { display: flex; flex-direction: column; gap: 2px; }

.coa-doc-field-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-subtle);
}

.coa-doc-field-value {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* Potency Table */
.coa-potency-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-light);
}

.coa-potency-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 8px 12px;
  font-size: 0.78rem;
  border-bottom: 1px solid var(--border-light);
}

.coa-potency-row:last-child { border-bottom: none; }

.coa-potency-row span:first-child { color: var(--fg-muted); }

.coa-result-pass { color: var(--fg-muted); font-weight: 600; }

.coa-result-highlight { color: var(--accent); font-weight: 700; }

.coa-potency-header {
  background: var(--bg-card);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-subtle);
  font-weight: 600;
}

.coa-potency-total {
  background: var(--accent-glow);
  font-weight: 600;
}

/* Contaminant Grid */
.coa-contaminant-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.coa-cont-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.78rem;
}

.coa-cont-row:last-child { border-bottom: none; }

.coa-cont-row span:first-child { color: var(--fg-muted); }

.coa-pass {
  color: #10b981;
  font-weight: 600;
  font-size: 0.75rem;
}

/* COA Footer */
.coa-doc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  margin-top: 12px;
}

.coa-doc-footer-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.coa-doc-footer-left span {
  font-size: 0.7rem;
  color: var(--fg-subtle);
  font-weight: 500;
}

.coa-doc-verified {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

/* COA Actions */
.coa-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.coa-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  color: var(--fg-muted);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'DM Sans', sans-serif;
}

.coa-action-btn:hover {
  border-color: var(--border);
  color: var(--fg);
  background: var(--accent-glow);
}

.coa-action-btn-secondary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--fg-muted);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'DM Sans', sans-serif;
}

.coa-action-btn-secondary:hover {
  border-color: var(--border);
  color: var(--fg);
}

/* Transparency Statement */
.transparency-statement {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--accent-glow);
  border: 1px solid var(--border);
  margin: 8px 0;
}

.transparency-statement svg { flex-shrink: 0; margin-top: 2px; }

.transparency-statement div strong {
  display: block;
  font-size: 0.82rem;
  color: var(--fg);
  margin-bottom: 4px;
}

.transparency-statement div p,
.transparency-statement div { font-size: 0.82rem; color: var(--fg-muted); line-height: 1.5; }

/* ─── Cart Sidebar ─── */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-light);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.cart-sidebar.open { transform: translateX(0); }

.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 9, 0.6);
  z-index: 999;
}

.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}

.cart-close {
  background: none;
  border: none;
  color: var(--fg-muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}

.cart-close:hover { color: var(--fg); }

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

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--fg-subtle);
}

.cart-empty p { font-size: 0.85rem; }

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-info { flex: 1; }

.cart-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}

.cart-item-batch {
  font-size: 0.7rem;
  color: var(--fg-subtle);
}

.cart-item-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-item-qty {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 500;
}

.cart-item-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--fg-subtle);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 4px;
  transition: color 0.2s;
}

.cart-item-remove:hover { color: #ef4444; }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-light);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

.cart-note {
  font-size: 0.72rem;
  color: var(--fg-subtle);
  margin-bottom: 16px;
  line-height: 1.5;
}

.cart-checkout-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #1a1a18;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s ease;
}

.cart-checkout-btn:hover { background: #d4a84a; }

/* ─── Nav active state ─── */
.nav-active {
  color: var(--fg) !important;
  border-bottom: 1px solid var(--accent);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .breadcrumb-inner { padding: 12px 40px; }
  .product-section { padding: 40px; }
  .product-inner { grid-template-columns: 1fr; gap: 40px; }
  .product-visual-col { position: static; }
  .product-gummy-visual { padding: 32px; }
  .cart-sidebar { width: 100%; }
}

@media (max-width: 600px) {
  .breadcrumb-inner { padding: 10px 24px; }
  .product-section { padding: 24px; }
  .product-inner { gap: 32px; }
  .product-actions { flex-direction: column; }
  .add-to-cart-btn { width: 100%; }
  .coa-actions { flex-direction: column; }
}