@import url('https://fonts.googleapis.com/css2?family=Vazirmatn&display=swap');



.logo img {
  width: 120px;
}

/* اسلایدر دسته‌بندی‌ها */
.categories {
  overflow-x: auto;        /* اسکرول افقی */
  white-space: nowrap;     /* آیتم‌ها کنار هم */
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
}

.category {
  display: inline-block;   /* آیتم‌ها کنار هم */
  width: 80px;
  margin: 0 10px;
  text-align: center;
}

.category img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #f9f9f9;
  padding: 3px;
}

.category p {
  font-size: 12px;
  margin-top: 5px;
  color: #000;
}

/* اسلایدر محصولات */
.products {
  overflow-x: auto;        /* اسکرول افقی */
  white-space: nowrap;     /* آیتم‌ها کنار هم */
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
}

.product {
  display: inline-block;   /* کارت‌ها کنار هم */
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin: 10px;
  padding: 15px;
  width: 200px;
  text-align: center;
}

.product img {
  width: 100%;
  border-radius: 5px;
}

.product h3 {
  margin: 10px 0;
  font-size: 16px;
  color: #667558;
}

.product p {
  color: #0F2A1D;
  font-size: 14px;
}

/* اسکرول‌بار سفارشی برای اسلایدر */
.categories::-webkit-scrollbar,
.products::-webkit-scrollbar {
  height: 6px;
}

.categories::-webkit-scrollbar-thumb,
.products::-webkit-scrollbar-thumb {
  background: #e91e63;
  border-radius: 3px;
}


.product.info-box {
  display: inline-block;
  vertical-align: top;
  width: 150px;       /* کوچیک‌تر از بقیه */
  height: 180px;
margin: 100px 10px 20px;

  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}



.product.info-box .info-content {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* 👈 وسط عمودی */
  align-items: center;       /* 👈 وسط افقی */
  height: 100%;              /* 👈 کل ارتفاع باکس */
}

.product.info-box p {
  margin: 2px 0;        /* فاصله خیلی کم بالا و پایین */
  line-height: 1.2;     /* ارتفاع خط کمتر برای نزدیک‌تر شدن متن‌ها */
  font-size: 14px;
  color: #2A0800;
}



.view-all-btn {
  background-color: #505C45;
  color:#fff;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s ease;
}

.view-all-btn:hover {
  background-color: #f9f9f9;
}








    .section-title {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 20px 0 10px;
      position: relative;
    }

    .section-title span {
      background: #f9f9f9;
      padding: 0 10px;
      font-size: 22px;
      color: #2A0800;
      z-index: 1;
      font-weight: bold;
    }

    .section-title::before,
    .section-title::after {
      content: "";
      flex: 1;
      height: 1px;
      background: #e0e0e0;
      margin: 0 10px;
    }





a{
  text-decoration: none;   /* حذف زیرخط */
}








.container {
  background: transparent; /* 👈 دیگه سفید نیست */
}


        :root {
      --pink: #878E76;
      --yellow: #ffc107;
      --gray: #f9f9f9;
      --text: #333;
    }

body {

margin: 0;

      background: var(--gray);
      direction: rtl;
      color: var(--text);
      background: #f9f9f9;
    }



    .site-footer {
      background: #fff;
      color: #222;
      margin-top: 50px;
      border-top: 1px solid #ddd;
    }
    
    
    .footer-columns {
      display: flex;
      justify-content: center; /* 👈 وسط‌چین کردن دو ستون */
      gap: 40px;
    }
    
    footer .container {
      width: 100%;
      margin: 0 auto;
      padding: 20px;
    }
    
    footer .container {
      width: 80%;         /* 👈 مثل منوی بالا */
      max-width: 1600px;  /* 👈 محدودیت بزرگ‌تر از 1200px */
      margin: 0 auto;     /* 👈 وسط‌چین */
      padding: 20px;
    }
    
    
    
    .footer-title {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 12px;
    }
    
    .footer-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-list li { margin: 6px 0; }
    .footer-list a {
      color: #666;
      text-decoration: none;
      font-size: 14px;
    }
    .footer-list a:hover { color: #222; text-decoration: underline; }
    
    .footer-cats, .footer-help {
      display: inline-block;   /* ستون‌ها کنار هم */
      vertical-align: top;     /* بالا هم‌تراز شوند */
      margin-right: 40px;      /* فاصله بین دو ستون */
    }
    
    .footer-top {
      display: block;          /* کل بخش بالای فوتر بلوکی بماند */
    }

    
    .container {
      margin: 10px;
      padding: 10px;
      border-radius: 12px;
      background: transparent;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .topbar {
      background: #9d8189;
      color: white;
      font-size: 12px;
      padding: 5px 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;

    }

    .topbar div {
      flex: 1;
      text-align: center;
    }

    .topbar div:first-child {
      text-align: right;
    }

    .topbar div:last-child {
      text-align: left;
    }

    .searchbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      background: #fff;
      box-shadow: 0 2px 4px rgba(0,0,0,0.05);
      border-radius: 8px;
      margin-top: 10px;
    }

    .searchbar .logo {
      font-size: 5px;
      font-weight: bold;
      color: #2A0800;
    }

    .searchbar .right-actions {
      display: flex;
      align-items: center;
      gap: 15px;
      font-size: 14px;
      color: #333;
    }

    .searchbar .right-actions span {
      display: flex;
      align-items: center;
    }

    .searchbar .right-actions a {
      text-decoration: none;
      color: #333;
    }

    .searchbar .icon {
      font-size: 18px;
      color: #878E76;
    }


.container {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  border-radius: 0;
  box-shadow: none;
}


















.brand-line {
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 8px;
}
.brand-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

.contact-item {
  font-size: 14px;
  margin: 6px 0;
  color: #666;
}
.contact-item a { color: #222; text-decoration: none; }

.social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #222;
  border: 1px solid #ddd;
  transition: .2s;
  font-size: 18px;
}
.social a:hover {
  transform: translateY(-2px);
  background: #22262c;
  color: #fff;
}

.assurance-box {
  margin-top: 24px;
}
.assurance-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.assurance-item {
  flex: 1 1 200px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  color: #666;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid #ddd;
  margin-top: 24px;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 13px;
  color: #999;
}
.bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.bottom-links a {
  color: #666;
  text-decoration: none;
  font-size: 13px;
}
.bottom-links a:hover { color: #222; text-decoration: underline; }

@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .social { justify-content: center; }
}


/* لپ‌تاپ و نمایشگرهای متوسط به بالا */
@media (min-width: 1024px) {
  /* کانتینر اصلی */
  .container {
    width: 100%;          /* 👈 کمی فاصله از کناره‌ها */
    max-width: none;   /* 👈 محدودیت بزرگ‌تر از 1200px */
    margin: 0 ;      /* 👈 وسط‌چین */
    padding: 0;
  }

  /* بالای فوتر */
  .footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 👈 چهار ستون کنار هم */
    gap: 40px;                             /* 👈 فاصله بین ستون‌ها */
    text-align: right;                     /* 👈 متن‌ها راست‌چین */
  }

  /* ستون‌های دسته‌بندی و لینک‌ها */
  .footer-cats, .footer-help {
    margin: 0; /* 👈 فاصله اضافی حذف شد */
  }

  /* پایین فوتر */
  .footer-bottom {
    display: flex;
    justify-content: space-between; /* 👈 لینک‌ها سمت راست، کپی سمت چپ */
    align-items: center;
    font-size: 14px;
  }

  /* منو بالا */
  
}
html, body {
  height: 100%;
}

