.elementor-29146 .elementor-element.elementor-element-0e396c1{--display:flex;}.elementor-29146 .elementor-element.elementor-element-a560d38{--display:flex;}.elementor-widget-theme-archive-title .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-widget-wc-categories .woocommerce .woocommerce-loop-category__title{color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-wc-categories .woocommerce-loop-category__title .count{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-29146 .elementor-element.elementor-element-b07a08f .product{text-align:right;}.elementor-29146 .elementor-element.elementor-element-b07a08f.elementor-wc-products  ul.products{grid-column-gap:30px;grid-row-gap:40px;}.elementor-29146 .elementor-element.elementor-element-14be6ee{--display:flex;}.elementor-widget-loop-grid .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-loop-grid .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-loop-grid .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-29146 .elementor-element.elementor-element-2911782{--grid-columns:4;}.elementor-29146 .elementor-element.elementor-element-2911782 .elementor-loop-container{grid-auto-rows:1fr;}.elementor-29146 .elementor-element.elementor-element-2911782 .e-loop-item > .elementor-section, .elementor-29146 .elementor-element.elementor-element-2911782 .e-loop-item > .elementor-section > .elementor-container, .elementor-29146 .elementor-element.elementor-element-2911782 .e-loop-item > .e-con, .elementor-29146 .elementor-element.elementor-element-2911782 .e-loop-item .elementor-section-wrap  > .e-con{height:100%;}.elementor-29146 .elementor-element.elementor-element-2911782 .elementor-pagination{font-family:"yekanbakh", Sans-serif;font-weight:400;}body:not(.rtl) .elementor-29146 .elementor-element.elementor-element-2911782 .elementor-pagination .page-numbers:not(:first-child){margin-left:calc( 10px/2 );}body:not(.rtl) .elementor-29146 .elementor-element.elementor-element-2911782 .elementor-pagination .page-numbers:not(:last-child){margin-right:calc( 10px/2 );}body.rtl .elementor-29146 .elementor-element.elementor-element-2911782 .elementor-pagination .page-numbers:not(:first-child){margin-right:calc( 10px/2 );}body.rtl .elementor-29146 .elementor-element.elementor-element-2911782 .elementor-pagination .page-numbers:not(:last-child){margin-left:calc( 10px/2 );}.elementor-29146 .elementor-element.elementor-element-5184436{--display:flex;}.elementor-29146 .elementor-element.elementor-element-d38b110{text-align:start;}@media(max-width:1024px){.elementor-29146 .elementor-element.elementor-element-2911782{--grid-columns:2;}}@media(max-width:767px){.elementor-29146 .elementor-element.elementor-element-2911782{--grid-columns:1;}}/* Start custom CSS for container, class: .elementor-element-0e396c1 *//* ==========================================================
   هوفر — استایل آرشیو محصولات (دسته‌بندی ووکامرس)
   Elementor > تنظیمات صفحه > Custom CSS
   • فونت‌ها دست‌نخورده‌اند؛ همه‌جا از تایپوگرافی پیش‌فرض المنتور ارث می‌برد.
   • باکس توضیحات (.prd-archive-text) هیچ پدینگ/مارجین/سایز فونتی از این فایل نمی‌گیرد.
   ========================================================== */

.prd-archive {
  --ink:        #17130F;
  --ink-soft:   #4A423A;
  --muted:      #857A6E;
  --line:       #EAE4DC;
  --surface:    #FAF8F5;
  --accent:     #97551F;
  --accent-ink: #6E3D14;
  --radius: 14px;
}

/* ---------- چیدمان: بخش‌ها زیر هم و تمام‌عرض ---------- */
.prd-archive > .e-con-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}
.prd-archive > .e-con-inner > .e-con {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto;
}

/* ---------- عنوان دسته و بردکرامب ---------- */
.prd-archive .elementor-page-title .elementor-heading-title {
  position: relative;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  padding-inline-start: 15px;
}
.prd-archive .elementor-page-title .elementor-heading-title::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.35em;
  width: 5px;
  height: 0.8em;
  border-radius: 5px;
  background: var(--accent);
}

