   @font-face {
  font-family: 'IRANSansWeb';
  src: url('fonts/IRANSansWeb.eot');
  src: url('fonts/IRANSansWeb.woff2') format('woff2'),
  url('fonts/IRANSansWeb.woff') format('woff'),
  url('fonts/IRANSansWeb.ttf') format('truetype'),
  url('fonts/IRANSansWeb.svg#IRANSansWeb') format('svg'),
  url('fonts/IRANSansWeb.eot?#iefix') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
}
*{
  font-family: IRANSansWeb !important;
}
a{
  text-decoration: none !important;
}
   body {
      font-family: 'Vazirmatn', sans-serif;
      background-color: #f2f2f2;
    }

    .main-banner {
      background: linear-gradient(to left, #cde8f6, #ffffff);
      padding: 60px 20px;
      text-align: center;
      border-radius: 20px;
      margin-bottom: 2rem;
    }

    .main-banner h1 {
      font-size: 2.5rem;
      font-weight: bold;
      color: #2a2a2a;
    }

    .main-banner p {
      color: #666;
      font-size: 1.2rem;
    }

    .product-card {
      background-color: #ffffffcc;
      border-radius: 20px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
      overflow: hidden;
      transition: transform 0.3s;
    }

    .product-card:hover {
      transform: scale(1.02);
    }

    .product-card img {
      width: 100%;
      height: 370px;
      object-fit: cover;
    }

    .btn-shop {
      background-color: #9ed8b6;
      color: white;
    }

    .btn-shop:hover {
      background-color: #7ccaa0;
    }

    footer {
      background-color: #cde8f6;
      text-align: center;
      padding: 2rem;
      margin-top: 3rem;
      color: #333;
      border-top: 2px solid #b4d8ea;
    }

    a {
      text-decoration: none;
    }

    /* strat wooc shop page  */
    /* کلیات */
.woocommerce {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 16px;
}

/* متن نمایش تعداد نتایج */
.woocommerce-result-count {
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
  font-size: 1.1rem;
}

/* مرتب‌سازی */
.woocommerce-ordering {
  margin-bottom: 25px;
}
.woocommerce-ordering select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  transition: 0.3s;
}
.woocommerce-ordering select:hover {
  border-color: #999;
}

/* لیست محصولات */
.products {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 25px;
}

