body,
html {
  background-color: var(--all-bg-color);
  margin: 0;
  padding: 0;
}

:root {
  --all-bg-color: #ffffff;
  --navbar-bg: #A7ABB21A;
  --titles: #000000;
  --navbar-text:#002C75;
  --icon-border: #3E74FE54;
  --icon-hover: #3E74FECC;
  --country-txt: #0000009C;
  --container: #00000008;
  --footer-txt: #000000;
  --footer-line: #002C750D;
  --shadow: #00000008;
  --container-p: #0000009C;
  --input-txt: #080F0F;
  --span_active:#002C75;
  --footer-hover:#002C75CC; 
  --inputs-hover: #001A47;

}

[data-theme="dark"] {
  --all-bg-color: #080F0F;
  --navbar-bg: #27272766;
  --navbar-text: #FFFFFF;
  --titles: #FFFFFF;
  --icon-border: #FFFFFF4D;
  --icon-hover: #FFFFFF;
  --country-txt: #FFFFFF;
  --container: #151919;
  --footer-txt: #FFFFFFCC;
  --footer-line: #FFFFFF26;
  --shadow: #00000008;
  --container-p: #FFFFFFB2;
  --input-txt: #FFFFFF;
  --span_active:#FFFFFFB2;
  --footer-hover:#002C75CC; 
  --inputs-hover: #3E74FE54;
}

.layout-wrapper {
  width: calc(100% - 160px); /* ✅ leaves 80px on each side */
  max-width: 1280px;         /* ✅ restricts max size */
  margin: 30px auto 0 auto;  /* ✅ 30px from top, centered */
  box-sizing: border-box;
}

.shops-wrapper{
  width: calc(100% - 160px); /* ✅ leaves 80px on each side */
  max-width: 1280px;         /* ✅ restricts max size */
  margin: 30px auto 0 auto;  /* ✅ 30px from top, centered */
  box-sizing: border-box;
}


.navbar {
  width: 100%;
  height: 68px;
  background-color: var(--navbar-bg);
  border-radius: 50px;
 
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-sizing: border-box;
}

.navbar-brand {
  position: absolute;
  left: 78px; /* ✅ match Figma */
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.navbar-brand img {
  width: 79px;
  height: 20.87px;
}

.navbar-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 100%;
  padding: 0 20px;

}

.navbar-nav .nav-item a {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 28px;
  text-align: center;
  color: var(--navbar-text);
  display: flex;
  align-items: center;
  height: 100%;
}

.right_side_icon {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  margin-left: auto; /* Push to the right */
  padding-right: 10px;
}


.icon-button {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--icon-border);
  border-radius: 60px;
  background: none;
  cursor: pointer;
  flex-shrink: 0; 
}

.container_menu{
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
 
}

.language-selector {
  width: 48px;
  height: 48px;
  border: 1px solid var(--icon-border);
  border-radius: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background: none;
  z-index: 2;
  flex-shrink: 0;
  transition: width 0.3s ease;
  overflow: hidden;
}

.language-selector.open {
  width: 126px;
 
  justify-content: space-around;  
  gap: 10px;                    
  padding: 0 5px;              
}

.language-selector p {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  margin: 0;
  color: var(--navbar-text);
  line-height: 28px;
  transition: opacity 0.3s ease;
  pointer-events: auto; /* Make text clickable */
  cursor: pointer; /* Show pointer cursor on text */
}

.language-selector p.hidden {
  opacity: 0;
  width: 0;
  margin: 0;
  overflow: hidden;
}

.language-selector.open p.hidden {
  opacity: 1;
  width: auto;
 
}

 .language-selector p:not(.active) {
    display: none;
  }
  .language-selector.open p {
    display: block;
  }

.login-button {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  padding: 10px 15px;
  height: 48px;
  border: 1px solid var(--icon-border);
  border-radius: 29px;
  background: none;
  color: var(--navbar-text);
  cursor: pointer;
  white-space: nowrap;
  margin-left: 10px; 
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.login-button.hidden {
  opacity: 0;
  width: 0;
  padding: 0;
  margin-left: 0;
  border: none;
  pointer-events: none;
}

.icon-button:hover,
.language-selector:hover,
.login-button:hover{
  border-color: var(--icon-hover); /* Change border color on hover */
}

.hamburger-menu,
.mobile-menu,
.mobile-menu-overlay,
#mobile_toggle{
  display: none;
}


