@charset "UTF-8";
:root {
  --main-color: #003d79;
  --main-color-primary: #035eb7;
  --main-color-secondary: #e6f3f9;
  --margin-elm: 16px;
  --padding-section-elm: 24px;
  --gap-section-elm: 20px;
  --gap-section-elm-small: 8px;
  --border-radius-elm: 8px;
  --global-border-default: rgba(197, 198, 204, 0.6);
  --global-color-success: #4aaa42; }

.btn-main {
  padding: 8px 12px;
  min-height: 37px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  background: #fff;
  cursor: pointer;
  box-shadow: none;
  outline: none;
  transition: background 0.15s ease, color 0.15s ease; }
  .btn-main:hover {
    background: var(--main-color);
    color: #fff; }
  .btn-main:focus {
    outline: none;
    box-shadow: none; }
  .btn-main:disabled, .btn-main[disabled] {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none; }

.btn-main--primary {
  padding: 8px 12px;
  min-height: 46px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--main-color-primary);
  background: var(--main-color-primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  outline: none;
  transition: background 0.15s ease, color 0.15s ease;
  text-transform: initial; }
  .btn-main--primary:hover {
    background: var(--blue-600);
    color: #fff; }
  .btn-main--primary:focus {
    outline: none;
    box-shadow: none;
    color: #fff; }
  .btn-main--primary:disabled, .btn-main--primary[disabled] {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none; }
  .btn-main--primary.btn-main--large {
    padding: 12px 40px; }

.btn-main--primary-white,
a[href^='/account/orders/'] {
  padding: 8px 12px;
  min-height: 46px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--main-color);
  background: #fff;
  color: var(--main-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  outline: none;
  transition: background 0.15s ease, color 0.15s ease;
  text-transform: initial; }
  .btn-main--primary-white:hover,
  a[href^='/account/orders/']:hover {
    background: var(--main-color);
    color: #fff; }
  .btn-main--primary-white:focus,
  a[href^='/account/orders/']:focus {
    outline: none;
    box-shadow: none; }
  .btn-main--primary-white:disabled, .btn-main--primary-white[disabled],
  a[href^='/account/orders/']:disabled,
  a[href^='/account/orders/'][disabled] {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none; }

.btn-main--primary-white:hover {
  color: #fff; }

.btn-main--secondary {
  padding: 8px 12px;
  min-height: 46px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none;
  border: none;
  box-shadow: none;
  outline: none;
  color: var(--main-color);
  background: var(--main-color-secondary);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: initial; }
  .btn-main--secondary.btn-main--large {
    min-width: 342px; }
  .btn-main--secondary:hover {
    background: var(--main-color);
    color: #fff; }
  .btn-main--secondary:focus {
    outline: none;
    box-shadow: none; }
  .btn-main--secondary:disabled, .btn-main--secondary[disabled] {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none; }

/* Trang đăng nhập — layout 2 cột (desktop), card form bên phải */
.customer-login-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 48px;
  overflow: hidden; }
  @media (max-width: 767px) {
    .customer-login-page {
      padding: 32px 0px 48px; } }

.customer-login-page__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--global-color-page-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; }

.customer-login-page__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center; }

@media (min-width: 992px) {
  .customer-login-page__inner {
    grid-template-columns: 1fr minmax(360px, 480px);
    gap: 48px 64px; } }

.customer-login-page__brand {
  color: var(--global-color-brand);
  text-align: center; }

@media (min-width: 992px) {
  .customer-login-page__brand {
    text-align: left; } }

.customer-login-page__welcome {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 140%;
  max-width: 495px;
  margin-left: auto;
  margin-right: auto; }

@media (min-width: 992px) {
  .customer-login-page__welcome {
    margin-left: 0;
    margin-right: 0;
    font-size: 24px; } }

.customer-login-page__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px; }

.customer-login-page__logo-img {
  width: auto;
  max-height: 93px;
  object-fit: contain; }

.customer-login-page__logo-text {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--global-color-brand); }

.customer-login-page__logo-star {
  width: clamp(2rem, 5vw, 3rem);
  height: auto;
  flex-shrink: 0; }

.customer-login-page__card {
  background: var(--global-color-surface);
  border-radius: 12px;
  box-shadow: 0 12px 40px var(--global-color-shadow-card);
  padding: 32px 20px;
  position: relative; }

.customer-login-page__card .forgot-pass-panel {
  display: none; }

.customer-login-page__card.is-forgot-panel .login-panel {
  display: none; }

.customer-login-page__card.is-forgot-panel .forgot-pass-panel {
  display: block; }

.customer-login-page__title {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  color: var(--global-color-text-heading); }

.customer-login-page__title--forgot {
  text-align: left;
  font-weight: 700;
  color: var(--global-color-text-heading); }

.customer-login-page__errors {
  margin-bottom: 16px;
  padding: 12px 14px;
  font-size: 0.875rem;
  color: var(--global-color-error);
  background: var(--global-color-error-surface);
  border: 1px solid var(--global-color-error-border);
  border-radius: 8px; }

.customer-login-page__recover-success {
  margin-bottom: 16px;
  padding: 12px 14px;
  font-size: 0.875rem;
  color: var(--global-color-text-body);
  background: rgba(3, 94, 183, 0.08);
  border: 1px solid rgba(3, 94, 183, 0.2);
  border-radius: 8px; }

.customer-field {
  position: relative;
  margin-bottom: 16px; }
  .customer-field.ajax-list-required-passowrd, .customer-field.ajax-list-required-passowrd-old {
    display: flex;
    flex-direction: column; }
    .customer-field.ajax-list-required-passowrd .customer-field__error:first-child, .customer-field.ajax-list-required-passowrd-old .customer-field__error:first-child {
      margin-top: 0; }
  .customer-field.ajax-list-required-passowrd-old {
    color: #f00; }
  .customer-field.disabled {
    pointer-events: none; }
    .customer-field.disabled .customer-field__control {
      background: #eff0f0;
      border-color: #eff0f0; }
      .customer-field.disabled .customer-field__control .customer-field__code {
        border-color: rgba(197, 198, 204, 0.6); }
      .customer-field.disabled .customer-field__control input {
        color: #989897; }

.customer-field__control {
  display: flex;
  align-items: center;
  min-height: 72px;
  border: 1px solid var(--global-color-border-default);
  border-radius: 8px;
  background: var(--global-color-surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative; }

.customer-field__label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--global-color-label-muted);
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 2; }
  @media (max-width: 767px) {
    .customer-field__label {
      position: relative;
      display: block;
      left: 0;
      transform: unset !important;
      top: 0 !important; } }
  .customer-field__label span {
    font-weight: normal; }

.customer-field__input {
  width: 100%;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 20px 16px 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--global-color-text-body);
  outline: none; }
  @media (max-width: 767px) {
    .customer-field__input {
      padding: 0 16px; } }

select.customer-field__input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  padding-right: 30px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='size-6'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position-x: right 16px;
  background-position-y: 21px; }

.customer-field__control--date {
  position: relative; }

.customer-field__input--date {
  appearance: none;
  -webkit-appearance: none;
  min-height: 70px;
  padding-right: 52px;
  color: var(--global-color-text-body); }

.customer-field__input--date::-webkit-date-and-time-value {
  text-align: left; }

.customer-field__input--date::-webkit-datetime-edit {
  color: var(--global-color-text-body);
  font-weight: 500; }

.customer-field__input--date::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 24px;
  height: 24px;
  margin: 0;
  transform: translateY(-50%);
  opacity: 0;
  cursor: pointer;
  z-index: 3; }

.customer-field__control--date::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 16px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  opacity: 0.85;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23666' stroke-width='1.75'%3E%3Crect x='3.75' y='5.75' width='16.5' height='14.5' rx='2'/%3E%3Cpath d='M8 3.75V8M16 3.75V8M3.75 10.25h16.5'/%3E%3C/svg%3E"); }

.customer-field__input--date-alt {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 20px 16px 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--global-color-text-body);
  outline: none; }

.air-datepicker-global-container {
  width: 100%; }
  .air-datepicker-global-container .air-datepicker {
    width: 100%;
    max-width: 343px;
    padding: 16px;
    border-radius: 12px;
    background: #f5fcff;
    border-color: #ebebeb; }
    .air-datepicker-global-container .air-datepicker .air-datepicker--pointer {
      display: none; }
    .air-datepicker-global-container .air-datepicker .air-datepicker--navigation .air-datepicker-nav {
      border: none; }
      .air-datepicker-global-container .air-datepicker .air-datepicker--navigation .air-datepicker-nav .air-datepicker-nav--title {
        order: 1;
        font-size: 16px;
        line-height: 1.2;
        font-weight: 600; }
      .air-datepicker-global-container .air-datepicker .air-datepicker--navigation .air-datepicker-nav .air-datepicker-nav--action[data-action='prev'] {
        order: 2;
        margin-left: auto; }
      .air-datepicker-global-container .air-datepicker .air-datepicker--navigation .air-datepicker-nav .air-datepicker-nav--action[data-action='next'] {
        order: 3; }

.customer-field__input::placeholder {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  color: #fff; }

.customer-field.is-invalid .customer-field__label {
  top: 35%; }

.customer-field.is-focused .customer-field__control .customer-field__flag, .customer-field.is-focused .customer-field__control .customer-field__code,
.customer-field.has-value .customer-field__control .customer-field__flag,
.customer-field.has-value .customer-field__control .customer-field__code {
  display: inline-flex; }

.customer-field.is-focused .customer-field__label,
.customer-field.has-value .customer-field__label {
  top: 14px;
  transform: translateY(0);
  font-size: 14px;
  color: var(--global-color-label-active); }
  .customer-field.is-focused .customer-field__label .customer-field__required,
  .customer-field.has-value .customer-field__label .customer-field__required {
    color: #ff0202; }

.customer-field.is-focused .customer-field__input::placeholder,
.customer-field.has-value .customer-field__input::placeholder {
  color: var(--global-color-text-placeholder); }

.customer-field--phone .customer-field__control {
  padding: 0 16px; }

.customer-field__note {
  margin-top: 8px;
  display: none; }

.customer-field:not(.disabled) .customer-field__note {
  display: block; }

.customer-field__error {
  font-size: 14px;
  color: #f00;
  display: inline-block;
  margin-top: 14px;
  padding-left: 22px;
  background: url(https://cdn.hstatic.net/files/200001144887/file/info__1__1.svg) no-repeat left center;
  background-size: 14px; }

.customer-status-message {
  font-size: 14px;
  color: #f00;
  display: inline-block;
  margin-bottom: 14px;
  padding-left: 22px;
  background: url(https://cdn.hstatic.net/files/200001144887/file/info__1__1.svg) no-repeat left 4px;
  background-size: 14px; }
  .customer-status-message.is-success {
    color: #008000;
    padding-left: 0;
    background: none; }

.customer-field__flag, .customer-field__code {
  margin-top: 20px; }
  @media (max-width: 767px) {
    .customer-field__flag, .customer-field__code {
      margin-top: 0; } }

.customer-field__flag {
  display: none;
  align-items: center;
  justify-content: center;
  margin-right: 10px; }
  @media (max-width: 767px) {
    .customer-field__flag {
      display: none !important; } }

.customer-field__flag img {
  display: block;
  border-radius: 2px; }

.customer-field__code {
  display: none;
  align-items: center;
  padding-right: 14px;
  border-right: 1px solid var(--global-color-border-divider);
  font-size: 1rem;
  color: var(--global-color-text-muted); }

.customer-field--phone .customer-field__input {
  padding-left: 14px; }

.customer-field--password .customer-field__input {
  padding-right: 54px; }

.customer-field__toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--global-color-icon-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  outline: none; }
  .customer-field__toggle:hover, .customer-field__toggle:focus, .customer-field__toggle:focus-within {
    background: none;
    outline: none; }

.customer-field__icon.icon-eye-hide {
  display: none; }

.customer-field__toggle.is-revealed .customer-field__icon.icon-eye-show {
  display: none; }

.customer-field__toggle.is-revealed .customer-field__icon.icon-eye-hide {
  display: block; }

.customer-field.customer-field-v2 .customer-field__label {
  position: static;
  transform: none;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #111; }

.customer-field.customer-field-v2 .customer-field__control {
  height: 48px;
  min-height: auto;
  padding: 12px 16px;
  border: 0.5px solid rgba(197, 198, 204, 0.6);
  border-radius: 8px; }

.customer-field.customer-field-v2.customer-field--password .customer-field__input,
.customer-field.customer-field-v2 .customer-field__input {
  padding: 0;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  line-height: 1.4; }

.customer-field.customer-field-v2 .customer-field__input::placeholder {
  color: #b5b5b5; }

.customer-field.customer-field-v2 .customer-field__toggle {
  position: static;
  transform: none;
  border-radius: 0;
  color: #8f9098;
  flex: 0 0 auto; }

.customer-field.customer-field-v2.is-invalid .customer-field__label,
.customer-field.customer-field-v2.is-focused .customer-field__label,
.customer-field.customer-field-v2.has-value .customer-field__label {
  top: auto;
  transform: none; }

.customer-login-page__forgot {
  text-align: center;
  margin: 0 0 24px 0; }

.customer-login-page__forgot-btn {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
  color: var(--global-color-link);
  cursor: pointer;
  outline: none;
  box-shadow: none; }

.customer-login-page__forgot-btn:hover {
  text-decoration: underline; }

.customer-login-page__submit {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  color: var(--global-color-on-primary);
  background: var(--global-color-primary);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease; }

.customer-login-page__submit:hover {
  background: var(--global-color-primary-hover); }

.customer-login-page__submit:active {
  transform: scale(0.99); }

.customer-login-page__register {
  margin: 20px 0 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.2;
  color: var(--global-color-text-caption); }

.customer-login-page__register a {
  font-weight: 500;
  color: var(--global-color-primary);
  text-decoration: none; }

.customer-login-page__register a:hover {
  text-decoration: underline; }

.customer-login-page__switch-login {
  margin: 20px 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--global-color-text-caption); }

.customer-login-page__link-as-btn {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  color: var(--global-color-primary);
  cursor: pointer;
  text-decoration: none; }

.customer-login-page__link-as-btn:hover {
  text-decoration: underline; }

/* Trang đăng ký — card căn giữa, một cột */
.customer-login-page--register .customer-login-page__inner {
  max-width: 685px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: 1fr; }

@media (min-width: 992px) {
  .customer-login-page--register .customer-login-page__inner {
    grid-template-columns: 1fr; } }

.customer-login-page__subtitle {
  margin: -8px 0 24px;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--global-color-text-caption); }

.customer-register-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px; }

.customer-register-name-row .customer-field {
  margin-bottom: 0; }

@media (max-width: 576px) {
  .customer-register-name-row {
    grid-template-columns: 1fr; } }

.customer-register__name-hint {
  display: none;
  font-size: 0.8125rem;
  color: var(--global-color-danger);
  margin: 0 0 12px; }

.customer-register__name-hint.is-visible {
  display: block; }

.customer-register__terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 4px;
  padding: 4px 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--global-color-text-body);
  border-radius: 8px; }
  .customer-register__terms#RegisterTermsWrap2 {
    margin-bottom: 16px; }
  .customer-register__terms + p {
    font-weight: 600;
    margin-bottom: 8px; }

.customer-register__terms.is-invalid {
  outline: 1px solid var(--global-color-danger);
  outline-offset: 2px; }

.customer-register__checkbox {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--global-color-primary);
  cursor: pointer; }

.customer-register__terms-label {
  cursor: pointer;
  margin: 0;
  font-size: 15px;
  line-height: 1.2; }

.customer-register__terms-label a {
  font-weight: 500;
  color: var(--global-color-primary);
  text-decoration: none; }

.customer-register__terms-label a:hover {
  text-decoration: underline; }

/* Fancybox 3 — nội dung inline ẩn; overlay do .fancybox-container xử lý */
#fancybox-customer-password-success,
#fancybox-customer-register-success,
#fancybox-customer-otp,
#fancybox-customer-reset-password,
#fancybox-customer-lock-account,
#fancybox-customer-delete-address,
#fancybox-customer-exit-edit,
#fancybox-customer-logout,
#fancybox-customer-order-rating,
#fancybox-customer-network-error,
#fancybox-customer-loyalty-gift,
#fancybox-customer-loyalty-tiers,
#fancybox-customer-migrate-terms {
  width: 100%;
  max-width: 390px; }

.fancybox-customer__status-form .cv-error {
  color: #ff0202; }

.fancybox-customer__status-form .cv-success {
  color: var(--global-color-success); }

.fancybox-slide--customer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px; }

.fancybox-slide--customer .fancybox-content {
  padding: 0;
  margin: 0;
  width: auto;
  max-width: 100%;
  background: transparent;
  overflow: visible; }

