/* Dải cam kết (USP) — tự viết CSS tại đây (khung trống, không có class chuẩn). */


.hcd-usp-bar {
  width: 100%;
  background: #fff;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  box-sizing: border-box;
}

.hcd-usp-bar *,
.hcd-usp-bar *::before,
.hcd-usp-bar *::after {
  box-sizing: border-box;
}

.hcd-usp-bar .hcd-usp-bar__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hcd-usp-bar .hcd-usp-bar__item {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 4px 20px;
  border-right: 1px solid #e8e8e8;
}

.hcd-usp-bar .hcd-usp-bar__item:last-child {
  border-right: 0;
}

.hcd-usp-bar .hcd-usp-bar__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
}

.hcd-usp-bar .hcd-usp-bar__icon svg {
  display: block;
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hcd-usp-bar .hcd-usp-bar__content {
  min-width: 0;
}

.hcd-usp-bar .hcd-usp-bar__title {
  margin: 0 0 2px;
  color: #111;
  font-size: var(--hcd-fs-md, 15px);
  line-height: var(--hcd-lh-snug, 1.35);
  font-weight: var(--hcd-fw-semibold, 600);
}

.hcd-usp-bar .hcd-usp-bar__desc {
  margin: 0;
  color: #666;
  font-size: var(--hcd-fs-sm, 14px);
  line-height: var(--hcd-lh-normal, 1.5);
  font-weight: var(--hcd-fw-regular, 400);
}

/* TABLET */
@media (max-width: 849px) {
  .hcd-usp-bar .hcd-usp-bar__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px 16px;
  }

  .hcd-usp-bar .hcd-usp-bar__item {
    justify-content: flex-start;
    padding: 12px 16px;
  }

  .hcd-usp-bar .hcd-usp-bar__item:nth-child(2n) {
    border-right: 0;
  }

  .hcd-usp-bar .hcd-usp-bar__item:nth-child(-n+2) {
    border-bottom: 1px solid #e8e8e8;
  }
}

/* MOBILE - CUỘN NGANG */
@media (max-width: 549px) {
  .hcd-usp-bar .hcd-usp-bar__inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: none;
    padding: 8px 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hcd-usp-bar .hcd-usp-bar__inner::-webkit-scrollbar {
    display: none;
  }

  .hcd-usp-bar .hcd-usp-bar__item {
    flex: 0 0 78%;
    width: 78%;
    min-width: 0;
    justify-content: flex-start;
    padding: 10px 16px;
    border-right: 1px solid #e8e8e8;
    border-bottom: 0;
    scroll-snap-align: start;
  }

  .hcd-usp-bar .hcd-usp-bar__item:nth-child(-n+2) {
    border-bottom: 0;
  }

  .hcd-usp-bar .hcd-usp-bar__item:last-child {
    border-right: 0;
    border-bottom: 0;
  }

  .hcd-usp-bar .hcd-usp-bar__icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .hcd-usp-bar .hcd-usp-bar__icon svg {
    width: 28px;
    height: 28px;
  }

  .hcd-usp-bar .hcd-usp-bar__content {
    min-width: 0;
  }

  .hcd-usp-bar .hcd-usp-bar__title {
    white-space: nowrap;
  }

  .hcd-usp-bar .hcd-usp-bar__desc {
    white-space: nowrap;
  }
}



