.bg-rank {
  background-color: #F2D7B6; }

.separate-divide {
  height: 4px;
  width: 70px;
  background: #ff7948;
  background: linear-gradient(270deg, #ff7948 0%, #ffd787 100%);
  border-radius: 2px; }

.member-categories-section li i {
  font-size: 1.8rem;
  width: 2.5rem; }

.member-categories-section li:last-child {
  margin-bottom: 0; }

.member-categories-section a {
  display: flex;
  color: #697089;
  padding: 5px 15px;
  border-radius: 8px;
  height: 48px;
  align-items: center;
  gap: 10px;
  }
  .member-categories-section a i {
    font-size: 1.6rem;
    width: 2rem; }

.member-categories-section .active > a, .member-categories-section a:hover {
  color: #fff;
  background-color: var(--color-highlight);
  }

.history-point {
  overflow: hidden; }
  .history-point .nav li {
    border-left: 1px solid #dee2e6; }
    .history-point .nav li:first-child {
      border-left: 0; }
  .history-point .nav a {
    text-align: center;
    color: var(--color-main);
    background-color: var(--light);
    padding: 1rem 0; }
    .history-point .nav a.active {
      background-color: var(--white);
      color: var(--color-highlight); }

.inner-buy-point input {
  opacity: 0;
  filter: opacity(0);
  visibility: hidden; }

.inner-buy-point input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0; }

.inner-buy-point .form-check-label {
  border: 1px solid var(--color-main);
  border-radius: 8px;
  padding: 10px 15px;
  width: 100%;
  text-align: center;
  cursor: pointer; }

.inner-buy-point input[type="radio"]:checked + .form-check-label {
  background: var(--color-highlight);
  border-color: var(--color-highlight);
  color: #fff; }

.coupon-plan {
  margin-bottom: 3rem;
  -webkit-box-shadow: 0px 0.3rem 0.6rem -0.3rem rgba(0, 0, 0, 0.16);
  box-shadow: 0px 0.3rem 0.6rem -0.3rem rgba(0, 0, 0, 0.16); }
  .coupon-plan-price {
    text-align: center;
    background: #ff7948;
    position: relative;
    overflow: hidden;
    padding: 1rem 1rem 1.5rem;
    font-size: 1.2rem;
    min-height: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; }
    .coupon-plan-price span {
      display: block;
      font-size: 3.2rem;
      font-weight: bold; }
    .coupon-plan-price::after {
      content: '';
      position: absolute;
      top: 0.1rem;
      left: 0;
      background: url(data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAABQAAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjMtYzAxMSA2Ni4xNDU2NjEsIDIwMTIvMDIvMDYtMTQ6NTY6MjcgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjdBNURGNURFNDI5MDExRUM5MDhDRTYwRDYxNzA1MjA4IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjdBNURGNURGNDI5MDExRUM5MDhDRTYwRDYxNzA1MjA4Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6N0E1REY1REM0MjkwMTFFQzkwOENFNjBENjE3MDUyMDgiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6N0E1REY1REQ0MjkwMTFFQzkwOENFNjBENjE3MDUyMDgiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAACAgICAgICAgICAwICAgMEAwICAwQFBAQEBAQFBgUFBQUFBQYGBwcIBwcGCQkKCgkJDAwMDAwMDAwMDAwMDAwMAQMDAwUEBQkGBgkNCwkLDQ8ODg4ODw8MDAwMDA8PDAwMDAwMDwwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAAOAAYDAREAAhEBAxEB/8QAbwABAQAAAAAAAAAAAAAAAAAABAkBAAMAAAAAAAAAAAAAAAAAAAMEBxAAAAUCBgMAAAAAAAAAAAAAAQIDBAUREiFBExQGBwAxUREAAQIEBQMFAAAAAAAAAAAAAQIDETESBAAhURMGQSIFcbEyFBX/2gAMAwEAAhEDEQA/AKGS3SUDH874pDpvHqkDPndpOUzHJuE1G7c6xbVAJQSmtzLUPuOE+ueKsNXjKApW2uoHMRBSkqnCR9MWKy5/dP8Ajrl0oSHmqCDA0kKWEmIjGIjr7ZllXvdA9j8XdyUOzLPl3QccjLk9gYNE4OBqVccdMREblLvVMg8DcO+X+80paBX3UDKiRq66amOGbNjjn5VwhpxW12bioHc+QommVWWSaZ4//9k=);
      width: 0.6rem;
      height: 100%;
      z-index: 9; }
  .coupon-plan:last-child {
    margin-bottom: 0; }

.member-attendance .list-date--item {
  cursor: pointer;
  background-color: var(--gray);
  color: var(--color-main); }
  .member-attendance .list-date--item:hover {
    background-color: var(--black);
    color: var(--white); }
  .member-attendance .list-date--item[checked="checked"] {
    cursor: context-menu;
    background-color: var(--black);
    color: var(--white); }

.avatar-upload {
  display: inline-block;
  border-radius: 50%;
  position: relative;
  overflow: hidden; }
  .avatar-upload .avatar-edit {
    position: absolute;
    bottom: -1px;
    width: 100%;
    text-align: center;
    z-index: 9; }
    .avatar-upload .avatar-edit input {
      display: none; }
    .avatar-upload .avatar-edit input + label {
      margin-bottom: 0;
      background: #34a853;
      cursor: pointer;
      font-weight: normal;
      transition: all .2s ease-in-out;
      width: 100%;
      color: #fff;
      font-size: 10px;
      opacity: 0;
      }
      .avatar-upload .avatar-edit input + label:hover {
        background: #5e5e5e; }
  .avatar-upload .avatar-preview > div {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    background-size: cover;
    background-repeat: no-repeat;
    }
  .avatar-upload .avatar-preview > .wrap-preview {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; }
  .avatar-upload .avatar-clear-image {
    cursor: pointer;
    position: absolute;
    top: auto;
    right: -1rem;
    bottom: -0.5rem;
    width: 2.2rem;
    height: 2.2rem;
    line-height: 2rem;
    border-radius: 50%;
    background-color: #ffffff;
    text-align: center;
    border: 1px solid transparent;
    box-shadow: 0px 0.2rem 0.4rem 0px rgba(0, 0, 0, 0.12); }

.filter-member .input-group-text {
  border: 0; }

.filter-member .btn-submit {
  padding: 0 1rem; }

.table-member th i {
  font-size: 1.8rem; }

.action-table {
  display: inline-block;
  width: 3rem;
  text-align: center; }

  .box-member-menu {
    border-radius: 12px;
    padding: 25px 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.profile-top-left {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.info-member-right .name-member {
    font-weight: 700;
}

.info-member-right .phone-member {
    font-size: 14px;
}

.avatar-upload:hover .avatar-edit input + label {
    opacity: 1;
}

.member-categories-section .item-menu {
  margin-bottom: 5px;
}

.box-member-menu .btn-logout {
  height: 48px;
  border-radius: 8px;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.box-member-menu .btn-logout:hover {
  color: var(--color-highlight);
}

.box-level-dashboard-top {
  background: var(--color-highlight);
  padding: 20px 20px 15px 20px;
  border-radius: 12px;
}

.box-level-dashboard-top .title {
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 2px;
}

.box-level-dashboard-top .title-level {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 7px;
}

.box-level-dashboard-top .dsc-level {
  color: #D1FAE5;
  max-width: 410px;
  margin-bottom: 15px;
}

.box-level-dashboard-top .progress-level {
  margin-bottom: 7px;
}

.box-level-dashboard-top .progress-level .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  margin-bottom: 5px;
}

.box-level-dashboard-top .progress-level .progress {
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.10);
  padding: 3px;
}

.box-level-dashboard-top .progress-level .progress .progress-bar {
  border-radius: 9999px;
  background: #8EF9AA;
  height: 8px;
}

.box-level-dashboard-top .note-level {
  color: #fff;
  font-size: 10px;
}

.box-order-dashboard .title-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-bottom: 2px solid var(--color-highlight);
  border-radius: 12px 12px 0 0;
}

.box-order-dashboard .title-order .title-order-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.box-order-dashboard .title-order .title-order-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: color-mix(in srgb, var(--color-highlight) 12%, transparent);
  border-radius: 8px;
  color: var(--color-highlight);
}

.box-order-dashboard .title-order .title-order-viewall {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--color-highlight);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}

.box-order-dashboard .title-order .title-order-viewall:hover {
  opacity: 0.7;
  color: var(--color-highlight);
}

.box-order-dashboard .list-order {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ddd;
  border-top: 0;
}

.box-order-dashboard .list-order table {
  margin-bottom: 0;
}
.wrapper-order-dashboard .box-order-dashboard .list-order {
    border-radius: 0 0 12px 12px;
}
.box-order-dashboard .list-order table thead tr th {
  background: #F0F5EC;
  border: 0;
  color: var(--color-highlight);
  height: 53px;
  vertical-align: middle;
  padding: 10px;
}

.box-order-dashboard .list-order table tbody tr th a {
  font-weight: 400;
}

.box-order-dashboard .list-order table tbody tr th , .box-order-dashboard .list-order table tbody tr td {
  height: 52px;
  font-size: 15px;
}

.box-order-dashboard .list-order table thead tr th:last-child {
  text-align: right;
}

.box-order-dashboard .list-order table tbody tr td:last-child {
  text-align: right !IMPORTANT;
}

.box-order-dashboard .title-order .title {
  font-weight: 700;
  font-size: 16px;
  color: #333;
}

.box-dashboard-center {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.box-address-dashboard .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.box-dashboard-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
}

.box-address-dashboard .top .title {
    font-weight: 700;
}

.box-address-dashboard .info-address .item-address-member {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
}

.box-address-dashboard .info-address .item-address-member .item-address-member-top {
    margin-bottom: 10px;
}

.box-address-dashboard .info-address .item-address-member .item-address-member-top span.default-address {
    border-radius: 45px;
    background: #C4F0CE;
    color: #005227;
    height: 24px;
    display: inline-flex;
    padding: 0 10px;
    font-size: 11px;
    align-items: center;
}

.box-address-dashboard .info-address .item-address-member .name-address-member {
    font-size: 14px;
    margin-bottom: 5px;
}

.box-address-dashboard .info-address .item-address-member  .full-address {
    font-size: 14px;
    color: #697089;
    margin-bottom: 5px !important;
}

.box-address-dashboard .info-address .item-address-member  .phone-address-member {
    font-weight: 700;
    font-size: 14px;
}

.box-address-dashboard .info-address {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.box-address-dashboard .info-address .item-address-member .item-address-member-top .btn-address-member a {
  font-size: 14px;
}

.box-address-dashboard .info-address .item-address-member a.btn-address-member-default {
  font-size: 12px;
  border-radius: 45px;
  background: var(--Gray-200, #EFF1F2);
  color: #000;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
}

.member-categories-section .active > a svg path, .member-categories-section a:hover  svg path {
    stroke: #fff;
}

.box-order-dashboard .list-order .pagination {
  margin-top: 15px;
  margin-bottom: 15px;
}

div#cancel-order-modal .modal-content {
  border-radius: 8px;
}

div#cancel-order-modal .modal-content textarea.form-control {
  border-radius: 8px;
  border-color: #ddd;
}

div#cancel-order-modal .modal-content .btn.btn-submit {
  border-radius: 8px;
}

@media (min-width:1200px){
  
.box-member-dashboard>.row>.col-left {
  flex-basis: calc(100% - 245px);
  max-width: calc(100% - 245px);
}

.box-member-dashboard>.row>.col-right {
  flex: 0 0 245px;
  max-width: 245px;
}

}

@media (max-width: 768px){
  .box-member-menu {
    height: auto !important;
    margin-bottom: 15px;
  }

  .box-order-dashboard .list-order table tbody tr th, .box-order-dashboard .list-order table tbody tr td {
      height: 40px;
      font-size: 15px;
      display: flex;
      justify-content: space-between;
      align-items: center;
  }
  .box-member-dashboard>.row>div:first-child {
    margin-bottom: 15px;
  }
  .box-dashboard-right {
    gap: 20px;
}
.search-order-form {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.box-order-page-top .search-order-button {
  padding: 0px 10px 10px 10px;
}

.list-status-order {
  gap: 0;
  margin-left: -1.5px;
  margin-right: -1.5px;
}

.list-status-order .item-status-order {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  margin-bottom: 3px;
  padding-left: 1.5px !important;
  padding-right: 1.5px !important;
}

.list-status-order .item-status-order .form-check-label {
  text-align: center;
  font-size: 10px !important;
  background: #ddd;
  width: 100%;
  height: 30px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.box-profile-member-content>.row>div {
  margin-bottom: 15px;
}
}

.box-member-lightbox .inner-left-banner .img {
  border-radius: 8px;
  overflow: hidden;
  padding-top: 114%;
}

.box-member-lightbox .item-form .modal-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #236340;
  position: relative;
}

.box-member-lightbox .item-form .modal-title svg {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
}

.box-member-lightbox .item-form .modal-title span {
  position: relative;
  z-index: 2;
}

.box-member-lightbox .item-form {
  padding-left: 60px;
}

.box-member-lightbox .item-form .dsc {
  margin-bottom: 20px;
}

.box-member-lightbox .item-form  form .form-group .form-control {
  border-radius: 8px;
  height: 45px;
  border-color: #ddd;
  background: none;
  font-size: 16px;
}

.box-member-lightbox .item-form form .btn {
  border-radius: 8px;
  height: 50px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-member-lightbox .item-form form .form-group  label {
  font-weight: 400;
}


.hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  padding: 20px 30px;
  border-radius: 12px;
  color: #000;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.99) 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 24px 48px -12px rgba(15, 23, 42, 0.12);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(34, 147, 80, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-highlight);
  border-radius: 4px 0 0 4px;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.hero-eyebrow {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-highlight);
}

.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-highlight);
  box-shadow: 0 0 0 4px rgba(34, 147, 80, 0.2);
}

.hero-title {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: #0f172a;
}

.hero-desc {
  margin: 0;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
}

.hero-badge {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(34, 147, 80, 0.2);
  background: rgba(34, 147, 80, 0.08);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.level-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 12px;
  background: var(--color-highlight);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 24px 48px -12px rgba(15, 23, 42, 0.12);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.level-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.level-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.14) 0%, transparent 45%);
  pointer-events: none;
}