.fancybox-customer__sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  max-height: calc(100vh - 32px);
  overflow-y: visible;
  margin: auto;
  padding: 24px 30px;
  background: #fff;
  border-radius: 8px;
  border: none;
  box-shadow: none;
  outline: none; }
  .fancybox-customer__sheet.fancybox-customer__sheet--custom {
    max-width: 420px; }
    .fancybox-customer__sheet.fancybox-customer__sheet--custom .fancybox-customer__lock-account-content-desc {
      text-align: center;
      color: #929292;
      margin: 0; }
  .fancybox-customer__sheet.fancybox-customer__sheet--lock-account {
    max-width: 332px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px; }
    .fancybox-customer__sheet.fancybox-customer__sheet--lock-account .fancybox-customer__title {
      margin: 0;
      width: 100%;
      text-align: center;
      font-weight: 600;
      color: #111;
      line-height: 1.4; }
    .fancybox-customer__sheet.fancybox-customer__sheet--lock-account .fancybox-customer__lock-account-content {
      width: 100%; }
    .fancybox-customer__sheet.fancybox-customer__sheet--lock-account .fancybox-customer__lock-account-content-desc {
      font-size: 14px;
      line-height: 1.2;
      font-weight: 400;
      line-height: 1.4;
      text-align: center;
      color: #929292;
      margin: 0; }
    .fancybox-customer__sheet.fancybox-customer__sheet--lock-account .btn-main--primary-white, .fancybox-customer__sheet.fancybox-customer__sheet--lock-account .btn-main--primary {
      width: 100%;
      min-height: 48px;
      padding: 12px 40px; }
    .fancybox-customer__sheet.fancybox-customer__sheet--lock-account .btn-main--primary-white {
      border-color: var(--blue-600, #003d79);
      color: var(--blue-600, #003d79); }
      .fancybox-customer__sheet.fancybox-customer__sheet--lock-account .btn-main--primary-white:hover, .fancybox-customer__sheet.fancybox-customer__sheet--lock-account .btn-main--primary-white:focus {
        color: #fff; }

.fancybox-customer__sheet--otp {
  max-width: 420px; }

.fancybox-customer__sheet--success {
  max-width: 400px;
  text-align: center;
  padding-top: 40px; }

.fancybox-customer__sheet--form {
  max-width: 440px;
  padding-top: 40px; }

.fancybox-customer__close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 34px;
  height: 34px;
  border: 1px solid #fff;
  padding: 0;
  border-radius: 50%;
  background: #555e67;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease; }
  .fancybox-customer__close svg {
    width: 14px;
    height: 14px; }
    .fancybox-customer__close svg path {
      fill: #fff; }
  .fancybox-customer__close:hover {
    background: var(--global-color-icon-muted); }

.fancybox-customer__close:hover {
  background: #1a1d22; }

.fancybox-customer__close-icon {
  font-size: 22px;
  line-height: 1;
  font-weight: 300; }

.fancybox-customer__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--global-color-text-heading); }

.fancybox-customer__title--center {
  text-align: center; }

.fancybox-customer__title--left {
  text-align: left;
  font-weight: 700;
  margin-bottom: 20px; }

.fancybox-customer__desc {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--global-color-text-caption); }

.fancybox-customer__desc--center {
  text-align: center;
  margin-bottom: 28px; }

.fancybox-customer__lock-account-content {
  display: flex;
  flex-direction: column;
  gap: 16px; }

.fancybox-customer__otp-row {
  display: flex;
  justify-content: center;
  gap: 5.4px;
  margin-bottom: 16px;
  flex-wrap: nowrap; }

.fancybox-customer__otp-cell {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 26px;
  line-height: 40px;
  font-weight: 500;
  border: 1px solid var(--global-color-border-default-2);
  border-radius: 10px;
  background: var(--global-color-surface);
  color: var(--global-color-text-body);
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease; }

.fancybox-customer__otp-cell:focus {
  border-color: var(--global-color-primary); }

.fancybox-customer__timer {
  margin: 0 0 20px;
  font-size: 0.875rem;
  text-align: center;
  color: var(--global-color-text-caption); }

.fancybox-customer__timer-value {
  font-weight: 700;
  color: var(--global-color-primary); }

.fancybox-customer__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.2s ease, transform 0.1s ease; }

.fancybox-customer__btn--primary {
  color: var(--global-color-on-primary);
  background: var(--global-color-primary);
  outline: none;
  box-shadow: none; }
  .fancybox-customer__btn--primary:focus, .fancybox-customer__btn--primary:focus-within {
    outline: none;
    box-shadow: none;
    color: #fff; }
  .fancybox-customer__btn--primary:disabled, .fancybox-customer__btn--primary[disabled] {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none; }

.fancybox-customer__btn--primary:hover {
  background: var(--global-color-primary-hover);
  color: #fff;
  text-decoration: none; }

.fancybox-customer__btn--primary:active {
  transform: scale(0.99); }

.fancybox-customer__btn--outline {
  margin-top: 12px;
  color: var(--global-color-text-heading);
  background: var(--global-color-surface);
  border: 1px solid var(--global-color-border-default); }

.fancybox-customer__btn--outline:hover {
  border-color: var(--global-color-primary);
  color: var(--global-color-primary); }

.fancybox-customer__btn-icon {
  flex-shrink: 0; }

.fancybox-customer__link-btn {
  display: block;
  width: 100%;
  margin: 16px 0 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--global-color-primary);
  cursor: pointer;
  text-decoration: none;
  outline: none;
  box-shadow: none; }
  .fancybox-customer__link-btn:focus, .fancybox-customer__link-btn:focus-within {
    outline: none;
    box-shadow: none; }

.fancybox-customer__link-btn:hover {
  text-decoration: underline; }

.fancybox-customer__separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--global-color-text-caption);
  font-size: 0.875rem; }

.fancybox-customer__separator::before,
.fancybox-customer__separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--global-color-border-divider); }

.fancybox-customer__separator span {
  flex-shrink: 0; }

.fancybox-customer__success-icon {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center; }
  .fancybox-customer__success-icon img {
    max-width: 100%; }

.fancybox-customer__form {
  margin: 0; }

.fancybox-customer__form .fancybox-customer__field {
  margin-bottom: 16px; }

@media (max-width: 991px) {
  .customer-field__label,
  .customer-field__input,
  .customer-field__code {
    font-size: 1.4rem; }
  .customer-field__control {
    min-height: 64px; }
  .fancybox-customer__otp-cell {
    width: 44px;
    height: 44px;
    font-size: 1.1rem; } }

@media (max-width: 767px) {
  .customer-field__label, .customer-field__input, .customer-field__code {
    font-size: 14px; } }

/* —— Trang tài khoản (Figma: Tài khoản / loyalty overview) —— */
.customer-account-page {
  padding: 40px 0 56px;
  background: #f7f7f7;
  min-height: 60vh; }

.customer-account-page__title {
  margin: 0 0 19px;
  font-size: 40px;
  line-height: 1.3;
  font-weight: 500;
  color: #272727; }

.customer-account-page__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start; }

@media (min-width: 992px) {
  .customer-account-page__layout {
    grid-template-columns: minmax(260px, 342px) 1fr;
    gap: 16px; } }

.customer-account-sidebar {
  background: #fff;
  border-radius: 8px;
  padding: 8px 16px 24px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08); }

.customer-account-nav + .customer-account-nav {
  margin-top: 8px;
  padding-top: 8px; }

.customer-account-nav__heading {
  margin: 0;
  padding: 16px 0 12px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: #272727; }

.customer-account-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-section-elm-small); }

.customer-account-nav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  font-size: 16px;
  line-height: 1.2;
  color: #111;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease; }

.customer-account-nav__link:hover {
  background: rgba(3, 94, 183, 0.06);
  color: var(--main-color); }

.customer-account-nav__link.is-active {
  background: #e5e7eb;
  font-weight: 500; }

.customer-account-nav__link--logout {
  border-bottom: none;
  color: #ff0202;
  margin-top: 8px; }

.customer-account-nav__link--logout:hover {
  background: rgba(255, 2, 2, 0.06);
  color: #ff0202; }

.customer-account-nav__link--logout .customer-account-nav__icon img {
  filter: none; }

.customer-account-nav__icon {
  flex-shrink: 0;
  display: flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center; }

.customer-account-nav__icon img {
  display: block;
  max-width: 20px;
  max-height: 20px;
  object-fit: contain; }

.customer-account-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0; }

/* —— Đổi mật khẩu (Figma WF_TH-True-Milk 199:16137) —— */
.customer-account-password {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
  padding: 24px 20px;
  border-radius: 8px;
  background: #fff; }

.customer-account-password__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  line-height: normal;
  color: #111; }

.customer-account-password__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding-top: 24px; }

.customer-account-password__status {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #ff0202; }

.customer-account-password__status.is-success {
  color: #4aaa42; }

.customer-account-password__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%; }

.customer-account-password__label {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #111; }

.customer-account-password__control {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  gap: 8px;
  border-radius: 8px;
  border: 0.5px solid rgba(197, 198, 204, 0.6);
  background: #fff; }

.customer-account-password__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  line-height: 1.4;
  color: #414141;
  outline: none; }

.customer-account-password__input::placeholder {
  color: #b5b5b5; }

.customer-account-password__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8f9098;
  cursor: pointer; }

.customer-account-password__icon.icon-eye-hide {
  display: none; }

.customer-account-password__toggle.is-revealed .customer-account-password__icon.icon-eye-show {
  display: none; }

.customer-account-password__toggle.is-revealed .customer-account-password__icon.icon-eye-hide {
  display: block; }

.customer-account-password__submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #035eb7;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease; }

.customer-account-password__submit:hover {
  background: #0054a5; }

.customer-account-password__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed; }

/* —— Thông tin cá nhân (Figma WF_TH-True-Milk 199:15781) —— */
.customer-account-profile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: 24px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08); }

.customer-account-profile__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: #111; }

.customer-account-profile__settings {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%; }

.customer-account-profile__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  box-sizing: border-box; }

.customer-account-profile__label {
  flex-shrink: 0;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  line-height: 1.4;
  color: #111; }

.customer-account-profile__value {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #606060;
  text-align: right; }

.customer-account-profile__value--break {
  word-break: break-word; }

.customer-account-profile__action {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #137ce3;
  text-decoration: none;
  cursor: pointer;
  text-align: right;
  white-space: nowrap; }

.customer-account-profile__action:hover {
  text-decoration: underline; }

.customer-account-profile__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%; }

/* —— Chỉnh sửa thông tin (Figma WF_TH-True-Milk 199:15862) —— */
.customer-account-update {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08); }

.customer-account-update__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%; }

.customer-account-update__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  text-decoration: none;
  color: #606060;
  font-size: 15px;
  line-height: 1.2;
  line-height: 1.4;
  letter-spacing: -0.01em; }

.customer-account-update__back:hover {
  color: var(--main-color-primary); }

.customer-account-update__back-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; }

.customer-account-update__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #111; }

.customer-account-update__form {
  display: flex;
  flex-direction: column;
  width: 100%; }

.customer-account-update__hidden-api-fields {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0; }

.customer-account-update__avatar-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
  margin-bottom: 12px; }

@media (max-width: 575px) {
  .customer-account-update__avatar-wrap {
    padding: 0 16px; } }

.customer-account-update__avatar {
  position: relative;
  width: 60px;
  height: 60px;
  flex-shrink: 0; }

.customer-account-update__avatar-change {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  justify-content: end;
  cursor: pointer; }
  .customer-account-update__avatar-change svg {
    width: 26px;
    height: 26px; }

.customer-account-update__avatar-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3ead1 0%, #e6d9a8 100%); }

.customer-account-update__avatar-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(270deg, #e3d79a 0%, #99820d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  overflow: hidden;
  border-radius: 100%; }

.customer-account-update__section {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  color: rgba(114, 114, 114, 0.7);
  margin-bottom: 12px; }
  .customer-account-update__section.mt-32 {
    margin-top: 32px; }
  .customer-account-update__section.mt-16 {
    margin-top: 16px; }

.customer-account-update__row {
  display: flex;
  gap: 12px;
  width: 100%; }
  .customer-account-update__row .customer-field {
    width: 100%; }
  @media (max-width: 767px) {
    .customer-account-update__row {
      flex-wrap: wrap; }
      .customer-account-update__row .customer-field {
        flex: 0 0 auto; } }

.customer-account-update__fields {
  display: flex;
  flex-direction: column;
  width: 100%; }

.customer-account-update__field {
  margin: 0; }

.customer-account-update__field-label {
  display: block;
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  line-height: 1.4;
  color: #111; }

.customer-account-update__field--gender {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0; }

.customer-account-update__field--gender .customer-account-update__field-label {
  padding: 0; }

.customer-account-update__input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 72px;
  padding: 8px 20px;
  border: 0.5px solid var(--global-border-default);
  border-radius: var(--border-radius-elm);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  line-height: 1.4;
  color: #414141;
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease; }

.customer-account-update__input::placeholder {
  color: #b5b5b5;
  font-weight: 500; }

.customer-account-update__input:hover, .customer-account-update__input:focus {
  border-color: rgba(3, 94, 183, 0.45); }

.customer-account-update__input:focus {
  box-shadow: 0 0 0 2px rgba(3, 94, 183, 0.15); }

.customer-account-update__gender-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 8px 20px;
  border: 0.5px solid var(--global-border-default);
  border-radius: var(--border-radius-elm);
  background: #fff; }

.customer-account-update__gender-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.3;
  color: #414141;
  cursor: pointer; }

.customer-account-update__gender-option input[type='radio'] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--main-color-primary);
  cursor: pointer; }

.customer-account-update__actions {
  display: flex;
  flex-direction: column;
  width: 100%; }

.customer-account-update__submit {
  width: 100%;
  min-width: 0;
  border: none; }

@media (max-width: 767px) {
  .customer-account-update__row#row_main_info {
    flex-wrap: wrap; }
    .customer-account-update__row#row_main_info input {
      width: 100%;
      flex: 0 0 auto; }
  .customer-account-update .customer-field__control {
    min-height: 45px; } }

/* —— Ngôn ngữ (Figma WF_TH-True-Milk 199:16092) —— */
.customer-account-language {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08); }

.customer-account-language__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%; }

.customer-account-language__description {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.5;
  color: #606060;
  letter-spacing: -0.01em; }

.customer-account-language__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%; }

.customer-account-language__option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding: 14px 18px;
  min-height: 56px;
  box-sizing: border-box;
  border-radius: var(--border-radius-elm);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease; }

.customer-account-language__input {
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  flex-shrink: 0;
  accent-color: var(--main-color-primary);
  cursor: pointer; }

.customer-account-language__option-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0; }

.customer-account-language__option-title {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.35;
  color: #111; }

.customer-account-language__option-meta {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #989897; }

.customer-account-language__input:checked + .customer-account-language__option-body .customer-account-language__option-title {
  color: var(--main-color-primary); }

.customer-account-language__input:focus-visible {
  outline: 2px solid rgba(3, 94, 183, 0.35);
  outline-offset: 2px; }

.customer-account-language__option:has(.customer-account-language__input:checked) {
  background: #e6f5fb; }

.customer-account-language__actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 4px; }

.customer-account-language__submit {
  width: 100%;
  min-width: 0;
  border: none; }

@media (max-width: 575px) {
  .customer-account-language {
    padding: 20px 16px;
    gap: 16px; } }

.customer-account-loyalty {
  background: var(--main-color-primary);
  border-radius: 8px;
  padding: 16px 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px; }

.customer-account-loyalty__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px; }

.customer-account-loyalty__member {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px; }
  @media (max-width: 991px) {
    .customer-account-loyalty__member {
      min-width: auto; } }

.customer-account-loyalty__name {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  color: #fff; }

.customer-account-loyalty__badge-inner {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 6px;
  background: linear-gradient(270deg, #d4c57a 0%, #99820d 100%); }

.customer-account-loyalty__badge-text {
  font-size: 14px;
  font-weight: 600;
  color: #fffdfd;
  text-transform: uppercase;
  letter-spacing: 0.02em; }

.customer-account-loyalty__barcode {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 12px;
  background: #f7f7f7;
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  min-width: 87px; }

.customer-account-loyalty__barcode:hover {
  opacity: 0.95; }

.customer-account-loyalty__barcode-img-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center; }

.customer-account-loyalty__barcode-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px; }

.customer-account-loyalty__barcode-caption {
  font-size: 10px;
  font-weight: 400;
  background: linear-gradient(90deg, #003d79 0%, #71d4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap; }

.customer-account-loyalty__panel {
  background: #fff;
  border-radius: 8px;
  padding: 12px 24px 16px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
  color: #111; }

.customer-account-loyalty__points-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-radius: 8px; }

.customer-account-loyalty__points {
  display: flex;
  align-items: center;
  gap: 8px; }
  .customer-account-loyalty__points .rank_badge {
    display: none; }
    .customer-account-loyalty__points .rank_badge.open {
      display: inline-block; }

.customer-account-loyalty__points-value {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  color: #003d79; }

.customer-account-loyalty__detail-link {
  font-size: 14px;
  font-weight: 500;
  color: #929292;
  text-decoration: none; }

.customer-account-loyalty__detail-link:hover {
  color: var(--main-color-primary);
  text-decoration: underline; }

.customer-account-loyalty__track-bar {
  position: relative;
  height: 10px;
  border-radius: 6px;
  background: #e7e7e7;
  overflow: hidden; }

.customer-account-loyalty__track-fill {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: var(--main-color-primary);
  max-width: 100%;
  transition: width 0.35s ease; }

.customer-account-loyalty__tiers {
  position: relative;
  min-height: 24px;
  margin-top: 4px; }
  .customer-account-loyalty__tiers.rank_2 .customer-account-loyalty__tier--start {
    display: none; }
  .customer-account-loyalty__tiers.rank_2 .customer-account-loyalty__tier--end {
    right: unset;
    left: 0;
    align-items: flex-start !important; }

.customer-account-loyalty__tier {
  position: absolute;
  top: -14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px; }

.customer-account-loyalty__tier--start {
  left: 0;
  transform: translateX(0); }

.customer-account-loyalty__tier--end {
  right: 0;
  transform: translateX(-200%);
  align-items: center; }

.customer-account-loyalty__tier-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--main-color-primary);
  border: 0.75px solid #fff; }

.customer-account-loyalty__tier--end .customer-account-loyalty__tier-dot {
  margin-left: 0;
  margin-right: 3px; }

.customer-account-loyalty__tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  display: none; }

.customer-account-loyalty__tier-badge img {
  flex-shrink: 0; }

.customer-account-loyalty__tier-badge--gold .customer-account-loyalty__tier-label {
  background: linear-gradient(to left, #99820d, #d4c57a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; }

.customer-account-loyalty__tier-badge--diamond .customer-account-loyalty__tier-label {
  background: linear-gradient(to right, #0c3d7d, #0c84b9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; }

.customer-account-loyalty__meta {
  margin: 8px 0 0;
  color: rgba(24, 24, 24, 0.6);
  text-align: left; }

.customer-account-loyalty__footer {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #fff; }

.customer-account-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px; }

@media (min-width: 768px) {
  .customer-account-cards {
    grid-template-columns: 1fr 1fr;
    gap: 16px; } }

.customer-account-card {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 20px 24px 24px;
  min-height: 190px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  justify-content: space-between; }
  .customer-account-card.customer-account-card--soil {
    align-items: center; }

.customer-account-card__gifts-content {
  display: flex;
  flex-direction: column; }

.customer-account-card__title {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  color: #414141; }

.customer-account-card__soil-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px; }

.customer-account-card__soil-balance {
  display: flex;
  align-items: center;
  gap: 4px; }

.customer-account-card__soil-amount {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: #99820d; }

.customer-account-card__soil-art {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center; }

.customer-account-card__soil-art img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; }

.customer-account-card__hint {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 300;
  color: #606060; }

.customer-account-card__actions {
  display: flex;
  gap: 8px 12px; }
  @media (max-width: 991px) {
    .customer-account-card__actions {
      flex-wrap: wrap; } }

.customer-account-card__gifts-lead {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2; }

.customer-account-card__gifts-muted {
  color: #272727;
  font-weight: 600; }

.customer-account-card__gifts-count {
  display: block;
  margin-top: 4px;
  color: var(--main-color);
  font-weight: 600; }

.customer-account-card__gifts-art {
  display: flex;
  align-items: center;
  justify-content: end; }

.customer-account-card__gifts-art img {
  width: 114px;
  height: 114px; }

.customer-account-card--gifts .customer-account-card__btn {
  margin-top: auto;
  position: relative;
  z-index: 1; }

.customer-account-wishlist {
  background: #fff;
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.06); }

.customer-account-wishlist__title {
  margin: 0 0 16px;
  font-size: 1.125rem;
  font-weight: 600;
  color: #272727; }

.customer-account-wishlist__grid .empty {
  margin: 0;
  color: #606060;
  font-size: 0.9375rem; }

/* —— Quản lý đơn hàng (Figma WF_TH-True-Milk 199:16407) —— */
.customer-account-orders {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  min-width: 0; }

.ajax-render-orders {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%; }

.customer-account-orders__header-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08); }

.customer-account-orders__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.3;
  color: #111; }

.customer-account-orders__tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 16px;
  padding: 8px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; }

.customer-account-orders__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.6);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.3;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease; }

.customer-account-orders__tab:hover {
  color: #003d79; }

.customer-account-orders__tab--active {
  color: #003d79;
  border-bottom-color: #035eb7; }

.customer-account-orders__tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 2px 6px;
  border-radius: 80px;
  background: linear-gradient(90deg, #ff2701 0%, #ff0202 100%);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  display: none; }

.customer-account-orders__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
  gap: 12px;
  width: 100%; }

.customer-account-orders__filter {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 44px;
  padding: 8px 8px 8px 12px;
  border: 0.5px solid var(--global-border-default);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #111;
  transition: border-color 0.15s ease; }

.customer-account-orders__filter:hover {
  border-color: rgba(3, 94, 183, 0.45); }

.customer-account-orders__filter-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px; }

.customer-account-orders__filter-icon {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0; }

.customer-account-orders__filter-chevron {
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #929292;
  flex-shrink: 0; }

.customer-account-orders__search {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 200px;
  min-width: 0;
  max-width: 100%;
  padding: 12px;
  border: 0.7px solid var(--global-border-default);
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box; }

@media (min-width: 576px) {
  .customer-account-orders__search {
    flex: 0 1 278px;
    max-width: 278px; } }

.customer-account-orders__search-icon {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0; }

.customer-account-orders__search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #111;
  outline: none; }

.customer-account-orders__search-input::placeholder {
  color: #929292; }

.customer-account-order-card__empty {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #606060;
  text-align: center; }

.customer-account-orders-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 24px 16px 8px;
  width: 100%; }

.customer-account-orders-empty__image-wrap {
  width: 138px;
  height: 153px;
  flex-shrink: 0; }

.customer-account-orders-empty__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain; }

.customer-account-orders-empty__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 290px;
  text-align: center; }

.customer-account-orders-empty__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #111111; }

.customer-account-orders-empty__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #929292; }

.customer-account-orders-empty__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 48px;
  padding: 12px 40px;
  border-radius: 8px;
  background: #035eb7;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease; }

.customer-account-orders-empty__cta:hover {
  background: #024a91;
  color: #fff; }

/* —— Thông báo (Figma WF_TH-True-Milk 2017:9751) —— */
.customer-account-notifications {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0; }

.customer-account-notifications__header-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08); }

