﻿/*old css of the template*/
body {
    color: #000000 !important;
}

.page-banner {
    background-image: url('@Model.AttractionViewModel.ProductLogo');
    background-repeat: repeat;
    height: 189px;
    background-position: center;
}

.ticket-border {
    border: 2px solid black;
    transition: 0.5s ease;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

    .ticket-border:hover {
        /* transform: translateY(-5px); */
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    }

        .ticket-border:hover .title {
            text-decoration: underline;
        }

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

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

.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%; /* Adjust width as needed */
    aspect-ratio: 1 / 1; /* Ensures a square aspect ratio */
    overflow: hidden; /* Hide any overflowing image content */
}

    .viator-images .slick-slide > div > div img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Fill the container while maintaining aspect ratio and cropping if necessary */
    }

.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%); /* start off-screen (right) */
    }

    .btn-buy-now:hover .btn-text {
        opacity: 0;
        transform: translateX(-100%); /* move left out of view */
    }

    .btn-buy-now:hover .cart-icon {
        opacity: 1;
        transform: translateX(0); /* slide in from right */
    }

@media (max-width: 768px) {
    .gallery-grid {
        display: none;
    }

    h2 {
        font-size: 24px !important;
    }

    .viator-page .border-start,
    .viator-page .border-end {
        border: 0 !important;
    }
}

@media (max-width: 580px) {
    .page-banner {
        background-image: url('@(string.IsNullOrEmpty(Model.AttractionViewModel.ProductLogoMobile) ? Model.AttractionViewModel.ProductLogo : Model.AttractionViewModel.ProductLogoMobile)');
        background-repeat: no-repeat;
        height: 189px;
        background-position: center;
    }
}

/* 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;
}

.rated-stars {
    top: 0;
    left: 0;
    white-space: nowrap;
    color: #34c65c;
}

.ribbon-img {
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 30px;
    z-index: 10;
    max-width: 230px;
}

    .ribbon-img img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain;
    }

.review-link-btn:hover {
    text-decoration: underline !important;
}

.attraction-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

/*New css for attraction template*/
.favorite-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 0;
    background-image: url('//media.emailer-images.com/image/upload/v1744047802/GWP_-_FAVORITE_ICON_UNSELECTED_vwtdks.svg');
}

    .favorite-icon:hover {
        background-image: url('//media.emailer-images.com/image/upload/v1744047802/GWP_-_FAVORITE_ICON_UNSELECTED_vwtdks.svg');
    }

    .favorite-icon.selected {
        background-image: url('//res.cloudinary.com/greatworkperks/image/upload/greatwork-perks/favorite-filled-icon_fn5tfb.png');
    }

.fav-text {
    font-weight: 600;
    font-size: 12px;
    margin-left: 5px;
    color: #374151;
    display: flex;
    align-items: center;
}

.review-link-btn {
    color: #6B7280 !important;
    font-size: 12px !important;
}

.attraction-location {
    color: #4B5563;
    font-size: 12px;
    font-weight: 500;
    margin-left: 0px;
    display: flex;
    gap: 5px;
    align-items: center;
}

    .attraction-location a {
        color: #4B5563;
    }

.attraction-desc {
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    margin: 20px 0px;
}

.features-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
    display: none;
}

.price-feat, .authorized-feat, .refund-feat {
    width: auto;
    padding: 0px 10px 0px 0px;
    border: solid 2px #f97316;
    border-radius: 8px;
    color: #C2410C;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
}

.authorized-feat {
    border-color: #2b2f63;
    color: #2b2f63;
}

.refund-feat {
    border-color: #22c55e;
    color: #22c55e;
}

    .price-feat span:nth-child(1), .authorized-feat span:nth-child(1), .refund-feat span:nth-child(1) {
        background: #f97316;
        padding: 5px 8px;
        border-radius: 5px 0 0 5px;
        color: #fff;
        position: relative;
        margin-right: 5px;
        display: inline-block;
        width: 33px;
    }

.authorized-feat span:nth-child(1) {
    background: #2b2f63;
}

.refund-feat span:nth-child(1) {
    background: #22c55e;
}

.mandatory-info {
    font-size: 14px;
    font-weight: 400;
}

.section-desc {
    margin-top: 20px;
    border-top: solid 1px #ccc;
}

.mandatory-info p {
    line-height: 22px;
}

.attraction-subtitles {
    font-size: 16px !important;
    font-weight: 600;
}

