:root {
  --green: #3a7d44;
  --green-dark: #2a5f32;
  --green-light: #eaf4ec;
  --green-bright: #22c55e;
  --text: #1a1a18;
  --text-mid: #444440;
  --text-soft: #888880;
  --bg: #f6f7f4;
  --card: #ffffff;
  --border: #e4e4de;
  --sidebar-w: 240px;
  --ff-display: "Cormorant Garamond", Georgia, serif;
  --ff-body: "Jost", sans-serif;
}

.page-wrap {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--card);
  border-right: 1px solid var(--border);
  padding: 32px 0 40px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sidebar-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 0 24px;
  margin-bottom: 16px;
}

.sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.15s;
  position: relative;
}

.sidebar-nav li a .nav-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--bg);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.15s;
}

.sidebar-nav li a .nav-icon svg {
  width: 16px;
  height: 16px;
  color: var(--text-soft);
  transition: color 0.15s;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
  color: var(--green);
  border-left-color: var(--green-bright);
  background: var(--green-light);
}

.sidebar-nav li a:hover .nav-icon,
.sidebar-nav li a.active .nav-icon {
  background: rgba(34, 197, 94, 0.15);
}

.sidebar-nav li a:hover .nav-icon svg,
.sidebar-nav li a.active .nav-icon svg {
  color: var(--green);
}

.sidebar-help {
  margin: 24px 16px 0;
  background: var(--green);
  border-radius: 10px;
  padding: 18px 16px;
  color: #fff;
}

.sidebar-help p {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 12px;
}

.sidebar-help strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.btn-support {
  display: block;
  width: 100%;
  background: #fff;
  color: var(--green-dark);
  border: none;
  padding: 9px 14px;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-support:hover {
  background: #f0f0ec;
}

.main-content {
  flex: 1;
  padding: 48px 56px 80px;
  max-width: 820px;
}

.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.page-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
  flex-shrink: 0;
}

.page-title {
  font-family: var(--ff-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 14px;
}

.page-subtitle {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 20px;
  max-width: 540px;
  line-height: 1.7;
}

.page-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--text-soft);
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.page-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-meta svg {
  color: var(--green);
}

.section-block {
  margin-bottom: 52px;
  scroll-margin-top: 32px;
}

.section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.section-body {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.8;
}

.section-body p {
  margin-bottom: 12px;
}

.section-body ul {
  margin: 10px 0 12px 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-body ul li {
  padding-left: 18px;
  position: relative;
  font-size: 13.5px;
  color: var(--text-mid);
}

.section-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
}

.section-body blockquote {
  background: var(--green-light);
  border-left: 3px solid var(--green-bright);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 16px 0;
  font-style: italic;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}

.shipping-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.shipping-table th,
.shipping-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
}

.shipping-table th {
  background: var(--green-light);
  color: var(--text-mid);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.shipping-table td {
  border-top: 1px solid var(--border);
  color: var(--text-mid);
}

.shipping-table tr:nth-child(even) td {
  background-color: var(--bg);
}
/* ================================================================
   RESPONSIVE — Sidebar + Main Content Layout
   Paste at the bottom of your existing CSS file
   ================================================================ */

/* ── TABLET: ≤ 1100px ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .main-content {
    padding: 40px 36px 60px;
    max-width: 100%;
  }

  .page-title {
    font-size: 34px;
  }
}

/* ── SMALL TABLET: ≤ 900px ────────────────────────────────────── */
@media (max-width: 900px) {
  /* Stack layout: sidebar on top, content below */
  .page-wrap {
    flex-direction: column;
  }

  /* Sidebar becomes horizontal top bar */
  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid #e4e4de;
    padding: 16px 0 0;
    flex-direction: column;
    overflow-y: visible;
    overflow-x: auto;
  }

  .sidebar-label {
    padding: 0 16px;
    margin-bottom: 10px;
  }

  /* Nav scrolls horizontally on tablet */
  .sidebar-nav {
    display: flex;
    flex-direction: row;
    gap: 0;
    overflow-x: auto;
    padding: 0 16px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sidebar-nav::-webkit-scrollbar {
    display: none;
  }

  .sidebar-nav li {
    flex-shrink: 0;
  }

  .sidebar-nav li a {
    padding: 8px 14px;
    border-left: none;
    border-bottom: 3px solid transparent;
    border-radius: 8px 8px 0 0;
    white-space: nowrap;
    font-size: 12.5px;
  }

  .sidebar-nav li a:hover,
  .sidebar-nav li a.active {
    border-left-color: transparent;
    border-bottom-color: #22c55e;
  }

  /* Hide help widget on tablet — saves space */
  .sidebar-help {
    display: none;
  }

  .main-content {
    padding: 32px 24px 60px;
    max-width: 100%;
  }

  .page-title {
    font-size: 30px;
  }

  .page-subtitle {
    font-size: 13px;
    max-width: 100%;
  }

  .section-title {
    font-size: 21px;
  }

  /* Shipping table: allow horizontal scroll */
  .shipping-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}

/* ── MOBILE: ≤ 640px ──────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Sidebar nav: smaller text, tighter padding */
  .sidebar-nav li a {
    padding: 8px 10px;
    font-size: 12px;
    gap: 6px;
  }

  .sidebar-nav li a .nav-icon {
    width: 24px;
    height: 24px;
  }

  .sidebar-nav li a .nav-icon svg {
    width: 13px;
    height: 13px;
  }

  /* Main content */
  .main-content {
    padding: 24px 16px 48px;
  }

  /* Page header */
  .page-badge {
    font-size: 9px;
    padding: 3px 10px;
  }

  .page-title {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .page-subtitle {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .page-meta {
    gap: 10px;
    font-size: 11px;
    margin-bottom: 32px;
    padding-bottom: 24px;
  }

  /* Section blocks */
  .section-block {
    margin-bottom: 36px;
  }

  .section-num {
    width: 28px;
    height: 28px;
    font-size: 12px;
    border-radius: 7px;
  }

  .section-title {
    font-size: 19px;
  }

  .section-body {
    font-size: 13px;
  }

  .section-body ul li {
    font-size: 13px;
  }

  .section-body blockquote {
    padding: 12px 14px;
    font-size: 12.5px;
  }

  /* Shipping table: full scroll on mobile */
  .shipping-table th,
  .shipping-table td {
    padding: 10px 12px;
    font-size: 12px;
  }
}

/* ── SMALL MOBILE: ≤ 400px ────────────────────────────────────── */
@media (max-width: 400px) {
  .page-title {
    font-size: 22px;
  }
  .section-title {
    font-size: 17px;
  }
  .main-content {
    padding: 20px 14px 40px;
  }

  /* Stack page-meta vertically */
  .page-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  /* Nav icon hidden on very small screens — label only */
  .sidebar-nav li a .nav-icon {
    display: none;
  }
}
