﻿.tour-box_img {
    position: relative;
    overflow: hidden;
}

.tour-badges-bottom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    max-width: 70%;
}

.badge-discount,
.badge-promotion,
.badge-season {
    padding: 6px 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-discount {
    background: #e11d48;
}

.badge-promotion {
    background: #0d6efd;
}

.badge-season {
    background: #26b3b8;
}

.tour-ribbon-topright {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 7;
    min-width: 110px;
    max-width: 70%;
    height: 30px;
    padding: 0 16px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: .7px;
    border-radius: 10px;
    transform: none;
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tour-ribbon-premium {
    background: #79155b;
}

.tour-ribbon-eco {
    background: #f47d1f;
}

.tour-ribbon-eco-plus {
    background: #d92c54;
}

.tour-ribbon-default {
    background: #26b3b8;
}



/*.detail-btn {
    position: relative;
    overflow: hidden;
}*/

/* ANA BUTON */
/*.detail-btn-premium:hover,
.detail-btn-premium:focus {
    background: #79155b !important;
    border-color: #79155b !important;
    color: #fff !important;
}

.detail-btn-eco:hover,
.detail-btn-eco:focus {
    background: #f47d1f !important;
    border-color: #f47d1f !important;
    color: #fff !important;
}

.detail-btn-eco-plus:hover,
.detail-btn-eco-plus:focus {
    background: #d92c54 !important;
    border-color: #d92c54 !important;
    color: #fff !important;
}

.detail-btn-default:hover,
.detail-btn-default:focus {
    background: #26b3b8 !important;
    border-color: #26b3b8 !important;
    color: #fff !important;
}*/

/* ALTTAKİ EFEKT KATMANI */
/*.detail-btn-premium:hover::before,
.detail-btn-premium:focus::before {
    background: #79155b !important;
}

.detail-btn-eco:hover::before,
.detail-btn-eco:focus::before {
    background: #f47d1f !important;
}

.detail-btn-eco-plus:hover::before,
.detail-btn-eco-plus:focus::before {
    background: #d92c54 !important;
}

.detail-btn-default:hover::before,
.detail-btn-default:focus::before {
    background: #26b3b8 !important;
}*/

/* OK BEYAZ KALSIN */
/*.detail-btn:hover::after,
.detail-btn:focus::after {
    color: #fff !important;
    border-color: #fff !important;
}

.th-btn{
    background:white !important;
    color :black !important;
}
    .th-btn.th-icon:after {
        background-color: black
    }

    .th-btn.th-icon:before {
        background: white;
    }*/
.detail-btn {
    position: relative;
    overflow: hidden;
}

/* ANA BUTON - NORMALDE RENKLİ */
.detail-btn-premium {
    background: #79155b !important;
    border-color: #79155b !important;
    color: #fff !important;
}

.detail-btn-eco {
    background: #f47d1f !important;
    border-color: #f47d1f !important;
    color: #fff !important;
}

.detail-btn-eco-plus {
    background: #d92c54 !important;
    border-color: #d92c54 !important;
    color: #fff !important;
}

.detail-btn-default {
    background: var(--theme-color) !important;
    border-color: var(--theme-color) !important;
    color: #fff !important;
}

/* ANA BUTON - HOVER'DA BEYAZ */
.detail-btn-premium:hover,
.detail-btn-premium:focus {
    background: #fff !important;
    border-color: #79155b !important;
    color: #79155b !important;
}

.detail-btn-eco:hover,
.detail-btn-eco:focus {
    background: #fff !important;
    border-color: #f47d1f !important;
    color: #f47d1f !important;
}

.detail-btn-eco-plus:hover,
.detail-btn-eco-plus:focus {
    background: #fff !important;
    border-color: #d92c54 !important;
    color: #d92c54 !important;
}

.detail-btn-default:hover,
.detail-btn-default:focus {
    background: #fff !important;
    border-color: var(--theme-color) !important;
    color: var(--theme-color) !important;
}

/* ALTTAKİ EFEKT KATMANI - NORMALDE RENKLİ */
.detail-btn-premium::before {
    background: #79155b !important;
}

.detail-btn-eco::before {
    background: #f47d1f !important;
}

.detail-btn-eco-plus::before {
    background: #d92c54 !important;
}

.detail-btn-default::before {
    background: #26b3b8 !important;
}

/* ALTTAKİ EFEKT KATMANI - HOVER'DA BEYAZ */
.detail-btn-premium:hover::before,
.detail-btn-premium:focus::before,
.detail-btn-eco:hover::before,
.detail-btn-eco:focus::before,
.detail-btn-eco-plus:hover::before,
.detail-btn-eco-plus:focus::before,
.detail-btn-default:hover::before,
.detail-btn-default:focus::before {
    background: #fff !important;
}

/* OK NORMALDE BEYAZ */
.detail-btn::after {
    color: #fff !important;
    border-color: #fff !important;

    
}

/* HOVER'DA OK RENK ALSIN */
.detail-btn-premium:hover::after,
.detail-btn-premium:focus::after {
    color: #79155b !important;
    border-color: #79155b !important;
}

.detail-btn-eco:hover::after,
.detail-btn-eco:focus::after {
    color: #f47d1f !important;
    border-color: #f47d1f !important;

  
}

.detail-btn-eco-plus:hover::after,
.detail-btn-eco-plus:focus::after {
    color: #d92c54 !important;
    border-color: #d92c54 !important;

    
}

.detail-btn-default:hover::after,
.detail-btn-default:focus::after {
    color: #26b3b8 !important;
    border-color: #26b3b8 !important;

}


.th-btn {
    color: white !important;
}

    .th-btn.th-icon:after {
        background-color: white !important;
    }

    .th-btn.th-icon:before {
        background: white !important;
    }

/* PREMIUM HOVER ICON */
.detail-btn-premium:hover.th-icon:after,
.detail-btn-premium:focus.th-icon:after {
    background-color: #79155b !important;
}

.detail-btn-premium:hover.th-icon:before,
.detail-btn-premium:focus.th-icon:before {
    background: #fff !important;
}

/* ECO HOVER ICON */
.detail-btn-eco:hover.th-icon:after,
.detail-btn-eco:focus.th-icon:after {
    background-color: #f47d1f !important;
}

.detail-btn-eco:hover.th-icon:before,
.detail-btn-eco:focus.th-icon:before {
    background: #fff !important;
}

/* ECO PLUS HOVER ICON */
.detail-btn-eco-plus:hover.th-icon:after,
.detail-btn-eco-plus:focus.th-icon:after {
    background-color: #d92c54 !important;
}

.detail-btn-eco-plus:hover.th-icon:before,
.detail-btn-eco-plus:focus.th-icon:before {
    background: #fff !important;
}

/* DEFAULT HOVER ICON */
.detail-btn-default:hover.th-icon:after,
.detail-btn-default:focus.th-icon:after {
    background-color: #26b3b8 !important;
}

.detail-btn-default:hover.th-icon:before,
.detail-btn-default:focus.th-icon:before {
    background: #fff !important;
}



.searchbutton {
    background-color: var(--theme-color) !important;
    color:white !important;
}
.searchbutton:after{

}
    .searchbutton:before {
       background-color: var(--theme-color);
       color:white;
    }




/*    CHEAPEST PRİCE BADGET tour category v4
*/
.custom-category-img-wrap {
    width: 170px;
    height: 170px;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    overflow: hidden;
}

    .custom-category-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.custom-price-badge {
    display: inline-block;
    background: #ff4f8b;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px;
    border-radius: 999px;
    margin-bottom: 0px;
}

.custom-category-card {
    text-align: center;
}

    .custom-category-card .box-title {
        margin-top: 4px;
    }

  /*  tourcategoryv5 alananı*/
/* wrapper */
.custom-img-wrap-v2 {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

    /* image */
    .custom-img-wrap-v2 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }

/* hover zoom */
.custom-card-v2:hover img {
    transform: scale(1.08);
}

/* badge */
.badge-gradient-v2 {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #ff4f8b, #ff9a44);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 2;
    white-space: nowrap;
}

/* hafif karartma overlay (opsiyonel ama çok şık olur) */
.custom-img-wrap-v2::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
    opacity: 0;
    transition: .3s;
}

.custom-card-v2:hover .custom-img-wrap-v2::after {
    opacity: 1;
}

/*  tourcategoryv5 alananı*/
.showcase-card-v3 {
    transition: transform 0.3s ease;
}

    .showcase-card-v3:hover {
        transform: translateY(-4px);
    }

.showcase-link-v3 {
    display: block;
    text-decoration: none;
}

.showcase-img-wrap-v3 {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

    .showcase-img-wrap-v3 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.45s ease;
        display: block;
    }

.showcase-card-v3:hover .showcase-img-wrap-v3 img {
    transform: scale(1.07);
}

.showcase-img-wrap-v3::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.05) 45%, transparent 70%);
    pointer-events: none;
}

