/* ===== ROOT VARIABLES ===== */
:root {
  --bg: #F0F7F4;
  --primary-text: #1A2E28;
  --section-white: #FFFFFF;
  --section-alt: #EAF3F0;
  --accent: #1A7A5E;
  --accent-light: #D1EDE6;
  --accent-hover: #145F49;
  --trust-bg: #1B3A4B;
  --trust-text: #E8F4F8;
  --tab-active: #1A7A5E;
  --tab-inactive: #5A8A80;
  --font: 'Inter', sans-serif;
  --max-w: 1100px;
  --section-pad: 80px;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,.12);
  --transition: .25s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--primary-text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
s { text-decoration: line-through; }
a:hover { color: var(--accent-hover); }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ===== UTILITY ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: var(--section-pad) 0; }
.bg-white { background: var(--section-white); }
.bg-alt { background: var(--section-alt); }
.bg-dark { background: var(--trust-bg); color: var(--trust-text); }
.label-sm {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}
.btn-secondary {
  background: #fff;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-secondary:hover {
  background: var(--accent-light);
  color: var(--accent-hover);
}

/* ===== BUILD FLAGS ===== */
.build-flag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--accent);
}

/* ===== STICKY NAV ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #E7E5E4;
  padding: 0 24px;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.navbar__logo {
  display: flex;
  align-items: center;
}
.navbar__logo img {
  display: block;
  height: 31px;
  width: auto;
}
.navbar__product {
  font-size: 15px;
  font-weight: 600;
  color: var(--tab-inactive);
}
.navbar__cta .btn {
  padding: 10px 20px;
  font-size: 14px;
}
@media (max-width: 768px) {
  .navbar__product { display: none; }
}

/* ===== HERO ===== */
.hero { padding: var(--section-pad) 0 60px; }
.hero .container {
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero__content { flex: 0 0 58%; }
.hero__visual { flex: 1; }
.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero__sub {
  font-size: 18px;
  line-height: 1.6;
  color: #57534E;
  margin-bottom: 24px;
}
.hero .btn { margin-bottom: 32px; }
.hero__product-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
  object-fit: contain;
}
.hero__image-placeholder {
  background: var(--accent-light);
  border: 2px dashed var(--accent);
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  padding: 24px;
}
/* Trust pills */
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .hero .container { flex-direction: column-reverse; gap: 32px; }
  .hero__content { flex: none; width: 100%; }
  .hero h1 { font-size: 32px; }
}

/* ===== SOCIAL PROOF ===== */
.social-proof { padding: var(--section-pad) 0; }
.social-proof .placeholder-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 32px;
}
.social-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.social-proof__card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 32px 24px;
}
.social-proof__card .quote-mark {
  font-size: 36px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
}
.social-proof__card .quote-text {
  font-style: italic;
  color: #D6D3D1;
  margin-bottom: 16px;
  min-height: 48px;
}
.social-proof__card .attribution {
  font-size: 13px;
  color: #A8A29E;
}
.testimonial-disclaimer {
  text-align: center;
  font-size: 11px;
  color: #6B6560;
  margin-top: 24px;
}
@media (max-width: 768px) {
  .social-proof__grid { grid-template-columns: 1fr; }
}

/* ===== VALUE PROPS ===== */
.value-props { padding: var(--section-pad) 0; }
.value-props h2 { text-align: center; margin-bottom: 48px; }
.value-props__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.vp-card {
  background: #fff;
  border: 1px solid #E7E5E4;
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.vp-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.vp-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}
.vp-card__icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vp-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.vp-card p {
  color: #57534E;
  margin-bottom: 16px;
}
.vp-card .citation {
  font-size: 12px;
  color: var(--tab-inactive);
  background: var(--section-alt);
  padding: 6px 10px;
  border-radius: 4px;
  display: inline-block;
}
@media (max-width: 768px) {
  .value-props__grid { grid-template-columns: 1fr; }
}

