/* Quy trình đặt hàng — tự viết CSS tại đây (khung trống, không có class chuẩn). */

<style>
/* =========================================================
   HCD - ORDER PROCESS
   Scope duy nhất: .hcd-order-process
   ========================================================= */

.hcd-order-process {
  width: 100%;
  background: var(--hcd-color-bg, #f3f4f6);
  color: var(--hcd-color-text, #111827);
  padding: 96px 0;
  overflow: hidden;
}

.hcd-order-process .hcd-op-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}


/* =========================
   HEADER
   ========================= */

.hcd-order-process .hcd-op-header {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.hcd-order-process .hcd-op-eyebrow {
  margin: 0 0 12px;
  color: var(--hcd-color-primary, #16a34a);
  font-size: var(--hcd-fs-xs, 13px);
  line-height: var(--hcd-lh-snug, 1.35);
  font-weight: var(--hcd-fw-bold, 700);
  letter-spacing: .08em;
}

.hcd-order-process .hcd-op-title {
  margin: 0;
  color: var(--hcd-color-text, #111827);
  font-size: var(--hcd-fs-h2, 32px);
  line-height: var(--hcd-lh-tight, 1.2);
  font-weight: var(--hcd-fw-bold, 700);
}

.hcd-order-process .hcd-op-lead {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--hcd-color-muted, #6b7280);
  font-size: var(--hcd-fs-lg, 18px);
  line-height: var(--hcd-lh-loose, 1.7);
  font-weight: var(--hcd-fw-regular, 400);
}


/* =========================
   PROCESS WRAPPER
   ========================= */

.hcd-order-process .hcd-op-scroll {
  width: 100%;
}

.hcd-order-process .hcd-op-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}


/* =========================
   CONNECTING LINE
   ========================= */

.hcd-order-process .hcd-op-track::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--hcd-color-primary, #16a34a);
  opacity: .22;
  z-index: 0;
}


/* =========================
   ITEM
   ========================= */

.hcd-order-process .hcd-op-item {
  position: relative;
  z-index: 1;
  min-width: 0;
  height: 100%;
}


/* =========================
   CARD
   ========================= */

.hcd-order-process .hcd-op-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
  padding: 48px 24px 32px;
  box-sizing: border-box;
  background: var(--hcd-color-surface, #ffffff);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, .06);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.hcd-order-process .hcd-op-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(17, 24, 39, .10);
}


/* =========================
   NUMBER
   ========================= */

.hcd-order-process .hcd-op-number {
  position: absolute;
  top: -20px;
  left: 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  border-radius: 50%;

  background: var(--hcd-color-primary, #16a34a);
  color: var(--hcd-color-on-primary, #ffffff);

  font-size: var(--hcd-fs-body, 16px);
  line-height: var(--hcd-lh-tight, 1.2);
  font-weight: var(--hcd-fw-bold, 700);

  box-shadow: 0 8px 24px rgba(17, 24, 39, .06);
}


/* =========================
   ICON
   ========================= */

.hcd-order-process .hcd-op-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 64px;
  height: 64px;

  margin: 0 0 24px;

  border-radius: 50%;

  background: var(--hcd-color-bg, #f3f4f6);
  color: var(--hcd-color-primary, #16a34a);

  flex: 0 0 auto;
}

.hcd-order-process .hcd-op-icon svg {
  display: block;
  width: 32px;
  height: 32px;

  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =========================
   CONTENT
   ========================= */

.hcd-order-process .hcd-op-step-title {
  margin: 0 0 12px;

  color: var(--hcd-color-text, #111827);

  font-size: var(--hcd-fs-md, 15px);
  line-height: var(--hcd-lh-snug, 1.35);
  font-weight: var(--hcd-fw-bold, 700);
}

.hcd-order-process .hcd-op-step-desc {
  margin: 0;

  color: var(--hcd-color-muted, #6b7280);

  font-size: var(--hcd-fs-sm, 14px);
  line-height: var(--hcd-lh-loose, 1.7);
  font-weight: var(--hcd-fw-regular, 400);
}


/* =========================================================
   TABLET
   LƯỚT NGANG - KHÔNG XUỐNG DÒNG
   ========================================================= */

@media (max-width: 849px) {

  .hcd-order-process {
    padding: 64px 0;
  }

  .hcd-order-process .hcd-op-container {
    padding: 0;
  }

  .hcd-order-process .hcd-op-header {
    margin: 0 auto 48px;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .hcd-order-process .hcd-op-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    -webkit-overflow-scrolling: touch;

    padding: 24px 24px 32px;
    box-sizing: border-box;

    scrollbar-width: none;
  }

  .hcd-order-process .hcd-op-scroll::-webkit-scrollbar {
    display: none;
  }

  .hcd-order-process .hcd-op-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;

    width: max-content;
  }

  .hcd-order-process .hcd-op-track::before {
    display: none;
  }

  .hcd-order-process .hcd-op-item {
    flex: 0 0 280px;
    width: 280px;

    scroll-snap-align: start;
  }

  .hcd-order-process .hcd-op-card {
    min-height: 280px;
  }

}


/* =========================================================
   MOBILE
   GIỮ BOX TRẮNG + SLIDE NGANG
   ========================================================= */

@media (max-width: 549px) {

  .hcd-order-process {
    padding: 48px 0;
  }

  .hcd-order-process .hcd-op-header {
    margin-bottom: 32px;
    padding: 0 16px;
  }

  .hcd-order-process .hcd-op-eyebrow {
    margin-bottom: 8px;
  }

  .hcd-order-process .hcd-op-lead {
    margin-top: 12px;
  }

  .hcd-order-process .hcd-op-scroll {
    padding: 24px 16px 24px;
    scroll-padding-left: 16px;
  }

  .hcd-order-process .hcd-op-track {
    gap: 16px;
  }

  /*
   * Card ~82% viewport.
   * Người dùng thấy một phần card tiếp theo
   * để nhận biết có thể lướt ngang.
   */
  .hcd-order-process .hcd-op-item {
    flex: 0 0 82vw;
    width: 82vw;
    max-width: 320px;
  }

  .hcd-order-process .hcd-op-card {
    min-height: 264px;
    padding: 48px 24px 32px;
  }

  .hcd-order-process .hcd-op-number {
    left: 24px;
  }

  .hcd-order-process .hcd-op-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
  }

}
</style>