/*  */

.shops_title {
  text-align: left;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: var(--titles);
  margin-top: 60px;
  font-family: 'Montserrat', sans-serif;
  margin-left: 30px;
  margin-bottom: 10px;
}

/* Container */
.shops_container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

/* Shop List */
.shops_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-left: 30px;
}

.shop_item {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  
}


.shop_image{
  width: 20px;
  height: 20px;
  object-fit: contain;
  margin-left: 30px;
}

#all {
  font-weight: 500;
  color: var(--titles);
  font-size: 14px;
  line-height: 28px;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
}

.shop_item span:first-child {
  margin-left: 0;
}

.shop_item span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 28px;
  text-align: center;
  margin-left: 15px;
  color: var(--country-txt);

}

 .search_input {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: none;
  outline: none;
} 

.search:hover{
  border-color: var(--inputs-hover);
}

.search:focus{
  border-color: var(--inputs-hover);
}
 
.search {
  width: 250px;
  padding: 10px;
  border: 1px solid var(--search-border);
  border-radius: 5px;
  font-size: 16px;
} 

.search_input input {
  z-index: 999;
  flex: 1;
  border: none;
  outline: none;
  gap: 5px;
  padding: 0 30px;
  font-size: 12px;
  color: var(--input-txt);
  width: 153px;
  height: 36px;
  border-radius: 300px;
  border: 1px solid var(--icon-border);
  background-color: var(--all-bg-color);
  font-family: 'Montserrat', sans-serif;

}

 .search_input .search_btn {
  width: 50px;
  height: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
} 


.search_input .search_btn img{
  width: 20px;
  height: 20px;
  opacity: 1;
  /* padding-left: 85px; */
 margin-left: 85px;
  z-index: 1000;
}

/* 
.layout-container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
 
  margin-bottom: 120px;

} */

.layout-container {
  display: flex;
  width: 100%;
  max-width: 1280px;
  gap: 10px;
  box-sizing: border-box;

}

.sections-container {
  width: 305px;
  height: 748px;
  border-radius: 38px;
  background-color: var(--container);
  box-shadow: 0px 1px 5px 0px var(--shadow);
  padding: 30px;
  box-sizing: border-box;
  overflow-y: hidden;
 
}

.sections-container h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  color: var(--titles);

}

.sections-container .all {
  color: var(--container-p);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 28px;
  margin-top: 5px;
 
}


.sections-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.sections-container ul li {
  font-size: 14px;
  color: var(--container-p);
  cursor: pointer;
  font-weight: 300;
  margin-bottom: 8px;
  line-height: 28px;
  font-family: 'Montserrat', sans-serif;
}

.sections-container ul li:hover {
  color: var(--titles);
}

.sections-container ul li.active {
  color: var(--titles);
  font-weight: 300;
  font-family: 'Montserrat', sans-serif;
  line-height: 28px;
  font-size: 14px;
}


.container {
  display: grid;
  grid-template-columns: repeat(3, 305px);
  grid-gap: 20px;
 
  width: calc(100% - 315px);
} 




.card {
  width: 305px;
  height: 236px;
  background: none;
  border-radius: 38px;
  box-shadow: 0px 1px 5px 0px var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;

}



.card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;

  margin-bottom: 10px;
}

.card p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 28px;
  color: var(--container-p);
  text-align: center;
  margin: 0;
  padding: 0;
}

.icon-button i.fa-sun {
  color: #ffffff;

}

.footer_line {
  height: 1px;
  background-color: var(--footer-line);
  width: 100%;
  margin-top: 170px;

}



.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;


  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 20px;
}

.footer-columns {
  display: flex;
  gap: 10px; 
  flex-wrap: wrap;
  flex-grow: 1;
}

.footer1{
  margin-right: 30px;
}