.level-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.1) 0, transparent 55%);
  pointer-events: none;
}

.card-cover {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  padding: 10px 10px 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(0, 0, 0, 0.05) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.card-cover svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.card-cover-inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  justify-content: center;
  align-items: center;
}

.card-cover-avatar {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-cover-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-kicker {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.card-title {
  margin: 0;
  font-size: 21px;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  font-weight: 700;
}

.card-level {
  flex: 0 0 auto;
  margin-top: 2px;
  padding: 5px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  font-size: 10px;
  font-weight: 700;
  color: var(--color-highlight);
  white-space: nowrap;
}

.card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 10px 10px;
  flex: 1;
  background: #229350;
}

.discount-band {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
}


.discount-band-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.discount-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.discount-label {
  font-size: 12px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 700;
}

.discount-hint {
  font-size: 12px;
  color: #ffffff;
  line-height: 1.35;
}

.discount-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
}

.discount-value {
  font-size: 23px;
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
  color: #fff;
}

.discount-suffix {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.section-box {
  border-radius: 8px;
  position: relative;
}

.section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
}

.condition {
  display: flex;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 400;
  color: #ffffff;
  flex-direction: column;
}

.condition strong {
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.benefit {
  font-size: 12px;
  line-height: 1.65;
  font-weight: 500;
  color: #ffffff;
}

.footer-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  font-weight: 500;
}

