/* ==========================================================================
   gro3systems — Executive Modern Retail Design System
   Theme: Warm Alabaster, Crisp White, Deep Forest Emerald & Rich Charcoal
   Responsive across Mobile (375px), Tablet (768px), and Desktop (1440px)
   ========================================================================== */

:root {
  --bg-page: #f6f5f0;
  --bg-surface: #ffffff;
  --bg-subtle: #efede6;
  --bg-charcoal: #14191c;
  --bg-charcoal-soft: #1e262b;

  --text-primary: #14191c;
  --text-secondary: #3f484e;
  --text-muted: #626c72;
  --text-inverse: #ffffff;
  --text-inverse-muted: #c7d0d5;

  --brand: #0f5c56;
  --brand-hover: #0a4540;
  --brand-soft: #eaf4f3;
  --brand-border: #b8dbd7;

  --warm-accent: #b45309;
  --warm-soft: #fef3c7;

  --success-text: #065f46;
  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;

  --danger-text: #991b1b;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;

  --border: #e3e0d7;
  --border-strong: #cbc6ba;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-xs: 0 1px 2px rgba(20, 25, 28, 0.05);
  --shadow-sm: 0 3px 10px rgba(20, 25, 28, 0.06);
  --shadow-md: 0 10px 26px rgba(20, 25, 28, 0.09);
  --shadow-lg: 0 22px 48px rgba(20, 25, 28, 0.18);

  --container: 1260px;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Inter", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-page);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* ==========================================================================
   1. Sticky Top Mandatory Independent Retailer Notice Bar
   ========================================================================== */

.top-disclaimer {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: var(--bg-charcoal);
  color: var(--text-inverse);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  line-height: 1.45;
}

.top-disclaimer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
}

.top-disclaimer p {
  margin: 0;
  color: #e4e8ea;
}

.top-disclaimer strong {
  color: #7dd3c8;
  font-weight: 600;
}

.top-disclaimer a {
  color: #7dd3c8;
  white-space: nowrap;
  font-weight: 600;
  text-decoration: underline;
}

.top-disclaimer a:hover {
  color: #ffffff;
}

/* ==========================================================================
   2. Site Header & Navigation
   ========================================================================== */

.site-header {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.header-utility {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.header-utility-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 6px 0;
}

.utility-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}

.utility-contact a {
  color: var(--text-secondary);
  font-weight: 500;
}

.utility-contact a:hover {
  color: var(--brand);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo:hover {
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, #093d39 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(15, 92, 86, 0.25);
}

.brand-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  background-color: var(--brand-soft);
  color: var(--brand);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  background-color: var(--brand);
  color: var(--text-inverse);
  border: 1px solid var(--brand);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.12s ease;
}

.cart-trigger:hover {
  background-color: var(--brand-hover);
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background-color: #ffffff;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 800;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-nav-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background-color: var(--bg-surface);
  padding: 12px 20px 16px;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-drawer a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: none;
}

.mobile-nav-drawer a:hover,
.mobile-nav-drawer a.active {
  background-color: var(--brand-soft);
  color: var(--brand);
}

/* ==========================================================================
   3. Executive Editorial Hero & Department Strip
   ========================================================================== */

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f6f5f0 100%);
  border-bottom: 1px solid var(--border);
  padding: 46px 0 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  background-color: var(--brand-soft);
  border: 1px solid var(--brand-border);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--text-primary);
}

.hero-lead {
  margin: 0 0 26px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 56ch;
  line-height: 1.65;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-metrics strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-md);
}

