/* ============================================================
   Khu vực tài khoản (tổng quan, đơn hàng, sổ địa chỉ, mật khẩu)
   Dùng chung biến màu từ homepage-refresh.css (:root --hotel-*)
   ============================================================ */

.account-page {
  background: linear-gradient(180deg, #fff8fc 0%, #fff 320px);
}

/* ---------- Breadcrumb (giống trang sản phẩm) ---------- */

.ac-breadcrumb {
  border-bottom: 1px solid #f3e6ee;
}

.ac-breadcrumb .breadcrumb {
  margin: 0;
  padding: 16px 0;
  background: transparent;
  font-size: 13px;
}

.ac-breadcrumb .breadcrumb-item a {
  color: var(--hotel-muted);
  font-weight: 600;
  transition: color .2s ease;
}

.ac-breadcrumb .breadcrumb-item a:hover {
  color: var(--hotel-coral);
}

.ac-breadcrumb .breadcrumb-item.active {
  color: var(--hotel-coral);
  font-weight: 700;
}

/* ---------- Layout ---------- */

.ac-main {
  padding: 44px 0 80px;
}

.ac-heading {
  margin-bottom: 30px;
}

.ac-heading .ac-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hotel-coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ac-heading .ac-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}

.ac-heading h1 {
  margin: 8px 0 0;
  color: #202b31;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 750;
  letter-spacing: -.02em;
}

.ac-grid {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

/* ---------- Sidebar ---------- */

.ac-sidebar {
  position: sticky;
  top: 100px;
  overflow: hidden;
  border: 1px solid #f2e3eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(72, 32, 53, .08);
}

.ac-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  background: linear-gradient(145deg, #fa2991, #c90d69);
  color: #fff;
}

.ac-avatar {
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  border: 2px solid rgba(255, 255, 255, .55);
  font-size: 20px;
  font-weight: 800;
}

.ac-user small {
  display: block;
  opacity: .85;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ac-user strong {
  display: block;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.3;
  word-break: break-word;
}

.ac-nav {
  margin: 0;
  padding: 10px 0;
  list-style: none;
}

.ac-nav li+li {
  border-top: 1px solid #f8f0f4;
}

.ac-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: #394b52;
  font-size: 14px;
  font-weight: 650;
  transition: color .2s ease, background .2s ease, padding-left .2s ease;
}

.ac-nav a i {
  width: 18px;
  color: #a3aeb3;
  text-align: center;
  transition: color .2s ease;
}

.ac-nav a:hover {
  padding-left: 26px;
  background: #fff4f9;
  color: var(--hotel-coral);
}

.ac-nav a:hover i {
  color: var(--hotel-coral);
}

.ac-nav li.active a {
  background: #fff4f9;
  color: var(--hotel-coral);
}

.ac-nav li.active a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--hotel-coral);
}

.ac-nav li.active a i {
  color: var(--hotel-coral);
}

.ac-nav li.ac-nav-logout a {
  color: #c0392b;
}

.ac-nav li.ac-nav-logout a i {
  color: #c0392b;
}

.ac-nav li.ac-nav-logout a:hover {
  background: #fdf1ef;
}

/* ---------- Card chung ---------- */

.ac-card {
  overflow: hidden;
  border: 1px solid #f2e3eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(72, 32, 53, .08);
}

.ac-card+.ac-card {
  margin-top: 24px;
}

.ac-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid #f6ebf1;
}

.ac-card-head h2 {
  margin: 0;
  color: #202b31;
  font-size: 18px;
  font-weight: 750;
}

.ac-card-head .text-link {
  font-size: 11px;
}

.ac-card-body {
  padding: 24px;
}

/* ---------- Tổng quan: thẻ thống kê ---------- */

.ac-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.ac-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid #f2e3eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(72, 32, 53, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.ac-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(72, 32, 53, .12);
}

.ac-stat i {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: #fff0f7;
  color: var(--hotel-coral);
  font-size: 18px;
}