@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .level-grid {
    grid-template-columns: 1fr;
  }

  .level-card:hover {
    transform: translateY(-3px);
  }
}

.box-item-member-content .form-group .btn-submit:hover {
  background: var(--white);
  color: var(--color-highlight);
}

/* Change Password - Toggle Password */
.input-password-wrap {
  position: relative;
}

.input-password-wrap .form-control {
  padding-right: 42px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 23px;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.15s;
  z-index: 2;
}

.toggle-password:hover {
  background: rgba(0,0,0,0.04);
}

.toggle-password .icon-eye-off {
  display: none;
}

.toggle-password.is-show .icon-eye {
  display: none;
}

.toggle-password.is-show .icon-eye-off {
  display: block;
}

/* Address Page */
.box-address-page {
  padding: 0;
}

.box-address-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.box-address-page__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.box-address-page__desc {
  font-size: 14px;
  color: #697089;
}

.box-address-page__add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
}

.box-address-page .info-address {
  display: flex;
  gap: 15px;
  flex-direction: column;
}

.box-address-page .item-address-member {
  border-radius: 10px;
  background: #FAFAFA;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: none;
}

.box-address-page .item-address-member.active {
  background: #EDF5F1;
}

.box-address-page .item-address-member .item-address-member-top span,
.box-address-page .item-address-member .item-address-member-top > a {
  border-radius: 45px;
  background: #EFF1F2;
  display: flex;
  padding: 5px 15px;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}