.ticket-cardbox {
    border: 1px solid #4a5565;
    border-radius: 12px;
    padding: 18px;
    position: relative;
    background: #fff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .ticket-cardbox:hover .offer-title {
        text-decoration: underline;
    }

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

.ticket-boxcard {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 15px 0;
}



/* Discount Badge */
.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #db402c;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 10px;
}

/* Title */
.offer-title {
    font-size: 15px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 12px;
    color: #111;
}

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

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

.reg-price {
    font-size: 13px;
    color: #9CA3AF;
    margin-top: 2px;
    font-weight: 600;
}

/* Button */
.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;
    }

.product-details p, .product-details ul li {
    font-size: 14px;
    margin-bottom: 15px;
}

.product-details ul li {
    margin-bottom: 5px;
}

.product-details .refund-feat {
    margin: 15px 0;
}

.text-slash {
    text-decoration: line-through;
}

.attraction-location img {
    height: 14px;
}

.slash-line {
    margin: 0 10px;
    color: #D1D5DB;
}

.rating-text {
    font-size: 16px;
}

.mobile-none {
    display: flex !important;
}

.desktop-none {
    display: none !important;
}

.review-graphview {
    color: #4b5563;
}

.viator-page-details {
    padding: 45px 0;
}

.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;
}
/*.gallery-item.large:before {
    content: '';
    position: absolute;
    background: url(//res.cloudinary.com/funex/image/upload/v1770617998/gallery-buttonimg_xzfql2.png);
    width: 100%;
    height: 40px;
    background-repeat: no-repeat;
    z-index: 99999999;
    background-size: contain;
}*/
@media screen and (max-width:1024px) {
    .select-btn {
        padding: 10px 20px;
    }
}

@media screen and (max-width:767px) {
    .mobile-none {
        display: none !important;
    }

    .desktop-none {
        display: flex !important;
    }

    .features-group {
        gap: 8px;
        margin: 15px 0;
        justify-content: center;
    }

    .price-feat, .authorized-feat, .refund-feat {
        border-radius: 5px;
        font-size: 7px;
        padding: 0px 4px 0px 0px;
    }

        .price-feat span:nth-child(1), .authorized-feat span:nth-child(1), .refund-feat span:nth-child(1) {
            padding: 3px 3px;
            border-radius: 3px 0 0 3px;
            margin-right: 0px;
            width: 17px;
        }

    .attraction-title {
        color: #111827;
        padding: 0 0 0 0px;
        display: inline !important;
        font-size: 16px;
        font-weight: 700;
    }

    .mobile-padding {
        padding: 0 15px;
    }

    .mobile-bg-patch {
        background: #feefed;
        padding: 7px 15px;
        justify-content: center;
    }

    .rating-text {
        font-size: 12px;
        background: #c5f7d6;
        margin: 0 10px;
        padding: 3px 5px;
        margin-right: 10px !important;
        color: #28823d;
        font-weight: 700 !important;
    }

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

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

    .viator-images .slick-dots {
        position: absolute;
        bottom: 10px;
        width: 100%;
    }

        .viator-images .slick-dots li {
            padding: 0 8px;
        }

    .booked-text {
        font-size: 12px;
        margin: 0 10px;
    }

    .attraction-desc {
        margin: 20px 15px;
        font-size: 14px;
    }

    .section-desc {
        padding: 0 15px;
    }

    .product-details {
        padding: 0px 15px !important;
    }

    .attraction-subtitles {
        font-size: 14px !important;
    }

    .product-details p, .product-details ul li {
        font-size: 12px;
    }

    .mandatory-info p {
        line-height: 18px;
    }

    .py-15 {
        padding-top: 1.0rem !important;
        padding-bottom: 1.0rem !important;
    }

    .slick-dots button {
        background-color: #e6e9e9b5;
    }

    .slick-dots li.slick-active button {
        background-color: #e6e9e9;
    }

    .fav-mobile-patch {
        position: relative;
        top: -4px;
    }

    .select-btn {
        padding: 10px 25px;
        border-radius: 6px;
    }

    .mobile-alignheight {
        max-height: 50px;
    }

    .review-link-btn:hover {
        text-decoration: none !important;
    }

    .ticket-cardbox:hover .offer-title {
        text-decoration: none;
    }

    .viator-page-details {
        padding: 15px 0;
    }

    .slick-dots li button:before {
        font-size: 12px;
    }

    .slick-dots li.slick-active button {
        background-color: transparent !important;
    }
}
