/* CLASS PHONE - Formulaire de Rendez-vous Pro Style */
.cp-form-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f5;
}

.cp-form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 15px -10px;
}

.cp-form-col {
    flex: 1;
    min-width: 250px;
    padding: 0 10px;
    margin-bottom: 10px;
}

.cp-form-col.full-width {
    flex: 0 0 100%;
    max-width: 100%;
}

.cp-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 6px;
}

.cp-input, .cp-select, .cp-textarea, .cp-file {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background-color: #f8fafc !important;
    font-size: 14px !important;
    color: #334155 !important;
    transition: all 0.25s ease-in-out !important;
    box-sizing: border-box !important;
}

.cp-input:focus, .cp-select:focus, .cp-textarea:focus {
    border-color: #0284c7 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15) !important;
    outline: none !important;
}

.cp-textarea {
    height: 110px !important;
    resize: vertical;
}

.cp-submit-btn {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.cp-submit-btn:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4) !important;
}

@media (max-width: 600px) {
    .cp-form-col {
        flex: 0 0 100%;
    }
}
/* ==========================================
   CLASS PHONE - MODERN CHECKOUT & PAYMENT CSS
   ========================================== */

/* Genel Konteyner Düzeni */
.woocommerce-checkout {
    background-color: #f8fafc !important;
    font-family: 'Inter', 'Sora', sans-serif !important;
}

.woocommerce-checkout .woocommerce {
    max-width: 1160px;
    margin: 30px auto;
    padding: 0 15px;
}

/* Fatura ve Teslimat Form Kartları */
.woocommerce-checkout #customer_details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 35px;
}

.woocommerce-checkout .col-1, 
.woocommerce-checkout .col-2 {
    flex: 1;
    min-width: 320px;
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
}

/* Başlıklar */
.woocommerce-checkout h3 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px;
    border-bottom: 3px solid #FFD000;
    display: inline-block;
}

/* Form Etiketleri (Labels) */
.woocommerce-checkout .form-row label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
}

.woocommerce-checkout .form-row label .required {
    color: #ef4444 !important;
}

/* Form Girdi Kutuları (Inputs & Selects) */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .select2-container--default .select2-selection--single {
    width: 100% !important;
    height: 48px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    background-color: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    color: #0f172a !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout textarea {
    height: 120px !important;
}

/* Focus (Tıklama) Efekti */
.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    outline: none !important;
    border-color: #FFD000 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(255, 208, 0, 0.18) !important;
}

/* Sipariş Özet Tablosu Kartı (Votre Commande) */
.woocommerce-checkout #order_review_heading {
    margin-top: 20px;
}

.woocommerce-checkout #order_review {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
}

.woocommerce-checkout table.shop_table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-bottom: 25px !important;
    width: 100% !important;
}

.woocommerce-checkout table.shop_table th {
    background-color: #0f172a !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 16px 20px !important;
    border: none !important;
}

.woocommerce-checkout table.shop_table td {
    padding: 16px 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #334155 !important;
    font-size: 14px !important;
}

.woocommerce-checkout table.shop_table tr.order-total th,
.woocommerce-checkout table.shop_table tr.order-total td {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    background-color: #fffbeb !important;
    border-top: 2px solid #FFD000 !important;
}

/* ==========================================
   ÖDEME ALANI & KREDİ KARTI KUTUSU MODERLEŞTİRME
   ========================================== */

.woocommerce-checkout #payment {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 10px !important;
    border: 1px solid #e2e8f0 !important;
}

/* Ödeme Yöntemi Listesi */
.woocommerce-checkout #payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
    padding: 14px 18px !important;
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 14px !important;
    margin-bottom: 12px !important;
    transition: all 0.25s ease !important;
}

.woocommerce-checkout #payment ul.payment_methods li:hover {
    border-color: #FFD000 !important;
}

/* Seçili Ödeme Yöntemi Vurgusu */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method input[type="radio"]:checked + label {
    font-weight: 800 !important;
    color: #0f172a !important;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
    accent-color: #0f172a !important;
    transform: scale(1.2) !important;
    margin-right: 10px !important;
}

/* Eski Mor/Gri Kredi Kartı Kutusu Tasarımını Sıfırlama ve Modernleştirme */
.woocommerce-checkout #payment div.payment_box {
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 20px !important;
    margin-top: 15px !important;
    color: #334155 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    position: relative !important;
}

.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: #e2e8f0 !important;
}

