:root {
  --primary-color: #EB1461;
  --secondary-color: #1AACD9;
  --badge-bg: #EB146133;
  --text-color: #393939;
  --text-color-light: #646464;
}

body {
  font-family: "Open Sans", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

a {
  text-decoration: none;
}

/* .main-section {
  display: flex;
  width: 100%;
  padding: 24px 0px 24px 0px;
  flex-direction: column;
  align-items: center;
} */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 1.5rem;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  border: 0;
  cursor: pointer;
}

.btn.btn-primary {
  color: white;
  background: var(--primary-color);
  max-width: 286px;
}

.btn.loadmore {
  color: var(--secondary-color);
  background: rgba(26, 172, 217, 0.10);
  padding: 1rem 1.5rem;
  font-size: 1rem;
  align-self: stretch;
}

.header-links ul, 
.footer-links ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-links ul li, 
.footer-links ul li {
  cursor: pointer;
}

.header-links ul {
  gap: 56px;
  font-size: 1rem;
  font-weight: 600;
  color: #1484AB;
}

.header-links ul li.active {
  color: var(--primary-color);
}

.footer-links ul li {
  font-size: 14px;
}

.header {
  width: 100%;
  margin: 0 auto;
  max-width: 1792px;
  display: flex;
  padding: 1.5rem 0;
}

.header-bar {
  padding: 1rem 3rem;
  border-radius: 50px;
  background: linear-gradient(0deg, rgba(20, 132, 171, 0.10) 0%, rgba(20, 132, 171, 0.10) 100%), #FFF;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.header-bar__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  background: white;
  padding: 0;
  border-radius: 50px;
}

.lang-toggle span {
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50px;
  transition: background 0.3s ease, color 0.3s ease;
}

.lang-toggle span.active {
  background: var(--secondary-color);
  color: white;
}

.mob-menu {
  display: none;
}

.storefronts {
  width: 100%;
  max-width: 1640px;
  margin: 1rem auto 90px;
  /* margin: 4rem auto 90px; */
  display: flex;
  padding: 0px;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  align-self: stretch;

  /* width: 100%;
  max-width: 1640px;
  margin: 4rem auto 90px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0; */
}

.categories {
  display: flex;
  align-items: center;
  gap: 53px;
  width: 100%;
  justify-content: center;
  
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
  padding: 10px 0px;
}

.btn-category {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  /* padding: 10px 2.25rem;
  font-size: 20px;
  font-weight: 600;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-color-light);
  background: transparent; */
}

.btn-category.active {
  border-radius: 120px;
  /* border: 5px solid var(--Blue, #1AACD9); */
  /* color: var(--secondary-color);
  background: rgba(26, 172, 217, 0.20); */
}

.btn-category img {
  width: 120px;
  height: 120px;
  aspect-ratio: 1/1;
  border-radius: 120px;
  /* border: 5px solid var(--Blue, #1AACD9); */
  /* background: url('./storefront/imgs/icons/storefront.svg') lightgray 50% / cover no-repeat; */
  /* width: 2.25rem;
  filter: brightness(0) saturate(100%) invert(60%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(90%) contrast(85%); */
}

.btn-category.active img {
  border: 5px solid var(--Blue, #1AACD9);
  /* filter: brightness(0) saturate(100%) invert(50%) sepia(100%) saturate(500%) hue-rotate(160deg) brightness(95%) contrast(90%); */
}

.filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.search-area {
  display: flex;
  /* flex-direction: column; */
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;

  /* position: sticky;
  top: 0;
  background: white;
  z-index: 10;
  padding: 10px; */
}

.inpt {
  position: relative;
  border: 1px solid #E0E0E0;
  border-radius: 50px;
  cursor: pointer;
}

.filters-right .search {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 676px;
}

.inpt.search {
  width: 100%;
  max-width: 400px;
}

.inpt.search input {
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: 400;
  padding: 12px 0 12px 56px;
  background: transparent;
}

.inpt.search img {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
}

.filters-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 676px;
}

.toggle-filter {
  display: none;
}