.ac-stat strong {
  display: block;
  color: #202b31;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
}

.ac-stat span {
  display: block;
  margin-top: 2px;
  color: var(--hotel-muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Hàng thông tin (hồ sơ) */

.ac-info-list {
  margin: 0;
}

.ac-info-list>div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  padding: 13px 0;
  font-size: 14px;
}

.ac-info-list>div+div {
  border-top: 1px dashed #f0e4ea;
}

.ac-info-list dt {
  margin: 0;
  color: var(--hotel-muted);
  font-weight: 650;
}

.ac-info-list dd {
  margin: 0;
  color: #26363c;
  font-weight: 650;
}

/* ---------- Bảng đơn hàng ---------- */

.ac-table-wrap {
  overflow-x: auto;
}

.ac-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ac-table th {
  padding: 13px 16px;
  background: #fff8fc;
  border-bottom: 2px solid #f3e6ee;
  color: #394b52;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

.ac-table td {
  padding: 15px 16px;
  border-bottom: 1px solid #f6ebf1;
  color: #58666b;
  vertical-align: middle;
}

.ac-table tr:last-child td {
  border-bottom: 0;
}

.ac-table tbody tr {
  transition: background .2s ease;
}

.ac-table tbody tr:hover {
  background: #fffafc;
}

.ac-order-id {
  color: var(--hotel-coral);
  font-weight: 750;
  white-space: nowrap;
}

.ac-order-total {
  color: #202b31;
  font-weight: 750;
  white-space: nowrap;
}

/* Trạng thái */

.ac-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .03em;
  white-space: nowrap;
}

.ac-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.ac-status-pending {
  background: #fff7e8;
  color: #b07714;
}

.ac-status-shipping {
  background: #e9f3fd;
  color: #1d6fc0;
}

.ac-status-done {
  background: #e9f8ef;
  color: #1d8a4b;
}

.ac-status-cancel {
  background: #fdefed;
  color: #c0392b;
}

.ac-table .btn-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid #f0d7e4;
  border-radius: 6px;
  color: var(--hotel-coral);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.ac-table .btn-view:hover {
  background: var(--hotel-coral);
  border-color: var(--hotel-coral);
  color: #fff;
}

/* Bộ lọc đơn hàng */

.ac-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ac-filter a {
  padding: 8px 15px;
  border: 1px solid #f0d7e4;
  border-radius: 20px;
  color: #5f6d72;
  font-size: 12px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.ac-filter a:hover,
.ac-filter a.active {
  background: var(--hotel-coral);
  border-color: var(--hotel-coral);
  color: #fff;
}

/* Trạng thái rỗng */

.ac-empty {
  padding: 44px 20px;
  text-align: center;
  color: var(--hotel-muted);
}

.ac-empty i {
  display: block;
  margin-bottom: 14px;
  font-size: 40px;
  color: #eccfdd;
}

.ac-empty p {
  margin: 0 0 18px;
  font-size: 15px;
}

/* ---------- Sổ địa chỉ ---------- */

.ac-address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ac-address {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid #f2e3eb;
  border-radius: 12px;
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.ac-address:hover {
  transform: translateY(-3px);
  border-color: rgba(250, 41, 145, .35);
  box-shadow: 0 12px 32px rgba(72, 32, 53, .1);
}

.ac-address.is-default {
  border-color: rgba(250, 41, 145, .45);
  background: #fffafc;
}

.ac-address-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--hotel-coral);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ac-address h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: #202b31;
  font-size: 16px;
  font-weight: 750;
}

.ac-address h3 i {
  color: var(--hotel-coral);
}

.ac-address p {
  margin: 0 0 6px;
  color: #58666b;
  font-size: 14px;
  line-height: 1.65;
}

.ac-address p i {
  width: 16px;
  margin-right: 6px;
  color: #b3a0aa;
  text-align: center;
}

.ac-address-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.ac-address-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid #f0d7e4;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 750;
  color: var(--hotel-coral);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.ac-address-actions a:hover {
  background: var(--hotel-coral);
  border-color: var(--hotel-coral);
  color: #fff;
}

.ac-address-actions a.ac-action-delete {
  color: #c0392b;
  border-color: #f3dbd7;
}

.ac-address-actions a.ac-action-delete:hover {
  background: #c0392b;
  border-color: #c0392b;
  color: #fff;
}

/* Nút thêm địa chỉ dạng khung đứt */

.ac-address-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 220px;
  padding: 20px;
  border: 2px dashed #f0d7e4;
  border-radius: 12px;
  color: var(--hotel-muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}

.ac-address-add i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: #fff0f7;
  color: var(--hotel-coral);
  font-size: 18px;
}

