/*
Theme Name: Astra Child
Description: Child theme for the Astra theme
Author: ahmed shaban
Author URI: https://ahmed-shaban.com
Template: astra
Version: 1.0.0
*/

/* يمكنك إضافة CSS المخصص هنا */
/* .elementor-section{
    background-color: red;
} */
:root {
    --color-primary:#1e3b27 ;
    --color-secondary: #b89967;
}

.products li{
    background: #fff;
    padding: 5px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;


}
.products li:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.products li img{
    border-radius: 16px 16px 0 0;
}
.products li .astra-shop-summary-wrap{
    padding: 8px 10px 10px 0;
    /* border-top: 1px solid #eee; */
}
.products li {
    position: relative;
    overflow: hidden;
}

.products li  a.woocommerce-LoopProduct-link {
    display: block;
    position: relative;
    z-index: 2;
    border-radius: 16px 16px 0 0;
}

.products li  a.woocommerce-LoopProduct-link:hover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2); /* يمكنك تغيير اللون هنا */
    border-radius: 16px 16px 0 0;
    z-index: 1;
    pointer-events: none;
}
.text-footer{
    padding:0px !important;
    margin: 0px !important;
}

.custom_button_form {
    background-color: var(--color-primary);
    color: #fff;
    width: 100%;
    border-radius: 25px;

}
.custom_button_form:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.ast-woocommerce-container .term-description{
    display: none;
}

.woocommerce-pagination .page-numbers li .page-numbers{
    background-color: var(--color-primary);
    color: #fff;
}
.woocommerce-pagination .page-numbers li .page-numbers:hover{
    background-color: var(--color-secondary) !important;
    color: var(--color-primary) !important;
}
.woocommerce-pagination .page-numbers li .current{
    background-color: var(--color-secondary) !important;
    color: var(--color-primary) !important;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button {
    background-color: var(--color-primary) !important;
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 8px;
    transition: 0.3s;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button:hover {
    background-color: var(--color-secondary) !important;
    color: var(--color-primary) !important;
}

.ast-on-card-button.ast-onsale-card{
    display: none;
}
/* بادج الخصم */
/* في صفحة المنتج المفرد */
.single-product .custom-onsale {
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    inset-inline-start: 15px;
    font-size: 16px;
}

.custom-onsale,
.related.products .custom-onsale {
    position: absolute;
    top: 3px;
    right: 3px;
    inset-inline-start: 12px;
    /* يدعم RTL و LTR */
    background: var(--color-secondary);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 50px;
    /* شكل كبسولة */
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    z-index: 5;
    display: inline-block;
    animation: badge-pop 0.4s ease-out;
}

/* أنيميشن عند التحميل */
@keyframes badge-pop {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }

    80% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

.ast-shipping-text{
    display: block;
    padding-bottom: 5px;
}

.button.wc-forward, button.button,#place_order{
    background-color: var(--color-primary) !important;
    color: #fff !important;
    /* padding: 12px 25px; */
    border-radius: 8px !important;
    transition: 0.3s !important;
}

.button.wc-forward:hover,button.button:hover,#place_order:hover {
    background-color: var(--color-secondary)!important;
    color: #000 !important;
}

/* .payment_method_instapay img , .payment_method_vodafonecash img {
    width: 100px;
}

ul.wc_payment_methods li {
    margin-bottom: 20px !important;
} */