.frame-type-sitepackage_tickettile {
    padding: 20px 0;
}



.tickettile-container {
    margin: 2rem auto;
    text-align: center;
    padding: 0 120px;
    max-width: 1550px;

    @media (max-width: 1024px) {
        padding: 0 60px;
    }

}

.tickettile-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 2rem 0;
    color: $color-1;
    text-align: center;
}

/* =========================================
   TAB NAVIGATION STYLES
   ========================================= */

.tickettile-tabs {
    display: inline-flex;
    justify-content: center;
    border-bottom: none;
    flex-wrap: nowrap;
    background: $color-12;
    border-radius: 12px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    padding: 5px;

    /* Hide scrollbar for Chrome, Safari, Opera */
    &::-webkit-scrollbar {
        display: none;
    }

    /* Tab Item */
    .nav-item {
        margin: 0;
        padding: 0;
        min-width: 184px;

        &::before {
            display: none;
        }
    }

    /* Tab Link/Button */
    .nav-link {
        background: transparent;
        border-radius: 12px;
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        cursor: pointer;
        border: none;
        text-decoration: none;
        color: $color-1;
        width: 100%;
        transition: all 0.3s ease;

        /* Active State */
        &.active {
            background: $color-1;

            .tab-icon img {
                filter: brightness(0) invert(1);
            }

            .tab-title {
                color: $color-11;
            }
        }

        /* Hover State */
        &:hover:not(.active) {
            background: rgba(65, 68, 142, 0.1);
        }
    }

    /* Tab Icon */
    .tab-icon {
        width: 37px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;

        img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: filter 0.3s ease;
        }
    }

    /* Tab Title */
    .tab-title {
        font-size: 14px;
        font-weight: 700;
        text-align: center;
        color: $color-1;
        line-height: 16px;
        transition: color 0.3s ease;
    }
}

/* =========================================
   TAB CONTENT STYLES
   ========================================= */

.tickettile-content {
    margin-top: 2rem;

    .owl-carousel {
        .owl-stage-outer {
            @media (max-width: 767px) {
                padding-left: 1px;
            }
        }

        .owl-item {
            padding: 3px;
            margin-left: 0;
            padding-bottom: 40px;
        }

    }
}

.tab-pane {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================================
   PRICE CARDS GRID STYLES
   ========================================= */

.price-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding-bottom: 50px;
}

// Max 3 cards per grid. A full row always reserves 3 slots' worth of width
// (1/3 each); fewer cards center within that reserved width instead of
// stretching to fill the row. Desktop only — mobile already stacks to a
// single full-width column via the @media (max-width: 767.98px) block below.
@media (min-width: 768px) {
    .price-cards-grid {
        &:has(.price-card:only-child) {
            grid-template-columns: minmax(0, calc((100% - 2 * 2rem) / 3));
            justify-content: center;
        }

        &:has(.price-card:nth-child(2):last-child) {
            grid-template-columns: repeat(2, minmax(0, calc((100% - 2 * 2rem) / 3)));
            justify-content: center;
        }
    }
}

// Slider variant: Owl sizes each item as stageWidth / items (items: 3 on
// desktop), so 1-2 cards already get the 1/3 width — they just sit on the
// left. Center the items within a full-width stage (the stage is already
// display:flex via _slider.scss). width/min-width override Owl's inline
// stage width and the shared min-width: 100vw; the last item's trailing
// Owl margin is dropped so the group is exactly centered. Scoped to 1-2
// items: a full or scrolling stage is left alone.
@media (min-width: 1024px) {
    .ticket-card-slider.owl-loaded:not(:has(.owl-item:nth-child(3))) .owl-stage {
        width: 100% !important;
        min-width: 0;
        justify-content: center;

        .owl-item:last-child {
            margin-right: 0 !important;
        }
    }
}

.price-card {
    background: $color-11;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid $color-1;
    position: relative;
    overflow: visible;
    width: 100%;

    /* Price Card Image */
    .price-card-image {
        position: relative;
        width: 100%;
        height: 250px;
        overflow: hidden;
        border-radius: 12px 12px 0 0;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    /* Price Card Badge Box */
    .price-card-badge-box {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: $color-1;
        padding: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 10;

        .badge-text {
            font-size: 12px;
            font-weight: 400;
            color: $color-11;
            background: $color-5;
            padding: 0.5rem 1.25rem;
            border-radius: 30px;
            text-transform: capitalize;
            line-height: 18px;
        }

        .badge-price {
            font-size: 1.75rem;
            font-weight: 700;
            color: $color-11;
        }
    }

    /* Price Card Content */
    .price-card-content {
        padding: 20px;
        text-align: left;
        container-type: inline-size;
        container-name: price-card-content;
        padding-bottom: 50px;

        @media (max-width: 1024px) {
            padding: 10px;
            padding-bottom: 50px;
        }
    }

    /* Price Card CTA */
    .price-card-cta {
        text-align: center;
        margin-top: 1.5rem;
        display: flex;
        align-items: flex-start;
        gap: 15px;
        align-self: stretch;
        justify-content: center;

        &.button-inside {
            position: relative;
            display: flex;
            justify-content: center;
        }

        &.button-outside {
            position: absolute;
            left: 50%;
            transform: translate(-50%, 0);
            bottom: -31px;
            z-index: 10;
            margin-top: 0;
            padding-top: 0;
            top: auto;
            width: calc(100% - 30px);
        }

    }
}

.badge-keywords {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.badge-pricing {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.badge-actual-price {
    font-size: 1.25rem;
    font-weight: 400;
    color: $color-11;
    text-decoration: line-through;
    opacity: 0.9;
}

.price-card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: $color-1;
    line-height: 1.2;
}

.price-card-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: $color-4;
}

.price-card-description {
    font-size: 16px;
    color: $staytile-card-title-color;
    margin-bottom: 1.5rem;
    font-weight: 400;

    p {
        padding-bottom: 0;
    }

    ul {

        margin: 10px 0 10px 30px;
        padding: 0;


        li {
            list-style: disc;
            margin-left: 10px;
            font-size: 16px;
            font-weight: 400;
            padding-left: 0;
            padding-bottom: 0 !important;
            margin-left: 0px;
            margin-bottom: 0 !important;

            &::before {
                display: none;
            }


        }
    }


    a {
        color: $color-1;
    }
}

/* =========================================
   PRICING TIERS STYLES
   ========================================= */

.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 0;

    @media (max-width: 1024px) {
        gap: 10px;
    }
}

