.package-sidebar {
    padding: 40px;
    border: 1px solid #E2E2E2;
    border-radius: 30px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
}

/* .package-sidebar-label {
    font-size: 0.9rem;
    color: #8d9395;
    font-weight: 400;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
} */

/* .package-sidebar-price {
    font-size: 2.5rem;
    color: #0093DA;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
} */

/* .package-guest-tiers {
    margin: 20px 0 0 0;
}

.package-price-suffix {
    font-size: small;
}

.tier-label {
    font-size: 0.9rem;
    color: #8d9395;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.tier-decrease,
.tier-increase {
    width: 30px;
    border-radius: 2px;
    background: #e6f5fc;
}

.tier-count {
    text-align: center;
    width: 40px;
} */

/* .package-sidebar {
    padding: 40px;
    border: 1px solid #dbecf5;
    border-radius: 30px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
}

.package-sidebar-label {
    font-size: 0.9rem;
    color: #066B96;
    font-weight: 400;
    display: block;
}

.package-sidebar-price {
    font-size: 2.5rem;
    color: #066B96;
    font-weight: 700;
    margin: 5px 0 25px 0;
    line-height: 1.1;
} */

/* Package guest count */
/* .package-guest-label {
    font-size: 0.9rem;
    color: #8d9395;
    font-weight: 400;
    text-transform: uppercase;
    margin-top: 30px;
} */
/* Container Box */
.counter-container {
    /* max-width: 400px; */
    background-color: #ffffff;
    /* padding: 16px; */
    border-radius: 12px;
}

/* Individual Selector Rows */
.counter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f7f8fc;
    padding: 8px 20px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.counter-row:last-child {
    margin-bottom: 0;
}

/* Left Side Labels */
.counter-label h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #494d52;
}

.counter-label span {
    font-size: 11px;
    color: #8a929a;
    display: block;
    margin-top: 4px;
}

/* Right Side Controls */
.counter-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Plus and Minus Buttons */
.control-btn {
    width: 28px;
    height: 28px;
    border: none;
    background-color: #ffffff;
    color: #5c6470b5;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.control-btn:hover {
    background-color: #edf0f5;
}

/* Number Value Display */
/* .count-value {
  font-size: 14px;
  font-weight: 600;
  color: #1a1d20;
  min-width: 20px;
  text-align: center;
} */

/* .package-total-price {
    width: max-content;
    margin-top: 10px;
    margin-left: auto;
    padding: 5px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;

    background-color: #e6f5fc;
    color: #0093da;
    font-weight: 500;
    text-transform: uppercase;
} */

/* .package-total-price-label {
    margin-right: 10px;
    color: #8d9395;
    font-size: small;
} */

/* .package-total-price-value {
    font-weight: 800;
} */


/* Date input field styling */
/* .package-date-wrapper {
    margin-top: 30px;
    margin-bottom: 20px;
    width: 100%;
}

.package-date-label {
    font-size: 0.9rem;
    color: #8d9395;
    font-weight: 400;
    text-transform: uppercase;
}

.package-date-picker {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    border: 1px solid #dbecf5;
    border-radius: 4px;
    font-size: 1rem;
    color: #4a5568;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.package-date-picker:focus {
    border-color: #066B96;
}

.package-available-details {
    font-size: 0.9rem;
    color: #0093DA;
} */

/* Button UI adjustment */
/* .package-enquire-button {
    display: block;
    width: 100%;
    background-color: #93CE43;
    border-radius: 30px;
    padding: 15px 30px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
    cursor: pointer;
}

.package-enquire-button:hover {
    background-color: #82b939;
    color: #ffffff;
}

.package-enquire-button:active {
    transform: scale(0.98);
} */


/* Overview Container */
.package-overview {
    margin-top: 30px;
    padding: 50px 30px;
    border: 1px solid #dbecf5;
    border-radius: 30px;
    background-color: #fcfdfe;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.overview-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Customizing Dashicons size & color */
.overview-item .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #0093DA;
    /* Matches sidebar theme color */
    display: flex;
    align-items: center;
    justify-content: center;
}

.overview-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.overview-text strong {
    font-size: 0.85rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.overview-text span {
    font-size: 1.05rem;
    color: #066b96;
    font-weight: 600;
    padding-top: 4px;
}

/* Journey Highlights Header Wrap */
.package-journey-highlights {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
}

/* Creates the horizontal lines on both sides */
.package-journey-highlights::before,
.package-journey-highlights::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #d3d3d3;
}

