.myheader {
  padding: 85px 10 !important;
  min-height: 150px !important;
}

.myheader .navbar-middle {
  padding: 0 !important;
  gap: 10px !important;
}

.sub-menu-list {
 z-index:1200000 !important; 
}

#search-navbar .inputgroup .btn-search {
  height:49px !important
}

#search-navbar .inputgroup .input {
  background-color: white !important;
}

.myheader {
  box-shadow: unset !important;
}

.footer .footer-info .description {
 color:white !important; 
}

.address {
 text-aligh:right !important; 
}

.copyright {
  display:none;
}

#header-logo img {
   margin-top: -40px !important;
 
}

#search-navbar {
  margin-top: -40px !important;
}

#shop-tools-navbar {
  margin-top: 5px !important;
}


.myheader {
  position: relative;
  background: linear-gradient(to left, #df2675, #4e0c69);
  color: white;
  text-align: center;
  padding: 60px 40px 100px; /* فاصله پایین بیشتر برای جای منحنی */
 
}



/* اطمینان از موقعیت‌دهی نسبی به والد */
.search-navbar {
  position: relative;
}

/* موقعیت‌دهی فرم جستجو */
#search-clickable {
  position: absolute;
  top: -30px;   /* تنظیم فاصله از بالا */
  left: -750px;    /* تنظیم فاصله از سمت چپ */
  z-index: 1000;
  background: white;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.navbar-bottom {
	margin-top:-21px!important;
}

.myheader .navbar-top .sign-content .btn-link:last-child, .myheader .navbar-top .sign-content .user-name,.basket-content .btn-basket .icon {
 color:white !important; 
}
 
body {
  font-family: Iransans !important;
}

 .col-md-4:nth-child(1) .card-choose .card-inner  {
  background-image: url(https://maktabemam.mmhe.ir/media/settings/MuLKqPbk7G8siEXDRpOZugXC1LV7DROsLqdz7zjR.svg) !important;
  }


.item-link {
  font-size: 16px !important;
}

.slider-discount-section {
  background-color: #68b943 !important;
}

.dicardo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #8e2de2, #4a00e0); /* به دلخواه قابل تغییره */
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  width: 100%;
  max-width: 350px;
  height: 200px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}
.dicardo-card:hover {
  transform: translateY(-5px);
}
.card-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.card-content {
  position: relative;
  z-index: 2;
}
.card-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1rem;
  background-color: #fff;
  color: #444;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.9rem;
}
.card-btn .icon-pen {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('your-pen-icon.svg'); /* یا از آیکن فونت استفاده کن */
  background-size: contain;
  background-repeat: no-repeat;
}

/*بر بنر بزرگه که جدا نمایش میده*/
[data-banner-full-split] {
   // border: 3px solid #b3ede0;
    border-radius: 6px !important;
}

/*برا بنر یدونه ای درازه*/
img[data-banner="1"] {
	border-top-left-radius: 15px !important;
	border-bottom-right-radius: 15px !important;
}

/*برا بنر دوتایی سمت چپ*/
img[id="banner-5"] {
  	border-top-left-radius: 15px !important;
	border-bottom-left-radius: 15px !important;
  //	border: 2px solid #85d6c4;
}

/*برا بنر دوتایی سمت راست*/
img[id="banner-4"] {
  	border-top-right-radius: 15px !important;
	border-bottom-right-radius: 15px !important;
  	//border: 2px solid #85d6c4;
}

.category-inner .item a {
  box-shadow: 1px 1px 1px 1px #4545452e;
}

.navbar-middle {
  margin-bottom: 20px !important;
}
 
#login_header {
  line-height: 28px;text-align: center;
}

#product-details .products-other-details .details-inner {
 	background-color: #efffef !important;
//	box-shadow: 1px 1px 1px 1px #edf9ed !important;
}

.footer .copyright, .search-by-city {
 background-color: #f5f5f5 !important;
}

[data-button-compare="true"],[data-button-share="true"],[data-button-bookmark="true"] {
      background-color: white !important;
	//border: 2px solid #e1e1e1 !important;
}

.blog-filter {
  background-color: transparent !important;
}

.blog-filter .blog-list-category .list-inner .item {
  	background-color: white !important;
	padding: 18px !important;
	box-shadow: 1px 1px 1px 1px #8080800d !important;
	border-radius: 17px !important;
  	width: 149px !important;
}

/*برا بنر دوتایی سمت چپ*/
img[id="banner-90"] {
  	border-top-left-radius: 15px !important;
	border-bottom-left-radius: 15px !important;
  	//border: 2px solid #9f9c9f;
}

