.elementor-265 .elementor-element.elementor-element-f85b849{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for shortcode, class: .elementor-element-e0a0173 *//* =========================================================
   FARAD CONTROL - PRODUCT CATEGORY PAGE
========================================================= */

.farad-category-page{
  --fc-blue:#074667;
  --fc-blue-2:#0a628c;
  --fc-red:#d5301c;
  --fc-red-2:#ef4b37;
  --fc-text:#15313f;
  --fc-muted:#6f8591;
  --fc-bg:#f4f8fb;
  --fc-card:#ffffff;
  --fc-border:#dbe6ec;
  --fc-shadow:0 18px 50px rgba(7,70,103,.08);
  --fc-radius:24px;

  direction: rtl;
  background:
    radial-gradient(circle at 90% 10%, rgba(7,70,103,.05), transparent 20%),
    radial-gradient(circle at 5% 80%, rgba(213,48,28,.05), transparent 18%),
    linear-gradient(180deg,#f9fcfe 0%,#f4f8fb 100%);
  padding: 36px 0 80px;
  font-family: inherit;
  color: var(--fc-text);
}

.farad-category-page *,
.farad-category-page *::before,
.farad-category-page *::after{
  box-sizing:border-box;
}

.farad-category-page a{
  text-decoration:none;
}

.farad-category-page__container{
  width:100%;
  max-width:1400px;
  margin:0 auto;
  padding:0 20px;
}

/* =========================
   HERO
========================= */

.farad-cat-hero{
  position:relative;
  overflow:hidden;
  border-radius:32px;
  padding:38px;
  margin-bottom:28px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.12), transparent 22%),
    linear-gradient(135deg, #052f46 0%, #074667 45%, #0a628c 100%);
  color:#fff;
  box-shadow:0 24px 60px rgba(7,70,103,.18);
}

.farad-cat-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:42px 42px;
  opacity:.18;
  pointer-events:none;
}

.farad-cat-hero__inner{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:36px;
  align-items:center;
}

.farad-cat-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-bottom:16px;
  color:rgba(255,255,255,.72);
  font-size:12px;
  font-weight:700;
}

.farad-cat-breadcrumb a{
  color:rgba(255,255,255,.78);
  transition:.3s;
}

.farad-cat-breadcrumb a:hover{
  color:#fff;
}

.farad-cat-breadcrumb span.sep{
  color:rgba(255,255,255,.45);
}

.farad-cat-hero__badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  margin-bottom:16px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  font-size:12px;
  font-weight:800;
}

.farad-cat-hero__badge::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--fc-red);
  box-shadow:0 0 0 5px rgba(213,48,28,.16);
}

.farad-cat-hero__title{
  margin:0 0 12px;
  font-size:34px;
  line-height:1.35;
  font-weight:950;
  color:#fff;
}

.farad-cat-hero__desc{
  margin:0 0 24px;
  max-width:760px;
  color:rgba(255,255,255,.82);
  font-size:14px;
  line-height:2.1;
}

.farad-cat-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.farad-hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  height:48px;
  padding:0 24px;
  border-radius:16px;
  font-size:13.5px;
  font-weight:900;
  transition:.3s;
  cursor:pointer;
  border:none;
}

.farad-hero-btn--primary{
  background:linear-gradient(135deg, var(--fc-red), var(--fc-red-2));
  color:#fff;
  box-shadow:0 12px 24px rgba(213,48,28,0.25);
}

.farad-hero-btn--primary:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 30px rgba(213,48,28,0.35);
}

.farad-hero-btn--secondary{
  background:rgba(255,255,255,0.12);
  color:#fff;
  border:1px solid rgba(255,255,255,0.18);
  backdrop-filter:blur(6px);
}

.farad-hero-btn--secondary:hover{
  background:#fff;
  color:var(--fc-blue);
  transform:translateY(-2px);
}

.farad-cat-hero__visual{
  display:flex;
  justify-content:center;
  align-items:center;
}

.farad-cat-hero__featured-img-wrap{
  position:relative;
  width:100%;
  max-width:320px;
  aspect-ratio:1 / 1;
  border-radius:28px;
  overflow:hidden;
  border:3px solid rgba(255,255,255,0.18);
  box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.farad-cat-hero__featured-img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.5s ease;
}

.farad-cat-hero__featured-img-wrap:hover .farad-cat-hero__featured-img{
  transform:scale(1.06);
}

/* =========================
   SUB CATEGORIES (GRID)
========================= */

.farad-subcats-section{
  margin-bottom:24px;
}

.farad-subcats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(180px, 1fr));
  gap:16px;
}

.farad-subcat-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:16px;
  background:#fff;
  border:1px solid rgba(7,70,103,.08);
  border-radius:20px;
  box-shadow:0 6px 20px rgba(7,70,103,.02);
  transition:.3s ease;
  text-align:center;
}