.hero-visual-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.hero-visual-caption {
  padding: 16px 20px;
  background-color: var(--bg-surface);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

.hero-visual-caption strong {
  color: var(--text-primary);
}

.hero-visual-caption span {
  color: var(--text-muted);
}

.trust-strip {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.trust-item span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Department Quick-Jump Strip */
.dept-strip {
  padding: 34px 0 6px;
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dept-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.dept-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.dept-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.dept-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.dept-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--brand-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
  line-height: 1.25;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

.btn-primary:hover {
  background-color: var(--brand-hover);
  border-color: var(--brand-hover);
}

.btn-dark {
  background-color: var(--bg-charcoal);
  color: #ffffff;
  border-color: var(--bg-charcoal);
}

.btn-dark:hover {
  background-color: var(--bg-charcoal-soft);
}

.btn-outline {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background-color: var(--bg-subtle);
  border-color: var(--text-muted);
}

.btn-sm {
  padding: 8px 13px;
  font-size: 0.84rem;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   5. Catalog Controls & Product Grid
   ========================================================================== */

.catalog-section {
  padding: 36px 0 68px;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-header h2 {
  margin: 0 0 6px;
  font-size: 1.7rem;
  letter-spacing: -0.025em;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.catalog-toolbar {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-xs);
}

.toolbar-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.search-box {
  position: relative;
  flex: 1 1 300px;
  max-width: 500px;
}

.search-box svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 10px 14px 10px 42px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--bg-page);
  font-size: 0.92rem;
}

.search-input:focus {
  background-color: var(--bg-surface);
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 92, 86, 0.14);
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.sort-select {
  padding: 9px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  font-size: 0.875rem;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-tab {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cat-tab:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.cat-tab.active {
  background-color: var(--bg-charcoal);
  border-color: var(--bg-charcoal);
  color: #ffffff;
}

.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-border);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--bg-subtle);
  overflow: hidden;
  cursor: pointer;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-cat-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background-color: rgba(20, 25, 28, 0.84);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.75rem;
}

.sku-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--text-muted);
  background-color: var(--bg-page);
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid var(--border);
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--success-text);
  background-color: var(--success-bg);
  border: 1px solid var(--success-border);
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 600;
}

.stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
}

.product-title {
  margin: 0 0 8px;
  font-size: 1.04rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text-primary);
}

.product-title button {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font-weight: inherit;
}

.product-title button:hover {
  color: var(--brand);
}

.product-desc {
  margin: 0 0 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.52;
  flex: 1;
}

.product-spec-line {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

.product-shipping-note {
  font-size: 0.78rem;
  color: var(--brand);
  font-weight: 600;
  text-align: right;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

/* ==========================================================================
   6. Product Detail Modal
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(20, 25, 28, 0.64);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  max-width: 920px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.modal-close:hover {
  background-color: var(--bg-subtle);
}

.modal-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  padding: 52px 28px 28px;
}

.modal-image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--bg-subtle);
  aspect-ratio: 4 / 3;
}

.modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-notice {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-page);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 18px;
  font-size: 0.86rem;
}

.specs-table th,
.specs-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.specs-table th {
  width: 40%;
  color: var(--text-muted);
  font-weight: 600;
  background-color: var(--bg-page);
}

.policy-summary-box {
  background-color: var(--brand-soft);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.policy-summary-box p {
  margin: 0 0 6px;
}

.policy-summary-box p:last-child {
  margin-bottom: 0;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
}

.qty-stepper button {
  width: 34px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.qty-stepper button:hover {
  background-color: var(--bg-subtle);
}

.qty-stepper span {
  min-width: 34px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ==========================================================================
   7. Slide-Out Shopping Cart Drawer
   ========================================================================== */

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 210;
  background-color: rgba(20, 25, 28, 0.56);
  display: none;
}

.cart-backdrop.open {
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 220;
  width: 100%;
  max-width: 430px;
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.22s ease;
}

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

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.cart-drawer-header h2 {
  margin: 0;
  font-size: 1.125rem;
}

.cart-shipping-bar {
  padding: 10px 20px;
  background-color: var(--brand-soft);
  border-bottom: 1px solid var(--brand-border);
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.cart-shipping-bar.qualified {
  background-color: var(--success-bg);
  border-bottom-color: var(--success-border);
  color: var(--success-text);
  font-weight: 600;
}

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

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.cart-item-title {
  margin: 0 0 3px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.cart-item-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.remove-item-btn {
  background: none;
  border: none;
  color: var(--danger-text);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px;
}

.remove-item-btn:hover {
  text-decoration: underline;
}

.cart-drawer-footer {
  border-top: 1px solid var(--border);
  padding: 18px 20px;
  background-color: var(--bg-page);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.summary-line.total {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-primary);
  padding-top: 10px;
  margin-top: 8px;
  border-top: 1px solid var(--border-strong);
  margin-bottom: 14px;
}

/* ==========================================================================
   8. Policy / Legal / Info Pages & Contact / Checkout Forms
   ========================================================================== */

.page-header {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 36px 0 30px;
}

.breadcrumb {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

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

.page-header h1 {
  margin: 0 0 8px;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  letter-spacing: -0.025em;
}

.page-header p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 72ch;
}

.page-content {
  padding: 38px 0 68px;
}

.prose-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px;
  max-width: 920px;
  box-shadow: var(--shadow-xs);
}

.prose-card h2 {
  margin: 28px 0 10px;
  font-size: 1.25rem;
  color: var(--text-primary);
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.prose-card h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.prose-card h3 {
  margin: 18px 0 8px;
  font-size: 1.02rem;
}

.prose-card p {
  margin: 0 0 14px;
  color: var(--text-secondary);
}

.prose-card ul, .prose-card ol {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--text-secondary);
}

.prose-card li {
  margin-bottom: 6px;
}

.callout-box {
  background-color: var(--bg-page);
  border-left: 4px solid var(--brand);
  padding: 16px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 18px 0;
}

.callout-box p:last-child {
  margin-bottom: 0;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 0.92rem;
}

.info-table th,
.info-table td {
  border: 1px solid var(--border);
  padding: 11px 14px;
  text-align: left;
}

.info-table th {
  background-color: var(--bg-subtle);
  font-weight: 700;
  color: var(--text-primary);
}

.two-col-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.card-panel {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-xs);
}

.card-panel h2 {
  margin: 0 0 18px;
  font-size: 1.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  font-size: 0.9375rem;
}

.form-control:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 92, 86, 0.14);
}

