/**************************/
/* HEADER - MAIN STRUCTURE */
/**************************/
#header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
}

/**************************/
/* header-menu__sub */
/**************************/
.header-primary--left .item {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue-150);
  position: relative;
  font-size: 1.8rem;
  transition: unset;
}

.border-circle {
  position: absolute;
  inset: 0;
}

.border-circle .path {
  stroke: var(--c-neutral-150);
  stroke-linecap: round;
  stroke-dasharray: 111, 7;
  stroke-dashoffset: 57;
  transition: var(--anim);
}

.header--menu {
  position: relative;
}

.basket-w__count {
  position: absolute;
  min-width: 1.8rem;
  height: 1.8rem;
  background: var(--c-primary);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2rem;
  font-family: monospace;
  font-size: 1.2rem;
  top: -0.3rem;
  right: -0.5rem;
  z-index: 3;
  pointer-events: none;
  padding: 0.5rem;
}

.header-primary--left .item:hover .path {
  stroke-dasharray: 100, 18;
  stroke-dashoffset: 51;
  stroke: var(--c-primary);
}

.header-primary--left .item:hover {
  color: var(--c-primary);
}

/**************************/
/* LOGIN BUTTON */
/**************************/
.btn.btn--header-login {
  padding: 0.4rem 1.2rem 0.4rem 1.6rem !important;
  font-size: var(--fs-14);
  min-width: auto;
}

.btn--header-login i {
  font-size: 1.8rem;
}

/**************************/
/* SubMenu*/
/**************************/
/* .header-nav {
  display: flex;
  gap: 1.4rem;
  align-items: center;
} */

/* .header-nav a:hover {
  color: var(--c-secondary);
}

.header-nav>li>div {
  overflow: hidden;
  position: relative;
  line-height: 1.2;
  color: var(--c-neutral-800);
}

.header-nav>li>div>a {
  display: inline-block;
  position: relative;
}

.header-nav>li {
  padding: 1.2rem 1rem;
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  color: var(--c-white);
  font-size: var(--fs-14);
  font-weight: bold;
}

.header-nav>li>.sub-menu li a {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 1.2rem;
  padding: 1rem 1.4rem;
  position: relative;
}

.header-nav>li>.sub-menu li a:before {
  content: "";
  position: absolute;
  width: 100%;
  background-image: linear-gradient(to left, #ffffff45, #ffffff00);
  height: 1.5px;
  bottom: 0;
}

.header-nav>li>.sub-menu li a:hover {
  color: var(--c-secondary);
  transition-delay: 0s !important;
}

.header-nav>li>.sub-menu li:first-child {
  margin-top: 1rem;
}

.header-nav>li>.sub-menu li:last-child {
  margin-bottom: 1rem;
}

.header-nav>li>.sub-menu li:last-child>a:before {
  display: none;
}

.header-nav>li ul li ul li:first-child {
  margin-top: 1rem !important;
}

.header-nav>li ul li ul li:last-child {
  margin-bottom: 1rem !important;
}

.header-nav>.menu-item-has-children:after {
  content: "\e914";
  font-family: var(--ff-icon);
  display: inline-block;
  margin-right: 0px;
  font-size: 1.2rem;
  transition: 0.3s;
  position: absolute;
  left: -0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-secondary);
}

.header-nav>.menu-item-has-children:hover:after {
  transform: translateY(-50%) rotate(180deg);
  color: var(--c-secondary);
}

.header-nav li>.sub-menu {
  box-shadow: 0 4px 24px #ffffff1a;
}

.header-nav>li>.sub-menu li.menu-item-has-children>a:after {
  content: "\e916";
  margin-right: auto;
  font-family: var(--ff-icon);
  font-size: 1.2rem;
  opacity: 0.8;
}

/* .header-nav > li > .sub-menu li:not(:last-child) > a {
  border-bottom: 1px solid #b19aa841;
} */
/* .header-nav>.menu-item-has-children>.sub-menu {
  box-shadow: 0 0 0 100vmax rgb(0 0 0 / 48%);
  -webkit-clip-path: inset(0 -100vmax -100vmax -100vmax);
  clip-path: inset(0 -100vmax -100vmax -100vmax);
}

.header-nav>li>.sub-menu>li>a {
  transition: var(--anim);
  opacity: 0;
}

.header-nav>li:hover>.sub-menu>li>a {
  opacity: 1;
  visibility: visible;
  margin-top: 0;
  z-index: 9999;
  overflow: visible;
  pointer-events: auto;
  transform: translateY(0px);
  line-height: 1.8;
}

.header-nav li:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 0;
  z-index: 9999;
  overflow: visible;
  pointer-events: auto;
}

.menu-item-has-children {
  position: relative;
} */

