.noqta-header{
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    background: var(--primary-color); 
    border-radius: 0 0 20px 20px; 
    min-height: 156px
}

.noqta-header-container {
    width: 100%; 
    max-width: 1200px; 
    padding:15px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 10px
}

.view-orders-link {
    cursor: pointer;
    color: white;
    text-decoration: none;
    padding-bottom: 10px;
}

.noqta-header-logo {
    width: 180px;
    min-width: 180px;
    flex-shrink: 0;
}

.noqta-header-logo img {
    width: 100%;
    height: auto;
}

.noqta-header img {
    width: 100%
}

.noqta-header-button {
    cursor: pointer;
    background-color: var(--primary-color);
    filter: brightness(1.2);
    width: 36px;
    height: 36px;
    aspect-ratio: 1;
    border-radius: 50px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buttons-container {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 82px;
}

.buttons-container.end {
    justify-content: end;
}


.buttons-container.start {
    justify-content: start;
}

.noqta-header-button img, .noqta-header-button svg {
    filter: brightness(0) invert(1);
}

.noqta-header-button.cart{
    position: relative
}

.noqta-header-button.cart .cart-count{
    position: absolute;
    top: -4px;
    left: -4px;
    background: #f44336;
    color: white;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 14px;
}

/*side menu*/
#menu-sidebar-toggle {
  display: none;
}

.menu-sidebar {
  position: fixed;
  top: 0;
  right: -340px;
  width: 340px;
  height: 100%;
  background: #fff;
  color: #000;
  padding: 20px;
  transition: right 0.3s ease;
  z-index: 1001;
  border-radius: 30px 0 0 30px;
}

.menu-sidebar .menu-links {
    margin-top: 10%;
    list-style: none;
    display: flex; 
    flex-direction: column;
    gap: 16px
}

.menu-sidebar .menu-link {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 14px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: black;
    cursor: pointer;
}

.icon {
    width: 24px;
    display: flex;
    opacity: 0.6;
}

.icon-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px
}

.primary-icon path{
    stroke: var(--primary-color)
}

.menu-link-branch .primary-icon path{
    stroke: none;
    fill: var(--primary-color)
}

.primary-icon {
  opacity: 1 !important;
}


.menu-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 1000;
  cursor: pointer;
}

#menu-sidebar-toggle:checked ~ .menu-sidebar {
  right: 0;
}

#menu-sidebar-toggle:checked ~ .menu-sidebar-overlay {
  display: block;
}

/* search container */

#search-sidebar-toggle {
  display: none;
}

.search-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  color: #000;
  padding: 20px;
  transition: left 0.3s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap : 10px
}

@media(min-width: 900px){
  .search-sidebar {
      transition: none;
  }
}

.search-sidebar .bar-content {
    height: 90%;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    margin: auto;
}

.search-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 1000;
  cursor: pointer;
}

#search-sidebar-toggle:checked ~ .search-sidebar {
  left: 0;
}

#search-sidebar-toggle:checked ~ .search-sidebar-overlay {
  display: block;
}

/* cart container */

#cart-sidebar-toggle {
  display: none;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    color: #000;
    transition: left 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-sidebar .bar-header {
    height: 60px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
}

.cart-sidebar .bar-content {
    height: 100%;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    margin: auto;
    display: flex;
    align-items: normal;
    justify-content: center;
    flex-direction: column;
    width: 100%;
}


@media(min-width: 900px){
  .cart-sidebar {
      transition: none;
  }
}

.cart-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 1000;
  cursor: pointer;
}

#cart-sidebar-toggle:checked ~ .cart-sidebar {
  left: 0;
}

#cart-sidebar-toggle:checked ~ .cart-sidebar-overlay {
  display: block;
}

/* branches container */

#branches-sidebar-toggle {
  display: none;
}

.branches-sidebar {
  position: fixed;
  top: 100%;
  left: 0%;
  width: 100%;
  height: 100%;
  background: #fff;
  color: #000;
  transition: top 0.3s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap : 10px
}

.branches-sidebar .bar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 0 0 20px 20px;
    height: 156px;
}

@media(min-width: 900px){
  .branches-sidebar {
      /* transition: none; */
  }
}

.branches-sidebar .bar-content {
    height: 90%;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    margin: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

#branch-container {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

#zones-container {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#zones-container input[type="text"] {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
    border-radius: 8px;
}

#zones-container ul {
    flex: 1;
    overflow-y: auto;
    max-height: calc(100vh - 320px);
    padding-bottom: 20px;
}

.branches-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 1000;
  cursor: pointer;
}

#branches-sidebar-toggle:checked ~ .branches-sidebar {
  top: 0;
}

#branches-sidebar-toggle:checked ~ .branches-sidebar-overlay {
  display: block;
}

.branches-sidebar .bar-content ul{
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.branches-sidebar .bar-content li{
  cursor: pointer;
  padding: 5px;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px
}

.branches-sidebar .bar-content li img, .img-replacer{
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50px;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* zones container */

#zones-sidebar-toggle {
  display: none;
}

.zones-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  color: #000;
  padding: 20px;
  transition: left 0.3s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap : 10px
}

@media(min-width: 900px){
  .zones-sidebar {
      transition: none;
  }
}

.zones-sidebar .bar-content {
    height: 90%;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    margin: auto;
}

.zones-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 1000;
  cursor: pointer;
}

#zones-sidebar-toggle:checked ~ .zones-sidebar {
  left: 0;
}

#zones-sidebar-toggle:checked ~ .zones-sidebar-overlay {
  display: block;
}


.zones-sidebar h3, .branches-sidebar h3 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-color);
} 

.selected-item {
  position: relative;
  background: #f0f0f0 !important;
}

.selected-item::after {
  content: "✔";
  color: white;
  font-size: 12px;
  font-weight: bold;

  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);

  width: 18px;
  height: 18px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

img {
    width: 100%;
}


/* wishlist container */

#wishlist-sidebar-toggle {
  display: none;
}

.wishlist-sidebar-2 {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  color: #000;
  padding: 20px;
  transition: left 0.3s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap : 10px
}

@media(min-width: 900px){
  .wishlist-sidebar-2 {
      transition: none;
  }
}

.wishlist-sidebar .bar-content {
    height: 90%;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    margin: auto;
}

.wishlist-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 1000;
  cursor: pointer;
}

#wishlist-sidebar-toggle:checked ~ .wishlist-sidebar-2 {
  left: 0;
  right: unset;
}

#wishlist-sidebar-toggle:checked ~ .wishlist-sidebar-overlay {
  display: block;
}

.wishlist-items {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 700px;
    margin: auto;
}

.wishlist-thumb {
    display: flex;
    width: 80px;
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eee;
}

.wishlist-item {
    display: flex !important;
    align-items: center !important;
    border-bottom: none;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 10px;
}

.wishlist-item:hover {
  background-color: #fafafa;
}

.wishlist-bar-label {
  width: 100%;
  display: flex;
  gap: 6px;
  cursor: pointer
}

