/* Bayii fiyat kutusu — ürün sayfasında */
.bayii-fiyat-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 8px 0;
  
}

/* Shop loop centering */
.woocommerce-loop-product .bayii-fiyat-wrapper {
    text-align: center;
    align-items: center;
}

.bayii-liste-fiyat {
    font-size: 13px;
    color: #888;
}
.bayii-liste-fiyat del {
    color: #aaa;
}

.bayii-indirim-badge {
    display: inline-block;
    background: #d1e7dd;
    color: #0f5132;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 4px;
}

/* Shop loop centering */
.woocommerce-loop-product .bayii-indirim-badge {
    text-align: center;
}

.bayii-net-fiyat {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
}
.bayii-net-fiyat small {
    font-size: 13px;
    font-weight: 400;
    color: #888;
}

.bayii-kdv-fiyat {
    font-size: 14px;
    color: #555;
}
.bayii-kdv-fiyat small {
    font-size: 12px;
    color: #999;
}

/* İletişime geçin mesajı */
.bayii-iletisim-mesaj,
.bayii-iletisim-link {
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    color: #2271b1;
    padding: 6px 0;
}
.bayii-iletisim-link:hover {
    text-decoration: underline;
}

/* Kademeli fiyat kutusu */
.bayii-tiered-price-wrapper {
    
    padding: 12px;
    margin: 8px 0;
}

/* Shop loop centering */
.woocommerce-loop-product .bayii-tiered-price-wrapper {
    text-align: center;
}
.bayii-tiered-price-wrapper .bayii-liste-fiyat {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: #666;
}

/* Kademeli fiyat tablosu */
.bayii-tiered-pricing-table {
    margin-top: 12px;
    margin-left: auto;
    margin-right: auto;
    border-collapse: separate;
    border-spacing: 0;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    width: 100%;
    max-width: 400px;
}
.bayii-tiered-pricing-table tr:first-child td {
    padding-top: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
    color: #495057;
    font-size: 11px;
}
.bayii-tiered-pricing-table tr:nth-child(2) td {
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #212529;
}
.bayii-tiered-pricing-table tr:last-child td {
    padding-bottom: 12px;
}
.bayii-tiered-pricing-table tr td {
    padding: 0 12px;
    text-align: left;
    border-right: 1px solid #dee2e6;
}
.bayii-tiered-pricing-table tr td:last-child {
    border-right: none;
}

/* Tiered pricing discount badge */
.bayii-discount-badge {
    background: #d1e7dd;
    color: #0f5132;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    text-align: center;
    margin-top: 8px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

/* Add to Quote button alignment */
.bayii-quote-button-wrapper {
    margin-top: 20px;
    width: 100%;
}
.bayii-quote-button-wrapper.shop-loop {
    margin-top: 10px;
    text-align: center;
}
.bayii-quote-button-wrapper.shop-loop .bayii-add-to-quote {
    display: inline-block;
    width: auto;
    text-align: center;
}
.bayii-add-to-quote {
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;

}
.bayii-add-to-quote.alt {
    background: #2271b1;
    color: #fff;
    border: 2px solid #2271b1;
}
.bayii-add-to-quote.alt:hover {
    background: #135e96;
    color: #fff;
    border-color: #135e96;
}
.bayii-add-to-quote.alt:focus {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}
@media (max-width: 768px) {
    .bayii-add-to-quote {
        font-size: 14px;
        padding: 10px 16px;
        min-width: 120px;
    }
    .bayii-quote-button-wrapper {
        margin-top: 15px;
    }
}
