/* =========================================================
   TOURIFY PACKAGE SIDEBAR
   ========================================================= */

.package-sidebar {
    --color-primary: #124B8C;
    --color-primary-light: #245DAA;
    --color-secondary: #DE9127;
    --color-secondary-light: #005A86;
    --color-tertiary: #037E95;
    --color-tertiary-light: #A6CF3C;
    --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: 0 38px 8px 0;

    color: var(--color-tertiary-light);
    font-size: 20px;
    font-weight: 600;
    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: 700;
    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: 17px;
    font-weight: 400;
    letter-spacing: 0;
    vertical-align: middle;
}


/* =========================================================
   GUEST SECTION
   ========================================================= */

.package-guest-selector {
    margin-top: 0 !important;
    padding: 22px 0;
}

.package-guest-label {
    display: block;

    margin-bottom: 12px;

    color: #005A86;

    font-size: 20px;
    font-weight: 600;
    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: #0093DA;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
}

.counter-label span {
    display: block;

    color: #74717A;

    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 #0093DA;
    border-radius: 50%;

    background: transparent;

    color: #0093DA;

    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: var(--color-tertiary-light);

    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: #74717A;

    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: 15px 0 20px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.package-total-price-label {
    color: #0093DA;

    font-size: 20px;
    font-weight: 600;
}

.package-total-price-value {
    color: #005A86;

    font-size: 40px;
    font-weight: 700;

    line-height: 1;
}

#cb-total-price {
    white-space: nowrap;
}


/* =========================================================
   DATE SELECTOR
   ========================================================= */

.package-date-wrapper {
    /* margin: 0 38px; */

    padding: 24px 0;
}

.package-date-label {
    display: block;

    margin-bottom: 11px;

    color: #005A86;

    font-size: 20px;
    font-weight: 600;
    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 #ACACAC;
    border-radius: 10px;

    outline: none;

    /* background-color: rgba(0, 20, 43, 0.72); */

    color: #ACACAC;

    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: #ACACAC;
    opacity: 0.9;
}

.package-date-picker:hover {
    border-color: rgba(1, 181, 188, 0.12);
}

.package-date-picker:focus {
    border-color: rgba(1, 181, 188, 0.12);

    box-shadow: 0 0 0 3px rgba(1, 181, 188, 0.12);
}


/* Available dates */

.package-available-details {
    display: block;

    margin-top: 11px;

    color: #74717A;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}


/* Date errors */

.package-date-error {
    margin: 8px 0 0;

    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: flex;
    justify-content: center;
    align-items: center;
    gap: 10;

    width: 100%;
    min-height: 64px;

    /* margin: 0 38px 18px; */

    padding: 15px 25px;

    border: 0;
    border-radius: 17px;

    background: #0093DA;

    color: #FFFFFF;

    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: #93CE43;

    transform: translateY(-2px);

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.package-enquire-button:active {
    transform: translateY(0);
}


/* =========================================================
   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">
 *     <span class="concierge-icon">♧</span>
 *     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%;
        border-radius: 20px;
    }

    .package-sidebar-label {
        padding: 30px 24px 8px;

        font-size: 12px;
    }

    .package-sidebar-price {
        padding: 0 24px 30px;

        font-size: 46px;
    }

    .package-price-suffix {
        font-size: 15px;
    }

    .package-guest-selector {
        padding: 25px 24px 0;
    }

    .counter-row {
        min-height: 76px;
    }

    .counter-label h3 {
        font-size: 16px;
    }

    .counter-label span {
        font-size: 13px;
    }

    .counter-controls {
        gap: 12px;
    }

    .control-btn {
        width: 36px;
        height: 36px;

        font-size: 22px;
    }

    .count-value {
        font-size: 16px;
    }

    .package-total-price {
        margin-left: 24px;
        margin-right: 24px;

        padding-top: 24px;
        padding-bottom: 24px;
    }

    .package-total-price-value {
        font-size: 32px;
    }

    .package-date-wrapper {
        margin-left: 24px;
        margin-right: 24px;
    }

    .package-enquire-button {
        width: calc(100% - 48px);

        margin-left: 24px;
        margin-right: 24px;

        min-height: 58px;
    }
}

@media (max-width: 600px) {
    #cb-total-price {
        font-size: 2rem;
    }
}