/* .header-nav .sub-menu {
  width: -webkit-max-content !important;
  width: -moz-max-content !important;
  width: max-content !important;
  min-width: 25rem;
  position: absolute;
  top: 100%;
  right: 0;
  right: auto;
  border-radius: 0 0 2rem 2rem;
  background: var(--c-primary);
  pointer-events: none;
  opacity: 0;
  transition: var(--anim);
}

.header-nav>li ul li ul {
  top: 0% !important;
  right: 100% !important;
  border-radius: 2rem 0 0 2rem !important;
} */

.header-menu__phone {
  border: 1px solid var(--c-neutral-150);
  border-radius: 12px;
  padding: 0.4rem 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--c-secondary-800);
}

.header-menu__phone i {
  transform: rotateY(180deg);
  font-size: 2rem;
}

.header-menu__btn {
  color: var(--c-primary-500);
  font-size: 3rem;
  line-height: 1;
}

/**************************/
/* HEADER PRIMARY */
/**************************/

.header-primary {
  padding: 1rem 0;
  pointer-events: auto;
  background: var(--c-white);
}

.header-primary--inner {
  display: grid;
  grid-template-columns: auto 7rem;
  gap: 2rem;
}

.header-primary--right {
  justify-self: center;
  display: flex;
  align-items: center;
}

.header-primary--left {
  display: flex;
  align-items: center;
  gap: 1rem;
}



.header-primary--nav {
  display: none;
}

/* Logo */
.sepahkar-site-logo {
  max-width: 16rem;
  display: block;
}

.header__phone {
  color: var(--c-white);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: var(--fs-16);
  letter-spacing: .15rem;
}

.header__phone i {
  color: var(--c-secondary);
  font-size: 1.8rem;
}

.header__phone span {
  margin-top: .5rem;
}

.header__phone:hover {
  color: var(--c-secondary);
}

/**************************/
/* THEME SWITCHER */
/**************************/

/**************************/
/* NOTIFICATION BUTTON */
/**************************/

/**************************/
/* HEADER SECONDARY */
/**************************/
.header-secondary-container {
  background-color: var(--c-primary);
  pointer-events: auto;
  transition: var(--anim);
  position: relative;
  opacity: 1;
}

.header-secondary--inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.6s, opacity 0.5s;
  transform: translateY(0);
  opacity: 1;
}

/* Mobile Menu Button */

/**************************/
/* breadcrumb */
/**************************/
.breadcrumbs-wrapper {
  padding: 1.8rem 0;
  white-space: nowrap;
  font-size: 1.4rem;
  font-weight: bold;
  position: relative;
  z-index: 2;
  overflow-x: auto;
}

.ab .breadcrumbs-wrapper {
  position: absolute;
  padding-left: var(--gutter-x);
  padding-right: var(--gutter-x);
  padding-top: 1.8rem;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
}

.breadcrumb_last {
  color: var(--c-primary);
}

.breadcrumbs-wrapper>span {
  display: flex;
  align-items: center;
  position: relative;
}