.footer1, .footer2, .footer3, .footer4 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 100px;
  color: var(--footer-txt);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 28px;
  font-weight: 300;
}

.footer1 a:hover, 
.footer2 a:hover, 
.footer3 a:hover, 
.footer4 a:hover,
.footer a:hover{
  color: #001A47; 
}

.footer_right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  white-space: nowrap;
  color: var(--footer-txt);
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  line-height: 28px;
}

.iconsandtext {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 5px;
  
}

#iconsandtext_apple{
  width: 15px;
  height: 18px;
}

#iconsandtext_playmarket{
  width: 16px;
  height: 18px;

}

.footer a {
  color: var(--footer-txt);
  text-decoration: none;
  font-size: 14px;
}


#download{
   text-decoration: underline;
}

[data-theme="light"] .fa-apple {
  color: #000000;
}

[data-theme="dark"] .fa-apple {
  color: #ffffff;
}

.shop_item.active span{
 
  color:var(--span_active);
  font-weight: 400;
}

@media (max-width: 768px) {

  .shops-wrapper {
    width: calc(100% - 60px); 
    margin: 20px auto 0 auto;
  }

  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 60px;
    z-index: 1000;
    position: fixed;
    top: 10px;
    max-width: calc(100% - 60px);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.32);
    border-radius: 50px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6.9px);
    -webkit-backdrop-filter: blur(6.9px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid white;
  }

    .navbar-nav,
    .right_side_icon {
    display: none !important;
  }

    .navbar-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    padding-right: 10px;
  }

  #mobile_toggle,
  #hamburgerBtn {
    all: unset;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid white;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    padding: 0;
  }

    .hamburger-menu i {
    font-size: 18px;
    color: #0196F5;
  }

  body.hide-header .navbar,
  body.hide-header .hamburger-menu {
    display: none !important;
  }

  .mobile-menu {
    padding: 0;
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--all-bg-color);
    z-index: 1001;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.2s ease, transform 0.6s ease;
    display: block; 
    
  }

  .mobile-menu.open {
  opacity: 1;
  transform: translateX(0);
}

  .mobile-menu-header {
    position: relative;
    height: 60px;
    width: 100%;
  }

    .mobile-logo {
    width: 49px;
    height: 24px;
    position: absolute;
    left: 76px;
    top: 50px;
    transform: translate(-50%, -50%);
  }

    .close-mobile-menu {
    position: fixed;
    right: 40px;
    top: 30px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid white;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 1006;
    cursor: pointer;
    padding: 0;
  }

  .close-mobile-menu i {
    font-size: 15px;
    color: #3d5af1;

  }

   .mobile-menu ul {
    list-style: none;
    padding: 20px 0;
    margin: 0;
  }

  .mobile-menu ul li {
    margin-bottom: 15px;
    margin-left: 40px;
  }

  .mobile-menu ul li a {
    text-decoration: none;
    color: var(--title-text-color);
    font-size: 14px;

  }

  .mobile-menu ul li:first-child {
    margin-top: 20px;
    /* adjust distance as needed */
  }

  .lightblue_line {
    margin-top: 15px;

    height: 1.5px;
    background-color: var(--footer-line);
    width: 100%;
  }

  .lang-options {
    display: flex;
    justify-content: start;
    gap: 20px;
    margin-top: 50px;
    margin-left: 40px;
    font-size: 14px;
    color: var(--title-text-color);
  }

  .shops_title {
    font-size: 18px;
    margin-left: 20px;
    margin-top: 100px;
  }

  .shops_container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding-top: 20px;
    
  }

  .shops_list{
    padding-right: 30px;
  }

  .search_input {
    width: 100%;
    height: auto;
    padding-right: 50px;
  }

  .layout-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .sections-container {
    width: 90%;
    height: auto;
    padding: 20px;
  }

  .container {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }

  .card {
    width: 90%;
  }

   .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    row-gap: 12px;
  }


  .footer_right {
    align-items: flex-start;
    text-align: left;
  }

  .iconsandtext {
    justify-content: flex-start;

  }

  .footer_line {
    margin-top: 60px;
  }

  .layout-wrapper{
    width: calc(100% - 60px);
  }
}
