/* Hide the quantity on the cart | 39971618-hc rg */
th.product-quantity,
td.product-quantity{
    visibility: hidden;
}

/* Hide the quantity on the single product page | 39971618-hc rg */
.quantity {
    visibility: hidden;
}

.gpos-checkout-class img{
	display:block !important;
}

.grecaptcha-badge { visibility: hidden; }

/* WooCommerce Full Access Plugin - Custom Styles (Stockline Inspired - List View Improved) */

/* Genel Sayfa Stilleri */
.wcfa-plugin-container { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #4a4a4a; 
    line-height: 1.6;
}

.wcfa-plugin-container h3 { 
    color: #333; 
    margin-top: 0;
    margin-bottom: 20px; 
    padding-bottom: 10px; 
    border-bottom: 1px solid #e0e0e0; 
    font-weight: 600;
    font-size: 1.4em; 
    letter-spacing: -0.5px;
}

.wcfa-plugin-container h4 { 
    color: #333;
    font-size: 1.25em; 
    margin-top: 40px; 
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
    letter-spacing: -0.4px;
}

.wcfa-plugin-container a {
    color: #0073aa; 
    text-decoration: none;
}
.wcfa-plugin-container a:hover {
    color: #005177;
    text-decoration: underline;
}

/* Üyelik Durum/Detayları Grid */
.wcfa-membership-status-area { 
    margin-bottom: 35px; 
}

.wcfa-membership-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); 
    gap: 20px; 
    margin-bottom: 25px; 
}

.wcfa-membership-details-grid .detail-item { 
    background-color: #ffffff;
    padding: 20px; 
    border-radius: 8px;
    border: 1px solid #dcdcdc; 
    box-shadow: 0 2px 6px rgba(0,0,0,0.06); 
    display: flex;
    flex-direction: column; 
    text-align: left; 
}

.wcfa-membership-details-grid .detail-item .detail-label {
    font-size: 0.8em; 
    color: #555; 
    margin-bottom: 8px;
    display: block;
    font-weight: 600; 
    text-transform: uppercase;
    letter-spacing: 0.5px; 
}

.wcfa-membership-details-grid .detail-item .detail-value {
    font-size: 1.3em; 
    color: #222; 
    font-weight: 600; 
    line-height: 1.3;
}

.wcfa-membership-details-grid .detail-item .detail-sub-value { 
    font-size: 0.85em; 
    color: #777;
    margin-top: 6px;
    font-weight: normal;
    line-height: 1.4;
}

.wcfa-membership-details-grid .detail-item.status-active .detail-value,
.wcfa-membership-details-grid .detail-item.status-active .detail-sub-value { 
    color: #3c763d; 
}
.wcfa-membership-details-grid .detail-item.status-active {
    border-left: 4px solid #4CAF50; 
}

.wcfa-membership-details-grid .detail-item.status-expired .detail-value,
.wcfa-membership-details-grid .detail-item.status-expired .detail-sub-value { 
    color: #a94442; 
}
.wcfa-membership-details-grid .detail-item.status-expired {
    border-left: 4px solid #f44336; 
}


/* Üyeliği Yükselt Butonu */
.wcfa-upgrade-button-wrapper { 
    text-align: center; 
    margin-bottom: 40px; 
    margin-top: 15px; 
}

