@import url(./first-page.css);
@import url(./font.css);

* {
  padding: 0;
  margin: 0;
}

.form-check-input:checked {
  background-color: #ed1944;
}

.form-control:focus , input:focus {
  border:  1px solid #dee2e6 !important;
  box-shadow: unset !important;
}

body,
span,
p,
div,
button,
input {
  font-family: bakh-regular;
}

a {
  text-decoration: none;
}

.btn-close:focus,
.btn:focus,
button {
  box-shadow: unset !important;
}

.container {
  max-width: 77%;
  padding: 0 !important;
}

input:focus {
  border: unset;
  box-shadow: 0;
  outline: unset;
}

input:focus-visible {
  border: unset;
  box-shadow: 0;
  outline: unset;
}

.navbar {
  background-color: rgba(255, 255, 255, 0.151) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.248);
  backdrop-filter: blur(7px);
  transition: background-color 0.5s ease;
}

.navbar .search,
#mobile-se .search {
  width: 200px;
  border-radius: 0.375rem;
  height: 40px;
  border: 1px solid rgba(51, 51, 51, 0.3);
  padding-right: 50px !important;
}

.navbar .search::placeholder {
  color: rgba(51, 51, 51, 0.7);
  font-size: 11px;
}

.nav-socials .card {
  padding: 10px;
  border-radius: 0.375rem;
  transition: background-color 0.5s ease;
}

.navbar hr {
  border-color: rgba(51, 51, 51, 0.1);
}

.navbar .nav-link {
  color: #333333 !important;
  display: flex;
  font-size: 13px;
}

.navbar .nav-link.active {
  color: #fe0000 !important;
}

.navbar .nav-link::after {
  position: absolute;
  bottom: -17px;
  left: 0;
  right: 0;
  width: 100%;
  height: 1px;
  background-color: red;
}

.navbar .nav-link.active::after {
  content: "";
}
.logo-auto-scale {
  bottom: -200px;
  width: 480px;
  transition: all 0.5s ease; /* انیمیشن نرم */
}

.logo-auto-scale.scrolled {
  width: 185px;
  bottom: 0px;
}

.mobile-menu .search {
  border-radius: 15px;
  height: 50px;
  border: 1px solid rgba(51, 51, 51, 0.3);
  padding-right: 60px !important;
}

.mobile-menu {
  background-color: #eeeeee;
}

.navbar-scrol-fade {
  background-color: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(51, 51, 51, 0.1) !important;
}

.noafter::after {
  margin: 0 !important;
}

.mobile-offcanvas {
  background-color: rgb(255, 255, 255) !important;
}

.mobile-offcanvas .accordion-button,
.mobile-offcanvas .accordion-item {
  background-color: rgb(255, 255, 255) !important;
}

.accordion-button:not(.collapsed) {
  color: inherit !important;
}

.navbar .custome-col-1 {
  width: 30% !important;
}

.navbar .custome-col-2 {
  width: 40% !important;
}

.rotate90 {
  transform: rotate(90deg);
}

.navbar .custome-col-3 {
  width: 30% !important;
}

.nav-socials .card:hover {
  background-color: #333333 !important;
  color: white;
}

.nav-socials .card:hover span {
  color: #dadada;
}

.nav-socials .card:hover img {
  filter: invert(1);
}

.nav-socials .card img {
  transition: filter 0.5s ease;
}

@keyframes slideUpOnce {
  0% {
    transform: translateY(-15px);
  }

  50% {
    transform: translateY(3px);
  }

  100% {
    transform: translateY(0px);
  }
}

.drop-down {
  right: 0;
  top: 100%;
  width: max-content;
  background-color: white;
  display: none;
  animation: slideUpOnce 0.3s ease-out forwards;
  border: 1px solid rgba(0, 0, 0, 0.085);
}

.drop-down-mom:hover .drop-down {
  display: block;
}

.drop-down-2 {
  right: 100%;
  top: 0%;
  width: max-content;
  background-color: white;
  display: none;
  animation: slideUpOnce 0.3s ease-out forwards;
  border: 1px solid rgba(0, 0, 0, 0.085);
}

.drop-down-mom-2:hover .drop-down-2 {
  display: block;
}

.drop-down-3 {
  right: 100%;
  top: 0%;
  width: max-content;
  background-color: white;
  display: none;
  animation: slideUpOnce 0.3s ease-out forwards;
  border: 1px solid rgba(0, 0, 0, 0.085);
}

.drop-down-mom-3:hover .drop-down-3 {
  display: block;
}

.drop-down-4 {
  right: 100%;
  top: 0%;
  width: max-content;
  background-color: white;
  display: none;
  animation: slideUpOnce 0.3s ease-out forwards;
  border: 1px solid rgba(0, 0, 0, 0.085);
}

.drop-down-mom-3:hover .drop-down-4 {
  display: block;
}

.drop-down-5 {
  right: 100%;
  top: 0%;
  width: max-content;
  background-color: white;
  display: none;
  animation: slideUpOnce 0.3s ease-out forwards;
  border: 1px solid rgba(0, 0, 0, 0.085);
}

.drop-down-mom-3:hover .drop-down-5 {
  display: block;
}

.drop-down-6 {
  right: 100%;
  top: 0%;
  width: max-content;
  background-color: white;
  display: none;
  animation: slideUpOnce 0.3s ease-out forwards;
  border: 1px solid rgba(0, 0, 0, 0.085);
}

.drop-down-mom-3:hover .drop-down-6 {
  display: block;
}

.drop-down-7 {
  right: 100%;
  top: 0%;
  width: max-content;
  background-color: white;
  display: none;
  animation: slideUpOnce 0.3s ease-out forwards;
  border: 1px solid rgba(0, 0, 0, 0.085);
}