/* ===== PERSONA TABS ===== */
.persona-tabs { padding: var(--section-pad) 0; }
.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #E7E5E4;
  margin-bottom: 40px;
  overflow-x: auto;
}
.tab-btn {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--tab-inactive);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.tab-btn:hover { color: var(--accent); }
.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
}
.tab-panel .tab-body {
  color: #57534E;
  margin-bottom: 24px;
  max-width: 800px;
}
.tab-panel .proof-list {
  margin-bottom: 32px;
}
.tab-panel .proof-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #44403C;
}
.tab-panel .proof-list li svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  margin-top: 2px;
}

/* ===== COMPLEMENTARY PRODUCTS ===== */
.complementary { padding: var(--section-pad) 0; }
.complementary h2 { text-align: center; margin-bottom: 48px; }
.complementary__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.comp-card {
  background: #fff;
  border: 1px solid #E7E5E4;
  border-radius: var(--radius);
  padding: 28px;
}
.comp-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.comp-card .sku { font-size: 13px; color: var(--tab-inactive); margin-bottom: 12px; }
.comp-card p { color: #57534E; font-size: 15px; margin-bottom: 16px; }
.comp-card a {
  font-weight: 600;
  font-size: 14px;
}
@media (max-width: 768px) {
  .complementary__grid { grid-template-columns: 1fr; }
}

/* ===== SPECS TABLE ===== */
.specs { padding: var(--section-pad) 0; }
.specs h2 { text-align: center; margin-bottom: 48px; }
.specs-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #E7E5E4;
}
.specs-table th,
.specs-table td {
  text-align: left;
  padding: 14px 20px;
  font-size: 15px;
}
.specs-table thead th {
  background: var(--trust-bg);
  color: var(--trust-text);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.specs-table tbody tr:nth-child(even) { background: var(--section-alt); }
.specs-table tbody tr:nth-child(odd) { background: #fff; }
.specs-table .source-col {
  font-size: 13px;
  color: var(--tab-inactive);
}

/* ===== FAQ ===== */
.faq { padding: var(--section-pad) 0; }
.faq h2 { text-align: center; margin-bottom: 48px; }
.faq-item {
  border-bottom: 1px solid #E7E5E4;
}
.faq-item:first-child { border-top: 1px solid #E7E5E4; }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  color: var(--primary-text);
  cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-question .toggle-icon {
  font-size: 24px;
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform var(--transition);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: #57534E;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 600px;
  padding-bottom: 20px;
}
.faq-item.open .toggle-icon {
  transform: rotate(45deg);
}

/* ===== IVD REGULATORY ===== */
.ivd-section { padding: var(--section-pad) 0; }
.ivd-section h2 { text-align: center; margin-bottom: 48px; }

/* Intended use box */
.intended-use-box {
  border-left: 4px solid var(--accent);
  background: var(--accent-light);
  padding: 28px 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 32px;
}
.intended-use-box .ifu-quote {
  font-style: italic;
  font-size: 18px;
  color: var(--accent-hover);
  margin-bottom: 16px;
}
.intended-use-box p { color: #57534E; }

/* GHS section */
.ghs-section {
  border: 2px solid #DC2626;
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 32px;
}
.ghs-signal {
  font-size: 32px;
  font-weight: 700;
  color: #DC2626;
  margin-bottom: 20px;
}
.ghs-pictograms {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}
.ghs-diamond {
  width: 80px;
  height: 80px;
}
.ghs-diamond svg {
  width: 80px;
  height: 80px;
}
.hazard-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.hazard-table th,
.hazard-table td {
  padding: 10px 14px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid #E7E5E4;
}
.hazard-table thead th {
  background: var(--section-alt);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
}
.ppe-row {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 16px;
}
.ppe-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}
.ppe-item svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}
.disposal-row {
  font-size: 14px;
  color: #57534E;
  margin-bottom: 8px;
}

/* Procedure timeline */
.procedure-timeline {
  position: relative;
  padding-left: 40px;
  margin-bottom: 32px;
}
.procedure-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent-light);
}
.procedure-step {
  position: relative;
  margin-bottom: 24px;
  padding-left: 16px;
}
.procedure-step::before {
  content: attr(data-step);
  position: absolute;
  left: -40px;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.procedure-step p { color: #44403C; }

/* Limitations */
.limitations-list {
  border-left: 4px solid var(--accent);
  padding-left: 24px;
  margin-bottom: 32px;
}
.limitations-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: #57534E;
}
.limitations-list li::before {
  content: '\26A0';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* QC table */
.qc-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
  border: 1px solid #E7E5E4;
  border-radius: var(--radius);
  overflow: hidden;
}
.qc-table th,
.qc-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
}
.qc-table thead th {
  background: var(--trust-bg);
  color: var(--trust-text);
  font-weight: 600;
}
.qc-table tbody tr:nth-child(even) { background: var(--section-alt); }