/* هر محصول */
.product {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 15px;
  /* text-align: center; */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* عنوان محصول */
.woocommerce-loop-product__title {
  font-size: 1.1rem;
  margin: 12px 0;
  color: #222;
  min-height: 45px;
}

/* قیمت */
.price {
  color: #28a745;
  font-weight: bold;
  margin-bottom: 12px;
  display: block;
}

/* دکمه افزودن به سبد خرید */
.add_to_cart_button {
  background-color: #007bff;
  color: white;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
  font-weight: bold;
}
.add_to_cart_button:hover {
  background-color: #0056b3;
}

/* مشاهده سبد خرید */
.added_to_cart {
  display: block;
  margin-top: 10px;
  color: #555;
  font-size: 0.9rem;
}

/* تصاویر محصولات */
.product img {
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}
.product img:hover {
  transform: scale(1.05);
}
/* end wooc shop page  */

    /* start wooc page  */
    /* استایل کلی بخش سبد خرید */
.container.py-4 {
  background: #fdfdfd;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* تیتر اصلی */
.container.py-4 h1 {
  font-size: 2rem;
  color: #444;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* پیام سبد خالی */
.wp-block-woocommerce-empty-cart-block h2 {
  font-size: 1.3rem;
  color: #888;
  margin-top: 1rem;
}

/* جداساز نقطه‌ای */
.wp-block-separator.is-style-dots {
  margin: 2rem auto;
  max-width: 200px;
  border-top: 2px dotted #ccc;
}















/* //////////////////////////////////// */
.wp-block-woocommerce-cart {
  /* display: flex; */
  gap: 20px; /* فاصله بین بخش‌ها */
  flex-wrap: wrap; /* اجازه می‌دهد در موبایل هم ریسپانسیو باشد */
  align-items: flex-start; /* چینش عمودی در یک ردیف */
}

/* بخش جدول محصولات */
.wc-block-cart__main {
  flex: 2 1 600px; /* فضای بیشتر، حداقل 600 پیکسل */
  min-width: 300px;
}

/* بخش جمع کل و کوپن */
.wc-block-cart__sidebar {
  flex: 1 1 300px; /* فضای کمتر */
  min-width: 250px;
}

/* دکمه پرداخت */
.wc-block-cart__submit-container {
  flex: 0 0 200px; /* ثابت 200 پیکسل */
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

/* استایل کلی دکمه */
.wc-block-cart__submit-button {
  width: 100%;
  padding: 12px 20px;
  background-color: #1e88e5; /* آبی جذاب */
  color: white;
  font-weight: bold;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgb(30 136 229 / 0.4);
  transition: background-color 0.3s ease;
}

.wc-block-cart__submit-button:hover {
  background-color: #1565c0;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
  .wp-block-woocommerce-cart {
    flex-direction: column;
  }
  .wc-block-cart__main,
  .wc-block-cart__sidebar,
  .wc-block-cart__submit-container {
    flex: 1 1 100%;
    min-width: auto;
  }
  .wc-block-cart__submit-container {
    margin-top: 15px;
  }
   .woocommerce ul.products[class*=columns-] li.product,
  .woocommerce-page ul.products[class*=columns-] li.product {
    width: 100% !important;
  }
  .woocommerce-result-count {
  font-size: 0.95rem;
  color: #6c757d;
}

.woocommerce-ordering select {
  min-width: 180px;
  border-radius: 8px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
}
form.woocommerce-ordering
,p.woocommerce-result-count {
    float: none !important;
    text-align: center;
    display: block;
    width: 100%;
}
}


/* جدول محصولات */
.wc-block-cart-items {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 15px;
  margin-bottom: 30px;
}

.wc-block-cart-items th,
.wc-block-cart-items td {
  padding: 12px 15px;
  vertical-align: middle;
}

.wc-block-cart-items thead th {
  text-align: left;
  border-bottom: 2px solid #eee;
  color: #555;
  font-weight: 600;
  font-size: 16px;
}

.wc-block-cart-items tbody tr {
  background: #f9f9f9;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.wc-block-cart-items tbody tr:hover {
  background-color: #e0f7fa;
}

.wc-block-cart-item__image img {
  border-radius: 8px;
  max-width: 80px;
  height: auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.wc-block-cart-item__product a {
  font-weight: 600;
  font-size: 17px;
  color: #007acc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.wc-block-cart-item__product a:hover {
  color: #004a80;
}

.wc-block-cart-item__quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wc-block-components-quantity-selector__input {
  width: 50px;
  text-align: center;
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 6px 10px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.wc-block-components-quantity-selector__input:focus {
  outline: none;
  border-color: #007acc;
}

.wc-block-components-quantity-selector__button {
  background-color: #007acc;
  color: white;
  border: none;
  padding: 5px 10px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.wc-block-components-quantity-selector__button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.wc-block-components-quantity-selector__button:hover:not(:disabled) {
  background-color: #005f99;
}

.wc-block-cart-item__remove-link {
  background: transparent;
  color: #e63946;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: color 0.3s ease;
}

.wc-block-cart-item__remove-link:hover {
  color: #a72836;
}

/* بخش سایدبار جمع کل */
.wc-block-cart__sidebar {
  background: #f5f9fc;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: inset 0 0 10px rgba(0, 122, 204, 0.1);
  max-width: 350px;
  margin-left: 30px;
  font-size: 16px;
  color: #222;
}

.wp-block-woocommerce-cart-order-summary-heading-block {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #007acc;
  border-bottom: 2px solid #007acc;
  padding-bottom: 8px;
}

.wc-block-components-totals-wrapper {
  margin-top: 10px;
}

.wc-block-components-totals-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.wc-block-components-totals-item__label {
  font-weight: 600;
}

.wc-block-components-totals-item__value {
  font-weight: 700;
  color: #004a80;
}

.wc-block-components-totals-footer-item {
  font-size: 20px;
  font-weight: 900;
  color: #007acc;
  border-top: 2px solid #007acc;
  margin-top: 15px;
  padding-top: 15px;
}

/* دکمه پرداخت */
.wc-block-cart__submit-button {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 15px 0;
  background: linear-gradient(90deg, #007acc, #004a80);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0, 122, 204, 0.4);
  transition: background 0.3s ease;
  user-select: none;
}

.wc-block-cart__submit-button:hover {
  background: linear-gradient(90deg, #004a80, #007acc);
}

/* ریسپانسیو */
@media (max-width: 900px) {
  .wc-block-components-sidebar-layout {
    flex-direction: column;
  }

  .wc-block-cart__sidebar {
    max-width: 100%;
    margin: 20px 0 0 0;
  }

  .wc-block-cart-items {
    font-size: 14px;
  }

  .wc-block-cart-item__image img {
    max-width: 60px;
  }

  .wc-block-components-quantity-selector__input {
    width: 40px;
  }
}

    /* end wooc page  */
    /* start comment  */
    #respond {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  font-family: "IRANSans", sans-serif;
  direction: rtl;
}

#respond h3.comment-reply-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #333;
  border-bottom: 2px solid #0d6efd;
  padding-bottom: 0.5rem;
  position: relative;
}

#respond h3.comment-reply-title small {
  font-size: 0.9rem;
  float: left;
}

#respond h3.comment-reply-title small a {
  color: #dc3545;
  font-weight: bold;
  text-decoration: none;
}

#respond p.logged-in-as {
  background-color: #e9ecef;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

#respond .required-field-message {
  display: block;
  margin-top: 0.5rem;
  color: #6c757d;
}

#respond label {
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: inline-block;
}

#respond textarea,#respond #author,#respond #email ,#respond #url{
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #ced4da;
  resize: vertical;
  font-size: 1rem;
  transition: border-color 0.3s ease-in-out;
}

#respond textarea:focus ,#respond #author:focus,#respond #email:focus ,#respond #url:focus{
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

#respond .form-submit {
  margin-top: 1.5rem;
}

#respond .submit {
  background-color: #198754;
  color: #fff;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: background-color 0.3s ease-in-out;
}

