.input-search {
  height: 50px;
  padding: 0 15px;
  background-color: rgba(217, 217, 217, 0.29);
  border: 1px solid rgba(217, 217, 217, 0.29);
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
  i {
    font-size: 20px;
  }
  input {
    border: none;
    outline: none;
    background: transparent;
  }
}

.nav {
  background: rgba(154, 154, 154, 0.5);
}

.links ul li a {
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  transition: 500ms;
  -webkit-transition: 500ms;
  -moz-transition: 500ms;
  -ms-transition: 500ms;
  -o-transition: 500ms;
}
.links ul li a:hover {
  color: var(--active-color);
}
.cart__icon,
.wish-list__icon {
  position: relative;
}
.counter {
  width: 20px;
  height: 20px;
  background-color: var(--main-color);
  color: #fff;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
}

/* navbar bootstrap */
.nav-link {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}
.nav-link.active {
  color: var(--main-color);
}

.nav-link:hover {
  color: var(--main-color);
}

.navbar-toggler {
  background-color: var(--main-color);
}
.navbar-toggler:focus,
.btn-close:focus {
  box-shadow: none;
}
/*
element.style {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}
*/
.navbar {
  display: none !important;
  background-color: rgba(154, 154, 154, 0.35);
}
.navbar .navbar-toggler {
  background-color: rgba(154, 154, 154, 0.5);
  font-weight: bold;
  font-size: 20px;
}
.navbar .btn-close {
  background-color: rgba(154, 154, 154, 0.35);
  height: fit-content;
  width: fit-content;
  padding: 1.5rem;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
/* Header styling */
header {
  background-color: #fff;
  position: relative;
  z-index: 10;
}

.profile__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.hero-section-nav {
  background: linear-gradient(135deg, var(--main-color) 0%, var(--primary-color) 100%);
  min-height: auto;
  position: relative;
  margin-top: -10px; /* رفع الجزء البيج لأعلى */
}

.hero-section {
  /* padding: 5rem 0; */
  /* background-image: url(/assets/images/hero.png); */
  background-position: center;
  background-size: cover;
}

.overlay {
  padding: 0.5rem 0;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.nav {
  position: relative;
  width: 100%;
  padding: 0.3rem 0 !important;
}

/* Make nav items smaller */
.nav .bg-icon {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav .bg-icon i {
  font-size: 0.9rem;
}

.nav .counter {
  font-size: 0.7rem;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
}

.nav .navbar-nav .nav-link {
  padding: 0.3rem 0.8rem;
  font-size: 0.95rem;
}
.hero-btn {
  border: none;
  background-color: var(--active-color);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color-white);
  box-shadow: 21px 20px 87px 0px rgba(218, 119, 7, 0.24);
  gap: 10px;
  padding: 0.3rem 2rem;
  height: 3rem;
  width: 12rem;
  border-radius: 3rem;
  -webkit-border-radius: 3rem;
  -moz-border-radius: 3rem;
  -ms-border-radius: 3rem;
  -o-border-radius: 3rem;
}

@media (max-width: 1200px) {
  .nav,
  header {
    display: none !important;
  }

  .navbar {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }

  .overlay {
    padding: 0.3rem 0;
  }
}

/* Additional mobile optimizations */
@media (max-width: 768px) {
  .hero-section-nav {
    min-height: auto;
    margin-top: -5px; /* أقل في الموبايل */
  }

  .overlay {
    padding: 0.2rem 0;
  }

  header {
    padding: 0.3rem 0 !important;
  }
}