.drop-down-mom-3:hover .drop-down-7 {
  display: block;
}

.navbar-nav a:hover {
  color: #ed1944 !important;
}

.navbar-nav a:hover img {
 filter: invert(25%) sepia(95%) saturate(3300%) hue-rotate(335deg) brightness(97%) contrast(100%);

}


.drop-down-mom:hover > a {
  color: #ed1944 !important;
}

.drop-down-mom:hover img {
  filter: invert(25%) sepia(95%) saturate(3300%) hue-rotate(335deg) brightness(97%) contrast(100%);
}


.navbar-nav a {
  transition: color 0.5s ease;
}

.navbar-nav a img {
  transition: filter 0.5s ease;
}

.megamenu {
  top: 100%;
  animation: slideUpOnce 0.3s ease-out forwards;
  display: none;
}

.border-1 {
  border: 1px solid rgba(0, 0, 0, 0.085);
}

.megamenu-father:hover .megamenu {
  display: block !important;
}

.nav-tabs-mega-menu .nav-link {
  font-size: 14px !important;
  padding: 6px 12px;
  background-color: #ffffff;
  width: max-content;
  color: rgba(0, 0, 0, 0.5) !important;
  border-radius: 5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0);
}

.nav-tabs-mega-menu .nav-link:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0) !important;
}

.nav-tabs-mega-menu .nav-link:last-child:hover {
  border-bottom: 1px solid rgba(0, 0, 0, 0) !important;
}

.nav-tabs-mega-menu .nav-link:hover {
  border: 1px solid rgba(255, 255, 255, 0);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.nav-tabs-mega-menu .nav-link::after {
  content: unset !important;
}

.nav-tabs-mega-menu .nav-link.active {
  background-color: #ed1944 !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0) !important;
}

.nav-tabs-mega-menu .nav-link.active i {
  color: white !important;
  opacity: 1 !important;
}

.megamenu .card-product {
  min-height: 150px !important;
}

.megamenu .col-10 {
  max-height: 295px;
  overflow-y: scroll;
}

.scroll-flash {
  display: none;
  width: 35px;
  border: 1px solid #555555;
  height: 35px;
  background-color: white;
}

.newsletter {
  max-width: 900px;
  right: 0;
  left: 0;
  top: -135px;
}

.red-bg {
  background-color: #ed1944;
}

.doge {
  mix-blend-mode: color-dodge;
}

.newsletter input {
  border-radius: 10px;
}

.newsletter input::placeholder {
  font-size: 11px;
  color: rgba(51, 51, 51, 0.7);
}

.margin-custom-3 {
  margin-top: 10rem;
}

.menu-mobile {
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.638) 100%
  );
}

.logo-img {
  width: 270px;
  left: 0;
  right: -70px;
  margin: auto;
  top: 80px;
  position: absolute;
  transition: all 0.4s ease-in-out;
}

/* حالت بعد از اسکرول */
.scrolled .logo-img {
  width: 100%; /* عرض کمتر */
  top: -10px; /* بالای دیو مادر */
  right: 0px;
}

.max-2 {
  height: max-content !important;
}

.mySwiper-ban .swiper-wrapper {
	transition-timing-function: linear !important;
}
.mySwiper-ban .swiper-slide {
	text-align: center;
	font-size: 18px;
	background: #fff;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 0.3s all;
}

.r-180 {
  rotate: 180deg;
}

.badge-crt {
  width: 18px;
  height: 18px;
  background-color:#ed1944;
  position: absolute;
  top: -6px;
  left: -6px;
  padding: 1px 3px 0px 0px;
}

.color-checkbox:checked + .color-label .colorIcon {
  border: 2px solid rgb(255, 255, 255) !important;
  box-shadow: 0 0 0 1px rgb(94, 94, 94);
  transform: scale(1.1);
}

.menu-new-af::after {
  position: absolute;
  width: 3px;
  height: 100%;
  right: 0;
  top: 0;
  bottom: 0;
  content: "";
  background-color: #ed1944;
  border-radius: 5px;
}

.resultes {
  max-height: 250px;
  overflow: auto;
}

.border-result {
  border: 1px solid #00000012;
}

.pagii nav {
  direction: rtl; 
  font-family: "iranyekan", sans-serif;
  justify-content: center;
  margin-top: 2rem;
}

.pagii nav p {
  font-size: 14px;
  color: #666;
}

.pagii nav a,
.pagii nav span {
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 38px;
  margin: 0 3px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}


.pagii nav a {
  background-color: #fff;
  border: 1px solid #ddd;
  color: #333;
}

.pagii nav [aria-current="page"] span {
  background-color: #ed1944 !important;
  color: #ffffff;
  border-color: #ed1944;
}

.pagii nav svg {
  width: 18px;
  height: 18px;
}

.pagii nav p {
  margin: 0;
  color: #555;
  font-size: 13px;
}



.pagii .shadow-sm {
  box-shadow: unset !important;
}

.pagii .flex-1 {
  display: none;
}

.pagii [aria-label="« Previous"],
.pagii [aria-label="&laquo; Previous"]{
  transform: rotate(180deg);
  cursor: pointer;
}

.pagii [aria-label="Next »"],
.pagii [aria-label="&raquo; Next"],
.pagii [rel="next"] {
  cursor: pointer;
  transform: rotate(-180deg);
}

.pagii .hidden.sm\:flex-1 > div:first-child {
  display: none !important;
}

.add-to-card-re {
    padding: 10px 20px;
    background-color: #ed1944;
    color: white;
    transition: 0.5s 
     ease-in-out;
    border: 1px solid #ed1944;
    cursor: pointer;
}

.add-to-card-re:hover {
  background-color: transparent;
  color: #ed1944;
}