.single-product .post-single-image {
  display: none !important;
}

/* =============================
   قیمت اصلی محصول (بدون تخفیف)
   ============================= */
.woocommerce div.product p.price,
.woocommerce div.product span.price:not(.amount) {
    color: #1a1a3b !important;  /* رنگ خاکستری تیره */
    font-weight: 600;
    font-size: 1.2em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* =============================
   قیمت تخفیف خورده (discounted price)
   ============================= */
.woocommerce div.product p.price del,
.woocommerce div.product p.price ins,
.woocommerce div.product span.price del,
.woocommerce div.product span.price ins {
    color: #999 !important; /* قیمت قدیمی خاکستری روشن */
    
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
    color: #d4af37 !important; /* قیمت جدید قرمز جذاب */
    font-weight: 700;
    font-size: 1.3;
}

/* =============================
   درصد تخفیف (sale badge)
   ============================= */
.woocommerce span.onsale {
    background-color: #0a0a23 !important; /* رنگ بنفش سازگار با قالب */
    color: #d4af37 !important; /* رنگ متن سفید */
    font-weight: bold;
    font-size: 0.9em;
    padding: 4px 10px;
    border-radius: 4px;
    top: 10px;
    left: 10px;
    position: absolute;
    z-index: 10;
}

/* =============================
   دکمه Add to Cart در محصول تکی
   ============================= */
.single-product .woocommerce a.button,
.single-product .woocommerce button.button,
.single-product .woocommerce input.button {
    background-color: #d4af37 !important; /* رنگ بنفش اصلی */
    color: #0a0a23 !important;           /* رنگ متن سفید */
    border-radius: 6px;
    padding: 12px 25px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.single-product .woocommerce a.button:hover,
.single-product .woocommerce button.button:hover,
.single-product .woocommerce input.button:hover {
    background-color: #0a0a23 !important; /* رنگ بنفش روشن‌تر هنگام هاور */
    color: #d4af37 !important;
}

/* =============================
   دکمه Add to Cart در صفحه فروشگاه
   ============================= */
.woocommerce ul.products li.product .button {
    background-color: #d4af37 !important;
    color: #0a0a23 !important;
    border-radius: 5px;
    padding: 8px 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product .button:hover {
    background-color: #0a0a23 !important;
    color: #d4af37 !important;
}

/* =============================
   تنظیم فاصله بین قیمت و تصویر محصول
   ============================= */
.woocommerce div.product .summary {
    margin-top: 15px !important;
}

.woocommerce ul.products li.product .price {
    margin-top: 5px !important;
}

/* =============================
   فونت و ظاهر کلی
   ============================= */
.woocommerce div.product .summary,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}
/* =========================================
   فروشگاه ووکامرس - قالب Coolify
   تنظیم اندازه، رنگ و فاصله عناصر
   ========================================= */

/* کانتینر اصلی محصولات */
.woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* فاصله بین محصولات */
}

/* تک محصول در آرشیو */
.woocommerce ul.products li.product {
    width: calc(25% - 20px); /* چهار محصول در یک ردیف */
    margin: 0;
    padding: 10px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

/* افکت هاور روی محصول */
.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
}

/* تصویر محصول */
.woocommerce ul.products li.product img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

/* عنوان محصول */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px !important;  /* اندازه دلخواه */
    font-weight: 600 !important;
    color: #333 !important;      /* رنگ دلخواه */
    margin-top: 10px;
    margin-bottom: 6px;
    line-height: 1.2;
    text-align: center;
}

/* قیمت محصول */
.woocommerce ul.products li.product .price {
    font-size: 14px !important;  /* اندازه دلخواه */
    font-weight: 500 !important;
    color: #4a4a4a !important;   /* رنگ دلخواه */
    text-align: center;
    margin-bottom: 10px;
}

/* دکمه افزودن به سبد خرید */
.woocommerce ul.products li.product .button {
    background-color: #d4af37 !important;  /* رنگ دلخواه */
    color: #0a0a23 !important;
    font-size: 14px !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    text-align: center;
    display: block;
    margin: 0 auto;
    transition: background-color 0.3s ease;
}

.woocommerce ul.products li.product .button:hover {
    background-color: #0a0a23 !important;
    color: #d4af37 !important;
}

/* استایل ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .woocommerce ul.products li.product {
        width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products li.product {
        width: 100%;
    }
}
/* دکمه Add to Cart – ظاهر لوکس طلایی */
.woocommerce a.button.add_to_cart_button,
.woocommerce button.button.single_add_to_cart_button {
    background-color: #d4af37 !important; /* طلایی */
    color: #0a0a23 !important; /* سرمه‌ای تیره */
    border: none !important;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

/* حالت Hover */
.woocommerce a.button.add_to_cart_button:hover,
.woocommerce button.button.single_add_to_cart_button:hover {
    background-color: #0a0a23 !important; /* طلایی تیره‌تر */
    color: #d4af37 !important;
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* دکمه View Cart یا سایر دکمه‌های ووکامرس */
.woocommerce a.button.alt,
.woocommerce button.button.alt {
    background-color: #0a0a23 !important; /* سرمه‌ای تیره */
    color: #d4af37 !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
    background-color: #d4af37 !important;
    color: #0a0a23 !important;
}
/* تنظیم اندازه قیمت‌ها در فروشگاه و محصول تکی */
.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price del,
.woocommerce div.product p.price ins,
.woocommerce div.product p.price del {
    font-size: 0.95em !important;  /* اندازه نرمال */
    line-height: 1.2em;
}

.woocommerce div.product p.price ins {
    color: #d4af37 !important;  /* طلایی */
    font-weight: 600;
}

.woocommerce div.product p.price del {
    color: #777 !important;
    opacity: 0.7;
}