.package-journey-highlights-label {
    /* background-color: #005a60; */
    background-color: #A6CF3C;
    color: #ffffff;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    margin: 0 15px;
    white-space: nowrap;
}

/* Content Grid Styling */
.journey-highlights-list {
    list-style-type: disc;
    padding-left: 20px;
    margin: 20px 0;
}

.journey-highlights-list li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #333333;
}

.journey-highlights-list li::marker {
    color: #A6CF3C;
    font-size: 1.2em;
}

/* Style for the empty state fallback template */
.journey-highlights-empty {
    color: #666666;
    font-style: italic;
    background-color: var(--cb-primary-tint, #fff6e9);
    padding: 12px 16px;
    border-left: 4px solid var(--cb-primary, #fca41d);
    border-radius: 0 4px 4px 0;
}


/* 
 * Includes / Excludes
 */
.package-inclu-exclu {
    margin-top: 30px;
    padding: 50px 30px;
    border: 1px solid #dbecf5;
    border-radius: 30px;
    /* background-color: #fcfdfe; */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tourify-section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #066B96;
    text-align: center;
}

/* Two-Column Responsive Flex/Grid Workspace Layout */
.tourify-grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.tourify-column {
    flex: 1 1 300px;
    /* Responsive fallback wrap on smaller viewports */
}

.tourify-column-heading {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.inclusive-heading {
    color: #0093DA;
}

/* Muted Elegant Green */
.exclusive-heading {
    color: #0093DA;
}

/* Muted Elegant Red */

/* List Clean Up Styles */
.tourify-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tourify-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
}

/* Dashicons Separation Aligning Fix */
.tourify-item .dashicons {
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
}

.icon-inc {
    color: #4caf50;
}

.icon-exc {
    color: #4caf50;
}


/* 
 * Cancellation Policy
 */
/* Cancellation Policy Container */
.tourify-cancellation-policy-section {
    margin: 2rem 0;
    padding: 1.5rem;
    /* background-color: #fafafa; */
    border-left: 6px solid #A6CF3C;
    /* Highlight border signaling policy parameters */
    border-radius: 30px;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
}

/* Section Header Typography */
.tourify-policy-title {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #066B96;
}

/* Handle Rich Text WYSIWYG Spacers Inside Frontend */
.tourify-policy-content-body {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a4a4a;
}

.tourify-policy-content-body p {
    margin-bottom: 1rem;
}

.tourify-policy-content-body p:last-child {
    margin-bottom: 0;
}

/* Bullet Points & Numbered List Overrides inside Rich Text */
.tourify-policy-content-body ul,
.tourify-policy-content-body ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.tourify-policy-content-body li {
    margin-bottom: 0.5rem;
    list-style: disc;
}

/* Highlight important styling wrappers inside terms output */
.tourify-policy-content-body strong {
    color: #111;
    font-weight: 600;
}


/* ---------------------------------------------
 * Enquiry Form
 --------------------------------------------- */
/* The hidden background wrapper */
.tourify-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent black background */
    backdrop-filter: blur(4px);
    /* Optional: blurs the background site */
}

/* The actual white alert box */
.tourify-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 1200px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* The close (X) button */
.tourify-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.tourify-modal-close:hover {
    color: #000;
}

/* =========================================================
   Tour Inquiry Form
   ========================================================= */

* {
    box-sizing: border-box;
}

.tour-inquiry-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 30px 0 0 0;
    font-family: 'Onest', sans-serif;
    color: #14264d;
}


/* =========================================================
   Hero
   ========================================================= */

.inquiry-hero {
    position: relative;
    min-height: 365px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background-size: cover;
    background-position: center;
}


/* Brand */

.hero-content {
    position: relative;
    z-index: 2;
    padding: 38px 45px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 65px;
}

.brand-logo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #092452;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 26px;
    font-weight: 700;
}

.brand h2 {
    margin: 0;
    color: #0c2555;
    font-size: 28px;
    line-height: 1;
}

.brand span {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #344568;
}


/* Hero title */

.inquiry-hero h1 {
    margin: 0 0 22px;
    color: #0b2556;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
}

