/* Theme Name: Tripgo Child Theme
Theme URI: https://themeforest.net/user/ovatheme/portfolio
Description: This is child theme of tripgo
Author: Ovatheme
Author URI: https://themeforest.net/user/ovatheme
Template: tripgo
Version: 1.0.7
Tags: two-columns, three-columns, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, flexible-header, full-width-template, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain:  tripgo-child
*/

/* =========================================================
   Acetes — Tour Hero Compact (GetYourGuide-style)
   2026-05-03 / single tour page hero redesign
   Targets:
     - Big page title (ova-brw widget) → smaller, sentence case
     - Gallery slider (.ova-gallery-slideshow) → height clamp
     - Action chips (.ova-video-gallery: video / N photos / share) → pill chips
   ========================================================= */

/* ---- Page title (ova-brw `ovabrw_product_title` widget) ---- */
.single-product .ovabrw_product_title .ovabrw_title,
.single-product h1.ovabrw_title,
.single-product .ovabrw_title {
    font-size: 26px !important;
    line-height: 1.25 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 700 !important;
    color: #0a2540 !important;
    margin: 8px 0 6px !important;
    padding: 0 !important;
}
@media (max-width: 1024px) {
    .single-product .ovabrw_title {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }
}
@media (max-width: 767px) {
    .single-product .ovabrw_title {
        font-size: 19px !important;
        line-height: 1.3 !important;
        margin: 4px 0 4px !important;
    }
}

/* Body section h2 — was 24px UPPERCASE bold; tighten */
.single-product .single-product-summary h2,
.single-product .ova-content-single-product h2,
.single-product .acetes-tour h2,
.single-product #tour-description h2 {
    font-size: 20px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin: 18px 0 10px !important;
}
@media (max-width: 767px) {
    .single-product .ova-content-single-product h2 {
        font-size: 18px !important;
        margin: 14px 0 8px !important;
    }
}

/* h3.Highlights — was 17px UPPERCASE; soften */
.single-product h3.Highlights,
.single-product .single-product-summary h3.Highlights {
    font-size: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: .4px !important;
    color: #475569 !important;
    margin: 14px 0 6px !important;
}

/* ---- Gallery slideshow height clamp ---- */
.single-product .ova-gallery-popup {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 6px !important;
}
.single-product .ova-gallery-slideshow .item img {
    height: 380px !important;
    width: 100% !important;
    object-fit: cover !important;
    display: block;
    border-radius: 12px;
}
@media (max-width: 1024px) {
    .single-product .ova-gallery-slideshow .item img { height: 320px !important; }
}
@media (max-width: 767px) {
    .single-product .ova-gallery-slideshow .item img {
        height: 230px !important;
        border-radius: 10px;
    }
}

/* Soften owl nav controls + smaller dots */
.single-product .ova-gallery-slideshow .owl-nav button.owl-prev,
.single-product .ova-gallery-slideshow .owl-nav button.owl-next {
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    background: rgba(255,255,255,.92) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(10,37,64,.18) !important;
    color: #0a2540 !important;
    font-size: 14px !important;
}
.single-product .ova-gallery-slideshow .owl-dots { margin-top: 8px !important; }
.single-product .ova-gallery-slideshow .owl-dots .owl-dot span {
    width: 7px !important;
    height: 7px !important;
    background: #cbd5e1 !important;
}
.single-product .ova-gallery-slideshow .owl-dots .owl-dot.active span {
    background: #0a2540 !important;
}