/* ===== CTA ZONE ===== */
.cta-zone { padding: var(--section-pad) 0; }
.cta-zone h2 {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
}
.cta-zone .cta-sub {
  text-align: center;
  color: #A8A29E;
  margin-bottom: 48px;
  font-size: 18px;
}
.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.cta-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.cta-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.cta-card p { font-size: 14px; color: #A8A29E; margin-bottom: 16px; }
.cta-card .btn { width: 100%; }
.cta-card .btn-secondary {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.cta-card .btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}
.btn-booking {
  display: block;
  width: 100%;
  background: #fff;
  color: var(--accent);
  border: 2px solid #fff;
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}
.btn-booking:hover {
  background: var(--accent-light);
  color: var(--accent-hover);
  box-shadow: 0 6px 24px rgba(0,0,0,0.22);
  transform: translateY(-1px);
}
.cta-zone .baa-note {
  text-align: center;
  font-size: 13px;
  color: #5A8A80;
  margin-top: 32px;
}
@media (max-width: 768px) {
  .cta-grid { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.site-footer { padding: 60px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px;
  color: #A8A29E;
}
.footer-col p,
.footer-col a {
  font-size: 14px;
  color: #D6D3D1;
  line-height: 1.7;
}
.footer-col a:hover { color: #fff; }
.footer-col ul li { margin-bottom: 8px; }
.footer-ivd {
  font-size: 12px;
  color: #5A8A80;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  line-height: 1.7;
}
.footer-copyright {
  font-size: 13px;
  color: #5A8A80;
  margin-top: 16px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== EMAIL POPUP ===== */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.6);
  align-items: center;
  justify-content: center;
}
.popup-overlay.visible { display: flex; }
.popup-box {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
}
.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 24px;
  color: #5A8A80;
  cursor: pointer;
  line-height: 1;
}
.popup-close:hover { color: var(--primary-text); }
.popup-box h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-text);
}
.popup-box .popup-sub {
  color: #57534E;
  margin-bottom: 24px;
  font-size: 15px;
}
.popup-box select,
.popup-box input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #D6D3D1;
  border-radius: 6px;
  font-size: 15px;
  font-family: var(--font);
  margin-bottom: 12px;
  color: var(--primary-text);
}
.popup-box .btn { width: 100%; margin-bottom: 12px; }
.popup-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  cursor: pointer;
}
.popup-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
}
.popup-consent span {
  font-size: 12px;
  color: #78716C;
  line-height: 1.5;
}
.popup-fine-print {
  font-size: 12px;
  color: #A8A29E;
  text-align: center;
}