.inquiry-hero p {
    margin: 0;
    color: #273a5e;
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   Main Form
   ========================================================= */

.inquiry-form {
    position: relative;
    margin-top: -1px;

    background: #fff;
    /*border: 1px solid #e7edf5;*/
    border-radius: 0 0 18px 18px;

    /* box-shadow: 0 5px 30px rgba(16, 53, 100, .07); */

    overflow: hidden;
}


/* =========================================================
   Columns
   ========================================================= */

.form-columns {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    gap: 0;

    padding: 48px 20px 35px;
}

.form-section {
    min-width: 0;
}

.booking-section {
    padding-right: 30px;
}

.contact-section {
    padding-left: 34px;
    border-left: 1px solid #e3e9f1;
}


/* =========================================================
   Section Heading
   ========================================================= */

.section-heading {
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-heading h2 {
    margin: 0;

    color: #066b96;
    font-size: 21px;
    font-weight: 700;
}

.section-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #066b96;
    color: #fff;

    border-radius: 50%;

    font-size: 20px;

    box-shadow: 0 5px 12px rgba(22, 117, 237, .2);
}


/* Blue line */

.heading-line {
    position: relative;

    height: 1px;
    background: #dfe6ef;

    margin: 20px 0 28px;
}

.heading-line::before {
    content: "";

    position: absolute;
    left: 0;
    top: -1px;

    width: 88px;
    height: 2px;

    background: #066b96;
}


/* =========================================================
   Form Fields
   ========================================================= */

.form-group {
    margin-bottom: 27px;
}

.form-group label {
    display: block;

    margin-bottom: 10px;

    color: #1a2d51;
    font-size: 14px;
    font-weight: 400;
}

.form-group label span {
    color: #e53935;
}


/* Inputs */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    resize: none;
    /* Prevents manual user resizing */
    white-space: pre-wrap;
    /* Ensures text wraps normally */
    word-wrap: break-word;
    /* Breaks long words if necessary */
    field-sizing: content;
    /* Automatically scales height to fit text */
    overflow: hidden;

    border: 1px solid #d9e0e9;
    border-radius: 9px;

    background: #fff;

    color: #17294c;

    font-family: inherit;
    font-size: 15px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.form-group input,
.form-group select {
    height: 53px;
    padding: 0 16px;
}

.form-group textarea {
    min-height: 155px;
    padding: 16px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8b96aa;
}


/* Focus */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1675ed;

    box-shadow:
        0 0 0 3px rgba(22, 117, 237, .08);
}


/* =========================================================
   Input Icons
   ========================================================= */

.input-wrapper {
    position: relative;
}

.input-icon input,
.input-icon select {
    padding-left: 50px;
}

.field-icon {
    position: absolute;

    left: 17px;
    top: 50%;

    transform: translateY(-50%);

    color: #263a60;
    font-size: 18px;

    pointer-events: none;
}

.input-icon select {
    appearance: auto;
}


/* =========================================================
   Two Column Fields
   ========================================================= */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}


/* =========================================================
   Upload
   ========================================================= */

.upload-box {
    min-height: 134px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px dashed #c7d2e0;
    border-radius: 9px;

    background: #fff;

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease;
}

.upload-box:hover {
    border-color: #1675ed;
    background: #f7fbff;
}

.upload-icon {
    font-size: 29px;
    color: #30456b;
    margin-bottom: 8px;
}

.upload-title {
    font-size: 14px;
    color: #273957;
}

.upload-info {
    margin-top: 7px;
    color: #78859c;
    font-size: 12px;
}


/* =========================================================
   Required Info
   ========================================================= */

.required-info {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 13px 15px;

    background: #eef7ff;
    border-radius: 9px;

    color: #066b96;
    font-size: 12px;
}

.required-info strong {
    width: 19px;
    height: 19px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #066b96;
    color: #fff;

    font-size: 12px;
}

.required-info b {
    color: #e53935;
}


/* =========================================================
   Benefits
   ========================================================= */

.benefits-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;

    margin: 0 0 0;

    padding: 30px 40px;

    background: #f5faff;
    border-top: 1px solid #e6eef7;
    border-bottom: 1px solid #e6eef7;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.benefit-icon {
    flex: 0 0 72px;

    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff;

    color: #0093DA;

    font-size: 27px;

    box-shadow: 0 3px 15px rgba(15, 52, 96, .06);
}

.benefit-item h3 {
    margin: 0 0 8px;

    color: #102652;
    font-size: 13px;
    font-weight: 700;
}