.ac-address-add:hover {
  border-color: var(--hotel-coral);
  background: #fffafc;
  color: var(--hotel-coral);
}

/* ---------- Form (đổi mật khẩu, chỉnh hồ sơ) ---------- */

.ac-form {
  max-width: 520px;
}

.ac-form .form-group {
  margin-bottom: 20px;
}

.ac-form label {
  display: block;
  margin-bottom: 7px;
  color: #394b52;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ac-input {
  position: relative;
}

.ac-input>i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #b3a0aa;
  pointer-events: none;
}

.ac-input .form-control {
  height: 48px;
  padding-left: 42px;
  padding-right: 44px;
  border: 1px solid #e8dce3;
  border-radius: 8px;
  background: #fdfbfc;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.ac-input .form-control:focus {
  background: #fff;
  border-color: var(--hotel-coral);
  box-shadow: 0 0 0 3px rgba(250, 41, 145, .12);
}

.ac-toggle-password {
  position: absolute;
  right: 6px;
  top: 50%;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #a3aeb3;
  cursor: pointer;
  transition: color .2s ease;
}

.ac-toggle-password:hover {
  color: var(--hotel-coral);
}

.ac-form-hint {
  margin-top: 7px;
  color: var(--hotel-muted);
  font-size: 12px;
}

.ac-form-hint i {
  margin-right: 5px;
  color: var(--hotel-coral);
}

.ac-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 6px;
  background: var(--hotel-coral);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.ac-btn-submit:hover {
  background: var(--hotel-coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(250, 41, 145, .28);
  color: #fff;
}

/* Khối gợi ý bảo mật */

.ac-security-tips {
  padding: 18px 20px;
  border: 1px solid #f6e7d9;
  border-radius: 10px;
  background: #fffaf3;
}

.ac-security-tips h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: #9a6b1f;
  font-size: 14px;
  font-weight: 750;
}

.ac-security-tips ul {
  margin: 0;
  padding-left: 20px;
  color: #7d6a51;
  font-size: 13px;
  line-height: 1.8;
}

/* ---------- Chi tiết tài khoản (hồ sơ cá nhân) ---------- */

.pf-profile-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid #f6ebf1;
  background: linear-gradient(135deg, #fff4f9, #fff);
}

.pf-avatar {
  position: relative;
  display: grid;
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #fa2991, #c90d69);
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(250, 41, 145, .3);
}

.pf-avatar-edit {
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--hotel-navy);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.pf-avatar-edit:hover {
  background: var(--hotel-coral);
  transform: scale(1.08);
}

.pf-profile-head h2 {
  margin: 0 0 4px;
  color: #202b31;
  font-size: 20px;
  font-weight: 750;
}

.pf-profile-head p {
  margin: 0;
  color: var(--hotel-muted);
  font-size: 13px;
}

.pf-member-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid rgba(211, 166, 75, .4);
  border-radius: 20px;
  background: #fffaf0;
  color: #9a6b1f;
  font-size: 12px;
  font-weight: 750;
}

.pf-member-badge i {
  color: var(--hotel-gold);
}

/* Form hồ sơ: lưới 2 cột, tái dùng .ac-input của form đổi mật khẩu */

