/*!******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/component/commentBox/commentBox.module.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************/
.commentBox_wrapper__beU5Z {

  width: 100%;

  margin: 0 auto;
  box-sizing: border-box;
  padding: 20px;

  display: grid;
  grid-template-columns: 1fr 350px;
  grid-gap: 40px;
  gap: 40px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.25);
  direction: rtl;
  border: var(--bg) 1px solid;
}

/* comments */

.commentBox_comments__9U_sF {

  height: 420px;
  overflow-y: auto;

  display: flex;
  flex-direction: column;
  gap: 18px;

  padding-left: 10px;

}

/* scrollbar */

.commentBox_comments__9U_sF::-webkit-scrollbar {
  width: 6px;
}

.commentBox_comments__9U_sF::-webkit-scrollbar-thumb {
  background: #f39c12;
  border-radius: 10px;
}

/* comment */

.commentBox_comment__6hBw5 {

  display: flex;
  gap: 12px;
  align-items: flex-start;

}

.commentBox_avatar__y_WB5 {

  width: 38px;
  height: 38px;

  border-radius: 50%;

  background: #f39c12;
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 600;

  flex-shrink: 0;

}

.commentBox_content__OS_Zd {

  background: #f5f5f5;
  box-sizing: border-box;
  padding: 12px 14px;

  border-radius: 10px;

  max-width: 520px;

}

.commentBox_name__mKQ_l {

  font-size: 13px;
  font-weight: 600;

  margin-bottom: 4px;

  color: #333;

}

.commentBox_text__8zLJ4 {

  font-size: 14px;
  line-height: 1.7;

  color: #444;

}

/* form */

.commentBox_form__MrNqc {

  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: auto auto;
  width: 100%;
}

.commentBox_form__MrNqc input,
.commentBox_form__MrNqc textarea {

  border: 1px solid #e3e3e3;
  border-radius: 8px;
  box-sizing: border-box;
  padding: 11px 12px;

  font-family: inherit;
  font-size: 14px;

}

.commentBox_form__MrNqc textarea {

  height: 190px;
  resize: none;

}

.commentBox_form__MrNqc button {

  background: #f39c12;
  color: white;

  border: none;
  border-radius: 8px;

  padding: 12px;

  cursor: pointer;

  font-weight: 600;

}

.commentBox_form__MrNqc button:hover {
  background-color: #f39d12c3;
}

/* mobile */

@media(max-width:900px) {

  .commentBox_wrapper__beU5Z {

    grid-template-columns: 1fr;
    gap: 30px;

  }

  .commentBox_comments__9U_sF {

    height: 360px;

  }

}
/*!***********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/component/Footer2/Footer.module.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************/
.Footer_wrapper__0uT6I {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 5px;
  z-index: 9999;
}