.box-address-page .item-address-member.active .default-address {
  background: #C4F0CE;
  color: #005227;
}

.box-address-page .item-address-member .full-address,
.box-address-page .item-address-member .phone-address-member {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #697089;
  font-size: 14px;
}

.box-address-page .item-address-member .btn-address-member a {
  font-size: 14px;
}

.box-address-page .no-address-member {
  text-align: center;
  padding: 40px 20px;
  color: #999;
  font-size: 14px;
}

@media (max-width: 768px) {
  .box-address-page__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Complaint Form */
.form-complaint.form-contact .form-group label {
  font-weight: 500;
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
}

.form-complaint.form-contact .form-control {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 12px 15px;
  font-size: 15px;
  transition: all 0.3s ease;
  background-color: #fafafa;
}

.form-complaint.form-contact .form-control:focus {
  border-color: var(--color-highlight);
  background-color: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-highlight) 15%, transparent);
  outline: none;
}

.form-complaint.form-contact textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-complaint.form-contact .btn-submit {
  border-radius: 8px;
  height: 50px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-highlight);
  color: #fff;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.form-complaint.form-contact .btn-submit:hover {
  background: color-mix(in srgb, var(--color-highlight) 80%, #000);
  color: #fff;
  transform: translateY(-2px);
}
.btn-report{
  width: 30%;
}

@media (max-width: 768px) {
  .btn-report{
    width: 50%;
  }
}

/* =====================================================
   QUICK PURCHASE - MUA HÀNG NHANH
   ===================================================== */

/* Page title */
.qp-page-title {
  border-bottom: 2px solid var(--color-highlight);
  color: var(--color-highlight);
}

/* Layout 2 panel */
.box-quick-buy {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
}
.quick-buy-left {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  position: relative;
}
.qp-product-list,
.qp-product-row {
  max-width: 100%;
  min-width: 0;
}
.qp-product-row {
  box-sizing: border-box;
}
.quick-buy-right {
  width: 340px;
  flex-shrink: 0;
  position: sticky;
  top: 90px;
  align-self: flex-start;
}

/* Loading state */
.quick-buy-left.qp-loading,
[nh-quick-buy="left"].qp-loading {
  opacity: .6;
  pointer-events: none;
}

/* Search bar */
.qp-search-bar {
  position: relative;
  margin-bottom: 12px;
}
.qp-search-bar .qp-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa0b4;
  font-size: 14px;
  pointer-events: none;
}
.qp-search-bar .qp-search-input {
  width: 100%;
  height: 40px;
  padding: 0 38px 0 36px;
  border: 1.5px solid #eef0f4;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  color: #2c3145;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.qp-search-bar .qp-search-input:focus {
  border-color: var(--color-highlight);
  box-shadow: 0 0 0 3px rgba(255, 121, 72, .08);
}
.qp-search-bar .qp-search-input::placeholder {
  color: #b8bccc;
}
.qp-search-bar .qp-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border: 0;
  background: #f3f4f7;
  color: #6b7186;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: background .2s, color .2s;
}
.qp-search-bar .qp-search-clear:hover {
  background: #ffe6db;
  color: var(--color-highlight);
}

/* Category filter chips */
.qp-cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #eef0f4;
}
.qp-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 1.5px solid #eef0f4;
  border-radius: 999px;
  background: #fff;
  color: #4a516d;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, box-shadow .2s;
  max-width: 100%;
}
.qp-cat-chip:hover {
  border-color: var(--color-highlight);
  color: var(--color-highlight);
}
.qp-cat-chip.is-active {
  background: var(--color-highlight);
  border-color: var(--color-highlight);
  color: #fff;
  box-shadow: 0 2px 6px rgba(255, 121, 72, .25);
}
.qp-cat-chip__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 160px;
}
.qp-cat-chip__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: #f3f4f7;
  color: #6b7186;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}
.qp-cat-chip.is-active .qp-cat-chip__count {
  background: rgba(255, 255, 255, .25);
  color: #fff;
}

/* Product list - compact list dọc */
.qp-product-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