/* ===== CHATBOT ===== */
.chatbot-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 8000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  transition: background var(--transition);
}
.chatbot-toggle:hover { background: var(--accent-hover); }
.chatbot-toggle svg { width: 28px; height: 28px; fill: #fff; }
.chatbot-panel {
  display: none;
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 8001;
  width: 320px;
  max-height: 480px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  flex-direction: column;
  overflow: hidden;
}
.chatbot-panel.open { display: flex; }
.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--accent);
  color: #fff;
}
.chatbot-header h4 { font-size: 15px; font-weight: 600; }
.chatbot-header .chatbot-close-btn {
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.chatbot-msg {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #44403C;
}
.chatbot-msg.bot { background: var(--section-alt); padding: 12px; border-radius: 8px; }
.chatbot-btn-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.chatbot-btn-group button {
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  transition: background var(--transition);
}
.chatbot-btn-group button:hover { background: var(--accent); color: #fff; }
.chatbot-form { padding: 12px 16px; }
.chatbot-form input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #D6D3D1;
  border-radius: 6px;
  font-size: 13px;
  font-family: var(--font);
  margin-bottom: 6px;
}
.chatbot-form .btn { width: 100%; padding: 10px; font-size: 13px; }

/* ===== FLOATING CART ===== */
.cart-toggle {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 7999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  transition: background var(--transition);
}
.cart-toggle:hover { background: var(--accent-hover); }
.cart-toggle svg { width: 24px; height: 24px; fill: #fff; }
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #DC2626;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9998;
  width: 360px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0,0,0,.15);
  flex-direction: column;
}
.cart-drawer.open { display: flex; }
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #E7E5E4;
}
.cart-drawer-header h3 { font-size: 18px; font-weight: 600; }
.cart-drawer-close {
  font-size: 24px;
  color: #5A8A80;
  cursor: pointer;
}
.cart-items { flex: 1; overflow-y: auto; padding: 20px; }
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #F5F5F4;
}
.cart-item-info h4 { font-size: 14px; font-weight: 600; }
.cart-item-info p { font-size: 13px; color: #5A8A80; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-item-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid #D6D3D1;
  border-radius: 4px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-qty span { font-size: 14px; font-weight: 600; }
.cart-item-remove {
  font-size: 12px;
  color: #DC2626;
  cursor: pointer;
  margin-top: 4px;
}
.cart-footer {
  padding: 20px;
  border-top: 1px solid #E7E5E4;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
.cart-footer .btn { width: 100%; }
.cart-empty {
  text-align: center;
  padding: 40px;
  color: #A8A29E;
}

/* ===== RESULTS TABLE ===== */
.results-table {
  width: 100%;
  max-width: 700px;
  border-collapse: collapse;
  border: 1px solid #E7E5E4;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
}
.results-table th,
.results-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
}
.results-table thead th {
  background: var(--trust-bg);
  color: var(--trust-text);
  font-weight: 600;
}
.results-table tbody tr:nth-child(even) { background: var(--section-alt); }

/* ===== HEADINGS ===== */
h2 { font-size: 32px; font-weight: 600; line-height: 1.2; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }

/* ===== QUOTE TOGGLE ===== */
.quote-toggle {
  position: fixed;
  bottom: 160px;
  right: 24px;
  z-index: 7999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--trust-bg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  transition: background var(--transition);
}
.quote-toggle:hover { background: #0f2535; }
.quote-toggle svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
}

/* ===== QUOTE DRAWER ===== */
.quote-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9997;
  width: 360px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0,0,0,.15);
  flex-direction: column;
}
.quote-drawer.open { display: flex; }
.quote-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #E7E5E4;
  flex-shrink: 0;
}
.quote-drawer-header h3 { font-size: 18px; font-weight: 600; }
.quote-drawer-close {
  font-size: 24px;
  color: #5A8A80;
  cursor: pointer;
  line-height: 1;
}
.quote-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.quote-step-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.quote-step-hint {
  font-size: 13px;
  color: #78716C;
  margin-bottom: 16px;
  line-height: 1.5;
}
.quote-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #F5F5F4;
}
.quote-product-info {
  flex: 1;
  min-width: 0;
}
.quote-product-info strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quote-product-info span {
  display: block;
  font-size: 12px;
  color: #78716C;
}
.quote-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.quote-qty-ctrl button {
  width: 28px;
  height: 28px;
  border: 1px solid #D6D3D1;
  border-radius: 4px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fff;
}
.quote-qty-ctrl button:hover { border-color: var(--accent); color: var(--accent); }
.quote-qty-ctrl input {
  width: 44px;
  text-align: center;
  border: 1px solid #D6D3D1;
  border-radius: 4px;
  padding: 4px 0;
  font-size: 14px;
  font-weight: 600;
}
.quote-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.quote-fields input,
.quote-fields textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #D6D3D1;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #1C1917;
  background: #fff;
}
.quote-fields input:focus,
.quote-fields textarea:focus { outline: none; border-color: var(--accent); }
.quote-fields textarea { resize: vertical; }
.quote-submit-btn { margin-top: 16px; }