/* Kredi Kartı Form Alanları (Stripe / Card Fields) */
.woocommerce-checkout #payment div.payment_box input.input-text,
.woocommerce-checkout #payment div.payment_box .wc-stripe-elements-field,
.woocommerce-checkout #payment div.payment_box iframe {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout #payment div.payment_box label {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    margin-bottom: 6px !important;
    display: block !important;
}

/* Bilgilendirme Notu Kutusu (Information Important) */
.woocommerce-checkout #payment div.place-order {
    padding: 10px 0 0 0 !important;
}

.woocommerce-checkout #payment div.place-order p {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.6 !important;
}

/* Şartlar ve Koşullar Onay Kutusu */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    padding: 16px !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #92400e !important;
    cursor: pointer !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
    accent-color: #d97706 !important;
    transform: scale(1.2) !important;
    margin-right: 8px !important;
}

/* Siparişi Tamamla Butonu (Commander / Place Order) */
.woocommerce-checkout #place_order,
.woocommerce-checkout button[name="woocommerce_checkout_place_order"] {
    width: 100% !important;
    background: #FFD000 !important;
    color: #0f172a !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    padding: 18px 24px !important;
    border-radius: 999px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 8px 20px rgba(255, 208, 0, 0.35) !important;
    margin-top: 10px !important;
}

.woocommerce-checkout #place_order:hover {
    background: #0f172a !important;
    color: #FFD000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.25) !important;
}

/* WhatsApp Buton Hizalaması */
.joinchat, .whatsapp-widget, #whatsapp-button {
    z-index: 99 !important;
    bottom: 20px !important;
    left: 20px !important;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .woocommerce-checkout #customer_details {
        flex-direction: column;
    }
    .woocommerce-checkout .col-1, 
    .woocommerce-checkout .col-2,
    .woocommerce-checkout #order_review {
        padding: 20px;
    }
}
/* ==========================================
   CLASS PHONE - MODERN PANIER (CART) CSS
   ========================================== */

/* Sepet Genel Konteyner */
.woocommerce-cart {
    background-color: #f8fafc !important;
    font-family: 'Inter', 'Sora', sans-serif !important;
}

.woocommerce-cart .woocommerce {
    max-width: 1160px;
    margin: 35px auto;
    padding: 0 15px;
}

/* Sepet Tablo Düzeni */
.woocommerce-cart table.shop_table.cart {
    background: #ffffff !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 30px !important;
    width: 100% !important;
}

/* Tablo Başlıkları */
.woocommerce-cart table.shop_table.cart th {
    background-color: #0f172a !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 16px 20px !important;
    border: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
}

/* Tablo Satırları ve Hücreleri */
.woocommerce-cart table.shop_table.cart td {
    padding: 18px 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #334155 !important;
    font-size: 14.5px !important;
    vertical-align: middle !important;
}

/* Ürün Görseli */
.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
    width: 70px !important;
    height: 70px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    padding: 6px !important;
    border: 1px solid #e2e8f0 !important;
}

/* Ürün Adı Linki */
.woocommerce-cart table.shop_table.cart td.product-name a {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.woocommerce-cart table.shop_table.cart td.product-name a:hover {
    color: #d97706 !important;
}

/* Ürün Silme (Kırmızı Çarpı Butonu) */
.woocommerce-cart table.shop_table.cart td.product-remove a.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    color: #ef4444 !important;
    background: #fef2f2 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce-cart table.shop_table.cart td.product-remove a.remove:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
}

/* Adet (Quantity) Kutusu */
.woocommerce-cart .quantity input.qty {
    width: 65px !important;
    height: 42px !important;
    padding: 0 8px !important;
    text-align: center !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    background: #f8fafc !important;
}

.woocommerce-cart .quantity input.qty:focus {
    border-color: #FFD000 !important;
    background: #ffffff !important;
    outline: none !important;
}

/* Kupon Kodu Alanı ve Güncelleme Alt Satırı */
.woocommerce-cart td.actions {
    padding: 20px !important;
    background-color: #f8fafc !important;
}

.woocommerce-cart .coupon {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
}

.woocommerce-cart .coupon #coupon_code {
    height: 44px !important;
    padding: 0 16px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    font-size: 13.5px !important;
    box-sizing: border-box !important;
}

