/* ============================================================
   NEXT INTERNATIONAL - MOBILE RESPONSIVE FIX
   Basit ve temiz mobil düzeltmeleri
   ============================================================ */

/* ==================== SLIDER / INTRO ==================== */
@media (max-width: 767px) {
    .intro-section {
        margin-bottom: 10px;
    }

    .intro-slide,
    .banner-fixed {
        min-height: 180px !important;
        height: auto !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .intro-slide .container {
        padding: 15px;
        display: flex;
        align-items: center;
        min-height: 180px;
    }

    /* Slider ürün resmi */
    .intro-slide .slide-image,
    .intro-slide figure.slide-image {
        display: block !important;
        width: 35%;
        max-width: 120px;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .intro-slide .slide-image img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .intro-slide .banner-content {
        position: relative !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        width: 60%;
        padding: 10px 0;
    }

    .intro-slide .banner-subtitle {
        font-size: 10px !important;
        margin-bottom: 3px !important;
    }

    .intro-slide .banner-title {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin-bottom: 5px !important;
    }

    .intro-slide .banner-content > p {
        font-size: 10px !important;
        margin-bottom: 8px !important;
        display: none;
    }

    .intro-slide .btn {
        padding: 6px 12px !important;
        font-size: 10px !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

/* ==================== ICON BOX ==================== */
@media (max-width: 767px) {
    .icon-box-wrapper {
        padding: 10px 5px !important;
        margin: 10px 0 !important;
    }

    .icon-box {
        padding: 8px 5px !important;
    }

    .icon-box .icon-box-icon i {
        font-size: 20px !important;
    }

    .icon-box .icon-box-title {
        font-size: 10px !important;
    }

    .icon-box .icon-box-content p {
        display: none !important;
    }
}

/* ==================== ÜRÜN KARTLARI - ÇOK ÖNEMLİ ==================== */
@media (max-width: 767px) {
    /* Container padding */
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Başlıklar */
    .title-link-wrapper {
        margin-bottom: 10px !important;
    }

    .title-link-wrapper .title {
        font-size: 16px !important;
    }

    /* Product wrapper */
    .product-wrapper,
    .tab-content.product-wrapper {
        padding: 0 !important;
    }

    /* Row grid */
    .product-wrapper .row,
    .tab-content .row,
    .row.cols-2,
    .row.cols-sm-3,
    .row.cols-md-4,
    .row.cols-xl-5 {
        display: flex !important;
        flex-wrap: wrap !important;
        margin: 0 -5px !important;
    }

    /* Her ürün kartı %50 genişlik */
    .product-wrap {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 5px !important;
        margin-bottom: 5px !important;
    }

    /* Ürün kutusu */
    .product {
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
        overflow: hidden;
    }

    /* ÜRÜN RESMİ - EN ÖNEMLİ KISIM */
    .product .product-media,
    figure.product-media {
        display: block !important;
        width: 100% !important;
        background: #f8f8f8;
        position: relative;
        overflow: hidden;
    }

    .product-media a {
        display: block !important;
    }

    .product-media img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: static !important;
    }

    /* Hover resmi gizle - sadece ilk resim görünsün */
    .product-media img:last-child:not(:first-child) {
        display: none !important;
    }

    /* Ürün detayları */
    .product .product-details {
        padding: 8px;
    }

    .product .product-name {
        font-size: 11px !important;
        line-height: 1.3;
        margin-bottom: 5px;
        height: auto;
        max-height: 30px;
        overflow: hidden;
    }

    .product .ratings-container {
        display: none !important;
    }

    .product .product-price {
        font-size: 13px !important;
    }

    .product .product-price .old-price {
        font-size: 10px !important;
    }

    /* Action butonları */
    .product-action-vertical {
        display: none !important;
    }
}

/* ==================== VİTRİN BANNER (Sol banner) ==================== */
@media (max-width: 991px) {
    .product-wrapper-1 .col-lg-3 {
        display: none !important;
    }

    .product-wrapper-1 .col-lg-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ==================== FOOTER ==================== */
@media (max-width: 767px) {
    .footer {
        padding: 20px 0 80px !important;
    }

    .footer .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer .widget {
        border-bottom: 1px solid #eee;
        padding: 12px 0;
        margin-bottom: 0 !important;
    }

    .footer .widget-title {
        margin-bottom: 0 !important;
        font-size: 14px;
        cursor: pointer;
    }

    .footer .widget-body {
        display: none;
        padding-top: 10px;
    }

    .footer .widget.active .widget-body {
        display: block;
    }
}

/* ==================== WHATSAPP ==================== */
@media (max-width: 767px) {
    .integration-fixed__bottom-left {
        bottom: 80px !important;
    }
}

/* ==================== MOBILE BOTTOM NAV ==================== */
@media (max-width: 767px) {
    .page-wrapper {
        padding-bottom: 60px;
    }
}

/* ==================== HEADER ==================== */
@media (max-width: 767px) {
    .header-top {
        display: none !important;
    }

    .header-middle .logo img {
        max-width: 100px;
    }

    .header-search {
        display: none !important;
    }
}

/* ==================== CHECKOUT FORM ==================== */
@media (max-width: 767px) {
    .checkout-form .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .checkout-form .form-control {
        height: 46px;
        font-size: 16px !important;
    }
}