#respond .submit:hover {
  background-color: #157347;
  cursor: pointer;
}

/* ============================= */
/* استایل کلی سایدبار */
/* ============================= */
#sidebar {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #343a40; /* رنگ متن اصلی */
  background-color: #fff; /* پس‌زمینه روشن */
  border-radius: 1rem; /* گوشه‌های گرد */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08); /* سایه نرم و عمیق */
  padding: 1.8rem 1.5rem;
  position: sticky;
  top: 2rem;
  max-height: calc(100vh - 4rem);
  overflow-y: auto; /* اسکرول عمودی در صورت زیاد بودن محتوا */
  transition: all 0.3s ease;
}

/* ============================= */
/* بخش‌های داخلی با پس‌زمینه ملایم */
/* ============================= */
#sidebar .position-sticky {
  background-color: #fefefe;
  border: 1px solid #e2e8f0; /* خط دور ظریف و روشن */
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: inset 0 0 10px rgba(100, 100, 100, 0.03);
}

/* ============================= */
/* آیتم‌های لیست ناوبری */
/* ============================= */
#sidebar .nav.flex-column {
  gap: 1rem; /* فاصله بین آیتم‌ها */
}

/* ============================= */
/* پاراگراف‌ها و بلاک‌های متنی */
/* ============================= */
#sidebar .nav-item > p,
#sidebar .nav-item > div {
  background-color: #f7f9fc;
  border: 1px solid #d1d9e6;
  border-radius: 0.75rem;
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: #6c757d;
  text-align: center;
  box-shadow: 0 3px 8px rgba(50, 50, 93, 0.05);
  transition: background-color 0.25s ease, color 0.25s ease;
  user-select: text;
}

/* هایلایت زمان انتشار با رنگ آبی ملایم */
#sidebar .nav-item p.border.my-1 {
  font-weight: 600;
  color: #0d6efd;
  background-color: #e7f1ff;
  border-color: #c3d7ff;
}

/* ============================= */
/* استایل لینک کوتاه مطلب */
/* ============================= */
#linkurl {
  display: block;
  color: #495057;
  font-weight: 700;
  word-break: break-all;
  margin-top: 0.3rem;
  user-select: all; /* برای آسانی کپی */
}

