/*
 Theme Name: hello-elementor
 Template: hello-elementor
*/


.woocommerce-loop-category__title mark.count {
    display: none;
}
.woocommerce-variation-price {
  font-family: IRDana, sans-serif; /* یا فونت دلخواه شما */
  font-size: 18px;
  font-weight: 700;
  color: #888;
  margin-top: 10px;
	margin-right: 200px;
	margin-bottom: 10px;
  display: block;
}

.loop-product-attributes-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 10px;
  font-size: 13px;
  color: #555;
  font-family: IRDana, sans-serif; /* ✅ این خط باعث میشه فونت از والد بگیره */
}

.loop-product-attributes-table th,
.loop-product-attributes-table td {
  padding: 3px 6px;
  border-bottom: 1px solid #eee;
}

.loop-product-attributes-table th {
  font-weight: 600;
  color: #333;
  text-align: right;
  white-space: nowrap;
  font-family: IRDana, sans-serif; /* ✅ این خط باعث میشه فونت از والد بگیره */
}

.loop-product-attributes-table td {
  text-align: right;
}


.loop-variable-prices {
  list-style: none;
  margin: 10px 0;
  padding: 0;
  font-size: 13px;
  color: #444;
}

.loop-variable-prices li {
  margin-bottom: 4px;
  border-bottom: 1px dashed #eee;
  padding-bottom: 2px;
   font-family: IRDana, sans-serif;
}

@media (max-width: 768px) {
  .woocommerce ul.products,
  .elementor-widget-woocommerce-products ul.products {
    display: grid !important;
    grid-template-columns: 1fr !important; /* فقط یک ستون */
    gap: 20px !important; /* فاصله بین محصولات */
  }

  .woocommerce ul.products li.product,
  .elementor-widget-woocommerce-products ul.products li.product {
    width: 100% !important;
    margin: 0 auto !important;
  }
}

/* کانتینر مرتب‌سازی – چیدمان و فاصله */
.woocommerce-ordering {
    display: flex;
    justify-content: flex-end; /* بیاد سمت راست */
    margin: 0 0 20px 0;
}

/* استایل خود سلکت مرتب‌سازی */
.woocommerce-ordering select,
.woocommerce-ordering select[name="orderby"] {
    padding: 10px 40px 10px 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #ffffff;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: all .2s ease;
    /* حذف استایل پیش‌فرض مرورگر */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* هاور و فوکوس */
.woocommerce-ordering select:hover {
    border-color: #999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.woocommerce-ordering select:focus {
    border-color: #555;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.12);
}

/* فلش سفارشی برای سلکت */
.woocommerce-ordering {
    position: relative;
}


/* برای استایل مرتب سازی محصولات */
/* کانتینر مرتب‌سازی – چیدمان و فاصله */
.woocommerce-ordering {
    display: flex;
    justify-content: flex-end; /* بره سمت راست */
    margin: 0 0 20px 0;
    position: relative;
}

/* خود سلکت مرتب‌سازی */
.woocommerce-ordering select,
.woocommerce-ordering select[name="orderby"] {
    padding: 10px 40px 10px 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #ffffff;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: all .2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* هاور و فوکوس */
.woocommerce-ordering select:hover,
.woocommerce-ordering select[name="orderby"]:hover {
    border-color: #999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.woocommerce-ordering select:focus,
.woocommerce-ordering select[name="orderby"]:focus {
    border-color: #555;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.12);
}

/* فلش سفارشی */
.woocommerce-ordering select,
.woocommerce-ordering select[name="orderby"] {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7L10 12L15 7' stroke='%23333' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center; /* چون RTL هست */
    background-size: 14px;
	font-family: IRDana, sans-serif;; /* ✅ این خط باعث میشه فونت از والد بگیره */
}