#breadcrumbs a::after {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  display: inline-flex;
  border-radius: 50%;
  background-color: var(--c-primary);
  margin: 0 1rem;
}

.header-mobile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-mobile .item {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background-color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  flex: none;
  font-size: 2.5rem;
  transition: var(--anim);
  position: relative;
}

.header-mobile .item i {
  pointer-events: none;
}

.header-mobile .item:active {
  transform: scale(0.9);
}

/**************************/
/* mobile fix mneu  */
/**************************/
.fix-menu {
  position: -webkit-sticky;
  position: sticky;
  bottom: 1rem;
  margin-right: 1rem;
  margin-left: 1rem;
  display: flex;
  z-index: 12;
  gap: 7rem;
  font-weight: bold;
  filter: drop-shadow(2px 4px 14px #0000003b);
}

@media (width >=1024px) {
  .fix-menu {
    max-width: var(--width-container);
    display: none;
  }
}

.fix-menu svg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.fix-menu--item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  justify-content: space-evenly;
  flex: 1;
  padding-block: 1.2rem;
}

.fix-menu__home {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -3rem;
  width: 5.5rem;
  height: 5.5rem;
  background: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-radius: 50%;
}

.fix-menu--item .menu--item {
  display: flex;
  flex-direction: column;
  position: relative;
}

.fix-menu i {
  font-size: 2.5rem;
  display: block;
  text-align: center;
  color: var(--c-primary);
}

.fix-menu span {
  font-size: 1.4rem;
  display: block;
  text-align: center;
  line-height: 1.3;
  margin-top: 0.8rem;
  margin-right: 0;
  max-width: 8rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/**************************/
/* desktop  */
/**************************/

.breadcrumbs-wrapper a:active,
.desktop .breadcrumbs-wrapper a:hover {
  color: var(--c-primary);
}

@media (width<1024px) {

  .header-search,
  .header-secondary {
    display: none;
  }

  .header-primary--left {
    display: none;
  }

  #header {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  }
}

@media (width >=1024px) {
  .header-primary--inner {
    display: flex;
    align-items: center;
  }

  .header-primary--right {
    gap: 3rem;
    flex: 1;
  }

  .header-mobile {
    display: none;
  }

  .header-primary--nav {
    display: flex;
  }

  .sepahkar-site-logo {
    max-width: 7rem;
  }
}

/* banner style */

.header-banner-slot {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.55s cubic-bezier(0.32, 0.72, 0, 1);
}

.header-banner-slot.header-banner-slot--collapsed {
  grid-template-rows: 0fr;
}

.header-banner-slot>.header-banner {
  min-height: 0;
  overflow: hidden;
}

.header-banner-slot.header-banner-slot--hidden {
  display: none !important;
}

.header-banner-slot.header-banner-slot--collapsed .header-banner {
  opacity: 0;
  transform: translate3d(0, -0.8rem, 0);
  transition:
    opacity 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.52s cubic-bezier(0.32, 0.72, 0, 1);
}

.header-banner {
  --header-banner-pad-y: 0.8rem;
  position: relative;
  background-color: var(--c-secondary);
  overflow: hidden;
  box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.08);
  transform-origin: top center;
}

