/*استایل متن صفحه اصلی*/
.container-main-page{
 	display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: .25rem;
  	
}
.txt-main-page{
 	text-align: justify;
  	color: #44474e;
  	font-size: 1.25rem!important;
  	font-weight: 900!important;
  	line-height: 1rem !important;
  	margin-bottom: 0.6rem!important;
}

.heading-main-page{
 	text-align: justify;
  	color: #44474e;
  	font-size: 1.25rem!important;
  	font-weight: 900!important; 
}

.list-main-page{
 	color: #44474e;
  	gap: .75rem !important;
    line-height: 2rem !important;
  	margin-top: 15px;
}

.item-list-main-page{
 	list-style-image: url(/upload/1280/files/B6kqFZ27/a9Lwui4h.png);
  	list-style-position: inside;
    font-size: 1rem;
    line-height: 2rem !important;
}

/* تنظیمات برای صفحه‌نمایش‌های بزرگ‌تر از 1200px */
@media (min-width: 1200px) {
    .container-main-page {
        gap: 0.5rem;
    }

    .txt-main-page, .heading-main-page {
        font-size: 1.5rem !important;
    }
}

/* تنظیمات برای تبلت (بین 768px و 1200px) */
@media (max-width: 1200px) and (min-width: 768px) {
    .container-main-page {
        flex-direction: row;
        gap: 0.5rem;
    }

    .txt-main-page, .heading-main-page {
        font-size: 1rem !important;
        line-height: 1rem !important;
    }

    .item-list-main-page {
        font-size: 0.875rem;
	  	line-height: 1.5rem !important;
    }
}

/* تنظیمات برای موبایل (کمتر از 768px) */
@media (max-width: 768px) {
    .txt-main-page, .heading-main-page {
        font-size: 1rem !important;
        line-height: 1.4rem !important;
    }

    .list-main-page {
        margin-top: 10px;
        line-height: 1.8rem !important;
	  	padding: 0px 10px;
    }

    .item-list-main-page {
        font-size: 0.9rem;
	  	gap: 0px;
	  	width: 100%;
	  	list-style-position: outside;
    }
}



/*اسلایدر محصولات صفحه اصلی*/
.slider-product {
     width: 100%;
     max-width: 1580px;
     overflow: hidden;
     position: relative;
     direction: ltr;
}

.slider-product-track {
      display: flex;
      transition: transform 0.3s ease-in-out;
}

.slider-product-item {
  	 flex: 0 0 calc(100% / 6.6 - 35px); /* تقسیم 3 برای دسکتاپ */
     margin: 8px;
     text-align: center;
}

.slider-product-item .slider-product-img {
      width: 100%;
      height: auto;
      max-width: 160px;
      aspect-ratio: 1;
      object-fit: cover;
      border-radius: 50%;
      margin: 0 auto 10px;
      border: 2px solid #ddd;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.slider-product-item .slider-product-txt {
      font-size: 14px;
      color: #333;
      margin: 0;
}

.slider-product-buttons {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 100%;
      display: flex;
      justify-content: space-between;
      pointer-events: none;
      z-index: 10;
}

.slider-product-buttons .slider-product-btn {
      background-color: #fff;
      border: 1px solid #f3f3f3;
      border-radius: 8%;
      width: 50px;
      height: 50px;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      transition: transform 0.2s, background-color 0.2s;
      pointer-events: all;
      z-index: 11;
}

.slider-product-buttons .slider-product-btn:disabled {
      background-color: #ddd;
      cursor: not-allowed;
      box-shadow: none;
      border: 2px solid #ddd;
      color:#9c9c9c;
}
        
.slider-product-buttons .slider-product-btn:disabled .fa{
      color:#9c9c9c;
}

.slider-product-buttons .slider-product-btn:hover {
      background-color: #f3f3f3;
      transform: scale(1.1);
}

.slider-product-buttons .slider-product-btn .fa {
      color: #CC0000;
      font-size: 18px;
}
        
.slider-link{
      text-decoration: none;
}
/* تنظیمات حالت موبایل */
@media (max-width: 768px) {
    .slider-product-item {
        flex: 0 0 calc(25% - 20px); /* نمایش 2 آیتم در موبایل */
    }
}

