/* ============================================
   ÜRÜN RESİM GALERİSİ - Modern Tasarım
   ============================================ */

/* Ana Resim Container */
.product-images-section {
    margin-bottom: 20px;
}

.main-image-container {
    position: relative;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    padding: 0px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.main-image-link {
    display: block;
    cursor: zoom-in;
    position: relative;
}

.main-image-link:hover {
    opacity: 0.98;
}

#main-product-image {
    width: 100%;
    height: auto;
    transition: transform 0.2s ease;
}

.main-image-link:hover #main-product-image {
    transform: scale(1.01);
}

/* Thumbnails Container */
.thumbnails-container {
    position: relative;
    margin-top: 10px;
}

.thumbnails-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.thumbnails-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    transition: transform 0.3s ease;
    width: fit-content;
}

.thumbnail-item {
    flex: 0 0 85px;
    width: 85px;
    min-width: 85px;
    max-width: 85px;
    height: 85px;
    border: 2px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    padding: 3px;
    box-sizing: border-box;
}

.thumbnail-item:hover {
    border-color: #4a90e2;
    transform: scale(1);
}

.thumbnail-item.active {
    border-color: #4a90e2;
    border-width: 3px;
    padding: 2px;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

/* Navigation Buttons - Overlay Stilinde */
.thumbnail-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.thumbnail-nav.prev {
    left: 5px;
}

.thumbnail-nav.next {
    right: 5px;
}

.thumbnail-nav:hover {
    background: rgba(74, 144, 226, 0.95);
    border-color: rgba(74, 144, 226, 0.8);
    color: #fff;
    box-shadow: 0 3px 12px rgba(74, 144, 226, 0.4);
    transform: translateY(-50%) scale(1.05);
}

.thumbnail-nav:disabled {
    opacity: 0;
    cursor: not-allowed;
    pointer-events: none;
}

.thumbnail-nav i {
    font-size: 18px;
    font-weight: bold;
}

/* Lightbox Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 999999 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.95) !important;
    animation: fadeIn 0.3s;
    pointer-events: auto !important;
    /* Flexbox ile resmi merkeze al */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.3s;
    position: relative;
    z-index: 1000000 !important;
    margin: 0;
}

@keyframes zoomIn {
    from { transform: scale(0.7); }
    to { transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1000001 !important;
}

.modal-close:hover,
.modal-close:focus {
    color: #ff4444;
    text-decoration: none;
    cursor: pointer;
}

/* Modal Navigation Butonları */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    font-size: 36px;
    padding: 20px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000001 !important;
    border-radius: 4px;
    opacity: 0.7;
}

.modal-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.modal-nav:focus {
    outline: none;
}

.modal-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.modal-prev {
    left: 570px;
}

.modal-next {
    right: 570px;
}

.modal-nav i {
    display: block;
    line-height: 1;
}

/* Modal'da resmin üzerinde butonları göster */
.image-modal:hover .modal-nav {
    opacity: 0.9;
}

.modal-caption {
    display: block;
    width: 100%;
    max-width: 900px;
    text-align: center;
    color: #ccc;
    padding: 15px 20px;
    margin: 10px 0 0 0;
    font-size: 16px;
}

/* ============================================
   BAŞLIK VE YORUM BÖLÜMÜ
   ============================================ */

/* Ürün Başlığı */
.product-title {
    font-size: 28px;
    font-weight: 600;
    color: #4a4a4a;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

/* Yorum ve Yıldız Bölümü */
.product-rating-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars .fa-star,
.rating-stars .fa-star-o {
    color: #e0e0e0;
    font-size: 18px;
}

.rating-stars .fa-star {
    color: #ffa500;
}

.rating-text {
    font-size: 14px;
    color: #7a7a7a;
    font-weight: 400;
}

.write-review-link {
    font-size: 14px;
    color: #4a90e2;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.write-review-link:hover {
    color: #357abd;
    text-decoration: underline;
}

/* Ürün Bilgileri + İkonlar Satırı */
.product-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0px 0;
    gap: 15px;
}