.woocommerce-cart .coupon button.button {
    height: 44px !important;
    padding: 0 20px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.woocommerce-cart .coupon button.button:hover {
    background: #FFD000 !important;
    color: #0f172a !important;
}

/* Sepeti Güncelle Butonu */
.woocommerce-cart button[name="update_cart"] {
    height: 44px !important;
    padding: 0 22px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    border: 2px solid #0f172a !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.woocommerce-cart button[name="update_cart"]:hover {
    background: #0f172a !important;
    color: #ffffff !important;
}

/* ==========================================
   SEPET TOPLAMLARI (CART TOTALS) KART YAPISI
   ========================================== */

.woocommerce-cart .cart-collaterals {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 30px !important;
}

.woocommerce-cart .cart_totals {
    width: 100% !important;
    max-width: 480px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 28px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce-cart .cart_totals h2 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 3px solid #FFD000 !important;
    display: inline-block !important;
}

.woocommerce-cart .cart_totals table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 25px !important;
}

.woocommerce-cart .cart_totals table.shop_table th {
    font-size: 14px !important;
    color: #64748b !important;
    font-weight: 600 !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-align: left !important;
}

.woocommerce-cart .cart_totals table.shop_table td {
    font-size: 15px !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-align: right !important;
}

/* Toplam Tutar Satırı */
.woocommerce-cart .cart_totals table.shop_table tr.order-total th,
.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    padding-top: 16px !important;
    border-bottom: none !important;
}

/* Siparişi Tamamla Butonu (Valider la commande) */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    background: #FFD000 !important;
    color: #0f172a !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    padding: 16px 24px !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 8px 20px rgba(255, 208, 0, 0.35) !important;
    box-sizing: border-box !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: #0f172a !important;
    color: #FFD000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.25) !important;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .woocommerce-cart table.shop_table.cart td.actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .woocommerce-cart .coupon {
        width: 100% !important;
        flex-direction: column !important;
    }
    
    .woocommerce-cart .coupon #coupon_code,
    .woocommerce-cart .coupon button.button,
    .woocommerce-cart button[name="update_cart"] {
        width: 100% !important;
    }

    .woocommerce-cart .cart_totals {
        max-width: 100% !important;
    }
}
/* CLASS PHONE - NEUF / OCCASION ROZET CSS */
.woocommerce ul.products li.product {
    position: relative !important;
}

.cp-badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 10 !important;
    padding: 5px 12px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* NEUF Rozeti - Sarı zemin, siyah yazı */
.cp-badge-neuf {
    background-color: #FFD000 !important;
    color: #0f172a !important;
}

/* OCCASION Rozeti - Siyah zemin, beyaz yazı */
.cp-badge-occasion {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
/* ==========================================
   CLASS PHONE - ROZET HİZALAMA VE ÇAKIŞMA ÖNLEME
   ========================================== */

/* Ürün Kartı Kapsayıcısı */
.woocommerce ul.products li.product,
.single-product .woocommerce-product-gallery,
.related.products .product {
    position: relative !important;
}

/* Durum Etiketlerini (NEUF, OCCASION vb.) SAĞ ÜST KÖŞEYE Taşıma */
.cp-badge {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important; /* Sol yerine SAĞA alındı */
    left: auto !important;  /* Sol hizalama sıfırlandı */
    z-index: 15 !important;
    padding: 5px 12px !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* 1. NEUF - Sarı Zemin, Siyah Yazı */
.cp-badge-neuf {
    background-color: #FFD000 !important;
    color: #0f172a !important;
}

/* 2. COMME NEUF - Yeşil Zemin, Beyaz Yazı */
.cp-badge-comme-neuf {
    background-color: #10b981 !important;
    color: #ffffff !important;
}

/* 3. RECONDITIONNÉ - Mavi Zemin, Beyaz Yazı */
.cp-badge-reconditionne {
    background-color: #0284c7 !important;
    color: #ffffff !important;
}

/* 4. OCCASION - Siyah Zemin, Beyaz Yazı */
.cp-badge-occasion {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Promo (İndirim) Etiketinin SOL ÜSTTE Kalmasını Garanti Etme */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    z-index: 10 !important;
}
/* Tekil Ürün Detay Sayfası Üst Boşluğu (Header Mesafesi) */
.single-product div.product,
.single-product .site-main,
.single-product #main {
    margin-top: 40px !important;
    padding-top: 20px !important;
}

/* Mobil Cihazlar İçin Uyumlu Üst Boşluk */
@media (max-width: 768px) {
    .single-product div.product,
    .single-product .site-main,
    .single-product #main {
        margin-top: 25px !important;
        padding-top: 10px !important;
    }
}
/* CLASS PHONE - BOUTIQUE MAĞAZA TESLİMAT DUYURUSU */
.cp-store-notice {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    background: #fffbeb !important;
    border: 2px solid #ffd000 !important;
    border-radius: 16px !important;
    padding: 16px 20px !important;
    margin: 15px 0 25px 0 !important;
    box-shadow: 0 4px 15px rgba(255, 208, 0, 0.12) !important;
}