.farad-subcat-card:hover{
  transform:translateY(-4px);
  border-color:var(--fc-blue-2);
  box-shadow:0 12px 30px rgba(7,70,103,.08);
}

.farad-subcat-card__img-wrap{
  width:80px;
  height:80px;
  aspect-ratio:1 / 1;
  border-radius:16px;
  overflow:hidden;
  background:var(--fc-bg);
  margin-bottom:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--fc-border);
}

.farad-subcat-card__img-wrap img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.farad-subcat-card__title{
  font-size:12.5px;
  font-weight:900;
  color:var(--fc-text);
  margin:0;
  transition:.3s;
}

.farad-subcat-card:hover .farad-subcat-card__title{
  color:var(--fc-blue);
}

/* =========================
   TOOLBAR
========================= */

.farad-cat-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:24px;
  padding:18px 20px;
  background:rgba(255,255,255,.75);
  border:1px solid rgba(7,70,103,.08);
  border-radius:22px;
  box-shadow:0 10px 30px rgba(7,70,103,.05);
  backdrop-filter:blur(8px);
}

.farad-cat-toolbar__right,
.farad-cat-toolbar__left{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.farad-cat-toolbar__result{
  color:var(--fc-text);
  font-size:13px;
  font-weight:800;
}

.farad-sort{
  display:flex;
  align-items:center;
  gap:10px;
}

.farad-sort label{
  color:var(--fc-muted);
  font-size:12px;
  font-weight:800;
}

.farad-sort select{
  height:44px;
  min-width:190px;
  border-radius:14px;
  border:1px solid var(--fc-border);
  background:#fff;
  color:var(--fc-text);
  padding:0 14px;
  font-family:inherit;
  outline:none;
  font-size:12.5px;
}

/* =========================
   LAYOUT
========================= */

.farad-cat-layout{
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  gap:24px;
  align-items:start;
}

/* =========================
   SIDEBAR
========================= */

.farad-sidebar{
  position:sticky;
  top:20px;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.farad-filter-card{
  background:var(--fc-card);
  border:1px solid rgba(7,70,103,.08);
  border-radius:24px;
  box-shadow:var(--fc-shadow);
  padding:20px;
}

.farad-filter-card__title{
  margin:0 0 16px;
  padding-right:12px;
  position:relative;
  color:var(--fc-text);
  font-size:15px;
  line-height:1.6;
  font-weight:900;
}

.farad-filter-card__title::before{
  content:"";
  position:absolute;
  top:4px;
  right:0;
  width:4px;
  height:18px;
  border-radius:999px;
  background:var(--fc-red);
}

.farad-filter-search{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px;
  border:1px solid var(--fc-border);
  border-radius:16px;
  background:#f9fcfe;
}

.farad-filter-search input{
  width:100%;
  min-width:0;
  height:40px;
  border:0;
  outline:none;
  background:transparent;
  color:var(--fc-text);
  font-family:inherit;
  font-size:12.5px;
  padding:0 10px;
}

.farad-filter-search button{
  width:42px;
  height:40px;
  border:0;
  border-radius:12px;
  background:var(--fc-blue);
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.farad-filter-search button svg{
  width:18px;
  height:18px;
}

.farad-filter-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.farad-filter-option{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 14px;
  border-radius:16px;
  background:#f8fbfd;
  border:1px solid #edf3f7;
  color:var(--fc-text);
  font-size:12.5px;
  font-weight:700;
  transition:.3s;
}

.farad-filter-option:hover{
  border-color:#cfdde6;
  background:#fff;
}

.farad-filter-option span.count{
  min-width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(7,70,103,.08);
  color:var(--fc-blue);
  font-size:11px;
  font-weight:900;
}

.farad-filter-checks{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.farad-check{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--fc-muted);
  font-size:12.5px;
  font-weight:700;
}

.farad-check input{
  accent-color:var(--fc-red);
  width:16px;
  height:16px;
}

.farad-price-box{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.farad-range{
  width:100%;
}

.farad-price-meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:var(--fc-muted);
  font-size:12px;
  font-weight:800;
}

.farad-filter-actions{
  display:flex;
  gap:10px;
  margin-top:16px;
}

.farad-btn{
  height:44px;
  padding:0 18px;
  border-radius:14px;
  border:0;
  cursor:pointer;
  font-family:inherit;
  font-size:12.5px;
  font-weight:800;
  transition:.3s;
}

.farad-btn--primary{
  background:linear-gradient(135deg,var(--fc-red),var(--fc-red-2));
  color:#fff;
  box-shadow:0 14px 28px rgba(213,48,28,.16);
}

.farad-btn--primary:hover{
  transform:translateY(-2px);
}

.farad-btn--light{
  background:#f2f6f9;
  color:var(--fc-text);
}

/* =========================
   PRODUCTS
========================= */

.farad-products{
  min-width:0;
}

.farad-products__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.farad-product-card{
  position:relative;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:26px;
  background:var(--fc-card);
  border:1px solid rgba(7,70,103,.08);
  box-shadow:var(--fc-shadow);
  transition:transform .35s ease, box-shadow .35s ease;
}

.farad-product-card:hover{
  transform:translateY(-8px);
  box-shadow:0 24px 54px rgba(7,70,103,.13);
}

.farad-product-card__media{
  position:relative;
  aspect-ratio: 1 / 1;
  overflow:hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(7,70,103,.08), transparent 26%),
    linear-gradient(180deg,#f7fbfd 0%,#eef5f9 100%);
  display:flex;
  align-items:center;
  justify-content:center;
}

.farad-product-card__media img{
  width:100%;
  height:100%;
  object-fit:contain;
  transition:transform .45s ease;
}

.farad-product-card:hover .farad-product-card__media img{
  transform:scale(1.05);
}

.farad-product-card__badge-wrap{
  position:absolute;
  top:14px;
  right:14px;
  left:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  pointer-events:none;
}

.farad-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:6px 11px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  color:#fff;
}

.farad-badge--sale{
  background:linear-gradient(135deg,var(--fc-red),var(--fc-red-2));
}

.farad-badge--stock{
  background:rgba(7,70,103,.9);
}

.farad-product-card__actions{
  position:absolute;
  top:54px;
  left:14px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.farad-product-card__icon{
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid rgba(7,70,103,.08);
  background:rgba(255,255,255,.92);
  color:var(--fc-text);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.3s;
}

.farad-product-card__icon:hover{
  background:var(--fc-blue);
  color:#fff;
}

.farad-product-card__icon svg{
  width:17px;
  height:17px;
}

.farad-product-card__body{
  padding:18px 18px 20px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.farad-product-card__cat{
  color:var(--fc-red);
  font-size:11px;
  font-weight:900;
}

.farad-product-card__title{
  margin:0;
  font-size:16px;
  line-height:1.9;
  font-weight:900;
}

.farad-product-card__title a{
  color:var(--fc-text);
}

.farad-product-card__title a:hover{
  color:var(--fc-blue);
}

.farad-product-card__excerpt{
  margin:0;
  color:var(--fc-muted);
  font-size:12.5px;
  line-height:2;
  min-height:50px;
}

.farad-product-card__features{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.farad-product-card__feature{
  padding:7px 10px;
  border-radius:999px;
  background:#f3f8fb;
  color:var(--fc-muted);
  font-size:11px;
  font-weight:800;
}

.farad-product-card__bottom{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-top:4px;
}

.farad-price{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.farad-price__old{
  color:#97a8b1;
  font-size:11px;
  text-decoration:line-through;
  font-weight:700;
}

.farad-price__current{
  color:var(--fc-text);
  font-size:18px;
  font-weight:950;
}

.farad-price__current small{
  font-size:11px;
  color:var(--fc-muted);
  font-weight:800;
  margin-right:4px;
}

.farad-product-card__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:118px;
  height:44px;
  padding:0 16px;
  border-radius:14px;
  background:linear-gradient(135deg,var(--fc-blue),var(--fc-blue-2));
  color:#fff;
  font-size:12.5px;
  font-weight:900;
  transition:.3s;
}

.farad-product-card__cta:hover{
  transform:translateY(-2px);
  COLOR:WHITE;
  box-shadow:0 12px 25px rgba(7,70,103,.18);
}

/* =========================
   PAGINATION
========================= */

.farad-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:34px;
}

.farad-pagination a,
.farad-pagination span{
  width:44px;
  height:44px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid var(--fc-border);
  color:var(--fc-text);
  font-size:12.5px;
  font-weight:900;
  transition:.3s;
}

.farad-pagination a:hover,
.farad-pagination .current{
  background:var(--fc-red);
  color:#fff;
  border-color:var(--fc-red);
}

/* ====================================
   COLLAPSIBLE CATEGORY DESCRIPTION
==================================== */

.farad-cat-description{
  margin-top:40px;
  background:#fff;
  border:1px solid rgba(7,70,103,.08);
  border-radius:24px;
  box-shadow:var(--fc-shadow);
  padding:24px;
}

.farad-cat-description__title{
  margin:0 0 16px;
  color:var(--fc-text);
  font-size:16px;
  font-weight:900;
  position:relative;
  padding-right:12px;
}

.farad-cat-description__title::before{
  content:"";
  position:absolute;
  top:5px;
  right:0;
  width:4px;
  height:18px;
  border-radius:999px;
  background:var(--fc-red);
}

.farad-cat-description__wrapper{
  position:relative;
  overflow:hidden;
  max-height:180px; /* شروع ارتفاع محدودشده */
  transition:max-height 0.5s ease-in-out;
}

.farad-cat-description__content{
  color:var(--fc-text);
  font-size:13.5px;
  line-height:2.2;
}

.farad-cat-description__content p{
  margin:0 0 16px 0;
}

.farad-cat-description__content p:last-child{
  margin-bottom:0;
}

.farad-cat-description__fade{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:80px;
  background:linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0));
  pointer-events:none;
  transition:opacity 0.3s ease;
}

.farad-cat-description__action{
  text-align:center;
  margin-top:20px;
  border-top:1px solid var(--fc-border);
  padding-top:16px;
}

.farad-cat-description__btn{
  background:#fff;
  border:1px solid var(--fc-blue);
  color:var(--fc-blue);
  padding:10px 22px;
  border-radius:14px;
  font-size:12.5px;
  font-weight:900;
  cursor:pointer;
  transition:.3s;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.farad-cat-description__btn:hover{
  background:var(--fc-blue);
  color:#fff;
}

.farad-cat-description__btn svg{
  width:16px;
  height:16px;
  transition:transform 0.3s ease;
}

/* حالتی که باز شده است */
.farad-cat-description.is-expanded .farad-cat-description__wrapper{
  max-height:1000px; /* حداکثر ارتفاع برای محتوای طولانی */
}

.farad-cat-description.is-expanded .farad-cat-description__fade{
  opacity:0;
}

.farad-cat-description.is-expanded .farad-cat-description__btn svg{
  transform:rotate(180deg);
}

/* ====================================
   RELATED CATEGORIES
==================================== */

.farad-related-cats{
  margin-top:32px;
  background:#fff;
  border:1px solid rgba(7,70,103,.08);
  border-radius:24px;
  box-shadow:var(--fc-shadow);
  padding:24px;
}

.farad-related-cats__title{
  margin:0 0 18px;
  color:var(--fc-text);
  font-size:16px;
  font-weight:900;
  position:relative;
  padding-right:12px;
}

.farad-related-cats__title::before{
  content:"";
  position:absolute;
  top:5px;
  right:0;
  width:4px;
  height:18px;
  border-radius:999px;
  background:var(--fc-red);
}

.farad-related-cats__grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));
  gap:16px;
}

