:root {
  --emerald-950: #022C22;
  --emerald-900: #064E3B;
  --emerald-800: #065F46;
  --emerald-700: #047857;
  --emerald-50: #ECFDF5;
  --amber-600: #D97706;
  --amber-500: #F59E0B;
  --amber-50: #FFFBEB;
  --ivory: #FAF9F6;
  --stone-100: #F3F2EE;
  --stone-200: #E5E2DC;
  --stone-300: #D1CEC5;
  --ink: #0F172A;
  --ink-700: #1E293B;
  --ink-600: #334155;
  --white: #FFFFFF;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: var(--ivory);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: "JetBrains Mono", "Consolas", monospace; font-variant-numeric: tabular-nums; }
.serif { font-family: "Georgia", "Times New Roman", serif; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Top Compliance Bar */
.compliance-bar {
  background: var(--emerald-950);
  color: #F8FAFC;
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 0;
  border-bottom: 2px solid var(--amber-600);
}
.compliance-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 18px;
}
.compliance-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(217, 119, 6, 0.22);
  border: 1px solid var(--amber-500);
  color: #FEF3C7;
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
}

/* Main Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--stone-200);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}
.brand-crest {
  width: 46px;
  height: 46px;
  background: var(--emerald-900);
  color: var(--amber-500);
  border: 2px solid var(--amber-600);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Georgia", serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.brand-text strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
  color: var(--emerald-900);
  line-height: 1.15;
}
.brand-text span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-600);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-700);
  font-weight: 700;
  font-size: 13.5px;
  padding: 7px 11px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--emerald-50);
  color: var(--emerald-900);
}
.basket-btn {
  background: var(--emerald-900);
  color: var(--white);
  border: none;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.basket-count {
  background: var(--amber-600);
  color: var(--white);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 12px;
}

/* Hero Section */
.hero-wrap {
  background: linear-gradient(135deg, #FFFFFF 0%, #F1F6F3 100%);
  border-bottom: 1px solid var(--stone-200);
  padding: 36px 0 42px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.92fr;
  gap: 32px;
  align-items: center;
}
.heritage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-50);
  border: 1.5px solid var(--amber-600);
  color: #92400E;
  font-size: 12.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 14px;
}
.hero-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.12;
  color: var(--emerald-950);
  margin-bottom: 14px;
  letter-spacing: -0.6px;
}
.hero-sub {
  font-size: 16.5px;
  color: var(--ink-700);
  margin-bottom: 20px;
  font-weight: 500;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.btn-primary {
  display: inline-block;
  background: var(--emerald-900);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 8px;
  border: 2px solid var(--emerald-900);
}
.btn-secondary {
  display: inline-block;
  background: var(--white);
  color: var(--emerald-900);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 8px;
  border: 2px solid var(--emerald-900);
}
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.kpi-card {
  background: var(--white);
  border: 1px solid var(--stone-300);
  border-top: 3px solid var(--emerald-700);
  border-radius: 8px;
  padding: 12px 14px;
}
.kpi-val {
  font-size: 21px;
  font-weight: 900;
  color: var(--emerald-900);
  line-height: 1.2;
}
.kpi-lbl {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-600);
  margin-top: 3px;
}
.hero-visual {
  background: var(--white);
  border: 1px solid var(--stone-300);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 12px 28px rgba(6, 78, 59, 0.08);
}
.hero-visual img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.hero-caption {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-700);
}

/* Sections */
.section { padding: 48px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--stone-200); border-bottom: 1px solid var(--stone-200); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--emerald-950);
  letter-spacing: -0.3px;
}
.section-head p {
  font-size: 15px;
  color: var(--ink-600);
  font-weight: 600;
}

/* Product Grid */
.sku-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.sku-card {
  background: var(--white);
  border: 1.5px solid var(--stone-200);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}
.sku-img-wrap {
  position: relative;
  height: 230px;
  background: var(--stone-100);
  overflow: hidden;
}
.sku-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
  display: block;
}
.sku-grade {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--emerald-900);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}
.sku-stock {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--emerald-900);
  border: 1px solid var(--emerald-700);
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
}
.sku-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.sku-code { font-size: 12px; font-weight: 700; color: var(--amber-600); margin-bottom: 4px; }
.sku-title { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.sku-variant { font-size: 13.5px; font-weight: 700; color: var(--ink-600); margin: 4px 0 8px; }
.sku-spec { font-size: 13px; color: var(--ink-700); margin-bottom: 12px; }
.sku-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.badge-chip {
  font-size: 11.5px;
  font-weight: 700;
  background: var(--emerald-50);
  color: var(--emerald-900);
  border: 1px solid #A7F3D0;
  padding: 3px 8px;
  border-radius: 5px;
}
.sku-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--stone-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price-main { font-size: 24px; font-weight: 900; color: var(--emerald-900); }
.price-rrp { font-size: 12.5px; color: var(--ink-600); text-decoration: line-through; margin-left: 6px; }
.add-btn {
  background: var(--emerald-900);
  color: var(--white);
  border: none;
  padding: 9px 15px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}
.add-btn:hover { background: var(--emerald-800); }

/* Facility & Verification Cards */
.photo-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.photo-card {
  background: var(--white);
  border: 1px solid var(--stone-300);
  border-radius: 10px;
  overflow: hidden;
}
.photo-card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
}
.photo-card .cap {
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.photo-card .sub {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-600);
  margin-top: 3px;
}

/* Info Cards & Tables */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.panel {
  background: var(--white);
  border: 1.5px solid var(--stone-200);
  border-radius: 12px;
  padding: 22px;
}
.panel h3 { font-size: 19px; font-weight: 800; color: var(--emerald-900); margin-bottom: 10px; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data-table th, table.data-table td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--stone-200);
}
table.data-table th {
  background: var(--emerald-900);
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
}

/* Trustpilot Banner */
.tp-hero {
  background: #002E23;
  color: var(--white);
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
}
.tp-stars { display: inline-flex; gap: 4px; margin: 8px 0; }
.tp-star-box {
  background: #00B67A;
  color: #FFFFFF;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  border-radius: 3px;
}
.review-card {
  background: var(--white);
  border: 1.5px solid var(--stone-200);
  border-radius: 10px;
  padding: 18px;
}
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  background: var(--emerald-950);
  color: #E2E8F0;
  padding: 42px 0 28px;
  margin-top: 24px;
  border-top: 4px solid var(--amber-600);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 26px;
  margin-bottom: 26px;
}
.footer-grid h4 { color: #FDE68A; font-size: 14px; font-weight: 800; margin-bottom: 10px; text-transform: uppercase; }
.footer-grid p, .footer-grid li { font-size: 13.5px; line-height: 1.65; list-style: none; }
.footer-grid a { color: #F8FAFC; text-decoration: none; font-weight: 600; }
.footer-grid a:hover { text-decoration: underline; color: #FDE68A; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-top: 18px;
  font-size: 12.5px;
  color: #CBD5E1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Modal Basket Drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(2,44,34,0.45);
  display: none; align-items: center; justify-content: flex-end; z-index: 60;
}
.drawer-backdrop.open { display: flex; }
.drawer-panel {
  width: 390px; max-width: 92vw; height: 100%; background: var(--white);
  padding: 24px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: -8px 0 30px rgba(0,0,0,0.2);
}

@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; padding: 10px 0; }
  .nav-links { flex-wrap: wrap; }
  .hero-grid, .sku-grid, .photo-grid-4, .footer-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 30px; }
}