.showcase-badge-v3 {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    padding: 8px 14px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
}

.showcase-title-v3 {
    margin-top: 14px;
}

    .showcase-title-v3 a,
    .showcase-title-v3 {
        text-decoration: none;
    }

.showcase-tour-v3 {
    display: inline-block;
    margin-top: 4px;
}

@media (max-width: 576px) {
    .showcase-badge-v3 {
        bottom: 10px;
        max-width: 88%;
        white-space: normal;
        font-size: 11px;
        padding: 7px 12px;
    }
}


/*tourcaeegoryv2*/

.custom-card-topbadge {
    transition: transform 0.3s ease;
}

    .custom-card-topbadge:hover {
        transform: translateY(-4px);
    }

.custom-card-link-topbadge {
    display: block;
    text-decoration: none;
}

.custom-img-wrap-topbadge {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

    .custom-img-wrap-topbadge img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }

.custom-card-topbadge:hover .custom-img-wrap-topbadge img {
    transform: scale(1.06);
}

.custom-top-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: linear-gradient(135deg, #ff7a18, #ff3d81);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    padding: 7px 11px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    text-align: center;
    max-width: calc(100% - 24px);
    word-break: break-word;
}

.custom-img-wrap-topbadge::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.18), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-card-topbadge:hover .custom-img-wrap-topbadge::after {
    opacity: 1;
}

@media (max-width: 576px) {
    .custom-top-badge {
        top: 10px;
        right: 10px;
        font-size: 10px;
        padding: 6px 10px;
        max-width: calc(100% - 20px);
    }
}


/*tourcategoryv1*/
.custom-card-bottom-right {
    transition: transform 0.3s ease;
}

    .custom-card-bottom-right:hover {
        transform: translateY(-4px);
    }

.custom-card-link-bottom-right {
    display: block;
    text-decoration: none;
}

.custom-img-wrap-bottom-right {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

    .custom-img-wrap-bottom-right img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }

.custom-card-bottom-right:hover .custom-img-wrap-bottom-right img {
    transform: scale(1.06);
}

.custom-badge-bottom-right {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    padding: 7px 12px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    text-align: center;
    max-width: calc(100% - 24px);
    word-break: break-word;
}

.custom-img-wrap-bottom-right::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.22), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-card-bottom-right:hover .custom-img-wrap-bottom-right::after {
    opacity: 1;
}

@media (max-width: 576px) {
    .custom-badge-bottom-right {
        right: 10px;
        bottom: 10px;
        font-size: 10px;
        padding: 6px 10px;
        max-width: calc(100% - 20px);
    }
}