body {
  margin: 0px;
  font-family: IRANSans !important;
  font-weight: 300;
  text-align: right !important;
  font-size: 14px;
  direction: rtl !important;
  overflow-x: hidden !important;
  background-color: #fff;
  color: #212529;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

img {
  vertical-align: middle;
  border-style: none;
}

.content-page-container {
  display: flex;
  align-items: baseline;
  margin-bottom: 3rem;
}

.filter-products-container, .filter-products-container-phone {
  display: flex;
  padding: 0 1.25rem;
  margin: 1.25rem auto;
}


.filter-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 12px;
    align-self: flex-start;
    margin-top: 1rem;
}

.filter-actions {
    padding: 1rem;
    border-top: 1px solid #edf2f7;
    text-align: center;
}

.clear-filters-btn {
    background: #fff;
    color: #19b68a;
    border: 1px solid #19b68a;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.clear-filters-btn:hover {
    background: #19b68a;
    color: #fff;
}

.category-list,
.brand-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 0.75rem 1rem;
}

.category-item,
.brand-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.category-item label,
.brand-item label {
    margin-right: 0.5rem;
    cursor: pointer;
}

.subcategory-list {
    margin-right: 1.5rem;
    border-right: 1px solid #edf2f7;
    padding-right: 0.75rem;
}

.landing__content {
    flex: 1;
    min-width: 0;
    margin-right: 1rem;
}

.brand-list {
    max-height: 200px;
    overflow-y: auto;
}

.brand-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.brand-item input[type="checkbox"] {
    margin-left: 0.5rem;
}

.brand-item label {
    font-size: 0.9rem;
    color: #212529;
    cursor: pointer;
}


.landing-top__banner-container {
  display: flex;
  position: relative;
  width: 100%;
  margin-top: 4rem;
}

.landing-top__banner-container > div {
  margin: 0 auto;
  position: relative;
  width: 100%;
  max-width: 1617px;
}

.landing__slider {
  overflow: hidden;
  border-radius: 16px;
  width: 100%;
}

.landing__slider img {
  width: 100%;
  height: 100%;
  max-width: 100%;
}

/* The slider is this page's LCP. Until swiper-element-bundle.js upgrades the
   element it has no shadow root, so its children still render as plain light
   DOM -- show the first slide there and the banner paints without waiting on JS. */
.landing__slider:not(:defined) {
  display: block;
}

.landing__slider:not(:defined) > swiper-slide:not(:first-child) {
  display: none;
}

/* Navigation and pagination live in swiper's shadow root, reachable only via
   ::part(). Replaces landing.js's old injectStylesUrls call, which fetched a
   relative "../css/swiper-style.css" that 404s off any route not one level
   under /assets/js/. */
.landing__slider::part(button-prev),
.landing__slider::part(button-next) {
  color: #fff;
  --swiper-navigation-size: 1.2rem;
  background-color: rgba(255, 255, 255, .7);
  border-radius: 50%;
  padding: 0.2rem;
}

.landing__slider::part(pagination) {
  background-color: #fff;
  border-radius: 15px;
  width: auto;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 1rem;
}

.landing__slider::part(bullet-active) {
  width: 1rem;
  border-radius: 15px;
}

.landing-title {
  max-width: 1626px;
  margin: 1.5rem auto .5rem;
  padding: 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e50;
}

@media (max-width: 768px) {
  .landing-title {
    font-size: 1.125rem;
    margin-top: 1rem;
  }
}

.landing__dou-banner {
  width: 100%;
  max-width: 1626px;
  margin: .5rem auto;
}

.landing__dou-banner > div {
  display: flex;
  flex-wrap: wrap;
}

.landing__dou-banner > div > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(50% - 8px);
  height: 100%;
  margin: 0 4px;
}

.landing__dou-banner > div > div > a {
  line-height: 0;
  border-radius: 16px;
}

.landing__dou-banner > div > div > a > img {
  object-fit: contain;
  width: 100%;
  display: inline-block;
  border-radius: 16px;
}

.landing__carousel {
  height: 290px;
  display: flex;
  position: relative;
  width: 100%;
}

.landing__carousel > div {
  margin: 0 auto;
  position: relative;
  width: 100%;
  max-width: 1617px;
}