/* Row sản phẩm */
.qp-product-row {
  background: #fff;
  border: 1.5px solid #eef0f4;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  gap: 12px;
  align-items: center;
  transition: border-color .2s, box-shadow .2s;
  position: relative;
}
.qp-product-row:has(.qp-dd.is-open) {
  z-index: 30;
}
.qp-product-row:hover {
  border-color: var(--color-highlight);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

/* Ảnh thumb nhỏ */
.qp-row-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f6f8;
}
.qp-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.qp-badge-bought {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--color-highlight);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  line-height: 1.2;
  white-space: nowrap;
}

/* Main */
.qp-row-main {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qp-row-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.qp-row-title {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  line-height: 1.35;
  text-decoration: none;
  flex: 1;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.qp-row-title:hover {
  color: var(--color-highlight);
}
.qp-row-price {
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}
.qp-row-price .price-amount.qp-price-current {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-highlight);
}
.qp-row-price .price-amount.qp-price-old {
  font-size: 11px;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 4px;
}

/* Controls: variant + qty + btn Thêm cùng 1 hàng */
.qp-row-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
/* Custom variant dropdown */
.qp-dd {
  position: relative;
  flex: 1;
  min-width: 180px;
}
.qp-dd__trigger {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 1.5px solid #dde1e8;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  color: #222;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  transition: border-color .2s;
}
.qp-dd__trigger:hover {
  border-color: var(--color-highlight);
}
.qp-dd.is-open .qp-dd__trigger {
  border-color: var(--color-highlight);
  box-shadow: 0 0 0 3px rgba(0, 128, 0, .08);
}
.qp-dd__selected {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.qp-dd__selected-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.qp-dd__selected-price {
  flex-shrink: 0;
  color: var(--color-highlight);
  font-weight: 700;
  font-size: 13px;
}
.qp-dd__caret {
  flex-shrink: 0;
  color: #697089;
  transition: transform .2s;
}
.qp-dd.is-open .qp-dd__caret {
  transform: rotate(180deg);
}

.qp-dd__menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
  padding: 4px;
  max-height: 280px;
  overflow-y: auto;
}
.qp-dd.is-open .qp-dd__menu {
  display: block;
}
.qp-dd__opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s;
  position: relative;
}
.qp-dd__opt:hover {
  background: #f5f7fa;
}
.qp-dd__opt.is-active {
  background: rgba(0, 128, 0, .06);
}
.qp-dd__opt-thumb {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  background: #f5f6f8;
}
.qp-dd__opt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.qp-dd__opt-body {
  flex: 1;
  min-width: 0;
}
.qp-dd__opt-name {
  font-size: 13px;
  color: #222;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qp-dd__opt-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-highlight);
}
.qp-dd__opt-price-old {
  font-size: 11px;
  color: #999;
  font-weight: 400;
  text-decoration: line-through;
  margin-left: 4px;
}
.qp-dd__opt-check {
  flex-shrink: 0;
  color: var(--color-highlight);
  opacity: 0;
  transition: opacity .15s;
}
.qp-dd__opt.is-active .qp-dd__opt-check {
  opacity: 1;
}
.qp-qty-wrap {
  flex-shrink: 0;
}
.qp-qty-wrap .product-quantity {
  gap: 4px;
  display: flex;
  align-items: center;
}
.qp-qty-wrap .product-quantity .btn-quantity {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.qp-qty-wrap .product-quantity .btn-quantity svg {
  width: 22px;
  height: 22px;
}
.qp-qty-wrap .number-input {
  width: 40px;
  height: 32px;
  font-size: 13px;
  border: 1.5px solid #dde1e8;
  border-radius: 6px;
  text-align: center;
}
.qp-btn-add {
  flex-shrink: 0;
  height: 36px;
  padding: 0 14px;
  background: var(--color-highlight);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity .2s;
}
.qp-btn-add:hover {
  opacity: .88;
}
.qp-btn-add.loading {
  opacity: .6;
  pointer-events: none;
}
.qp-btn-add-text {
  font-size: 13px;
}

/* Pagination */
.qp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}
.qp-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1.5px solid #dde1e8;
  color: #222;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
  padding: 0 8px;
}
.qp-page-btn:hover {
  border-color: var(--color-highlight);
  color: var(--color-highlight);
}
.qp-page-btn.active {
  background: var(--color-highlight);
  border-color: var(--color-highlight);
  color: #fff;
}
.qp-page-btn.disabled {
  opacity: .4;
  pointer-events: none;
}

/* Empty state */
.qp-empty-state {
  text-align: center;
  padding: 50px 20px;
  color: #999;
}
.qp-empty-icon {
  margin-bottom: 16px;
}
.qp-empty-text {
  font-size: 14px;
  margin-bottom: 16px;
}

/* ========================
   QUICK CART - panel phải
   ======================== */
.quick-cart {
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid #eef0f4;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.quick-cart__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid #eef0f4;
}
.quick-cart__title {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  display: flex;
  align-items: center;
  gap: 6px;
}
.quick-cart__count {
  color: var(--color-highlight);
}
.quick-cart__clear-btn {
  background: none;
  border: none;
  font-size: 12px;
  color: #999;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.quick-cart__clear-btn:hover {
  color: #e53e3e;
}
.quick-cart__body {
  max-height: calc(100vh - 360px);
  min-height: 80px;
  overflow-y: auto;
}
.quick-cart__body::-webkit-scrollbar {
  width: 4px;
}
.quick-cart__body::-webkit-scrollbar-thumb {
  background: #dde1e8;
  border-radius: 4px;
}

