/* Slideshow Video Background Styles */
.tg-hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Video container'ın butonları etkilememesi için z-index ayarı */
.tg-hero-area .tg-hero-arrow-box {
    z-index: 999 !important;
}

.tg-hero-area .tg-hero-arrow-box button {
    z-index: 999 !important;
}

.tg-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* Iframe video styling for YouTube/Vimeo */
.tg-hero-video-container iframe.tg-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%) scale(1.2);
    border: none;
    z-index: 1;
    pointer-events: auto;
}

/* Ensure video container fills the slide */
.swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.swiper-slide .tg-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Video overlay for better text readability */
.tg-hero-video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Smooth transitions for video/image switches */
.tg-hero-bg {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.tg-hero-video-container,
.tg-hero-thumb {
    transition: opacity 0.5s ease-in-out;
}

/* Video container positioning fix */
.swiper-slide .tg-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Ensure proper button positioning over videos */
.tg-hero-area {
    position: relative;
}

.tg-hero-content-area {
    z-index: 10 !important;
}

/* Fix z-index issue for search form */
.tg-booking-form-area {
    position: relative;
    z-index: 20 !important;
}

.tg-booking-form-item {
    position: relative;
    z-index: 20 !important;
}

.tg-booking-form-search-btn .bk-search-button {
    position: relative;
    z-index: 21 !important;
}

/* Rating system styles */
.rating-icon i {
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
    font-size: 18px;
    margin-right: 2px;
}

.rating-icon i:hover,
.rating-icon i.hovered {
    color: #ffc107 !important;
}

.rating-icon i.selected {
    color: #ffc107 !important;
}

.disabled-rating {
    opacity: 0.6;
    pointer-events: none;
}

.disabled-rating .rating-icon i {
    cursor: not-allowed;
}

.tg-review-submit button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.tg-review-submit button:disabled .btn-icon i.fa-check {
    color: #28a745;
}

.tg-tour-about-rating-category ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.tg-tour-about-rating-category ul li label {
    min-width: 120px;
    margin-right: 15px;
    font-weight: 500;
}

.tg-tour-about-rating-category ul li .rating-icon {
    display: flex;
    align-items: center;
}

.tg-review-submit {
    margin-top: 20px;
}

/* Filter buttons layout */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Month filter buttons - single row */
.filter-section:has(.month-btn) .filter-buttons {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 5px;
}

.filter-section:has(.month-btn) .filter-buttons::-webkit-scrollbar {
    height: 4px;
}

.filter-section:has(.month-btn) .filter-buttons::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.filter-section:has(.month-btn) .filter-buttons::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.filter-section:has(.month-btn) .filter-buttons::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Disabled filter button styles */
.filter-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f5f5f5;
    color: #999;
    border-color: #ddd;
}

.filter-btn.disabled:hover {
    background-color: #f5f5f5;
    color: #999;
    border-color: #ddd;
    transform: none;
}

/* Password toggle styles */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper .input {
    padding-right: 45px;
    width: 100%;
}

.password-toggle-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 18px;
    padding: 0;
    z-index: 10;
}

.password-toggle-btn:hover {
    color: #333;
}

.password-toggle-btn:focus {
    outline: none;
}

/* ===============================================
   Frontend Menu Styles
   =============================================== */

/* Ensure proper positioning for nested sub-menus */
.tgmenu__navbar-wrap ul li .sub-menu .sub-menu {
    right: auto !important;
    left: 100% !important;
    top: 0 !important;
    margin-top: 0 !important;
    position: absolute !important;
}

/* Add smooth transition for sub-menu positioning */
.tgmenu__navbar-wrap ul li .sub-menu {
    transition: all 0.3s ease;
}

/* Ensure sub-menu items have proper spacing */
.tgmenu__navbar-wrap ul li .sub-menu li {
    position: relative;
}

/* Add subtle shadow for better visibility of nested menus */
.tgmenu__navbar-wrap ul li .sub-menu .sub-menu {
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
}

/* More specific rules for nested sub-menus */
.tgmenu__navbar-wrap .navigation > li > .sub-menu > li > .sub-menu {
    right: auto !important;
    left: 100% !important;
    top: 0 !important;
    margin-top: 0 !important;
    position: absolute !important;
    z-index: 999 !important;
}

/* Ensure parent li has relative positioning */
.tgmenu__navbar-wrap .navigation > li > .sub-menu > li {
    position: relative !important;
}

/* Hover effect for nested sub-menus */
.tgmenu__navbar-wrap .navigation > li > .sub-menu > li:hover > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
}

/* Custom class for nested sub-menus */
.tgmenu__navbar-wrap .navigation .sub-menu .sub-menu-right {
    position: absolute !important;
    right: auto !important;
    left: 100% !important;
    top: 0 !important;
    margin-top: 0 !important;
    background: white !important;
    border: 1px solid #ddd !important;
    min-width: 200px !important;
    z-index: 1000 !important;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: scale(0.95) !important;
    transition: all 0.3s ease !important;
}

/* Hover effect for nested sub-menus */
.tgmenu__navbar-wrap .navigation .sub-menu li:hover .sub-menu-right {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
}

/* Ensure parent li has relative positioning for nested menus */
.tgmenu__navbar-wrap .navigation .sub-menu li {
    position: relative !important;
}

/* Fix chevron positioning for sub-menu items */
.tgmenu__navbar-wrap .navigation .sub-menu li.menu-item-has-children > a::after {
    content: "\f054" !important;
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-family: var(--tg-ff-fontawesome) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #666 !important;
    display: block !important;
}

/* Ensure proper alignment for sub-menu items with chevron */
.tgmenu__navbar-wrap .navigation .sub-menu li.menu-item-has-children > a {
    padding-right: 35px !important;
    position: relative !important;
}

/* Override any existing chevron positioning */
.tgmenu__navbar-wrap .navigation .sub-menu li.menu-item-has-children > a::after {
    margin: 0 !important;
    float: none !important;
    vertical-align: middle !important;
}

/* ===============================================
   Tour Itinerary Styles
   =============================================== */

.tg-itinerary-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    background: #f8f9fa;
}

