/**************************/
/* 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 */
.nanaara-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;
  }

  .nanaara-logo {
    max-width: 7rem;
  }
}