.product-info-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.info-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.stock-status {
    font-size: 14px;
    font-weight: 500;
}

.stock-status.in-stock {
    color: #27ae60;
}

.stock-status.out-of-stock {
    color: #e74c3c;
}

/* Sağ Taraf İkonları */
.product-actions-icons {
    display: flex;
    gap: 10px;
}

.icon-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.icon-btn i {
    font-size: 20px;
    color: #666;
    transition: color 0.3s ease;
}

.icon-btn:hover {
    background: #4a90e2;
    border-color: #4a90e2;
}

.icon-btn:hover i {
    color: #fff;
}

.wishlist-btn:hover {
    background: #4a90e2;
}

.compare-btn:hover {
    background: #4a90e2;
}

/* Ayırıcı Çizgi */
.product-divider {
    border: 0;
    border-top: 1px solid #e5e5e5;
    margin: 5px 0;
}

/* ============================================
   FİYAT BÖLÜMÜ - Ekran Görüntüsü Stili
   ============================================ */

.product-price-section {
    margin: 0px 0;
    padding: 0px 0;
}

/* Normal Fiyat */
.product-price {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

/* İndirimli Fiyat Container */
.price-with-discount {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 0;
}

.product-price.discounted {
    font-size: 48px;
    font-weight: 700;
    color: #e74c3c;
    margin: 0;
    line-height: 1;
    letter-spacing: -1px;
}

.original-price-line {
    font-size: 20px;
    color: #a0a0a0;
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 5px;
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e74c3c;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    border: none;
    margin-left: 10px;
}

.discount-badge i {
    margin-right: 6px;
    font-size: 12px;
}

/* Diğer Fiyat Bilgileri */
.product-points,
.product-discounts {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.discount-item {
    padding: 5px 0;
}

/* ============================================
   ÜRÜN SEÇENEKLERİ - Yeni Düzen (Sol: Soru, Sağ: Butonlar)
   ============================================ */

/* Seçenek Satırı */
.product-option-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
    gap: 8px;
    flex-direction: column;
    align-content: flex-end;
}

.product-option-row:last-child {
    border-bottom: none;
}

/* Sol Taraf: Seçenek Adı */
.option-label {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: #4a4a4a;
    line-height: 1.4;
}

/* Sağ Taraf: Butonlar */
.option-buttons {
    display: flex;
    gap: 10px;
}

.option-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    min-width: 90px;
	text-align: center;
}

.option-btn input {
    display: none;
}

.option-btn:hover {
    border-color: #27ae60;
    background: #f0f8f4;
}

.option-btn.active {
    border-color: #27ae60;
    background: #27ae60;
    color: #fff;
    box-shadow: 0 2px 6px rgba(39, 174, 96, 0.3);
}

/* Eski Stiller - Yedeklendi */
.radio-btn-group,
.checkbox-btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.radio-btn-label,
.checkbox-btn-label {
    display: none; /* Yeni düzende kullanılmıyor */
}

/* Select ve Text için başlıklar */
.control-label.text-prodecorop {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

/* ============================================
   ADET VE SEPETE EKLE - YAN YANA DÜZEN
   ============================================ */

.quantity-cart-section {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    margin: 20px 0;
}

/* Adet Seçici Wrapper */
.quantity-wrapper {
    flex: 0 0 auto;
}

.quantity-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #4a4a4a;
    margin-bottom: 10px;
}