/* ===== CART CHECKOUT PANELS ===== */
.cart-checkout-panel {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.cart-back-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cart-back-btn:hover { text-decoration: underline; }
.cart-field {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #D6D3D1;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #1C1917;
  background: #fff;
  margin-bottom: 10px;
}
.cart-field:focus { outline: none; border-color: var(--accent); }
textarea.cart-field { resize: vertical; }

/* ===== BOOKING POPUP ===== */
.booking-box {
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
}
.booking-auth-box {
  max-width: 420px;
}
.booking-field {
  margin-bottom: 10px;
}
.booking-field input,
.booking-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #D6D3D1;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #1C1917;
  background: #fff;
  transition: border-color 0.15s;
}
.booking-field input:focus,
.booking-field textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.booking-field textarea { resize: vertical; }
.booking-field-hint {
  font-size: 12px;
  color: #78716C;
  margin: 5px 0 0 2px;
  line-height: 1.4;
}
.booking-calendar {
  background: #F5F4F2;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 4px;
}
.booking-label {
  font-size: 13px;
  font-weight: 600;
  color: #44403C;
  margin: 0 0 8px;
}
.booking-tz {
  font-weight: 400;
  color: #78716C;
}
.booking-day-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.booking-day-tab {
  background: #fff;
  border: 1px solid #D6D3D1;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  font-family: inherit;
  color: #44403C;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
}
.booking-day-tab:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.booking-day-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}
.booking-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.booking-slot {
  background: #fff;
  border: 1px solid #D6D3D1;
  border-radius: 6px;
  padding: 8px 4px;
  font-size: 13px;
  font-family: inherit;
  color: #44403C;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.booking-slot:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.booking-slot.selected {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}
.booking-selection {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  background: rgba(43,90,60,0.07);
  border-radius: 6px;
  padding: 8px 12px;
  margin: 10px 0 6px;
  text-align: center;
}
.booking-error {
  font-size: 13px;
  color: #B91C1C;
  min-height: 18px;
  margin: 6px 0 4px;
}
.booking-success {
  text-align: center;
  padding: 24px 0 8px;
}
.booking-success-icon {
  font-size: 48px;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 12px;
}
#booking-auth-code {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #D6D3D1;
  border-radius: 6px;
  padding: 12px;
  font-family: inherit;
  color: #1C1917;
  background: #fff;
  transition: border-color 0.15s;
}
#booking-auth-code:focus {
  outline: none;
  border-color: var(--brand);
}
@media (max-width: 480px) {
  .booking-slots { grid-template-columns: repeat(2, 1fr); }
  .booking-day-tabs { gap: 4px; }
  .booking-day-tab { font-size: 12px; padding: 5px 8px; }
}

/* ===== PRINT ===== */
@media print {
  .navbar, .cart-toggle, .cart-drawer, .chatbot-toggle, .chatbot-panel, .popup-overlay { display: none !important; }
}
