/* EmaRob Certified Mobile V4 — Light Editorial Palette */
:root {
  --alabaster: #F8FAFC;
  --stone-50: #F1F5F9;
  --stone-200: #E2E8F0;
  --stone-300: #CBD5E1;
  --charcoal: #1E293B;
  --burgundy-dark: #2D161D;
  --crimson: #991B1B;
  --crimson-dark: #7F1D1D;
  --crimson-soft: #FEF2F2;
  --copper: #9A3412;
  --copper-soft: #FFF7ED;
  --ink: #0F172A;
  --ink-700: #334155;
  --ink-600: #475569;
  --white: #FFFFFF;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: auto; }
body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: var(--alabaster);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: "JetBrains Mono", "Consolas", monospace; font-variant-numeric: tabular-nums; }
.serif { font-family: "Georgia", "Cambria", "Times New Roman", serif; }
.container { max-width: 1340px; margin: 0 auto; padding: 0 26px; }

/* Top Compliance Bar */
.compliance-bar {
  background: var(--charcoal);
  color: #F8FAFC;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2.5px solid var(--crimson);
}
.compliance-inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.compliance-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(153, 27, 27, 0.34);
  border: 1px solid #FCA5A5;
  color: #FEF2F2;
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11.5px;
  white-space: nowrap;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1.5px solid var(--stone-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 14px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-crest {
  width: 40px;
  height: 40px;
  background: var(--charcoal);
  color: #F8FAFC;
  border: 2px solid var(--crimson);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Georgia", serif;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.brand-text strong {
  display: block;
  font-family: "Georgia", serif;
  font-size: 17.5px;
  font-weight: 900;
  color: var(--charcoal);
  line-height: 1.15;
}
.brand-text span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-600);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: nowrap;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-700);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 9.5px;
  border-radius: 6px;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--crimson-soft);
  color: var(--crimson);
}
.basket-btn {
  background: var(--crimson);
  color: var(--white);
  border: none;
  padding: 7px 13px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  margin-left: 4px;
}
.basket-count {
  background: var(--charcoal);
  color: var(--white);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
}

/* Home Above-the-Fold Editorial Hero + 4 Verified Cards */
.hero-editorial {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  padding: 16px 0 210px;
  border-bottom: 1.5px solid var(--stone-200);
}
.hero-top-grid {
  display: grid;
  grid-template-columns: 1.38fr 0.82fr;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 14px;
}
.heritage-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--crimson-soft);
  border: 1px solid #FECACA;
  border-left: 4px solid var(--crimson);
  color: var(--crimson-dark);
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  margin-bottom: 9px;
}
.hero-title {
  font-family: "Georgia", serif;
  font-size: 31px;
  font-weight: 900;
  line-height: 1.13;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: -0.4px;
}
.hero-sub {
  font-size: 13.8px;
  color: var(--ink-700);
  margin-bottom: 12px;
  line-height: 1.46;
}
.kpi-header-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.kpi-card {
  background: var(--white);
  border: 1px solid var(--stone-300);
  border-top: 3px solid var(--crimson);
  border-radius: 7px;
  padding: 9px 11px;
}
.kpi-val {
  font-size: 18px;
  font-weight: 900;
  color: var(--charcoal);
  line-height: 1.15;
}
.kpi-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-600);
  margin-top: 2px;
}
.hero-visual {
  background: var(--white);
  border: 1px solid var(--stone-300);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-visual img {
  width: 100%;
  height: 222px;
  object-fit: cover;
  border-radius: 7px;
  display: block;
}
.hero-caption {
  margin-top: 7px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-700);
}
.home-sku-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 9px;
}
.home-sku-bar h2 {
  font-family: "Georgia", serif;
  font-size: 19px;
  font-weight: 900;
  color: var(--charcoal);
}
.home-sku-bar a {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--crimson);
  text-decoration: none;
}
.grid-4-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

/* SKU Cards */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.col-card {
  background: var(--white);
  border: 1.5px solid var(--stone-200);
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(30, 41, 59, 0.04);
}
.col-img-wrap {
  position: relative;
  height: 116px;
  background: var(--stone-50);
  overflow: hidden;
}
.col-img-wrap.compact {
  height: 110px;
}
.col-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sku-grade {
  position: absolute;
  top: 7px;
  left: 7px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}
.sku-stock {
  position: absolute;
  top: 7px;
  right: 7px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--crimson);
  border: 1px solid #FCA5A5;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}
