/* Ürün Detay Sayfası - Modern Navicars Tarzı */

/* Genel Container */
.product-details-top {
    background: #fff;
    padding: 30px 0;
}

/* Sol Taraf - Ürün Görselleri */
.product-gallery-container {
    position: relative;
}

.product-main-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: none;
}

.product-main-image + #sync1 {
    position: relative;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: visible;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-main-image a {
    display: block;
}

/* Lightbox Zoom İkonu */
.product-main-image::after {
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(220, 20, 60, 0.9);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-main-image:hover::after {
    opacity: 1;
}

/* Ürün Badge'leri */
.product-badges {
    position: relative;
    top: 15px;
    left: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: max-content;
    pointer-events: auto;
}

.product-badge {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: inline-block;
    width: max-content;
}

.badge-yeni {
    background: #DC143C;
    color: #fff;
}

.badge-indirim {
    background: #000;
    color: #fff;
}

/* Thumbnail Galeri */
.product-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-thumbnails .thumb-item {
    width: calc(20% - 8px);
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.product-thumbnails .thumb-item:hover {
    border-color: #DC143C;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.2);
}

.product-thumbnails .thumb-item.active {
    border-color: #DC143C;
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

.product-thumbnails .thumb-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sağ Taraf - Ürün Bilgileri */
.product-info-section {
    padding-left: 30px;
}

.col-md-6 .p15.bg2.border.urun_detay {
    background: #fff;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 25px !important;
}

/* Mevcut Color Back Düzenlemesi */
.color_back {
    background: #fff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    padding: 20px !important;
    border-radius: 12px !important;
}

.product-title-main {
    font-size: 28px;
    font-weight: 900;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-meta-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.meta-item strong {
    color: #333;
    font-weight: 600;
}

.meta-item i {
    color: #DC143C;
    font-size: 16px;
}

/* Marka Logo Stilleri */
.meta-item-marka {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.meta-item-marka:hover {
    background: #DC143C;
    border-color: #DC143C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

.meta-item-marka:hover .marka-name,
.meta-item-marka:hover strong,
.meta-item-marka:hover i {
    color: #fff !important;
}

.meta-item-marka .marka-logo {
    max-width: 80px;
    max-height: 40px;
    object-fit: contain;
    display: inline-block;
}

.meta-item-marka .marka-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-left: 10px;
}

/* Ürün Kodu */
.product-code {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.product-code strong {
    color: #DC143C;
    font-weight: 700;
}

/* Fiyat Bölümü - KIRMIZI */
.product-price-section {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.price-old {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: line-through;
    display: block;
    margin-bottom: 5px;
}

.price-new {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    display: block;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.price-discount {
    background: #000;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
}

/* Sepete Ekle Butonu - KIRMIZI */
.btn-add-to-cart {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%) !important;
    color: #fff !important;
    border: none !important;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-add-to-cart:hover {
    background: linear-gradient(135deg, #B22222 0%, #8B0000 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
    color: #fff !important;
}

.btn-add-to-cart i {
    font-family: "Line Awesome Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

.btn-add-to-cart i {
    font-size: 20px;
}

/* Sepete Ekle ve Hemen Al Butonları */
button[data-sepete-ekle] {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%) !important;
    color: #fff !important;
    border: none !important;
}

button[data-sepete-ekle]:hover {
    background: linear-gradient(135deg, #B22222 0%, #8B0000 100%) !important;
    color: #fff !important;
}

/* WhatsApp ve İletişim Butonları */
.product-contact-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    color: #fff;
}

.btn-whatsapp i,
.btn-call i {
    font-family: "Line Awesome Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

.btn-call {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    text-decoration: none;
}

.btn-call:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    color: #fff;
}

/* Taksit Bilgisi */
.installment-info {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 2px dashed #DC143C;
    margin-bottom: 25px;
    text-align: center;
}

.installment-info i {
    font-size: 32px;
    color: #DC143C;
    margin-bottom: 10px;
    font-family: "Line Awesome Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

.installment-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.installment-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Sosyal Paylaşım - İYİLEŞTİRİLMİŞ */
.product-share {
    
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-share h5 {
    font-size: 18px;
    font-weight: 800;
    color: #333;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-share h5 i {
    font-size: 22px;
    color: #DC143C;
    font-family: "Line Awesome Free" !important;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.share-btn i {
    font-family: "Line Awesome Brands", "Line Awesome Free" !important;
    font-weight: 400 !important;
    position: relative;
    z-index: 1;
    font-style: normal !important;
}

.share-btn i.lab {
    font-family: "Line Awesome Brands" !important;
    font-weight: 400 !important;
}

.share-btn i.las {
    font-family: "Line Awesome Free" !important;
    font-weight: 900 !important;
}

.share-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #fff !important;
}

.share-btn:hover::before {
    width: 100%;
    height: 100%;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25D366;
}

/* Özellikler Listesi */
.product-features {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.product-features h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-features h4 i {
    color: #DC143C;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features ul li {
    padding: 8px 0;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #25D366;
    font-size: 14px;
}

/* Responsive */
@media screen and (max-width: 991px) {
    .product-info-section {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .product-title-main {
        font-size: 24px;
    }
    
    .price-new {
        font-size: 30px;
    }
}

@media screen and (max-width: 767px) {
    .product-thumbnails .thumb-item {
        width: calc(25% - 8px);
    }
    
    .product-title-main {
        font-size: 20px;
    }
    
    .price-new {
        font-size: 19px;
    }
    
    .btn-add-to-cart {
        padding: 15px 30px;
        font-size: 16px;
    }
    
    .product-contact-buttons {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    .product-thumbnails .thumb-item {
        width: calc(33.333% - 7px);
    }
    
    .share-buttons {
        justify-content: center;
    }
}

/* Ürün Açıklaması Tabs */
.product-details-tab {
    margin-top: 50px;
}

.product-details-tab .nav-tabs {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 30px;
}

.product-details-tab .nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-weight: 600;
    font-size: 16px;
    padding: 15px 25px;
    transition: all 0.3s ease;
}

.product-details-tab .nav-tabs .nav-link:hover {
    color: #DC143C;
    border-bottom-color: #DC143C;
}

.product-details-tab .nav-tabs .nav-link.active {
    color: #DC143C;
    border-bottom-color: #DC143C;
    background: transparent;
}

/* Taksit Tablosu Tab - KIRMIZI ARKA PLAN */
.product-details-tab .nav-tabs .nav-link[href="#taksittablosu"],
.nav-tabs .nav-link[href="#taksittablosu"] {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%) !important;
    color: #fff !important;
    border-radius: 8px 8px 0 0;
    font-weight: 700;
    border: none !important;
    padding: 12px 20px;
}

.product-details-tab .nav-tabs .nav-link[href="#taksittablosu"]:hover,
.nav-tabs .nav-link[href="#taksittablosu"]:hover {
    background: linear-gradient(135deg, #B22222 0%, #8B0000 100%) !important;
    transform: translateY(-2px);
    color: #fff !important;
}

.product-details-tab .nav-tabs .nav-link[href="#taksittablosu"].active,
.nav-tabs .nav-link[href="#taksittablosu"].active {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%) !important;
    color: #fff !important;
    border-bottom: 3px solid #DC143C !important;
}

.product-details-tab .nav-tabs .nav-link[href="#taksittablosu"] i,
.nav-tabs .nav-link[href="#taksittablosu"] i,
.nav-tabs .nav-link i,
.product-details-tab .nav-link i {
    margin-right: 8px;
    font-size: 18px;
    font-family: "Line Awesome Free", "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

.product-details-tab .tab-content {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

/* Ödeme Yöntemleri Tab'ını Gizle */
#product-shipping-link,
#product-shipping-tab {
    display: none !important;
}

/* Taksit Tablosu Özel Stil - Kırmızı Arka Plan */
#product-taksit-link {
    position: relative;
}

#product-taksit-link.active {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%) !important;
    color: #fff !important;
    border-radius: 8px 8px 0 0 !important;
    box-shadow: 0 -2px 10px rgba(220, 20, 60, 0.3);
}

#product-taksit-link:hover {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1) 0%, rgba(178, 34, 34, 0.1) 100%) !important;
}

#product-taksit-link.active i {
    color: #fff !important;
}

/* Taksit Tablosu İçerik Alanı */
#product-taksit-tab .product-desc-content {
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
    border: 2px solid #DC143C;
    border-radius: 12px;
    padding: 30px;
}

#product-taksit-tab h3 {
    color: #DC143C;
    font-weight: 900;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#product-taksit-tab h3::before {
    content: "\f09d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 28px;
}

/* PayTR Taksit Tablosu Stilleri */
#paytr_taksit_tablosu {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.taksit-tablosu-wrapper {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}

.taksit-banka,
.taksit-sayi,
.taksit-tutari {
    color: #333 !important;
    font-weight: 600;
}

.taksit-tutari-bold {
    color: #DC143C !important;
    font-weight: 900 !important;
}

/* Benzer Ürünler */
.related-products-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid #e9ecef;
}

.related-products-section h2 {
    font-size: 28px;
    font-weight: 900;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.related-products-section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    border-radius: 2px;
}

/* Stok Durumu */
.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.stock-status.in-stock {
    background: #d4edda;
    color: #155724;
}

.stock-status.in-stock i {
    color: #25D366;
}

.stock-status.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

.stock-status.out-of-stock i {
    color: #dc3545;
}

/* Ürün Kartı Hover Efekti */
.color_back {
    transition: all 0.3s ease;
}

.color_back:hover {
    transform: scale(1.02);
}

/* Owl Carousel Özelleştirme */
#sync1 .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(220, 20, 60, 0.9) !important;
    color: #fff !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    transition: all 0.3s ease;
}

#sync1 .owl-nav button:hover {
    background: rgba(178, 34, 34, 1) !important;
    transform: translateY(-50%) scale(1.1);
}

#sync1 .owl-nav .owl-prev {
    left: 20px;
}

#sync1 .owl-nav .owl-next {
    right: 20px;
}

#sync2 .owl-item {
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
}

#sync2 .owl-item.current {
    opacity: 1;
}

