.elementor-7288 .elementor-element.elementor-element-9f96456.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-7288 .elementor-element.elementor-element-9f96456.elementor-wc-products ul.products li.product span.onsale{display:block;}@media(max-width:950px){.elementor-7288 .elementor-element.elementor-element-9f96456.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(max-width:600px){.elementor-7288 .elementor-element.elementor-element-9f96456.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}/* Start custom CSS for theme-archive-title, class: .elementor-element-808fb2a *//* کانتینر عنوان بایگانی با پس‌زمینه آبی و افکت گرافیکی */
.archive-title-box {
    position: relative;
    width: 100%;
    padding: 40px 20px; /* فاصله اطراف متن */
    background: linear-gradient(135deg, #02234D 0%, #0a4b9e 100%);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(2,35,77,0.4);
    margin: 20px 0;
}

/* افکت گرافیکی پس‌زمینه (دایره‌های نورانی) */
.archive-title-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 30%);
    z-index: 1;
}

/* متن عنوان با گرادیان و سایه */
.archive-title-box .elementor-heading-title {
    position: relative;
    z-index: 2;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;

    background: linear-gradient(to bottom, #ffffff 0%, #dceeff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    filter: drop-shadow(0px 4px 0px rgba(0,0,0,0.3))
            drop-shadow(0px 0px 15px rgba(255,255,255,0.3));
}

/* --- ریسپانسیو --- */
@media (max-width: 1024px) {
    .archive-title-box .elementor-heading-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .archive-title-box {
        padding: 20px 15px;
        border-radius: 10px;
    }
    .archive-title-box .elementor-heading-title {
        font-size: 1.8rem;
        letter-spacing: 0;
    }
}/* End custom CSS */
/* Start custom CSS for wc-archive-products, class: .elementor-element-9f96456 *//* ----------------------------------------------------------- گرید محصولات (ریسپانسیو) ----------------------------------------------------------- */
ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important; /* دسکتاپ */
  gap: 10px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

@media (max-width: 1199px) {
  ul.products {
    grid-template-columns: repeat(3, 1fr) !important; /* تبلت 5 تا ستون */
  }
}

@media (max-width: 767px) {
  ul.products {
    grid-template-columns: repeat(2, 1fr) !important; /* موبایل دو ستون */
  }
}

/* ----------------------------------------------------------- کارت محصول ----------------------------------------------------------- */
ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  height: 400px !important; /* دسکتاپ */
  border: 1px solid #eee !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background-color: #fff !important;
}

/* ارتفاع کارت‌ها ریسپانسیو */
@media (max-width: 767px) {
  ul.products li.product {
    height: 380px !important; /* تبلت */
  }
}

@media (max-width: 640px) {
  ul.products li.product {
    height: 350px !important; /* موبایل */
    width: auto !important;      /* اجازه بده کارت در دو ستون جا شود */
    max-width: 100% !important;
  }

  ul.products li.product article.uk-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important; /* کارت کل ستون را پر کند نه کل ردیف */
  }

  /* بخش پایین کارت را محدود کن */
  ul.products li.product .bottom-inner.uk-flex {
    flex: none !important;
  }
}

/* ----------------------------------------------------------- بدنه کارت ----------------------------------------------------------- */
.uk-card-body {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  padding: 10px !important;
  box-sizing: border-box !important;
  position: relative !important;
}

figure.thumbnail {
  order: 1 !important;
  flex-shrink: 0 !important;
}

a.title-col-main {
  order: 2 !important;
  margin-top: 6px !important;
}

.bottom-inner {
  order: 3 !important;
  margin-top: auto !important;
  padding-top: 5px !important;
  border-top: 1px solid #eee !important;
}

/* ----------------------------------------------------------- تصویر محصول ----------------------------------------------------------- */
figure.thumbnail {
  width: 100% !important;
  height: 200px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  margin: 0 0 8px !important;
}

@media (max-width: 767px) {
  figure.thumbnail {
    height: 180px !important;
  }
}

@media (max-width: 640px) {
  figure.thumbnail {
    height: 150px !important;
  }
}

figure.thumbnail img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* ----------------------------------------------------------- عنوان محصول ----------------------------------------------------------- */
h5.card-title {
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
  color: #222 !important;
  margin: 0 0 4px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: calc(1.45em * 2) !important;
}

/* ----------------------------------------------------------- بخش پایین کارت ----------------------------------------------------------- */
.bottom-inner {
  padding-top: 4px !important;
  margin-top: auto !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

@media (max-width: 1199px) {
  .bottom-inner .btn-icon,
  .bottom-inner .product-add-to-cart {
    transform: scale(0.9) !important;
    margin-right: 4px !important;
  }
}

@media (max-width: 767px) {
  .bottom-inner .btn-icon,
  .bottom-inner .product-add-to-cart {
    transform: scale(0.85) !important;
    margin-right: 3px !important;
  }
}

/* ----------------------------------------------------------- بج‌ها / لیبل‌ها ----------------------------------------------------------- */
.nortek-glass-badge {
  position: absolute !important;
  z-index: 10 !important;
}








/* -------- بخش مرتب‌سازی / تب‌ها -------- */
.woocommerce-ordering {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #4193DB 0%, #6AB7F5 100%); /* آبی فیروزه‌ای */
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(65, 147, 219,0.3);
    margin-bottom: 15px;
}

.woocommerce-ordering .uk-tab {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-ordering .uk-tab li a {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.woocommerce-ordering .uk-tab li.uk-active a,
.woocommerce-ordering .uk-tab li a:hover {
    background-color: #A6D1FF; /* فیروزه‌ای روشن هاور */
    color: #1A3C6D; /* متن آبی تیره */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* آیکون‌های view list/grid */
.woocommerce-ordering .woocommerce-ordering-btn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    padding: 6px 10px;
    margin-left: 5px;
    border-radius: 8px;
    background-color: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.woocommerce-ordering .woocommerce-ordering-btn a:hover {
    background-color: #A6D1FF;
    color: #1A3C6D;
}

/* -------- بخش نمایش تعداد نتایج -------- */
.woocommerce-result-count {
    display: inline-block;
    background: linear-gradient(135deg, #6AB7F5 0%, #4193DB 100%); /* فیروزه‌ای به آبی */
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 14px;
    border-radius: 12px;
    box-shadow: 0 5px 12px rgba(65,147,219,0.3);
    margin-bottom: 15px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .woocommerce-ordering {
        flex-direction: column;
        gap: 10px;
    }
    .woocommerce-result-count {
        display: block;
        text-align: center;
    }
}/* End custom CSS */