/* ============================= */
/* دکمه کپی لینک */
/* ============================= */
#copyButton {
  background: linear-gradient(135deg, #4caf50, #087f23);
  border: none;
  padding: 0.4rem 1.1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(72, 180, 97, 0.5);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  margin-top: 0.7rem;
  width: 100%;
  user-select: none;
}

#copyButton:hover {
  background: linear-gradient(135deg, #33a035, #045911);
  box-shadow: 0 6px 15px rgba(20, 130, 20, 0.7);
  transform: translateY(-2px);
}

#copyButton:active {
  transform: translateY(0);
  box-shadow: 0 3px 7px rgba(20, 100, 20, 0.6);
}

/* ============================= */
/* دکمه دسته‌بندی */
/* ============================= */
#sidebar .btn-danger {
  background: linear-gradient(135deg, #dc3545, #a52836);
  border: none;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0.75rem;
  padding: 0.6rem 1rem;
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  user-select: none;
}

#sidebar .btn-danger:hover {
  background: linear-gradient(135deg, #a52836, #780f1c);
  box-shadow: 0 7px 20px rgba(140, 20, 30, 0.7);
  transform: translateY(-3px);
}

#sidebar .btn-danger:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(140, 20, 30, 0.6);
}

/* ============================= */
/* استایل تعداد نظرات */
/* ============================= */
#sidebar .list-group-item {
  background-color: #e9f7ef;
  border-radius: 0.75rem;
  padding: 0.9rem 1.2rem;
  font-weight: 600;
  color: #155724;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(21, 87, 36, 0.15);
  margin: 1rem 0;
  user-select: none;
}

/* نشانگر تعداد نظرات */
#sidebar .badge.bg-primary {
  background: linear-gradient(135deg, #007bff, #004a99);
  font-size: 0.85rem;
  padding: 0.45em 0.75em;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 75, 153, 0.5);
  transition: background 0.3s ease;
}

#sidebar .badge.bg-primary:hover {
  background: linear-gradient(135deg, #004a99, #002f5e);
  cursor: default;
}

/* ============================= */
/* بخش گردآورنده */
/* ============================= */
#sidebar .catesearch {
  font-style: italic;
  font-size: 0.85rem;
  color: #6c757d;
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  user-select: none;
  transition: background-color 0.3s ease;
}

#sidebar .catesearch a {
  color: #198754;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

#sidebar .catesearch a:hover {
  color: #0a6640;
  text-decoration: underline;
}

/* ============================= */
/* ریسپانسیو: موبایل و تبلت */
/* ============================= */
@media (max-width: 991px) {
  #sidebar {
    position: static;
    max-height: none;
    box-shadow: none;
    border-radius: 0.7rem;
    margin-bottom: 2rem;
    padding: 1rem;
  }

  #sidebar .position-sticky {
    box-shadow: none;
    border: 1px solid #e2e8f0;
    padding: 1rem;
  }

  #sidebar .nav-item > p,
  #sidebar .nav-item > div {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
  }

  #copyButton, #sidebar .btn-danger {
    font-size: 0.95rem;
    padding: 0.45rem 0.9rem;
  }
}
/* ///// */
.category-section {
  background: linear-gradient(135deg, #f9fafb 0%, #e3f2fd 100%);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px 25px;
  margin-bottom: 50px;
  transition: box-shadow 0.3s ease;
}

.category-section:hover {
  box-shadow: 0 12px 30px rgba(0, 123, 255, 0.3);
}

.category-section h3 {
  color: #007bff;
  font-weight: 700;
  border-bottom: 3px solid #007bff;
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 25px;
}

.category-section a.text-decoration-none {
  color: #0056b3;
  font-weight: 600;
  transition: color 0.3s ease;
}

.category-section a.text-decoration-none:hover {
  color: #003d80;
  text-decoration: underline;
}

/* استایل کارت محصولات داخل هر دسته */

.product-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,123,255,0.3);
}

