﻿#small-search-box-form {
  display: flex;
  width: 45%;
  margin-right: 20px;
}

.user-adds {
  display: none;
  width: max-content;
  height: max-content;
  /*     background-color: #fff;
 */ border-radius: 10px;
  position: absolute;
  z-index: 110;
  left: 25%;
  /* border: 1px solid #383375; */
  top: 16%;
  overflow-y: scroll;
}

.u-ad {
  padding: 30px 30px 0px 30px;
  width: 100%;
}

  .u-ad:last-of-type {
    padding-bottom: 30px;
  }

.user-options .nav-button:hover .counter {
  animation: counterPop 0.3s ease !important;
}

@keyframes counterPop {
  0% {
    transform: scale(1) !important;
  }

  50% {
    transform: scale(1.2) !important;
  }

  100% {
    transform: scale(1) !important;
  }
}
/* تأثير على اللوجو */
.headerlogo a:hover img.logo-wb-2-1 {
  transform: scale(1.05);
  filter: brightness(1.1);
  transition: all 0.3s ease;
}

/* تأثير على زر المنيو الموبايل */
.mobile-menu-toggle-header:hover {
  background-color: rgba(0,0,0,0.05);
  border-radius: 4px;
  transform: scale(1.1);
  transition: all 0.2s ease;
}

  .mobile-menu-toggle-header:hover .icon {
    animation: menuBounce 0.5s;
  }