.farad-related-card{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px;
  background:var(--fc-bg);
  border:1px solid var(--fc-border);
  border-radius:18px;
  transition:.3s;
}

.farad-related-card:hover{
  border-color:var(--fc-blue);
  background:#fff;
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(7,70,103,.05);
}

.farad-related-card__img-wrap{
  width:64px;
  height:64px;
  aspect-ratio:1/1;
  border-radius:12px;
  overflow:hidden;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(7,70,103,0.08);
}

.farad-related-card__img-wrap img{
  width:80%;
  height:80%;
  object-fit:contain;
}

.farad-related-card__info{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.farad-related-card__name{
  font-size:13px;
  font-weight:900;
  color:var(--fc-text);
  margin:0;
  transition:.3s;
}

.farad-related-card:hover .farad-related-card__name{
  color:var(--fc-blue);
}

.farad-related-card__desc{
  font-size:11.5px;
  color:var(--fc-muted);
  margin:0;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px){
  .farad-products__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .farad-cat-layout{
    grid-template-columns:280px minmax(0,1fr);
  }
}

@media (max-width: 991px){
  .farad-cat-hero__inner{
    grid-template-columns:1fr;
    gap:28px;
  }

  .farad-cat-hero__visual{
    order:-1;
  }

  .farad-cat-layout{
    grid-template-columns:1fr;
  }

  .farad-sidebar{
    position:relative;
    top:auto;
  }
}

@media (max-width: 767px){
  .farad-category-page{
    padding:22px 0 60px;
  }

  .farad-category-page__container{
    padding:0 14px;
  }

  .farad-cat-hero{
    border-radius:24px;
    padding:24px 18px;
  }

  .farad-cat-hero__title{
    font-size:26px;
  }

  .farad-cat-hero__actions{
    flex-direction:column;
  }

  .farad-hero-btn{
    width:100%;
  }

  .farad-subcats-grid{
    grid-template-columns:repeat(2, 1fr);
  }

  .farad-cat-toolbar{
    padding:16px;
  }

  .farad-products__grid{
    grid-template-columns:1fr;
  }

  .farad-product-card__bottom{
    flex-direction:column;
    align-items:stretch;
  }

  .farad-product-card__cta{
    width:100%;
  }
  
  .farad-related-cats__grid{
    grid-template-columns:1fr;
  }
}/* End custom CSS */