/* ============================================
   PRODUCT DETAIL PAGE MOBILE OPTIMIZATIONS
   ============================================ */

/* Ürün Detay Sayfası - Genel Mobil Düzeltmeleri */
@media (max-width: 767px) {
    .tf-main-product {
        padding: 20px 0;
    }

    .tf-product-media-wrap {
        margin-bottom: 30px;
        position: relative !important;
    }

    .tf-product-media-wrap.sticky-top {
        position: relative !important;
        top: auto !important;
    }

    /* Ürün Görselleri */
    .tf-product-media-main {
        margin-bottom: 15px;
    }

    .tf-product-media-main .swiper-slide {
        height: 400px;
    }

    .tf-product-media-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
    }

    /* Thumbnail Slider */
    .tf-product-media-thumbs {
        margin-top: 15px;
    }

    .tf-product-media-thumbs .swiper-slide {
        height: 80px;
    }

    .tf-product-media-thumbs .item {
        height: 100%;
        border-radius: 8px;
        overflow: hidden;
    }

    .tf-product-media-thumbs img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Thumbnail Navigation */
    .thumbs-navigation-wrapper {
        margin-top: 15px;
        gap: 10px;
    }

    .thumbs-nav-prev,
    .thumbs-nav-next {
        width: 36px !important;
        height: 36px !important;
    }

    /* Ürün Bilgileri */
    .tf-product-info-wrap {
        padding: 0;
    }

    .tf-product-info-list {
        padding: 20px 15px;
    }

    .product-info-name {
        font-size: 22px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }

    .product-category {
        font-size: 12px !important;
        margin-bottom: 10px !important;
    }

    /* Rating */
    .product-rating {
        margin-bottom: 15px !important;
    }

    .product-rating .stars i {
        font-size: 14px !important;
    }

    .rating-count {
        font-size: 13px !important;
    }

    /* Stok Kodu ve Gramaj */
    .product-stock-code,
    .product-gram {
        font-size: 12px !important;
        margin-bottom: 10px !important;
    }

    /* Fiyat */
    .product-info-price {
        margin-bottom: 20px !important;
    }

    .price-new {
        font-size: 26px !important;
    }

    .price-old {
        font-size: 18px !important;
    }

    /* Açıklama */
    .product-infor-sub {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }

    /* WhatsApp Butonu */
    .tf-product-total-quantity {
        margin-bottom: 20px !important;
    }

    .tf-product-total-quantity .tf-btn {
        width: 100% !important;
        padding: 16px 20px !important;
        font-size: 16px !important;
        justify-content: center;
    }

    .tf-product-total-quantity .tf-btn i {
        font-size: 20px !important;
    }

    /* Avantajlar Listesi */
    .tf-product-info-delivery {
        margin-bottom: 20px !important;
    }

    .tf-product-info-delivery ul {
        gap: 15px !important;
    }

    .tf-product-info-delivery li {
        font-size: 13px !important;
        gap: 10px !important;
    }

    .tf-product-info-delivery .icon {
        font-size: 18px !important;
        width: 20px !important;
    }

    /* Link Kopyalama Butonu */
    .copy-link-btn {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 14px !important;
        justify-content: center;
    }

    .copy-link-btn i {
        font-size: 18px !important;
    }
}

/* Ürün Yorumları - Mobil */
@media (max-width: 767px) {
    .product-comments-section {
        padding: 30px 0 !important;
    }

    .heading-section {
        font-size: 22px !important;
        margin-bottom: 25px !important;
    }

    .comment-item {
        margin-bottom: 20px;
    }

    .comment-card {
        padding: 15px !important;
        border-radius: 10px;
    }

    .comment-header {
        flex-direction: column !important;
        gap: 12px !important;
        margin-bottom: 15px !important;
        padding-bottom: 12px !important;
    }

    .comment-author-info {
        width: 100%;
        gap: 12px !important;
    }

    .comment-avatar {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }

    .comment-author {
        font-size: 15px !important;
        margin-bottom: 3px !important;
    }

    .comment-date {
        font-size: 12px !important;
    }

    .comment-rating {
        align-self: flex-start;
    }

    .comment-rating i {
        font-size: 14px !important;
    }

    .comment-title {
        font-size: 15px !important;
        margin-bottom: 10px !important;
    }

    .comment-title i {
        font-size: 14px !important;
    }

    .comment-text {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    /* Yorum Yok Mesajı */
    .no-comments {
        padding: 40px 15px !important;
    }

    .no-comments-icon {
        font-size: 48px !important;
        margin-bottom: 15px !important;
    }

    .no-comments-text {
        font-size: 14px !important;
    }

    /* Yorum Formu */
    .comment-form-section {
        margin-top: 30px !important;
        padding-top: 30px !important;
    }

    .comment-form-section .heading-section {
        font-size: 20px !important;
        margin-bottom: 20px !important;
    }

    .form-content .cols {
        flex-direction: column;
        gap: 0;
    }

    .form-content fieldset {
        margin-bottom: 20px;
    }

    .form-content .label-text {
        font-size: 14px !important;
        margin-bottom: 8px;
    }

    .form-content input,
    .form-content textarea {
        font-size: 15px !important;
        padding: 12px 15px !important;
        min-height: 48px;
    }

    .form-content textarea {
        min-height: 120px;
    }

    /* Yıldız Rating */
    .star-rating {
        gap: 6px !important;
    }

    .star-rating label {
        font-size: 20px !important;
    }

    /* Form Submit */
    .form-submit {
        justify-content: stretch !important;
    }

    .form-submit .tf-btn {
        width: 100% !important;
        min-width: auto !important;
        padding: 16px 20px !important;
        font-size: 16px !important;
        justify-content: center;
    }
}

/* Küçük Ekranlar (iPhone SE, vb.) */
@media (max-width: 375px) {
    .tf-product-media-main .swiper-slide {
        height: 350px;
    }

    .product-info-name {
        font-size: 20px !important;
    }

    .price-new {
        font-size: 24px !important;
    }

    .price-old {
        font-size: 16px !important;
    }

    .tf-product-total-quantity .tf-btn {
        padding: 14px 16px !important;
        font-size: 15px !important;
    }

    .comment-card {
        padding: 12px !important;
    }

    .comment-avatar {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
}

/* Tablet Landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .tf-product-media-main .swiper-slide {
        height: 450px;
    }

    .product-info-name {
        font-size: 26px !important;
    }

    .tf-product-info-delivery li {
        font-size: 14px !important;
    }
}

/* Touch Device Optimizasyonları - Ürün Detay */
@media (hover: none) and (pointer: coarse) {
    .tf-product-media-thumbs .swiper-slide {
        min-height: 80px;
        cursor: pointer;
    }

    .thumbs-nav-prev,
    .thumbs-nav-next {
        min-width: 44px !important;
        min-height: 44px !important;
    }

    .star-rating label {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .copy-link-btn,
    .tf-product-total-quantity .tf-btn {
        min-height: 48px;
    }
}