.tagline-section h5 {
    font-weight: 700;
    color: #000;
    font-size: 1.25rem;
}

.info-alert-box {
    background-color: #fff0f5;
    border-left: 4px solid #d63384;
    border-radius: 0 8px 8px 0;
    padding: 15px 20px;
}

    .info-alert-box i {
        color: #d63384;
        font-size: 14px;
        margin-top: 3px;
    }

    .info-alert-box p {
        color: #a01a58;
        font-weight: 400;
        margin-bottom: 5px;
    }

        .info-alert-box p:last-child {
            margin-bottom: 0;
        }

.favorite-btn-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

/* Override reg-price color to grey */
.funxPrice .reg-price,
.funxPrice .reg-price s {
    color: #9ca3af !important;
}

/* Override mobiscroll styles */
.mbsc-calendar-cell.mbsc-calendar-day:hover:not(.mbsc-disabled), .mbsc-calendar-cell.mbsc-calendar-day.mbsc-selected {
    background-color: transparent !important;
}

    .mbsc-calendar-cell.mbsc-calendar-day:hover:not(.mbsc-disabled) .mbsc-calendar-cell-inner,
    .mbsc-calendar-cell.mbsc-calendar-day.mbsc-selected .mbsc-calendar-cell-inner {
        background-color: #db402c !important;
        color: #ffffff !important;
    }

.green-text {
    color: #059669 !important;
    font-size: 14px !important;
}

/* H1 must be larger than H2 */
h1.attraction-title {
    font-size: 22px !important;
    font-weight: 600 !important;
}

.booking-box-head h2.ticket-title {
    font-size: 18px !important;
    font-weight: 600 !important;
}

/*gallery grid*/
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: repeat(2, 170px);
    gap: 8px;
    margin-bottom:20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.2s;
        cursor: pointer;
    }

        .gallery-item img:hover {
            transform: scale(1.05);
        }

    .gallery-item.large {
        grid-row: span 2;
    }

    .gallery-item.large {
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }

.br-top-right {
    border-top-right-radius: 10px;
}

.br-bottom-right {
    border-bottom-right-radius: 10px;
}

.viator-images .slick-slide > div > div {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

    .viator-images .slick-slide > div > div img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.gallery-item {
    position: relative;
}

.gallery-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    left: inherit;
    width: 110px;
    height: 40px;
}

.gallery-btn {
    pointer-events: auto;
}

.gallery-item img {
    pointer-events: auto;
}

.tickets-callout-bg {
    background-repeat: no-repeat;
    height: 434px;
    margin: 8px;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
}

.tickets-callout-content {
    display: flex;
    justify-content: end;
    width: 100%;
    flex-direction: column;
    text-align: center;
    padding: 12px;
    height: 100%;
}
/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

    .popup.active {
        display: flex;
    }

.popup-content {
    position: relative;
    max-width: 80%;
    max-height: 80%;
    text-align: center;
}

    .popup-content img {
        max-width: 100%;
        max-height: 60vh;
        border-radius: 5px;
    }

.close-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    background: white;
    border-radius: 50%;
    border: none;
    font-size: 30px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    border-radius: 50%;
    min-width: 35px;
    min-height: 35px;
}

.prev {
    left: -50px;
}

.next {
    right: -50px;
}

.thumbnail-container {
    margin-top: 15px;
    display: flex;
    overflow-x: auto;
    gap: 10px;
    justify-content: center;
}

    .thumbnail-container img {
        width: 70px;
        cursor: pointer;
        border-radius: 3px;
        opacity: 0.6;
        transition: opacity 0.2s;
    }

        .thumbnail-container img.active {
            opacity: 1;
            border: 2px solid white;
        }

.text-primary-lightest {
    color: #1e75ce !important;
}

.viator-images .slick-dots {
    margin-top: 20px;
}

.attraction-subtitles {
    font-size: 16px !important;
    font-weight: 600;
    color: #000000 !important;
    padding: 10px 0px;
}

.ticket-pricegroup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.price-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #111827;
    margin-bottom: 2px;
    font-weight: 600;
}