.pf-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

.pf-form-grid .form-group {
  margin-bottom: 20px;
}

.ac-form-wide {
  max-width: none;
}

/* Chọn giới tính dạng pill */

.pf-gender {
  display: flex;
  gap: 10px;
}

.pf-gender label {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.pf-gender input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pf-gender span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #e8dce3;
  border-radius: 22px;
  background: #fdfbfc;
  color: #58666b;
  font-size: 13px;
  font-weight: 700;
  transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.pf-gender label:hover span {
  border-color: rgba(250, 41, 145, .4);
}

.pf-gender input:checked+span {
  border-color: var(--hotel-coral);
  background: #fff4f9;
  color: var(--hotel-coral);
  box-shadow: 0 0 0 3px rgba(250, 41, 145, .1);
}

.pf-gender input:focus-visible+span {
  box-shadow: 0 0 0 3px rgba(250, 41, 145, .25);
}

/* Hàng bảo mật tài khoản */

.pf-security-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
}

.pf-security-row+.pf-security-row {
  border-top: 1px dashed #f0e4ea;
}

.pf-security-row>i {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  background: #fff0f7;
  color: var(--hotel-coral);
  font-size: 15px;
}

.pf-security-row strong {
  display: block;
  color: #26363c;
  font-size: 14px;
  font-weight: 750;
}

.pf-security-row small {
  display: block;
  margin-top: 2px;
  color: var(--hotel-muted);
  font-size: 12px;
}

.pf-security-row .pf-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #1d8a4b;
  font-size: 12px;
  font-weight: 750;
}

.pf-security-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 9px 15px;
  border: 1px solid #f0d7e4;
  border-radius: 6px;
  background: #fff;
  color: var(--hotel-coral);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.pf-security-action:hover {
  background: var(--hotel-coral);
  border-color: var(--hotel-coral);
  color: #fff;
}

@media (max-width: 767px) {
  .pf-profile-head {
    padding: 18px;
  }

  .pf-member-badge {
    flex-basis: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .pf-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pf-security-action {
    flex-basis: 100%;
    margin-left: 0;
    justify-content: center;
  }
}

/* ---------- Chi tiết đơn hàng ---------- */

/* Hàng đầu: mã đơn + trạng thái + nút quay lại */

.od-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.od-topbar .ac-order-id {
  font-size: 18px;
}

.od-topbar .od-date {
  color: var(--hotel-muted);
  font-size: 13px;
  font-weight: 600;
}

.od-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: var(--hotel-muted);
  font-size: 13px;
  font-weight: 750;
  transition: color .2s ease;
}

.od-back:hover {
  color: var(--hotel-coral);
}

/* Dòng thời gian trạng thái đơn */

.od-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 6px 0 2px;
  list-style: none;
}

.od-timeline li {
  position: relative;
  padding: 0 8px;
  text-align: center;
}

.od-timeline li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: -50%;
  width: 100%;
  height: 3px;
  background: #f0e0e9;
}

.od-timeline li:first-child::before {
  display: none;
}

.od-timeline li.is-done::before,
.od-timeline li.is-current::before {
  background: var(--hotel-coral);
}

.od-step-dot {
  position: relative;
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  place-items: center;
  border: 3px solid #f0e0e9;
  border-radius: 50%;
  background: #fff;
  color: #b8a6b0;
  font-size: 13px;
}

.od-timeline li.is-done .od-step-dot {
  border-color: var(--hotel-coral);
  background: var(--hotel-coral);
  color: #fff;
}

.od-timeline li.is-current .od-step-dot {
  border-color: var(--hotel-coral);
  color: var(--hotel-coral);
  box-shadow: 0 0 0 5px rgba(250, 41, 145, .12);
}

.od-timeline strong {
  display: block;
  color: #394b52;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.od-timeline li.is-done strong,
.od-timeline li.is-current strong {
  color: var(--hotel-coral);
}

.od-timeline small {
  display: block;
  margin-top: 3px;
  color: var(--hotel-muted);
  font-size: 11px;
}

/* Danh sách sản phẩm trong đơn */

.od-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 15px 0;
}