.prd-archive .woocommerce-breadcrumb {
  color: var(--muted);
  margin: 0 0 26px;
}
.prd-archive .woocommerce-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.prd-archive .woocommerce-breadcrumb a:hover { color: var(--accent); }

/* ==========================================================
   دسته‌بندی‌ها — چیپ متنی ساده، بدون کارت و بدون تصویر
   (li دسته‌ها هم کلاس product دارد، پس همه‌ی استایل‌های
    کارت محصول با :not(.product-category) از آن‌ها دور نگه داشته شده)
   ========================================================== */
.prd-archive .elementor-widget-wc-categories .woocommerce,
.prd-archive .elementor-widget-wc-categories ul.products {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
  padding: 0;
  border: 0;
  list-style: none;
}

.prd-archive li.product-category {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
  float: none !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.prd-archive li.product-category::before,
.prd-archive li.product-category::after { content: none !important; }

/* تصویر پلیس‌هولدر ووکامرس حذف می‌شود */
.prd-archive li.product-category img { display: none !important; }

.prd-archive li.product-category > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.prd-archive li.product-category > a:hover {
  border-color: var(--accent);
  background: #fff;
}
.prd-archive .woocommerce-loop-category__title {
  margin: 0 !important;
  padding: 0 !important;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.prd-archive li.product-category > a:hover .woocommerce-loop-category__title { color: var(--accent); }
.prd-archive .woocommerce-loop-category__title .count {
  background: transparent;
  color: var(--muted);
  font-weight: 400;
  padding: 0;
  margin-inline-start: 4px;
}

/* ---------- نوار مرتب‌سازی ---------- */
.prd-archive .elementor-widget-wc-archive-products .woocommerce {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.prd-archive .woocommerce-notices-wrapper { flex: 1 1 100%; margin: 0; }
.prd-archive .woocommerce-result-count,
.prd-archive .woocommerce-ordering {
  margin: 0;
  float: none !important;
}
.prd-archive .woocommerce-result-count {
  flex: 1 1 auto;
  color: var(--muted);
}
.prd-archive .woocommerce-ordering select.orderby {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s;
}
.prd-archive .woocommerce-ordering select.orderby:hover,
.prd-archive .woocommerce-ordering select.orderby:focus {
  border-color: var(--accent);
  outline: none;
}

/* ==========================================================
   گرید محصولات
   ========================================================== */
.prd-archive .elementor-widget-wc-archive-products ul.products {
  flex: 1 1 100%;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.prd-archive ul.products li.product:not(.product-category) {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  height: 100%;
  margin: 0 !important;
  width: auto !important;
  float: none !important;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 12px 16px;
  text-align: start;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.prd-archive ul.products li.product:not(.product-category):hover {
  border-color: #D9CFC2;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(23, 19, 15, .07);
}

/* لینک محصول = تصویر + عنوان + قیمت */
.prd-archive .woocommerce-loop-product__link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  width: 100%;
  text-decoration: none;
}

.prd-archive ul.products li.product:not(.product-category) img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  background: var(--surface);
  margin: 0 0 14px;
}

/* عنوان: همیشه دو خط جا می‌گیرد تا قیمت‌ها هم‌تراز بمانند */
.prd-archive .woocommerce-loop-product__title {
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-weight: 700;
  color: var(--ink);
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.6em;
}
.prd-archive ul.products li.product:not(.product-category):hover .woocommerce-loop-product__title {
  color: var(--accent);
}

.prd-archive ul.products li.product:not(.product-category) .price {
  display: block !important;
  margin: auto 0 0 !important;   /* قیمت به کف لینک می‌چسبد */
  font-weight: 800;
  color: var(--ink);
}
.prd-archive ul.products li.product:not(.product-category) .price del {
  font-weight: 400;
  color: var(--muted);
  margin-inline-end: 8px;
}
.prd-archive ul.products li.product:not(.product-category) .price ins {
  text-decoration: none;
  color: var(--accent);
}
.prd-archive .woocommerce-Price-currencySymbol {
  font-weight: 400;
  color: var(--muted);
  margin-inline-start: 4px;
}

/* دکمه: همیشه تمام‌عرض و آخرین عنصر کارت */
.prd-archive ul.products li.product:not(.product-category) a.button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  flex: 0 0 auto !important;
  margin: 14px 0 0 !important;
  padding: 0 16px !important;
  min-height: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.prd-archive ul.products li.product:not(.product-category) a.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.prd-archive ul.products li.product a.added_to_cart,
.prd-archive ul.products li.product .screen-reader-text { display: none !important; }

/* برچسب‌های وضعیت */
.prd-archive ul.products li.product.outofstock::before {
  content: "ناموجود";
  position: absolute;
  top: 20px;
  inset-inline-start: 20px;
  z-index: 2;
  background: rgba(23, 19, 15, .78);
  backdrop-filter: blur(6px);
  color: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .78em;
  font-weight: 700;
  line-height: 1.9;
}
.prd-archive ul.products li.product.outofstock img { opacity: .72; }

.prd-archive ul.products li.product span.onsale {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  inset-inline-start: auto;
  z-index: 2;
  min-height: 0;
  min-width: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  margin: 0;
  font-size: .78em;
  font-weight: 700;
  line-height: 1.9;
}

/* ==========================================================
   توضیحات دسته‌بندی — .prd-archive-text
   فقط مکانیزم جمع‌شدن و دکمه. تایپوگرافی، پدینگ و مارجین
   کاملاً در اختیار خودت / تنظیمات المنتور است.
   ========================================================== */
.prd-archive-text { position: relative; }
.prd-archive-text .term-description { position: relative; }

/* حالت جمع‌شده — متن در DOM باقی می‌ماند، فقط بصری کوتاه می‌شود (بی‌اثر روی سئو) */
.prd-archive-text.is-collapsed .term-description {
  max-height: var(--collapsed-height, 300px);
  overflow: hidden;
}
.prd-archive-text.is-collapsed .term-description::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,.9) 60%, #fff 100%);
}

.prd-archive-text .term-toggle {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}
.prd-archive-text.is-collapsed .term-toggle { margin-top: -52px; }

.prd-archive-text .term-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 24px;
  min-height: 44px;
  font: inherit;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.prd-archive-text .term-toggle button:hover {
  border-color: var(--accent);
  background: var(--surface);
}
.prd-archive-text .term-toggle button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-inline-end: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s;
}
.prd-archive-text .term-toggle button[aria-expanded="true"]::after {
  transform: rotate(-135deg) translateY(-2px);
}

