/*Start - Ürün resmi default ise resim üzerindeki badge metin*/
.woocommerce-product-gallery__image .stock-badge {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        background-color: #fb8c00 !important;
        color: white !important;
        padding: 5px 10px !important;
        font-size: 18px !important;
        font-weight: bold !important;
        border-radius: 4px !important;
        z-index: 999 !important;
        pointer-events: none !important;
    }
    
.stock-badge::after {
        content: attr(data-text) !important;
    }
    

/*Start - Uyarı metni*/
 .custom-alert-box {
                background-color: #fb8c00;
                color: #fff;
                padding: 12px 16px;
                border-radius: 8px;
                display: flex;
                align-items: flex-center;
                gap: 10px;
                opacity: 0.7;
                font-size: 14px;
                max-width: 600px;
            }
 .alert-icon {
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;   
            }
 .alert-text {
                font-weight: 500;
                line-height: 1.5;
            }


.show-more-btn {
        text-align: center;
        margin: 15px 0;
        padding-top: 10px;
        position: relative;
        width: 100%;
    }
    
    .show-more-btn:after {
        content: '';
        position: absolute;
        bottom: 100%;
        left: 0;
        width: 100%;
        height: 30px;
        background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 90%);
        pointer-events: none;
    }
    
    .button.product_type_simple.add-to-cart_noprice.z {
        padding: 8px 16px;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        z-index: 2;
        width: 100%;
        display: block;
        box-sizing: border-box;
        text-align: center;
        background-color: #f0f0f0;
        border: 1px solid #ddd;
        color: #333;
    }
    
    .button.product_type_simple.add-to-cart_noprice.z:hover {
        background-color: #ebebeb;
    }
    
    .button.product_type_simple.add-to-cart_noprice.z.less {
        background-color: #f0f0f0;
    }
    
    /* Tablo stillerini düzenle */
    .description-short table,
    .description-full table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 0;
    }
    
    .description-short table td,
    .description-short table th,
    .description-full table td,
    .description-full table th {
        padding: 8px;
        border: 1px solid #ddd;
    }
    
    /* Açıklama stillerini düzenle */
    .description-short p:last-child,
    .description-full p:last-child {
        margin-bottom: 0;
    }
  @media only screen and (max-width: 767px) {
    /* Tabloyu responsive hale getir ve içeriği daralt */
    .description-short table,
    .description-full table {
        table-layout: fixed; /* Hücreler ve içerik için sabit genişlikler */
        width: 100%;
        overflow: hidden; /* Scroll bar'ı engelle */
    }

    /* Hücreler için küçük padding ve daraltma */
    .description-short table td,
    .description-short table th,
    .description-full table td,
    .description-full table th {
        padding: 6px; /* Mobilde biraz daha küçük padding */
        word-wrap: break-word; /* Taşan metni alt satıra geçir */
        word-break: break-word; /* Eğer kelime taşarsa, kelimeyi alt satıra geçir */
        white-space: normal; /* Satırların taşmasına izin verir */
    }
}