.product-card img {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.product-card h5 {
  font-weight: 600;
  color: #212529;
}

.product-card p.text-muted {
  font-size: 0.9rem;
  color: #6c757d;
}

.btn-shop {
  background-color: #007bff;
  color: white;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 0;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-shop:hover {
  background-color: #0056b3;
  color: #e2e6ea;
}

/* استایل بخش محتوا */
.content {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.content h2 {
  font-size: 2rem;
  color: #333;
  font-weight: 600;
}

.content p {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
}
.product
 {
    overflow-y: auto !important;
}

/* استایل کلی برای باکس محصول */
.summary.entry-summary {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  direction: rtl;
  font-family: "IRANSans", sans-serif;
}

/* قیمت */
.summary .price {
  font-size: 24px;
  font-weight: bold;
  color: #28a745;
  margin-bottom: 20px;
}

/* فیلد تعداد */
.summary .quantity {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.summary .quantity input[type="number"] {
  width: 100px;
  padding: 6px 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.summary .quantity input[type="number"]:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
  outline: none;
}

/* دکمه افزودن به سبد خرید */
.summary button.single_add_to_cart_button {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  border: none;
  color: white;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  display: inline-block;
}

.summary button.single_add_to_cart_button:hover {
  background: linear-gradient(135deg, #38f9d7 0%, #43e97b 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* متا محصول - دسته‌بندی */
.summary .product_meta {
  margin-top: 24px;
  font-size: 14px;
  color: #666;
}

.summary .product_meta a {
  color: #007bff;
  text-decoration: none;
}

.summary .product_meta a:hover {
  text-decoration: underline;
}
/* کارت محصول کلی */
li.product {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* افکت هنگام هاور */
li.product:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

/* تصویر محصول */
li.product img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

li.product:hover img {
  transform: scale(1.05);
}

/* عنوان محصول */
li.product h2.woocommerce-loop-product__title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

/* قیمت */
li.product .price {
  font-size: 1rem;
  color: #28a745;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

/* دکمه افزودن به سبد خرید */
li.product .add_to_cart_button {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: white !important;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  border: none;
  display: block !important;
  transition: background 0.3s ease;
  margin: 0 4px 5px;
}

li.product .add_to_cart_button:hover {
  background: linear-gradient(135deg, #38f9d7 0%, #43e97b 100%);
}

/* لینک مشاهده سبد خرید */
li.product .added_to_cart {
  font-size: 13px;
  color: #007bff;
  text-decoration: none;
  display: inline-block;
  margin-top: 6px;
}

li.product .added_to_cart:hover {
  text-decoration: underline;
}
.btn-shop {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 10px 18px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(56, 249, 215, 0.3);
}

.btn-shop:hover {
  background: linear-gradient(135deg, #38f9d7 0%, #43e97b 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(56, 249, 215, 0.5);
}

.btn-shop:focus {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(56, 249, 215, 0.4);
}
/* // */
a.added_to_cart.wc-forward {
   background: linear-gradient(135deg, #931da4 0%, #cb1167 100%);
    box-shadow: 0 6px 20px rgba(101, 134, 255, 0.5);
    transform: translateY(-2px);
    text-align: center;
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 10px 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(101, 134, 255, 0.3);
}

a.added_to_cart.wc-forward:hover {
    background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
    box-shadow: 0 6px 20px rgba(101, 134, 255, 0.5);
    transform: translateY(-2px);
}

a.added_to_cart.wc-forward:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(101, 134, 255, 0.4);
}
.woocommerce-MyAccount-navigation {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 20px;
  margin-bottom: 30px;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
  margin-bottom: 12px;
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  background: linear-gradient(to right, #f8f8f8, #f2f2f2);
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li:hover a {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(56, 249, 215, 0.3);
  transform: translateY(-2px);
}

.woocommerce-MyAccount-content {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  font-size: 15px;
  line-height: 1.9;
  color: #444;
}
.woocommerce-MyAccount-navigation {
  flex: 0 0 240px; /* عرض منو */
}

.woocommerce-MyAccount-content {
  flex: 1;
  min-width: 300px;
}

/* در موبایل: زیر هم باشن */
@media (max-width: 768px) {
  .woocommerce{
    flex-direction: column;
  }

  .woocommerce-MyAccount-navigation,
  .woocommerce-MyAccount-content {
    width: 100%;
  }
}
.woocommerce{
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}