.Footer_button__mPykY {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f39c12, #f39c12);
  color: #fff;
  border: 1px solid #f39c12;
  cursor: pointer;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 1px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.Footer_button__mPykY:hover {
  transform: translateY(-2px) scale(1.07);
}

.Footer_panel__WgV6P {
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  background: #f39c12;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border-radius: 40px;
  border: 1px solid #1e293b;
  transition:
    max-width 0.45s cubic-bezier(0.42, 0, 0.2, 1),
    opacity 0.3s ease,
    padding 0.32s ease;
  padding: 0;

}

/* باز شدن */
.Footer_open__9erML {
  box-sizing: border-box;
  max-width: 260px;
  padding: 5px 22px;
  opacity: 1;
}

/* لینک */
.Footer_link__R4Std {
  color: black;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  font-weight: 500;
  transition: color 0.25s ease;
  line-height: 29px;
}

.Footer_link__R4Std:hover {
  color: #fff;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/component/header/header.module.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************/
/* ========================================= */
/* دسکتاپ و تبلت (بزرگتر از 750px) */
/* ========================================= */
@media (min-width: 751px) {
  .header_mainmobile__aRsSl {
    display: none;
  }

  .header_mainweb__OqNu0 {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 15%;
    background: #1e293b;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding: 40px 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
  }

  .header_image__Omt_3 {
    width: 60%;
    max-width: 120px;
    margin-bottom: 50px;
  }

  .header_image__Omt_3 img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  }

  .header_items__QpYMM {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    flex: .9 1;
  }

  .header_item__vAgdV {
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 300;
    cursor: pointer;
    text-decoration: none;
    padding: 16px 30px;
    width: 100%;
    box-sizing: border-box;
    text-align: right;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header_item__vAgdV:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding-right: 35px;
  }

  .header_item__vAgdV::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #f39c12;
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 4px 0 0 4px;
  }

  .header_item__vAgdV:hover::before {
    transform: scaleY(1);
  }

  /* استایل تب فعال (Active) */
  .header_activeItem__HuCo0 {
    background: rgba(243, 156, 18, 0.1) !important;
    color: #f39c12 !important;
    font-weight: 700;
  }

  .header_activeItem__HuCo0::before {
    transform: scaleY(1);
  }

  .header_desktopFooter__Fl3sq {
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: center;
  }
}

@media (min-width: 751px) and (max-width: 1024px) {
  .header_item__vAgdV {
    font-size: 13px;
    padding: 14px 15px;
  }

  .header_item__vAgdV:hover {
    padding-right: 20px;
  }
}