.form-control.error {
  border-color: #dc2626;
}

.field-error {
  font-size: 0.8rem;
  color: var(--danger-text);
  min-height: 1.1em;
}

.form-alert {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  margin-bottom: 18px;
  display: none;
}

.form-alert.show {
  display: block;
}

.form-alert.success {
  background-color: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-text);
}

.form-alert.error {
  background-color: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger-text);
}

.radio-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-bottom: 10px;
}

.radio-option.selected {
  border-color: var(--brand);
  background-color: var(--brand-soft);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 18px 0;
}

.checkbox-row input {
  margin-top: 4px;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.gateway-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 6px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 14px;
}

.order-confirmation-box {
  max-width: 760px;
  margin: 0 auto;
  background-color: var(--bg-surface);
  border: 1px solid var(--success-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}

.order-id-pill {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 700;
  background-color: var(--success-bg);
  color: var(--success-text);
  border: 1px solid var(--success-border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}

.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 240;
  background-color: var(--bg-charcoal);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   9. Footer (Mandatory Disclaimer + Full NAP + Policy Links)
   ========================================================================== */

.site-footer {
  background-color: var(--bg-charcoal);
  color: var(--text-inverse-muted);
  padding: 52px 0 30px;
  border-top: 4px solid var(--brand);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.15fr;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 12px;
}

.site-footer h3 {
  color: #ffffff;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--text-inverse-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-nap {
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-nap p {
  margin: 0 0 8px;
}

.footer-nap a {
  color: #7dd3c8;
}

.footer-disclaimer-box {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.83rem;
  line-height: 1.6;
  color: #d7dfe3;
}

.footer-disclaimer-box strong {
  color: #7dd3c8;
}

.footer-bottom {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  color: #8f9ba2;
}

.footer-privacy-btn {
  background: none;
  border: none;
  padding: 0;
  color: #7dd3c8;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.footer-privacy-btn:hover {
  color: #ffffff;
  text-decoration: underline;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pay-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e4e8ea;
}

.payment-badges-light .pay-pill {
  background-color: var(--bg-page);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}

/* Dedicated Product Landing Page (PDP) */
.pdp-shell {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xs);
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.pdp-gallery {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--bg-subtle);
  aspect-ratio: 4 / 3;
}

.pdp-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Privacy Choices / UET Consent Modal */
.privacy-toggle-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.privacy-toggle-row:last-of-type {
  border-bottom: none;
}

.product-title a {
  color: inherit;
  text-decoration: none;
}

.product-title a:hover {
  color: var(--brand);
  text-decoration: none;
}

/* ==========================================================================
   10. Responsive Breakpoints (Tablet 768px & Mobile 375px)
   ========================================================================== */

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust-grid,
  .dept-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .two-col-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .modal-body-grid {
    grid-template-columns: 1fr;
    padding: 48px 20px 20px;
  }
  .pdp-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pdp-shell {
    padding: 20px;
  }
  .prose-card {
    padding: 24px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 14px;
  }
  .product-grid,
  .trust-grid,
  .dept-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .top-disclaimer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 0.77rem;
  }
  .header-utility {
    display: none;
  }
  .header-main {
    gap: 10px;
    padding: 12px 0;
  }
  .brand-logo {
    font-size: 1.12rem;
    gap: 8px;
    min-width: 0;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .brand-sub {
    display: none;
  }
  .hero {
    padding: 32px 0 32px;
  }
  .cart-trigger {
    padding: 8px 11px;
    gap: 6px;
  }
  .cart-trigger .cart-label {
    display: none;
  }
}