.pricing-tier {
    background: $color-1;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    color: $color-11;

    .tier-title {
        color: $color-11;
        text-align: center;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 30px;
        padding-bottom: 0;
    }

    .tier-subtitle {
        color: $color-11;
        text-align: center;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 14px;
        padding-bottom: 10px;
    }

    .tier-start-text {
        color: $color-4;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 18px;
        padding-bottom: 0;
    }

    .tier-pricing {
        background: $color-11;
        border-radius: 12px;
        padding: 10px;
        margin: 0 auto;

        @media (max-width: 1024px) and (min-width: 769px) {
            overflow: hidden;
            margin: 0 auto;
            padding: 5px;
        }

        .offer-price {
            color: $color-1;
            font-size: 20px;
            font-style: normal;
            font-weight: 700;
            line-height: 30px;
        }
    }

    .actual-price {
        text-decoration: line-through;
        color: $gray-a2;
        font-weight: 400;
    }
}

/* =========================================
   PRICE CARD BUTTON STYLES
   ========================================= */

.price-card-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    // width: 333px;
    height: 60px;
    padding: 1.1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;


    &.primary {
        background: linear-gradient(135deg, $color-6 0%, $color-7 100%);
        color: $color-11;
        // Responsive padding based on container width using clamp

        width: 90%;
        max-width: 333px;

        // Container query support (modern browsers)


        &:hover {
            background: linear-gradient(135deg, $color-7 0%, $color-8 100%);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px $color-10;
        }
    }
}


@media (max-width: 768px) {
    .tickettile-container {
        padding: 0 1rem;
    }

    .tickettile-tabs {
        flex-wrap: nowrap;

        .nav-link {
            padding: 1.25rem 1.5rem;
            min-width: 150px;
        }
    }

    .price-cards-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .pricing-tiers {
        gap: 0.875rem;
    }
}

@media (max-width: 600px) {
    .tickettile-tabs {
        flex-wrap: nowrap;
        width: 100%;
        justify-content: flex-start;

        .nav-link {
            padding: 10px;
        }

        .nav-item {
            min-width: auto;
            flex-grow: 1;
        }
    }
}

@media (max-width: 480px) {
    .tickettile-tabs {
        flex-wrap: nowrap;

        .nav-link {
            justify-content: flex-start;
            padding: 10px;
            min-width: auto;
        }
    }


    .pricing-tiers {
        grid-template-rows: 1fr;
    }

    .price-card-badge-box {
        padding: 1rem 1.5rem;

        .badge-text {
            font-size: 0.9rem;
            padding: 0.4rem 1rem;
        }

        .badge-price {
            font-size: 1.3rem;
        }
    }

    .badge-pricing {
        gap: 0.75rem;
    }

    .badge-actual-price {
        font-size: 1rem;
    }
}

/* =========================================
   BUTTON ICON AND POSITION STYLES
   ========================================= */

.button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;

    img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* Icon position variants */
.button-icon-before {
    order: -1;
}

.button-icon-after {
    order: 1;
}

.button-text {
    order: 0;
}

@media (max-width: 767px) {
    .button-icon {
        width: 1rem;
        height: 1rem;
    }

    .price-card .price-card-cta {
        width: auto;
    }
}

/* =========================================
   OWL CAROUSEL SLIDER STYLES
   ========================================= */

.ticket-card-slider {

    margin: 0;
    padding: 0;

    /* Owl nav buttons */
    .owl-nav {

        display: flex;
        justify-content: space-between;
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        pointer-events: none;
        z-index: 100;

        button {
            pointer-events: all;
            background: $color-1 !important;
            color: $color-11 !important;
            width: 52px !important;
            height: 52px !important;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;


            &.owl-prev:before,
            &.owl-next:before {
                font-size: 1.5rem !important;
                line-height: 3.25rem !important;
                width: 52px !important;
                height: 52px !important;
                box-shadow: none !important;


            }



            &.owl-prev {
                margin-left: -75px;
            }

            &.owl-next {
                margin-right: -75px;
            }

            &.owl-prev:hover,
            &.owl-next:hover {
                border: 0;
                box-shadow: none;

                &:before {
                    border: 0;
                    box-shadow: none;
                }
            }
        }

        @media (max-width: 1024px) {
            display: none;
        }
    }

    /* Owl pagination dots */
    .owl-dots {
        display: flex;
        justify-content: center;
        gap: 0px;

        &.disabled {
            display: none;
        }

    }

    .owl-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: $color-13;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;

        &.active {
            background: $color-1;
            width: 30px;
            border-radius: 6px;
        }
    }

    /* Responsive slider */
    @media (max-width: 768px) {
        .owl-nav button {
            width: 40px;
            height: 40px;
            font-size: 1.5rem;

            &.owl-prev {
                margin-left: -20px;
            }

            &.owl-next {
                margin-right: -20px;
            }
        }
    }
}