/* Row sản phẩm trong quick-cart */
.quick-cart__row {
  display: grid;
  grid-template-columns: 56px 1fr 20px;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px dashed #eef0f4;
  align-items: start;
}
.quick-cart__thumb {
  flex-shrink: 0;
}
.quick-cart__thumb img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #f0f0f4;
  display: block;
}
.quick-cart__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quick-cart__name {
  font-size: 12px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}
.quick-cart__name:hover {
  color: var(--color-highlight);
}
.quick-cart__price {
  font-size: 12px;
  color: #697089;
}
.quick-cart__row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 2px;
}
.quick-cart__stepper {
  flex-shrink: 0;
}
.quick-cart__stepper.product-quantity {
  gap: 4px;
}
.quick-cart__stepper .btn-quantity svg {
  width: 18px;
  height: 18px;
}
.quick-cart__stepper .number-input {
  width: 32px;
  font-size: 12px;
  height: 26px;
}
.quick-cart__subtotal {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-highlight);
  white-space: nowrap;
}
.quick-cart__remove {
  background: none;
  border: none;
  padding: 2px;
  cursor: pointer;
  line-height: 1;
  align-self: flex-start;
  margin-top: 2px;
  opacity: .6;
  transition: opacity .2s;
}
.quick-cart__remove:hover {
  opacity: 1;
}

/* Empty state cart */
.quick-cart__empty {
  text-align: center;
  padding: 32px 16px;
  color: #bbb;
  font-size: 13px;
}
.quick-cart__empty p {
  margin-top: 10px;
  margin-bottom: 0;
}

/* Footer quick cart */
.quick-cart__foot {
  padding: 12px 14px;
  background: #fafbfd;
  border-top: 1px solid #eef0f4;
}
.quick-cart__totals {
  margin-bottom: 10px;
}
.quick-cart__total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #555;
  padding: 3px 0;
}
.quick-cart__total-row--grand {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  border-top: 1px solid #eef0f4;
  margin-top: 4px;
  padding-top: 8px;
}
.quick-cart__grand-value {
  color: var(--color-highlight);
}
.btn-buy-quick {
  display: block;
  width: 100%;
  background: var(--color-highlight);
  color: #fff !important;
  padding: 12px 16px;
  text-align: center;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: opacity .2s;
  cursor: pointer;
}
.btn-buy-quick:hover {
  opacity: .88;
  color: #fff !important;
}
.btn-buy-quick.disable {
  opacity: .45;
  pointer-events: none;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 991px) {
  .box-quick-buy {
    flex-direction: column;
  }
  .quick-buy-right {
    width: 100%;
    position: static;
  }
  .quick-cart__body {
    max-height: 50vh;
  }
}
@media (max-width: 575px) {
  .box-quick-buy {
    gap: 12px;
  }
  .qp-cat-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 10px;
    margin-bottom: 12px;
  }
  .qp-cat-filter::-webkit-scrollbar {
    display: none;
  }
  .qp-cat-chip {
    flex-shrink: 0;
  }
  .qp-cat-chip__name {
    max-width: 120px;
  }
  .qp-product-row {
    padding: 8px;
    gap: 8px;
    align-items: flex-start;
  }
  .qp-row-thumb {
    width: 72px;
    height: 72px;
  }
  .qp-row-main {
    gap: 6px;
  }
  .qp-row-head {
    gap: 6px;
  }
  .qp-row-title {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
  .qp-row-price .price-amount.qp-price-current {
    font-size: 13px;
  }
  .qp-row-price .price-amount.qp-price-old {
    font-size: 10px;
  }
  .qp-row-controls {
    gap: 6px;
    row-gap: 6px;
  }
  .qp-dd {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
  }
  .qp-dd__trigger {
    height: 32px;
    font-size: 12px;
    padding: 0 8px;
  }
  .qp-dd__selected-price {
    font-size: 12px;
  }
  .qp-qty-wrap .product-quantity {
    gap: 2px;
  }
  .qp-qty-wrap .product-quantity .btn-quantity svg {
    width: 20px;
    height: 20px;
  }
  .qp-qty-wrap .number-input {
    width: 34px;
    height: 28px;
    font-size: 12px;
    padding: 0 2px;
  }
  .qp-btn-add {
    margin-left: auto;
    height: 30px;
    padding: 0 10px;
    min-width: 36px;
  }
  .qp-btn-add-text {
    display: none;
  }
  .qp-btn-add i {
    font-size: 14px;
  }
  .qp-dd__menu {
    max-height: 50vh;
    padding: 2px;
    z-index: 50;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
  }
  .qp-dd__opt {
    padding: 8px;
    gap: 6px;
  }
  .qp-dd__opt-name {
    font-size: 12px;
    white-space: normal;
    line-height: 1.3;
  }
  .qp-dd__opt-price,
  .qp-dd__opt-price-old {
    font-size: 11px;
  }
}

/* ===== Tabs (Đã mua / Mua nhanh) ===== */
.qp-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid #eef0f4;
  margin-bottom: 16px;
}
.qp-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 0;
  background: transparent;
  color: #6b7186;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s;
  border-radius: 8px 8px 0 0;
  margin-bottom: -2px;
  border-bottom: 2px solid transparent;
}
.qp-tab:hover {
  color: var(--color-highlight);
}
.qp-tab.is-active {
  color: var(--color-highlight);
  border-bottom-color: var(--color-highlight);
  background: rgba(255, 121, 72, .04);
}
.qp-tab-pane {
  display: none;
}
.qp-tab-pane.is-active {
  display: block;
}