.landing__carousel > div > div {
  height: 100%;
}

.landing__carousel > div > div > img{
  width: 100%;
  height: 100%;
  max-width: 100%;
}


.landing__card-top {
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  height: 100%;
}

.landing__carousel--head {
  padding: 0.5rem;
}
.landing__carousel--head strong {
  font-size: 1.1rem;
  font-weight: 500;
}

.landing__card {
  max-height: 300px;
  width: 210px;
  padding: 0.5rem;
  background-color: #fff;
  border-left: 1px solid #e1e1e1;
}

.landing__card--img {
  width: auto;
  max-width: 100px;
  margin: 0 auto 0.5rem auto;
}

.landing__card--img img {
  max-width: 100%;
}
.landing__card small {
  display: block;
  padding: 0.5rem;
  text-align: left;
  font-size: 0.85rem;
}
.landing__card s {
  display: block;
  padding: 0 0.5rem;
  text-align: left;
  font-size: 0.75rem;
  color: #9d9da4;
}

.landing__card p {
  color: #212529;
}

.discount-details {
  display: flex;
  flex-direction: row-reverse;
  padding: 0 0.5rem;
  align-items: center;
}

.discount-details span {
  background-color: #19b68a;
  color: #fff;
  padding: 0.01rem 0.3rem;
  border-radius: 10px;
  font-size: 0.75rem;
}

.landing__single-banner {
  margin: 1rem 0;
  width: 100%;
}

.landing__single-banner img {
  width: 100%;
}

.landing-products-container > div {
  border: 1px solid #f1f1f0;
}


.slider-slide {
  width: auto;
  height: auto;
  margin-left: 2px;
  flex-shrink: 0;
  position: relative;
}

.slider-slide>a {
  display: block;
  width: 163px;
  min-width: 163px;
  max-width: 163px;
  height: 100%;
  background-color: #fff;
  overflow: hidden;
  cursor: pointer;
  margin-left: 2px;
}

.slide-content>article, .landing-slide-content>article {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow-y: hidden;
}

.slide-content>article>div, .landing-slide-content>article>div {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 8px;
  position: relative;
  overflow-y: hidden;
}

.landing-product-specifications, .product-specifications {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  align-items: stretch;
  flex-direction: column;
}

.landing-product-specifications h3, .product-specifications h3 {
  font-size: 13px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #62666d;
  height: 40px;
  line-height: 20px;
}

.price-inf {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-direction: column;
}

.price-inf>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse;
}

.price-inf>div:nth-of-type(2) {
  padding-left: 20px;
}

.off-price, .landing-off-price {
  height: 20px;
  width: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 0 4px;
  background-color: #d32f2f;
  border-radius: 16px;
}

.off-price>span, .landing-off-price>span {
  font-size: 13px;
  font-weight: 700;
  line-height: 2.17;
  color: #fff;
}

.final-price, .landing-final-price {
  display: flex;
  justify-content: flex-end;
  flex-grow: 1;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  color: #3f4064;
  margin-bottom: 5px;
}

.wasted-price {
  font-size: 15px;
  font-weight: 400;
  align-self: flex-end;
  margin-right: auto;
  color: #c0c2c5;
  text-decoration-line: line-through;
}

.img-slide-container>div {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}

.img-slide-container>div>div {
  display: flex;
  margin: 0 auto;
  align-items: flex-start;
}

.img-slider-parent {
  width: 100px;
  line-height: 0;
}

.img-slider-parent-groups img, .img-slider-parent img {
  object-fit: contain;
  border-radius: 8px;
  width: 100%;
  display: inline-block;
}

.landing-tabs__container > div {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e0e0e2;
  gap: 16px;
  padding-right: 10px;
}

