/* Masaüstünde kartlar arası boşluk */
@media (min-width: 768px) {
    .banner .row {
        gap: 20px 0;
    }
    
    /* Kartları iyice yukarı dayat */
    .ibb-navbar-image-container {
        margin-bottom: 0 !important;
    }
    
    .banner.sp_top_80 {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

/* Banner cards mobile responsiveness - Modern Card Layout */
@media (max-width: 767px) {
    /* IBB navbar ve banner arası boşluğu azalt */
    .ibb-navbar-image-container {
        margin-bottom: 0 !important;
    }
    
    /* Container padding ekle */
    .banner .container,
    .best__selling .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Kartları alt alta diz */
    .banner .row > .col-12,
    .best__selling .row > .col-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 6px 12px !important;
    }
    
    /* Modern kartlar için özel ayarlar */
    .modern-card {
        height: 160px !important;
        margin-bottom: 8px !important;
    }
    
    /* Price badge mobilde büyüt */
    .modern-card > a > div:first-child {
        top: 10px !important;
        left: 10px !important;
    }
    
    .modern-card > a > div:first-child > div {
        width: 80px !important;
        height: 80px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .modern-card > a > div:first-child > div > div:nth-child(1) {
        font-size: 1.2rem !important;
        line-height: 1.1 !important;
    }
    
    .modern-card > a > div:first-child > div > div:nth-child(1) sup {
        font-size: 0.65rem !important;
    }
    
    .modern-card > a > div:first-child > div > div:nth-child(2) {
        font-size: 0.5rem !important;
        margin-top: 0 !important;
        line-height: 1 !important;
    }
    
    .modern-card > a > div:first-child > div > div:nth-child(3),
    .modern-card > a > div:first-child > div > div:nth-child(4) {
        font-size: 0.45rem !important;
        line-height: 1.1 !important;
        margin-top: 1px !important;
    }
    
    /* Başlık mobilde ayarla */
    .modern-card h2 {
        font-size: 0.9rem !important;
        line-height: 1.2 !important;
    }
    
    /* Mobilde başlıkları 2 satır yap (ikinci br'i boşluk yap) */
    .modern-card h2 br:nth-of-type(2) {
        display: inline !important;
        content: " " !important;
    }
    
    .modern-card h2 br:nth-of-type(2)::before {
        content: " " !important;
        white-space: pre !important;
    }
    
    .modern-card > a > div:last-child {
        bottom: 10px !important;
        left: 10px !important;
    }
    
    /* Görsel pozisyon - Alttan üstten boşluk bırak */
    .modern-card > a > div:nth-child(2) {
        top: 10px !important;
        bottom: 10px !important;
        right: -12px !important;
        width: 52% !important;
        height: auto !important;
    }
    
    .modern-card > a > div:nth-child(2) img {
        height: 100% !important;
        object-fit: cover !important;
    }
    
    /* Spacing'leri ayarla */
    .banner.sp_top_80 {
        padding-top: 0 !important;
        padding-bottom: 12px !important;
    }
    
    /* Tümünü gör kartı mobil - sadece button içeren kart */
    .banner .row > .col-xl-12[style*="margin-top"] {
        margin-top: 12px !important;
    }
    
    .banner .row > .col-xl-12 a > div {
        padding: 25px 15px !important;
    }
    
    .banner .row > .col-xl-12 h2 {
        font-size: 1.3rem !important;
        margin-bottom: 15px !important;
    }
    
    .banner .row > .col-xl-12 button {
        padding: 12px 30px !important;
        font-size: 0.95rem !important;
    }
}

/* Gereksiz UI elementlerini gizle */
.minicart,
.setting__wrap__list,
.headersearch__active,
.headerarea__search,
.setting__wrap,
.headermiddle__bar {
    display: none !important;
}

/* WhatsApp ve Telefon butonları - Hem mobil hem masaüstünde aynı boyutta */
.whatsapp-btn-custom {
    padding: 15px 30px !important;
    border-radius: 5px !important;
    display: inline-block !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    border: 1px solid !important;
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
}

.whatsapp-btn-custom i {
    margin-right: 8px !important;
    font-size: 16px !important;
    vertical-align: middle !important;
}

/* WhatsApp butonu yeşil */
.whatsapp-btn-custom[href*="whatsapp"] {
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    color: white !important;
}

/* Telefon butonu mavi */
.whatsapp-btn-custom[href^="tel"] {
    background-color: #004aad !important;
    border-color: #004aad !important;
    color: white !important;
    margin-top: 10px !important;
}

/* WhatsApp butonu hover */
.whatsapp-btn-custom[href*="whatsapp"]:hover,
.whatsapp-btn-custom[href*="whatsapp"]:focus,
.whatsapp-btn-custom[href*="whatsapp"]:active {
    background-color: #1fb855 !important;
    border-color: #1fb855 !important;
    color: white !important;
}

/* Telefon butonu hover */
.whatsapp-btn-custom[href^="tel"]:hover,
.whatsapp-btn-custom[href^="tel"]:focus,
.whatsapp-btn-custom[href^="tel"]:active {
    background-color: #0059cc !important;
    border-color: #0059cc !important;
    color: white !important;
}

/* FAQ Section - Benzer Mezar Modelleri ile arasındaki boşluğu azalt */
.faq.sp_top_80 {
    padding-top: 30px !important;
}

@media (max-width: 767px) {
    .faq.sp_top_80 {
        padding-top: 20px !important;
    }
}

/* Benzer Mezar Modelleri section - Alt boşluğu azalt */
.single__product__grid {
    margin-bottom: 10px !important;
}

.single__product__pairs {
    margin-bottom: 10px !important;
}