@supports (background: color-mix(in srgb, red, blue)) {
  .header-banner {
    background-image: linear-gradient(168deg,
        color-mix(in srgb, var(--c-secondary) 78%, #fff) 0%,
        var(--c-secondary) 42%,
        color-mix(in srgb, var(--c-secondary) 85%, #000) 100%);
  }
}

.header-banner::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(115deg,
      transparent 0%,
      rgba(255, 255, 255, 0.06) 28%,
      rgba(255, 255, 255, 0.22) 48%,
      rgba(255, 255, 255, 0.07) 62%,
      transparent 85%);
  background-size: 280% 100%;
  animation: header-banner-shimmer 6.5s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.95;
}

.header-banner::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: -35%;
  right: -35%;
  top: -120%;
  bottom: -120%;
  background:
    radial-gradient(ellipse 55% 38% at 22% 52%, rgba(255, 255, 255, 0.26) 0%, transparent 62%),
    radial-gradient(ellipse 48% 42% at 78% 48%, rgba(255, 255, 255, 0.15) 0%, transparent 58%),
    radial-gradient(ellipse 70% 30% at 50% 110%, rgba(0, 0, 0, 0.12) 0%, transparent 55%);
  background-size: 135% 130%, 125% 120%, 130% 115%;
  background-repeat: no-repeat;
  animation: header-banner-blobs 16s ease-in-out infinite,
    header-banner-sway 22s ease-in-out infinite;
  pointer-events: none;
  opacity: 1;
}

.header-banner.header-banner--visible {
  animation: header-banner-enter 0.52s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes header-banner-enter {
  from {
    opacity: 0;
    transform: translate3d(0, -0.65rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes header-banner-shimmer {

  0%,
  100% {
    background-position: 115% 50%;
  }

  50% {
    background-position: -15% 50%;
  }
}

@keyframes header-banner-blobs {

  0%,
  100% {
    transform: translate3d(-5%, 0, 0) scale(1) rotate(0deg);
  }

  33% {
    transform: translate3d(7%, -3%, 0) scale(1.06) rotate(1.5deg);
  }

  66% {
    transform: translate3d(-3%, 4%, 0) scale(1.02) rotate(-1deg);
  }
}

@keyframes header-banner-sway {

  0%,
  100% {
    background-position: 0% 50%, 100% 50%, 50% 80%;
  }

  50% {
    background-position: 100% 40%, 0% 60%, 45% 95%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-banner-slot {
    transition: none;
  }

  .header-banner-slot.header-banner-slot--collapsed .header-banner {
    opacity: 0;
    transform: none;
    transition: none;
  }

  .header-banner.header-banner--visible {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .header-banner::before {
    animation: none;
    background-position: 50% 50%;
    opacity: 0.65;
  }

  .header-banner::after {
    animation: none;
    transform: none;
    opacity: 0.75;
    left: -20%;
    right: -20%;
    top: -40%;
    bottom: -40%;
  }

  .header-banner .header-banner-link,
  .header-banner .header-banner-content i,
  .header-banner .header-banner-content img,
  .header-banner .header-banner-text,
  .header-banner .header-banner-close {
    transition: none;
  }
}

.header-banner .header-banner-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: var(--header-banner-pad-y) 0;
}

.header-banner .header-banner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 0.4rem;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header-banner .header-banner-link:hover {
  opacity: 0.95;
  transform: scale(1.01);
}

.header-banner .header-banner-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

.header-banner .header-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.header-banner .header-banner-content i {
  font-size: 2rem;
  color: #FFFFFF;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
}

.header-banner .header-banner-link:hover .header-banner-content i {
  transform: scale(1.08);
}

.header-banner .header-banner-content img {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
  max-width: 2.4rem;
  max-height: 2.4rem;
  transition: transform 0.35s ease;
}

.header-banner .header-banner-link:hover .header-banner-content img {
  transform: scale(1.06);
}

.header-banner .header-banner-text {
  color: #FFFFFF;
  font-size: 1.8rem;
  transition: transform 0.25s ease, text-shadow 0.25s ease;
}

.header-banner .header-banner-link:hover .header-banner-text {
  text-shadow: 0 0 1.2rem rgba(255, 255, 255, 0.35);
}

.header-banner .header-banner-close {
  flex-shrink: 0;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.92);
  border: none;
  background: rgba(255, 255, 255, 0.08);
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.header-banner .header-banner-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--danger);
  transform: scale(1.08) rotate(90deg);
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.12);
}

.header-banner .header-banner-close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.header-banner .header-banner-close:active {
  transform: scale(0.94) rotate(90deg);
}