/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.add-to-cart-form {width:100%}
.add_to_cart_button {background-color:rgb(110,205,113)!important;width:100%;border-radius:5px;  transition: all 0.3s ease, transform 0.2s ease;
  box-shadow: 0 3px 6px rgba(110, 205, 113, 0.3);}
.add_to_cart_button:hover {
  background-color: #20BF50 !important;
  color: #fff !important;
  border-radius: 10px;
  width: 95%;
  margin: 0 auto;
  display: block;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 5px 12px rgba(32, 191, 80, 0.4);
}

.add_to_cart_button:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 6px rgba(32, 191, 80, 0.3);
}
.wd-shop-tools .woocommerce-ordering.wd-style-underline select {max-width:300px}

/* 🌸 استایل زیبا و زنانه برای صفحات مقاله (کلاس post-single-page) 🌸 */
.post-single-page {
  font-family: 'Vazirmatn', Tahoma, system-ui;
  color: #2c2c30;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  padding: 28px 30px;
  line-height: 1.9;
  font-size: 1.02rem;
  direction: rtl;
}

/* عناوین */
.post-single-page h1,
.post-single-page h2,
.post-single-page h3,
.post-single-page h4,
.post-single-page h5,
.post-single-page h6 {
  font-weight: 700;
  color: #1f1f25;
  line-height: 1.4;
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
}

.post-single-page h1 { font-size: 2rem; border-right: 5px solid #ffd9ea; padding-right: 10px; }
.post-single-page h2 { font-size: 1.6rem; border-right: 4px solid #ffbad4; padding-right: 8px; }
.post-single-page h3 { font-size: 1.3rem; color: #444; }
.post-single-page h4 { font-size: 1.1rem; color: #666; }

.post-single-page p {
  margin: 1rem 0;
  text-align: justify;
  color: #3d3d42;
}

/* تصاویر درون مقاله (همه وسط‌چین) */
.post-single-page img {
  display: block;
  margin: 1.2rem auto;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

/* figure و caption */
.post-single-page figure {
  margin: 1.5rem auto;
  text-align: center;
}
.post-single-page figcaption {
  color: #999;
  font-size: 0.9rem;
  margin-top: 8px;
}

/* لیست‌ها */
.post-single-page ul,
.post-single-page ol {
  padding-right: 1.4rem;
  margin: 1rem 0;
}
.post-single-page li {
  margin-bottom: 0.5rem;
}
.post-single-page ul li::marker {
  color: #ff6fa3;
}

/* نقل‌قول‌ها */
.post-single-page blockquote {
  border-right: 4px solid #ff6fa3;
  background: linear-gradient(90deg, rgba(255, 111, 163, 0.07), transparent);
  padding: 14px 20px;
  border-radius: 12px;
  color: #4b4b4f;
  font-style: italic;
  margin: 1.4rem 0;
}

/* لینک‌ها */
.post-single-page a {
  color: #ff6fa3;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.post-single-page a:hover {
  color: #e4518b;
  text-decoration: underline;
}

/* متن بولد یا هایلایت */
.post-single-page strong {
  color: #111;
  font-weight: 700;
}
.post-single-page em {
  color: #777;
}
.post-single-page mark {
  background: #fff0f5;
  color: #d8006b;
  padding: 0 4px;
  border-radius: 4px;
}

/* جدول‌ها */
.post-single-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.97rem;
}
.post-single-page th,
.post-single-page td {
  padding: 10px;
  border: 1px solid #f2f2f2;
  text-align: right;
}
.post-single-page th {
  background: #fff0f8;
  color: #d8006b;
}

/* فاصله بین بخش‌ها */
.post-single-page > *:first-child { margin-top: 0; }
.post-single-page > *:last-child { margin-bottom: 0; }

/* باکس نکته یا اطلاع (کلمات شامل \"نکته\") */
.post-single-page p:has(strong:contains("نکته")),
.post-single-page div:has(strong:contains("نکته")) {
  background: #fff4f8;
  border-right: 4px solid #ff6fa3;
  border-radius: 12px;
  padding: 10px 14px;
  margin: 1rem 0;
  color: #4b4b4b;
}

/* دکمه‌ها (درصورت وجود لینک‌های با کلاس btn) */
.post-single-page .btn {
  display: inline-block;
  background: #ff6fa3;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 111, 163, 0.2);
  transition: background 0.3s;
}
.post-single-page .btn:hover {
  background: #e4518b;
}



.product-breadcrumb span, .product-breadcrumb span a {font-size:12px}
.english-product-name {text-align:left;margin:0}
.elementor-widget-wd_single_product_title h1 {text-align:right;font-size:20px !important}






/* واکنش‌گرا */
@media (max-width: 768px) {
	.woocommerce-ordering.wd-ordering-mb-icon select option {color:#000}
  .post-single-page {
    padding: 20px;
    font-size: 0.98rem;
  }
:is(.btn,.button,button,[type="submit"],[type="button"]) {padding: 5px 10px}
  .product-wrapper {height:300px !important}
  .wd-products[class*="wd-stretch-cont"] .wd-product :is(.price,.wrap-price,.product-rating-price) {margin-top:0 !important;height:40px}
  
  .post-single-page h1 { font-size: 1.6rem; }
  .post-single-page h2 { font-size: 1.3rem; }
}
