/* ===== MOBİL RESPONSIVE STİLLER ===== */

/* ANASAYFA - SLİDER GİZLEME (Mobilde) */
@media (max-width: 991px) {
    /* Ana slider'ı mobilde gizle */
    .home-section-3 .main-slider {
        display: none !important;
    }
    
    /* Kategori sidebar genişliği artır */
    .home-section-3 .col-xl-2.col-lg-3 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    /* Ayın ürünü genişliği artır */
    .home-section-3 .col-xl-3.col-lg-3 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        display: block !important;
    }
    
    /* Kategori sidebar yüksekliği mobilde azalt */
    .home-section-3 .category-sidebar {
        height: auto !important;
        min-height: 200px !important;
    }
    
    /* Ayın ürünü yüksekliği mobilde azalt */
    .home-section-3 .product-of-month {
        height: auto !important;
        min-height: 300px !important;
    }
}

/* ÜRÜN DETAY SAYFASI - RESİMLER */
@media (max-width: 767px) {
    /* Ürün başlık ve açıklama font küçült */
    .product-detail-box h2 {
        font-size: 18px !important;
    }
    
    .product-detail-box .product-title h3 {
        font-size: 16px !important;
    }
    
    .product-detail-box p,
    .product-detail-box .product-price,
    .product-detail-box .price-box {
        font-size: 14px !important;
    }
    
    /* Ürün fiyat */
    .product-detail-box .price-box h3 {
        font-size: 20px !important;
    }
    
    .product-detail-box .price-box del {
        font-size: 16px !important;
    }
    
    /* Butonlar */
    .product-detail-box .btn {
        font-size: 13px !important;
        padding: 8px 16px !important;
    }
    
    /* Ürün açıklaması metin */
    .product-detail-box .product-contain {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }
    
    /* Özellikler tablosu */
    .tf-pr-attrs {
        font-size: 12px !important;
    }
    
    .tf-pr-attrs tr th,
    .tf-pr-attrs tr td {
        padding: 6px !important;
        font-size: 12px !important;
    }
    
    /* Tab başlıkları */
    .nav-tabs .nav-link {
        font-size: 13px !important;
        padding: 8px 12px !important;
    }
    
    /* Yorum başlıkları */
    .comments-box h5,
    .comments-box h6 {
        font-size: 14px !important;
    }
    
    .comments-box p {
        font-size: 13px !important;
    }
}

@media (max-width: 575px) {
    /* Çok küçük ekranlar için daha fazla küçültme */
    .product-detail-box h2 {
        font-size: 16px !important;
    }
    
    .product-detail-box .product-title h3 {
        font-size: 14px !important;
    }
    
    .product-detail-box p,
    .product-detail-box .product-contain {
        font-size: 12px !important;
    }
    
    .product-detail-box .price-box h3 {
        font-size: 18px !important;
    }
    
    .product-detail-box .btn {
        font-size: 12px !important;
        padding: 7px 14px !important;
    }
    
    /* Küçük ekranlarda kategori ve ayın ürünü tam genişlik */
    .home-section-3 .row > div {
        margin-bottom: 15px;
    }
}

/* ÜRÜN LİSTESİ - Mobil uyum */
@media (max-width: 767px) {
    /* Ürün kartları 2 sütun */
    .grid-section.view-option.row > div {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    /* Ürün kartı içerik */
    .product-box-3 .product-detail h6 {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
    
    .product-box-3 .product-price-row .current-price {
        font-size: 13px !important;
    }
    
    .product-box-3 .product-price-row .old-price {
        font-size: 11px !important;
    }
    
    .product-box-3 .discount-badge {
        font-size: 9px !important;
        padding: 1px 4px !important;
    }
    
    .product-box-3 .btn-add-cart {
        font-size: 11px !important;
        padding: 7px 4px !important;
    }
}

@media (max-width: 480px) {
    /* Küçük ekranlarda da 2 sütun kalsın */
    .grid-section.view-option.row > div {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    /* Sepete Ekle butonu tam genişlik */
    .product-box-3 .btn-add-cart {
        width: 100% !important;
    }
}

/* GENEL MOBİL İYİLEŞTİRMELER */
@media (max-width: 991px) {
    /* Container padding */
    .custom-container.container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Section padding */
    .section-t-space,
    .section-b-space {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    
    /* Başlık boyutları */
    .title h3 {
        font-size: 16px !important;
    }
    
    /* Story slider */
    .story .swiper-slide {
        width: 100px !important;
    }
    
    .story a {
        font-size: 12px !important;
    }
}

/* AYININ ÜRÜNÜ - Mobil responsive */
@media (max-width: 991px) {
    .month-product-card {
        display: flex !important;
        flex-direction: row !important;
        gap: 15px !important;
    }
    
    .month-product-image {
        width: 150px !important;
        height: 150px !important;
        flex-shrink: 0 !important;
    }
    
    .month-product-info {
        flex: 1 !important;
        text-align: left !important;
    }
    
    .month-product-info h6 {
        text-align: left !important;
        min-height: auto !important;
    }
    
    .month-product-price {
        justify-content: flex-start !important;
    }
}

@media (max-width: 575px) {
    .month-product-card {
        flex-direction: column !important;
    }
    
    .month-product-image {
        width: 100% !important;
        height: 200px !important;
    }
    
    .month-product-info {
        text-align: center !important;
    }
    
    .month-product-info h6 {
        text-align: center !important;
    }
    
    .month-product-price {
        justify-content: center !important;
    }
}