/*برا بنر دوتایی سمت راست*/
img[id="banner-86"] {
  	border-top-right-radius: 15px !important;
	border-bottom-right-radius: 15px !important;
  	//border: 2px solid #9f9c9f;
}

/*برا بنر دوتایی سمت چپ*/
img[id="banner-91"] {
  	border-top-left-radius: 15px !important;
	border-bottom-left-radius: 15px !important;
  	//border: 2px solid #9f9c9f;
}

/*برا بنر دوتایی سمت راست*/
img[id="banner-87"] {
  	border-top-right-radius: 15px !important;
	border-bottom-right-radius: 15px !important;
  //	border: 2px solid #9f9c9f;
}

.myheader .navbar-middle .logo img {
 
}

[data-megamenu-cover="1"] {
 display:none; 
}

#megamenu-1 .megamenu .mega-inner .mega-list .list-layout .sub-menu .sub-category .categories-list .sub-item .sub-title, .cart-details-content .checkout-list .product-item .p-info .property-list .item .desc, .order-details .order-list .order-item .info .property-list .item .desc {
 color:#2ab291 !important; 
}

 

.myheader .navbar-middle .logo img {
  height: 58px !important;
}

[data-banner="3"],[data-banner-full-split],[data-banner="1"] {
  border-radius: 22px !important;
 // box-shadow: 1px 1px 1px 1px #7878783d;
}

.container {
  padding-top: 6px;
}

#consult {
  background-color: var(--first-color) !important;
}

.blog-grid-list .grid-layout .card-grid-blog .overlay {
  background-image: unset !important;
}

.myheader ..navbar-bottom {
  color: #f0f3f5; 
} 

.myheader .navbar-bottom .category-links .menu-list .menu-item .item-link {
  color: #fdfdfd;
}

.myheader .navbar-top .sign-content .btn-link .login a {
  color: #fdfdfd;
  }

.footer .footer-info .description {
  color: #040404
  }
 
.footer .links .list li a {
  color: #040404;
  }

.myheader .navbar-bottom .category-links .menu-list .menu-item .item-link {
 

  justify-content: center;
}

#product-details .products-other-details .details-inner {
  background-color: #021c7414 !important
}
 #footer {
  position: relative;
  background: linear-gradient(to left, #df2675, #4e0c69);
  color: white;
  text-align: text-aligh:right !important;
  padding: 60px 40px 100px; /* فاصله پایین بیشتر برای جای منحنی */
  overflow: hidden;
   text : 
}
.footer .links .list li a {
  color: white;
}

.footer .footer-info .description {
 color: white;
  }

#product-details .products-other-details .exist-product h3, span {
  color: white;
}

#qb_8 .card-product-slide {
  width:294px !important;
}


#qb_8 .card-product-slide .img-container {
  aspect-ratio: 16/9;
}

#product-details .product-images .image-preview .thumb,#product-details .product-images .image-thumb .thumb {
  height: unset !important;
  aspect-ratio: 16/9;
}

#products-section .products-list .card-product-slide .img-container {
  aspect-ratio: 16/9;
    height: auto;
}
.card {
  /* تنظیمات کلی کارت */
  width: 250px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* برای برش محتوای اضافی */
}

.img-container {
  /* این کلاس ابعاد کادر مستطیلی عکس را تعیین می‌کند */
  width: 100%;
  height: 150px; /* ارتفاع دلخواه برای مستطیل. می‌توانید آن را تغییر دهید */
  overflow: hidden; /* ضروری برای برش بخش‌های اضافی تصویر */
}

.img-container img {
  /* تنظیمات تگ img داخل img-container */
  width: 100%;
  height: 100%;
  object-fit: cover; /* تصویر را بدون کشیدگی و با حفظ نسبت، کادر را پر می‌کند */
  object-position: center; /* مرکز تصویر را در وسط کادر قرار می‌دهد */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}


.card-product-slide .card-inner .info .name {
display:none
}


#products-section .products-list .card-product-slide {
  flex: 0 0 33.33%;
  width: 33.33%;
}

@media (max-width: 768px) {
  #products-section .products-list .card-product-slide {
  flex: 0 0 100%;
  width: 100%;
  }
}
#footer,
.footer,
#footer p,
#footer span,
#footer a,
.footer p,
.footer span,
.footer a {
  color: #ffffff !important;
}
/* برای سفید کردن آیکون‌های شبکه‌های اجتماعی در فوتر */
.social-icons-list img {
  filter: brightness(0) invert(1) !important;
}
.footer-header-title {
  margin-bottom: 20px !important;
  display: block !important;
}
/* استایل‌دهی نهایی برای گرد کردن لبه‌ها */