@keyframes menuBounce {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

.user-adds {
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

  .user-adds::-webkit-scrollbar {
    display: none;
  }

.user-prof {
  width: max-content;
  height: max-content;
  position: absolute;
  top: 16%;
  right: 10%;
  z-index: 110;
}

.hide {
  display: none;
}

.search-input {
  width: -webkit-fill-available;
}

  .search-input input {
    width: -webkit-fill-available;
    background-color: transparent;
    border-color: transparent;
  }

.header-mid {
  display: flex;
  padding: 7px 0;
  justify-content: space-between;
  align-items: center;
}

.input-search-store {
  margin-right: 20px;
  width: 100%;
  border-radius: var(--br-21xl);
  background-color: var(--color-whitesmoke-100);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

#small-search-box-form {
  display: flex;
  width: 55%;
  margin-right: 20px;
}

.user-prof .hide {
  position: relative;
}

.user-prof {
  width: max-content;
  height: max-content;
  position: absolute;
  top: 18%;
  right: 10%;
  z-index: 110;
}

.location-picker.sec {
  margin-right: 10px;
}

.component-283.sec {
  width: 9%;
}

.map-marker1 {
  z-index: 5000
}

.root333 input {
  position: absolute;
  top: 9px;
  left: 54%;
  height: 44px;
  background: #FFF
}

  .root333 input:focus {
    background: #FFF !important;
    border-radius: 2px
  }

.map-search-box .form-control .pac-target-input:focus {
  background: #FFF !important
}

.header-selects > div {
  display: inline-block;
  position: relative;
  padding-right: 10px;
  vertical-align: middle;
  align-items: center;
}

.footer-lower-block .footer-social-buttons {
  margin-bottom: 0
}

.footer-social-buttons {
  margin: 0 0 0px;
  margin-top: 10px;
}

.logo-wb-2-1 {
  height: 28px;
  width: 77px;
  position: relative;
  object-fit: fill;
  cursor: pointer;
  margin-inline: 7px
}

@media (min-width: 752px) and (max-width: 1061px) {
}

@media (max-width: 768px) {
  .location-picker .location-parent,
  .location-picker .location-dropdown-icon {
    display: none !important;
  }

  .location-picker .component-299 {
    justify-content: center;
    padding: 8px;
  }

  .location-picker.sec .component-299 {
    justify-content: flex-start;
  }
}

@media (max-width: 960px) {
  .location-picker .location-parent,
  .location-picker .location-dropdown-icon {
    display: none !important;
  }

  .location-picker .component-299 {
    justify-content: center;
    min-width: auto;
    padding: 8px;
  }

  /* Keep the profile version aligned properly */
  .location-picker.sec .component-299 {
    justify-content: flex-start;
  }

  /* Ensure the vuesaxlinearlocation icon remains visible */
  .location-picker .vuesaxlinearlocation-icon,
  .location-picker.sec .header-prof {
    display: block !important;
  }

  .location-picker {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    font-size: var(--font-size-xs);
    width: 6%;
  }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  /* Hide regular elements on mobile */
  .input-search-store,
  .input-search-store-logged,
  .location-picker .location-parent,
  .location-picker .location-dropdown-icon,
  .component-283.sec,
  .header-lower {
    display: none !important;
  }

  /* Show responsive navigation */
  .responsive-nav-wrapper {
    display: flex !important;
    align-items: center;
    gap: 15px;
  }

  /* Adjust header layout for mobile */
  .header-mid {
    justify-content: space-between;
    padding: 10px 15px;
  }

  .logo-wb-2-1 {
    max-width: 120px;
    height: auto;
  }

  /* Style the responsive nav buttons */
  .nav-button .trigger {
    display: block;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
  }

  .menu-button .trigger {
    background-image: url('images/menu-icon.svg');
  }

  .search-button .trigger {
    background-image: url('images/search-icon.svg');
  }

  .wishlist-button .trigger {
    background-image: url('images/wishlist-icon.svg');
  }

  .cart-button .trigger {
    background-image: url('images/cart-icon.svg');
  }

  /* Show location icon only */
  .location-picker .component-299 {
    justify-content: center;
    padding: 8px;
    min-width: auto;
  }

  .location-picker .vuesaxlinearlocation-icon,
  .location-picker.sec .header-prof {
    display: block !important;
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .header-mid {
    padding: 8px 10px;
  }

  .logo-wb-2-1 {
    max-width: 100px;
  }

  .responsive-nav-wrapper {
    gap: 10px;
  }

  .nav-button .trigger {
    width: 25px;
    height: 25px;
  }
}

.header-lower .table-cell {
  min-width: 120px;
  height: 50px;
}

..header-menu .sublist {
  display: flex
}

.language-selector .choices__list--single .choices__item {
  width: 100%;
  padding-inline: 18px;
}
/* Mobile Menu Overlay */
#mobileMenuOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

  #mobileMenuOverlay.active {
    display: block;
    opacity: 1;
  }

/* Mobile Menu Sidebar */
#mobileMenuSidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 1000;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

  #mobileMenuSidebar.active {
    right: 0;
  }

/* Mobile Menu Header */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #383375;
  color: #fff;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Content */
.mobile-menu-content {
  padding: 20px;
}

  .mobile-menu-content .header-menu {
    display: block !important;
  }

@media (max-width: 1100px) {
  .mobile-menu-toggle-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #383375;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    border-radius: 6px;
    margin: 10px;
    border: none;
    font-size: 16px;
    z-index: 100;
  }

    .mobile-menu-toggle-header .icon {
      font-size: 24px;
      font-size: 24px;
      left: 10px !important;
      top: 0;
    }

  .icon {
    position: absolute;
    top: 34px;
    right: 16px;
    width: 19.7px;
    height: 20px;
    overflow: hidden;
    /* color: red; */
  }
}

.header-lower-inner {
  width: 100%
}

.header-lower .table-cell {
  min-width: 120px;
  height: 50px;
  width: 100%;
  display: flex;
}

.top-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  width: 100%;
  justify-content: space-between;
}

@media (max-width: 800px) {
  .mobile-menu-toggle-header {
    display: flex !important;
    position: relative;
  }

  #small-search-box-form {
    display: none
  }

  .user-options {
    display: none
  }

  .location-picker {
    display: none
  }
}

@media (max-width: 800px) {
  .mobile-menu-toggle-header {
    display: flex !important;
    position: relative;
  }

  #small-search-box-form {
    display: none
  }

  .user-options {
    display: none
  }

  .location-picker {
    display: none
  }

  .logoandbutton {
    width: 100%;
    justify-content: space-between;
  }

  .component-283 .sec {
    display: none
  }
}

.headerlogo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse
}
