.elementor-29413 .elementor-element.elementor-element-0127d69{--display:flex;--margin-top:-40px;--margin-bottom:30px;--margin-left:0px;--margin-right:0px;}.elementor-29413 .elementor-element.elementor-element-a28dcc1{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:30px 30px;--row-gap:30px;--column-gap:30px;}.elementor-29413 .elementor-element.elementor-element-955734e{--display:flex;--wd-side-hidden-w:300px;}.elementor-29413 .elementor-element.elementor-element-a15f674{--display:flex;}.elementor-29413 .elementor-element.elementor-element-a4d9b52{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--align-items:center;}.elementor-29413 .elementor-element.elementor-element-d8021fb{--display:flex;border-style:solid;--border-style:solid;border-color:#81818133;--border-color:#81818133;}.elementor-29413 .elementor-element.elementor-element-4173aa3{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:flex-end;--align-items:center;--gap:20px 30px;--row-gap:20px;--column-gap:30px;}@media(min-width:769px){.elementor-29413 .elementor-element.elementor-element-955734e{--width:25%;}.elementor-29413 .elementor-element.elementor-element-a15f674{--width:75%;}.elementor-29413 .elementor-element.elementor-element-d8021fb{--width:25%;}.elementor-29413 .elementor-element.elementor-element-4173aa3{--width:75%;}}@media(max-width:1024px) and (min-width:769px){.elementor-29413 .elementor-element.elementor-element-a15f674{--width:100%;}.elementor-29413 .elementor-element.elementor-element-d8021fb{--width:100%;}.elementor-29413 .elementor-element.elementor-element-4173aa3{--width:100%;}}@media(max-width:1024px){.elementor-29413 .elementor-element.elementor-element-955734e{--padding-top:0px;--padding-bottom:0px;--padding-left:15px;--padding-right:15px;}.elementor-29413 .elementor-element.elementor-element-a4d9b52{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-29413 .elementor-element.elementor-element-d8021fb{--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;border-width:0px 0px 1px 0px;--border-top-width:0px;--border-right-width:0px;--border-bottom-width:1px;--border-left-width:0px;--padding-top:0px;--padding-bottom:20px;--padding-left:0px;--padding-right:0px;}.elementor-29413 .elementor-element.elementor-element-4173aa3{--justify-content:space-between;}}/* Start custom CSS for wd_archive_products, class: .elementor-element-ed83b41 *//* =========================================
   WOODMART - توحيد البطاقات (النسخة الآمنة والمستقرة)
   ========================================= */

/* 1. توحيد ارتفاع منطقة صور المنتجات (كودك الأصلي) */
.wd-product .wd-product-img-link,
.wd-product .wd-product-img-hover {
    height: 250px !important;
    min-height: 250px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

/* 2. ضبط الصور داخل المساحة المحددة (كودك الأصلي) */
.wd-product .wd-product-img-link img,
.wd-product .wd-product-img-hover img,
.wd-product .wd-product-img-link picture,
.wd-product .wd-product-img-hover picture {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* 3. جعل بطاقة المنتج تتمدد عمودياً (كودك الأصلي) */
.wd-product {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
}

.wd-product .product-wrapper {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.wd-product .product-element-bottom {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}

/* 4. الحل الآمن: حجز مساحة ثابتة (سطرين) لعنوان المنتج وقص الزيادة */
.wd-product .wd-entities-title {
    height: 2.8em !important;
    min-height: 2.8em !important;
    line-height: 1.4em !important;
    overflow: hidden !important;
    margin-bottom: 6px !important;
}

/* 5. الحل الآمن: حجز مساحة ثابتة (سطرين) لتصنيف المنتج */
.wd-product .wd-product-cats {
    height: 2.8em !important;
    min-height: 2.8em !important;
    line-height: 1.4em 

}

/* 6. دفع السعر إلى أسفل البطاقة (كودك الأصلي) */
.wd-product .price {
    margin-top: auto !important;
}

/* 7. إظهار زر السلة بشكل دائم (بدون تدمير التموضع) */
.wd-product .wd-add-btn-replace {
    opacity: 1 !important;
    visibility: visible !important;
}


@media (max-width: 767px) {
    .wd-product .wd-product-img-link,
    .wd-product .wd-product-img-hover {
        height: 170px !important;
        min-height: 170px !important;
    }
    
    .wd-product .wd-entities-title,
    .wd-product .wd-product-cats {
        height: 2.6em !important;
        min-height: 2.6em !important;
        line-height: 1.3em !important;
    }
}/* End custom CSS */