.elementor-1152 .elementor-element.elementor-element-0a643bc{margin-top:-19px;margin-bottom:50px;}.elementor-1152 .elementor-element.elementor-element-1df47af .slider-right.ver1 img{border-radius:1px;}.elementor-1152 .elementor-element.elementor-element-1df47af .slider-right.ver1{-webkit-border-radius:1px;}.elementor-1152 .elementor-element.elementor-element-65bdeff .slider-right{border-radius:8px;}.elementor-1152 .elementor-element.elementor-element-65bdeff .slide-bottom img{border-radius:8px;}.elementor-1152 .elementor-element.elementor-element-65bdeff .slide-top img{border-radius:8px;}.elementor-1152 .elementor-element.elementor-element-8050b2d .slider-right.ver1 img{border-radius:19px;}.elementor-1152 .elementor-element.elementor-element-8050b2d .slider-right.ver1{-webkit-border-radius:19px;}.elementor-1152 .elementor-element.elementor-element-3b39c33 > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-1152 .elementor-element.elementor-element-3b39c33 > .elementor-container{max-width:1338px;}.elementor-1152 .elementor-element.elementor-element-3b39c33, .elementor-1152 .elementor-element.elementor-element-3b39c33 > .elementor-background-overlay{border-radius:0px 0px 0px 0px;}.elementor-1152 .elementor-element.elementor-element-3b39c33{margin-top:-52px;margin-bottom:0px;}.elementor-1152 .elementor-element.elementor-element-9b5731c > .elementor-widget-container{margin:0px 2px 0px 0px;padding:0px 0px 0px 0px;}.elementor-1152 .elementor-element.elementor-element-9b5731c .carousel-item{background-color:var( --e-global-color-0b61a52 );}.elementor-1152 .elementor-element.elementor-element-9b5731c .right-product{border-radius:8px;}.elementor-1152 .elementor-element.elementor-element-9b5731c .right-product .carousel-item{border-radius:30px;border-color:#1A0C00;}.elementor-1152 .elementor-element.elementor-element-e37c008 > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:flex-start;align-items:flex-start;}.elementor-1152 .elementor-element.elementor-element-e37c008 > .elementor-container{max-width:1443px;}.elementor-1152 .elementor-element.elementor-element-e37c008{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;margin-top:0px;margin-bottom:0px;}.elementor-1152 .elementor-element.elementor-element-e37c008 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-1152 .elementor-element.elementor-element-368c414.elementor-column > .elementor-widget-wrap{justify-content:flex-start;}.elementor-1152 .elementor-element.elementor-element-368c414 > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-block-end:20px;}.elementor-1152 .elementor-element.elementor-element-267edd3 .officol{background-image:url(https://ghahvekhodadad.com/wp-content/uploads/2022/08/patterns.png);}.elementor-1152 .elementor-element.elementor-element-267edd3 .col-off{background-color:#3F1E00;border-radius:11px;}.elementor-1152 .elementor-element.elementor-element-267edd3 .col-off .off-product.news{border-radius:11px;}.elementor-1152 .elementor-element.elementor-element-9ad5812 > .elementor-container{max-width:1450px;}.elementor-1152 .elementor-element.elementor-element-6924527 > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-block-end:10px;}.elementor-1152 .elementor-element.elementor-element-c3f5f04 .banners{border-radius:11px;}.elementor-1152 .elementor-element.elementor-element-c3f5f04 .slide-bottom img{border-radius:11px;}.elementor-1152 .elementor-element.elementor-element-c3f5f04 .slide-top img{border-radius:11px;}.elementor-1152 .elementor-element.elementor-element-777ecd5 .mcarousel_product .mcarousel_product_head h4{color:#2D2D2D;}.elementor-1152 .elementor-element.elementor-element-777ecd5 .mcarousel_product .mcarousel_product_head a{color:#2D2D2D;}.elementor-1152 .elementor-element.elementor-element-777ecd5 .mcarousel_product{border-radius:11px;}.elementor-1152 .elementor-element.elementor-element-2fcf4a8 .right-product{border-radius:8px;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0);}.elementor-1152 .elementor-element.elementor-element-2fcf4a8 .item-pro{border-radius:11px;}.elementor-1152 .elementor-element.elementor-element-2fcf4a8 div.index-title-pro h2{text-align:right;}.elementor-1152 .elementor-element.elementor-element-2fcf4a8 .col-product .item-pro{border-radius:11px !important;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0);}.elementor-1152 .elementor-element.elementor-element-1d626cd .right-product{border-radius:8px;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0);}.elementor-1152 .elementor-element.elementor-element-1d626cd .item-pro{border-radius:11px;}.elementor-1152 .elementor-element.elementor-element-1d626cd div.index-title-pro h2{text-align:right;}.elementor-1152 .elementor-element.elementor-element-1d626cd .col-product .item-pro{border-radius:11px !important;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0);}.elementor-1152 .elementor-element.elementor-element-0887ade .right-product{border-radius:8px;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0);}.elementor-1152 .elementor-element.elementor-element-0887ade .item-pro{border-radius:11px;}.elementor-1152 .elementor-element.elementor-element-0887ade div.index-title-pro h2{text-align:right;}.elementor-1152 .elementor-element.elementor-element-0887ade .col-product .item-pro{border-radius:11px !important;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0);}.elementor-1152 .elementor-element.elementor-element-09c3e7b .banners{border-radius:7px;}.elementor-1152 .elementor-element.elementor-element-09c3e7b .slide-bottom img{border-radius:7px;}.elementor-1152 .elementor-element.elementor-element-09c3e7b .slide-top img{border-radius:7px;}.elementor-1152 .elementor-element.elementor-element-74fad51 .right-product{border-radius:8px;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0);}.elementor-1152 .elementor-element.elementor-element-74fad51 .item-pro{border-radius:11px;}.elementor-1152 .elementor-element.elementor-element-74fad51 div.index-title-pro h2{text-align:right;}.elementor-1152 .elementor-element.elementor-element-74fad51 .col-product .item-pro{border-radius:11px !important;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0);}.elementor-1152 .elementor-element.elementor-element-b805392 .right-product{border-radius:8px;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0);}.elementor-1152 .elementor-element.elementor-element-b805392 .item-pro{border-radius:11px;}.elementor-1152 .elementor-element.elementor-element-b805392 div.index-title-pro h2{text-align:right;}.elementor-1152 .elementor-element.elementor-element-b805392 .col-product .item-pro{border-radius:11px !important;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0);}.elementor-1152 .elementor-element.elementor-element-e49d171 .right-product{border-radius:8px;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0);}.elementor-1152 .elementor-element.elementor-element-dde0f48 > .elementor-container{max-width:1462px;}.elementor-1152 .elementor-element.elementor-element-907cbc2 .mcarousel_product{border-radius:11px;}.elementor-1152 .elementor-element.elementor-element-b3ec7ba .mcarousel_product{border-radius:11px;}.elementor-1152 .elementor-element.elementor-element-ebbb62e .mcarousel_product{border-radius:11px;}.elementor-1152 .elementor-element.elementor-element-0a72a9c .mcarousel_product{border-radius:11px;}.elementor-1152 .elementor-element.elementor-element-3b65de0 .mcarousel_product{border-radius:11px;}.elementor-1152 .elementor-element.elementor-element-76f9742 .mcarousel_product{border-radius:11px;}.elementor-1152 .elementor-element.elementor-element-889389c .mcarousel_product{border-radius:11px;}.elementor-1152 .elementor-element.elementor-element-16dd3a5 .mcarousel_product{border-radius:11px;}@media(min-width:768px){.elementor-1152 .elementor-element.elementor-element-368c414{width:100%;}}@media(max-width:1024px){.elementor-1152 .elementor-element.elementor-element-e964612{margin-top:0px;margin-bottom:52px;}.elementor-1152 .elementor-element.elementor-element-9b5731c > .elementor-widget-container{margin:-18px 0px 0px 0px;padding:0px 0px 0px 0px;}}@media(max-width:767px){.elementor-1152 .elementor-element.elementor-element-e964612{margin-top:0px;margin-bottom:47px;}.elementor-1152 .elementor-element.elementor-element-8050b2d > .elementor-widget-container{margin:0px 20px 0px 20px;}.elementor-1152 .elementor-element.elementor-element-3b39c33{padding:31px 0px 0px 0px;}.elementor-1152 .elementor-element.elementor-element-9b5731c > .elementor-widget-container{margin:-21px 0px 0px 0px;}}/* Start custom CSS for mcarousel_products, class: .elementor-element-3b65de0 *//* ========================================
   🎨 استایل کاروسل محصولات - بک قهوه‌ای + کارت کرم
   ======================================== */

/* ---------- سکشن با بک‌گراند قهوه‌ای ---------- */
.mcarousel_product {
    padding: 50px 20px;
    font-family: 'Vazirmatn', 'Estedad', sans-serif;
    background: linear-gradient(135deg, #3e2723 0%, #5d4037 50%, #4e342e 100%);
    border-radius: 24px;
    margin: 30px auto;
    position: relative;
    overflow: hidden;
}

/* الگوی تزئینی روی بک‌گراند */
.mcarousel_product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(215, 204, 200, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(215, 204, 200, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.mcarousel_product > * {
    position: relative;
    z-index: 1;
}

/* ---------- هدر بخش ---------- */
.mcarousel_product_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding: 0 10px;
}

.mcarousel_product_head h4 {
    font-size: 26px;
    font-weight: 900;
    color: #f5efe6;
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mcarousel_product_head h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 4px;
    background: linear-gradient(90deg, #d4a574 0%, #8d6e63 100%);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.4);
}

.mcarousel_product_head a {
    color: #d4a574;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    box-shadow: none !important;
}

.mcarousel_product_head a:hover {
    color: #f5efe6;
    gap: 12px;
}

/* ---------- کارت محصول - بک کرم ---------- */
.product-card {
    background: linear-gradient(145deg, #faf6f0 0%, #f5efe6 100%);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(212, 165, 116, 0.2);
    position: relative;
    margin: 10px 5px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(212, 165, 116, 0.2);
    border-color: rgba(212, 165, 116, 0.5);
}

/* ========================================
   🖼️ بخش تصویر - کل فضا + دور گرد
   ======================================== */

.product-thumbnail {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #faf6f0 100%);
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 22px 22px 0 0;
}

.product-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.thumb-pro {
    position: relative;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* ---------- تصویر اصلی و تصویر دوم ---------- */
.product-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    transition: all 0.7s ease;
    border-radius: 22px 22px 0 0;
}

.product-thumbnail img.wp-post-image:not(.second-img) {
    opacity: 1;
    z-index: 1;
}

.product-thumbnail img.second-img {
    opacity: 0;
    z-index: 2;
}

/* ---------- افکت hover ---------- */
.product-card:hover .product-thumbnail img.wp-post-image:not(.second-img) {
    opacity: 0;
    transform: scale(1.08);
}

.product-card:hover .product-thumbnail img.second-img {
    opacity: 1 !important;
    transform: scale(1.08);
}

/* ---------- سایه محصول ---------- */
.shadow-product {
    display: none;
}

/* ---------- عنوان محصول ---------- */
.product-card-body {
    padding: 18px 15px 10px;
    text-align: center;
    flex-grow: 1;
}

.product-title {
    font-size: 15px;
    line-height: 1.6;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.product-title a {
    font-size: 15px;
    font-weight: 800;
    color: #3e2723 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: color 0.3s ease;
    display: block;
}

.product-title a:hover {
    color: #8d6e63 !important;
}

/* ========================================
   💰 بخش قیمت‌ها
   ======================================== */

.index-prices-pro {
    text-align: center;
    padding: 8px 15px 15px;
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price_onsale_ar {
    width: 100%;
}

/* ---------- ناموجود (قرمز) ---------- */
p.call_pro {
    display: inline-block;
    background: linear-gradient(135deg, #ef5350 0%, #c62828 100%);
    color: #fff !important;
    padding: 10px 26px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(198, 40, 40, 0.3);
    transition: all 0.3s ease;
    margin: 0;
    letter-spacing: 0.5px;
}

p.call_pro:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 25px rgba(198, 40, 40, 0.5);
}

/* ---------- تماس بگیرید (قهوه‌ای) ---------- */
.price_onsale_ar p.call_pro {
    background: linear-gradient(135deg, #8d6e63 0%, #5d4037 100%);
    box-shadow: 0 6px 18px rgba(141, 110, 99, 0.35);
}

/* ---------- قیمت عادی ---------- */
.price_sale {
    font-size: 17px;
    font-weight: 900;
    color: #3e2723;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    padding: 9px 20px;
    border-radius: 25px;
    display: inline-block;
    border: 1px solid rgba(255, 160, 0, 0.2);
    box-shadow: 0 4px 12px rgba(255, 160, 0, 0.15);
    transition: all 0.3s ease;
}

.price_sale:hover {
    transform: scale(1.05);
}

.price_sale .woocommerce-Price-currencySymbol {
    color: #ef6c00;
    font-size: 13px;
    font-weight: 800;
    margin-right: 3px;
}

/* ---------- قیمت تخفیف‌خورده ---------- */
.price_onsale_ar del {
    display: block;
    margin-bottom: 5px;
}

.price_onsale_ar del .woocommerce-Price-amount {
    font-size: 13px;
    font-weight: 500;
    color: #9e9e9e;
    text-decoration: line-through;
    text-decoration-color: #ef5350;
    text-decoration-thickness: 2px;
}

.price_onsale_ar ins {
    display: block;
    text-decoration: none;
    background: transparent;
}

.price_onsale_ar ins .woocommerce-Price-amount {
    font-size: 18px;
    font-weight: 900;
    color: #2e7d32;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 7px 18px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.15);
    border: 1px solid rgba(46, 125, 50, 0.2);
}

/* ---------- کمرنگ کردن محصول ناموجود ---------- */
.product-card:has(p.call_pro) {
    opacity: 0.75;
}

.product-card:has(p.call_pro):hover {
    opacity: 1;
}

/* ---------- دکمه‌های اکشن ---------- */
.product-card-footer {
    padding: 0 15px 20px;
    margin-top: auto;
}

.product-actions ul {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

.product-actions ul li a {
    width: 42px;
    height: 42px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #efebe9;
    color: #5d4037 !important;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 17px;
    box-shadow: none !important;
    text-decoration: none !important;
}

.product-actions ul li a:hover {
    background: linear-gradient(135deg, #8d6e63, #5d4037);
    color: #fff !important;
    transform: translateY(-4px) rotate(8deg);
    box-shadow: 0 8px 18px rgba(93, 64, 55, 0.35) !important;
}

.product-actions ul li:first-child a:hover {
    background: linear-gradient(135deg, #43a047, #2e7d32) !important;
}

.product-actions ul li:last-child a:hover {
    background: linear-gradient(135deg, #e53935, #c62828) !important;
}

/* ---------- امتیاز ---------- */
.product-rating {
    text-align: center;
    font-size: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.product-rating .star {
    color: #ffb300 !important;
}

.product-rating strong,
.product-rating span {
    color: #8d6e63;
}

/* ---------- ناوبری Swiper - هماهنگ با بک قهوه‌ای ---------- */
.mcarusel_nav {
    width: 48px !important;
    height: 48px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease;
    color: #5d4037 !important;
    margin: 0 15px;
    backdrop-filter: blur(10px);
}

.mcarusel_nav::after {
    font-size: 18px !important;
    font-weight: 900;
}

.mcarusel_nav:hover {
    background: linear-gradient(135deg, #d4a574, #8d6e63) !important;
    color: #fff !important;
    transform: scale(1.12);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.5) !important;
}

.swiper-button-prev.mcarusel_nav { left: 5px !important; }
.swiper-button-next.mcarusel_nav { right: 5px !important; }

.swiper-button-disabled {
    opacity: 0.35 !important;
    cursor: not-allowed;
}

/* ---------- Pagination - هماهنگ با بک قهوه‌ای ---------- */
.swiper-pagination {
    position: relative !important;
    margin-top: 25px;
    bottom: auto !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(215, 204, 200, 0.5);
    opacity: 1;
    transition: all 0.4s ease;
    margin: 0 4px !important;
}

.swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #d4a574, #8d6e63);
    width: 28px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.5);
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 768px) {
    .mcarousel_product {
        padding: 30px 12px;
        margin: 15px auto;
        border-radius: 18px;
    }
    
    .mcarusel_nav { display: none !important; }
    .mcarousel_product_head h4 { font-size: 20px; }
    .product-card { margin: 10px 2px; }
    .product-title { font-size: 14px; min-height: 44px; }
    .price_sale, p.call_pro { font-size: 12px; padding: 7px 14px; }
}/* End custom CSS */
/* Start custom CSS for mcarousel_products, class: .elementor-element-76f9742 *//* ========================================
   🎨 استایل کاروسل محصولات - بک قهوه‌ای + کارت کرم
   ======================================== */

/* ---------- سکشن با بک‌گراند قهوه‌ای ---------- */
.mcarousel_product {
    padding: 50px 20px;
    font-family: 'Vazirmatn', 'Estedad', sans-serif;
    background: linear-gradient(135deg, #3e2723 0%, #5d4037 50%, #4e342e 100%);
    border-radius: 24px;
    margin: 30px auto;
    position: relative;
    overflow: hidden;
}

/* الگوی تزئینی روی بک‌گراند */
.mcarousel_product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(215, 204, 200, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(215, 204, 200, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.mcarousel_product > * {
    position: relative;
    z-index: 1;
}

/* ---------- هدر بخش ---------- */
.mcarousel_product_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding: 0 10px;
}

.mcarousel_product_head h4 {
    font-size: 26px;
    font-weight: 900;
    color: #f5efe6;
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mcarousel_product_head h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 4px;
    background: linear-gradient(90deg, #d4a574 0%, #8d6e63 100%);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.4);
}

.mcarousel_product_head a {
    color: #d4a574;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    box-shadow: none !important;
}

.mcarousel_product_head a:hover {
    color: #f5efe6;
    gap: 12px;
}

/* ---------- کارت محصول - بک کرم ---------- */
.product-card {
    background: linear-gradient(145deg, #faf6f0 0%, #f5efe6 100%);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(212, 165, 116, 0.2);
    position: relative;
    margin: 10px 5px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(212, 165, 116, 0.2);
    border-color: rgba(212, 165, 116, 0.5);
}

/* ========================================
   🖼️ بخش تصویر - کل فضا + دور گرد
   ======================================== */

.product-thumbnail {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #faf6f0 100%);
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 22px 22px 0 0;
}

.product-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.thumb-pro {
    position: relative;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* ---------- تصویر اصلی و تصویر دوم ---------- */
.product-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    transition: all 0.7s ease;
    border-radius: 22px 22px 0 0;
}

.product-thumbnail img.wp-post-image:not(.second-img) {
    opacity: 1;
    z-index: 1;
}

.product-thumbnail img.second-img {
    opacity: 0;
    z-index: 2;
}

/* ---------- افکت hover ---------- */
.product-card:hover .product-thumbnail img.wp-post-image:not(.second-img) {
    opacity: 0;
    transform: scale(1.08);
}

.product-card:hover .product-thumbnail img.second-img {
    opacity: 1 !important;
    transform: scale(1.08);
}

/* ---------- سایه محصول ---------- */
.shadow-product {
    display: none;
}

/* ---------- عنوان محصول ---------- */
.product-card-body {
    padding: 18px 15px 10px;
    text-align: center;
    flex-grow: 1;
}

.product-title {
    font-size: 15px;
    line-height: 1.6;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.product-title a {
    font-size: 15px;
    font-weight: 800;
    color: #3e2723 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: color 0.3s ease;
    display: block;
}

.product-title a:hover {
    color: #8d6e63 !important;
}

/* ========================================
   💰 بخش قیمت‌ها
   ======================================== */

.index-prices-pro {
    text-align: center;
    padding: 8px 15px 15px;
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price_onsale_ar {
    width: 100%;
}

/* ---------- ناموجود (قرمز) ---------- */
p.call_pro {
    display: inline-block;
    background: linear-gradient(135deg, #ef5350 0%, #c62828 100%);
    color: #fff !important;
    padding: 10px 26px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(198, 40, 40, 0.3);
    transition: all 0.3s ease;
    margin: 0;
    letter-spacing: 0.5px;
}

p.call_pro:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 25px rgba(198, 40, 40, 0.5);
}

/* ---------- تماس بگیرید (قهوه‌ای) ---------- */
.price_onsale_ar p.call_pro {
    background: linear-gradient(135deg, #8d6e63 0%, #5d4037 100%);
    box-shadow: 0 6px 18px rgba(141, 110, 99, 0.35);
}

/* ---------- قیمت عادی ---------- */
.price_sale {
    font-size: 17px;
    font-weight: 900;
    color: #3e2723;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    padding: 9px 20px;
    border-radius: 25px;
    display: inline-block;
    border: 1px solid rgba(255, 160, 0, 0.2);
    box-shadow: 0 4px 12px rgba(255, 160, 0, 0.15);
    transition: all 0.3s ease;
}

.price_sale:hover {
    transform: scale(1.05);
}

.price_sale .woocommerce-Price-currencySymbol {
    color: #ef6c00;
    font-size: 13px;
    font-weight: 800;
    margin-right: 3px;
}

/* ---------- قیمت تخفیف‌خورده ---------- */
.price_onsale_ar del {
    display: block;
    margin-bottom: 5px;
}

.price_onsale_ar del .woocommerce-Price-amount {
    font-size: 13px;
    font-weight: 500;
    color: #9e9e9e;
    text-decoration: line-through;
    text-decoration-color: #ef5350;
    text-decoration-thickness: 2px;
}

.price_onsale_ar ins {
    display: block;
    text-decoration: none;
    background: transparent;
}

.price_onsale_ar ins .woocommerce-Price-amount {
    font-size: 18px;
    font-weight: 900;
    color: #2e7d32;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 7px 18px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.15);
    border: 1px solid rgba(46, 125, 50, 0.2);
}

/* ---------- کمرنگ کردن محصول ناموجود ---------- */
.product-card:has(p.call_pro) {
    opacity: 0.75;
}

.product-card:has(p.call_pro):hover {
    opacity: 1;
}

/* ---------- دکمه‌های اکشن ---------- */
.product-card-footer {
    padding: 0 15px 20px;
    margin-top: auto;
}

.product-actions ul {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

.product-actions ul li a {
    width: 42px;
    height: 42px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #efebe9;
    color: #5d4037 !important;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 17px;
    box-shadow: none !important;
    text-decoration: none !important;
}

.product-actions ul li a:hover {
    background: linear-gradient(135deg, #8d6e63, #5d4037);
    color: #fff !important;
    transform: translateY(-4px) rotate(8deg);
    box-shadow: 0 8px 18px rgba(93, 64, 55, 0.35) !important;
}

.product-actions ul li:first-child a:hover {
    background: linear-gradient(135deg, #43a047, #2e7d32) !important;
}

.product-actions ul li:last-child a:hover {
    background: linear-gradient(135deg, #e53935, #c62828) !important;
}

/* ---------- امتیاز ---------- */
.product-rating {
    text-align: center;
    font-size: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.product-rating .star {
    color: #ffb300 !important;
}

.product-rating strong,
.product-rating span {
    color: #8d6e63;
}

/* ---------- ناوبری Swiper - هماهنگ با بک قهوه‌ای ---------- */
.mcarusel_nav {
    width: 48px !important;
    height: 48px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease;
    color: #5d4037 !important;
    margin: 0 15px;
    backdrop-filter: blur(10px);
}

.mcarusel_nav::after {
    font-size: 18px !important;
    font-weight: 900;
}

.mcarusel_nav:hover {
    background: linear-gradient(135deg, #d4a574, #8d6e63) !important;
    color: #fff !important;
    transform: scale(1.12);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.5) !important;
}

.swiper-button-prev.mcarusel_nav { left: 5px !important; }
.swiper-button-next.mcarusel_nav { right: 5px !important; }

.swiper-button-disabled {
    opacity: 0.35 !important;
    cursor: not-allowed;
}

/* ---------- Pagination - هماهنگ با بک قهوه‌ای ---------- */
.swiper-pagination {
    position: relative !important;
    margin-top: 25px;
    bottom: auto !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(215, 204, 200, 0.5);
    opacity: 1;
    transition: all 0.4s ease;
    margin: 0 4px !important;
}

.swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #d4a574, #8d6e63);
    width: 28px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.5);
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 768px) {
    .mcarousel_product {
        padding: 30px 12px;
        margin: 15px auto;
        border-radius: 18px;
    }
    
    .mcarusel_nav { display: none !important; }
    .mcarousel_product_head h4 { font-size: 20px; }
    .product-card { margin: 10px 2px; }
    .product-title { font-size: 14px; min-height: 44px; }
    .price_sale, p.call_pro { font-size: 12px; padding: 7px 14px; }
}/* End custom CSS */