.ticket-pricegroup .price {
    font-size: 22px;
    font-weight: bold;
    color: #db402c;
    margin: 0;
    line-height: 22px;
}

.select-btn {
    background: #0057c9;
    color: white;
    border: none;
    padding: 10px 55px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.25);
    transition: 0.2s;
}

    .select-btn:hover {
        background: #044293;
    }

.location-details .city-name {
    color: #000;
}

.viator-images .slick-slide > div > div {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

    .viator-images .slick-slide > div > div img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.btn-buy-now {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    font-size: 14px;
    height: 30px;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    overflow: hidden;
    transition: background-color 0.3s ease;
    background: #30356c;
}

    .btn-buy-now .btn-text,
    .btn-buy-now .cart-icon {
        position: absolute;
        transition: all 0.4s ease;
    }

    .btn-buy-now .cart-icon {
        width: 15px;
        height: 15px;
        opacity: 0;
        transform: translateX(100%);
    }

    .btn-buy-now:hover .btn-text {
        opacity: 0;
        transform: translateX(-100%);
    }

    .btn-buy-now:hover .cart-icon {
        opacity: 1;
        transform: translateX(0);
    }

.desktop-none {
    display: none;
}
/*New css added for Page Header section*/
.favorite-icon {
    width: 35px !important;
    height: 35px !important;
    margin-left: 15px;
    background-color: #fff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 50% !important;
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E") !important;
    background-size: 60% 60% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: inline-block;
    transition: background-image 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
}
    .favorite-icon:hover,
    .favorite-icon.selected {
        background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23db402c' stroke='%23db402c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E") !important;
    }
.attraction-temp-headgroup {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.attractiontemp-logo {
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 3px;
    width: 120px;
    height: 100px;
    flex-shrink: 0;
}
    .attractiontemp-logo img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }
.uni-attr-title {
    line-height: 1.3;
}
h1.attraction-title {
    font-size: 22px !important;
    font-weight: 600 !important;
    display: inline;
    margin-bottom: 8px !important;
}
.uni-attr-title .favorite-icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    position: relative;
    top: -4px;
    background-size: 60% 60% !important;
    background-position: center center !important;
}
.uni-attr-title .favorite-icon, .uni-attr-title .favorite-btn-inline {
    vertical-align: middle;
}
.tooltip-fav {
    position: relative;
    bottom: 0;
    left: 110%;
    background-color: #fff;
    color: #111;
    box-shadow: 2px 2px 2px 2px #888888;
    padding: 5px 8px;
    font-size: 12px;
    border-radius: 2px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}
.attraction-location {
    color: #4B5563;
    font-size: 12px;
    margin-left: 0px;
    display: flex;
    gap: 5px;
    align-items: center;
    text-transform: capitalize;
    font-weight: 500;
}
.attraction-location a {
    color: #4B5563;
    display: flex;
    align-items: start;
    gap: 5px;
}
.attraction-location img {
    height: 14px;
}
.reg-price {
    display: inline-block;
}

.from-text {
    font-size: 12px;
    font-weight:600;
}
/*end*/
@media screen and (max-width:1200px) {
    .page-content {
        padding: 0px 30px 35px;
    }

    .page-header .page-group-heading {
        padding: 18px 19px 16px;
    }

    .select-btn {
        padding: 10px 30px;
    }
}

@media (min-width: 992px) {
    .tickets-quantity-cont.is-sticky {
        position: fixed;
        z-index: 10;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(0,0,0,0.2) transparent;
    }

        .tickets-quantity-cont.is-sticky::-webkit-scrollbar {
            width: 5px;
        }

        .tickets-quantity-cont.is-sticky::-webkit-scrollbar-track {
            background: transparent;
        }

        .tickets-quantity-cont.is-sticky::-webkit-scrollbar-thumb {
            background-color: rgba(0,0,0,0.2);
            border-radius: 10px;
        }

            .tickets-quantity-cont.is-sticky::-webkit-scrollbar-thumb:hover {
                background-color: rgba(0,0,0,0.35);
            }
}