/* تنظیمات حالت موبایل */
@media (max-width: 480px) {

    .slider-product-track {
        display: flex;
        justify-content: flex-start; /* نمایش آیتم‌ها از سمت چپ */
        
    }
  
    .slider-product-item {
	  	flex: 0 0 calc(34%);
        text-align: center;
	  	margin:4px;
	  padding:2px;
    }

    .slider-product-img {
        width: 112px !important; /* کاهش سایز دایره */
        height: 112px !important;
	  max-width: 112px !important;
        object-fit: cover;
        border-radius: 50%;
        border: 1px solid #ddd; /* تنظیم ظریف برای حاشیه */
    }

  .slider-product-buttons .slider-product-btn {
		width: 30px;
		height: 30px;
	}
	.slider-product-buttons .slider-product-btn .fa {
		color: #CC0000;
		font-size: 14px;
	}
}



.virtualMenuTileBox{
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}



/*Article*/
.txt-article {
  text-align: justify;
  line-height: 1.5;
}

.spn-article{
 	font-size: 1rem; 
}

.title-article {
  text-align: justify;
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.5;
  padding-bottom: 12px;
}

.article-link{
 	width:750px;
  	height: 551px;
  	margin: 12px 0px;
}

.img-article {
  display: flex;
  margin: 0px auto;
  max-width: 100%;
  height: auto;
}

.body-list-order-article {
  text-align: justify;
  padding-right: 0.9375rem;
}

.list-order-article {
  padding-bottom: 12px;
}

.tbl-article{
 	margin: 20px auto;
  	text-align: center;
  	width:476px;
}

/* حالت‌های ریسپانسیو */
@media (max-width: 768px) {
  .title-article {
    font-size: 1.1rem; /* کاهش اندازه فونت برای موبایل */
  }

  .body-list-order-article {
    padding-right: 0.5rem; /* کاهش فاصله برای فضای کمتر */
  }
  .tbl-article {
    width: 90%; /* تغییر عرض جدول به درصد برای هماهنگی با صفحه */
    font-size: 0.9rem; /* کاهش اندازه فونت داخل جدول */
  }
}

@media (max-width: 480px) {
  .title-article {
    font-size: 1rem; /* کاهش بیشتر اندازه فونت */
    line-height: 1.4;
  }

  .img-article {
    max-width: 90%; /* کوچک‌تر کردن تصاویر برای موبایل */
  }

  .body-list-order-article {
    padding-right: 0.25rem; /* کاهش بیشتر فاصله */
  }
  
  .tbl-article {
    width: 100%; /* جدول به‌طور کامل عرض صفحه را اشغال کند */
    font-size: 0.8rem; /* کاهش بیشتر اندازه فونت */
    overflow-x: auto; /* فعال کردن اسکرول افقی در صورت نیاز */
  }
}

/*لوگو موشن*/
#preloader-motion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#preloader-motion.hidden {
    display: none;
}

#content-motion {
    display: none; /* مخفی کردن محتوای سایت در ابتدا */
}

@media (max-width: 768px) {
   #preloader-motion {
      display: none; /* پنهان کردن پیش‌لودر در موبایل */
   }

   #content-motion {
      display: block; /* نمایش محتوای سایت در موبایل */
   }
}


/*سوالات متداول*/
button {
    margin-top: 20px;
    padding: 10px;
    background-color: #3498db;
    color: white;
    border: none;
    cursor: pointer;
}

.accordion {
     max-width: 1580px;
     margin: auto;
  	 padding: 0px 15px;
}