.inpt.select {
  display: flex;
  width: 100%;
  max-width: 330px;
  justify-content: space-between;
  align-items: center;
}

.inpt.select span {
  padding: 1rem;
}

.inpt.select img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  right: 1rem;
}

.inpt.select.open img {
  transform: rotate(180deg) translateY(50%);
}

.inpt.select .options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  flex-direction: column;
  gap: .75rem;
  padding: 1rem;
  max-width: 12.5rem;
}

.inpt.select.open .options {
  display: flex;
}

.grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
}

.card {
  width: 100%;
  max-width: 32.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 24px 24px 0px 0px;
  color: var(--text-color);
}

.card-img {
  border-radius: 24px 24px 0px 0px;
  width: 100%;
  object-fit: cover;
  max-height: 205px;
}

.card-content {
  display: flex;
  gap: 1rem;
  width: 100%;
  justify-content: space-between;
}

.card-logo {
  width: 100%;
  max-width: 2rem;
  max-height: 2rem;
  border-radius: 50px;
  object-fit: cover;
}

.card-inner {
  /* display: flex;
  flex-direction: column;
  gap: .75rem;
  width: 100%; */

  display: flex;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  width: 100%;
}

.card-title {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.card-title__name {
  text-overflow: ellipsis;
  font-size: 20px;
  font-weight: 600;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 14px;
  font-weight: 600;
}

.card-rating svg {
  width: 24px;
  fill: #FCCF0B;
}

.card-location {
  display: flex;
  align-items: center;
  gap: .5rem;
  justify-content: space-between;
}

.card-address {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 16px;
}

.card-distance {
  font-size: 14px;
  font-weight: 600;
}

.card-categories {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.card-category {
  padding: 5px 0.5rem;
  font-size: 16px;
  font-weight: 400;
  color: var(--primary-color);
  border-radius: 50px;
  background: var(--badge-bg);
}

.banner {
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  padding: 4rem 0;
  display: flex;
}

.banner-box {
  background: rgba(26, 172, 217, 0.15);
  padding: 3rem 2.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
  width: 100%;
}

.banner-cta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--text-color);
}

.banner-cta h2 {
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
}

.banner-desc {
  width: 100%;
  max-width: 39rem;
}