.cp-notice-icon {
    font-size: 24px !important;
    line-height: 1 !important;
    background: #ffd000 !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
}

.cp-notice-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.cp-notice-text strong {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.cp-notice-text span {
    font-size: 13.5px !important;
    color: #475569 !important;
    line-height: 1.4 !important;
}

/* Mobil Cihaz Uyumu */
@media (max-width: 768px) {
    .cp-store-notice {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 14px 16px !important;
    }
}
/* ==========================================
   CLASS PHONE - BOUTIQUE KART VE ZEMİN KONTRASTI
   ========================================== */

/* 1. Mağaza Sayfa İçerik Alanı Arka Planı (Sayfayı Beyazdan Ayırır) */
.shop-custom-content,
.woocommerce-page .shop-custom-content {
    background-color: #f8fafc !important; /* Sayfa zeminine çok hafif modern gri ton */
    padding: 25px !important;
    border-radius: 24px !important;
    border: 1px solid #e2e8f0 !important;
}

/* 2. Mağaza Ürün Grid Yapısı */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 25px !important;
    padding: 0 !important;
    margin: 20px 0 !important;
}

/* 3. Ürün Kartı Yapısı ve Belirgin Çerçeve/Gölge */
.woocommerce ul.products li.product {
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important; /* Kart çerçevesi belirginleştirildi */
    border-radius: 20px !important;
    padding: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06) !important; /* Kartı zeminden kaldıran gölge */
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Ürün Kartı Hover (Üzerine Gelince) Efekti */
.woocommerce ul.products li.product:hover {
    transform: translateY(-6px) !important;
    border-color: #ffd000 !important;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.12) !important;
}

/* 4. Ürün Görsel Alanı (Tamamen Şeffaf / PNG Duruşu) */
.woocommerce ul.products li.product a img {
    border-radius: 0 !important;
    background-color: transparent !important; /* Arka fon tamamen şeffaf */
    padding: 0 !important;
    transition: transform 0.3s ease !important;
    object-fit: contain !important;
    height: 200px !important;
    width: 100% !important;
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.04) !important;
}

/* 5. Ürün Başlığı */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-top: 16px !important;
    margin-bottom: 8px !important;
    line-height: 1.35 !important;
    min-height: 38px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    border-top: 1px solid #f1f5f9 !important; /* İsim ile görsel arası ince çizgi */
    padding-top: 12px !important;
}

/* 6. Fiyat Alanı */
.woocommerce ul.products li.product .price {
    font-size: 16.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #f1f5f9 !important; /* Fiyat zemin ayrımı */
    padding: 6px 12px !important;
    border-radius: 10px !important;
    width: fit-content !important;
}

.woocommerce ul.products li.product .price del {
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
    color: #d97706 !important;
}

/* 7. Sepete Ekle Butonu */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
    background: #ffd000 !important;
    color: #0f172a !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    padding: 12px 18px !important;
    border-radius: 999px !important;
    text-align: center !important;
    border: none !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(255, 208, 0, 0.25) !important;
    margin-top: auto !important;
}

.woocommerce ul.products li.product .button:hover {
    background: #0f172a !important;
    color: #ffd000 !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2) !important;
}

/* Mobil Cihazlar İçin Uyumluluk */
@media (max-width: 768px) {
    .shop-custom-content {
        padding: 15px !important;
    }
    
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .woocommerce ul.products li.product {
        padding: 12px !important;
    }

    .woocommerce ul.products li.product a img {
        height: 145px !important;
    }
}
/* ==========================================
   CLASS PHONE - İNDİRİMLİ FİYAT KUTUSU VE TAŞMA DÜZELTMESİ
   ========================================== */

/* Fiyat Kutusunu Taşmayacak Şekilde Esnek Yapma */
.woocommerce ul.products li.product .price {
    width: auto !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important; /* Fiyatlar sığmazsa taşmak yerine alt alta dengelenir */
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 10px !important;
    box-sizing: border-box !important;
}

/* Üstü Çizili Eski Fiyat Boyutu ve Rengi */
.woocommerce ul.products li.product .price del {
    color: #94a3b8 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* Yeni İndirimli Fiyat */
.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
    color: #d97706 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}