@media (max-width: 768px) {
    .desktop-none {
        display: block !important;
    }

    .gallery-grid {
        display: none;
    }

    .ticket-select-details, .tickets-quantity-cont {
        padding: 0px;
    }
    /* Disable hover effects on time slot buttons for smaller screens */
    .radio-toolbar label:hover {
        background-color: #fff !important;
        border: 1px solid #c4c4c4 !important;
        color: #3e526f !important;
    }

    .radio-toolbar input[type="radio"]:checked + label,
    .radio-toolbar input[type="radio"]:checked + label:hover {
        background-color: #db402c !important;
        border-color: #db402c !important;
        color: #fff !important;
    }

    .hour-btn:not(.selected):hover {
        background-color: #fff !important;
        border-color: #c4c4c4 !important;
        color: #3e526f !important;
    }

    .hour-btn.selected {
        background-color: #db402c !important;
        border-color: #db402c !important;
        color: #fff !important;
    }
    /* Viator-style image slider dots */
    .viator-images {
        position: relative;
    }

        .viator-images .slick-slide > div > div {
            position: relative;
        }

    .mobile-gallery-btn {
        position: absolute;
        bottom: 15px;
        right: 10px;
        z-index: 3;
        cursor: pointer;
        max-width: 100px;
    }

        .mobile-gallery-btn img {
            width: 100%;
            height: auto;
            display: block;
        }

    .mobile-gallery-img {
        cursor: pointer;
    }

    .viator-images .slick-dots {
        position: absolute;
        bottom: 10px;
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 0;
        margin: 0;
        list-style: none;
        margin-bottom: 10px;
    }

        .viator-images .slick-dots li {
            padding: 0 4px;
            width: auto;
            height: auto;
            margin: 0;
        }

            .viator-images .slick-dots li button {
                background-color: rgba(255, 255, 255, 0.5) !important;
                width: 8px !important;
                height: 8px !important;
                border-radius: 50% !important;
                border: 0 !important;
                padding: 0 !important;
                text-indent: -9999px;
                overflow: hidden;
                transition: background-color .15s ease-in-out;
            }

                .viator-images .slick-dots li button:before {
                    display: none !important;
                }

            .viator-images .slick-dots li.slick-active button {
                background-color: rgba(255, 255, 255, 0.95) !important;
            }

    .viator-images .slick-slide > div > div img {
        border-radius: 0 !important;
    }

    .viator-images .slick-slide > div > div {
        max-height: 230px;
    }

    .favorite-icon {
        margin-left: 0;
        margin-top: -10px;
    }

    .popup-content {
        width: 95% !important;
    }

        .popup-content > img {
            height: 55vh !important;
        }

    .nav-btn.prev {
        left: 5px !important;
    }

    .nav-btn.next {
        right: 5px !important;
    }

    .close-btn {
        top: 15px !important;
        right: 15px !important;
    }

    .thumbnail-container img {
        width: 50px !important;
    }

    h1.attraction-title {
        font-size: 20px !important;
        font-weight: 600 !important;
    }

    .booking-box-head h2.ticket-title {
        font-size: 16px !important;
        font-weight: 600 !important;
    }
    /* Reduce only the bottom gap between description and booking card on mobile */
    .booking-outer-box {
        margin-top: 5px !important;
    }

    .attraction-desc {
        margin-left: 20px !important;
        margin-right: 20px !important;
    }

    .uni-attr-title {
        flex: 1;
        padding: 0 50px 0 20px;
        position: relative;
        min-width: 0;
    }
    .uni-attr-title .attraction-title {
        display: block !important;
        word-break: break-word;
    }
    .attractiontemp-logo {
        display: none;
    }
    .uni-attr-title .favorite-icon {
        position: absolute !important;
        top: 0;
        right: 10px;
        margin: 0 !important;
    }
    .attraction-temp-headgroup{
        position:relative;
    }
    .mobile-order-2 {
        order: 2;
    }
    .info-alert-box {
        margin: 0 20px;
    }
}

@media (max-width: 600px) {
    .step-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }
}