.banner-desc p {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.banner-img {
  position: absolute;
  bottom: 0;
  right: 0;
}

.banner-img__mob {
  display: none;
  width: 100%;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.footer {
  width: 100%;
  background: #1484AB;
  color: white;
  display: flex;
}

.footer-wrapper {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 3rem 2rem;
}

.footer-logo {
  width: 100%;
  max-width: 208px;
}

.footer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-socials a img {
  transition: transform 0.3s ease;
} 

.footer-socials a:hover img {
  transform: scale(1.05);
}
.footer-links a {
  color: #fff;
}
.copywriting {
  font-size: 12px;
  font-weight: 500;
}

.mob-filter {
  display: flex;
  padding: 16px 16px 32px 16px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

.mobile-show {
  display: unset !important;
}

.mob-menu {
  position: relative;
  /* display: inline-block; */
}

.mob-menu img {
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.user-nav-dropdown {
  list-style: none;
  padding: 10px;
  /* margin: 0; */
  /* background: #fff; */
  border: 1px solid #ccc;
  /* border-radius: 6px; */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: absolute;
  right: 0;
  top: 40px;
  width: 170px;
  display: none;
  z-index: 100;

  background-color: rgb(232, 240, 247);
  border-radius: 20px;
  flex-flow: column;
  margin-top: 10px;
  margin-left: 20px;
  margin-right: 20px;
}
.user-nav-dropdown li {
  margin: 0;
  padding: 8px 12px;
}

.user-nav-dropdown li a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  display: block;
}

.user-nav-dropdown li a:hover {
  background-color: #f0f0f0;
}

.user-nav-dropdown li.lang {
  display: flex;
  gap: 10px;
}

.user-nav-dropdown li .lang-toggle {
  max-width: 100%;
  width: 100px;
}

.rtl-direction .user-nav-dropdown {
  right: unset;
  left: 0;
}

@media screen and (max-width: 1024px) {

  .header-links,
  .header-bar__right {
    display: none;
  }
  
  .header-bar .logo {
    max-width: 106px;
  }

  .mob-menu {
    display: block;
  }

  .filters {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
  }

  .categories {
    /* width: 100%;
    padding-bottom: .5rem;
    overflow-x: auto; */

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    gap: unset;
  }

  .btn-category {
    /* font-size: 16px;
    gap: 6px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 9px;
  }

  .btn-category img {
    /* max-width: 28px; */
    max-width: 64px;
    max-height: 64px;
    aspect-ratio: 1/1;
  }

  .btn-category span {
    max-width: 56px;
    /* white-space: nowrap; */
    color: var(--Grey, #646464);
    text-align: center;
    font-family: "Open Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 12px */
    letter-spacing: 0.3px;
  }

  .filters-right {
    align-items: flex-start;
  }
  
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .storefronts {
    /* margin: unset; */
    margin: 1rem auto 2rem;
    /* margin: 2rem auto 2.5rem; */
  }

  .card-title__name {
    font-size: 24px;
  }

  .card-address,
  .card-category {
    font-size: 10px;
  }

  .banner {
    padding: 2.5rem 0;
  }

  .banner-box {
    padding: 2rem 0 0;
    flex-direction: column;
  }

  .banner-img {
    position: unset;
    width: 100%;
    bottom: 0;
    left: 1rem;
    border-end-end-radius: 1rem;
    border-end-start-radius: 1rem;
  }

  .banner-cta h2 {
    font-size: 24px;
  }

  .banner-cta,
  .banner-desc {
    padding: 0 1rem;
  }

  .banner-cta,
  .banner-box {
    gap: .75rem;
  }

  .inpt.select {
    max-width: unset;
  }

  .footer-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    padding: 2.5rem 2rem 1rem;
  }

  .footer-cta {
    align-items: center;
  }
}

@media screen and (max-width: 768px) {

  .storefronts {
    display: flex;
    width: 390px;
    /* padding: 0px 16px; */
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
  }
  
  .inpt.search input {
    padding: 12px 0 12px 56px;
  }

  .filters-right {
    flex-direction: column;
    gap: 40px;
    /* display: none; */

    /* .search {
      display: none;
    } */
  }

  .toggle-filter {
    display: unset;
  }

  .search-area button {
    display: flex;
    width: 40px;
    height: 40px;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    aspect-ratio: 1/1;

    border-radius: var(--Basic-Radius, 8px);
    border: 1px solid var(--Neutral-400, #E0E0E0);
    background: var(--Neutral-100, #FFF);
  }

	.search-area button svg{
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }

  .card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
  }

  .card-img {
    border-radius: 24px 24px 0px 0px;
    width: 100%;
    object-fit: cover;
    max-height: 110px;
  }

  .card-title__name {
    text-overflow: ellipsis;
    font-size: 20px;
    font-weight: 700;
  }

  .banner-box {
    margin: 0px 16px;
  }

  .banner-desc {
    width: unset;
    max-width: unset;
  }

  .footer-links ul {
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  .storefronts {
    width: calc( 100% - 20px );
  }

  .banner-img {
    display: none;
  }

  .banner-img__mob {
    display: flex;
  }  
}

.d-none {
  display: none !important;
}

/* select2 start */

.select2-container--default .select2-selection--single {
  background-color: unset !important;
  border: unset !important;
  border-radius: unset !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 330px;
  /* width: 100%; */
  /* height: 54px; */
  padding: 10px 16px;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 1000px;
  border: 1px solid #E0E0E0;
  background: #FFF;
  -webkit-box-shadow: none;
  box-shadow: none;
  margin: 0;
  line-height: unset;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 26px;
  position: absolute;
  top: 12px !important;
  right: 15px !important;
  width: 20px;
}
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
    left: 15px !important;
    right: auto !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 20px !important;
}