/* ---------- صفحه‌بندی ---------- */
.prd-archive .woocommerce-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 44px 0 0;
  padding: 32px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.prd-archive .woocommerce-pagination ul.page-numbers li { border: 0; margin: 0; }
.prd-archive .woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.prd-archive .woocommerce-pagination a.page-numbers:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}
.prd-archive .woocommerce-pagination .page-numbers.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 1024px) {
  .prd-archive .elementor-widget-wc-archive-products ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .prd-archive .elementor-widget-wc-categories ul.products { gap: 8px; margin-bottom: 26px; }
  .prd-archive li.product-category > a { padding: 8px 16px; }

  .prd-archive .elementor-widget-wc-archive-products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .prd-archive ul.products li.product:not(.product-category) { padding: 10px 10px 14px; }
  .prd-archive ul.products li.product:not(.product-category) a.button {
    min-height: 38px;
    margin-top: 10px !important;
  }
  .prd-archive ul.products li.product.outofstock::before { top: 16px; inset-inline-start: 16px; }

  .prd-archive .woocommerce-ordering,
  .prd-archive .woocommerce-ordering select.orderby { width: 100%; }

  .prd-archive-text.is-collapsed .term-description { max-height: var(--collapsed-height-mobile, 240px); }
}

/* ---------- دسترس‌پذیری ---------- */
.prd-archive a:focus-visible,
.prd-archive button:focus-visible,
.prd-archive select:focus-visible,
.prd-archive-text button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .prd-archive * { transition: none !important; }
  .prd-archive ul.products li.product:not(.product-category):hover { transform: none; }
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'yekanbakh';
	font-style: normal;
	font-weight: 400;
	font-display: auto;
	src: url('https://new.houfercoffee.com/wp-content/uploads/2026/07/Yekan-Bakh-FaNum-04-Regular.woff') format('woff');
}
/* End Custom Fonts CSS */