.container {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.site-footer {
  margin-top: auto;   /* فوتر همیشه آخر */
}








  /* منو بالا */
 
/* حالت موبایل */



  @media (min-width: 1024px) {
    /* کانتینر اصلی همچنان تمام عرض */
    .container {
      width: 100%;
      max-width: none;
      margin: 0;
      padding: 0;
    }
  }







  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  img { display: block; max-width: 100%; height: auto; }

  body {
    font-family: tahoma, sans-serif;
    direction: rtl;
    background: #f7f7f7;
    color: #333;
  }

  /* ظرف اصلی: موبایل‌فرست، ستونی */
  .product-container {
    max-width: 1000px;
    margin: 24px auto;
    padding: 0 12px;
    display: block !important;   /* موبایل: ستونی */
  }

  /* بخش عکس‌ها در موبایل: سه عکس بالا */
  .images-wrapper {
    display: block !important;   /* موبایل: ستونی ساده */
    text-align: center;
    margin-bottom: 20px;
  }

  .main-img {
    width: 100% !important;
    max-width: 420px;
    border: 1px solid #ccc;
    margin: 0 auto 12px;
  }

  .thumbnails {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
  }

.thumb {
width: 90px;
height: 110px;
border: 2px solid #ccc;
cursor: pointer;
}

.thumb.active {
border-color: #2e7d32;
box-shadow: 0 0 8px rgba(46,125,50,0.6);
}


.main-img {
width: 300px;
border: 1px solid #ccc;
margin-bottom: 15px;
}


    /* توضیحات: موبایل پایین عکس‌ها */
    .info-box {
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 15px rgba(0,0,0,0.08);
      text-align: right;
      line-height: 2;
    }
    .info-box h2 { font-size: 22px; margin: 0 0 10px; color: #000; }
    .price { color: #1b5e20; font-weight: 700; margin-bottom: 10px; }

    /* تبلت: همان چیدمان لپ‌تاپ اما کمی کوچک‌تر */
    @media (min-width: 768px) and (max-width: 991.98px) {
      .product-container {
        display: flex !important;
        flex-direction: row-reverse !important; /* راست: عکس‌ها | چپ: متن */
        align-items: flex-start;
        gap: 28px;
      }
      .images-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        gap: 14px;
        flex-shrink: 0;
        margin-bottom: 0 !important;
      }
      .main-img { width: 260px !important; margin: 0 !important; }
      .thumbnails { gap: 12px !important; }
      .thumb { width: 95px !important; height: 115px !important; }
      .info-box { flex: 1 1 auto; }
    }
    
   
    


    @media (min-width: 992px) {
      .product-container {
        display: flex !important;
        flex-direction: row-reverse !important; /* راست عکس‌ها، چپ توضیحات */
        align-items: flex-start;
        gap: 36px;
      }

      .images-wrapper {
        display: flex !important;
        flex-direction: column !important; /* عکس بزرگ بالا، دو کوچک زیرش */
        align-items: center;
        justify-content: flex-start;
        gap: 16px;
        flex-shrink: 0;
        margin-bottom: 0 !important;
        min-width: 320px; /* ستون راست پایدار */
      }


      .thumbnails {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center;
        align-items: center;
        gap: 14px;
      }

      .thumb {
        width: 110px !important;
        height: 130px !important;
      }

      .info-box {
        flex: 1 1 auto;
        width: 600px ;
      }
    }

