/*  RESET & BASE  */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f5f7f5;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 1.6;
}

.header {
  background: #1f5c27;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.header-logo span {
  color: #6fcf78;
}

.header-badge {
  background: #fff;
  color: #1f5c27;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.page-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.toc-wrapper {
  width: 300px;
  flex-shrink: 0;
  position: sticky;
  top: 24px;
  height: fit-content;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid #dde8de;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  scrollbar-width: thin;
  scrollbar-color: #dde8de transparent;
}

.toc {
  padding: 20px 14px;
}

.toc-header {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #dde8de;
}

.toc-header-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.toc-icon {
  font-size: 17px;
}

.toc-header-top h2 {
  font-size: 14px;
  font-weight: 700;
  color: #1f5c27;
  flex: 1;
}

.toc-close {
  display: none;
  background: none;
  border: none;
  font-size: 16px;
  color: #999;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}

.toc-close:hover {
  background: #f0f0f0;
  color: #333;
}

.toc-back {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #2d7a36;
  text-decoration: none;
  padding: 4px 10px;
  border: 1.5px solid #dde8de;
  border-radius: 999px;
  transition: background 0.15s, border-color 0.15s;
}

.toc-back:hover {
  background: #f0f8f1;
  border-color: #2d7a36;
}

.toc-grid {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.toc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #444;
  border: 1.5px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.toc-item:hover {
  background: #f0f8f1;
  color: #1f5c27;
}

.toc-item.active {
  background: #1f5c27;
  color: #fff;
  border-color: #1f5c27;
}

.toc-num {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #dde8de;
  color: #1f5c27;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.toc-item:hover .toc-num {
  background: #2d7a36;
  color: #fff;
}

.toc-item.active .toc-num {
  background: #6fcf78;
  color: #1f5c27;
}

.toc-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.toc-sub {
  font-size: 11px;
  color: #888;
  margin-top: 1px;
}

.toc-item.active .toc-sub {
  color: rgba(255, 255, 255, 0.7);
}

.content {
  flex: 1;
  min-width: 0;
}

.steps-content {
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.hero {
  background: #2d7a36;
  color: #fff;
  padding: 48px 32px;
  text-align: center;
}

.hero h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  max-width: 480px;
  margin: 0 auto;
}

.step {
  background: #fff;
  border: 1px solid #dde8de;
  border-radius: 10px;
  margin-bottom: 28px;
  scroll-margin-top: 24px;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid #dde8de;
  background: #f8faf8;
  border-radius: 10px 10px 0 0;
}

.step-num {
  width: 36px;
  height: 36px;
  background: #1f5c27;
  color: #fff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
}

.step-sub {
  font-size: 12px;
  color: #666;
  margin-top: 1px;
}

.step-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}

.step-img {
  background: #f8faf8;
  border-right: 1px solid #dde8de;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.step-img img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.step-img.tall img {
  max-width: 240px;
  max-height: 460px;
}

.step-info {
  padding: 22px 24px;
}

.info-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2d7a36;
  margin-bottom: 6px;
}

.info-text {
  font-size: 13px;
  color: #333;
  line-height: 1.65;
  margin-bottom: 14px;
}

.steps-list {
  list-style: none;
  margin-bottom: 14px;
}

.steps-list li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: #333;
  padding: 5px 0;
  border-bottom: 1px solid #f0f0f0;
}

.steps-list li:last-child {
  border-bottom: none;
}

.steps-list li::before {
  content: '→';
  color: #2d7a36;
  font-weight: 600;
  flex-shrink: 0;
}

.tip {
  background: #f0f8f1;
  border-left: 3px solid #2d7a36;
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  font-size: 12px;
  color: #1f5c27;
  line-height: 1.6;
}

.tip strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.footer {
  background: #1f5c27;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 24px;
  font-size: 12px;
  line-height: 1.8;
}

.footer strong {
  color: #fff;
}

.toc-burger {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1f5c27;
  border: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 4px 16px rgba(31, 92, 39, 0.35);
  transition: background 0.15s, transform 0.15s;
}

.toc-burger:hover {
  background: #2d7a36;
  transform: scale(1.05);
}

.toc-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.toc-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.toc-burger.open span:nth-child(2) {
  opacity: 0;
}

.toc-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.toc-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 149;
  opacity: 0;
  transition: opacity 0.25s;
}

.toc-overlay.visible {
  opacity: 1;
}

/*  RESPONSIVE  */
@media (max-width: 1024px) {
  .page-wrapper {
    padding: 24px 16px 40px;
  }

  .toc-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    width: 280px;
    border-radius: 0;
    border: none;
    z-index: 150;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
  }

  .toc-wrapper.open {
    transform: translateX(0);
  }

  .toc-overlay {
    display: block;
  }

  .toc-burger {
    display: flex;
  }

  .toc-close {
    display: block;
  }

  .hero {
    padding: 32px 16px;
  }
}