a.wcfa-upgrade-button { 
    display: inline-block;
    background-color: #0073aa; 
    color: #ffffff !important;
    padding: 10px 22px; 
    border-radius: 5px; 
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

a.wcfa-upgrade-button:hover {
    background-color: #005177; 
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}


/* Ürün Listesi ("Hesabım" Sayfası - Modern Liste Görünümü) */
.wcfa-myaccount-product-list {
    display: flex; 
    flex-direction: column;
    gap: 12px; 
    margin-top: 20px; 
}

.wcfa-product-item { 
    display: flex; 
    align-items: center; 
    background-color: #fff;
    border: 1px solid #ddd; 
    border-radius: 6px; 
    padding: 12px; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); 
    transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.wcfa-product-item:hover {
    box-shadow: 0 3px 7px rgba(0,0,0,0.08); 
    border-color: #ccc;
}

.wcfa-product-item .wcfa-product-thumbnail-link {
    flex-shrink: 0; 
    margin-right: 15px; 
    display: block;
}

.wcfa-product-item img {
    width: 60px; 
    height: 60px; 
    object-fit: cover; 
    border-radius: 4px; 
    border: 1px solid #eee; 
}

.wcfa-product-item .wcfa-product-content-wrapper { 
    flex-grow: 1; 
    display: flex;
    flex-direction: column; 
    justify-content: center; 
}

.wcfa-product-item h5 { 
    font-size: 0.95em; 
    color: #333;
    font-weight: 600;
    margin: 0 0 3px 0; 
    line-height: 1.3;
}

.wcfa-product-item h5 a {
    color: inherit;
    text-decoration: none;
}
.wcfa-product-item h5 a:hover {
    color: #0073aa;
}

.wcfa-product-item .wcfa-product-date { 
    font-size: 0.75em;
    color: #777;
    margin: 0; 
}

.wcfa-product-item .wcfa-product-details { 
    margin-left: auto; 
    padding-left: 15px; 
    flex-shrink: 0; 
}

/* Modern İndirme Butonları */
.wcfa-download-button,
.wcfa-product-download-buttons .button {
    appearance: none !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
    margin: 0 !important; 
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important; /* Modern font */
    display: inline-flex !important; /* İkon ve metin için */
    align-items: center;
    justify-content: center;
    width: auto; 
    padding: 8px 18px !important; /* Padding ayarlandı */
    font-size: 0.875rem !important; /* 14px */
    font-weight: 500 !important; 
    line-height: 1.5 !important; 
    color: #fff !important; 
    background-image: linear-gradient(to right, #007aff, #005bb5) !important; /* Mavi gradient */
    border: none !important; 
    border-radius: 20px !important; /* Daha yuvarlak */
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease-in-out !important;
    box-shadow: 0 2px 5px rgba(0, 122, 255, 0.2), 0 0 0 0 rgba(0, 122, 255, 0.1) !important; /* Hafif mavi gölge */
    white-space: nowrap; /* Metnin taşmasını engelle */
}

.wcfa-download-button:hover,
.wcfa-product-download-buttons .button:hover {
    background-image: linear-gradient(to right, #005bb5, #004080) !important; /* Hover'da daha koyu gradient */
    color: #fff !important; 
    transform: translateY(-1px) !important; /* Hafif yukarı kalkma */
    box-shadow: 0 4px 8px rgba(0, 122, 255, 0.25), 0 0 0 3px rgba(0, 122, 255, 0.1) !important; /* Hover'da gölgeyi artır */
}

.wcfa-download-button:active,
.wcfa-product-download-buttons .button:active {
    transform: translateY(0px) !important;
    box-shadow: 0 1px 3px rgba(0, 122, 255, 0.2) !important;
}

.wcfa-download-button:focus,
.wcfa-product-download-buttons .button:focus {
    outline: none !important; /* Outline'ı kaldırıp box-shadow ile odak belirtiyoruz */
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.3) !important;
}

/* İkon eklemek isterseniz (SVG veya Font Icon) */
.wcfa-download-button svg,
.wcfa-product-download-buttons .button svg {
    width: 1em; /* Font boyutuna göre ayarla */
    height: 1em;
    margin-right: 0.5em; /* Metin ve ikon arası boşluk */
    fill: currentColor; /* Butonun yazı rengini alır */
}


/* Pasif İndirme Butonu */
.wcfa-download-button-disabled {
    background-image: none !important;
    background-color: #e9ecef !important; 
    border-color: #ced4da !important;
    color: #6c757d !important; 
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
    /* Diğer stiller .wcfa-download-button'dan miras alınır (padding, font-size vb.) */
}

/* Yenileme Linki (Pasif butonun altında) */
.wcfa-renew-link { 
    display: block;
    margin-top: 8px; /* Artırıldı */
    font-size: 0.8em; 
    text-align: right; 
}
.wcfa-renew-link a {
    color: #0073aa;
    font-weight: 500; /* Biraz daha belirgin */
}
.wcfa-renew-link a:hover {
    color: #005177;
}

/* Yeni Ürün Rozeti (Gerekirse) */
.wcfa-new-badge {
    position: absolute; 
    top: 8px; 
    right: 8px; 
    background-color: #0073aa; 
    color: white;
    padding: 3px 7px; 
    font-size: 0.65em; 
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1; 
}

/* Responsive Ayarlamalar */
@media (max-width: 768px) {
    .wcfa-membership-details-grid {
        grid-template-columns: 1fr; 
    }
    .wcfa-product-item {
        padding: 10px; 
    }
    .wcfa-product-item img {
        width: 50px;
        height: 50px;
    }
    .wcfa-product-item h5 {
        font-size: 0.9em;
    }
    .wcfa-download-button,
    .wcfa-product-download-buttons .button {
        padding: 7px 15px !important; /* Mobil için padding */
        font-size: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    .wcfa-membership-details-grid {
        grid-template-columns: 1fr; 
    }
    .wcfa-membership-details-grid .detail-item {
        padding: 15px; 
    }
     .wcfa-membership-details-grid .detail-item .detail-value {
        font-size: 1.1em; 
    }

    .wcfa-product-item {
        flex-direction: column; 
        align-items: flex-start; 
    }
    .wcfa-product-item .wcfa-product-thumbnail-link {
        margin-right: 0;
        margin-bottom: 10px; 
    }
    .wcfa-product-item .wcfa-product-details {
        margin-left: 0; 
        padding-left: 0;
        margin-top: 10px; 
        width: 100%; 
        text-align: left;
    }
    .wcfa-download-button,
    .wcfa-product-download-buttons .button {
        width: 100%; 
        display: flex !important; /* İkon ve metni ortalamak için */
    }
}

/* --- WOOCOMMERCE ÖDEME SAYFASI - NİHAİ SÜRÜM (KUPON GÖSTERME KODU İLE UYUMLU) --- */

/* --- 1. Genel Sayfa ve Yazı Tipi Ayarları --- */
body.woocommerce-checkout {
    background-color: #f5f7f9; /* Temiz ve ferah bir arka plan */
    color: #444;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* --- 2. Kupon Alanı (PHP Kodu ile Eklenen) --- */

/* PHP ile eklediğimiz kupon formunun etrafındaki sarmalayıcıya boşluk verir */
.force-coupon-wrapper {
    margin-bottom: 30px; /* Kupon kutusu ile alttaki fatura bilgileri arasına boşluk */
}

/* Kupon formunun kendisini stillendirir */
.force-coupon-wrapper form.checkout_coupon {
    padding: 2em;
    border: 2px dashed #dcdcdc;
    border-radius: 12px;
    background-color: #fdfdfd;
}

/* Kupon formu elemanlarını (giriş alanı ve buton) yan yana hizala */
.force-coupon-wrapper form.checkout_coupon .form-row {
    display: flex;
    gap: 15px;
    align-items: stretch; /* Elemanların yüksekliğini eşitler */
    margin-bottom: 0 !important;
}

.force-coupon-wrapper form.checkout_coupon .form-row-first {
    flex-grow: 1;
}

/* Kuponu uygulama butonu stili */
.force-coupon-wrapper form.checkout_coupon button[name="apply_coupon"] {
    background-color: #6c757d;
    color: white;
    border-radius: 8px;
    padding: 14px 20px;
    font-weight: bold;
    border: none;
    width: auto;
    line-height: 1;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.force-coupon-wrapper form.checkout_coupon button[name="apply_coupon"]:hover {
    background-color: #5a6268;
}

/* --- 3. Ana Bölümler İçin Kart (Card) Tasarımı --- */
#customer_details,
#order_review {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2.5em;
    box-shadow: 0 10px 30px -15px rgba(0,0,0,0.1);
    border: 1px solid #e8e8e8;
    margin-bottom: 30px;
}

/* Bölüm başlıkları */
#customer_details h3,
#order_review h3 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

/* --- 4. Modern Form Alanı Stilleri (Tüm Alanlar İçin) --- */
.woocommerce form .form-row {
    margin-bottom: 18px;
}

.woocommerce form .form-row label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #333;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection {
    background-color: #fdfdfd;
    border: 1px solid #dcdcdc;
    border-radius: 8px !important;
    padding: 14px !important;
    box-shadow: none !important;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Alana tıklandığında (focus) belirginleştirme */
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15) !important;
    outline: none;
}

/* --- 5. Ödeme Yöntemleri --- */
.woocommerce-checkout #payment {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
}

.woocommerce-checkout #payment ul.payment_methods {
    border: none;
    padding: 0;
}

.woocommerce-checkout #payment li.payment_method {
    padding: 15px;
    margin-bottom: 10px;
    background-color: #fdfdfd;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    transition: border-color 0.2s ease;
}

/* Seçili ödeme yöntemini vurgula */
.woocommerce-checkout #payment li.payment_method input[type="radio"]:checked + label {
    font-weight: bold;
}
.woocommerce-checkout #payment li.payment_method:has(input:checked) {
    border-color: #007bff;
}

/* --- 6. "Siparişi Onayla" Butonu --- */
.woocommerce #payment #place_order {
    background-color: #28a745;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    margin-top: 20px;
    transition: background-color 0.2s ease;
}

.woocommerce #payment #place_order:hover {
    background-color: #218838;
}

/* Sadece 'Downloads' satırını gizler, diğerlerini bırakır */
#me-user-info-panel ul li:first-child {
    display: none !important;
}