.landing-tab-product {
  display: flex;
  align-items: center;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.landing-tab-product > div:nth-of-type(1) {
  padding: 12px 0;
  overflow-wrap: break-word;
}

.landing-tab-product > div:nth-of-type(2) {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-right: 1rem;
}

.landing-tab-product > div:nth-of-type(2) > span {
  border-left: 1px solid #bebfc1;
  padding-left: 17px;
  margin: 0 .5rem;
  cursor: pointer;
  min-width: 55px;
}

.landing-tab-product > div:nth-of-type(3) {
  margin-right: auto;
}

.landing-tab-product > div:nth-of-type(3) > span {
  display: flex;
  font-size: 14px;
  color: #81858b;
  font-weight: 400;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-tab-title {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 70px;
}

.landing-tab-title > div > svg {
  width: 14px;
  height: 14px;
  margin-left: 5px;
}

.landing-tab-title > div > p {
  font-size: 14px;
  font-weight: 400;
}

.landing-products-container {
  display: grid;
  grid-auto-flow: dense;
  grid-template-rows: auto;
}

.landing-products-container > div > a {
  position: relative;
  background-color: #fff;
  cursor: pointer;
  overflow: hidden;
  display: block;
  padding: 0px 8px;
}

.landing-products-container > div > a > div > article{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.img-slider-parent-groups {
  width: 175px;
  line-height: 0;
}

.landing-groups-tab-container > span:visited {
  border-bottom: 1px solid red;
}

.body-no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

.close-filter-popup {
  display: none;
}

/* Backdrop */
.popup-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none; /* Initially hidden */
}

/* Show the backdrop */
.popup-backdrop.open {
  display: block;
}

.noUi-connect, .noUi-horizontal .noUi-handle.noUi-handle-upper, .noUi-handle.noUi-handle-lower {
  background: #2ab88d !important;
}


@media (min-width: 640px) {
  .landing-products-container {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (min-width: 1024px) {
  .landing-products-container {
    grid-template-columns: repeat(3,1fr);
  }
}
@media (min-width: 1280px) {
  .landing-products-container {
    grid-template-columns: repeat(5,1fr);
  }

}
@media (min-width: 1876px) {
  .landing-products-container {
    grid-template-columns: repeat(6,1fr);
  }
}
@media (max-width: 550px) {

  .landing-top__banner-container {
    margin-top: 1rem;
  }

  .landing__dou-banner {
    flex-direction: column;
    margin: 3px auto;
  }
.landing__dou-banner > div > div {
    width: auto;
    flex-direction: column;
    width: 100%;
    margin: 1px 0;
  }

  .landing-off-price {
    position: absolute;
    bottom: 20px;
    right: 90px;
  }

  .landing-off-price > span {
    font-size: 12px;
  }

  .img-slider-parent-groups {
    width: 80px;
    height: 135px;
  }

  .landing-slide-content > article {
    position: relative;
  }

  .landing-slide-content > article > div {
    flex-direction: row;
  }

  .landing-products-container > div {
    border: 0;
    border-bottom: 1px solid #e0e0e2;
  }

  .landing-final-price {
    font-size: 12px;
    margin-bottom: 7px;
  }


  .landing-product-specifications h3 {
    display: flex;
    align-items: center;
  }

.landing-product-specifications {
  flex-grow: 1;
  margin-right: 1rem;
}

  .landing-tab-product {
    overflow-x: auto;
    margin: 1rem 0;
  }

  .filter-products-container {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    transition: bottom 0.5s ease;
    z-index: 10000000000;
    margin: 0 auto;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }

.price-inf>div {
  margin: 6px 0;
}

.filter-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-title {
  border-bottom: 1px solid #edf2f7;
}

.close-filter-popup {
  cursor: pointer;
  display: block;
}

.filter-actions {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
}

.clear-filters-btn {
  background: #19b68a;
  color: #fff;
  padding: .7rem 1rem;
  width: 9rem;
}

.filter-sidebar {
  width: 100%;
  margin-top: 0;
}

.landing__slider {
  border-radius: 0;
}

.landing__dou-banner > div > div > a > img {
  border-radius: 0;
}

}

.landing-explantion {
  background-color: #f2f2f2;
}

.landing-explantion > div {
  width: 97%;
  padding: 1rem;
  margin: 0 auto;
}

.landing-explantion > div > p {
  font-size: 15px;
  font-weight: 400;
  color: #333;
  line-height: 2.17;
  text-align: justify;
}

.landing-explantion > div > h3 {
  font-weight: 500;
  font-size: 17px;
  margin: 5px 0;
}