/* ---- Action chips (View video / N photos / share) ---- */
.single-product .ova-video-gallery {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 10px !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    width: auto !important;
    align-items: center;
    justify-content: flex-start;
    z-index: 5;
    position: relative;
}
.single-product .ova-video-gallery .btn-video-gallery,
.single-product .ova-video-gallery .btn-share {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    height: 32px !important;
    padding: 0 12px !important;
    background: #fff !important;
    border: 1px solid #e3e8ee !important;
    border-radius: 999px !important;
    color: #0a2540 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(10,37,64,.06);
    transition: background .15s, border-color .15s, transform .15s;
    text-transform: none !important;
}
.single-product .ova-video-gallery .btn-video-gallery:hover,
.single-product .ova-video-gallery .btn-share:hover {
    background: #f6f9ff !important;
    border-color: #c9d3df !important;
    transform: translateY(-1px);
}
.single-product .ova-video-gallery .btn-video-gallery i,
.single-product .ova-video-gallery .btn-share > i {
    font-size: 14px !important;
    margin: 0 !important;
    color: #0a2540 !important;
}
.single-product .ova-video-gallery .btn-share .ova-social {
    margin-left: 2px !important;
    display: inline-flex !important;
    gap: 6px;
    padding-left: 4px;
    border-left: 1px solid #e3e8ee;
}
.single-product .ova-video-gallery .btn-share .ova-social li { line-height: 1 !important; }
.single-product .ova-video-gallery .btn-share .ova-social i {
    font-size: 12px !important;
    color: #4a5568 !important;
}

/* ---- Tighten tour hero Elementor wrappers ---- */
/* Gallery row container (not 43902ef!) */
.elementor-4148 .elementor-element.elementor-element-13a16f4 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.elementor-4148 .elementor-element.elementor-element-13a16f4 > .elementor-container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* If a 42px duplicate Elementor heading exists in template, tame it too */
.elementor-4148 .elementor-element.elementor-element-2e5f683 .elementor-heading-title {
    font-size: 26px !important;
    line-height: 1.25 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin: 0 !important;
}
@media (max-width: 767px) {
    .elementor-4148 .elementor-element.elementor-element-2e5f683 .elementor-heading-title {
        font-size: 20px !important;
    }
}

/* Features card padding tighter (was 30px) */
.elementor-4148 .elementor-element.elementor-element-f0ba90f .ova-features-product {
    padding: 18px 22px !important;
    margin-top: 0 !important;
}
@media (max-width: 767px) {
    .elementor-4148 .elementor-element.elementor-element-f0ba90f .ova-features-product {
        padding: 14px 14px !important;
    }
}

/* =========================================================
   Wishlist button — was loose circle dropped between gallery
   and feature card, creating a big empty zone. Move into
   gallery as floating top-right pill via JS (functions.php),
   then style here.
   ========================================================= */
/* Hide native wishlist widget container if JS hasn't moved it yet (anti-flash) */
.elementor-4148 .elementor-element.elementor-element-43902ef {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}
.elementor-4148 .elementor-element.elementor-element-43902ef > .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
}
.elementor-4148 .elementor-element.elementor-element-43902ef .elementor-shortcode {
    line-height: 0;
}
/* Until JS relocates: button itself overlays into gallery top-right via fixed positioning fallback (mobile) */
.wl-product-btn-wrap.acx-wl-relocated {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 8;
    margin: 0 !important;
}
.wl-product-btn-wrap.acx-wl-relocated .wl-btn,
.wl-product-btn-wrap.acx-wl-relocated button.wl-btn--product-page {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.95) !important;
    box-shadow: 0 2px 10px rgba(10,37,64,.18) !important;
    border: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}
.wl-product-btn-wrap.acx-wl-relocated .wl-btn i,
.wl-product-btn-wrap.acx-wl-relocated .wl-btn svg {
    color: #d31e3d !important;
    fill: #d31e3d;
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
}
/* When relocated, hide its original Elementor widget wrapper completely */
.acx-wl-relocated-source { display: none !important; }

/* =========================================================
   Tour body content gallery (.tnt-detail / .tnt-detail-kutu)
   3-column grid on desktop, 2-col tablet, 1-col mobile.
   ========================================================= */
.acetes-tour .tnt-detail,
#tour-description .tnt-detail {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 16px 0 22px;
}
.acetes-tour .tnt-detail-kutu,
#tour-description .tnt-detail-kutu {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    float: none !important;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    background: #f1f5fb;
}
.acetes-tour .tnt-detail-kutu img,
#tour-description .tnt-detail-kutu img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    border-radius: 12px;
    display: block;
    transition: transform .35s ease;
}
.acetes-tour .tnt-detail-kutu:hover img,
#tour-description .tnt-detail-kutu:hover img {
    transform: scale(1.04);
}
@media (max-width: 1024px) {
    .acetes-tour .tnt-detail,
    #tour-description .tnt-detail {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
@media (max-width: 600px) {
    .acetes-tour .tnt-detail,
    #tour-description .tnt-detail {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin: 12px 0 18px;
    }
    .acetes-tour .tnt-detail-kutu,
    #tour-description .tnt-detail-kutu {
        aspect-ratio: 1 / 1;
        border-radius: 10px;
    }
}

