/* XF6 — CTA xFine (máy tính + điện thoại). Không áp min-width/padding lên thẻ list — pg-list-booking-cta.css */
.pg-cta-xfine:not(.btn-booking):not(.btn-booking-mobile) {
    background: #d02028 !important;
    background-color: #d02028 !important;
    color: #fff !important;
    border: none !important;
    border-color: transparent !important;
}

.pg-cta-xfine:hover,
.pg-cta-xfine:focus {
    background: #b81c22 !important;
    background-color: #b81c22 !important;
    color: #fff !important;
}

/* Trang chi tiết desktop: #btn-booking đỏ trong detail.index.* ghi đè class thường */
.body-detail .wap-booking article .form-group #btn-booking.pg-cta-xfine,
.body-detail .form-booking-main #btn-booking.pg-cta-xfine {
    background: #d02028 !important;
    background-color: #d02028 !important;
    color: #fff !important;
    border: none !important;
}

.body-detail .wap-booking article .form-group #btn-booking.pg-cta-xfine:hover,
.body-detail .wap-booking article .form-group #btn-booking.pg-cta-xfine:focus,
.body-detail .form-booking-main #btn-booking.pg-cta-xfine:hover,
.body-detail .form-booking-main #btn-booking.pg-cta-xfine:focus {
    background: #b81c22 !important;
    background-color: #b81c22 !important;
    color: #fff !important;
}

body.detail-tab-fixed .mwapper .section[id] {
  scroll-margin-top: 118px;
}

.tasks.show {
  display: block;
}
.tasks .tasks-fixed {
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.tasks .tasks-fixed .xfine-deposit-highlight,
.tasks .tasks-fixed .xfine-deposit-sticky-wrap {
  display: none !important;
}

.mwapper .area-booking .booking .user-booking {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.mwapper .area-booking .booking .user-booking .text-user {
  flex: 1 1 auto;
  min-width: 0;
}
.mwapper .area-booking .booking .user-booking .button-booking.pg-cta-xfine-bar {
  flex: 0 0 auto;
  margin-left: auto;
}

.tasks .tasks-fixed .xfine-deposit-booking-bar-hint,
.mwapper .xfine-deposit-booking-bar-hint,
.form-booking-main .xfine-deposit-booking-bar-hint {
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.4;
    background: #fff8e6;
    border-top: 1px solid #f5d78e;
    text-align: center;
}
.xfine-deposit-booking-bar-hint__link {
    color: #92400e;
    font-weight: 600;
    text-decoration: underline;
}

.body-detail .form-booking-main .pg-cta-xfine-form-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.body-detail .form-booking-main .pg-cta-xfine-form-row .xfine-deposit-booking-bar-hint {
    width: 100%;
    box-sizing: border-box;
    border-top: none;
    border-radius: 4px;
}

.body-detail .form-booking-main .pg-cta-xfine-form-row .pg-cta-xfine-stack {
    width: 100% !important;
    min-height: 52px;
}

.body-detail .form-booking-main .pg-cta-xfine-form-row #btn-booking.pg-cta-xfine {
    width: 100% !important;
    min-height: 46px;
    font-size: 15px;
    font-weight: 700;
}

.body-detail .form-booking-main .pg-cta-xfine-form-row .pg-cta-xfine-main {
    font-size: 14px;
    font-weight: 700;
}

.body-detail .form-booking-main .pg-cta-xfine-form-row .pg-cta-xfine-powered {
    font-size: 11px;
}

.body-detail .form-booking-main .pg-cta-xfine-form-row .pg-cta-xfine-note--form {
    margin-top: -2px;
    margin-bottom: 0;
    color: #6b7280;
    font-size: 12px;
}
.xfine-handoff-notice {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 72px;
    z-index: 10002;
    padding: 10px 12px;
    background: #1f2937;
    color: #fff;
    font-size: 13px;
    line-height: 1.45;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    display: none;
}

.tasks .tasks-fixed .tasks-booking.pg-cta-xfine-bar,
.mwapper .area-booking .booking .user-booking .button-booking.pg-cta-xfine-bar {
    background-color: #d02028 !important;
    background: #d02028 !important;
    min-height: 48px;
    padding: 5px 8px;
    box-sizing: border-box;
}

.tasks .tasks-fixed .tasks-booking.pg-cta-xfine-bar .pg-cta-xfine,
.mwapper .area-booking .booking .user-booking .button-booking.pg-cta-xfine-bar .pg-cta-xfine,
.mwapper .area-booking .booking .user-booking .button-booking.pg-cta-xfine-bar .a-booking-mobile {
    background: transparent !important;
    background-color: transparent !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
}

.pg-cta-xfine-note {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 4px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
}

.pg-cta-xfine-note--form {
    margin-top: 6px;
}

.tasks .tasks-fixed .tasks-booking.pg-cta-xfine-bar,
.mwapper .area-booking .booking .user-booking .button-booking.pg-cta-xfine-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tasks .tasks-fixed .tasks-booking.pg-cta-xfine-bar .pg-cta-xfine-note,
.mwapper .area-booking .booking .user-booking .button-booking.pg-cta-xfine-bar .pg-cta-xfine-note {
    margin-top: 1px;
    color: #fff;
    font-size: 10px;
    line-height: 1.15;
    font-weight: 500;
}

.pg-cta-xfine-stack {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    min-height: 48px;
    white-space: normal;
}

.pg-cta-xfine-main,
.pg-cta-xfine-powered {
    display: block;
    width: 100%;
    color: #fff;
    line-height: 1.18;
    text-align: center;
}

.pg-cta-xfine-powered {
    font-size: 10px;
    font-weight: 500;
}

.dat-cho-voi-mat-hang .pg-cta-xfine-note--sticky {
    display: block;
    width: 100%;
    margin-top: 3px;
}

@media (max-width: 360px) {
    .pg-cta-xfine-note {
        font-size: 10px;
    }

    .tasks .tasks-fixed .tasks-booking.pg-cta-xfine-bar .pg-cta-xfine-note,
    .mwapper .area-booking .booking .user-booking .button-booking.pg-cta-xfine-bar .pg-cta-xfine-note {
        display: none;
    }
}

@media (max-width: 768px) {
    .mwapper .area-booking .booking .user-booking .button-booking.pg-cta-xfine-bar {
        display: none;
    }

    .mwapper .area-booking .booking .user-booking .button-booking.pg-cta-xfine-bar .pg-cta-xfine {
        width: 100%;
        font-size: 12px;
        line-height: 1.15;
        padding-left: 6px;
        padding-right: 6px;
    }

    .mwapper .area-booking .booking .user-booking .button-booking.pg-cta-xfine-bar .pg-cta-xfine-powered {
        font-size: 9px;
    }
}