.customer-account-notifications__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap; }

.customer-account-notifications__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.3;
  color: #111; }

.customer-account-notifications__read-all {
  padding: 0;
  border: none;
  margin: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  line-height: 1.35;
  color: #003d79;
  text-decoration: none;
  white-space: nowrap; }

.customer-account-notifications__read-all:hover {
  text-decoration: underline; }

.customer-account-notifications__tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0 16px;
  padding: 8px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; }

.customer-account-notifications__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.6);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.3;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s ease, border-color 0.15s ease; }

.customer-account-notifications__tab:hover {
  color: #003d79; }

.customer-account-notifications__tab--active {
  color: #003d79;
  border-bottom-color: #035eb7; }

.customer-account-notifications__tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 2px 6px;
  border-radius: 80px;
  background: linear-gradient(90deg, #ff2701 0%, #ff0202 100%);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  text-align: center; }

.customer-account-notifications__list {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08); }

.customer-account-notifications__item {
  box-sizing: border-box;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 0.3px solid rgba(197, 198, 204, 0.6); }

.customer-account-notifications__item:last-child {
  border-bottom: none; }

.customer-account-notifications__item--unread {
  background: #f0faff; }

.customer-account-notifications__item--read {
  background: #fff; }

.customer-account-notifications__icon-wrap {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 8px;
  background: #eaf2ff; }

.customer-account-notifications__icon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 4px; }

.customer-account-notifications__icon-fill {
  display: block;
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  background: #b4dbff;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center 2px;
  mask-position: center 2px;
  -webkit-mask-size: 24px 20px;
  mask-size: 24px 20px; }

.customer-account-notifications__main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  justify-content: center;
  min-width: 0; }

.customer-account-notifications__item-title {
  margin: 0;
  max-width: 100%;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4; }

.customer-account-notifications__item--unread .customer-account-notifications__item-title {
  color: #111; }

.customer-account-notifications__item--read .customer-account-notifications__item-title {
  color: #606060; }

.customer-account-notifications__item-desc {
  margin: 0;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #414141; }

.customer-account-notifications__item-date {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.3;
  color: #727272; }

.customer-account-notifications__unread-dot {
  flex-shrink: 0;
  width: 14px;
  height: 14px; }

.customer-account-notifications__unread-dot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain; }

.customer-account-notifications__item--read .customer-account-notifications__unread-dot {
  display: none; }

@media (max-width: 575px) {
  .customer-account-notifications__header-card {
    padding: 16px 12px; }
  .customer-account-notifications__item {
    align-items: flex-start;
    padding: 12px; }
  .customer-account-notifications__item--unread {
    align-items: center; }
  .customer-account-notifications__title {
    font-size: 18px;
    line-height: 1.2; } }

/* Thẻ đơn hàng */
.customer-account-order-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08); }

.customer-account-order-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px; }

.customer-account-order-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0; }

.customer-account-order-card__number {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #606060; }

.customer-account-order-card__number-value {
  font-weight: 700;
  color: #606060; }

.customer-account-order-card__sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #929292; }

.customer-account-order-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5c6cc;
  flex-shrink: 0; }

.customer-account-order-card__status {
  flex-shrink: 0;
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  text-align: center; }

.customer-account-order-card__status--processing {
  background: #137ce3; }

.customer-account-order-card__status--shipping {
  background: #2e9f4a; }

.customer-account-order-card__status--completed {
  background: #003d79; }

.customer-account-order-card__status--cancelled {
  background: #e8e8e8;
  color: #606060; }

.customer-account-order-card__lines {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box; }

.customer-account-order-card__lines-more {
  display: flex;
  justify-content: end;
  padding: 0 20px; }
  .customer-account-order-card__lines-more .js-order-view-more-trigger {
    border: none;
    box-shadow: none;
    outline: none;
    background: none;
    color: #003d79;
    cursor: pointer; }
    .customer-account-order-card__lines-more .js-order-view-more-trigger span:first-child {
      display: block; }
    .customer-account-order-card__lines-more .js-order-view-more-trigger span:last-child {
      display: none; }
    .customer-account-order-card__lines-more .js-order-view-more-trigger.active span:first-child {
      display: none; }
    .customer-account-order-card__lines-more .js-order-view-more-trigger.active span:last-child {
      display: block; }

.customer-account-order-card__line {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--global-border-default); }

.customer-account-order-card__line:first-child {
  padding-top: 0; }

.customer-account-order-card__thumb {
  position: relative;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 5.806px;
  overflow: hidden;
  background: #f3f3f4; }

.customer-account-order-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; }

.customer-account-order-card__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
  pointer-events: none; }

.customer-account-order-card__line-body {
  display: flex;
  flex: 1 1 auto;
  gap: 12px;
  align-items: flex-start;
  min-width: 0; }

.customer-account-order-card__line-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0; }

.customer-account-order-card__product-name {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #414141; }

.customer-account-order-card__variant {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 8px;
  border-radius: 4px;
  background: #f3f3f4;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  line-height: 1.4;
  color: #414141; }

.customer-account-order-card__line-qty-price {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 196px;
  max-width: 40%; }

@media (max-width: 575px) {
  .customer-account-order-card__line-body {
    flex-direction: column;
    align-items: stretch; }
  .customer-account-order-card__line-qty-price {
    width: 100%;
    max-width: none;
    padding-left: 0; } }

.customer-account-order-card__qty {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(114, 114, 114, 0.6); }

.customer-account-order-card__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right; }

.customer-account-order-card__price {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #035eb7; }

.customer-account-order-card__compare {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(114, 114, 114, 0.6);
  text-decoration: line-through;
  text-decoration-skip-ink: none; }

.customer-account-order-card__total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  font-size: 15px;
  line-height: 1.2;
  line-height: 1.4;
  color: #414141; }

.customer-account-order-card__total-label {
  font-weight: 400; }

.customer-account-order-card__total-value {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  color: #111;
  white-space: nowrap; }

.customer-account-order-card__notice {
  margin: 0 20px;
  padding: 10px 20px;
  border-radius: 6px;
  background: #eaf2ff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: normal;
  color: #111;
  text-align: center; }

.customer-account-order-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 20px 4px; }

.customer-account-order-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 160px;
  padding: 12px 16px;
  border: 1px solid #003d79;
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #003d79;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease; }

.customer-account-order-card__btn:hover {
  background: rgba(0, 61, 121, 0.06); }

@media (max-width: 575px) {
  .customer-account-order-card__actions {
    flex-direction: column;
    align-items: stretch; }
  .customer-account-order-card__btn {
    width: 100%;
    min-width: 0; }
  .customer-account-order-card__head {
    flex-direction: column;
    align-items: flex-start; }
  .customer-account-order-card__status {
    align-self: flex-start; } }

@media (max-width: 767px) {
  .customer-account-loyalty__tiers {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    min-height: auto;
    padding-top: 8px;
    gap: 8px; }
  .customer-account-loyalty__tier {
    position: relative;
    left: auto;
    right: auto;
    transform: none;
    top: -22px; }
  .customer-account-card__gifts-art {
    position: static;
    transform: none;
    width: 96px;
    height: 96px;
    margin: 8px auto 0; }
  .customer-account-card--gifts .customer-account-card__btn {
    display: flex;
    width: 100%; } }

/* Chi tiết đơn hàng — Figma WF_TH-True-Milk node 2015:9750 */
.customer-order-detail-page .customer-account-main {
  max-width: 100%; }

.customer-order-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%; }

.customer-order-detail__back {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 4px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.15px;
  color: #606060;
  text-decoration: none; }

.customer-order-detail__back:hover {
  color: #035eb7; }

.customer-order-detail__back-icon {
  display: inline-flex;
  transform: rotate(90deg); }

.customer-order-detail__stack {
  display: flex;
  flex-direction: column;
  gap: 12px; }

.customer-order-detail__card {
  box-sizing: border-box;
  padding: 16px 20px 20px;
  border-radius: 8px;
  background: #fff; }

.customer-order-detail__card-title {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #111; }

.customer-order-detail__card--header .customer-order-detail__card-title {
  margin-bottom: 16px; }

.customer-order-detail__head-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between; }

.customer-order-detail__head-left {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: flex-start; }

.customer-order-detail__order-no {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.16px;
  color: #606060; }

.customer-order-detail__order-no strong {
  font-weight: 700;
  color: #111; }

.customer-order-detail__ship-type {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #035eb7; }

.customer-order-detail__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  white-space: nowrap; }

.customer-order-detail__badge--processing,
.customer-order-detail__badge--shipping {
  background: #137ce3; }

.customer-order-detail__badge--fulfilled,
.customer-order-detail__badge--completed {
  background: var(--global-color-success); }

.customer-order-detail__badge--cancelled,
.customer-order-detail__badge--restocked {
  background: #929292; }

.customer-order-detail__placed-at,
.customer-order-detail__cancelled-at {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  line-height: 1.4;
  color: #414141; }

.customer-order-detail__actions {
  padding-top: 4px; }

.customer-order-detail__btn-cancel {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 12px;
  border: 1px solid #003d79;
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  line-height: 1.4;
  color: #003d79;
  cursor: pointer; }

.customer-order-detail__btn-cancel:hover {
  background: rgba(0, 61, 121, 0.06); }

.customer-order-detail__section-title {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #111; }

.customer-order-detail__ship-head {
  padding-bottom: 16px;
  margin-bottom: 12px;
  border-bottom: 0.5px solid var(--global-border-default); }

.customer-order-detail__tracking-meta {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #929292; }

.customer-order-detail__eta {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  line-height: 1.4;
  color: #414141; }

.customer-order-detail__alert-box {
  display: flex;
  gap: 7px;
  align-items: flex-start; }

.customer-order-detail__alert-icon {
  flex-shrink: 0;
  margin-top: 1px; }

.customer-order-detail__alert-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: var(--global-color-success); }

.customer-order-detail__steps-wrap {
  margin-bottom: 12px; }

.customer-order-detail__steps {
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  min-height: 83px;
  padding: 12px 8px;
  border-radius: 8px;
  background: #e5f8e4; }

.customer-order-detail__step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  flex: 1 1 112px;
  max-width: 140px; }

.customer-order-detail__step-icon {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px; }

.customer-order-detail__step:not(.is-active) .customer-order-detail__step-icon path {
  fill: rgba(146, 146, 146, 0.2); }

.customer-order-detail__step:not(.is-active) .customer-order-detail__step-label {
  color: #929292;
  font-weight: 400; }

.customer-order-detail__step.is-active .customer-order-detail__step-icon path {
  fill: var(--global-color-success); }

.customer-order-detail__step-label {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  color: var(--global-color-success); }

.customer-order-detail__step-line {
  align-self: center;
  flex: 1 1 auto;
  height: 2px;
  margin-top: 16px;
  min-width: 24px;
  max-width: 120px;
  background: rgba(74, 170, 66, 0.35); }

.customer-order-detail__timeline {
  padding: 16px 0;
  border-radius: 8px;
  background: #eff0f0; }

.customer-order-detail__timeline-inner {
  position: relative;
  padding-left: 24px; }

.customer-order-detail__timeline-line {
  position: absolute;
  top: 17px;
  bottom: 22px;
  left: 151px;
  width: 1px;
  background: rgba(197, 198, 204, 0.9); }

.customer-order-detail__timeline-item {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 64px;
  padding-right: 12px; }

.customer-order-detail__timeline-time {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 0;
  width: 88px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #606060;
  text-align: right; }

.customer-order-detail__timeline-item--current .customer-order-detail__timeline-time {
  color: #111; }

.customer-order-detail__timeline-dot {
  position: relative;
  top: 6px;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  margin-left: 24px;
  border-radius: 50%;
  background: #b5b5b5; }

.customer-order-detail__timeline-dot--lg {
  top: 11px;
  width: 8px;
  height: 8px;
  margin-right: 2px;
  margin-left: 23px;
  background: var(--global-color-success); }

.customer-order-detail__timeline-body {
  flex: 1 1 auto;
  max-width: 646px;
  padding-left: 14px; }

.customer-order-detail__timeline-title {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: var(--global-color-success); }

.customer-order-detail__timeline-title--muted {
  color: #b5b5b5; }

.customer-order-detail__timeline-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  line-height: 1.4;
  color: #111; }

.customer-order-detail__timeline-desc--muted {
  font-weight: 400;
  color: #606060; }

.customer-order-detail__addresses {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-top: 8px; }

.customer-order-detail__address-col {
  display: flex;
  flex: 1 1 50%;
  flex-direction: column;
  gap: 6px;
  min-width: 0; }

.customer-order-detail__address-heading {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #111; }

.customer-order-detail__address-block {
  display: flex;
  gap: 8px;
  align-items: flex-start; }

.customer-order-detail__pin {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px; }

.customer-order-detail__pin-bg,
.customer-order-detail__pin-dot {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain; }

.customer-order-detail__address-text {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0; }

.customer-order-detail__recipient {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  line-height: 1.4; }

.customer-order-detail__recipient-name {
  font-weight: 500;
  color: #111; }

.customer-order-detail__recipient-phone {
  font-weight: 400;
  color: #414141; }

.customer-order-detail__address-lines,
.customer-order-detail__address-lines-stores {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #929292; }

.customer-order-detail__card--bill .customer-order-detail__card-title {
  margin-bottom: 16px; }

.customer-order-detail__lines {
  margin: 0;
  padding: 0;
  list-style: none; }

.customer-order-detail__line {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--global-border-default); }

.customer-order-detail__line:last-child {
  border-bottom: none; }

.customer-order-detail__thumb {
  position: relative;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 5.806px; }

.customer-order-detail__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; }

.customer-order-detail__thumb-ph {
  display: block;
  width: 100%;
  height: 100%;
  background: #eff0f0; }

.customer-order-detail__line-main {
  display: flex;
  flex: 1 1 auto;
  gap: 12px;
  align-items: flex-start;
  min-width: 0; }

.customer-order-detail__line-info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  min-width: 0; }

.customer-order-detail__product-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #414141; }

.customer-order-detail__variant-chip {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 8px;
  border-radius: 4px;
  background: #f3f3f4;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  line-height: 1.4;
  color: #414141; }

.customer-order-detail__line-qty-price {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  width: 196px; }

.customer-order-detail__qty {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(114, 114, 114, 0.6); }

.customer-order-detail__prices {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end; }

.customer-order-detail__price-sale {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #035eb7; }

.customer-order-detail__price-compare {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(114, 114, 114, 0.6);
  text-decoration: line-through;
  text-decoration-skip-ink: none; }

.customer-order-detail__summary-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-top: 0.5px solid var(--global-border-default);
  border-bottom: 0.5px solid var(--global-border-default); }

.customer-order-detail__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4; }
  .customer-order-detail__summary-row.wrap-order-promotion {
    flex-direction: column;
    align-items: start;
    padding: 0; }
    .customer-order-detail__summary-row.wrap-order-promotion .ajax-render-order-total-discounts {
      width: 100%; }
      .customer-order-detail__summary-row.wrap-order-promotion .ajax-render-order-total-discounts .customer-order-detail__summary-row span:nth-child {
        color: #035eb7; }

.customer-order-detail__summary-row span:first-child {
  color: #929292; }

.customer-order-detail__summary-row span:last-child {
  color: #414141; }

.customer-order-detail__grand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px 0 0;
  cursor: pointer; }

.customer-order-detail__grand-label {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #414141; }

.customer-order-detail__grand-right {
  display: inline-flex;
  gap: 8px;
  align-items: center; }

.customer-order-detail__grand-value {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #111; }

.customer-order-detail__grand-chevron {
  display: inline-flex;
  transition: transform 0.2s ease; }
  .customer-order-detail__grand-chevron.is-active {
    transform: scaleY(-1); }

.customer-order-detail__payment-box {
  margin-top: 12px;
  padding: 16px 20px;
  border-radius: 8px;
  background: #eff0f0;
  display: flex;
  flex-direction: column;
  gap: 8px; }

.customer-order-detail__payment-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between; }

.customer-order-detail__payment-label {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #929292; }

.customer-order-detail__payment-val {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #414141;
  text-align: right; }

.customer-order-detail__payment-val span {
  display: block; }

.customer-order-detail__card--support {
  padding-bottom: 12px; }

.customer-order-detail__card--support .customer-order-detail__card-title {
  margin-bottom: 12px; }

.customer-order-detail__support-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none; }

.customer-order-detail__support-left {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #414141; }

.customer-order-detail__support-chevron {
  display: inline-flex;
  transform: rotate(-90deg); }

.customer-order-rating-result {
  padding: 12px; }

.customer-order-rating-result__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #111; }

.customer-order-rating-result__state {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px 8px 0 0;
  background: #e3f0e1; }

.customer-order-rating-result__state-time {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.16px;
  color: #606060; }

.customer-order-rating-result__state-note {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #035eb7; }

.customer-order-rating-result__item {
  padding: 12px 0;
  border-bottom: 0.5px solid rgba(197, 198, 204, 0.6); }

.customer-order-rating-result__item--last {
  border-bottom: 0; }

.customer-order-rating-result__item-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #111; }

.customer-order-rating-result__item-row {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 28px;
  margin-top: 12px; }

.customer-order-rating-result__stars {
  display: inline-flex;
  gap: 8px;
  align-items: center; }

.customer-order-rating-result__star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 20px;
  line-height: 1.2;
  line-height: 1;
  color: #ffd12e; }

.customer-order-rating-result__label {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  line-height: 1.4;
  color: #606060;
  opacity: 0.8; }

@media (max-width: 991px) {
  .customer-order-detail__addresses {
    flex-direction: column; }
  .customer-order-detail__timeline-line {
    left: 103px; } }

@media (max-width: 575px) {
  .customer-order-detail__head-row {
    flex-direction: column;
    align-items: flex-start; }
  .customer-order-detail__line-main {
    flex-direction: column; }
  .customer-order-detail__line-qty-price {
    box-sizing: border-box;
    width: 100%;
    padding-left: 0; }
  .customer-order-detail__timeline-time {
    width: 72px;
    font-size: 14px; }
  .customer-order-detail__timeline-dot {
    margin-left: 16px; }
  .customer-order-detail__timeline-dot--lg {
    margin-left: 15px; }
  .customer-order-detail__timeline-line {
    left: 88px; }
  .customer-order-rating-result__item-row {
    gap: 12px; }
  .customer-order-rating-result__star {
    width: 24px;
    height: 24px;
    font-size: 20px; } }

/* —— Địa chỉ giao hàng (Figma WF_TH-True-Milk 199:16247) —— */
.customer-account-addresses {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
  padding: 24px 20px;
  background: #fff;
  border-radius: 8px; }
  .customer-account-addresses--empty {
    background: transparent; }

.customer-account-addresses__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px; }

.customer-account-addresses__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  line-height: normal;
  color: #111111; }

.customer-account-addresses__add-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.3;
  color: #035eb7;
  white-space: nowrap; }

.customer-account-addresses__add-link img {
  display: block;
  width: 16px;
  height: 16px; }

.customer-account-addresses__add-link:hover {
  text-decoration: underline; }

.customer-account-addresses__list {
  display: flex;
  flex-direction: column;
  gap: 16px; }

.customer-account-address-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
  padding: 12px;
  background: #fff;
  border: 0.7px solid rgba(197, 198, 204, 0.6);
  border-radius: 8px;
  order: 2; }
  .customer-account-address-card.is-default {
    order: 1; }

.customer-account-address-card__content {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 8px;
  min-width: 0; }

.customer-account-address-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid #4aaa42;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #4aaa42; }

.customer-account-address-card__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%; }

.customer-account-address-card__name {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #111111;
  overflow-wrap: break-word;
  word-break: break-word; }

.customer-account-address-card__phone {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #414141; }

.customer-account-address-card__address {
  margin: -4px 0 0;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #929292;
  overflow-wrap: break-word;
  word-break: break-word; }

.customer-account-address-card__actions {
  display: flex;
  gap: 8px;
  align-items: center; }

.customer-account-address-card__edit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #035eb7; }

.customer-account-address-card__edit img {
  display: block;
  width: 16px;
  height: 16px; }

.customer-account-address-card__edit:hover {
  text-decoration: underline; }

.customer-account-address-card__delete {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #ff0202; }

.customer-account-address-card__delete img {
  display: block;
  width: 16px;
  height: 16px; }

.customer-account-address-card__delete:hover {
  color: #ff0202;
  text-decoration: underline; }

.customer-account-address-card--empty {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center; }
  .customer-account-address-card--empty .address_empty_image {
    width: 144px;
    margin-bottom: 23.5px; }
  .customer-account-address-card--empty .address_empty_status {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px; }
  .customer-account-address-card--empty .address_empty_remind {
    margin-bottom: 24px; }

.customer-account-address-card__empty-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #414141; }

.customer-account-address-card__empty-add {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  color: #035eb7;
  text-decoration: none; }

.customer-account-address-card__empty-add:hover {
  text-decoration: underline; }

/* —— Thêm địa chỉ giao hàng (Figma WF_TH-True-Milk 199:16336) —— */
.customer-account-address-add {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
  padding: 24px 20px;
  background: #fff;
  border-radius: 8px; }

.customer-account-address-add__head {
  display: flex;
  flex-direction: column;
  gap: 10px; }

.customer-account-address-add__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  text-decoration: none;
  color: #606060;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em; }

.customer-account-address-add__back:hover {
  color: #035eb7; }

.customer-account-address-add__back-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center; }

.customer-account-address-add__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #111111; }

.customer-account-address-add__form {
  display: flex;
  flex-direction: column;
  gap: 16px; }

.customer-account-address-add__country-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none; }

.customer-account-address-add__fields {
  display: flex;
  flex-direction: column;
  gap: 16px; }

.customer-account-address-add__fields .customer-field {
  margin-bottom: 0; }

.customer-account-address-add__fields .customer-field__control {
  border: 0.5px solid rgba(197, 198, 204, 0.6); }

.customer-account-address-add__fields .customer-field__input {
  color: #111111; }

.customer-account-address-add__fields .customer-field__label {
  color: #b5b5b5; }

.customer-account-address-add__error {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #ff0202; }

.customer-account-address-add__error::before {
  content: '!';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #ff0202; }

.customer-account-address-add__default {
  display: flex;
  flex-direction: column;
  gap: 8px; }

.customer-account-address-add__default-label {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  color: #2f3036; }

.customer-account-address-add__toggle {
  display: inline-flex;
  width: fit-content;
  cursor: pointer; }

.customer-account-address-add__toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none; }

.customer-account-address-add__toggle-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 45px;
  height: 28px;
  padding: 4px;
  border-radius: 999px;
  background: #c5c6cc;
  transition: background-color 0.2s ease; }

.customer-account-address-add__toggle-thumb {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease; }

.customer-account-address-add__toggle-input:checked + .customer-account-address-add__toggle-track {
  background: #137ce3; }

.customer-account-address-add__toggle-input:checked + .customer-account-address-add__toggle-track .customer-account-address-add__toggle-thumb {
  transform: translateX(17px); }

.customer-account-address-add__actions {
  display: flex;
  width: 100%;
  margin-top: 8px; }

.customer-account-address-add__submit {
  width: 100%;
  min-width: 0; }

.customer-account-address-add__submit[disabled] {
  opacity: 0.65;
  cursor: not-allowed; }

/* —— Cập nhật địa chỉ giao hàng (Figma WF_TH-True-Milk 199:16375) —— */
.customer-account-address-update {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
  padding: 24px 20px;
  background: #fff;
  border-radius: 8px; }

.customer-account-address-update__head {
  display: flex;
  flex-direction: column;
  gap: 10px; }

.customer-account-address-update__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  text-decoration: none;
  color: #606060;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em; }

.customer-account-address-update__back:hover {
  color: #035eb7; }

.customer-account-address-update__back-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center; }

.customer-account-address-update__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #111111; }

.customer-account-address-update__form {
  display: flex;
  flex-direction: column;
  gap: 16px; }

.customer-account-address-update__country-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none; }

.customer-account-address-update__fields {
  display: flex;
  flex-direction: column;
  gap: 16px; }

.customer-account-address-update__fields .customer-field {
  margin-bottom: 0; }

.customer-account-address-update__fields .customer-field__control {
  border: 0.5px solid rgba(197, 198, 204, 0.6); }

.customer-account-address-update__fields .customer-field__input {
  color: #111111; }

.customer-account-address-update__fields .customer-field__label {
  color: #b5b5b5; }

.customer-account-address-update__error {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #ff0202; }

.customer-account-address-update__error::before {
  content: '!';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #ff0202; }

.customer-account-address-update__default {
  display: flex;
  flex-direction: column;
  gap: 8px; }

.customer-account-address-update__default-label {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  color: #2f3036; }

.customer-account-address-update__delete {
  display: flex;
  align-items: center;
  justify-content: center; }

.customer-account-address-update__toggle {
  display: inline-flex;
  width: fit-content;
  cursor: pointer; }

.customer-account-address-update__toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none; }

.customer-account-address-update__toggle-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 45px;
  height: 28px;
  padding: 4px;
  border-radius: 999px;
  background: #c5c6cc;
  transition: background-color 0.2s ease; }

.customer-account-address-update__toggle-thumb {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease; }

.customer-account-address-update__toggle-input:checked + .customer-account-address-update__toggle-track {
  background: #137ce3; }

.customer-account-address-update__toggle-input:checked + .customer-account-address-update__toggle-track .customer-account-address-update__toggle-thumb {
  transform: translateX(17px); }

.customer-account-address-update__actions {
  display: flex;
  width: 100%;
  margin-top: 8px; }

.customer-account-address-update__submit {
  width: 100%;
  min-width: 0; }

.customer-account-address-update__submit[disabled] {
  opacity: 0.65;
  cursor: not-allowed; }

@media (max-width: 767px) {
  .customer-account-addresses {
    padding: 20px 16px; }
  .customer-account-addresses__head {
    flex-wrap: wrap; }
  .customer-account-address-add {
    padding: 20px 16px; }
  .customer-account-address-update {
    padding: 20px 16px; } }

.ajax-render-pagination .paginate-wrapper {
  display: flex;
  justify-content: center;
  align-items: center; }

.ajax-render-pagination #pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap; }

.ajax-render-pagination .item-pagi {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  background: #fff;
  color: #2e2e2e;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none; }
  .ajax-render-pagination .item-pagi:hover {
    border-color: var(--main-color);
    color: var(--main-color); }
    .ajax-render-pagination .item-pagi:hover svg path {
      stroke: var(--main-color); }
  .ajax-render-pagination .item-pagi.active {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
    pointer-events: none; }
  .ajax-render-pagination .item-pagi.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none; }
    .ajax-render-pagination .item-pagi.disabled:hover {
      border-color: #e5e5e5;
      color: var(--main-color); }
      .ajax-render-pagination .item-pagi.disabled:hover svg path {
        stroke: var(--main-color); }
  .ajax-render-pagination .item-pagi svg {
    flex-shrink: 0;
    fill: #B0BABF; }
    .ajax-render-pagination .item-pagi svg path {
      transition: stroke 0.25s ease; }
  .ajax-render-pagination .item-pagi.pagi-prev, .ajax-render-pagination .item-pagi.pagi-next {
    padding: 0; }

@media (max-width: 767px) {
  .ajax-render-pagination #pagination {
    gap: 6px; }
  .ajax-render-pagination .item-pagi {
    min-width: 38px;
    height: 38px;
    border-radius: 8px;
    font-size: 13px; } }

.alert-message {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translate(-50%, -20px);
  z-index: 9999999999;
  width: 350px;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  box-sizing: border-box; }
  .alert-message.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0); }
  .alert-message__icon {
    flex-shrink: 0; }
    .alert-message__icon svg {
      display: block;
      width: 18px;
      height: 18px; }
  .alert-message__text {
    font-size: 16px;
    line-height: 1.2;
    color: #111111; }
  .alert-message--success {
    background: #b7e3ad; }
    .alert-message--success svg path {
      fill: #4aaa42; }
  .alert-message--warning {
    background: #fff9dd; }
    .alert-message--warning svg path {
      fill: #e2b203; }
  .alert-message--error {
    background: #ffe2e2; }
    .alert-message--error svg path {
      fill: #e53935; }
  @media (max-width: 767px) {
    .alert-message {
      min-width: 350px;
      width: auto;
      max-width: calc(100% - 32px); } }

/* Fancybox — xác nhận xoá địa chỉ (Figma node 39:25) */
.fancybox-customer__sheet--delete-address {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 400px;
  padding: 24px;
  border-radius: 12px; }

.fancybox-customer__delete-address-icon {
  flex-shrink: 0;
  width: 144px;
  height: 144px; }
  .fancybox-customer__delete-address-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain; }

.fancybox-customer__delete-address-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #111;
  text-align: center; }

.fancybox-customer__delete-address-actions {
  display: flex;
  gap: 16px;
  width: 100%; }

/* Fancybox — xác nhận thoát chỉnh sửa (Figma node 41:72) */
.fancybox-customer__sheet--exit-edit {
  width: 350px;
  max-width: 100%;
  padding: 20px;
  border-radius: 8px; }

.fancybox-customer__exit-edit-title {
  margin: 0 0 16px 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  color: #111; }

.fancybox-customer__exit-edit-desc {
  margin: 0 0 16px 0;
  color: #929292; }

.fancybox-customer__exit-edit-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%; }
  @media (max-width: 991px) {
    .fancybox-customer__exit-edit-actions {
      flex-direction: column; } }

/* Fancybox — xác nhận đăng xuất (Figma node 47:192) */
.fancybox-customer__sheet--logout {
  width: 350px;
  max-width: 100%;
  padding: 20px;
  border-radius: 8px;
  background: #f1f5fa;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px; }

.fancybox-customer__logout-illustration {
  width: 240px;
  height: 161.68px;
  flex-shrink: 0; }
  .fancybox-customer__logout-illustration img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom; }

.fancybox-customer__logout-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  color: #111;
  text-align: center; }

.fancybox-customer__logout-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 0; }
  @media (max-width: 991px) {
    .fancybox-customer__logout-actions {
      flex-direction: column; } }

/* Fancybox — popup noti thông báo mất mạng (Figma node 41:72) */
.fancybox-customer__sheet--network-error {
  width: 350px;
  max-width: 100%;
  padding: 20px;
  border-radius: 8px; }

.fancybox-customer__network-error-title {
  margin: 0 0 16px 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  color: #111; }

.fancybox-customer__network-error-desc {
  margin: 0 0 16px 0;
  color: #929292; }

.fancybox-customer__network-error-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%; }
  @media (max-width: 991px) {
    .fancybox-customer__network-error-actions {
      flex-direction: column; } }

/* Fancybox — đánh giá đơn hàng (Figma node 4:45) */
.fancybox-customer__sheet--order-rating {
  width: 430px;
  max-width: 100%;
  padding: 20px;
  border-radius: 8px;
  background: #f1f5fa; }
  .fancybox-customer__sheet--order-rating .fancybox-customer__close {
    top: -12px;
    right: 0; }

.fancybox-order-rating__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px; }

.fancybox-order-rating__order-number {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  color: #606060; }
  .fancybox-order-rating__order-number strong {
    font-weight: 700; }

.fancybox-order-rating__order-sub {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1.2;
  color: #929292; }

.fancybox-order-rating__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b5b5b5; }

.fancybox-order-rating__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  min-height: 32px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.2;
  line-height: 1.4;
  color: #fff;
  background: #003d79;
  white-space: nowrap; }

.fancybox-order-rating__panel {
  background: #fff;
  border-bottom: 0.5px solid rgba(197, 198, 204, 0.6);
  padding: 12px 16px;
  margin-bottom: 12px; }

.fancybox-order-rating__panel-title {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.2;
  line-height: 1.4;
  font-weight: 600;
  color: #111; }

.fancybox-order-rating__panel-row {
  display: flex;
  align-items: center;
  gap: 16px; }

.fancybox-order-rating__stars {
  display: inline-flex;
  align-items: center;
  gap: 8px; }

.fancybox-order-rating__star {
  border: 0;
  padding: 0;
  background: transparent;
  width: 28px;
  height: 28px;
  font-size: 24px;
  line-height: 1.2;
  line-height: 28px;
  color: #c5c6cc;
  cursor: pointer;
  transition: color 0.2s ease; }
  .fancybox-order-rating__star svg path {
    fill: #c5c6cc;
    stroke: #c5c6cc; }
  .fancybox-order-rating__star.is-active {
    color: #ffd12e; }
    .fancybox-order-rating__star.is-active svg path {
      fill: #ffd12e;
      stroke: #ffd12e; }

.fancybox-order-rating__label {
  font-size: 15px;
  line-height: 1.2;
  line-height: 1.4;
  color: #606060;
  opacity: 0.8; }

.customer-account-cards .customer-account-card .btn-main {
  padding: 8px; }

.loading-ovl {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.75);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0; }
  .loading-ovl.open {
    visibility: visible;
    opacity: 1; }
  .loading-ovl .load-3 .line:nth-last-child(1) {
    animation: loadingC 0.6s 0.1s linear infinite; }
  .loading-ovl .load-3 .line:nth-last-child(2) {
    animation: loadingC 0.6s 0.2s linear infinite; }
  .loading-ovl .load-3 .line:nth-last-child(3) {
    animation: loadingC 0.6s 0.3s linear infinite; }
  .loading-ovl .load-3 .line {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 15px;
    background-color: #222; }

@keyframes loadingC {
  0% {
    transform: translate(0, 0); }
  50% {
    transform: translate(0, 15px); }
  100% {
    transform: translate(0, 0); } }

.customer-account-orders__calendar {
  display: none;
  border-radius: 12px;
  border: 1px solid #eceff3;
  background: #fff;
  overflow: hidden; }

.customer-account-orders__calendar.is-active {
  display: block; }

.customer-account-orders__calendar .air-datepicker {
  border: 0;
  box-shadow: none;
  width: 100%; }

.customer-account-orders__filter-modal {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: none;
  align-items: flex-end;
  justify-content: center;
  top: 100%; }

.customer-account-orders__filter-modal.is-open {
  display: block; }

.customer-account-orders__filter-modal-backdrop {
  position: fixed;
  inset: 0;
  /* background: rgba(17, 24, 39, 0.4); */
  width: 100%;
  height: 100%;
  top: 0;
  left: 0; }

.customer-account-orders__filter-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 20px;
  border: 0.5px solid var(--global-border-default);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  max-width: 372px; }

.customer-account-orders__filter-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f6f7f8; }

.customer-account-orders__filter-modal-title {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  color: #414141; }

.customer-account-orders__filter-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px; }

.customer-account-orders__filter-section-label {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  color: #111827; }

.customer-account-orders__filter-reset-link {
  border: 0;
  background: transparent;
  color: #003d79;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600; }

.customer-account-orders__filter-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px; }

.customer-account-orders__filter-date-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px; }

.customer-account-orders__filter-date-label {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  color: #414141;
  margin: 0; }

.customer-account-orders__filter-date-field {
  position: relative; }

.customer-account-orders__filter-date-input {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #d0d5dd;
  background: #fff;
  padding: 0 40px 0 12px;
  font-size: 14px;
  color: #101828;
  cursor: pointer;
  outline: none;
  box-shadow: none; }

.customer-account-orders__filter-date-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 44px;
  border: 0;
  background: #efefef;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center; }

.customer-account-orders__filter-date-btn-icon {
  display: block;
  width: 13px;
  height: 13px;
  background: center/contain no-repeat url(https://cdn.hstatic.net/files/200001144887/file/blank-calendar--blank-calendar-date-day-month-empty.svg); }

.customer-account-orders__filter-presets {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px; }

.customer-account-orders__filter-preset {
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #f3f3f4;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  color: #111;
  white-space: nowrap;
  outline: none !important;
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }

.customer-account-orders__filter-preset.is-active {
  border-color: #035eb7;
  background: #d6f3ff;
  color: #035eb7; }

.customer-account-orders__filter-divider {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #eaecf0; }

.customer-account-orders__filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px; }

/* —— TH Rewards: Hạng thành viên (Figma node 9:1121) —— */
.customer-loyalty-page {
  padding-bottom: 56px; }

.customer-loyalty-hero {
  width: 100%;
  padding-top: calc(100% * 11 / 37);
  overflow: hidden;
  background: #e6f5fb;
  text-align: center;
  position: relative; }
  .customer-loyalty-hero img {
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
    left: 0;
    top: 0; }

.customer-loyalty-page__container {
  padding-top: 24px; }

.customer-loyalty-page__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start; }

@media (min-width: 992px) {
  .customer-loyalty-page__layout {
    grid-template-columns: minmax(260px, 342px) 1fr; } }

.customer-loyalty-nav__heading {
  margin: 0;
  padding: 16px 0 12px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: #272727; }

.customer-loyalty-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px; }

.customer-loyalty-nav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  font-size: 16px;
  line-height: 1.2;
  color: #111;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease; }

.customer-loyalty-nav__link:hover {
  background: rgba(3, 94, 183, 0.06); }

.customer-loyalty-nav__link.is-active {
  background: #e5e7eb;
  font-weight: 500; }

.customer-loyalty-nav__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center; }

.customer-loyalty-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0; }

.customer-loyalty-tier {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: #eff0f0;
  border-radius: 8px;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.08);
  overflow: hidden; }

@media (min-width: 768px) {
  .customer-loyalty-tier {
    grid-template-columns: minmax(200px, 325px) 1fr; } }

.customer-loyalty-tier__member {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start; }

.customer-loyalty-tier__name {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
  color: #111;
  word-break: break-word; }

.customer-loyalty-tier__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 6px;
  background: linear-gradient(270deg, #d4c57a 0%, #99820d 100%); }

.customer-loyalty-tier__badge--diamond {
  background: linear-gradient(90deg, #045189 -0.36%, #0c85ba 36.91%, #0a7cb2 45.97%, #07669c 59.07%, #045189 68.13%, #07649b 99.36%); }

.customer-loyalty-tier__badge-text {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  color: #fff; }

.customer-loyalty-tier__history-link {
  padding: 0 0 4px;
  border: none;
  border-bottom: 1px solid #035eb7;
  outline: none !important;
  box-shadow: none !important;
  background: none;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  color: #035eb7;
  cursor: pointer; }

.customer-loyalty-tier__card {
  position: relative;
  min-height: 209px;
  padding: 16px 22px;
  border-radius: 8px;
  background: linear-gradient(270deg, #d4c57a 0%, #99820d 100%);
  overflow: hidden; }

.customer-loyalty-tier__card--diamond {
  background: linear-gradient(90deg, #045189 -0.36%, #0c85ba 36.91%, #0a7cb2 45.97%, #07669c 59.07%, #045189 68.13%, #07649b 99.36%); }

.customer-loyalty-tier__card-watermark {
  position: absolute;
  right: 0;
  top: 0;
  width: 160px;
  height: 160px;
  opacity: 0.36;
  pointer-events: none;
  object-fit: contain;
  object-position: top right; }

.customer-loyalty-tier__card-body {
  position: relative;
  z-index: 1;
  max-width: 422px; }

.customer-loyalty-tier__card-label {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.6); }

.customer-loyalty-tier__points-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px; }

.customer-loyalty-tier__crown {
  flex-shrink: 0;
  width: 36px;
  height: 24px;
  object-fit: contain; }

.customer-loyalty-tier__points {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: #fff; }

.customer-loyalty-tier__progress-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px; }

.customer-loyalty-tier__progress-bar {
  position: relative;
  width: 100%;
  height: 10px; }

.customer-loyalty-tier__progress-fill {
  display: block;
  height: 6px;
  margin-top: 2px;
  border-radius: 6px;
  background: linear-gradient(90deg, #636363 1.92%, #c9c9c9 41.35%, #929292 100%);
  transition: width 0.3s ease; }

.customer-loyalty-tier__progress-bar::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 2px;
  height: 6px;
  border-radius: 6px;
  background: #e7e7e7;
  z-index: 0; }

.customer-loyalty-tier__progress-fill {
  position: relative;
  z-index: 1; }

.customer-loyalty-tier__progress-dot {
  position: absolute;
  top: 0;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #3773af;
  border: 0.75px solid rgba(197, 198, 204, 0.6);
  z-index: 2;
  transition: left 0.3s ease; }

.customer-loyalty-tier__progress-note {
  margin: 0;
  width: 100%;
  font-size: 14px;
  line-height: 1.2;
  color: #fff;
  text-align: left; }

.customer-loyalty-tier__tier-list-btn {
  align-self: flex-end;
  min-height: 46px;
  padding: 12px 40px;
  white-space: nowrap; }

.customer-loyalty-benefits__title,
.customer-loyalty-gifts__title,
.customer-loyalty-rules__title {
  margin: 0;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 500;
  color: #272727;
  text-align: center; }

.customer-loyalty-benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px; }

@media (min-width: 768px) {
  .customer-loyalty-benefits__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.customer-loyalty-benefit-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); }

.customer-loyalty-benefit-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover; }

.customer-loyalty-benefit-card__name {
  margin: 0;
  padding: 12px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  color: #111; }

.customer-loyalty-gifts {
  padding: 24px 32px;
  border-radius: 8px;
  background: linear-gradient(180deg, #cfe5fb 0%, #d9e9ef 52.4%, #f5fcff 97.12%);
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.08); }

.customer-loyalty-gifts__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px; }

.customer-loyalty-gifts__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  color: #003d79;
  text-align: left; }

.customer-loyalty-gifts__view-all {
  padding: 0;
  border: none;
  background: none;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  color: #003d79;
  cursor: pointer;
  white-space: nowrap; }

.customer-loyalty-gifts__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 620px;
  overflow: auto; }
  .customer-loyalty-gifts__list::-webkit-scrollbar {
    display: none; }

.customer-loyalty-gift-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 160px;
  padding: 0;
  border: none;
  background: url(https://cdn.hstatic.net/files/200001144887/file/0e91f134-ff68-470c-8c67-75057f61f103.svg);
  cursor: pointer;
  text-align: left; }

.customer-loyalty-gift-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none; }

.customer-loyalty-gift-card__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 188px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 160px;
  padding: 12px 24px 12px 12px; }

.customer-loyalty-gift-card__thumb-wrap {
  text-align: center; }

.customer-loyalty-gift-card__thumb {
  width: 136px;
  height: 136px;
  border-radius: 6px;
  object-fit: cover;
  mix-blend-mode: multiply; }

.customer-loyalty-gift-card__info {
  padding-left: 45px; }

.customer-loyalty-gift-card__title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden; }

.customer-loyalty-gift-card__source {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 300;
  color: #606060; }

.customer-loyalty-gift-card__expiry {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 300;
  color: #111; }

.customer-loyalty-gifts__load-more-wrap {
  margin-top: 16px;
  text-align: center; }

.customer-loyalty-rules {
  margin-top: 45px; }

.customer-loyalty-rules__tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  margin-top: 16px; }

.customer-loyalty-rules__tab {
  padding: 10px;
  border: none;
  border-bottom: 3px solid transparent;
  background: none;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  color: rgba(65, 65, 65, 0.6);
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important; }

.customer-loyalty-rules__tab.is-active {
  color: #003d79;
  border-bottom-color: #035eb7; }

.customer-loyalty-rules__panel {
  max-width: 804px;
  margin: 0 auto; }
  .customer-loyalty-rules__panel ul {
    list-style: disc;
    padding-left: 15px; }

.customer-loyalty-rules__content {
  font-size: 16px;
  line-height: 1.2;
  color: #606060;
  line-height: 1.4; }
  .customer-loyalty-rules__content img {
    max-width: 100%;
    height: auto; }

.customer-loyalty-accordion__item {
  border-bottom: 1px solid rgba(197, 198, 204, 0.6); }

.customer-loyalty-accordion__summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer; }
  .customer-loyalty-accordion__summary::-webkit-details-marker {
    display: none; }

.customer-loyalty-accordion__num {
  flex-shrink: 0;
  width: 32px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: #111;
  text-align: center; }

.customer-loyalty-accordion__item[open] .customer-loyalty-accordion__num,
.customer-loyalty-accordion__item[open] .customer-loyalty-accordion__title {
  color: #003d79; }

.customer-loyalty-accordion__title {
  flex: 1;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: #111; }

.customer-loyalty-accordion__chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease; }

.customer-loyalty-accordion__item[open] .customer-loyalty-accordion__chevron {
  transform: rotate(180deg); }

.customer-loyalty-accordion__body {
  padding: 0 0 20px 0;
  font-size: 16px;
  line-height: 1.2;
  color: #606060;
  line-height: 1.4; }

.customer-loyalty-rules__hotline {
  margin-top: 24px;
  padding: 20px 12px;
  border-radius: 8px;
  background: #e6f5fb;
  font-size: 18px;
  line-height: 1.2;
  color: #727272;
  text-align: center;
  line-height: 1.3; }
  .customer-loyalty-rules__hotline a {
    color: #003d79;
    font-weight: 500;
    text-decoration: none; }

/* Lịch sử hoạt động — panel phải */
.customer-loyalty-sidebars {
  position: fixed;
  inset: 0;
  z-index: 1050;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.25s ease; }

.customer-loyalty-sidebars.is-open {
  pointer-events: auto;
  visibility: visible; }

.customer-loyalty-sidebars__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.25s ease; }

.customer-loyalty-sidebars.is-open .customer-loyalty-sidebars__backdrop {
  opacity: 1; }

.customer-loyalty-all__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: auto; }

.customer-loyalty-sidebars.is-open .customer-loyalty-all__panel.is-active {
  transform: translateX(0); }

.customer-loyalty__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px 0 24px;
  margin-bottom: 20px; }

.customer-loyalty-sidebars__close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: #f3f3f4;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  overflow: hidden;
  background: #555E67; }
  .customer-loyalty-sidebars__close svg {
    width: 30px;
    height: 30px; }
    .customer-loyalty-sidebars__close svg path {
      fill: #fff !important; }

.customer-loyalty-sidebars__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: #111; }

.customer-loyalty-history__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px; }

.customer-loyalty-history__summary {
  padding: 0 24px; }

.customer-loyalty-history__summary-card {
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, #cfe5fb 0%, #d9e9ef 52.4%, #f5fcff 97.12%);
  position: relative; }
  .customer-loyalty-history__summary-card .label-ranking-name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 6px;
    background: linear-gradient(270deg, #d4c57a 0%, #99820d 100%);
    color: #fff;
    position: absolute;
    top: 50%;
    right: 16px;
    font-weight: 600;
    color: #fff;
    transform: translateY(-50%); }
    .customer-loyalty-history__summary-card .label-ranking-name.diamond {
      background: linear-gradient(270deg, #71d4ff 0%, #003d79 100%); }

.customer-loyalty-history__summary-label {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.2;
  color: #606060; }

.customer-loyalty-history__summary-points {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: #111; }
  .customer-loyalty-history__summary-points span {
    background: linear-gradient(270deg, #d4c57a 0%, #99820d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; }
    .customer-loyalty-history__summary-points span.diamond {
      background: linear-gradient(270deg, #71d4ff 0%, #003d79 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text; }

.customer-loyalty-history__summary-meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
  color: #606060; }

.customer-loyalty-history__summary-date-updated {
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
  color: #606060; }

.customer-loyalty-history__tabs {
  display: flex;
  gap: 8px;
  padding: 0 24px; }
  .customer-loyalty-history__tabs .customer-loyalty-history__tabs-inner {
    background: #eff0f0;
    padding: 2px;
    border-radius: 8px; }

.customer-loyalty-history__tab {
  font-size: 14px;
  line-height: 1.2;
  padding: 10px 12px;
  border: none !important;
  border-radius: 6px;
  background: transparent;
  font-weight: 500;
  color: #606060;
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important; }

.customer-loyalty-history__tab.is-active {
  color: #fff;
  background: #035eb7; }

.customer-loyalty-history__filter {
  position: relative;
  padding: 0 24px; }

.customer-loyalty-history__filter-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 44px;
  padding: 8px 8px 8px 12px;
  border: 0.5px solid var(--global-border-default);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #111;
  transition: border-color 0.15s ease; }
  .customer-loyalty-history__filter-trigger:hover {
    border-color: rgba(3, 94, 183, 0.45); }

.customer-loyalty-history__filter-trigger-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px; }

.customer-loyalty-history__filter-trigger-icon {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0; }

.customer-loyalty-history__filter-trigger-chevron {
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #929292;
  flex-shrink: 0; }

.customer-loyalty-history__filter-modal {
  position: absolute;
  inset: 0;
  z-index: 1200;
  /* padding: 16px; */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  left: 24px;
  top: calc(100% + 4px); }
  .customer-loyalty-history__filter-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto; }

.customer-loyalty-history__filter-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 20px;
  border: 0.5px solid var(--global-border-default);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  max-width: 372px; }

.customer-loyalty-history__filter-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer; }

.customer-loyalty-history__filter-modal-title {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  line-height: 1.4;
  color: #414141; }

.customer-loyalty-history__filter-section {
  display: flex;
  flex-direction: column;
  gap: 16px; }

.customer-loyalty-history__filter-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px; }

.customer-loyalty-history__filter-section-label {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #272727; }

.customer-loyalty-history__filter-reset-link {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #003d79; }

.customer-loyalty-history__filter-dates {
  display: flex;
  gap: 16px; }

.customer-loyalty-history__filter-date-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px; }

.customer-loyalty-history__filter-date-label {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  color: #414141;
  margin: 0; }

.customer-loyalty-history__filter-date-field {
  display: flex;
  align-items: stretch;
  border: 1px solid #ecedf0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden; }

.customer-loyalty-history__filter-date-input {
  flex: 1;
  min-width: 0;
  padding: 10px 8px;
  border: 0;
  background: transparent;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #272727;
  outline: none;
  cursor: pointer; }

.customer-loyalty-history__filter-date-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 12px;
  margin: 0;
  border: 0;
  border-radius: 7px;
  background: #efefef;
  cursor: pointer; }

.customer-loyalty-history__filter-date-btn-icon {
  display: block;
  width: 13px;
  height: 13px;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23666' stroke-width='1.75'%3E%3Crect x='3.75' y='5.75' width='16.5' height='14.5' rx='2'/%3E%3Cpath d='M8 3.75V8M16 3.75V8M3.75 10.25h16.5'/%3E%3C/svg%3E"); }

.customer-loyalty-history__calendar {
  display: none;
  width: 100%; }
  .customer-loyalty-history__calendar.is-active {
    display: block; }
  .customer-loyalty-history__calendar .air-datepicker {
    width: 100%;
    max-width: none;
    margin: 0 auto; }

.customer-loyalty-history__filter-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; }

.customer-loyalty-history__filter-preset {
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #f3f3f4;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #111;
  white-space: nowrap;
  outline: none !important;
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
  .customer-loyalty-history__filter-preset.is-active {
    border-color: #035eb7;
    background: #d6f3ff;
    color: #035eb7; }

.customer-loyalty-history__filter-divider {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #ecedf0; }

.customer-loyalty-history__filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px; }

.customer-loyalty-history__filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap; }
  .customer-loyalty-history__filter-btn--outline {
    flex: 0 0 177px;
    max-width: 50%;
    border: 1px solid #003d79;
    background: #fff;
    color: #003d79; }
  .customer-loyalty-history__filter-btn--primary {
    flex: 1;
    min-width: 0;
    border: 0;
    background: #035eb7;
    color: #fff;
    font-weight: 700; }

@media (max-width: 480px) {
  .customer-loyalty-history__filter-dates {
    flex-direction: column;
    gap: 12px; }
  .customer-loyalty-history__filter-actions {
    flex-direction: column; }
  .customer-loyalty-history__filter-btn--outline {
    flex: 1 1 auto;
    max-width: none;
    width: 100%; } }

.customer-loyalty-history__list {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px 16px; }

.customer-loyalty-history__item {
  padding: 12px 0;
  border-bottom: 1px solid #eee; }
  .customer-loyalty-history__item.is-tier {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 32px 0; }
    .customer-loyalty-history__item.is-tier .customer-loyalty-history__item-name {
      display: flex;
      align-items: center;
      gap: 8px; }

.customer-loyalty-history__item-source {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.2;
  color: #606060; }

.customer-loyalty-history__item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px; }

.customer-loyalty-history__item-date {
  font-size: 14px;
  line-height: 1.2;
  color: #111; }

.customer-loyalty-history__item-points {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  color: #4aaa42;
  white-space: nowrap; }
  .customer-loyalty-history__item-points.is-negative {
    color: #000000; }

.customer-loyalty-history__empty {
  padding: 24px 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
  color: #606060; }

.customer-loyalty-history__pagination {
  padding: 8px 24px 16px; }

.fancybox-customer__sheet--loyalty-gift,
.fancybox-customer__sheet--loyalty-tiers {
  max-width: 560px;
  width: 100%; }

.fancybox-loyalty-gift__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px; }

.fancybox-loyalty-gift__content h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
  color: #111; }

.fancybox-loyalty-tiers__body {
  font-size: 16px;
  line-height: 1.2;
  color: #606060;
  line-height: 1.5; }

.fancybox-loyalty-tier-row {
  padding: 12px 0;
  border-bottom: 1px solid #eee; }
  .fancybox-loyalty-tier-row strong {
    color: #003d79; }

.ajax-loyalty-gift-detail-content {
  padding: 16px 24px 24px; }

.customer-loyalty-gift-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #272727; }

.customer-loyalty-gift-detail__image-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f3f4; }

.customer-loyalty-gift-detail__image {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover; }

.customer-loyalty-gift-detail__badge {
  position: absolute;
  top: 0;
  left: 0;
  padding: 4px 12px;
  border-radius: 0 0 12px 0;
  background: #035eb7;
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600; }

.customer-loyalty-gift-detail__meta {
  margin-top: 12px;
  text-align: center; }

.customer-loyalty-gift-detail__title {
  margin: 0;
  font-size: 32px;
  line-height: 1.3;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: #111111; }

.customer-loyalty-gift-detail__expiry {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  color: #035eb7; }

.customer-loyalty-gift-detail__source {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 300;
  color: #606060; }

.customer-loyalty-gift-detail__register {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  color: #272727; }
  .customer-loyalty-gift-detail__register p {
    margin: 0; }
  .customer-loyalty-gift-detail__register a {
    display: inline-block;
    margin-top: 4px;
    color: #035eb7;
    text-decoration: none;
    font-weight: 600; }

.customer-loyalty-gift-detail__code-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px; }

.customer-loyalty-gift-detail__code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #e6f5fb;
  font-size: 13px;
  line-height: 1.2;
  color: #414141; }

.customer-loyalty-gift-detail__barcode {
  width: 200px;
  max-width: 100%;
  height: auto;
  display: block; }

.customer-loyalty-gift-detail__barcode-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  color: #606060; }

.customer-loyalty-gift-detail__section h4 {
  margin: 0 0 5px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  color: #272727; }

.customer-loyalty-gift-detail__section-body {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 300;
  line-height: 1.4;
  color: #606060; }
  .customer-loyalty-gift-detail__section-body p {
    margin: 0; }
  .customer-loyalty-gift-detail__section-body p + p {
    margin-top: 8px; }
  .customer-loyalty-gift-detail__section-body div[id*="input_line_"] {
    font-size: 18px;
    margin-bottom: 5px;
    color: #272727; }
    .customer-loyalty-gift-detail__section-body div[id*="input_line_"] + ul * {
      color: #272727;
      font-size: 16px; }
    .customer-loyalty-gift-detail__section-body div[id*="input_line_"] + ul + div[id*="input_line_"] {
      margin-top: 16px; }

.customer-loyalty-membership__list {
  padding: 20px 16px 24px; }

.customer-loyalty-membership__tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1); }

.customer-loyalty-membership__tab {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  color: rgba(65, 65, 65, 0.6);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 10px 0;
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important; }
  .customer-loyalty-membership__tab.is-active {
    color: #003d79;
    border-bottom-color: #035eb7; }

.customer-loyalty-membership__hero {
  padding: 24px 16px 32px;
  border-radius: 12px;
  background: url(https://cdn.hstatic.net/files/200001144887/file/baa14197bfe167847f404190ee160cc44e3a1858.png);
  margin-bottom: 24px; }

.customer-loyalty-membership__hero-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px; }

.customer-loyalty-membership__tier-name {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  background: linear-gradient(270deg, #d4c57a 0%, #99820d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; }
  .customer-loyalty-membership__tier-name.is-dimond {
    background: linear-gradient(90deg, #045189 -0.36%, #0c85ba 36.91%, #0a7cb2 45.97%, #07669c 59.07%, #045189 68.13%, #07649b 99.36%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; }

.customer-loyalty-membership__welcome {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px 16px;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.08);
  position: relative; }
  .customer-loyalty-membership__welcome::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: linear-gradient(270deg, #e3d79a 0%, #99820d 100%);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px; }
  .customer-loyalty-membership__welcome.is-dimond::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: linear-gradient(90deg, #0c3d7d 0%, #0c84b9 100%);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px; }

.customer-loyalty-membership__welcome-title {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  color: #272727; }

.customer-loyalty-membership__welcome-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  line-height: 1.5;
  color: #727272;
  text-align: justify; }

.customer-loyalty-membership__benefits-title {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #272727; }

.customer-loyalty-membership__benefits {
  display: flex;
  flex-direction: column;
  gap: 16px; }

.customer-loyalty-membership__benefit-card {
  min-height: 100px;
  border-radius: 8px;
  background: url(https://cdn.hstatic.net/files/200001144887/file/group_162460.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px; }
  .customer-loyalty-membership__benefit-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    color: #272727; }

.customer-loyalty-membership__benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0; }

.rebuy-modal {
  --rebuy-blue: #035eb7;
  --rebuy-blue-soft: #c3edff;
  --rebuy-stroke: rgba(197, 198, 204, 0.6);
  --rebuy-text: #414141;
  --rebuy-muted: rgba(114, 114, 114, 0.6);
  --rebuy-chip-bg: #f3f3f4;
  position: fixed;
  inset: 0;
  z-index: 10056;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: 'Inter', sans-serif; }
  .rebuy-modal.is-open {
    display: flex; }
  .rebuy-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.48);
    opacity: 0;
    transition: opacity 0.3s ease; }
  .rebuy-modal.is-open .rebuy-modal__overlay {
    opacity: 1; }
  .rebuy-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 668px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    padding: 20px;
    border-radius: 8px;
    background: #fff;
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease; }
  .rebuy-modal.is-open .rebuy-modal__dialog {
    transform: translateY(0) scale(1);
    opacity: 1; }
  .rebuy-modal__title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    color: #111; }
  .rebuy-modal__list {
    display: flex;
    flex-direction: column;
    align-items: stretch; }
  .rebuy-modal__item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    cursor: pointer; }
  .rebuy-modal__checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0; }
  .rebuy-modal__indicator {
    position: relative;
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 1.25px solid var(--rebuy-stroke);
    box-sizing: border-box;
    transition: border-color 0.15s ease; }
  .rebuy-modal__checkbox:checked + .rebuy-modal__indicator {
    border: 1.5px solid var(--rebuy-blue-soft); }
  .rebuy-modal__checkbox:checked + .rebuy-modal__indicator::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid var(--rebuy-blue); }
  .rebuy-modal__checkbox:checked + .rebuy-modal__indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rebuy-blue);
    transform: translate(-50%, -50%); }
  .rebuy-modal__checkbox:focus-visible + .rebuy-modal__indicator {
    outline: 2px solid rgba(3, 94, 183, 0.4);
    outline-offset: 2px; }
  .rebuy-modal__card {
    display: flex;
    flex: 1 0 0;
    min-width: 0;
    gap: 16px;
    align-items: flex-start;
    padding: 12px 0;
    background: #fff;
    border-bottom: 0.5px solid var(--rebuy-stroke); }
  .rebuy-modal__thumb {
    position: relative;
    flex: none;
    width: 80px;
    height: 80px;
    border-radius: 5.806px;
    overflow: hidden; }
    .rebuy-modal__thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block; }
    .rebuy-modal__thumb::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 5.806px;
      background: rgba(0, 0, 0, 0.02); }
  .rebuy-modal__body {
    display: flex;
    flex: 1 0 0;
    min-width: 0;
    gap: 12px;
    align-items: flex-start; }
  .rebuy-modal__info {
    display: flex;
    flex: 1 0 0;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start; }
  .rebuy-modal__name {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--rebuy-text); }
  .rebuy-modal__variant {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    border-radius: 4px;
    background: var(--rebuy-chip-bg);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--rebuy-text);
    white-space: nowrap; }
  .rebuy-modal__meta {
    display: flex;
    flex: none;
    width: 196px;
    justify-content: space-between;
    align-items: flex-start; }
  .rebuy-modal__qty {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--rebuy-muted);
    white-space: nowrap; }
  .rebuy-modal__price-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    justify-content: center; }
  .rebuy-modal__price {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--rebuy-blue);
    white-space: nowrap; }
  .rebuy-modal__compare {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--rebuy-muted);
    text-decoration: line-through;
    white-space: nowrap; }
  .rebuy-modal__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--rebuy-blue);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease; }
    .rebuy-modal__submit:hover {
      background: #024e99; }
    .rebuy-modal__submit:disabled {
      opacity: 0.5;
      cursor: not-allowed; }
  @media (max-width: 600px) {
    .rebuy-modal__body {
      flex-direction: column;
      gap: 8px; }
    .rebuy-modal__meta {
      width: 100%; } }

body.is-rebuy-modal-open {
  overflow: hidden; }

/* —— TH Rewards: Quà của tôi (Figma node 2638:100826, 2638:100838) —— */
.customer-my-gift-main {
  gap: 24px; }

.customer-my-gift__title {
  margin: 0;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 500;
  line-height: 1.4;
  color: #111111; }

.customer-my-gift-tabs {
  display: inline-flex;
  align-items: stretch;
  gap: 6px;
  max-width: 386px;
  width: 100%;
  padding: 2px;
  border-radius: 8px;
  background: #f3f3f4; }

.customer-my-gift-tabs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  background: #eff0f0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #929292;
  white-space: nowrap;
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease, color 0.2s ease; }

.customer-my-gift-tabs__btn:first-child {
  flex-shrink: 0; }

.customer-my-gift-tabs__btn:last-child {
  flex: 1 1 auto;
  min-width: 0; }

.customer-my-gift-tabs__btn.is-active {
  background: #035eb7;
  color: #ffffff; }

.customer-my-gift-tabs__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  padding: 2px;
  border-radius: 200px;
  background: #d6f3ff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  color: #035eb7; }

.customer-my-gift-tabs__btn:not(.is-active) .customer-my-gift-tabs__badge {
  display: none; }

.customer-my-gift-tabs__panels {
  width: 100%; }

.customer-my-gift-tabs__panel[data-my-gift-panel='used-expired'] .customer-loyalty-gift-card__thumb {
  opacity: 0.5; }

.customer-loyalty-gift-card__status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #eff0f0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 300;
  line-height: 1.4;
  color: #606060;
  white-space: nowrap;
  width: fit-content; }

.customer-my-gift-tabs__panel {
  width: 100%; }

.customer-my-gift-tabs__panel[hidden] {
  display: none !important; }

.customer-my-gift-list-wrap {
  padding: 24px 32px; }

.customer-my-gift-list-wrap .customer-loyalty-gifts__list {
  max-height: 800px; }

.customer-my-gift-list-wrap .customer-loyalty-gift-card__source {
  display: block; }

.customer-my-gift-pagination {
  margin-top: 24px;
  padding: 0 32px 8px; }

.customer-loyalty-gift-card--skeleton {
  pointer-events: none;
  cursor: default; }

.customer-my-gift-skeleton {
  display: block;
  border-radius: 6px;
  background: linear-gradient(90deg, #e8eef3 0%, #f5f8fa 50%, #e8eef3 100%);
  background-size: 200% 100%;
  animation: customer-my-gift-skeleton-shimmer 1.2s ease-in-out infinite; }

.customer-my-gift-skeleton--thumb {
  width: 136px;
  height: 136px;
  margin: 0 auto; }

.customer-my-gift-skeleton--title {
  width: 100%;
  height: 22px;
  margin-bottom: 4px; }

.customer-my-gift-skeleton--title-sub {
  width: 72%;
  height: 22px;
  margin-bottom: 12px; }

.customer-my-gift-skeleton--source {
  width: 214px;
  max-width: 100%;
  height: 17px;
  margin-bottom: 12px; }

.customer-my-gift-skeleton--expiry {
  width: 55%;
  height: 22px; }

@keyframes customer-my-gift-skeleton-shimmer {
  0% {
    background-position: 200% 0; }
  100% {
    background-position: -200% 0; } }

.customer-loyalty-gift-card__delivery-tag {
  position: absolute;
  right: 0;
  bottom: 20px;
  z-index: 2;
  padding: 2px 6px;
  border: 0.5px solid rgba(197, 198, 204, 0.6);
  border-right: none;
  border-radius: 6px 0 0 6px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #035eb7;
  background: #ffffff;
  pointer-events: none; }

.customer-loyalty-gift-card__scanned-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2px 4px;
  border-radius: 6px 0 0 6px;
  background: #e5fde3;
  pointer-events: none; }

.customer-loyalty-gift-card__scanned-text {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #4aaa42;
  white-space: nowrap; }

.customer-my-gift-list-wrap .customer-loyalty-gift-card__info-layout {
  display: flex;
  flex-direction: column;
  min-width: 0; }

.customer-my-gift-list-wrap .customer-loyalty-gift-card__info-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px; }

.customer-my-gift-list-wrap .customer-loyalty-gift-card__info-head .customer-loyalty-gift-card__title {
  flex: 1;
  min-width: 0;
  margin-bottom: 0; }

.customer-my-gift-list-wrap .customer-loyalty-gift-card__badge-wrap {
  flex-shrink: 0;
  margin: -12px -24px 0 0;
  align-self: flex-end; }

.customer-my-gift-list-wrap .customer-loyalty-gift-card__scanned-tag .customer-my-gift-detail__scanned-icon {
  width: 18px;
  height: 18px; }

.customer-my-gift-empty-wrap {
  width: 100%; }

.customer-my-gift-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 16px;
  width: 100%; }

.customer-my-gift-empty__icon {
  width: 148px;
  height: 126px;
  flex-shrink: 0; }

.customer-my-gift-empty__icon svg {
  display: block;
  width: 100%;
  height: 100%; }

.customer-my-gift-empty__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 277px;
  text-align: center; }

.customer-my-gift-empty__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%; }

.customer-my-gift-empty__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #111111; }

.customer-my-gift-empty__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #929292; }

.customer-my-gift-empty__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 12px 40px;
  border-radius: 8px;
  background: #035eb7;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.2s ease; }

.customer-my-gift-empty__cta:hover {
  background: #024a91;
  color: #ffffff; }

.customer-my-gift-sidebars {
  z-index: 10100; }

.customer-my-gift-sidebars .customer-my-gift-detail-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
  transform: translateX(100%);
  padding: 40px 0 0; }

.customer-my-gift-sidebars.is-open .customer-my-gift-detail-panel.is-active {
  transform: translateX(0); }

.customer-my-gift-sidebars .customer-loyalty-sidebars__backdrop {
  z-index: 0; }

.customer-my-gift-detail-panel__header {
  flex-shrink: 0; }

.customer-my-gift-detail-panel__body {
  flex: 1;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px 24px 20.5px;
  scrollbar-width: thin;
  scrollbar-color: #c5c6cc transparent; }
  .customer-my-gift-detail-panel__body::-webkit-scrollbar {
    width: 4px; }
  .customer-my-gift-detail-panel__body::-webkit-scrollbar-track {
    background: transparent; }
  .customer-my-gift-detail-panel__body::-webkit-scrollbar-thumb {
    background: #c5c6cc;
    border-radius: 999px; }
  .customer-my-gift-detail-panel__body::-webkit-scrollbar-thumb:hover {
    background: #a8a9ae; }

.customer-my-gift-detail-panel__loading {
  padding: 24px 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
  color: #606060; }

.customer-my-gift-detail-panel__error {
  margin: 0;
  padding: 24px 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
  color: #606060; }

.customer-my-gift-sidebars .ajax-my-gift-detail-content {
  padding: 0;
  min-width: 0;
  overflow-x: hidden; }

.customer-my-gift-detail {
  gap: 20px;
  min-width: 0;
  overflow-x: hidden; }

.customer-my-gift-detail .customer-loyalty-gift-detail__code-block {
  width: 100%;
  max-width: 100%; }

.customer-my-gift-detail .customer-loyalty-gift-detail__code-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center; }
  .customer-my-gift-detail .customer-loyalty-gift-detail__code-icon svg {
    display: block;
    width: 18px;
    height: 18px; }

.customer-my-gift-detail .customer-loyalty-gift-detail__title {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #111111; }

.customer-my-gift-detail .customer-loyalty-gift-detail__meta {
  margin-top: 17px; }

.customer-my-gift-detail .customer-loyalty-gift-detail__section-body {
  overflow-wrap: anywhere;
  word-break: break-word; }
  .customer-my-gift-detail .customer-loyalty-gift-detail__section-body img {
    max-width: 100%;
    height: auto; }

.customer-my-gift-detail__scanned-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2px 4px;
  border-radius: 0 0 8px 0;
  background: #e5fde3;
  pointer-events: none; }

.customer-my-gift-detail__mark-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2px 4px;
  border: 0.5px solid rgba(197, 198, 204, 0.6);
  border-radius: 8px 0 8px 0;
  background: #ffffff;
  cursor: pointer;
  font-family: inherit; }
  .customer-my-gift-detail__mark-badge:hover {
    background: #f8f8f8; }
  .customer-my-gift-detail__mark-badge:focus-visible {
    outline: 2px solid #035eb7;
    outline-offset: 2px; }

.customer-my-gift-detail__mark-badge-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center; }
  .customer-my-gift-detail__mark-badge-icon svg {
    display: block;
    width: 16px;
    height: 16px; }

.customer-my-gift-detail__mark-badge-text {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #888888;
  white-space: nowrap;
  display: none !important; }

.customer-my-gift-detail__scanned-text {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.3;
  color: #4aaa42;
  white-space: nowrap; }

.customer-my-gift-detail__scanned-icon {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center; }

.customer-my-gift-detail__scanned-icon-scanner {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center; }
  .customer-my-gift-detail__scanned-icon-scanner svg {
    display: block;
    width: 16px;
    height: 16px; }

.customer-my-gift-detail__scanned-icon-check {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  width: 8px;
  height: 8px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #cde2cc; }
  .customer-my-gift-detail__scanned-icon-check svg {
    display: block;
    width: 8px;
    height: 8px; }

.customer-my-gift-detail__barcode {
  width: 280px;
  max-width: 100%;
  overflow: hidden; }
  .customer-my-gift-detail__barcode svg {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto; }
    .customer-my-gift-detail__barcode svg text {
      display: none; }

.customer-my-gift-detail-panel__footer {
  flex-shrink: 0;
  padding: 20px 10px;
  background: #ffffff;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08); }

.customer-my-gift-detail-panel__mark-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 42px;
  padding: 8px;
  border: none;
  border-radius: 8px;
  background: #e6f5fb;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.3;
  color: #003d79;
  cursor: pointer;
  transition: background-color 0.2s ease; }
  .customer-my-gift-detail-panel__mark-btn:hover {
    background: #d9eef8; }

.customer-my-gift-detail-panel__mark-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center; }
  .customer-my-gift-detail-panel__mark-icon svg {
    display: block;
    width: 16px;
    height: 16px; }
  .customer-my-gift-detail-panel__mark-icon.is-unmark {
    width: 24px;
    height: 24px; }
    .customer-my-gift-detail-panel__mark-icon.is-unmark svg {
      width: 20px;
      height: 20px; }

.customer-my-gift-mark-confirm {
  position: fixed;
  inset: 0;
  z-index: 10150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.25s ease; }

.customer-my-gift-mark-confirm.is-open {
  pointer-events: auto;
  visibility: visible; }

.customer-my-gift-mark-confirm__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease; }

.customer-my-gift-mark-confirm.is-open .customer-my-gift-mark-confirm__backdrop {
  opacity: 1; }

.customer-my-gift-mark-confirm__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 350px;
  padding: 20px;
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 16px; }

.customer-my-gift-mark-confirm__close {
  position: absolute;
  top: -12px;
  right: -12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 10px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  background: #555e67;
  cursor: pointer;
  box-sizing: border-box; }

.customer-my-gift-mark-confirm__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #111111; }

.customer-my-gift-mark-confirm__actions {
  display: flex;
  gap: 12px;
  width: 100%; }

.customer-my-gift-mark-confirm__btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }

.customer-my-gift-mark-confirm__btn--outline {
  border: 1px solid #003d79;
  background: #ffffff;
  color: #003d79; }
  .customer-my-gift-mark-confirm__btn--outline:hover {
    background: #f5faff; }

.customer-my-gift-mark-confirm__btn--primary {
  border: 1px solid #035eb7;
  background: #035eb7;
  color: #ffffff;
  font-weight: 700; }
  .customer-my-gift-mark-confirm__btn--primary:hover {
    background: #024a91;
    border-color: #024a91; }

.checkout-address-modal {
  --cart-blue: #035eb7;
  --cart-blue-dark: #003d79;
  --cart-blue-light: #137ce3;
  --cart-text: #272727;
  --cart-text-body: #414141;
  --cart-text-muted: #727272;
  --cart-text-light: #929292;
  --cart-stroke: rgba(197, 198, 204, 0.6);
  --cart-green: #4aaa42;
  --cart-white: #fff;
  position: fixed;
  inset: 0;
  z-index: 10160;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: 'Inter', sans-serif; }
  .checkout-address-modal.is-open {
    display: flex; }
  .checkout-address-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.48); }
  .checkout-address-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow: visible;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
    display: flex;
    flex-direction: column; }
    .checkout-address-modal__panel.is-form-step {
      max-width: 540px;
      min-height: 602px;
      overflow: visible; }
  .checkout-address-modal__step {
    display: none;
    flex-direction: column;
    min-height: 0;
    flex: 1; }
    .checkout-address-modal__step.is-active {
      display: flex; }
    .checkout-address-modal__step--form {
      position: relative;
      min-height: 602px;
      overflow: visible;
      border-radius: 12px;
      background: #fff; }
  .checkout-address-modal__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px 16px;
    border-bottom: 0.5px solid var(--cart-stroke);
    flex-shrink: 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04); }
    .checkout-address-modal__head--form {
      min-height: 68px;
      align-items: center;
      padding: 12px 48px 16px 20px;
      border-bottom: none;
      box-shadow: none; }
  .checkout-address-modal__back {
    display: inline-flex;
    align-items: center;
    width: 25px;
    height: 32px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    flex-shrink: 0; }
  .checkout-address-modal__title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--cart-text-body); }
  .checkout-address-modal__add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: none;
    padding: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--cart-blue);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0; }
    .checkout-address-modal__add svg {
      display: block;
      flex-shrink: 0;
      width: 16px;
      height: 16px; }
  .checkout-address-modal__close-fab {
    position: absolute;
    top: -12px;
    right: -12px;
    z-index: 5;
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #555e67;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); }
    .checkout-address-modal__close-fab svg {
      display: block;
      flex-shrink: 0; }
  .checkout-address-modal__panel.is-form-step .checkout-address-modal__close-fab--form {
    display: inline-flex; }
  .checkout-address-modal__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto; }
  .checkout-address-modal__step--list .checkout-address-modal__body {
    padding: 0 0 24px; }
  .checkout-address-modal__list {
    display: flex;
    flex-direction: column;
    gap: 0; }
  .checkout-address-modal__footer {
    flex-shrink: 0;
    padding: 0 12px 12px; }
    .checkout-address-modal__footer button.btn_final_address {
      width: 100%;
      border: none;
      border-radius: 8px;
      background: var(--cart-blue);
      color: var(--cart-white);
      font-size: 16px;
      font-weight: 600;
      line-height: 1.3;
      padding: 14px 20px;
      cursor: pointer;
      transition: background 0.2s ease, opacity 0.2s ease; }
      .checkout-address-modal__footer button.btn_final_address:hover:not(:disabled) {
        background: var(--cart-blue-dark); }
      .checkout-address-modal__footer button.btn_final_address:disabled {
        opacity: 0.5;
        cursor: not-allowed; }

.checkout-address-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px;
  background: #fff;
  cursor: pointer;
  margin: 0; }
  .checkout-address-item__input {
    position: absolute;
    opacity: 0;
    pointer-events: none; }
  .checkout-address-item__radio {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border: 1.25px solid #c5c6cc;
    border-radius: 50%;
    position: relative;
    background: #fff; }
    .checkout-address-item__radio::after {
      content: '';
      position: absolute;
      inset: 4px;
      border-radius: 50%;
      background: #035eb7;
      opacity: 0;
      transform: scale(0.5);
      transition: opacity 0.2s ease, transform 0.2s ease; }
  .checkout-address-item__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px; }
  .checkout-address-item__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0; }
  .checkout-address-item__meta {
    display: flex;
    flex-direction: column;
    gap: 4px; }
  .checkout-address-item__name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #111111; }
  .checkout-address-item__phone {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #414141; }
  .checkout-address-item__text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    color: #929292; }
  .checkout-address-item__actions {
    display: flex;
    align-items: center;
    gap: 16px; }
  .checkout-address-item__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: none;
    padding: 0;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    cursor: pointer; }
    .checkout-address-item__action--edit {
      color: #035eb7; }
    .checkout-address-item__action--delete {
      color: #ff0202; }

.customer-my-gift-detail__delivery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
  text-align: center;
  display: none !important; }
  .customer-my-gift-detail__delivery.is-configured {
    flex-direction: column;
    align-items: center;
    gap: 4px; }

.customer-my-gift-detail__delivery-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%; }

.customer-my-gift-detail__delivery-label {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #272727; }

.customer-my-gift-detail__delivery-update {
  border: none;
  padding: 0;
  background: none;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  line-height: 1.4;
  color: #035eb7;
  cursor: pointer; }
  .customer-my-gift-detail__delivery-update:hover {
    text-decoration: underline; }

.customer-my-gift-detail__delivery-summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  line-height: 1.4;
  color: #929292; }

.checkout-address-modal--picker {
  z-index: 10160; }
  .checkout-address-modal--picker .checkout-address-modal__title {
    font-size: 18px;
    font-weight: 600;
    color: #111111; }
  .checkout-address-modal--picker .checkout-address-modal__add {
    gap: 6px; }
    .checkout-address-modal--picker .checkout-address-modal__add svg {
      display: block;
      flex-shrink: 0;
      width: 16px;
      height: 16px; }
  .checkout-address-modal--picker .checkout-address-modal__close-fab--list {
    display: inline-flex; }
  .checkout-address-modal--picker .checkout-address-modal__head {
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.08); }
  .checkout-address-modal--picker .checkout-address-item__input:checked + .checkout-address-item__radio::after {
    opacity: 1;
    transform: scale(1); }
  .checkout-address-modal--picker .checkout-address-item {
    border-bottom: 0.5px solid rgba(197, 198, 204, 0.6); }
    .checkout-address-modal--picker .checkout-address-item:last-child {
      border-bottom: none; }
  .checkout-address-modal--picker .checkout-address-item__badge,
  .checkout-address-modal--picker .checkout-badge.checkout-badge--green {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border: 1px solid #4aaa42;
    border-radius: 12px;
    background: transparent;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 400;
    line-height: 1.4;
    color: #4aaa42; }
  .checkout-address-modal--picker .checkout-address-item__name {
    font-weight: 600; }
  .checkout-address-modal--picker .checkout-address-item__action--edit svg {
    width: 16px;
    height: 16px; }
  .checkout-address-modal--picker .checkout-address-item__action--delete {
    color: #ff0202; }
  .checkout-address-modal--picker .checkout-address-modal__step--list .checkout-address-modal__body {
    padding-bottom: 12px; }

.checkout-address-modal__loading,
.checkout-address-modal__empty {
  padding: 24px 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
  color: #606060; }

body.is-checkout-address-modal-open {
  overflow: hidden; }

/* ========== Kho quà (Figma 45:10444) ========== */
.kho-qua-main {
  display: flex;
  flex-direction: column;
  gap: 40px; }

.kq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease; }

.kq-btn--primary {
  border: none;
  background: #035eb7;
  color: #fff;
  font-weight: 700; }

.kq-btn--primary:hover {
  background: #003d79;
  color: #fff; }

.kq-btn--outline {
  border: 1px solid #003d79;
  background: #fff;
  color: #003d79; }

.kq-btn--outline:hover {
  background: #003d79;
  color: #fff; }

/* Hoa Đất card */
.kq-points {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 245px;
  padding: 24px 36px 21px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(90deg, #cfe5fb 0%, #d9e9ef 52%, #f5fcff 97%); }

.kq-points__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px; }

.kq-points__top {
  display: flex;
  align-items: center;
  gap: 12px; }

.kq-points__icon {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain; }

.kq-points__val {
  margin: 0;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 600;
  line-height: 1.4;
  color: #99820d; }

.kq-points__note {
  display: flex;
  align-items: flex-start;
  gap: 4px; }

.kq-points__bell {
  display: block;
  flex-shrink: 0;
  width: 28px;
  height: 24px;
  object-fit: contain; }

.kq-points__note-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 300;
  line-height: 1.4;
  color: #414141; }

.kq-points__note-text strong {
  font-weight: 600; }

.kq-points__acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px; }
  .kq-points__acts .line {
    display: none; }

.kq-points__deco {
  position: absolute;
  right: 36px;
  top: 50%;
  width: 200px;
  height: 200px;
  margin-top: -100px;
  object-fit: contain;
  pointer-events: none; }

/* Chương trình */
.kq-list {
  display: flex;
  flex-direction: column;
  gap: 40px; }

.kq-prog {
  display: flex;
  flex-direction: column;
  gap: 40px; }

.kq-prog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 37px; }

.kq-prog__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #111; }

.kq-prog__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  padding: 0;
  border: none;
  border-radius: 200px;
  background: transparent;
  cursor: pointer; }

.kq-prog__toggle img,
.kq-prog__toggle svg {
  display: block;
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease; }

.kq-prog__body {
  display: flex;
  flex-direction: column;
  gap: 40px; }

.kq-prog.is-collapsed {
  gap: 0; }

.kq-prog.is-collapsed .kq-prog__body {
  display: none; }

.kq-prog.is-collapsed .kq-prog__toggle img,
.kq-prog.is-collapsed .kq-prog__toggle svg {
  transform: rotate(180deg); }

.kq-prog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px; }

.kq-prog__more {
  display: flex;
  justify-content: center; }

.kq-prog__more .kq-btn {
  min-width: 174px;
  min-height: 46px;
  padding: 12px 40px; }

/* Gift card */
.kq-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
  border: 0.5px solid rgba(197, 198, 204, 0.6);
  border-radius: 8px;
  background: #fff;
  overflow: hidden; }

.kq-card.is-soldout {
  opacity: 0.5; }

.kq-card__img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 12px; }

.kq-card__img img {
  display: block;
  width: 100%;
  max-width: 230px;
  height: auto;
  max-height: 204px;
  object-fit: contain;
  border-radius: 8px; }

.kq-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 16px 0; }

.kq-card__stock {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 300;
  line-height: 1.4;
  color: #606060; }

.kq-card__name {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #272727;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; }

.kq-card__cost {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  line-height: 1.4;
  color: #99820d; }

.kq-card__cost img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain; }

.kq-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
  padding: 12px 40px;
  border: none;
  border-radius: 8px;
  background: #035eb7;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  cursor: pointer; }

.kq-card__btn:hover {
  background: #003d79;
  color: #fff; }

.kq-card__btn.is-disabled,
.kq-card__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none; }

/* Skeleton — mirror .kq-prog / .kq-card */
.kq-card--skeleton {
  pointer-events: none;
  cursor: default; }

.kq-skeleton {
  display: block;
  border-radius: 6px;
  background: linear-gradient(90deg, #e8eef3 0%, #f5f8fa 50%, #e8eef3 100%);
  background-size: 200% 100%;
  animation: kq-skeleton-shimmer 1.2s ease-in-out infinite; }

.kq-skeleton--title {
  width: 220px;
  max-width: 70%;
  height: 28px; }

.kq-skeleton--toggle {
  flex-shrink: 0;
  width: 37px;
  height: 37px;
  border-radius: 200px; }

.kq-skeleton--img {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 1 / 1;
  border-radius: 8px; }

.kq-skeleton--stock {
  width: 42%;
  height: 18px; }

.kq-skeleton--name {
  width: 88%;
  height: 22px; }

.kq-skeleton--cost {
  width: 55%;
  height: 22px;
  margin: 4px 0; }

.kq-skeleton--btn {
  width: 100%;
  height: 48px;
  margin-top: 4px;
  border-radius: 8px; }

.kq-skeleton--more {
  width: 174px;
  height: 46px;
  border-radius: 8px; }

@keyframes kq-skeleton-shimmer {
  0% {
    background-position: 200% 0; }
  100% {
    background-position: -200% 0; } }

@media (max-width: 1199px) {
  .kq-prog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kq-points__deco {
    width: 140px;
    height: 140px;
    margin-top: -70px;
    right: 16px; } }

@media (max-width: 991px) {
  .kho-qua-main {
    gap: 32px; }
  .kq-points {
    min-height: auto;
    padding: 24px 20px; }
  .kq-points__val {
    font-size: 24px;
    line-height: 1.2; }
  .kq-points__acts {
    gap: 8px; }
  .kq-points__acts .kq-btn {
    flex: 1 1 auto; }
  .kq-prog {
    gap: 24px; }
  .kq-prog__body {
    gap: 24px; }
  .kq-list {
    gap: 32px; }
  .kq-prog__title {
    font-size: 20px;
    line-height: 1.2; } }

/* Modal đổi quà — Figma 45:17219 */
.kq-detail {
  position: fixed;
  inset: 0;
  z-index: 10100;
  visibility: hidden;
  pointer-events: none; }

.kq-detail.is-open {
  visibility: visible;
  pointer-events: auto; }

.kq-detail__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.48);
  opacity: 0;
  transition: opacity 0.25s ease; }

.kq-detail.is-open .kq-detail__backdrop {
  opacity: 1; }

.kq-detail__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  height: 100%;
  padding: 40px 24px 24px;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-sizing: border-box; }

.kq-detail.is-open .kq-detail__panel {
  transform: translateX(0); }

.kq-detail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px; }

.kq-detail__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #272727; }

.kq-detail__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer; }

.kq-detail__body {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 16px; }

.kq-detail__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 12px; }

.kq-detail__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: #f5f5f5; }

.kq-detail__tag {
  position: absolute;
  top: 0;
  left: 0;
  padding: 4px 12px;
  border-radius: 12px 0 12px 0;
  background: #035eb7;
  font-size: 15px;
  font-weight: 600;
  line-height: normal;
  color: #fff; }

.kq-detail__info {
  margin-bottom: 16px;
  text-align: center; }

.kq-detail__name {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: #111; }

.kq-detail__expiry {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: #035eb7; }

.kq-detail__point {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 12px 40px;
  border-radius: 4px;
  background: #fff9dd;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #99820d;
  box-sizing: border-box; }

.kq-detail__point img {
  display: block;
  width: 20px;
  height: 20px; }

.kq-detail__section {
  margin-bottom: 16px; }
  .kq-detail__section div[id*="input_line_"] {
    font-size: 18px;
    margin-bottom: 5px;
    color: #272727; }
    .kq-detail__section div[id*="input_line_"] + ul {
      margin-bottom: 16px; }
      .kq-detail__section div[id*="input_line_"] + ul * {
        color: #272727;
        font-size: 16px; }
      .kq-detail__section div[id*="input_line_"] + ul li {
        margin-bottom: 8px; }

.kq-detail__section-title {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #272727; }

.kq-detail__section-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: #272727; }

.kq-detail__bar {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  background: #e6f5fb;
  box-sizing: border-box; }

.kq-detail__balance {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #414141; }

.kq-detail__balance-val {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #99820d; }

.kq-detail__balance-val img {
  display: block;
  width: 22px;
  height: 22px; }

.kq-detail__need {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #137ce3; }

.kq-detail__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 40px;
  border: none;
  border-radius: 8px;
  background: #035eb7;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  cursor: pointer; }

.kq-detail__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed; }

body.is-kq-detail-open {
  overflow: hidden; }

/* Popup đổi quà cần nằm trên sidebar detail */
body.is-kq-detail-open .checkout-address-modal--picker,
body.is-kq-detail-open .checkout-store-modal {
  z-index: 10250; }

/* Popup xác nhận đổi quà — Figma 45:17654 */
.kq-confirm {
  position: fixed;
  inset: 0;
  z-index: 10200;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none; }

.kq-confirm.is-open {
  visibility: visible;
  pointer-events: auto; }

.kq-confirm__mask {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.48); }

.kq-confirm__box {
  position: relative;
  z-index: 1;
  width: 350px;
  max-width: calc(100% - 32px);
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box; }

.kq-confirm__x {
  position: absolute;
  top: -12px;
  right: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer; }

.kq-confirm__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #111; }

.kq-confirm__desc {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #929292; }

.kq-confirm__acts {
  display: flex;
  gap: 16px;
  width: 224px; }

.kq-confirm__ok,
.kq-confirm__cancel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
  box-sizing: border-box; }

.kq-confirm__ok {
  border: none;
  background: #035eb7;
  font-weight: 700;
  color: #fff; }

.kq-confirm__cancel {
  border: 1px solid #003d79;
  background: #fff;
  font-weight: 600;
  color: #003d79; }

/* Popup đổi quà thành công — Figma 4636:34989 */
.kq-success {
  position: fixed;
  inset: 0;
  z-index: 10220;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none; }

.kq-success.is-open {
  visibility: visible;
  pointer-events: auto; }

body.is-kq-success-open {
  overflow: hidden; }

.kq-success__mask {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.48); }

.kq-success__box {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 350px;
  max-width: calc(100% - 32px);
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box; }

.kq-success__x {
  position: absolute;
  top: -12px;
  right: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer; }

.kq-success__img {
  display: block;
  width: 200px;
  height: 165px;
  object-fit: contain; }

.kq-success__title {
  margin: 0;
  max-width: 233px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #111;
  text-align: center; }

.kq-success__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #035eb7;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  cursor: pointer;
  box-sizing: border-box; }

.kq-success.is-done .kq-remind__btn {
  display: none; }

/* Popup Tặng Hoa Đất — Figma 2638:108806 */
.kq-gift {
  position: fixed;
  inset: 0;
  z-index: 10200;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none; }

.kq-gift.is-open {
  visibility: visible;
  pointer-events: auto; }

.kq-gift__mask {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.48); }

.kq-gift__box {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 484px;
  max-width: calc(100% - 32px);
  max-height: calc(100vh - 32px);
  padding: 24px 16px;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
  /*overflow-x: hidden;
  overflow-y: auto;*/ }

.kq-gift__x {
  position: absolute;
  top: -12px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer; }

.kq-gift__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: #111; }

.kq-gift__card {
  position: relative;
  height: 140px;
  padding: 36px 24px 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #cfe5fb 0%, #d9e9ef 52.4%, #f5fcff 97.12%);
  box-sizing: border-box;
  overflow: hidden; }

.kq-gift__card-label {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #414141; }

.kq-gift__card-val {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  color: #99820d; }

.kq-gift__card-val img {
  display: block;
  width: 28px;
  height: 28px; }

.kq-gift__card-deco {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 100px;
  height: 100px;
  object-fit: contain;
  pointer-events: none; }

.kq-gift__row {
  display: flex;
  gap: 16px; }

.kq-gift__field {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-width: 0; }

.kq-gift__label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #2f3036; }

.kq-gift__req {
  color: #ff2f2f; }

.kq-gift__input,
.kq-gift__textarea {
  width: 100%;
  margin: 0;
  padding: 12px 16px;
  border: 0.5px solid rgba(197, 198, 204, 0.6);
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #414141; }

.kq-gift__input {
  height: 48px; }

.kq-gift__input::placeholder,
.kq-gift__textarea::placeholder {
  color: #b5b5b5; }

.kq-gift__input:focus,
.kq-gift__textarea:focus {
  outline: none;
  border-color: #035eb7; }

.kq-gift__input[readonly] {
  background: #f7f7f7;
  cursor: default; }

.kq-gift__textarea {
  min-height: 80px;
  resize: vertical; }

.kq-gift__field.is-error .kq-gift__input,
.kq-gift__field.is-error .kq-gift__textarea {
  border-color: #ff2f2f; }

.kq-gift__err {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #ff2f2f; }

.kq-gift__acts {
  display: flex;
  gap: 12px; }

.kq-gift__ok,
.kq-gift__cancel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
  box-sizing: border-box; }

.kq-gift__ok {
  border: none;
  background: #035eb7;
  font-weight: 500;
  color: #fff; }

.kq-gift__ok:disabled {
  opacity: 0.55;
  cursor: not-allowed; }

.kq-gift__cancel {
  border: 1px solid #003d79;
  background: #fff;
  font-weight: 500;
  color: #003d79; }

body.is-kq-gift-open {
  overflow: hidden; }

/* Popup xác nhận tặng Hoa Đất — Figma 45:20471 */
.kq-gconfirm {
  position: fixed;
  inset: 0;
  z-index: 10250;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none; }

.kq-gconfirm.is-open {
  visibility: visible;
  pointer-events: auto; }

.kq-gconfirm__mask {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.48); }

.kq-gconfirm__box {
  position: relative;
  z-index: 1;
  width: 350px;
  max-width: calc(100% - 32px);
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box; }

.kq-gconfirm__x {
  position: absolute;
  top: -12px;
  right: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer; }

.kq-gconfirm__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #111; }

.kq-gconfirm__acts {
  display: flex;
  gap: 16px; }

.kq-gconfirm__ok,
.kq-gconfirm__back {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
  box-sizing: border-box; }

.kq-gconfirm__ok {
  border: none;
  background: #035eb7;
  font-weight: 700;
  color: #fff; }

.kq-gconfirm__ok:disabled {
  opacity: 0.55;
  cursor: not-allowed; }

.kq-gconfirm__back {
  border: 1px solid #003d79;
  background: #fff;
  font-weight: 600;
  color: #003d79; }

body.is-kq-gconfirm-open {
  overflow: hidden; }

/* Sidebar Hoa Đất khả dụng — Figma 2638:107596 */
.kq-avl {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10100;
  visibility: hidden;
  pointer-events: none; }

.kq-avl.is-open {
  visibility: visible;
  pointer-events: auto; }

.kq-avl__mask {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(10, 10, 10, 0.48);
  opacity: 0;
  transition: opacity 0.25s ease; }

.kq-avl.is-open .kq-avl__mask {
  opacity: 1; }

.kq-avl__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  height: 100%;
  padding: 40px 24px 24px;
  background: #fff;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform 0.3s ease; }

.kq-avl.is-open .kq-avl__panel {
  transform: translateX(0); }

.kq-avl__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px; }

.kq-avl__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #272727; }

.kq-avl__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer; }

.kq-avl__body {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto; }

.kq-avl__card {
  position: relative;
  height: 140px;
  margin-bottom: 20px;
  padding: 36px 24px 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #cfe5fb 0%, #d9e9ef 52.4%, #f5fcff 97.12%);
  box-sizing: border-box;
  overflow: hidden; }

.kq-avl__card-label {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #414141; }

.kq-avl__card-val {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: #99820d; }

.kq-avl__card-val img {
  display: block;
  width: 22px;
  height: 22px; }

.kq-avl__card-deco {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 100px;
  height: 100px;
  object-fit: contain;
  pointer-events: none; }

.kq-avl__tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px; }

.kq-avl__filter-wrap {
  position: relative; }

.kq-avl__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 8px 8px 12px;
  border: 0.5px solid rgba(197, 198, 204, 0.6);
  border-radius: 8px;
  background: #fff;
  cursor: pointer; }

.kq-avl__chip-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.16px;
  color: #111;
  white-space: nowrap; }

.kq-avl__chip-arrow {
  display: block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #929292; }

.kq-avl__sort-icon {
  display: block;
  width: 12px;
  height: 12px; }

.kq-avl__fmodal {
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  z-index: 5;
  width: 100%;
  min-width: 357px;
  max-width: 372px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none; }

.kq-avl__fmodal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto; }

.kq-avl__fbox {
  position: relative;
  padding: 20px;
  border: 0.5px solid rgba(197, 198, 204, 0.6);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  box-sizing: border-box; }

.kq-avl__fx {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer; }

.kq-avl__ftitle {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #414141; }

.kq-avl__fhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px; }

.kq-avl__flabel {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #272727; }

.kq-avl__freset {
  padding: 0;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #003d79;
  cursor: pointer; }

.kq-avl__fdates {
  display: flex;
  gap: 16px;
  margin-bottom: 10px; }

.kq-avl__fcol {
  flex: 1;
  min-width: 0; }

.kq-avl__fdl {
  display: block;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #414141;
  opacity: 0.7; }

.kq-avl__ffield {
  display: flex;
  align-items: stretch;
  border: 1px solid #ecedf0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden; }

.kq-avl__finput {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 10px 8px;
  border: none;
  background: transparent;
  font-size: 15px;
  line-height: 1.4;
  color: #272727;
  outline: none;
  cursor: pointer;
  box-sizing: border-box; }

.kq-avl__fcal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 12px;
  border: none;
  border-radius: 7px;
  background: #efefef;
  cursor: pointer; }

.kq-avl__fcal-icon {
  display: block;
  width: 13px;
  height: 13px;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23666' stroke-width='1.75'%3E%3Crect x='3.75' y='5.75' width='16.5' height='14.5' rx='2'/%3E%3Cpath d='M8 3.75V8M16 3.75V8M3.75 10.25h16.5'/%3E%3C/svg%3E"); }

.kq-avl__calendar {
  display: none;
  width: 100%;
  margin-bottom: 10px; }

.kq-avl__calendar.is-active {
  display: block; }

.kq-avl__calendar .air-datepicker {
  width: 100%;
  max-width: none;
  margin: 0 auto; }

.kq-avl__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px; }

.kq-avl__preset {
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #f3f3f4;
  font-size: 15px;
  line-height: 1.4;
  color: #111;
  cursor: pointer;
  white-space: nowrap; }

.kq-avl__preset.is-active {
  border-color: #035eb7;
  background: #d6f3ff;
  color: #035eb7; }

.kq-avl__fline {
  margin: 0 0 20px;
  border: none;
  border-top: 1px solid #ecedf0; }

.kq-avl__facts {
  display: flex;
  gap: 12px; }

.kq-avl__fbtn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
  box-sizing: border-box; }

.kq-avl__fbtn--outline {
  border: 1px solid #003d79;
  background: #fff;
  font-weight: 600;
  color: #003d79; }

.kq-avl__fbtn--primary {
  border: none;
  background: #035eb7;
  font-weight: 700;
  color: #fff; }

.kq-avl__list {
  display: flex;
  flex-direction: column;
  gap: 16px; }

.kq-avl__item {
  padding: 12px 0;
  border-bottom: 0.5px solid rgba(197, 198, 204, 0.6); }

.kq-avl__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px; }

.kq-avl__point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #414141;
  white-space: nowrap; }

.kq-avl__point img {
  display: block;
  width: 20px;
  height: 20px; }

.kq-avl__hsd {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #606060;
  white-space: nowrap; }

.kq-avl__empty {
  padding: 24px 0;
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: #606060; }

body.is-kq-avl-open {
  overflow: hidden; }

/* Sidebar Lịch sử Hoa Đất — Figma 45:18390 */
.kq-his {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10100;
  visibility: hidden;
  pointer-events: none; }

.kq-his.is-open {
  visibility: visible;
  pointer-events: auto; }

.kq-his__mask {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(10, 10, 10, 0.48);
  opacity: 0;
  transition: opacity 0.25s ease; }

.kq-his.is-open .kq-his__mask {
  opacity: 1; }

.kq-his__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  height: 100%;
  padding: 40px 24px 24px;
  background: #fff;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform 0.3s ease; }

.kq-his.is-open .kq-his__panel {
  transform: translateX(0); }

.kq-his__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px; }

.kq-his__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #272727; }

.kq-his__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer; }

.kq-his__body {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto; }

.kq-his__card {
  position: relative;
  height: 140px;
  margin-bottom: 20px;
  padding: 36px 24px 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #cfe5fb 0%, #d9e9ef 52.4%, #f5fcff 97.12%);
  box-sizing: border-box;
  overflow: hidden; }

.kq-his__card-label {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #414141; }

.kq-his__card-val {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: #99820d; }

.kq-his__card-val img {
  display: block;
  width: 22px;
  height: 22px; }

.kq-his__card-deco {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 100px;
  height: 100px;
  object-fit: contain;
  pointer-events: none; }

.kq-his__filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 8px 8px 8px 12px;
  border: 0.5px solid rgba(197, 198, 204, 0.6);
  border-radius: 8px;
  background: #fff;
  cursor: pointer; }

.kq-his__filter-icon {
  display: block;
  width: 16px;
  height: 16px; }

.kq-his__filter-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.16px;
  color: #111; }

.kq-his__filter-arrow {
  display: block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #929292; }

.kq-his__filter-wrap {
  position: relative;
  margin-bottom: 16px; }

.kq-his__filter-wrap .kq-his__filter {
  margin-bottom: 0; }

.kq-his__fmodal {
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  z-index: 5;
  width: 100%;
  max-width: 372px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none; }

.kq-his__fmodal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto; }

.kq-his__fbox {
  position: relative;
  padding: 20px;
  border: 0.5px solid rgba(197, 198, 204, 0.6);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  box-sizing: border-box; }

.kq-his__fx {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer; }

.kq-his__ftitle {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #414141; }

.kq-his__fhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px; }

.kq-his__flabel {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #272727; }

.kq-his__freset {
  padding: 0;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #003d79;
  cursor: pointer; }

.kq-his__fdates {
  display: flex;
  gap: 16px;
  margin-bottom: 10px; }

.kq-his__fcol {
  flex: 1;
  min-width: 0; }

.kq-his__fdl {
  display: block;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #414141;
  opacity: 0.7; }

.kq-his__ffield {
  display: flex;
  align-items: stretch;
  border: 1px solid #ecedf0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden; }

.kq-his__finput {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 10px 8px;
  border: none;
  background: transparent;
  font-size: 15px;
  line-height: 1.4;
  color: #272727;
  outline: none;
  cursor: pointer;
  box-sizing: border-box; }

.kq-his__fcal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 12px;
  border: none;
  border-radius: 7px;
  background: #efefef;
  cursor: pointer; }

.kq-his__fcal-icon {
  display: block;
  width: 13px;
  height: 13px;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23666' stroke-width='1.75'%3E%3Crect x='3.75' y='5.75' width='16.5' height='14.5' rx='2'/%3E%3Cpath d='M8 3.75V8M16 3.75V8M3.75 10.25h16.5'/%3E%3C/svg%3E"); }

.kq-his__calendar {
  display: none;
  width: 100%;
  margin-bottom: 10px; }

.kq-his__calendar.is-active {
  display: block; }

.kq-his__calendar .air-datepicker {
  width: 100%;
  max-width: none;
  margin: 0 auto; }

.kq-his__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px; }

.kq-his__preset {
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #f3f3f4;
  font-size: 15px;
  line-height: 1.4;
  color: #111;
  cursor: pointer;
  white-space: nowrap; }

.kq-his__preset.is-active {
  border-color: #035eb7;
  background: #d6f3ff;
  color: #035eb7; }

.kq-his__fline {
  margin: 0 0 20px;
  border: none;
  border-top: 1px solid #ecedf0; }

.kq-his__facts {
  display: flex;
  gap: 12px; }

.kq-his__fbtn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
  box-sizing: border-box; }

.kq-his__fbtn--outline {
  border: 1px solid #003d79;
  background: #fff;
  font-weight: 600;
  color: #003d79; }

.kq-his__fbtn--primary {
  border: none;
  background: #035eb7;
  font-weight: 700;
  color: #fff; }

.kq-his__list {
  display: flex;
  flex-direction: column;
  gap: 0; }

.kq-his__item {
  padding: 12px 0;
  border-bottom: 0.5px solid rgba(197, 198, 204, 0.6); }

.kq-his__source {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #414141; }

.kq-his__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px; }

.kq-his__date {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #606060; }

.kq-his__point {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #4aaa42;
  white-space: nowrap; }

.kq-his__point.is-minus {
  color: #111; }

.kq-his__point-sign {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4; }

.kq-his__empty {
  padding: 24px 0;
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: #606060; }

.kq-his__pagi,
.kq-avl__pagi {
  padding: 12px 0 0; }

.kq-his__pagi .paginate-wrapper,
.kq-avl__pagi .paginate-wrapper {
  display: flex;
  justify-content: center;
  align-items: center; }

.kq-his__pagi #pagination,
.kq-avl__pagi #pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 100%; }

.kq-his__pagi .item-pagi,
.kq-avl__pagi .item-pagi {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  color: #2e2e2e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none; }

.kq-his__pagi .item-pagi:hover,
.kq-avl__pagi .item-pagi:hover {
  border-color: var(--main-color);
  color: var(--main-color); }

.kq-his__pagi .item-pagi:hover svg path,
.kq-avl__pagi .item-pagi:hover svg path {
  fill: var(--main-color); }

.kq-his__pagi .item-pagi.active,
.kq-avl__pagi .item-pagi.active {
  background: var(--main-color);
  border-color: var(--main-color);
  color: #fff;
  pointer-events: none; }

.kq-his__pagi .item-pagi.disabled,
.kq-avl__pagi .item-pagi.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none; }

.kq-his__pagi .item-pagi svg,
.kq-avl__pagi .item-pagi svg {
  flex-shrink: 0;
  fill: #b0babf; }

.kq-his__pagi .item-pagi.pagi-prev,
.kq-his__pagi .item-pagi.pagi-next,
.kq-avl__pagi .item-pagi.pagi-prev,
.kq-avl__pagi .item-pagi.pagi-next {
  padding: 0; }

body.is-kq-his-open {
  overflow: hidden; }

@media (max-width: 767px) {
  .customer-loyalty-main {
    gap: 20px; }
  .customer-loyalty-nav__heading {
    display: none; }
  .customer-loyalty-nav__list {
    flex-direction: row;
    justify-content: space-between;
    gap: 20px; }
    .customer-loyalty-nav__list > li {
      width: calc((100% - 40px)/3); }
  .customer-loyalty-nav__link {
    flex-direction: column;
    height: 100%;
    padding: 8px;
    text-align: center; }
  .customer-loyalty-tier__member {
    padding: 16px 17px 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between; }
    .customer-loyalty-tier__member .customer-loyalty-tier__name {
      font-size: 16px;
      width: calc(90% - 138px); }
    .customer-loyalty-tier__member .customer-loyalty-tier__badge-text {
      font-size: 14px; }
    .customer-loyalty-tier__member .customer-loyalty-tier__history-link {
      font-size: 14px; }
  .customer-loyalty-tier__tier-list-btn {
    padding: 8px 24px; }
  .customer-loyalty-benefits__title, .customer-loyalty-gifts__title, .customer-loyalty-rules__title {
    font-size: 20px; }
  .customer-loyalty-tier {
    margin-bottom: 20px; }
  .customer-loyalty-gifts__title, .customer-loyalty-gifts__view-all {
    font-size: 13px; }
  .customer-loyalty-gifts {
    padding: 16px 12px; }
  .customer-loyalty-gift-card {
    min-height: 120px; }
  .customer-loyalty-gift-card__inner {
    display: flex;
    min-height: 120px; }
  .customer-loyalty-gift-card__thumb-wrap {
    width: 25%; }
  .customer-loyalty-gift-card__thumb {
    width: 100%;
    height: auto;
    fit-object: contain; }
  .customer-loyalty-gift-card__info {
    padding-left: 25px;
    width: 75%; }
    .customer-loyalty-gift-card__info .customer-loyalty-gift-card__title {
      font-size: 16px; }
    .customer-loyalty-gift-card__info .customer-loyalty-gift-card__expiry {
      font-size: 14px; }
  .kq-points {
    padding: 14px 16px; }
    .kq-points__top, .kq-points__note {
      padding-right: 102px; }
    .kq-points__body {
      gap: 8px; }
    .kq-points__deco {
      width: 92px;
      height: 92px;
      margin-top: 0;
      top: 14px; }
    .kq-points__icon, .kq-points__bell {
      width: 20px;
      height: 20px; }
    .kq-points__val {
      font-size: 20px; }
    .kq-points__note-text {
      font-size: 12px; }
    .kq-points__acts {
      gap: 0; }
      .kq-points__acts .kq-btn {
        flex: 0 0 auto;
        width: fit-content;
        font-size: 13px; }
        .kq-points__acts .kq-btn:not(.js-kq-gift-points) {
          font-size: 0; }
          .kq-points__acts .kq-btn:not(.js-kq-gift-points):before {
            content: attr(data-text-mobile);
            font-size: 13px; }
        .kq-points__acts .kq-btn.js-kq-available {
          margin-left: 8px; }
      .kq-points__acts .line {
        display: block;
        width: 100%;
        margin-bottom: 8px; }
  .kq-prog__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 22px; }
    .kq-prog__grid .kq-card {
      flex: 0 0 auto;
      width: calc(( 100% - 22px ) / 2);
      border: none; }
      .kq-prog__grid .kq-card__img {
        padding: 0 0 100%;
        position: relative; }
        .kq-prog__grid .kq-card__img .kq-skeleton--img, .kq-prog__grid .kq-card__img img {
          position: absolute;
          left: 0;
          top: 0;
          width: 100%;
          height: 100%; }
      .kq-prog__grid .kq-card__body {
        padding: 8px 0; }
  .kq-gift__box {
    width: 100%;
    max-width: calc(100% - 24px);
    padding: 20px 12px; }
  .kq-gift__row {
    flex-direction: column; }
  .kq-gift__card-val {
    font-size: 24px; }
  .kq-gift__card-deco {
    width: 80px;
    height: 80px;
    top: 24px;
    right: 12px; } }

/* Migrate — Xác nhận điều khoản */
.migrate-terms {
  min-height: 100vh;
  background: #fff;
  display: flex;
  justify-content: center; }

.migrate-terms__inner {
  width: 100%;
  max-width: 390px;
  min-height: 100vh;
  display: flex;
  flex-direction: column; }

.migrate-terms__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 24px; }

.migrate-terms__header {
  display: flex;
  flex-direction: column;
  gap: 10px; }

.migrate-terms__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  line-height: 1.32;
  font-weight: 600;
  color: #111; }

.migrate-terms__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  line-height: 1.45;
  font-weight: 400;
  color: #606060; }

.migrate-terms__phone-card {
  background: #f5f6f8;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px; }

.migrate-terms__phone-label {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  line-height: 1.4;
  font-weight: 500;
  color: #606060; }

.migrate-terms__phone {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  line-height: 1.4;
  font-weight: 600;
  color: #111; }

.migrate-terms__phone-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  line-height: 1.4;
  font-weight: 400;
  color: #606060; }

.migrate-terms__consents {
  display: flex;
  flex-direction: column; }

.migrate-terms__divider {
  width: 100%;
  height: 1px;
  background: #e7e9ed; }

.migrate-terms__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0; }

.migrate-terms__checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin: 0;
  flex-shrink: 0;
  border: 1.5px solid #c5c6cc;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  position: relative; }
  .migrate-terms__checkbox:checked {
    background: var(--main-color-primary);
    border-color: var(--main-color-primary); }
    .migrate-terms__checkbox:checked::after {
      content: '';
      position: absolute;
      left: 7px;
      top: 3px;
      width: 6px;
      height: 11px;
      border: solid #fff;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg); }
  .migrate-terms__checkbox:focus {
    outline: none; }

.migrate-terms__label {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.2;
  line-height: 1.45;
  font-weight: 400;
  color: #2e2e2e;
  cursor: pointer; }
  .migrate-terms__label a {
    font-weight: 500;
    color: var(--main-color-primary);
    text-decoration: none; }
    .migrate-terms__label a:hover {
      text-decoration: underline; }

.migrate-terms__note {
  background: #f5f6f8;
  border-radius: 10px;
  padding: 12px 14px; }
  .migrate-terms__note p {
    margin: 0;
    font-size: 12px;
    line-height: 1.2;
    line-height: 1.45;
    font-weight: 400;
    color: #606060; }

.migrate-terms__footer {
  margin-top: auto;
  background: #fff;
  border-top: 1px solid #e7e9ed;
  padding: 16px 24px 12px; }

.migrate-terms__submit {
  font-weight: 700; }

.fancybox-customer__sheet--migrate-terms {
  max-width: 390px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 32px); }
  .fancybox-customer__sheet--migrate-terms .fancybox-customer__close {
    display: none; }
  .fancybox-customer__sheet--migrate-terms .migrate-terms {
    min-height: 0;
    width: 100%;
    display: block;
    background: transparent; }
  .fancybox-customer__sheet--migrate-terms .migrate-terms__inner {
    min-height: 0;
    max-width: none;
    max-height: calc(100vh - 32px);
    display: flex;
    flex-direction: column; }
  .fancybox-customer__sheet--migrate-terms .migrate-terms__content {
    overflow-y: auto;
    min-height: 0; }