.qty-selector {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.qty-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.qty-btn:hover:not(:disabled) {
    background: #e8e8e8;
}

.qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.qty-input {
    width: 80px;
    height: 50px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Sepete Ekle Butonu Wrapper */
.cart-button-wrapper {
    flex: 1;
}

/* Ürün Aksiyon Butonları (Sepet + Teklif Yan Yana) */
.product-action-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
}

.btn-add-cart,
.btn-add-quotation {
    flex: 1;
    height: 50px;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Sepete Ekle - Yeşil */
.btn-add-cart {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
    box-shadow: 0 6px 16px rgba(39, 174, 96, 0.4);
    transform: translateY(-2px);
}

.btn-add-cart:active {
    transform: translateY(0);
}

/* Teklif Listesine Ekle - Turuncu */
.btn-add-quotation {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.btn-add-quotation:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    box-shadow: 0 6px 16px rgba(243, 156, 18, 0.4);
    transform: translateY(-2px);
}

.btn-add-quotation:active {
    transform: translateY(0);
}

/* Gelince Haber Ver Butonu */
.btn-notify-stock {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-right: 10px;
    margin-bottom: 10px;
}

.btn-notify-stock:hover {
    background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.4);
    transform: translateY(-2px);
}

/* ============================================
   SOSYAL MEDYA PAYLAŞIM BUTONLARI - Sepete Ekle Altında
   ============================================ */

.product-share-section {
    margin-top: 20px;
    text-align: right;
    padding: 0;
}

.product-share-section .a2a_kit {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.product-share-section .a2a_kit a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

.product-share-section .a2a_kit a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Facebook */
.product-share-section .a2a_button_facebook {
    background: #3b5998 !important;
}

/* Twitter */
.product-share-section .a2a_button_twitter {
    background: #1da1f2 !important;
}

/* Pinterest */
.product-share-section .a2a_button_pinterest {
    background: #bd081c !important;
}

/* LinkedIn */
.product-share-section .a2a_button_linkedin {
    background: #0077b5 !important;
}

/* More (AddToAny) */
.product-share-section .a2a_dd {
    background: #0166FF !important;
}

/* Responsive */
@media (max-width: 768px) {
    .product-share-section {
        text-align: center;
        margin-top: 15px;
    }
    
    .product-share-section .a2a_kit {
        justify-content: center;
    }
    
    .product-share-section .a2a_kit a {
        width: 36px !important;
        height: 36px !important;
    }
}

/* ============================================
   SOSYAL MEDYA PAYLAŞIM BUTONLARI - ESKİ (KALDIRILDI)
   ============================================ */

/* Eski Buton Stilleri - Yedek */
#button-cart {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%) !important;
    border: none !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 10px 15px !important;
    border-radius: 6px !important;
    text-transform: none !important;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3) !important;
    transition: all 0.3s ease !important;
}

#button-cart:hover {
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%) !important;
    box-shadow: 0 6px 16px rgba(39, 174, 96, 0.4) !important;
    transform: translateY(-2px) !important;
}

#button-notify {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%) !important;
    border: none !important;

}

/* ============================================
   ÜRÜN AÇIKLAMA TAB BÖLÜMÜ
   ============================================ */

.product-tabs-section {
    margin: 30px 0;
    background: #fff;
    width: 100%;
    clear: both;
}

/* Tab Başlıkları */
.product-nav-tabs {
    display: flex;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid #e5e5e5;
}

.tab-item {
    margin: 0;
}

.tab-link {
    display: block;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
}

.tab-link:hover {
    color: #333;
    background: #fff;
}

.tab-item.active .tab-link {
    color: #333;
    background: #fff;
    border-color: #e5e5e5;
    border-bottom: 2px solid #fff;
    font-weight: 700;
}

/* Tab İçerik */
.product-tab-content {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.tab-pane {
    display: none;
    padding: 30px;
}

.tab-pane.active {
    display: block;
}

/* Açıklama İçeriği */
.description-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.description-content p {
    margin-bottom: 15px;
}

.description-content h1,
.description-content h2,
.description-content h3,
.description-content h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
}

.description-content ul,
.description-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.description-content li {
    margin-bottom: 8px;
}

.description-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 15px 0;
}

.description-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.description-content table td,
.description-content table th {
    padding: 10px;
    border: 1px solid #e5e5e5;
}

/* ============================================
   RESPONSİVE TASARIM
   ============================================ */

