﻿/*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;
    width: 80%;
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .popup-content > img {
        width: 100%;
        height: 65vh;
        object-fit: contain;
        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;
    line-height: 1;
    padding: 0;
}

.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: #31b856;
}

.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: 22px;
    font-weight: 400;
    color: #111827;
}

/*New css for attraction template*/
.favorite-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 0;
}

.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;
    text-transform: capitalize;
}

#meetingPointAddress {
    text-transform: capitalize;
}

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

.attraction-desc {
    font-size: 16px;
    font-weight: 500;
    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: 700;
}

.ticket-cardbox {
    border: 1px solid #4a5565;
    border-radius: 10px;
    padding: 16px;
    position: relative;
    background: #fff;
    box-shadow: 0 0.1rem 0.2rem rgb(0 0 0 / 8%);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.2s;
}

    .ticket-cardbox:hover {
        box-shadow: 0 2px 14px rgb(0 0 0 / 14%);
    }

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

.ticket-pricegroup {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 12px;
}

/* Card header row */
.ticket-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.ticket-card-header-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

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



/* Discount Badge */
.badge {
    display: inline-block;
    background: #b40121;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    line-height: 1.2;
}

/* Refundable pill */
.tag-refundable {
    background-color: #fff;
    color: #16a34a;
    border: 1.5px solid #16a34a;
    border-radius: 999px;
    padding: 2px 10px;
    font-weight: 600;
    font-size: 11px;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

    .tag-refundable svg {
        width: 12px;
        height: 12px;
        stroke: currentColor;
        fill: none;
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* Info icon */
.ticket-info-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: #f1f3f5;
    color: #6c757d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

    .ticket-info-icon:hover {
        background: #e1e5ea;
        color: #495057;
    }

    .ticket-info-icon svg {
        width: 14px;
        height: 14px;
    }

/* Info modal */
.tcf-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

    .tcf-modal.active {
        display: flex;
    }

.tcf-modal-content {
    width: 90%;
    max-width: 360px;
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
}

.tcf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .tcf-modal-header h3 {
        margin: 0;
        font-size: 16px;
        font-weight: 700;
    }

.tcf-modal-close {
    border: none;
    background: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #555;
}

.tcf-modal-body {
    margin-top: 10px;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

/* Title */
.offer-title {
    font-size: 14px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0;
    color: #222;
    line-height: 1.4;
}

/* Price Section */
.price-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.2;
}

.price {
    font-size: 19px;
    font-weight: 800;
    color: #db402c;
    margin: 0;
    line-height: 1.2;
}

.reg-price {
    font-size: 11px;
    color: #777;
    margin-top: 2px;
    font-weight: 600;
}

/* Button */
.select-btn {
    background: #1e255b;
    color: white;
    border: none;
    padding: 8px 22px;
    min-width: 90px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s;
}

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

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

.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: 25px 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;
}

.viator-page {
    padding: 25px 0 !important;
}
.explore-section {
    padding: 0px;
    background: #fff;
    margin: 20px 0;
}

/* Title */
.explore-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
}

    .explore-title span {
        color: #e1251b;
    }

/* Grid Layout */
.explore-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 cards per row */
    gap: 20px;
    margin: 30px 0;
}

/* Card */
.explore-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: #222;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

    /* Hover Effect */
    .explore-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    }

        .explore-card:hover .card-body h4 {
            text-decoration: underline;
            text-underline-offset: 2px;
        }
/* Image */
.explore-section .card-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
}

    .explore-section .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Body */
.explore-section .card-body {
    padding: 12px 14px 14px;
}

.explore-section .card-body h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.explore-section .card-body p {
    font-size: 14px;
    color: #6a7282;
    margin-bottom: 0;
    font-weight: 500;
}

.explore-section .suplier-text {
    color: #f24040;
}
#reviewSec .fs-2 {
    font-size: 17px !important;
}
#reviewSec h4{
    font-size:15px !important;
}
.review-graphview .mb-10 {
    margin-bottom: 5px !important;
}
.rating-group{
    font-size:19px;
}
@media (max-width: 1200px) {
    .explore-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width:1024px) {
    .select-btn {
        padding: 10px 20px;
    }

    .explore-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@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: 400;
    }

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

    .mobile-bg-patch {
        background: #d9f1fc;
        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: 10px !important;
        padding-bottom: 10px !important;
    }

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

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

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

    .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;
    }
    .explore-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .explore-section .card-image {
        height: 90px;
    }

    .explore-card:hover {
        transform: none;
    }

    .explore-card:hover .card-body h4 {
        text-decoration: none;
    }

    .favorite-icon {
        width: 20px;
        height: 20px;
    }

    .explore-section .card-body h4 {
        font-size: 12px;
    }

    .explore-section .card-body p {
        font-size: 11px;
    }
    .slick-dots li button:before {
        color: #ffffff !important;
    }

    .slick-dotted.slick-slider {
        margin-bottom: 0px;
    }
    .viator-page {
        padding: 10px 0 !important;
    }
    .itinerary-item h6 {
        font-size: 12px !important;
        font-weight: 400;
        line-height: 18px;
    }

    .itinerary-item {
        font-size: 12px;
    }
    .section-desc .mb-20 {
        margin-bottom: 20px !important;
    }
}
