/* =========================================================
   TOURIFY PACKAGE SIDEBAR
   ========================================================= */

.package-sidebar {
    --color-primary: #124B8C;
    --color-primary-light: #245DAA;
    --color-secondary: #DE9127;
    --color-secondary-light: #F9A61D;
    --color-tertiary: #037E95;
    --color-tertiary-light: #01B5BC;
    --color-blue: #1B75BB;
    --color-dark-blue: #00142B;
    --color-light-dark-blue: #002550;

    width: 100%;
    /* max-width: 465px; */
    margin: 32px 0 0 0;

    background: var(--color-light-dark-blue);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;

    color: #ffffff;
    font-family: inherit;

    box-shadow: 0 15px 40px rgba(0, 20, 43, 0.18);
}


/* =========================================================
   PRICE HEADER
   ========================================================= */

.package-sidebar > .package-sidebar-label,
.package-sidebar > .package-sidebar-price {
    background: var(--color-dark-blue);
}

.package-sidebar-label {
    display: block;

    padding: 38px 38px 8px;

    color: var(--color-tertiary-light);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.package-sidebar-price {
    margin: 0;
    padding: 0 38px 38px;

    background: var(--color-dark-blue);

    color: var(--color-secondary-light);

    /* font-family: Georgia, "Times New Roman", serif; */
    font-size: clamp(20px, 5vw, 40px);
    /* font-weight: 400; */
    line-height: 1;

    white-space: nowrap;
}

.package-price-suffix {
    display: inline-block;
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.65);
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    vertical-align: middle;
}


/* =========================================================
   GUEST SECTION
   ========================================================= */

.package-guest-selector {
    margin-top: 0 !important;
    padding: 22px 38px 0;
}

.package-guest-label {
    display: block;

    margin-bottom: 12px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 3px;
    text-transform: uppercase;
}


/* =========================================================
   GUEST COUNTER
   ========================================================= */

.counter-container {
    width: 100%;
}

.counter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 84px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.counter-row:last-child {
    border-bottom: 0;
}


/* Guest text */

.counter-label {
    min-width: 0;
}

.counter-label h3 {
    margin: 0 0 2px;

    color: #ffffff;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
}

.counter-label span {
    display: block;

    color: rgba(255, 255, 255, 0.55);

    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}


/* =========================================================
   COUNTER CONTROLS
   ========================================================= */

.counter-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 18px;

    flex-shrink: 0;
}

.control-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    padding: 0;

    border: 2px solid rgba(89, 139, 190, 0.35);
    border-radius: 50%;

    background: transparent;

    color: rgba(255, 255, 255, 0.72);

    font-size: 25px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-tertiary-light);
    color: #ffffff;

    transform: scale(1.04);
}

.control-btn:active {
    transform: scale(0.96);
}

.control-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}


/* Guest number */

.count-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 18px;

    color: #ffffff;

    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}


/* =========================================================
   TOTAL PRICE
   ========================================================= */

.package-total-price {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 18px 38px 0;
    padding: 27px 0 28px;

    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.package-total-price-label {
    color: #ffffff;

    font-size: 17px;
    font-weight: 500;
}

.package-total-price-value {
    color: var(--color-secondary-light);

    font-size: 38px;

    line-height: 1;
}

#cb-total-price {
    white-space: nowrap;
}


/* =========================================================
   DATE SELECTOR
   ========================================================= */

.package-date-wrapper {
    margin: 0 38px;

    padding: 0 0 26px;
}

.package-date-label {
    display: block;

    margin-bottom: 11px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.2;
    text-transform: uppercase;
}