.benefit-item p {
    margin: 0;

    color: #3c4c69;
    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   Submit
   ========================================================= */

.submit-section {
    padding: 28px 40px 25px;

    background: #f5faff;
}

.submit-button {
    width: 100%;
    height: 67px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    border: 0;
    border-radius: 10px;

    background: #066b96;
    color: #fff;

    font-family: inherit;
    font-size: 20px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.submit-button:hover {
    background: #066b97;

    box-shadow: 0 8px 20px rgba(6, 31, 80, .18);

    /*transform: translateY(-1px);*/
}

.submit-icon {
    font-size: 23px;
}


.privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin: 18px 0 0;

    color: #3b4d6c;

    font-size: 13px;
    text-align: center;
}

.privacy-note span {
    color: #1e3157;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {

    .form-columns {
        grid-template-columns: 1fr;
    }

    .booking-section {
        padding-right: 0;
        padding-bottom: 35px;
    }

    .contact-section {
        padding-left: 0;
        padding-top: 35px;

        border-left: 0;
        border-top: 1px solid #e3e9f1;
    }

    .benefits-section {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        max-width: 400px;
    }
}


@media (max-width: 650px) {

    .tour-inquiry-wrapper {
        margin: 10px auto;
        padding: 8px;
    }

    .inquiry-hero {
        min-height: 330px;

        background-position: 65% center;
    }

    .hero-content {
        padding: 25px;
    }

    .brand {
        margin-bottom: 45px;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .brand h2 {
        font-size: 23px;
    }

    .inquiry-hero h1 {
        font-size: 30px;
    }

    .inquiry-hero p {
        font-size: 14px;
    }

    .form-columns {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .benefits-section {
        padding: 25px 20px;
    }

    .submit-section {
        padding: 22px 20px;
    }

    .submit-button {
        height: 58px;
        font-size: 17px;
    }

    .privacy-note {
        font-size: 11px;
        line-height: 1.5;
    }

    .package-sidebar {
        padding: 0 0 20px 0;
    }

    .tourify-modal-content {
        width: 100%;
    }
}

/* ==========================================================================
   Mobile & Tablet: Package Sidebar Accordions
   (Journey details, Package Inclusions & Exclusions, Cancellation Policy)
   ========================================================================== */
@media (max-width: 1023.98px) {
    .package-sidebar-accordion-item {
        border: 1.5px solid #BAE6FD;
        border-radius: 20px;
        background-color: #ffffff;
        margin-top: 14px;
        overflow: hidden;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .package-sidebar-accordion-item.is-open {
        border-color: #7dd3fc;
        box-shadow: 0 4px 16px rgba(0, 147, 218, 0.08);
    }

    .package-sidebar-accordion-header {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 22px;
        background: transparent;
        border: none;
        cursor: pointer;
        text-align: left;
        user-select: none;
        outline: none;
        box-shadow: none;
        transition: background-color 0.15s ease;
    }

    .package-sidebar-accordion-header:hover,
    .package-sidebar-accordion-header:active {
        background-color: #f8fafc;
    }

    .package-sidebar-accordion-title {
        font-size: 17px;
        font-weight: 700;
        color: #066B96;
        line-height: 1.3;
        letter-spacing: -0.01em;
    }

    .package-sidebar-accordion-chevron {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #066B96;
        flex-shrink: 0;
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .package-sidebar-accordion-item.is-open .package-sidebar-accordion-chevron {
        transform: rotate(180deg);
    }

    .package-sidebar-accordion-content {
        display: none;
    }

    .package-sidebar-accordion-item.is-open .package-sidebar-accordion-content {
        display: block;
        animation: packageAccordionFadeIn 0.2s ease-in-out;
    }

    @keyframes packageAccordionFadeIn {
        from {
            opacity: 0;
            transform: translateY(-4px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Reset desktop sidebar boxes when inside mobile accordion */
    .package-sidebar-accordion-item .package-overview {
        margin-top: 0 !important;
        padding: 16px 20px 20px 20px !important;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        border-top: 1px solid #f1f5f9 !important;
        gap: 16px !important;
    }

    .package-sidebar-accordion-item .package-inclu-exclu {
        margin-top: 0 !important;
        padding: 16px 20px 20px 20px !important;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        border-top: 1px solid #f1f5f9 !important;
        gap: 16px !important;
    }

    .package-sidebar-accordion-item .tourify-grid-container {
        gap: 1.25rem !important;
    }

    .package-sidebar-accordion-item .tourify-cancellation-policy-section {
        margin: 0 !important;
        padding: 16px 20px 20px 20px !important;
        border-left: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        border-top: 1px solid #f1f5f9 !important;
    }
}

@media (min-width: 1024px) {
    .package-sidebar-accordion-header {
        display: none !important;
    }

    .package-sidebar-accordion-content {
        display: block !important;
    }
}