/* ==========================================================================
   ABP Frontend Styles
   ========================================================================== */

/* Hesap makinesi kapsayıcısı */
.abp-calculation-wrapper {
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
}

.abp-calculation-wrapper label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

/* Kullanıcı giriş alanı */
#abp_customer_input {
    width: 100%;
    padding: 10px 12px;
    font-size: 1.1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#abp_customer_input:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 1px #2271b1;
}

/*
 * ABP kutusu eklendikten sonraki kardeş .quantity öğesini gizle.
 * Sibling selector tüm modern tarayıcılarda çalışır.
 */
.abp-calculation-wrapper ~ .quantity {
    display: none !important;
}

/* Sonuç kutusu */
.abp-result-box {
    margin-top: 12px;
    padding: 12px 14px;
    background: #fffdf3;
    border-left: 4px solid #f9d806;
    border-radius: 4px;
    line-height: 1.7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.abp-pkg-count {
    font-weight: 700;
    color: #111;
}

.abp-total-price {
    display: block;
    margin-top: 4px;
    font-size: 1.2em;
    font-weight: 700;
    color: #333;
}

/* Birim fiyat gösterimi */
.abp-unit-price {
    display: inline-block;
}

.abp-package-price {
    color: #777;
    font-size: 0.85em;
}