/* ========================================= */
/* موبایل (کوچکتر از 750px) - بازسازی کامل */
/* ========================================= */
@media (max-width: 750px) {
  .header_mainweb__OqNu0 {
    display: none;
  }

  .header_mainmobile__aRsSl {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(30, 41, 59, 0.95);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1100;
  }

  .header_topbar__xFF2V {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .header_leftBtn__lZtje img {
    height: 38px;
    object-fit: contain;
  }

  .header_rightBtn__t90mx {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
  }

  .header_rightBtn__t90mx:active {
    background: rgba(255, 255, 255, 0.1);
  }

  .header_mobileOverlay__hwHn1 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    z-index: 1200;
  }

  .header_sideMenu__zcGh4 {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #1e293b;
    z-index: 1300;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .header_sideMenuHeader__f_1Y4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .header_sideMenuHeader__f_1Y4 img {
    height: 35px;
  }

  .header_closeMenuBtn__kfoea {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .header_menuList__JWyXT {
    list-style: none;
    padding: 16px 12px;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1;
    gap: 8px;
  }

  .header_menuList__JWyXT a {
    text-decoration: none;
  }

  .header_menuList__JWyXT li {
    padding: 14px 20px;
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 500;
    text-align: right;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s;
  }

  .header_menuList__JWyXT li:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
  }

  .header_activeMobileItem__MhA7L {
    background: rgba(243, 156, 18, 0.15) !important;
    color: #f39c12 !important;
    font-weight: 700 !important;
  }

  .header_sideMenuFooter__5wNPA {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
}

/* ========================================= */
/* دکمه احراز هویت مشترک */
/* ========================================= */
.header_authButton__2Hh85 {
  width: max-content;
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: #fff;
  box-sizing: border-box;
  padding: 14px 10px;
  border-radius: 14px;
  border: none;
  font-size: 15px;
  justify-content: center;
  display: flex;
  align-items: center;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: auto auto;
  box-shadow: 0 8px 16px rgba(243, 156, 18, 0.25);
}

.header_authButton__2Hh85:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(243, 156, 18, 0.35);
}

/* ========================================= */
/* پاپ آپ (Popup) مدرن شده */
/* ========================================= */
.header_popupOverlay__hx5ss {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

.header_popup__UtfWW {
  background: #ffffff;
  border-radius: 28px;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  direction: rtl;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #f1f5f9;
}

.header_popupHeader__Qc7gi {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
}

.header_popupHeader__Qc7gi h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.header_closeButton__JpsX7 {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.header_closeButton__JpsX7:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: rotate(90deg);
}

.header_popupBody__zqP_f {
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  flex: 1 1;
  overflow: hidden;
  background: #f8fafc;
}

.header_selectGroup__YRXH2 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.header_selectWrapper__IMd_A {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.header_selectWrapper__IMd_A label {
  font-size: 14px;
  color: #64748b;
  font-weight: 700;
}

.header_select__drS_r {
  width: 100%;
  padding: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  background-color: #fff;
  font-size: 15px;
  font-weight: 500;
  color: #1e293b;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 16px center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.header_select__drS_r:focus {
  outline: none;
  border-color: #f39c12;
  box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.1);
}

.header_subListContainer__vdT2G {
  flex: 1 1;
  overflow-y: auto;
  padding-right: 4px;
}

.header_subListContainer__vdT2G::-webkit-scrollbar {
  width: 6px;
}

.header_subListContainer__vdT2G::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.header_subGrid__HTObV {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 10px;
  gap: 10px;
}

.header_subCard__zqBxr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #fff;
  border-radius: 16px;
  text-decoration: none;
  color: #334155;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.header_subCard__zqBxr:hover {
  border-color: #f39c12;
  color: #f39c12;
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(243, 156, 18, 0.08);
}

.header_subCard__zqBxr:hover .header_arrowIcon__mOltE {
  color: #f39c12;
  transform: translateX(-4px);
}

.header_arrowIcon__mOltE {
  color: #cbd5e1;
  font-size: 20px;
  transition: all 0.2s;
}

.header_emptyState__3VNez {
  text-align: center;
  color: #94a3b8;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.header_emptyCircle__5sR4I {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e2e8f0;
  opacity: 0.5;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/component/homepage/Box1/Box1.module.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************/
@media (max-width: 750px) {
  .Box1_mainmobile__ZinRg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: max-content;
    margin-top: 70px;
  }

  .Box1_img__vXW8y {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 10px;
  }

  .Box1_img__vXW8y img {
    width: 100%;
    height: 100%;
    display: flex;
    border-radius: 30px;
  }

  .Box1_mainweb___5vwh {
    display: none;
  }
}

@media (min-width: 750px) and (max-width: 1250px) {
  .Box1_mainmobile__ZinRg {
    display: none;
  }

  .Box1_mainweb___5vwh {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: max-content;
  }

  .Box1_img__vXW8y {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .Box1_img__vXW8y img {
    width: 100%;
    height: 100%;
    display: flex;
    border-radius: 30px;
    object-fit: cover;
  }
}

@media (min-width: 1250px) {
  .Box1_mainmobile__ZinRg {
    display: none;
  }

  .Box1_mainweb___5vwh {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: max-content;
  }

  .Box1_img__vXW8y {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .Box1_img__vXW8y img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    border-radius: 30px;

  }
}
/*!********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/component/Item1/Item1.module.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************************/
.Item1_card__YbvNu {
  display: flex;
  gap: 20px;

  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 24px;
  box-sizing: border-box;
  padding: 16px;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;

  direction: rtl;
  overflow: hidden;

  /* مهم: center باعث گم‌شدن footer و بدترازی میشه */
  align-items: stretch;
}

.Item1_card__YbvNu:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: #e6e6e6;
}

/* تصویر */
.Item1_imageSection__g8_xk {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
}

.Item1_imgWrapper__sQ1Ir {
  width: 100px;
  height: 100px;
  background: #f8f9fa;
  border-radius: 20px;

  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid #f0f0f0;
}

.Item1_imgWrapper__sQ1Ir img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* محتوا */
.Item1_mainContent__ohdiH {
  flex: 1 1 auto;

  display: flex;
  flex-direction: column;

  /* مهم‌ترین فیکس overflow در flex */
  min-width: 0;
}

.Item1_headerRow___2DEA {
  display: flex;
  justify-content: flex-start;
}

.Item1_categoryTag__G4_V_ {
  background: #fff8ed;
  color: #e67e22;
  box-sizing: border-box;
  padding: 4px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 300;
  max-width: 100%;

  /* جلوگیری از بیرون‌زدن تگ */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.Item1_title__OwDFp {
  box-sizing: border-box;
  margin: 10px 0 12px 0;
  font-size: 14px;
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.7;

  /* فیکس بیرون‌زدن متن‌های خیلی بلند/بدون فاصله */
  overflow-wrap: anywhere;
  word-break: break-word;

  /* حالت پیش‌فرض: عنوان کامل wrap می‌شود (دیگه نصفه بیرون نمی‌زنه) */
  display: block;
}

/* اگر دوست داشتی محدود بشه، این کلاس رو بعداً می‌گم چطور فعال کنی */
/*
.titleClamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
*/

.Item1_footerRow__R4yj2 {
  margin-top: auto;
  /* دکمه همیشه پایین کارت می‌مونه */
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;

  flex-wrap: wrap;
}

.Item1_satisfactionContainer__fdHvi {
  flex: 1 1 220px;
  min-width: 180px;
}

.Item1_satisfactionInfo__7l6aU {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: #666;
  font-weight: 700;
  margin-bottom: 6px;
}

.Item1_percent__cW4EM {
  color: #27ae60;
  font-weight: 900;
  direction: ltr;
}

.Item1_progressTrack__QiJJW {
  height: 8px;
  background: #eee;
  border-radius: 999px;
  overflow: hidden;
}

.Item1_progressFill__o1ouu {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2ecc71, #27ae60);
  border-radius: 999px;
  transition: width 0.6s ease;
}

/* دکمه */
.Item1_actionBtn__nbwoF {
  flex: 0 0 auto;
  background: #2c3e50;
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
  padding: 10px 18px;
  border-radius: 14px;

  font-size: 14px;
  font-weight: 300;

  white-space: nowrap;

  /* اینکه گم نشه: */
  align-self: flex-end;

  transition: all 0.2s ease;
}

.Item1_actionBtn__nbwoF:hover {
  background: #f39c12;
  transform: translateY(-1px);
}

/* --- ریسپانسیو --- */

/* تبلت و لپ‌تاپ کوچک: کارت کمی فشرده‌تر */
@media (max-width: 900px) {
  .Item1_imgWrapper__sQ1Ir {
    width: 104px;
    height: 104px;
  }

  .Item1_title__OwDFp {
    font-size: 16px;
  }
}

/* موبایل: کارت ستونی */
@media (max-width: 600px) {
  .Item1_card__YbvNu {
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }

  .Item1_imageSection__g8_xk {
    justify-content: center;
  }

  .Item1_imgWrapper__sQ1Ir {
    width: 96px;
    height: 96px;
  }

  .Item1_headerRow___2DEA {
    justify-content: center;
  }

  .Item1_title__OwDFp {
    text-align: center;
    font-size: 15px;
  }

  .Item1_footerRow__R4yj2 {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .Item1_satisfactionContainer__fdHvi {
    min-width: 0;
    flex: 1 1 auto;
  }

  .Item1_actionBtn__nbwoF {
    width: 100%;
    text-align: center;
    align-self: stretch;
  }
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/component/homepage/Box2/Box2.module.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************/
/* کانتینر اصلی */
.Box2_wrapper__8WPc_ {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
  box-sizing: border-box;
  direction: rtl;
}

/* عنوان */
.Box2_header__D6u94 {
  align-self: flex-end;
  margin-bottom: 25px;
  font-size: 20px;
  font-weight: 800;
  border-bottom: 3px solid #f39c12;
  padding-bottom: 6px;
  width: -moz-fit-content;
  width: fit-content;
}

/* گرید کارت‌ها */
.Box2_grid__fj_kL {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  grid-gap: 30px;
  gap: 30px;
  align-items: stretch;
}

/* ---------- Responsive ---------- */

/* تبلت */
@media (max-width: 1024px) {
  .Box2_grid__fj_kL {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 25px;
  }

  .Box2_header__D6u94 {
    font-size: 18px;
  }
}

/* موبایل */
@media (max-width: 600px) {
  .Box2_wrapper__8WPc_ {
    padding: 20px 15px;
  }

  .Box2_grid__fj_kL {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .Box2_header__D6u94 {
    font-size: 16px;
  }
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/component/homepage/Box3/Box3.module.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************/
@media (max-width: 750px) {
  .Box3_mainmobile__7ciF_ {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    height: max-content;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: column;
    gap: 20px;
  }

  .Box3_title__uAULR {
    font-size: 15px;
    height: max-content;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20%;
    text-wrap: nowrap;
    border-bottom: 3px solid #f39c12;
    align-self: flex-end;
  }

  .Box3_item__XgKdX {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    box-sizing: border-box;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px;
    gap: 20px;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .Box3_item__XgKdX>* {
    flex-shrink: 0;
  }

  .Box3_mainweb__sLPux {
    display: none;
  }
}

@media (min-width: 750px) and (max-width: 1250px) {
  .Box3_mainmobile__7ciF_ {
    display: none;
  }

  .Box3_mainweb__sLPux {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    height: max-content;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: column;
    gap: 20px;
  }

  .Box3_title__uAULR {
    font-size: 17px;
    height: max-content;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20%;
    border-bottom: 3px solid #f39c12;
    align-self: flex-end;
  }

  .Box3_item__XgKdX {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    align-items: flex-end;
    justify-content: flex-end;
    overflow-y: hidden;
    flex-wrap: nowrap;
    box-sizing: border-box;
    padding: 20px;
    gap: 20px;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .Box3_item__XgKdX>* {
    flex-shrink: 0;
  }
}

@media (min-width: 1250px) {
  .Box3_mainmobile__7ciF_ {
    display: none;
  }

  .Box3_mainweb__sLPux {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    height: max-content;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: column;
    gap: 20px;
  }

  .Box3_title__uAULR {
    font-size: 23px;
    height: max-content;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15%;
    border-bottom: 3px solid #f39c12;
    align-self: flex-end;
  }

  .Box3_item__XgKdX {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    align-items: flex-end;
    justify-content: flex-end;
    box-sizing: border-box;
    padding: 20px;
    gap: 20px;
    width: 100%;
    scrollbar-width: none;
  }

  .Box3_item__XgKdX>* {
    flex-shrink: 0;
  }
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/component/homepage/Box4/Box4.module.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************/
.Box4_wrapper__qK9aB {
  width: 100%;
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 20px;
  box-sizing: border-box;
  direction: rtl;
}

/* عنوان */
.Box4_header__1ZRsh {
  width: -moz-fit-content;
  width: fit-content;
  border-bottom: 3px solid #f39c12;
  font-size: 24px;
  font-weight: 900;
  padding-bottom: 6px;
  margin-bottom: 40px;
}

/* کانتینر اصلی */
.Box4_container__YSLWa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 40px;
  gap: 40px;
  align-items: center;
  background: #2c3e50;
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* تصویر */
.Box4_imageBox__yHyaF {
  width: 100%;
  height: 320px;
  border-radius: 25px;
  overflow: hidden;
}

.Box4_imageBox__yHyaF img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* متن */
.Box4_content__qAMbH {
  color: white;
  font-size: 17px;
  line-height: 2;
}

.Box4_content__qAMbH p {
  margin-bottom: 20px;
}

.Box4_content__qAMbH strong {
  color: #f39c12;
}

.Box4_content__qAMbH b {
  color: #f1c40f;
}

/* ---------- Responsive ---------- */

/* لپتاپ */
@media (max-width: 1100px) {

  .Box4_container__YSLWa {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .Box4_imageBox__yHyaF {
    height: 280px;
  }

  .Box4_content__qAMbH {
    font-size: 16px;
  }
}

/* موبایل */
@media (max-width: 600px) {

  .Box4_wrapper__qK9aB {
    margin: 40px auto;
  }

  .Box4_container__YSLWa {
    padding: 25px;
    gap: 25px;
  }

  .Box4_header__1ZRsh {
    font-size: 20px;
  }

  .Box4_imageBox__yHyaF {
    height: 220px;
  }

  .Box4_content__qAMbH {
    font-size: 15px;
    line-height: 1.9;
  }

}





.Box4_moreBtn__HmwUi {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 28px;
  background: #f39c12;
  color: white;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.Box4_moreBtn__HmwUi:hover {
  background: #e67e22;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(243, 156, 18, 0.35);
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/component/homepage/Box5/Box5.module.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************/
.Box5_wrapper__4w1bi {

  width: 100%;
  max-width: 1400px;
  box-sizing: border-box;
  margin: auto auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ===== header ===== */

.Box5_header__G_S6M {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.Box5_header__G_S6M h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0;
  color: #1e1e1e;
}

.Box5_line___cuK0 {
  width: 120px;
  height: 4px;
  background: #f39c12;
  border-radius: 4px;
}

.Box5_content__17P_m {
  width: 100%;
  display: flex;
  justify-content: center;
}


@media(max-width:900px) {

  .Box5_wrapper__4w1bi {

    margin: 10px auto;
    gap: 25px;

  }

  .Box5_header__G_S6M h2 {

    font-size: 20px;

  }

  .Box5_line___cuK0 {

    width: 90px;

  }

}

@media(max-width:500px) {

  .Box5_header__G_S6M h2 {

    font-size: 18px;

  }

  .Box5_line___cuK0 {

    width: 70px;

  }

  /* 
  .comment {
    padding: 0;
  } */

}
/*!**************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/component/homepage/homepage.module.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************/
@media (min-width: 750px) {
  .homepage_content__T1hRw {
    width: 85%;
    height: 100vh;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/*!********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/component/Item2/Item2.module.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************************/
/* wrapper کلی برای لینک */
.Item2_linkWrapper__0tDJ5 {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  /* برای اینکه در حالت فلکس‌باکس درست جای بگیرد */
}

/* استایل اصلی کارت مقاله */
.Item2_cardMain__n5tA5 {
  display: flex;
  flex-direction: column;
  /* در موبایل، عکس بالا، متن پایین */
  background-color: #ffffff;
  /* پس‌زمینه سفید تمیز */
  border-radius: 25px;
  /* گوشه‌های گرد و جذاب */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  /* سایه نرم و مدرن */
  overflow: hidden;
  /* جلوگیری از بیرون زدن محتوا از گوشه‌ها */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* انیمیشن ظریف برای هاور */
  cursor: pointer;
  width: 100%;
  height: 350px;
  /* ارتفاع ثابت برای هم‌ترازی در گرید */
  margin: 0 auto;
  /* برای سنتر شدن در صورت داشتن عرض محدود */
  direction: rtl;
  /* پیش‌فرض برای فارسی */
}

.Item2_cardMain__n5tA5:hover {
  transform: translateY(-5px);
  /* کمی بالا آمدن کارت هنگام هاور */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  /* سایه قوی‌تر */
}

/* کانتینر عکس */
.Item2_imageContainer__0XeJY {
  width: 100%;
  height: 200px;
  /* ارتفاع عکس */
  overflow: hidden;
  /* برای اطمینان از اینکه عکس داخل محدوده خود است */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* استایل عکس */
.Item2_cardImage__Rc__p {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* پوشش کامل کانتینر با حفظ نسبت ابعاد */
  display: block;
  /* حذف فضای اضافی زیر عکس */
  border-top-left-radius: 25px;
  /* تطابق با گوشه‌های کارت */
  border-top-right-radius: 25px;
}

/* کانتینر متن و عنوان */
.Item2_contentContainer__aEt_9 {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* برای جا دادن عنوان و باقی موارد */
  flex-grow: 1;
  /* برای اینکه این بخش فضای خالی را پر کند */
}

/* عنوان مقاله */
.Item2_cardTitle__VvC0Q {
  font-size: 18px;
  font-weight: 700;
  /* فونت ضخیم‌تر برای عنوان */
  color: #333;
  margin: 0 0 10px 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* نمایش حداکثر دو خط عنوان */
  -webkit-box-orient: vertical;
}

/* استایل برای وضعیت بارگذاری */
.Item2_loading__x2pug {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  /* ارتفاع ثابت برای لودینگ */
  background-color: #f8f8f8;
  color: #777;
  font-size: 16px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* --- Media Queries برای ریسپانسیو شدن --- */

/* موبایل (کوچکتر از 750px) */
@media (max-width: 750px) {
  .Item2_cardMain__n5tA5 {
    flex-direction: row;
    /* در موبایل، کنار هم: عکس سمت راست، متن سمت چپ */
    height: 120px;
    /* ارتفاع کمتر */
    padding: 15px;
    gap: 15px;
    border-radius: 15px;
  }

  .Item2_cardMain__n5tA5:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .Item2_imageContainer__0XeJY {
    height: 90px;
    /* عکس کوچکتر */
    width: 120px;
    /* عرض ثابت برای عکس */
    flex-shrink: 0;
    /* جلوگیری از کوچک شدن عکس */
  }

  .Item2_cardImage__Rc__p {
    border-radius: 15px;
    /* گوشه‌های گردتر برای عکس در موبایل */
    object-fit: cover;
  }

  .Item2_contentContainer__aEt_9 {
    padding: 0;
    /* حذف padding اضافی */
  }

  .Item2_cardTitle__VvC0Q {
    font-size: 14px;
    /* فونت کوچکتر برای عنوان */
    margin-bottom: 5px;
    -webkit-line-clamp: 3;
    /* اجازه نمایش سه خط عنوان */
  }

  .Item2_linkWrapper__0tDJ5 {
    direction: ltr !important;
    /* جهت کل لینک برای چیدمان صحیح */
  }
}

/* تبلت (بین 750px تا 1250px) */
@media (min-width: 750px) and (max-width: 1250px) {
  .Item2_cardMain__n5tA5 {
    height: 280px;
    /* ارتفاع متوسط */
    padding: 20px;
    gap: 15px;
    border-radius: 20px;
  }

  .Item2_cardMain__n5tA5:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  }

  .Item2_imageContainer__0XeJY {
    height: 160px;
    /* ارتفاع عکس متوسط */
  }

  .Item2_cardImage__Rc__p {
    border-radius: 20px;
  }

  .Item2_cardTitle__VvC0Q {
    font-size: 16px;
    /* فونت کمی بزرگتر */
    margin-bottom: 10px;
    -webkit-line-clamp: 2;
  }
}

/* دسکتاپ (بزرگتر از 1250px) */
@media (min-width: 1250px) {
  .Item2_cardMain__n5tA5 {
    width: 100%;
    /* اجازه بده عرض به صورت داینامیک تنظیم شود */
    max-width: 400px;
    /* حداکثر عرض کارت */
    height: 380px;
    /* ارتفاع کمی بیشتر */
    padding: 25px;
    gap: 15px;
    border-radius: 25px;
  }

  .Item2_cardImage__Rc__p {
    border-radius: 20px;
    /* کمی گردتر */
  }

  .Item2_cardTitle__VvC0Q {
    font-size: 18px;
    /* فونت عنوان اصلی */
    margin-bottom: 12px;
  }
}