.tg-itinerary-header {
    border-bottom: 2px solid var(--tg-theme-primary);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.tg-itinerary-day-number {
    background: var(--tg-theme-primary);
    color: var(--tg-common-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.tg-itinerary-title h5 {
    color: var(--tg-common-black);
    font-weight: 600;
}

.tg-itinerary-content h6 {
    color: var(--tg-theme-primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tg-itinerary-activities ul {
    margin: 0;
    padding-left: 0;
}

.tg-itinerary-activities li {
    list-style: none;
    margin-bottom: 8px;
}

.tg-itinerary-activities .icon {
    color: var(--tg-theme-secondary);
}

.tg-itinerary-meals,
.tg-itinerary-accommodation,
.tg-itinerary-transportation {
    background: var(--tg-common-white);
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid var(--tg-theme-primary);
}

/* ===============================================
   Review Button Styles
   =============================================== */

.tg-tour-about-review-button {
    text-align: center;
}

.tg-tour-about-btn {
    background: var(--tg-theme-primary);
    color: var(--tg-common-white);
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.tg-tour-about-btn:hover {
    background: var(--tg-theme-secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tg-tour-about-btn .btn-icon {
    font-size: 18px;
}

/* ===============================================
   Review Form Styles
   =============================================== */

.tg-tour-about-rating-category {
    background: var(--tg-grey-5);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--tg-border-1);
}

.tg-tour-about-rating-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tg-tour-about-rating-category li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: var(--tg-common-white);
    border-radius: 8px;
    border: 1px solid var(--tg-border-3);
    transition: all 0.3s ease;
}

.tg-tour-about-rating-category li:hover {
    border-color: var(--tg-theme-primary);
    box-shadow: 0 2px 8px rgba(86, 12, 227, 0.1);
}

.tg-tour-about-rating-category label {
    font-weight: 600;
    color: var(--tg-common-black);
    margin: 0;
    min-width: 100px;
    font-size: 14px;
}

.rating-icon {
    display: flex;
    gap: 3px;
}

.rating-icon i {
    font-size: 20px;
    color: var(--tg-grey-4);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 2px;
    display: inline-block;
}

.rating-icon i:hover {
    transform: scale(1.2);
}

.rating-icon i.hover {
    color: var(--tg-common-yellow) !important;
}

.rating-icon i.active {
    color: var(--tg-common-yellow) !important;
    transform: scale(1.1);
}

.tg-review-submit {
    text-align: center;
    margin-top: 20px;
}

/* Disabled rating form styles */
.tg-tour-about-rating-category.disabled {
    opacity: 0.7;
    pointer-events: none;
}

.tg-tour-about-btn:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    background: var(--tg-grey-4) !important;
}

.tg-tour-about-btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* ===============================================
   Contact Agent Styles
   =============================================== */

.tg-contact-agent {
    background: var(--tg-grey-5);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--tg-border-1);
    margin-bottom: 20px;
}

.tg-agent-filter .form-select {
    font-size: 14px;
    padding: 8px 12px;
    border: 1px solid var(--tg-border-1);
    border-radius: 6px;
}

.tg-agent-filter .btn {
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
}

.tg-agent-list {
    background: var(--tg-common-white);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid var(--tg-border-3);
}

.tg-agent-item {
    border-bottom: 1px solid var(--tg-border-3);
    padding-bottom: 15px;
}

.tg-agent-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tg-agent-card {
    background: var(--tg-common-white);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--tg-border-3);
    transition: all 0.3s ease;
}

.tg-agent-card:hover {
    border-color: var(--tg-theme-primary);
    box-shadow: 0 2px 8px rgba(86, 12, 227, 0.1);
}

.tg-agent-name {
    color: var(--tg-common-black);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.tg-contact-item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.tg-contact-item i {
    width: 16px;
    text-align: center;
}

.tg-contact-item a {
    color: var(--tg-common-black);
    transition: color 0.3s ease;
}

.tg-contact-item a:hover {
    color: var(--tg-theme-primary);
}

/* Agent filtering styles */
.tg-agent-item.hidden {
    display: none;
}

.tg-agent-item.visible {
    display: block;
}

/* Disabled rating styles */
.disabled-rating {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

/* Removed the pseudo-element that was showing "Login required to rate" */

.disabled-rating .rating-icon i {
    cursor: not-allowed;
    opacity: 0.5;
}

/* ===============================================
   Book This Tour Form Styles
   =============================================== */

/* Ensure select dropdowns use consistent styling */
.tg-booking-form-parent-inner .select {
    width: 100%;
    margin-bottom: 0;
}


/* ===============================================
   Discount Pricing Styles
   =============================================== */

.price-with-discount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.original-price {
    font-size: 14px;
    color: var(--tg-grey-4);
    text-decoration: line-through;
    font-weight: 400;
    line-height: 1.2;
}

.age-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--tg-theme-primary);
    line-height: 1.2;
}

.discount-badge {
    background: var(--tg-theme-secondary);
    color: var(--tg-common-white);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .tg-tour-about-rating-category ul {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tg-tour-about-rating-category li {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .tg-tour-about-rating-category label {
        min-width: auto;
    }

    .disabled-rating::before {
        font-size: 10px;
        padding: 6px 12px;
    }
}

/* Clickable tour cards */
.tour-card-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.tour-card-clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tour-card-clickable:hover .tg-listing-card-thumb img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.tour-card-clickable:hover .tg-listing-card-title {
    color: var(--tg-theme-primary);
    transition: color 0.3s ease;
}

/* Wishlist button positioning */
.tg-listing-item-wishlist {
    z-index: 100;
    position: absolute;
    top: 15px;
    right: 15px;
}

.wishlist-btn {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
    text-decoration: none;
}

.wishlist-btn:hover {
    background: rgba(255, 255, 255, 1);
    color: var(--tg-theme-primary);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.wishlist-btn.wishlisted {
    background: var(--tg-theme-primary);
    color: white;
}

.wishlist-btn.wishlisted:hover {
    background: var(--tg-theme-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(86, 12, 227, 0.3);
}

/* ===============================================
   AJAX Search Styles - Enhanced
   =============================================== */

.search-container {
    position: relative !important;
    width: 100% !important;
    z-index: 1000 !important;
}

.search-results {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    border: 2px solid #560CE3 !important;
    border-top: none !important;
    border-radius: 0 0 12px 12px !important;
    box-shadow: 0 8px 25px rgba(86, 12, 227, 0.15) !important;
    z-index: 99999 !important;
    max-height: 350px !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    display: none;
    animation: slideDown 0.3s ease-out !important;
    min-height: 50px !important;
    width: 100% !important;
}

.search-results.show {
    display: block !important;
}

@keyframes slideDown {
    from {
        opacity: 0 !important;
        transform: translateY(-10px) !important;
    }
    to {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

.search-result-item {
    padding: 15px 20px !important;
    border-bottom: 1px solid #f1f3f4 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    background: #ffffff !important;
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}

.search-result-item:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%) !important;
    transform: translateX(5px) !important;
}

.search-result-item:last-child {
    border-bottom: none !important;
    border-radius: 0 0 10px 10px !important;
}

.search-result-content {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}

.search-result-title {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    line-height: 1.4 !important;
    flex: 1 !important;
    display: block !important;
    width: 100% !important;
}

.search-result-item:hover .search-result-title {
    color: #560CE3 !important;
}

.search-no-results {
    padding: 30px 20px !important;
    text-align: center !important;
    color: #7f8c8d !important;
    font-style: italic !important;
    font-size: 15px !important;
    background: #f8f9fa !important;
    border-radius: 0 0 10px 10px !important;
}

.search-no-results::before {
    content: "🔍" !important;
    display: block !important;
    font-size: 24px !important;
    margin-bottom: 10px !important;
}

/* Search input styling - Enhanced with !important */
.tg-blog-sidebar-form {
    position: relative !important;
}

.tg-blog-sidebar-form input[type="text"] {
    width: 100% !important;
    padding: 15px 50px 15px 20px !important;
    border: 2px solid #e1e8ed !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

.tg-blog-sidebar-form input[type="text"]:focus {
    outline: none !important;
    border-color: #560CE3 !important;
    box-shadow: 0 0 0 4px rgba(86, 12, 227, 0.1), 0 4px 15px rgba(86, 12, 227, 0.2) !important;
    transform: translateY(-1px) !important;
}

.tg-blog-sidebar-form input[type="text"]::placeholder {
    color: #95a5a6 !important;
    font-weight: 400 !important;
}

.tg-blog-sidebar-form button {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.tg-blog-sidebar-form button:hover {
    background: transparent !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: none !important;
}

.tg-blog-sidebar-form button:active {
    transform: translateY(-50%) scale(0.95) !important;
}

/* Loading state */
.search-loading {
    padding: 20px !important;
    text-align: center !important;
    color: #560CE3 !important;
    font-size: 14px !important;
}

.search-loading::before {
    content: "" !important;
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #f3f3f3 !important;
    border-top: 2px solid #560CE3 !important;
    border-radius: 50% !important;
    animation: spin 1s linear infinite !important;
    margin-right: 10px !important;
}

@keyframes spin {
    0% { transform: rotate(0deg) !important; }
    100% { transform: rotate(360deg) !important; }
}

/* ===============================================
   Blog Gallery Lightbox Styles
   =============================================== */

.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.show {
    display: flex;
    opacity: 1;
}

.gallery-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    color: #560CE3;
    z-index: 10000;
}

.gallery-lightbox-controls:hover {
    background: #560CE3;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-lightbox-prev {
    left: -60px;
}

.gallery-lightbox-next {
    right: -60px;
}

.gallery-lightbox-close {
    position: absolute;
    top: -60px;
    right: -60px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    color: #560CE3;
    z-index: 10000;
}

.gallery-lightbox-close:hover {
    background: #ff4444;
    color: white;
    transform: scale(1.1);
}

.gallery-lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

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

.gallery-item img {
    transition: transform 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-lightbox-prev {
        left: 10px;
    }
    
    .gallery-lightbox-next {
        right: 10px;
    }
    
    .gallery-lightbox-close {
        top: 10px;
        right: 10px;
    }
    
    .gallery-lightbox-counter {
        bottom: 10px;
    }
}

/* ===============================================
   Partner Button Styles
   =============================================== */

.partner-btn {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    border: 2px solid #28a745 !important;
    color: white !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.partner-btn:hover {
    background: linear-gradient(135deg, #20c997, #28a745) !important;
    border-color: #20c997 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    text-decoration: none !important;
}

.partner-btn span svg {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.partner-btn:hover span svg {
    transform: rotate(360deg);
}

/* Partner Login Icon Only */
.partner-login-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Travel Period Months Grid */
.months-grid .row {
    margin: 0;
}

.months-grid .col-4 {
    padding: 2px;
}

.month-item {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 8px 4px;
    text-align: center;
    cursor: pointer !important;
    transition: all 0.2s ease;
    font-size: 12px;
    font-weight: 500;
}

.month-item:hover:not(.disabled) {
    background: var(--tg-theme-primary) !important;
    color: white !important;
    border-color: var(--tg-theme-primary) !important;
}

.month-item.selected {
    background: var(--tg-theme-primary);
    color: white;
    border-color: var(--tg-theme-primary);
}

.month-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f3f4;
}

/* Year Navigation */
.year-navigation .btn {
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
}

.current-year {
    color: var(--tg-heading-primary);
    font-size: 16px;
    font-weight: 700;
}


/* Keywords Dropdown Sections */
.tg-booking-form-location-list .section-header {
    padding: 8px 18px !important;
    background: #f8f9fa !important;
    border-radius: 0 !important;
    cursor: default !important;
    font-size: 11px;
    color: #6c757d;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e9ecef;
}

.tg-booking-form-location-list .section-header:hover {
    background: #f8f9fa !important;
    color: #6c757d !important;
}

.tg-booking-form-location-list li[data-type="tour_code"] i {
    color: var(--tg-theme-primary);
}

/* User Dropdown Styles */
.tg-header-btn .dropdown-menu {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 180px;
    margin-top: 8px;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1000;
    background: white;
    transition: all 0.3s ease;
    transform: translateY(-10px);
    opacity: 0;
}

.tg-header-btn .dropdown {
    position: relative;
}

.tg-header-btn .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    color: #495057;
    transition: all 0.2s ease;
    border: none;
    background: none;
    display: flex;
    align-items: center;
}

.tg-header-btn .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #28a745;
    transform: translateX(2px);
}

.tg-header-btn .dropdown-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.tg-header-btn .dropdown-divider {
    margin: 8px 0;
    border-top: 1px solid #e9ecef;
}

/* Dropdown toggle arrow */
.tg-header-btn .dropdown-toggle::after {
    margin-left: 8px;
    font-size: 12px;
}

/* ===============================================
   Top Filter Mobile Responsive Styles
   =============================================== */

@media (max-width: 991.98px) {
    .tg-booking-form-input-group {
        flex-direction: column !important;
    }
    .tg-booking-form-parent-inner {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 15px !important;
        flex: none !important;
    }
    .tg-booking-form-search-btn {
        width: 100% !important;
    }
    .bk-search-button {
        width: 100% !important;
    }
    .tg-booking-add-input-date,
    .tg-booking-add-input-field {
        width: 100% !important;
    }
    .input {
        width: 100% !important;
    }
}

/* ===============================================
   Simple Mobile Auth Buttons
   =============================================== */

.simple-mobile-auth {
    padding: 20px 15px;
    margin: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.simple-auth-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.simple-auth-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.4);
    color: #000;
    text-decoration: none;
    transform: translateY(-1px);
}

.simple-auth-btn i {
    margin-right: 8px;
}

.simple-auth-btn:last-child {
    margin-bottom: 0;
}

.simple-auth-btn.partner-register-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-color: #28a745;
    color: #fff;
}

.simple-auth-btn.partner-register-btn:hover {
    background: linear-gradient(135deg, #218838, #1ea085);
    border-color: #218838;
    color: #fff;
}

.simple-user-info {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.simple-user-info .user-avatar {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #333;
}

.simple-user-info .user-details h6 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 2px 0;
}

.simple-user-info .user-details small {
    color: rgba(0, 0, 0, 0.7);
    font-size: 12px;
}

/* User Account Pages Styles */
.tg-user-account-area {
    background: #f8f9fa;
}

.tg-user-sidebar {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.tg-user-profile-box {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.user-avatar-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #560CE3, #8B5CF6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #fff;
    font-size: 30px;
}

.user-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.user-email {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

.tg-user-menu-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.tg-user-menu-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tg-user-menu-list li {
    margin-bottom: 5px;
}

.tg-user-menu-list li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tg-user-menu-list li a:hover,
.tg-user-menu-list li.active a {
    background: linear-gradient(135deg, #560CE3, #8B5CF6);
    color: #fff;
}

.tg-user-menu-list li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.tg-user-content-wrap {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Profile Page Styles */
.tg-user-profile-content {
    padding: 20px 0;
}

.tg-user-profile-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.tg-user-profile-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.tg-user-profile-subtitle {
    color: #666;
    margin-bottom: 0;
}

.tg-user-profile-form-box,
.tg-user-profile-stats-box,
.tg-user-quick-actions-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    border: 1px solid #eee;
}

.tg-user-form-title,
.tg-user-stats-title,
.tg-user-actions-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.tg-form-group {
    margin-bottom: 20px;
}

.tg-form-label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.tg-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.tg-form-control:focus {
    outline: none;
    border-color: #560CE3;
    box-shadow: 0 0 0 2px rgba(86, 12, 227, 0.1);
}

.tg-form-control[readonly] {
    background-color: #f8f9fa;
    color: #666;
}

.tg-form-btn-wrap {
    margin-top: 30px;
}

.tg-btn {
    background: linear-gradient(135deg, #560CE3, #8B5CF6);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.tg-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(86, 12, 227, 0.3);
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .tg-user-sidebar {
        margin-bottom: 30px;
        position: relative;
        top: auto;
    }
    
    .tg-user-content-wrap {
        margin-right: 0;
    }
}

/* ===============================================
   Homepage Ads Fix Styles
   =============================================== */

/* Ensure proper padding for ads wrapper */
.tg-ads-su-wrapper {
    padding: 52px 30px 27px 60px !important;
}

@media (max-width: 575px) {
    .tg-ads-su-wrapper {
        padding: 42px 30px 27px 30px !important;
    }
}

/* ===============================================
   Google Translate Hidden Bar Styles
   =============================================== */

/* Google Translate Bar'ını Tamamen Gizle - Ultra Güçlü */
.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    z-index: -9999 !important;
}

/* Yeni Google Translate Banner Formatı */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    z-index: -9999 !important;
}

/* Google Translate Top Bar - Yeni Format */
div[id*="google_translate_element"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    z-index: -9999 !important;
}

/* Google Translate Notification Bar */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame.skiptranslate *,
body > .skiptranslate {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    z-index: -9999 !important;
}

.goog-te-gadget {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    z-index: -9999 !important;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    z-index: -9999 !important;
}

/* Body positioning fix - Gelişmiş */
body {
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative !important;
}

body.translate {
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative !important;
}

/* Google Translate Element Tamamen Gizle - Gelişmiş */
#google_translate_element {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    z-index: -9999 !important;
}

/* Google Translate Select Gizle - Gelişmiş */
.goog-te-combo {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    z-index: -9999 !important;
}

/* Tüm Google Translate elementlerini gizle */
iframe[src*="translate.googleapis.com"],
iframe[src*="translate.google.com"],
.goog-te-banner-frame,
.goog-te-gadget,
.goog-te-combo,
.goog-te-ftab,
.goog-te-menu-value,
.goog-te-menu-value span,
.goog-te-menu-value:before,
.goog-te-menu2,
.goog-te-menu2-item,
.goog-te-menu2-item div,
.goog-te-menu2-item span,
.goog-te-menu2-item:before,
.goog-te-menu2-item:after {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    z-index: -9999 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    color: transparent !important;
    text-indent: -9999px !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

/* Ek Google Translate gizleme kuralları */
.goog-te-banner-frame,
.goog-te-banner-frame * {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    z-index: -9999 !important;
}

/* ===============================================
   Language Selector Styles Only
   =============================================== */

/* Language Selector Styles */
.language-selector .btn {
    border: 1px solid #ddd;
    color: #333;
    background: white;
    font-size: 14px;
    padding: 6px 12px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.language-selector .btn:hover {
    background-color: #f8f9fa;
    color: #333;
    border-color: #ccc;
}

.language-selector .dropdown-menu {
    min-width: 180px;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 9999;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.175);
    padding: 0.5rem 0;
    margin-top: 5px;
}

.language-selector .dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    cursor: pointer;
}

.language-selector .dropdown-item:hover {
    color: #1e2125;
    background-color: #e9ecef;
}

.language-selector .dropdown-item.active {
    background-color: #560CE3 !important;
    color: white !important;
    font-weight: 600;
}

.language-selector .flag-icon {
    margin-right: 8px;
    font-size: 16px;
}

/* Mobile Language Selector */
.mobile-language-selector {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 15px 0;
}

.mobile-language-selector h6 {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Mobile Language Dropdown */
.mobile-language-dropdown {
    position: relative;
}

.mobile-lang-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #333;
}

.mobile-lang-dropdown-btn:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
}

.mobile-lang-dropdown-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.mobile-lang-dropdown-btn.active i {
    transform: rotate(180deg);
}

.mobile-lang-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    margin-top: 5px;
    padding: 5px 0;
    max-height: 200px;
    overflow-y: auto;
}

.mobile-lang-dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.mobile-lang-dropdown-item:hover {
    background-color: #f8f9fa;
    color: #333;
}

.mobile-lang-dropdown-item.active {
    background-color: #560CE3 !important;
    color: white !important;
    font-weight: 600;
}

.mobile-lang-dropdown-item .flag-icon {
    margin-right: 10px;
    font-size: 16px;
}

/* ===============================================
   Tour Tabs Styles - Clean Version
   =============================================== */

.tg-tour-about-tabs {
    background: #f8f9fa;
    padding: 30px 0;
    margin-bottom: 30px;
}

.tour-tabs {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 20px;
}

.tour-tabs .nav-link {
    background: transparent;
    border: none;
    color: #666;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 6px 6px 0 0;
    transition: all 0.3s ease;
}

.tour-tabs .nav-link:hover {
    color: #560CE3;
    background: rgba(86, 12, 227, 0.1);
}

.tour-tabs .nav-link.active {
    color: #560CE3;
    background: white;
    border-bottom: 2px solid #560CE3;
}

.tab-content-wrapper {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-content-wrapper .tg-tour-about-title {
    color: #333;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 2px solid #560CE3;
    padding-bottom: 8px;
}

.tab-content-wrapper .tg-tour-about-content {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* Itinerary Styles */
.itinerary-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid #560CE3;
    margin-bottom: 15px;
}

.itinerary-day {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.day-number {
    background: #560CE3;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-right: 12px;
}

.day-title {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.itinerary-content p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}



/* Tour Tabs Styles */
.tour-tabs {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tour-tabs .nav-tabs {
    border-bottom: 2px solid #f8f9fa;
    margin-bottom: 0;
    background: #f8f9fa;
}

.tour-tabs .nav-item {
    margin-bottom: 0;
}

.tour-tabs .nav-link {
    border: none;
    border-radius: 0;
    padding: 15px 25px;
    font-weight: 600;
    font-size: 15px;
    color: #666;
    background: transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.tour-tabs .nav-link:hover {
    color: #560CE3;
    background: rgba(86, 12, 227, 0.1);
}

.tour-tabs .nav-link.active {
    color: #560CE3;
    background: white;
    border-bottom: 2px solid #560CE3;
}

.tour-tabs .nav-link i {
    font-size: 16px;
    margin-right: 8px;
}

.tour-tabs .tab-content {
    background: white;
    padding: 0;
}

.tour-tabs .tab-pane {
    padding: 25px;
}

.tour-tabs .tab-content-wrapper {
    background: transparent;
}

@media (max-width: 768px) {
    .tour-tabs .nav-link {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .tour-tabs .tab-pane {
        padding: 20px;
    }
}

/* Tour Schedule Accordion Styles */
.tg-tour-about-faq {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.tg-tour-about-faq-inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.tg-tour-faq-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.tg-tour-about-faq .accordion-item {
    border: 2px solid hsl(193, 47%, 73%);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 0 0 0.5px rgba(120, 180, 200, 0.2);
    padding: 2px;
}

.tg-tour-about-faq .accordion-header {
    padding: 5px !important;
}

.tg-tour-about-faq .accordion-button {
    background: linear-gradient(to right, #560ce3 0%, #4a0bc8 100%) !important;
    background-color: #560ce3 !important;
    color: #ffffff !important;
    border: 1px solid #560ce3;
    padding: 20px 25px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
    margin: 0;
    box-sizing: border-box;
    border-radius: 6px !important;
}

/* Override Bootstrap's first and last accordion border-radius */
.tg-tour-about-faq .accordion-item:first-of-type .accordion-button,
.tg-tour-about-faq .accordion-item:first-child .accordion-button {
    border-top-left-radius: 6px !important;
    border-top-right-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

.tg-tour-about-faq .accordion-item:last-of-type .accordion-button,
.tg-tour-about-faq .accordion-item:last-child .accordion-button {
    border-bottom-left-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
    border-top-left-radius: 6px !important;
    border-top-right-radius: 6px !important;
}

.tg-tour-about-faq .accordion-item:last-of-type .accordion-button.collapsed,
.tg-tour-about-faq .accordion-item:last-child .accordion-button.collapsed {
    border-bottom-left-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
    border-top-left-radius: 6px !important;
    border-top-right-radius: 6px !important;
}

.tg-tour-about-faq .accordion-button:hover {
    background: linear-gradient(to right, #4a0bc8 0%, #3d0aa5 100%) !important;
    background-color: #4a0bc8 !important;
    border-color: #4a0bc8;
    color: #ffffff !important;
}

.tg-tour-about-faq .accordion-button:not(.collapsed) {
    background: linear-gradient(to right, #560ce3 0%, #4a0bc8 100%) !important;
    background-color: #560ce3 !important;
    color: #ffffff !important;
    box-shadow: none;
    border-color: #560ce3;
}

.tg-tour-about-faq .accordion-button:focus {
    box-shadow: none;
    border-color: #560CE3;
}

.tg-tour-about-faq .accordion-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1;
    min-width: 0;
    padding-left: 15px;
    position: relative;
    z-index: 1;
}

.tg-tour-about-faq .accordion-content .season-icon {
    flex-shrink: 0;
    margin-right: 15px;
}

.tg-tour-about-faq .accordion-content .season-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.tg-tour-about-faq .accordion-content .month-year-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.tg-tour-about-faq .accordion-button .month-year {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 5px;
}

.tg-tour-about-faq .accordion-button .standard-label {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff !important;
}

.tg-tour-about-faq .accordion-button::after {
    display: none !important;
}

.tg-tour-about-faq .accordion-button .departure-count {
    margin-left: auto;
    margin-right: 15px;
    font-weight: 600;
    color: #ffffff !important;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.tg-tour-about-faq .accordion-button i {
    font-size: 14px;
    color: #ffffff !important;
    transition: transform 0.3s ease;
    margin-left: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.tg-tour-about-faq .accordion-button:not(.collapsed) i {
    transform: rotate(180deg);
}

.tg-tour-about-faq .accordion-collapse {
    border-top: 1px solid #e9ecef;
}

.tg-tour-about-faq .accordion-body {
    background: white;
    padding: 25px;
    border-radius: 0 0 6px 6px;
}

.tg-tour-about-faq .accordion-item:last-child .accordion-body {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.tg-tour-about-faq .loading-spinner {
    padding: 20px 0;
}

.tg-tour-about-faq .period-data {
    min-height: 50px;
}

@media (max-width: 768px) {
    .tg-tour-about-faq .accordion-button {
        padding: 15px 20px 25px 20px;
        font-size: 14px;
        min-height: 80px;
    }
    
    .tg-tour-about-faq .accordion-content {
        padding-left: 10px;
        align-items: center;
    }
    
    .tg-tour-about-faq .accordion-content .season-image {
        width: 30px;
        height: 30px;
    }
    
    .tg-tour-about-faq .accordion-button .month-year {
        font-size: 16px;
    }
    
    .tg-tour-about-faq .accordion-button .standard-label {
        font-size: 12px;
    }
    
    .tg-tour-about-faq .accordion-button {
        position: relative;
    }
    
    .tg-tour-about-faq .accordion-content {
        width: 100%;
        margin-bottom: 0;
    }
    
    .tg-tour-about-faq .accordion-button .departure-count {
        position: absolute;
        left: 55px;
        top: 52px;
        margin: 0;
        margin-top: 8px;
        text-align: left;
        width: auto;
        font-size: 14px;
    }
    
    .tg-tour-about-faq .accordion-button i {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }
    
    .tg-tour-about-faq .accordion-body {
        padding: 20px;
    }
}

/* Force accordion to take full width - Override any conflicting styles */
.tg-tour-faq-wrap,
.tg-tour-about-faq-inner,
.tg-tour-about-faq,
.tg-tour-about-faq .accordion-item,
.tg-tour-about-faq .accordion-button {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.tg-tour-about-faq .accordion-button {
    padding-right: 25px !important;
}

/* Airlines and Hotel Section Styles */
.airlines-hotel-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.airlines-info, .hotel-info {
    padding: 10px 0;
}

.airlines-content h6, .hotel-content h6 {
    font-size: 12px;
    letter-spacing: 1px;
    color: #333;
}

.airlines-content p {
    font-size: 14px;
    font-weight: 500;
}

.hotel-rating i {
    font-size: 14px;
    margin-right: 2px;
}

/* Departure Date Section Styles */
.departure-dates-section h5 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.departure-dates-section h5 i {
    font-size: 18px;
}

/* Accordion Content Styles */
.departure-item {
    background: #f8f9fa;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 0 1fr;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    gap: 20px;
}

.departure-item:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.departure-info {
    display: flex;
    grid-column: 1;
    justify-self: start;
}

.departure-date {
    margin-right: 15px;
    min-width: 150px;
}

.departure-badges .badge {
    font-size: 11px;
    padding: 4px 8px;
    margin-right: 5px;
}

.departure-availability {
    display: flex;
    flex-direction: column;
    min-width: 120px;
    grid-column: 2;
}

.availability-text {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    width: 100%;
}

.progress {
    background-color: #f8f9fa;
    width: 100%;
    height: 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    display: flex;
    border: 1px solid #e9ecef;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.progress-bar {
    border-radius: 5px;
    height: 100%;
    transition: width 0.6s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar.bg-success {
    background: linear-gradient(90deg, #28a745, #20c997) !important;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.progress-bar.bg-danger {
    background: linear-gradient(90deg, #dc3545, #fd7e14) !important;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

/* Progress bar animation effect */
.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(
        -45deg,
        rgba(255, 255, 255, .2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, .2) 50%,
        rgba(255, 255, 255, .2) 75%,
        transparent 75%,
        transparent
    );
    background-size: 50px 50px;
    animation: move 2s linear infinite;
}

@keyframes move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* ========================================
   IMAGE CONSISTENCY FALLBACK CSS
   ======================================== */

/* Tour Detail Featured Image */
.tg-tour-details-gallery-thumb {
    position: relative;
    width: 100%;
    height: 400px; /* Fixed height */
    overflow: hidden;
    border-radius: 8px;
}

.tg-tour-details-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop to fit */
    object-position: center;
    transition: transform 0.3s ease;
}

.tg-tour-details-gallery-thumb:hover img {
    transform: scale(1.05);
}

/* Gallery Thumbnails */
.tg-tour-details-gallery-thumb-active .tg-tour-details-gallery-thumb {
    height: 80px; /* Fixed height for thumbnails */
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.tg-tour-details-gallery-thumb-active .tg-tour-details-gallery-thumb:hover {
    border-color: var(--tg-theme-primary);
}

.tg-tour-details-gallery-thumb-active .tg-tour-details-gallery-thumb img {
    height: 100%;
    object-fit: cover;
}

/* Related Tours Cards */
.tg-listing-card-thumb {
    position: relative;
    height: 200px; /* Fixed height */
    overflow: hidden;
    border-radius: 8px;
}

.tg-listing-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.tg-listing-card-thumb:hover img {
    transform: scale(1.05);
}

/* Tour listing page card images - mobile full view */
.list-card .tg-listing-card-thumb {
    height: auto !important;
    min-height: 200px;
}

.list-card .tg-listing-card-thumb img {
    height: auto !important;
    min-height: 200px;
    object-fit: contain !important;
    background: #f8f9fa;
}

/* Tours Page Cards */
.tg-listing-2-card-thumb {
    height: 250px; /* Fixed height */
    overflow: hidden;
}

.tg-listing-2-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tg-tour-details-gallery-thumb {
        height: 250px;
    }
    
    /* Tour listing page - mobile full image view */
    .list-card .tg-listing-card-thumb {
        height: auto !important;
        min-height: 250px;
    }
    
    .list-card .tg-listing-card-thumb img {
        height: auto !important;
        min-height: 250px;
        object-fit: contain !important;
        background: #f8f9fa;
    }
    
    /* Popular Tours section - mobile full image view */
    /* Swiper slide height auto for mobile */
    .tg-listing-slider .swiper-slide {
        height: auto !important;
    }
    
    .tg-listing-slider .swiper-wrapper {
        height: auto !important;
        align-items: stretch !important;
    }
    
    .tg-listing-4-card-item .tg-listing-card-thumb.tg-listing-2-card-thumb,
    .tg-listing-4-card-item .tg-listing-2-card-thumb,
    .tg-listing-card-thumb.tg-listing-2-card-thumb {
        height: auto !important;
        min-height: 250px !important;
        max-height: none !important;
    }
    
    .tg-listing-4-card-item .tg-listing-card-thumb.tg-listing-2-card-thumb img,
    .tg-listing-4-card-item .tg-listing-2-card-thumb img,
    .tg-listing-card-thumb.tg-listing-2-card-thumb img,
    .tg-listing-4-card-item .tg-card-border {
        height: auto !important;
        min-height: 250px !important;
        max-height: none !important;
        object-fit: contain !important;
        background: #f8f9fa !important;
    }
}

@media (max-width: 576px) {
    .tg-tour-details-gallery-thumb {
        height: 200px;
    }
    
    /* Tour listing page - mobile full image view */
    .list-card .tg-listing-card-thumb {
        height: auto !important;
        min-height: 220px;
    }
    
    .list-card .tg-listing-card-thumb img {
        height: auto !important;
        min-height: 220px;
        object-fit: contain !important;
        background: #f8f9fa;
    }
    
    /* Popular Tours section - mobile full image view */
    /* Swiper slide height auto for mobile */
    .tg-listing-slider .swiper-slide {
        height: auto !important;
    }
    
    .tg-listing-slider .swiper-wrapper {
        height: auto !important;
        align-items: stretch !important;
    }
    
    .tg-listing-4-card-item .tg-listing-card-thumb.tg-listing-2-card-thumb,
    .tg-listing-4-card-item .tg-listing-2-card-thumb,
    .tg-listing-card-thumb.tg-listing-2-card-thumb {
        height: auto !important;
        min-height: 220px !important;
        max-height: none !important;
    }
    
    .tg-listing-4-card-item .tg-listing-card-thumb.tg-listing-2-card-thumb img,
    .tg-listing-4-card-item .tg-listing-2-card-thumb img,
    .tg-listing-card-thumb.tg-listing-2-card-thumb img,
    .tg-listing-4-card-item .tg-card-border {
        height: auto !important;
        min-height: 220px !important;
        max-height: none !important;
        object-fit: contain !important;
        background: #f8f9fa !important;
    }
}

.departure-item small {
    font-size: 11px;
    color: #6c757d;
    width: 100%;
}

.departure-item .btn {
    grid-column: 3;
    justify-self: end;
}

/* ===============================================
   Destinations Image Fixed Size Styles
   =============================================== */

/* Top Destinations Section - Fixed Image Size */
.tg-location-su-wrap .tg-location-thumb {
    position: relative;
    width: 100%;
    height: 280px; /* Fixed height */
    overflow: hidden;
    border-radius: 25px;
}

.tg-location-su-wrap .tg-location-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop to fit */
    object-position: center;
    transition: transform 0.3s ease;
}

.tg-location-su-wrap:hover .tg-location-thumb img {
    transform: scale(1.05);
}

/* Responsive adjustments for destinations */
@media (max-width: 768px) {
    .tg-location-su-wrap .tg-location-thumb {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .tg-location-su-wrap .tg-location-thumb {
        height: 180px;
    }
}

/* ===============================================
   Tour Detail - What's Not Included Icon Color
   =============================================== */

/* Red background and white icon for excluded services */
.excluded-services-list ul li .icon {
    background: #dc3545 !important;
}

.excluded-services-list .icon i {
    color: #ffffff !important;
}

/* ===============================================
   Tour Detail - Social Media Links
   =============================================== */

.tg-tour-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.tg-tour-social-links .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.tg-tour-social-links .social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.tg-tour-social-links .social-link i {
    font-size: 16px;
}

/* Social media specific colors */
.tg-tour-social-links .social-link:hover[href*="facebook"] {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

.tg-tour-social-links .social-link:hover[href*="twitter"] {
    background: #1da1f2;
    color: #fff;
    border-color: #1da1f2;
}

.tg-tour-social-links .social-link:hover[href*="instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    border-color: transparent;
}

.tg-tour-social-links .social-link:hover[href*="linkedin"] {
    background: #0077b5;
    color: #fff;
    border-color: #0077b5;
}

.tg-tour-social-links .social-link:hover[href*="youtube"] {
    background: #ff0000;
    color: #fff;
    border-color: #ff0000;
}

.tg-tour-social-links .social-link:hover[href*="tiktok"] {
    background: #000000;
    color: #fff;
    border-color: #000000;
}

@media (max-width: 576px) {
    .tg-tour-social-links .social-link {
        width: 35px;
        height: 35px;
    }
    
    .tg-tour-social-links .social-link i {
        font-size: 14px;
    }
}

.departure-item.active-period {
    background: #e8f5e8;
    border-color: #28a745;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.departure-item.active-period:hover {
    background: #d4edda;
}

.promotion-banner {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    border: none;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    text-align: center;
}

.promotion-banner i {
    font-size: 18px;
}

.promotion-banner strong {
    font-size: 16px;
    font-weight: 700;
}

.promotion-banner small {
    font-size: 13px;
    opacity: 0.9;
}

.pricing-item {
    background: #f8f9fa;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pricing-item:hover {
    background: #e9ecef;
}

.pricing-type {
    font-weight: 600;
    color: #333;
}

.current-price {
    font-size: 16px;
}

.original-price {
    font-size: 14px;
}

.btn-danger {
    background: #dc3545;
    border-color: #dc3545;
    font-weight: 600;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #c82333;
    border-color: #bd2130;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

@media (max-width: 768px) {
    .departure-item {
        display: flex;
        flex-direction: column;
        align-items: stretch !important;
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .departure-info {
        margin-bottom: 0;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .departure-date {
        min-width: auto;
        flex: 1;
        min-width: 120px;
    }
    
    .departure-badges {
        display: flex;
        align-items: center;
    }
    
    .departure-availability {
        margin-bottom: 0;
        margin-right: 0 !important;
        min-width: auto;
        width: 100%;
        grid-column: 1 !important;
    }
    
    .availability-text {
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .departure-item .btn {
        grid-column: 1 !important;
        justify-self: stretch;
        width: 100%;
        margin-top: 10px;
    }
}

/* Footer Social Media Title and Icons Layout */
.tg-footer-social-wrapper {
    display: flex;
    flex-direction: column;
}

.tg-footer-social-title {
    display: block;
    width: 100%;
    margin-bottom: 15px;
}

.tg-footer-social {
    display: flex;
    flex-wrap: wrap;
}

/* OffCanvas Social Media Title and Icons Layout */
.offCanvas__social-wrapper {
    display: flex;
    flex-direction: column;
}

.offCanvas__social-title {
    display: block;
    width: 100%;
    margin-bottom: 15px;
}

.offCanvas__social-icon {
    display: flex;
    flex-wrap: wrap;
}

/* Header Social Media Icons - Desktop */
.tg-header-social-icons {
    gap: 10px;
    margin-right: 20px;
}

.tg-header-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tg-header-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

.tg-header-social-link i {
    font-size: 14px;
}

/* Header Social Media Icons - Mobile */
.tg-header-social-icons-mobile {
    gap: 8px;
    margin-left: 15px !important;
}

.tg-header-social-link-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tg-header-social-link-mobile:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

.tg-header-social-link-mobile i {
    font-size: 12px;
}

/* Sticky Header Social Media Icons - Desktop (only show on xl screens) */
@media (min-width: 1200px) {
    .header-sticky .tg-header-social-icons {
        display: flex !important;
    }
}

.header-sticky .tg-header-social-link {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--tg-common-black);
}

.header-sticky .tg-header-social-link:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--tg-common-black);
}

/* Sticky Header Social Media Icons - Mobile (only show below xl screens) */
@media (max-width: 1199.98px) {
    .header-sticky .tg-header-social-icons-mobile {
        display: flex !important;
    }
}

.header-sticky .tg-header-social-link-mobile {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--tg-common-black);
}

.header-sticky .tg-header-social-link-mobile:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--tg-common-black);
}

/* Logo Width Fix - Ensure config width is respected */
.logo img,
.logo-1 img,
.logo-2 img {
    width: var(--logo-width, 200px) !important;
    max-width: none !important;
    min-width: 100px !important;
    height: auto !important;
}

/* Booking Modal Form Check Card Styles */
.form-check-card {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.form-check-card:hover {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.form-check-card input[type="radio"] {
    margin-top: 0;
    margin-right: 10px;
}

.form-check-card input[type="radio"]:checked {
    border-color: #dc3545;
    background-color: #dc3545;
}

.form-check-card:has(input[type="radio"]:checked) {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.form-check-card:has(input[type="radio"]:checked) .form-check-label {
    color: #dc3545;
    font-weight: 600;
}

/* Contact Page - Override text-transform for website and email links */
.tg-team-details-contact .item a {
    text-transform: none !important;
}

/* Tour Itinerary Print Styles */
@media print {
    @page {
        margin: 1.5cm;
        size: A4;
    }
    
    body {
        margin: 0;
        padding: 0;
    }
    
    /* Hide all body content */
    body > *:not(#print-container) {
        display: none !important;
    }
    
    #print-container {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        visibility: visible !important;
    }
    
    #print-container * {
        visibility: visible !important;
        display: block !important;
    }
    
    #print-container .print-gallery-grid {
        display: grid !important;
    }
    
    .print-header {
        text-align: center;
        margin-bottom: 20px;
        border-bottom: 2px solid #000;
        padding-bottom: 15px;
        page-break-after: avoid;
    }
    
    .print-header h1 {
        font-size: 20pt;
        margin: 0 0 8px 0;
        color: #000;
        font-weight: bold;
    }
    
    .print-header p {
        font-size: 11pt;
        margin: 0;
        color: #000;
    }
    
    .print-itinerary {
        margin-bottom: 20px;
    }
    
    .print-itinerary h2 {
        font-size: 16pt;
        margin: 15px 0 10px 0;
        color: #000;
        border-bottom: 1px solid #ccc;
        padding-bottom: 8px;
        page-break-after: avoid;
    }
    
    .print-itinerary div {
        margin: 0;
        padding: 0;
    }
    
    .print-gallery {
        margin-top: 20px;
        page-break-inside: avoid;
    }
    
    .print-gallery h2 {
        font-size: 16pt;
        margin: 15px 0 10px 0;
        color: #000;
        border-bottom: 1px solid #ccc;
        padding-bottom: 8px;
        page-break-after: avoid;
    }
    
    .print-gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 10px;
        page-break-inside: avoid;
    }
    
    .print-gallery-item {
        page-break-inside: avoid;
        margin-bottom: 10px;
    }
    
    .print-gallery-item img {
        width: 100% !important;
        height: auto !important;
        max-height: 250px !important;
        object-fit: cover !important;
        border: 1px solid #ddd !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Hide everything else */
    header, footer, nav, aside, .no-print {
        display: none !important;
    }
}

/* ===============================================
   Tour Card Price Full Width Styles
   =============================================== */

/* Make price section full width when review is removed */
.tg-listing-card-price .tg-listing-card-price-wrap.price-bg {
    width: 100% !important;
    border-radius: 0px 0px 12px 12px !important;
    padding: 15px 23px !important;
}

/* Price label (Starting from) - smaller font inline */
.tg-listing-card-price-wrap .price-label {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.2 !important;
    margin-right: 8px !important;
    margin-bottom: 0 !important;
    text-transform: capitalize !important;
}

/* Price amount (MYR xxx) - larger font inline */
.tg-listing-card-price-wrap .tg-listing-card-currency-amount {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--tg-common-white) !important;
    line-height: 1.2 !important;
    margin-bottom: 0 !important;
    text-transform: capitalize !important;
}

/* ===============================================
   Tour Card Equal Height Styles
   =============================================== */

/* Make all tour cards equal height */
.tg-listing-card-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden !important;
}

/* Main content wrapper - flex column */
.tg-listing-main-content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

/* Card content area - flex grow to fill space */
.tg-listing-card-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Tour title - fixed height for 2 lines max */
.tg-listing-card-title {
    min-height: 60px !important;
    max-height: 60px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
}

/* Make sure price section stays at bottom with no margin */
.tg-listing-card-price {
    margin-top: auto !important;
    margin-bottom: 0 !important;
}

/* Remove any padding/margin from price wrap */
.tg-listing-card-price-wrap {
    margin-bottom: 0 !important;
}

/* ===============================================
   Popular Tours Price Label Styles
   =============================================== */

/* Starting from label - small and thin like /person */
.tg-listing-2-price .starting-from-label {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-right: 4px !important;
    text-transform: capitalize !important;
}

/* ===============================================
   Tour Card Row Spacing Styles
   =============================================== */

/* Add top margin for cards in second row and beyond */
.list-card .tg-grid-full {
    margin-top: 0 !important;
}

/* For xxl screens (3 columns) - 4th, 5th, 6th, etc. cards */
@media (min-width: 1400px) {
    .list-card .tg-grid-full:nth-child(n+4) {
        margin-top: 30px !important;
    }
}

/* For xl screens (2 columns) - 3rd, 4th, 5th, etc. cards */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .list-card .tg-grid-full:nth-child(n+3) {
        margin-top: 30px !important;
    }
}

/* For lg and md screens (2 columns) - 3rd, 4th, 5th, etc. cards */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .list-card .tg-grid-full:nth-child(n+3) {
        margin-top: 30px !important;
    }
}

/* For md screens (2 columns) - 3rd, 4th, 5th, etc. cards */
@media (min-width: 768px) and (max-width: 991.98px) {
    .list-card .tg-grid-full:nth-child(n+3) {
        margin-top: 30px !important;
    }
}

/* For sm and xs screens (1 column) - 2nd, 3rd, 4th, etc. cards */
@media (max-width: 767.98px) {
    .list-card .tg-grid-full:nth-child(n+2) {
        margin-top: 30px !important;
    }
}