/* =========================================================
   Sidebar (right column .elementor-element-e0abb9f) polish
   - sticky on desktop so booking widget follows scroll
   - rounded card frame around price + Bokun
   - mobile: lift Bokun to top of column for visibility
   ========================================================= */
@media (min-width: 1025px) {
    .elementor-4148 .elementor-element.elementor-element-e0abb9f {
        position: sticky !important;
        top: 90px !important;
        align-self: flex-start !important;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        scrollbar-width: thin;
    }
    .elementor-4148 .elementor-element.elementor-element-e0abb9f::-webkit-scrollbar { width: 6px; }
    .elementor-4148 .elementor-element.elementor-element-e0abb9f::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
}
.elementor-4148 .elementor-element.elementor-element-e0abb9f > .elementor-element-populated {
    padding: 18px 18px 22px !important;
    margin: 0 !important;
    border-radius: 14px !important;
    background: #fff;
    box-shadow: 0 6px 24px rgba(10,37,64,.08) !important;
    border: 1px solid #eef2f7;
}
/* Price box inside sidebar */
.elementor-4148 .elementor-element.elementor-element-48a3f92 .ozel-fiyat-kutusu {
    text-align: center;
    padding: 8px 0 14px;
    border-bottom: 1px solid #eef2f7;
    margin-bottom: 14px;
}
.elementor-4148 .ozel-fiyat-kutusu .woocommerce-Price-amount {
    font-size: 30px !important;
    font-weight: 800 !important;
    color: #0a2540 !important;
    letter-spacing: 0;
}
.elementor-4148 .ozel-fiyat-kutusu::before {
    content: "Price From";
    display: block;
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .8px;
    font-weight: 600;
    margin-bottom: 2px;
}
.elementor-4148 .ozel-fiyat-kutusu::after {
    content: "Per Person";
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

/* Bokun widget container styling */
.elementor-4148 .elementor-element.elementor-element-1eaeca2 .bokun-embed-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}
.elementor-4148 .elementor-element.elementor-element-1eaeca2 .bokunWidget {
    border-radius: 10px;
    overflow: hidden;
    min-height: 60px;
}
/* hide empty/zero-height tabular widgets on the sidebar that just add gaps */
.elementor-4148 .elementor-element.elementor-element-760d03a .elementor-table-price:empty,
.elementor-4148 .elementor-element.elementor-element-6053da0 .elementor-unavailable-time:empty {
    display: none !important;
}
.elementor-4148 .elementor-element.elementor-element-760d03a:has(.elementor-table-price:empty),
.elementor-4148 .elementor-element.elementor-element-6053da0:has(.elementor-unavailable-time:empty) {
    display: none !important;
}

/* =========================================================
   Mobile: lift the right column (price + Bokun) so the user
   sees pricing/booking before reading 17000px of body copy.
   Use both flex order AND --order Elementor CSS var for safety.
   ========================================================= */
@media (max-width: 1024px) {
    .elementor-4148 .elementor-element.elementor-element-aed9a6e,
    .elementor-4148 .elementor-element.elementor-element-aed9a6e > .elementor-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
    .elementor-4148 .elementor-element.elementor-element-188acf7 { /* left content col */
        order: 2 !important;
        --order: 2 !important;
    }
    .elementor-4148 .elementor-element.elementor-element-e0abb9f { /* right booking col */
        order: 1 !important;
        --order: 1 !important;
        --width: 100% !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin: 0 0 18px 0 !important;
    }
    .elementor-4148 .elementor-element.elementor-element-e0abb9f > .elementor-element-populated {
        margin: 0 !important;
        padding: 16px !important;
    }
}