@media (max-width: 680px) {
  .header {
    padding: 14px 16px;
  }

  .step-body {
    grid-template-columns: 1fr;
  }

  .step-img {
    border-right: none;
    border-bottom: 1px solid #dde8de;
  }

  .toc-wrapper {
    width: 100%;
    max-width: 300px;
  }

  .page-wrapper {
    padding: 16px 16px 40px;
  }
}

    .store-regions-wrap {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 24px;
    }

    .store-region-header {
      display: flex;
      align-items: center;
      gap: 8px;
      background: #1a3d1f;
      color: #fff;
      padding: 9px 13px;
      border-radius: 8px 8px 0 0;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.03em;
    }

    .store-tbl {
      width: 100%;
      border-collapse: collapse;
      border: 1px solid #d4e8d6;
      border-top: none;
      font-size: 12px;
    }

    .store-tbl thead tr { background: #e8f5ea; }

    .store-tbl thead th {
      padding: 7px 10px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #2d6a35;
      text-align: left;
      border-bottom: 1px solid #d4e8d6;
    }

    .store-tbl tbody tr { border-bottom: 1px solid #edf5ee; }
    .store-tbl tbody tr:last-child { border-bottom: none; }
    .store-tbl tbody tr:nth-child(even) td { background: #f9fdf9; }

    .store-tbl tbody td {
      padding: 8px 10px;
      vertical-align: top;
      color: #1a1a1a;
      line-height: 1.4;
    }

    .store-tbl .td-name { font-weight: 600; color: #1a3d1f; }
    .store-tbl .td-addr { font-size: 11px; color: #5a6a5c; }

    .store-hours-note {
      background: #e8f5ea;
      border-left: 3px solid #4aaa55;
      border-radius: 6px;
      padding: 10px 14px;
      font-size: 13px;
      color: #1a3d1f;
      margin-bottom: 24px;
    }

    .invoice-ref-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 11px;
      border: 1px solid #d4e8d6;
      overflow: hidden;
    }

    .invoice-ref-table thead tr { background: #1a3d1f; color: #fff; }

    .invoice-ref-table thead th {
      padding: 10px 13px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      text-align: left;
    }

    .invoice-ref-table tbody tr { border-bottom: 1px solid #e8f5ea; }
    .invoice-ref-table tbody tr:last-child { border-bottom: none; }
    .invoice-ref-table tbody tr:nth-child(even) td { background: #f4faf5; }

    .invoice-ref-table tbody td {
      padding: 10px 13px;
      vertical-align: top;
      color: #1a1a1a;
      line-height: 1.5;
    }

    .invoice-ref-table .td-field {
      font-weight: 700;
      color: #1a3d1f;
      background: #e8f5ea !important;
      font-size: 12px;
      white-space: nowrap;
    }

    .invoice-ref-table .opt-pill {
      display: inline-block;
      background: #fff;
      border: 1px solid #d4e8d6;
      color: #2d6a35;
      padding: 2px 9px;
      border-radius: 12px;
      font-size: 11px;
      font-weight: 600;
      margin: 2px 0;
    }

    .invoice-ref-table .td-desc { font-size: 11px; color: #5a6a5c; }
    .invoice-ref-table .td-opt-opt { color: #9aaf9c; font-size: 11px; font-style: italic; }


    @media (max-width: 768px) {

      .store-regions-wrap {
        grid-template-columns: 1fr;
      }

      .store-tbl {
        font-size: 11px;
      }

      .store-tbl thead th {
        font-size: 9px;
        padding: 6px 8px;
      }

      .store-tbl tbody td {
        padding: 7px 8px;
      }

      .invoice-ref-table thead th {
        font-size: 10px;
        padding: 8px 10px;
      }

      .invoice-ref-table tbody td {
        padding: 8px 10px;
        font-size: 12px;
      }

      .invoice-ref-table .td-field {
        white-space: normal;
      }
    }

    @media (max-width: 480px) {

      .store-tbl thead th:first-child,
      .store-tbl tbody td:first-child {
        display: none;
      }

      .store-tbl {
        font-size: 11px;
      }

      .store-tbl .td-addr {
        font-size: 10px;
      }
      .invoice-ref-table,
      .invoice-ref-table thead,
      .invoice-ref-table tbody,
      .invoice-ref-table th,
      .invoice-ref-table td,
      .invoice-ref-table tr {
        display: block;
      }

      .invoice-ref-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
      }

      .invoice-ref-table tbody tr {
        border: 1px solid #d4e8d6;
        border-radius: 8px;
        margin-bottom: 10px;
        overflow: hidden;
      }

      .invoice-ref-table tbody tr:nth-child(even) td {
        background: transparent;
      }

      .invoice-ref-table tbody td {
        padding: 8px 12px;
        border-bottom: 1px solid #edf5ee;
        font-size: 9px;
        position: relative;
        padding-left: 40%;
      }

      .invoice-ref-table tbody td:last-child {
        border-bottom: none;
      }

      .invoice-ref-table tbody td::before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        top: 8px;
        width: 35%;
        font-size: 9px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #2d6a35;
        white-space: nowrap;
      }

      .invoice-ref-table .td-field {
        padding-left: 12px;
        background: #e8f5ea !important;
        font-size: 12px;
        font-weight: 700;
        white-space: normal;
      }

      .invoice-ref-table .td-field::before {
        display: none;
      }

      .store-hours-note {
        font-size: 12px;
      }
    }