.package-date-picker {
    display: block;

    width: 100%;
    height: 56px;

    box-sizing: border-box;

    padding: 0 20px;

    border: 1px solid rgba(56, 115, 170, 0.55);
    border-radius: 16px;

    outline: none;

    background-color: rgba(0, 20, 43, 0.72);

    color: #ffffff;

    font-family: inherit;
    font-size: 16px;
    font-weight: 500;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.package-date-picker::placeholder {
    color: #ffffff;
    opacity: 0.9;
}

.package-date-picker:hover {
    border-color: rgba(1, 181, 188, 0.65);
}

.package-date-picker:focus {
    border-color: var(--color-tertiary-light);

    box-shadow: 0 0 0 3px rgba(1, 181, 188, 0.12);
}


/* Available dates */

.package-available-details {
    display: block;

    margin-top: 11px;

    color: var(--color-tertiary-light);

    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}


/* Date errors */

.package-date-error {
    margin: 8px 38px 16px;

    color: #ff7b7b;

    font-size: 13px;
}

.package-date-selected-range {
    margin: 8px 0 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;
}


/* =========================================================
   ENQUIRE BUTTON
   ========================================================= */

.package-enquire-button {
    display: block;

    width: calc(100% - 76px);
    min-height: 64px;

    margin: 0 38px 18px;

    padding: 15px 25px;

    border: 0;
    border-radius: 17px;

    background: var(--color-secondary-light);

    color: #00142B;

    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;

    cursor: pointer;

    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.package-enquire-button:hover {
    background: #ffad22;

    transform: translateY(-2px);

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.package-enquire-button:disabled {
    background: #7f8d9d;
    color: rgba(255, 255, 255, 0.8);
    cursor: not-allowed;
    opacity: 0.8;
    box-shadow: none;
    transform: none;
}

.package-enquire-button:disabled:hover {
    background: #7f8d9d;
    transform: none;
    box-shadow: none;
}

.package-enquire-button:active {
    transform: translateY(0);
}


/* =========================================================
   PACKAGE ENQUIRY MODAL
   ========================================================= */

.tourify-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 30px 16px;
    background: rgba(0, 20, 43, 0.72);
}

.tourify-modal.active {
    display: flex;
}

.tourify-modal-content {
    position: relative;
    width: min(100%, 1000px);
    margin: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 20, 43, 0.28);
}

.tourify-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    z-index: 2;
    color: #143c4c;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.tourify-modal-close:hover {
    color: #00142b;
}

@media (max-width: 767px) {
    .tourify-modal {
        padding: 16px 10px;
    }

    .tourify-modal-content {
        border-radius: 12px;
    }
}


/* =========================================================
   CONCIERGE MESSAGE
   ========================================================= */

/*
 * Add this element to your HTML if you want the exact
 * bottom message shown in the reference image:
 *
 * <div class="package-concierge-note">
 *     <i class="fa-solid fa-bell-concierge"></i>
 *     Free concierge planning · No payment today
 * </div>
 */

.package-concierge-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 0 20px 25px;

    color: rgba(255, 255, 255, 0.52);

    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.package-concierge-note .concierge-icon {
    color: var(--color-tertiary-light);

    font-size: 17px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {

    .package-sidebar {
        max-width: 100%;
        margin-top: 20px;
        border-radius: 20px;
    }

    .package-sidebar-label {
        padding: 24px 20px 6px;
        font-size: 11px;
    }

    .package-sidebar-price {
        padding: 0 20px 24px;
        font-size: clamp(24px, 6vw, 36px);
    }

    .package-price-suffix {
        font-size: 14px;
    }

    .package-guest-selector {
        padding: 18px 20px 0;
    }

    .counter-row {
        min-height: 68px;
    }

    .counter-label h3 {
        font-size: 15px;
    }

    .counter-label span {
        font-size: 12px;
    }

    .counter-controls {
        gap: 10px;
    }

    .control-btn {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }

    .count-value {
        font-size: 15px;
    }

    .package-total-price {
        margin-left: 20px;
        margin-right: 20px;
        padding-top: 18px;
        padding-bottom: 20px;
    }

    .package-total-price-label {
        font-size: 15px;
    }

    .package-total-price-value {
        font-size: clamp(22px, 5vw, 28px);
    }

    .package-date-wrapper {
        margin-left: 20px;
        margin-right: 20px;
        padding-bottom: 20px;
    }

    .package-date-picker {
        height: 50px;
        font-size: 15px;
    }

    .package-enquire-button {
        width: calc(100% - 40px);
        margin-left: 20px;
        margin-right: 20px;
        min-height: 52px;
        font-size: 15px;
    }
}