/* ===== Loading state cho tab Mua nhanh ===== */
.qp-all-list-wrap.qp-loading {
  opacity: .6;
  pointer-events: none;
  position: relative;
  min-height: 120px;
}
.qp-all-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 16px;
  color: #9aa0b4;
  font-size: 14px;
}
.qp-all-placeholder i {
  font-size: 18px;
  color: var(--color-highlight);
}

/* ===== Dropdown danh mục (1 dòng + panel scroll) ===== */
.qp-cat-dropdown {
  position: relative;
  margin-bottom: 14px;
}
.qp-cat-dd__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border: 1.5px solid #eef0f4;
  border-radius: 10px;
  background: #fff;
  color: #4a516d;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.qp-cat-dd__trigger:hover {
  border-color: var(--color-highlight);
}
.qp-cat-dropdown.is-open .qp-cat-dd__trigger {
  border-color: var(--color-highlight);
  box-shadow: 0 0 0 3px rgba(255, 121, 72, .08);
}
.qp-cat-dd__label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qp-cat-dd__label b {
  color: #2c3145;
  font-weight: 600;
  margin-left: 4px;
}
.qp-cat-dd__caret {
  color: #9aa0b4;
  font-size: 12px;
  transition: transform .2s;
}
.qp-cat-dropdown.is-open .qp-cat-dd__caret {
  transform: rotate(180deg);
  color: var(--color-highlight);
}
.qp-cat-dd__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(20, 24, 60, .12);
  display: none;
  overflow: hidden;
}
.qp-cat-dropdown.is-open .qp-cat-dd__panel {
  display: block;
}
.qp-cat-dd__search {
  position: relative;
  padding: 10px;
  border-bottom: 1px solid #eef0f4;
}
.qp-cat-dd__search i {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa0b4;
  font-size: 13px;
  pointer-events: none;
}
.qp-cat-dd__search input {
  width: 100%;
  height: 34px;
  padding: 0 12px 0 32px;
  border: 1.5px solid #eef0f4;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  color: #2c3145;
  outline: none;
  transition: border-color .2s;
}
.qp-cat-dd__search input:focus {
  border-color: var(--color-highlight);
}
.qp-cat-dd__list {
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
}
.qp-cat-dd__list::-webkit-scrollbar {
  width: 6px;
}
.qp-cat-dd__list::-webkit-scrollbar-thumb {
  background: #d8dbe6;
  border-radius: 3px;
}
.qp-cat-dd__opt {
  display: block;
  padding: 8px 10px;
  color: #4a516d;
  font-size: 13px;
  text-decoration: none;
  border-radius: 6px;
  transition: background .15s, color .15s;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qp-cat-dd__opt:hover {
  background: #f6f7fb;
  color: var(--color-highlight);
  text-decoration: none;
}
.qp-cat-dd__opt.is-active {
  background: rgba(255, 121, 72, .12);
  color: var(--color-highlight);
  font-weight: 600;
}
.qp-cat-dd__opt-bullet {
  color: #c1c5d4;
  margin-right: 4px;
}

@media (max-width: 575px) {
  .qp-tab {
    padding: 8px 12px;
    font-size: 13px;
  }
  .qp-cat-dd__panel {
    max-height: 60vh;
    overflow-y: auto;
  }
  .qp-cat-dd__list {
    max-height: none;
  }
}

/* ===== Bulk select bar (tab Mua nhanh) ===== */
.qp-bulk-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  background: #f8f9fc;
  border: 1px solid #eef0f4;
  border-radius: 10px;
  flex-wrap: wrap;
}
.qp-bulk-bar__check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
  user-select: none;
}
.qp-bulk-bar__check-text {
  font-size: 13px;
  font-weight: 600;
  color: #2c3145;
}
.qp-bulk-bar__count {
  font-size: 13px;
  color: #6b7186;
  margin-right: auto;
}
.qp-bulk-bar__count b {
  color: var(--color-highlight);
  font-weight: 700;
  margin: 0 2px;
}
.qp-bulk-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--color-highlight);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s, transform .1s;
}
.qp-bulk-bar__btn:hover:not(:disabled) {
  opacity: .9;
}
.qp-bulk-bar__btn:active:not(:disabled) {
  transform: translateY(1px);
}
.qp-bulk-bar__btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.qp-bulk-bar__btn.loading {
  opacity: .65;
  pointer-events: none;
}

/* Checkbox custom (dùng chung cho bulk-bar + per-row) */
.qp-row-check,
.qp-bulk-bar__check {
  position: relative;
}
.qp-row-check {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  margin: 0 4px 0 0;
  cursor: pointer;
}
.qp-row-check input[type="checkbox"],
.qp-bulk-bar__check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.qp-row-check__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid #d8dbe6;
  border-radius: 5px;
  background: #fff;
  color: transparent;
  font-size: 11px;
  transition: background .15s, border-color .15s, color .15s;
}
.qp-row-check input[type="checkbox"]:checked + .qp-row-check__box,
.qp-bulk-bar__check input[type="checkbox"]:checked + .qp-row-check__box {
  background: var(--color-highlight);
  border-color: var(--color-highlight);
  color: #fff;
}
.qp-bulk-bar__check input[type="checkbox"]:indeterminate + .qp-row-check__box {
  background: var(--color-highlight);
  border-color: var(--color-highlight);
  color: #fff;
}
.qp-bulk-bar__check input[type="checkbox"]:indeterminate + .qp-row-check__box i::before {
  content: "\f068";
}
.qp-row-check:hover .qp-row-check__box,
.qp-bulk-bar__check:hover .qp-row-check__box {
  border-color: var(--color-highlight);
}