.accordion-item {
     background-color: #e0e0e0; /* رنگ طوسی */
     margin-bottom: 10px;
     border-radius: 5px;
     overflow: hidden;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.accordion-header {
     padding: 15px;
     cursor: pointer;
     font-weight: bold;
     font-size: 12px;
     display: flex;
     justify-content: space-between;
     align-items: center;
}

.accordion-header::after {
     content: "▼";
     font-size: 16px;
     color: #d9534f;
     transition: transform 0.3s;
}

.accordion-item.active .accordion-header::after {
     transform: rotate(180deg);
}

.accordion-body {
     padding: 15px;
     display: none;
     background-color: #f7f7f7; /* رنگ پس‌زمینه برای محتوای باز شده */
     color: #333;
     font-size: 15px;
}

/* استایل‌های ریسپانسیو */
@media (max-width: 576px) {
   .accordion-header {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
     .accordion-header {
         font-size: 16px;
     }
}

@media (min-width: 992px) {
      .accordion-header {
          font-size: 14px;
      }
}

/*CSS Footer*/
.ftr-txt{
 	color: #FFFFFF;
  	text-align: center;
  	font-size: 14px;
  	font-weight: 500;
  	line-height: 30px;
}
.ftr-link{
	display: inline-block;
    padding: 10px 0;
    color: #FFFFFF;
    text-decoration: none;
}
.ftr-link:hover{
 	color: #FFFFFF;
    text-decoration: none;
}


/*CSS Footer cellphone*/
.menu-item {
   cursor: pointer;
   padding: 15px;
   border-bottom: 1px solid #ddd;
   display: flex;
   justify-content: space-between !important;
   align-items: center;
   width: 350px; 
   color: #FFFFFF;
}

.arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    margin-left: 8px;
    color: #FFFFFF;
}

.arrow.down {
     transform: rotate(0deg);
}

.arrow.up {
     transform: rotate(180deg);
}

.txt-footer{
 	line-height: 30px;
    justify-content: space-around;
}

.txt-footer-phone{
 	line-height: 30px;
    justify-content: space-around;
    padding-bottom:5px;
    direction: ltr;
    text-align: center;
}

.submenu {
    display: none; 
    border-top: 1px solid #ddd;
    padding: 10px;
    text-align: right;
    width: 100%;
    color: #FFFFFF;
}

.submenu a {
     display: block;
     padding: 10px 0;
     color: #FFFFFF;
     text-decoration: none;
}

.submenu a:hover {
     color: #797979;
}

.menu-item h4 {
      margin: 0;
      font-size: 16px;
}



/*منو اصلی سایت*/
.virtualMenuTile{
 	padding:0px 20px; 
}

.owl-item{
 	 border: 1px solid #9C9C9C;
  	border-radius: 10px;
}

#MenuV2 .MenuMainUl.mainUl .mainParts{
    padding: 10px 4px;
  	margin:0px auto;
}
#AFHeader #AFHeaderMain .AFHeaderMainSize #AFHeaderAdditionalBox #AdditionalMenuUl>li {
    display: flex;
    flex-wrap: nowrap;
}
#MenuV2 .MenuMainUl.mainUl .mainParts a.MenuListLiA, #secondMenu .MenuMainUl.mainUl .mainParts a.MenuListLiA {
    padding: 5px;
}
#AFHeader #AFHeaderMain .AFHeaderMainSize {
    padding-top: 10px;
    padding-bottom: 10px;
}
#MenuV2 .MenuMainUl.mainUl .mainParts:hover, #secondMenu .MenuMainUl.mainUl .mainParts:hover{
	background: rgba(108,117,125,0.2)
}

#VitualMenuSection .VitualMenuSectionBox .VitualMenuTitleBox .VitualMenuTitleBoxRight .VitualMenuTitleBoxRightDecs{
  display:none; 
}

.MegaMenuUl {
 	height:300px;
  	padding-bottom:20px;
}

.menuBuilder .MenuMainUl .MenuMega .MegaMenuv2 #megaMenuTabContent .MegaMenuUl .MegaMenuUlLi{
 	width:30% !important; 
}


/*آیکون کافه چاپ چرخش*/
.titleElementTitleIcon {
    width: 50px;
    height: 50px;
    transition: transform 0.5s ease;
}

.titleElementTitleIcon:hover {
    transform: rotate(360deg);
}

/*دکمه ارسال رایگان*/
.movingButtonIcon  {
    border: none;
  	width:100px;
  	height:30px;
  	text-align:center;
    border-radius: 15px;
    cursor: pointer;
    animation: move 2s ease-in-out infinite; 
    transition: background-color 0.3s ease;
  
}

@keyframes move {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(20px); 
    }
    100% {
        transform: translateX(0);
    }
}

/* Main CSS */
.grid-wrapper > div {
	display: flex;
	justify-content: center;
	align-items: center;
}
.grid-wrapper > div > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
}

.grid-wrapper {
	display: grid;
	grid-gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-auto-rows: 200px;
	grid-auto-flow: dense;
}
.grid-wrapper .wide {
	grid-column: span 2;
}
.grid-wrapper .tall {
	grid-row: span 2;
}
.grid-wrapper .big {
	grid-column: span 2;
	grid-row: span 2;
}


