/*
Theme Name:     Traveler Childtheme
Description:    Traveler Child Theme
Theme URI:      https://travelerwp.com/
Author:         the ShineTheme
Author URI:     http://shinetheme.com
Version:        1.0
Template:       traveler
*/

/* ✅ lang switcher button top menu */
#header #topbar .topbar-items li.trp-topbar-lang {
    display: inline-flex !important;
    align-items: center !important;
    position: relative;
    top: 1px;
}

#header #topbar .topbar-items li.trp-topbar-lang .trp-shortcode-switcher__wrapper {
    display: flex !important;
    align-items: center !important;
}

#header #topbar .topbar-items li .trp-shortcode-switcher__wrapper .trp-language-item {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: 18px !important;
    font-size: 12px !important;
    font-weight: 400;
    gap: 5px !important;
    box-sizing: border-box !important;
    line-height: 18px !important;
}

#header #topbar .topbar-items li .trp-shortcode-switcher__wrapper .trp-current-language-item__wrapper {
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    height: 18px !important;
}

#header #topbar .topbar-items li .trp-shortcode-switcher__wrapper .trp-language-switcher,
#header #topbar .topbar-items li .trp-shortcode-switcher__wrapper .trp-shortcode-switcher {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    height: 18px !important;
    overflow: visible !important;
}

#header #topbar .topbar-items li .trp-shortcode-switcher__wrapper .trp-language-item-name {
    font-size: 12px !important;
    line-height: 18px !important;
}

#header #topbar .topbar-items li .trp-shortcode-switcher__wrapper .trp-flag-image {
    width: 14px !important;
    height: 12px !important;
    vertical-align: middle;
}

#header #topbar .topbar-items li .trp-shortcode-switcher__wrapper .trp-shortcode-arrow {
    width: 12px;
    height: 12px;
}

#header #topbar .topbar-items li .trp-shortcode-switcher__wrapper .trp-switcher-dropdown-list {
    background-color: #31414a !important;
	border-radius: 5px;
    min-width: 110px !important;
	margin-top: 8px;
	padding: 5px;
}

#header #topbar .topbar-items li .trp-shortcode-switcher__wrapper .trp-switcher-dropdown-list .trp-language-item {
    height: auto !important;
    padding: 8px 14px !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
}

#header #topbar .topbar-items li .trp-shortcode-switcher__wrapper .trp-switcher-dropdown-list .trp-language-item:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

#header #topbar .topbar-items li .trp-shortcode-switcher__wrapper .trp-switcher-dropdown-list .trp-language-item-name {
    color: #fff !important;
    font-size: 16px !important;
}

/* Mobile touch-friendly language dropdown */
@media screen and (max-width: 991px) {
    #header #topbar .topbar-items li.trp-topbar-lang {
        position: static !important;
    }

    #header #topbar .topbar-items li .trp-shortcode-switcher__wrapper .trp-switcher-dropdown-list {
        position: absolute !important;
        right: 0 !important;
        left: auto !important;
        margin-top: 2px !important;
        min-width: 150px !important;
        max-width: 90vw !important;
    }

    #header #topbar .topbar-items li .trp-shortcode-switcher__wrapper .trp-switcher-dropdown-list .trp-language-item {
        padding: 12px 16px !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
}





/* ✅ Align dashicons with text in footer menu */
footer .menu-item > a {
    display: flex !important;
    align-items: center !important;
	text-wrap: pretty !important;
}
footer .menu-item i._mi {
    margin-top: 0 !important;
    font-size: 1.2em;
    line-height: 1;
}




/* ✅ ekafa footer */
.fancy-underline {
  position: relative;
	display: inline;
}
.fancy-underline:after {
    background: url('/wp-content/uploads/2026/03/underline.png') 50% top no-repeat;
    background-size: 100% 9px;
    border-radius: 999px;
    color: green;
    content: "";
    height: 9px;
    image-rendering: -webkit-optimize-contrast;
    left: 0;
    position: absolute;
    right: 0;
    top: 100%;
}



/* ✅ Mobile header: reduce oversized header on small screens */
@media screen and (max-width: 991px) {
    #header .header {
        padding: 15px 20px;
        position: relative;
    }
    #header .header .header-left .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-right: 0;
        z-index: 0;
    }
    #header .header .toggle-menu {
        position: relative;
        z-index: 1;
    }
    #header .header .header-right {
        position: relative;
        z-index: 1;
    }
    #header .header .header-left .logo img {
        max-height: 65px;
    }
    #header #topbar {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

@media screen and (max-width: 767px) {
    #header .header {
        padding: 10px 15px;
    }
    #header .header .header-left .logo img {
        max-height: 55px;
    }
    #header #topbar {
        padding-top: 6px;
        padding-bottom: 6px;
    }
}

@media screen and (max-width: 480px) {
    #header .header {
        padding: 8px 10px;
    }
    #header .header .header-left .logo img {
        max-height: 48px;
    }
    /* Old v2 mobile navbar logo */
    .navbar.navbar-light.mobile .logo img {
        max-height: 30px !important;
    }
    .navbar.navbar-light.mobile .logo {
        padding: 5px 10px;
    }
}


/* ✅ Smaller Merhaba heading on mobile */
@media screen and (max-width: 767px) {
    .elementor-element-cea6087 .elementor-heading-title,
    .elementor-element-2f43f4a .elementor-heading-title {
        padding-top: 10px;
        padding-left: 15px;
    }
	.elementor-element-cea6087 .elementor-heading-title
    {
        font-size: 26px !important;
    }
}



/* ✅ banner */
.page-template-template-hotel-search .banner {
	background-image: url('/wp-content/uploads/2026/03/expanda.png') !important;
}
.page-template-template-activity-search .banner {
	background-image: url('/wp-content/uploads/2026/03/Adsiz-tasarim.webp') !important;
}
.page-template-template-tour-search .banner {
	background-image: url('/wp-content/uploads/2026/03/expand.png') !important;
}
.page-template-template-cars-search .banner {
	background-image: url('/wp-content/uploads/2026/03/cars.png') !important;
}
.page-template-template-rental-search .banner {
	background-image: url('/wp-content/uploads/2026/03/expand-2.png') !important;
}
#overlay {
    background-color: rgba(0, 0, 0, 0.2) !important;
}

/* Hide element on tablet */
@media screen and (max-width: 1024px) {
    .elementor-element-db9a4d2 {
        display: none !important;
    }
}

/* ✅ Hide favorite/wishlist button on hotels, activities, and tours */
.service-add-wishlist,
.btn_add_wishlist,
.share-item.like-it.btn_add_wishlist {
    display: none !important;
}