/* Selectable row layout */
.qp-product-row--selectable {
  align-items: center;
}

@media (max-width: 575px) {
  .qp-bulk-bar {
    padding: 8px 10px;
    gap: 8px;
  }
  .qp-bulk-bar__count {
    font-size: 12px;
    width: 100%;
    order: 3;
    margin-right: 0;
    text-align: center;
  }
  .qp-bulk-bar__btn {
    height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }
  .qp-row-check {
    margin-right: 2px;
  }
  .qp-row-check__box {
    width: 18px;
    height: 18px;
  }
}

/* Agency Policy Page */
.agency-policy-page {
  padding: 20px;
}

.agency-policy-hero {
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #effcf3 0%, #f8fbff 100%);
  border: 1px solid #d7f2e1;
}

.agency-policy-hero-kicker {
  margin-bottom: 8px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-highlight);
  font-weight: 700;
}

.agency-policy-hero-title {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.agency-policy-hero-desc {
  margin-bottom: 0;
  max-width: 760px;
  color: #475569;
  text-align: justify;
}

.agency-policy-current-tier {
  margin-top: 14px;
  display: inline-block;
  border-radius: 12px;
  padding: 8px 16px;
  background: rgba(34, 147, 80, 0.12);
  color: #14532d;
  font-size: 14px;
  line-height: 1.5;
}

.agency-policy-tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.agency-policy-tier-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.agency-policy-tier-card-head {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

.agency-policy-tier-card.is-bronze {
  border-color: #cd7f32;
  box-shadow: 0 4px 12px rgba(205, 127, 50, 0.15);
}
.agency-policy-tier-card.is-bronze .agency-policy-tier-card-head {
  background: linear-gradient(135deg, #df9f68 0%, #cd7f32 100%);
  color: #fff;
}

.agency-policy-tier-card.is-silver {
  border-color: #a8a9ad;
  box-shadow: 0 4px 12px rgba(168, 169, 173, 0.15);
}
.agency-policy-tier-card.is-silver .agency-policy-tier-card-head {
  background: linear-gradient(135deg, #E0E0E0 0%, #A0A0A0 100%);
  color: #222;
}

.agency-policy-tier-card.is-gold {
  border-color: #d4af37;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}
.agency-policy-tier-card.is-gold .agency-policy-tier-card-head {
  background: linear-gradient(135deg, #f3d562 0%, #d4af37 100%);
  color: #222;
}

.agency-policy-tier-card.is-platinum {
  border-color: #2c2e33;
  box-shadow: 0 4px 12px rgba(44, 46, 51, 0.15);
}
.agency-policy-tier-card.is-platinum .agency-policy-tier-card-head {
  background: linear-gradient(135deg, #F0F2F5 0%, #B9C6D2 100%);
  color: black;
}

.agency-policy-tier-card.is-titan {
  border-color: #34495E;
  box-shadow: 0 4px 12px rgba(52, 73, 94, 0.15);
}
.agency-policy-tier-card.is-titan .agency-policy-tier-card-head {
  background: linear-gradient(135deg, #414345 0%, #232526 100%);
  color: #fff;
}

.agency-policy-tier-card.is-diamond {
  border-color: #5EB4EB;
  box-shadow: 0 4px 12px rgba(94, 180, 235, 0.15);
}
.agency-policy-tier-card.is-diamond .agency-policy-tier-card-head {
  background: linear-gradient(135deg, #B9F2FF 0%, #66b2e3 100%);
  color: #1a1a1a;
}

.agency-policy-tier-name {
  font-size: 22px;
  margin-bottom: 0.5rem;
}

.agency-policy-tier-level {
  margin-bottom: 0;
  font-size: 12px;
  opacity: 0.9;
}

.agency-policy-tier-discount {
  font-size: 22px;
  font-weight: 700;
}

.agency-policy-tier-body {
  padding: 14px 16px 16px;
}

.agency-policy-tier-section + .agency-policy-tier-section {
  margin-top: 12px;
}

.agency-policy-tier-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 8px;
}

.agency-policy-tier-list {
  margin: 0;
  padding-left: 17px;
  color: #334155;
  font-size: 14px;
}

.agency-policy-tier-list li + li {
  margin-top: 6px;
}

.agency-policy-tier-benefit {
  margin-bottom: 0;
  color: #334155;
  font-size: 14px;
}

.agency-policy-compare {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.agency-policy-compare table th,
.agency-policy-compare table td {
  vertical-align: middle;
  padding: 12px;
}

.agency-policy-compare table thead th {
  background: #229350;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  border-color: rgba(255, 255, 255, 0.2);
}

.agency-policy-compare table tbody td:first-child {
  font-weight: 700;
  white-space: nowrap;
}

.agency-policy-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  color: #64748b;
  text-align: center;
  padding: 22px 16px;
}

@media (max-width: 991px) {
  .agency-policy-tier-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .agency-policy-hero-kicker{
        font-size: 14px;
  }
  .agency-policy-page {
    padding: 16px;
  }

  .agency-policy-hero {
    padding: 16px;
  }

  .agency-policy-hero-title {
    font-size: 24px;
  }
}