/*Style Sheet All Page*/
/* تنظیمات کلی */
.container-static-product {
    text-align: right;
    margin: 0;
    padding: 0;
    height: 100%;
    direction: rtl;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.container-static-product .sec-box {
    width: 100%; 
    margin: 0px;
    padding: 0;
    display: block;
}

.sec-box-q{
 	padding-top: 20px !important; 
  	border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.container-static-product .sec-box .title-static {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 0;
  	position: relative;
}

.container-static-product .sec-box .title-static-inside{
 	margin-top: 4.375rem; 
}

.title-static-q{
 	padding-bottom: 15px !important; 
  	margin-top: 1.5rem;
}

.container-static-product .sec-box .title-static::before,
.container-static-product .sec-box .title-static::after {
    content: "";
    height: 3px; /* ارتفاع خط */
    flex: 1 0 0px; /* تنظیم فضای خطوط */
    display: block; /* اطمینان از نمایش خطوط */
  	margin: 0px 20px;
}

.container-static-product .sec-box .title-static::before {
    background: linear-gradient(to right, #cc0000, #ff6666); /* گرادیانت دلخواه */
}

.container-static-product .sec-box .title-static::after {
    background: linear-gradient(to left, #cc0000, #ff6666); /* گرادیانت دلخواه */
}

.container-static-product .sec-box .title-static .title-visit {
    padding: 0;
    margin: 0;
  	color: #62666D;
}

.title-visit-q{
 	font-size:1.4rem;
	color: #62666D;
  	padding-bottom: 15px;
}

.container-static-product .sec-box .txt-box {
    text-align: center;
    color: #424750;
    margin: 2.125rem 0 0;
    font-size: 1.125rem;
  	display:content;
}

.container-static-product .sec-box .card-box {
    margin: 3.125rem auto 0;
    display: flex;
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
    overflow: hidden;
  	padding-top: 20px;
}

.container-static-product .sec-box .card-box .col-box {
    height: 25rem;
    width: 22%;
    text-align: center;
    overflow: hidden; /* جلوگیری از بیرون زدن تصویر */
    border: 1px solid rgba(190, 190, 190, 0.9);
    border-radius: 0.625rem;
    margin-bottom: 1.25rem;
    margin-left: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
   box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.container-static-product .sec-box .card-box .col-box:hover {
    transform: scale(1.1); /* بزرگ‌نمایی کارت */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* سایه جذاب هنگام هاور */
}

.container-static-product .sec-box .link-box {
    text-decoration: none;
    color: #424750;
    padding: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.container-static-product .sec-box .card-box .col-box .pic-box {
    width: 100%;
    overflow: hidden; /* جلوگیری از بیرون زدن تصویر */
    display: block;
    padding: 10px;
    background-size: cover;
    border-radius: 0.625rem; /* گرد کردن گوشه‌ها */
    transition: transform 0.3s ease-in-out;
}

.container-static-product .sec-box .card-box .col-box:hover .pic-box {
    transform: scale(1.0.5); /* بزرگ‌نمایی تصویر */
    border-radius: 0.625rem; /* حفظ گردشدگی گوشه‌ها در زمان هاور */
}

.container-static-product .sec-box .card-box .col-box .pic-box .img-box {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover; /* حفظ نسبت تصویر */
    border-radius: 0.625rem; /* گرد کردن گوشه‌های تصویر */
}

.container-static-product .sec-box .card-box .col-box .txt-card-box {
    padding: 1.0625rem;
    text-align: center;
    margin-top: 1rem;
    background-color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container-static-product .sec-box .card-box .col-box:hover .txt-card-box {
    background-color: #f5f5f5; /* تغییر رنگ پس‌زمینه */
    color: #000; /* تغییر رنگ متن به مشکی */
}

.container-static-product .sec-box .card-box .col-box .txt-card-box .title-card-box {
    font-size: 0.875rem;
    margin: 0;
    font-weight: 700;
    color: #424750;
    overflow-wrap: break-word; /* کنترل کشیدگی متن */
    word-wrap: break-word; /* کنترل کشیدگی متن */
}

.container-static-product .sec-box .card-box .col-box .txt-card-box .desc-box {
    font-size: 0.75rem;
    color: #81858b;
    padding-top: 0.625rem;
    margin: 0px auto;
    text-align: justify;
    width: 12.5rem;
    overflow-wrap: break-word; /* کنترل کشیدگی متن */
    word-wrap: break-word; /* کنترل کشیدگی متن */
}

.container-static-product .sec-box .card-box .col-box .txt-card-box .txt-center{
    text-align: center !important;
}

.article-section {
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    margin: 4rem auto 0px;
    padding: 0px 15px;
    background-color: #f9f9f9;
    text-align: justify;
	animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-section .article-title-con {
    margin: 1.5rem 0px;
}

.article-title {
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    color: #62666D;
}

.article-title::before {
    content: "\f00c";
  	font-family: FontAwesome;
   	color: #cc0000;
    font-size: 1.2rem;
  	margin-left: 10px;
}

/* استایل لیست ویژگی‌ها */
.article-list {
  list-style-type: disc;
  padding-left: 20px;
  padding-top: 15px;
}

.article-list li {
  font-size: 0.875rem;
  margin-bottom: 10px;
}


.article-section .article-content .article-txt {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}


/* ریسپانسیو برای صفحات تبلت */
@media (max-width: 1024px) {
    .container-static-product .sec-box .card-box .col-box {
        width: 45%;
        margin-left: 0;
    }
  .article-section {
        padding: 1rem; /* کاهش فاصله داخلی */
        margin: 2rem auto;
    }

    .article-title {
        font-size: 1.3rem; /* کاهش اندازه عنوان */
    }

    .article-txt {
        font-size: 0.95rem; /* کاهش اندازه فونت متن */
        line-height: 1.6; /* بهبود خوانایی */
    }
}

/* ریسپانسیو برای صفحات موبایل */
@media (max-width: 768px) {
    .container-static-product .sec-box .card-box {
        justify-content: center;
    }

    .container-static-product .sec-box .card-box .col-box {
        width: 100%;
        margin-left: 0;
        margin-bottom: 1.5rem;
    }
  .article-section {
        padding: 1rem;
    }

    .article-title {
        font-size: 1.25rem;
    }

    .article-txt {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container-static-product .sec-box .txt-box {
        font-size: 0.75rem;
    }

    .container-static-product .sec-box .card-box .col-box {
        width: 100%;
        height: auto;
    }

    .container-static-product .sec-box .card-box .col-box .txt-card-box {
        padding: 0.5rem;
    }

    .container-static-product .sec-box .card-box .col-box .txt-card-box .title-card-box {
        font-size: 0.625rem;
    }

    .container-static-product .sec-box .title-static .title-visit {
        font-size: 1.125rem;
    }

    .container-static-product .sec-box .card-box .col-box .link-box .txt-card-box .desc-box {
        font-size: 0.7rem;
    }
  .article-section {
        padding: 0.75rem; /* کاهش فاصله داخلی بیشتر */
        margin: 1.5rem auto;
        background-color: #ffffff; /* پس‌زمینه سفید برای تمیزی بیشتر */
    }

    .article-title {
        font-size: 1.1rem; /* کاهش اندازه عنوان */
        margin-bottom: 1rem; /* کاهش فاصله زیر عنوان */
    }

    .article-txt {
        font-size: 0.85rem; /* کاهش اندازه متن */
        line-height: 1.5; /* کاهش فاصله خطوط */
        margin-bottom: 0.75rem; /* کاهش فاصله بین پاراگراف‌ها */
    }
}




/*color palette*/
.color-palette-bag, .color-palette-bag-k {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
	max-width: 28.938rem;
  	direction: ltr;
  	margin: 0 auto;
  	padding: 10px;
}

.color-box-bag, .color-box-bag-k {
    width: 30px;
    height: 30px;
    border: 1px solid #000;
    cursor: pointer;
  	font-size: 7px;
	line-height: 30px;
	font-weight: bold;
}

.image-preview-bag, .image-preview-bag-k {
    margin-top: 20px;
  	width:300px;
	height: 300px;
	text-align: center;
}

#selected-image-bag, #selected-image-bag {
    width: 100%;
    height: 100%;
    display: none;
}

@media (max-width: 700px) {
.navmenu1 button.owl-next {
    display: none;
  }
.lineh h6.titleElementTitle {
    line-height: 30px;
}
}