#sync2 .owl-item:hover {
    opacity: 1;
}

/* Utility Classes */
.mb-10 {
    margin-bottom: 10px !important;
}

.mb-15 {
    margin-bottom: 15px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.pb-10 {
    padding-bottom: 10px !important;
}

.pt-10 {
    padding-top: 10px !important;
}

/* Responsive Container */
@media screen and (max-width: 767px) {
    .product-main-image {
        position: relative;
    }
    
    .product-badges {
        top: 10px;
        left: 10px;
    }
    
    .product-badge {
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* Mevcut Buton Düzenlemeleri */
.btn {
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Ürün Detay Sayfası İçin Özel Düzenlemeler */
.urun_detay .row {
    margin-bottom: 15px;
}

.degerlendirme_paylas {
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.degerlendirme_paylas .yildiz {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Varyant Seçimi */
.varyant {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.varyant strong {
    color: #DC143C;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.varyant ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.varyant ul li {
    background: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    border: 2px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
}

.varyant ul li:hover,
.varyant ul li.active {
    border-color: #DC143C;
    background: #DC143C;
    color: #fff;
}

/* Owl Carousel İçindeki Görsel Düzenlemesi */
.owl-carousel .item img {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.owl-carousel .item:hover img {
    transform: scale(1.05);
}