@media (max-width: 768px) {
    .main-image-container {
        padding: 15px;
    }
    
    .thumbnail-item {
        flex: 0 0 80px;
        width: 80px;
        min-width: 80px;
        max-width: 80px;
        height: 80px;
        box-sizing: border-box;
    }
    
    .thumbnail-nav {
        width: 40px;
        height: 40px;
    }
    
    .thumbnail-nav.prev {
        left: 3px;
    }
    
    .thumbnail-nav.next {
        right: 3px;
    }
    
    .thumbnail-nav i {
        font-size: 16px;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .modal-nav {
        font-size: 28px;
        padding: 15px 12px;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .image-modal {
        padding: 20px 10px;
    }
    
    .product-price.discounted {
        font-size: 36px;
    }
    
    .original-price-line {
        font-size: 18px;
    }
    
    .discount-badge {
        padding: 6px 16px;
        font-size: 12px;
    }
    
    .radio-btn-label,
    .checkbox-btn-label {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    /* Ürün bilgileri responsive */
    .product-info-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .icon-btn {
        width: 45px;
        height: 45px;
    }
    
    .icon-btn i {
        font-size: 18px;
    }
    
    /* Seçenekler responsive */
    .product-option-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .option-btn {
        padding: 10px 25px;
        font-size: 14px;
        min-width: 80px;
    }
    
    /* Adet ve Sepete Ekle responsive */
    .quantity-cart-section {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .quantity-wrapper,
    .cart-button-wrapper {
        flex: 1;
        width: 100%;
    }
    
    .qty-selector {
        width: 100%;
        max-width: 100%;
    }
    
    .btn-add-cart,
    .btn-add-quotation,
    .btn-notify-stock {
        height: 55px;
        font-size: 17px;
    }
    
    .product-action-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-add-cart,
    .btn-add-quotation {
        width: 100%;
    }
    
    /* Paylaşım butonları responsive */
    .product-share-section {
        justify-content: flex-start;
        gap: 12px;
    }
    
    .share-btn {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    
    /* Tab responsive */
    .product-nav-tabs {
        flex-wrap: wrap;
    }
    
    .tab-link {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .tab-pane {
        padding: 20px;
    }
    
    .description-content {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .main-image-container {
        padding: 10px;
    }
    
    .thumbnail-item {
        flex: 0 0 70px;
        width: 70px;
        min-width: 70px;
        max-width: 70px;
        height: 70px;
        box-sizing: border-box;
    }
    
    .thumbnail-nav {
        width: 35px;
        height: 35px;
    }
    
    .thumbnail-nav.prev {
        left: 2px;
    }
    
    .thumbnail-nav.next {
        right: 2px;
    }
    
    .thumbnail-nav i {
        font-size: 14px;
    }
    
    .modal-nav {
        font-size: 24px;
        padding: 12px 10px;
    }
    
    .modal-prev {
        left: 5px;
    }
    
    .modal-next {
        right: 5px;
    }
    
    .modal-close {
        top: 5px;
        right: 10px;
        font-size: 26px;
    }
    
    .price-with-discount {
        gap: 8px;
    }
    
    .product-price.discounted {
        font-size: 32px;
    }
    
    .original-price-line {
        font-size: 16px;
    }
    
    .discount-badge {
        padding: 6px 14px;
        font-size: 11px;
        margin-left: 5px;
    }
    
    .price-with-discount {
        gap: 10px;
    }
}

/* Varyant Ürün Stilleri */
.variant-item {
    position: relative;
    cursor: pointer;
}

.variant-item .variant-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    border: none;
    transition: border-color 0.3s ease;
}


.variant-item .variant-out-of-stock {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    padding: 2px 4px;
    font-size: 10px;
    font-weight: bold;
}

.variant-item img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   VARYANT MAPPING - DISABLED SEÇENEKLER
   ============================================ */

/* Disabled radio/checkbox butonlar */
.option-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed !important;
    background: #f5f5f5 !important;
    border-color: #ddd !important;
    color: #999 !important;
    pointer-events: auto; /* Tooltip için hover gerekli */
    position: relative;
}

.option-btn.disabled:hover {
    background: #f5f5f5 !important;
    border-color: #ddd !important;
    transform: none !important;
    box-shadow: none !important;
}

.option-btn.disabled span {
    text-decoration: line-through;
    color: #999 !important;
}

.option-btn.disabled input {
    cursor: not-allowed !important;
}

/* Disabled image seçenekler */
.option-image-item.disabled {
    opacity: 0.4;
    cursor: not-allowed !important;
    pointer-events: auto; /* Tooltip için */
    position: relative;
}

.option-image-item.disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    pointer-events: none;
}

.option-image-item.disabled img {
    filter: grayscale(100%);
}

/* ============================================
   PROFESYONEL VARYANT SİSTEMİ - Stiller
   ============================================ */

/* Ana Container */
.professional-variant-option {
    margin-bottom: 15px;
}

/* Radio inputları gizle */
.professional-variant-option input[type="radio"] {
    display: none;
}

/* ANA SEÇENEK BUTON - Link görünümü */
.variant-primary-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 8px 8px 0;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.variant-primary-btn:hover {
    border-color: #f39c12;
    background: #fff8e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.variant-primary-btn.active {
    background: #f39c12;
    color: #fff;
    border-color: #f39c12;
}

/* İKİNCİL SEÇENEK BUTON - Label görünümü */
.variant-radio-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 8px 8px 0;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.variant-radio-btn:hover {
    border-color: #3498db;
    background: #e3f2fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Seçili durum */
.professional-variant-option input[type="radio"]:checked + .variant-radio-btn {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
}

.variant-primary .option-label {
    font-weight: 700;
    color: #f39c12;
    font-size: 14px;
    margin-bottom: 10px;
}

.primary-option {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 8px 8px 0;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-option:hover {
    border-color: #f39c12;
    background: #fff8e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.primary-option.active {
    background: #f39c12;
    color: #fff;
    border-color: #f39c12;
}

.primary-option.out-of-stock {
    opacity: 0.5;
    position: relative;
}

.primary-option.out-of-stock::after {
    content: "STOKTA YOK";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background: #e74c3c;
    color: #fff;
    padding: 2px 8px;
    font-size: 9px;
    border-radius: 3px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* İKİNCİL SEÇENEKLER - Aynı ürün içinde varyasyon */
.variant-secondary {
    margin-bottom: 15px;
}

.variant-secondary .option-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 10px;
}

.secondary-option {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 8px 8px 0;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.secondary-option.available:hover {
    border-color: #3498db;
    background: #e3f2fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Seçili durumda (radio checked olduğunda) */
input[type="radio"]:checked + .secondary-option.available,
.secondary-option.available.active {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
}

/* MEVCİT OLMAYAN SEÇENEKLER - Üzeri Çizili */
.secondary-option.unavailable {
    background: #f5f5f5;
    border-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.secondary-option.unavailable:hover {
    transform: none;
    box-shadow: none;
}

.strikethrough {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: #e74c3c;
}

/* Tooltip hover efekti */
.secondary-option.unavailable:hover {
    opacity: 0.8;
}

/* Animasyonlar */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.option-btn.active {
    animation: pulse 0.5s ease;
}

/* ============================================
   RESPONSIVE - Profesyonel Varyant Sistemi
   ============================================ */

@media (max-width: 768px) {
    .primary-option,
    .secondary-option {
        padding: 8px 16px;
        font-size: 13px;
        margin: 0 6px 6px 0;
    }
    
    .variant-primary .option-label,
    .variant-secondary .option-label {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .primary-option,
    .secondary-option {
        padding: 6px 12px;
        font-size: 12px;
        margin: 0 4px 4px 0;
    }
    
    .variant-primary .option-label,
    .variant-secondary .option-label {
        font-size: 12px;
    }
    
    .primary-option.out-of-stock::after {
        font-size: 8px;
        padding: 2px 6px;
    }
}

/* ============================================
   VARYANT SEÇENEK BUTONLARI - EKLEME STILLER
   ============================================ */

/* Varyant butonları link olduğu için text-decoration kaldır */
a.option-btn {
    text-decoration: none;
    color: inherit;
}

a.option-btn:hover {
    text-decoration: none;
}

a.option-btn:focus {
    text-decoration: none;
    outline: none;
}

/* Stokta olmayan varyantlar için */
.option-btn.out-of-stock {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.option-btn.out-of-stock span {
    text-decoration: line-through;
}