.col-body {
  padding: 9px 12px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sku-code { font-size: 10.5px; font-weight: 700; color: var(--crimson); margin-bottom: 1px; }
.sku-title { font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.sku-variant { font-size: 11.5px; font-weight: 600; color: var(--ink-600); margin: 2px 0 6px; }
.sku-badges { display: flex; flex-wrap: nowrap; gap: 4px; margin-bottom: 7px; overflow: hidden; }
.badge-chip {
  font-size: 10px;
  font-weight: 700;
  background: var(--stone-50);
  color: var(--charcoal);
  border: 1px solid var(--stone-300);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.sku-foot {
  margin-top: auto;
  padding-top: 7px;
  border-top: 1px solid var(--stone-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price-main { font-size: 18px; font-weight: 900; color: var(--charcoal); }
.price-rrp { font-size: 11px; color: var(--ink-600); text-decoration: line-through; margin-left: 4px; }
.add-btn {
  background: var(--crimson);
  color: var(--white);
  border: none;
  padding: 6px 11px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 11.5px;
  cursor: pointer;
}
.add-btn:hover { background: var(--crimson-dark); }

/* General Sections & Components */
.section { padding: 32px 0; }
.section-compact { padding: 16px 0 42px; }
.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: 14px;
}
.section-head h1, .section-head h2 {
  font-family: "Georgia", serif;
  font-size: 25px;
  font-weight: 900;
  color: var(--charcoal);
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.section-head p {
  font-size: 13px;
  color: var(--ink-600);
  font-weight: 600;
  margin-top: 3px;
}
.btn-primary {
  display: inline-block;
  background: var(--crimson);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 9px 15px;
  border-radius: 6px;
  border: 1.5px solid var(--crimson);
  white-space: nowrap;
}
.btn-secondary {
  display: inline-block;
  background: var(--white);
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 9px 15px;
  border-radius: 6px;
  border: 1.5px solid var(--charcoal);
  white-space: nowrap;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.panel {
  background: var(--white);
  border: 1.5px solid var(--stone-200);
  border-radius: 10px;
  padding: 16px 18px;
}
.panel h3 { font-family: "Georgia", serif; font-size: 17px; font-weight: 800; color: var(--charcoal); margin-bottom: 8px; }
.std-card {
  background: var(--white);
  border: 1.5px solid var(--stone-200);
  border-left: 4px solid var(--crimson);
  border-radius: 8px;
  padding: 16px 18px;
}
.std-card h3 { font-family: "Georgia", serif; font-size: 15.5px; font-weight: 800; color: var(--charcoal); margin-bottom: 5px; }
.std-card p { font-size: 13px; color: var(--ink-700); line-height: 1.48; }

table.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data-table th, table.data-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--stone-200);
}
table.data-table th {
  background: var(--charcoal);
  color: var(--white);
  font-weight: 800;
  font-size: 12px;
}

/* Trustpilot & Editorial Banners */
.tp-hero {
  background: linear-gradient(135deg, #1E293B 0%, #2D161D 100%);
  color: var(--white);
  border-bottom: 3px solid var(--crimson);
  border-radius: 10px;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
}
.tp-stars { display: inline-flex; gap: 3px; align-items: center; }
.tp-star-box {
  background: #00B67A;
  color: #FFFFFF;
  width: 21px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12.5px;
  border-radius: 3px;
}
.review-card {
  background: var(--white);
  border: 1.5px solid var(--stone-200);
  border-radius: 9px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.review-title { font-size: 14.5px; font-weight: 800; color: var(--ink); margin-bottom: 4px; line-height: 1.25; }
.review-copy { font-size: 12.5px; color: var(--ink-700); line-height: 1.44; margin-bottom: 9px; }
.review-meta {
  margin-top: auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--crimson);
  border-top: 1px solid var(--stone-200);
  padding-top: 6px;
}

/* Facility Cards */
.photo-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.photo-card {
  background: var(--white);
  border: 1px solid var(--stone-300);
  border-radius: 9px;
  overflow: hidden;
}
.photo-card img { width: 100%; height: 165px; object-fit: cover; display: block; }
.photo-card .cap { padding: 10px 12px; font-size: 13px; font-weight: 700; color: var(--ink); }
.photo-card .sub { font-size: 11.5px; font-weight: 600; color: var(--ink-600); margin-top: 2px; }

/* Telemetry Tiles */
.tele-box {
  background: var(--alabaster);
  border: 1px solid var(--stone-200);
  border-left: 3.5px solid var(--crimson);
  border-radius: 7px;
  padding: 9px 12px;
  margin-bottom: 9px;
}
.tele-box:last-child { margin-bottom: 0; }
.tele-k { font-size: 10.5px; font-weight: 800; text-transform: uppercase; color: var(--crimson); letter-spacing: 0.4px; }
.tele-v { font-size: 13.2px; font-weight: 800; color: var(--charcoal); margin-top: 2px; }
.tele-s { font-size: 11.8px; color: var(--ink-600); margin-top: 2px; }

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: #E2E8F0;
  padding: 32px 0 22px;
  margin-top: 24px;
  border-top: 4px solid var(--crimson);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 22px;
  margin-bottom: 18px;
}
.footer-grid h4 { color: #FCA5A5; font-size: 12.5px; font-weight: 800; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-grid p, .footer-grid li { font-size: 12.6px; line-height: 1.58; list-style: none; }
.footer-grid a { color: #F8FAFC; text-decoration: none; font-weight: 600; }
.footer-grid a:hover { text-decoration: underline; color: #FECACA; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-top: 14px;
  font-size: 11.8px;
  color: #CBD5E1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Order Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  display: none;
  justify-content: flex-end;
  z-index: 90;
}
.drawer-backdrop.open { display: flex; }
.drawer-panel {
  width: 390px;
  max-width: 92vw;
  background: var(--white);
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
