/* NAVBAR */

.navbar {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 300;
  height: 57px;
  background: var(--ap-surface, #f6f3ea);
  border-bottom: 1px solid #d4d4d4;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 0 16px 0 16px;
  position: sticky;
  top: 0;
  z-index: 10;
  gap: 10px;
}

.logo {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo img {
  width: 140px;
  height: 50px;
  object-fit: contain;
}


.nav-item {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 200;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  font-size: 20px;
  white-space: nowrap;
}

.sidebar-icon {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
  font-size: 20px;
  white-space: nowrap;
}

.sidebar-icon img {
   width: 20px;
  height: 20px;
  object-fit: contain;
  filter: invert(0.1);
  cursor: pointer;
}


.nav-actions img {
  width: 20px;
  height: 20px;
    object-fit: contain;
  filter: invert(0.1);
  cursor: pointer;
}

.nav-search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  position: relative;
}

.nav-search input {
  width: 0;
  opacity: 0;
  height: 30px;
  border: 0;
  border-bottom: 1px solid #111;
  background: transparent;
  padding: 4px 2px;
  font-size: 12px;
  outline: none;
  pointer-events: none;
  transition: width .25s ease, opacity .2s ease;
}

.nav-search.active input {
  width: 150px;
  opacity: 1;
  pointer-events: auto;
}

.nav-search button {
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-link span {
  position: absolute;
  top: -9px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
}

.nav-bar-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-bar-arrow img {
  width: 12px;
  height: 12px;
  object-fit: contain;
  margin-left: 0px;
  cursor: pointer;
  vertical-align: middle;
}

.lang {
  border: 1.5px solid #111;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 500;
}



/* TABLET */

@media (max-width: 1100px) {
  .navbar {
    grid-template-columns: 1fr 1fr 1fr;
  }
}



/* MOBILE */

@media (max-width: 650px) {
  .navbar {
    min-height: 64px;
    padding: 0 12px;
  }

   .logo img {
    width: 125px;
  }

  .nav-actions {
    gap: 10px;
    font-size: 18px;
  }

  .lang {
    font-size: 12px;
    padding: 4px 8px;
  }
}

@media (max-width: 420px) {
  .navbar {
    gap: 8px;
    padding: 0 10px;
  }

  .logo {
    font-size: 25px;
  }
  
  .logo img {
  width: 110px;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-search.active input {
    width: 86px;
  }

  .nav-actions img {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 520px) {
  .sidebar-icon {
    gap: 8px;
  }

  .shop-dropdown-btn {
    font-size: 11px;
  }

  .nav-search.active {
    position: absolute;
    inset: auto 48px 8px 48px;
    z-index: 20;
    background: var(--ap-surface, #f6f3ea);
    border: 1px solid #111;
    padding: 4px 8px;
  }

  .nav-search.active input {
    width: 100%;
    border-bottom: 0;
  }
}

@media (max-width: 360px) {
  .logo img {
    width: 96px;
  }

  .shop-dropdown-btn {
    font-size: 10px;
  }
}