.od-item+.od-item {
  border-top: 1px solid #f6ebf1;
}

.od-item-thumb {
  display: block;
  overflow: hidden;
  width: 64px;
  height: 64px;
  border: 1px solid #f2e3eb;
  border-radius: 10px;
  background: #fbf7f2;
}

.od-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.od-item-info h3 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}

.od-item-info h3 a {
  color: #26363c;
  transition: color .2s ease;
}

.od-item-info h3 a:hover {
  color: var(--hotel-coral);
}

.od-item-info small {
  color: var(--hotel-muted);
  font-size: 12px;
}

.od-item-qtyprice {
  display: block;
  margin-top: 4px;
  color: #58666b;
  font-size: 13px;
}

.od-item-total {
  color: var(--hotel-coral);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

/* Tổng kết tiền */

.od-summary {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 2px solid #f3e6ee;
}

.od-summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 6px 0;
  color: #58666b;
  font-size: 14px;
}

.od-summary-row.od-summary-total {
  padding-top: 10px;
  color: #202b31;
  font-weight: 750;
}

.od-summary-total strong {
  color: var(--hotel-coral);
  font-size: 22px;
  font-weight: 800;
}

/* Khối thông tin giao hàng / thanh toán */

.od-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.od-info-box {
  padding: 18px 20px;
  border: 1px solid #eef0f1;
  border-radius: 10px;
  background: #fafbfb;
}

.od-info-box h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: #202b31;
  font-size: 14px;
  font-weight: 750;
}

.od-info-box h3 i {
  color: var(--hotel-coral);
}

.od-info-box p {
  margin: 0 0 6px;
  color: #58666b;
  font-size: 13px;
  line-height: 1.65;
}

.od-info-box p strong {
  color: #26363c;
}

.od-info-box p i {
  width: 16px;
  margin-right: 6px;
  color: #b3a0aa;
  text-align: center;
}

/* Hành động cuối trang */

.od-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.od-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid #f0d7e4;
  border-radius: 6px;
  background: #fff;
  color: var(--hotel-coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.od-btn:hover {
  background: var(--hotel-coral);
  border-color: var(--hotel-coral);
  color: #fff;
  transform: translateY(-2px);
}

.od-btn.od-btn-cancel {
  color: #c0392b;
  border-color: #f3dbd7;
}

.od-btn.od-btn-cancel:hover {
  background: #c0392b;
  border-color: #c0392b;
  color: #fff;
}

@media (max-width: 767px) {
  .od-back {
    flex-basis: 100%;
    margin-left: 0;
  }

  .od-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }

  .od-timeline li:nth-child(3)::before {
    display: none;
  }

  .od-info-grid {
    grid-template-columns: 1fr;
  }

  .od-item {
    grid-template-columns: 54px 1fr;
  }

  .od-item-total {
    grid-column: 2;
    justify-self: end;
  }

  .od-btn {
    flex: 1 1 calc(50% - 5px);
    justify-content: center;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
  .ac-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ac-sidebar {
    position: static;
  }

  .ac-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 6px;
  }

  .ac-nav li+li {
    border-top: 0;
  }

  .ac-nav a {
    border-radius: 8px;
  }

  .ac-nav a:hover {
    padding-left: 20px;
  }
}

@media (max-width: 767px) {
  .ac-main {
    padding: 28px 0 55px;
  }

  .ac-stats {
    grid-template-columns: 1fr;
  }

  .ac-card-body {
    padding: 18px;
  }

  .ac-info-list>div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .ac-address-grid {
    grid-template-columns: 1fr;
  }

  .ac-nav {
    grid-template-columns: 1fr;
  }

  .ac-form {
    max-width: none;
  }

  .ac-btn-submit {
    width: 100%;
  }
}
