.elementor-3228 .elementor-element.elementor-element-68816b5{--display:flex;--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;}/* Start custom CSS for wd_archive_products, class: .elementor-element-d8afc83 *//* --- دگرگونی باکس محصول وودمارت توسط باناس --- */

/* 1. استایل کل کارت محصول */
.product-grid-item .product-wrapper {
    border-radius: 18px !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    overflow: hidden;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03) !important;
}

/* افکت هاور کارت (بالا آمدن سه‌بعدی) */
.product-grid-item:hover .product-wrapper {
    transform: translateY(-10px) scale(1.01) !important;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.12) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}

/* 2. استایل تصویر محصول */
.product-element-top {
    border-radius: 15px !important;
    margin: 8px !important;
    overflow: hidden !important;
}

.product-element-top img {
    transition: transform 0.8s ease !important;
}

.product-grid-item:hover .product-element-top img {
    transform: scale(1.08) !important;
}

/* 3. تغییر بج تخفیف (دایره سبز به مستطیل لوکس) */
.product-grid-item .onsale {
    background: linear-gradient(135deg, #111, #333) !important;
    color: #D4AF37 !important;
    border-radius: 8px !important;
    font-weight: 900 !important;
    padding: 5px 12px !important;
    min-height: auto !important;
    min-width: auto !important;
    font-size: 13px !important;
    top: 15px !important;
    right: 15px !important;
}

/* 4. استایل قیمت (طلایی و درشت) */
.product-grid-item .price {
    margin-bottom: 15px !important;
}

.product-grid-item .price ins .amount {
    color: #D4AF37 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
}

.product-grid-item .price del .amount {
    opacity: 0.5;
    font-size: 14px !important;
}

/* 5. دکمه افزودن به سبد خرید (دگرگونی دکمه زرد) */
.wd-add-btn-replace .add_to_cart_button {
    background: linear-gradient(135deg, #D4AF37, #f2d26d) !important;
    color: #111 !important;
    border-radius: 12px !important;
    font-weight: 900 !important;
    height: 45px !important;
    border: none !important;
    box-shadow: 0 8px 15px rgba(212, 175, 55, 0.2) !important;
    transition: all 0.3s ease !important;
}

.wd-add-btn-replace .add_to_cart_button:hover {
    background: #111 !important;
    color: #fff !important;
    box-shadow: 0 12px 25px rgba(0,0,0,0.2) !important;
}

/* 6. استایل آیکون‌های جستجو و مقایسه */
.wd-buttons .wd-action-btn > a {
    background: rgba(255,255,255,0.9) !important;
    border-radius: 10px !important;
    color: #111 !important;
}

.wd-buttons .wd-action-btn > a:hover {
    background: #D4AF37 !important;
    color: #fff !important;
}

/* آیکون قلب (علاقه‌مندی) در گوشه تصویر */
.wd-wishlist-btn a {
    background: rgba(255,255,255,0.8) !important;
    backdrop-filter: blur(5px);
    border-radius: 50% !important;
}/* End custom CSS */