* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: var(--icon-tertiary-color);
}

li {
  list-style-type: none;
}

p,
h1,
h2,
h3,
h4,
h5 {
  font-weight: normal;
}


img {
  display: block;
  max-width: 100%;
}
.wrapper {
  max-width: 1100px;
  margin: 0 auto;
}
.flex {
  display: flex;
}
.wrapper {
  padding-inline: 1rem;
}
main .bg-wrapper {
  background-color: var(--light-background);
}
/* header */
header {
  background-color: var(--primary-white);
}
header .home-page {
  font-size: var(--fs--small);
  padding: 1rem 0;
  display: flex;
  gap: 0.5rem;
}
header .home-page a {
  color: rgb(130, 130, 130);
}
header .home-page a:hover {
  color: rgb(224, 53, 70);
}
header .home-page span {
  color: var(--border-default);
}
.selection-navbar-wrapper {
  position: sticky;
  z-index: 100;
  top: 0;
  background-color: var(--primary-white);
}
.selection-navbar a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-weight: 500;
  font-size: var(--fs--medium-large);
  padding: 1rem;
  color: var(--text-default);
}
.selection-navbar {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  box-shadow: rgb(232, 232, 232) 0px -0.5px 0px inset;
  overflow-x: auto;
  -webkit-box-pack: start;
  justify-content: flex-start;
}
.selection-navbar::-webkit-scrollbar {
  display: none;
}
.selection-navbar .img-wrap {
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--light-background);
  width: 60px;
  height: 60px;
}
.selection-navbar .active {
  color: var(--brand-primary);
  border-bottom: 2.5px solid rgb(255, 126, 139);
}
.selection-navbar .active .img-wrap {
  background-color: rgb(229, 243, 243);
  color: var(--brand-primary);
}
.selection-navbar .img-wrap img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 50%;
}

/* filter */
main .filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.8rem .5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--primary-white);
}
main .filter .filter__button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
main .filter .filter__category {
  border: 1px solid var(--border-default);
  color: rgb(156, 156, 156);
  background-color: var(--primary-white);
  box-shadow: rgba(54, 54, 54, 0.06) 0px 1px 2px;
  border-radius: 0.8rem;
  padding: 0.5rem;
  cursor: pointer;
  font-weight: 100;
  font-size: var(--fs--small-medium);
  min-width: fit-content;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
main .filter > *:hover {
  background-color: var(--light-background);
}
main .filter .active-filter-category {
  border: 1px solid var(--brand-primary);
  color: var(--primary-white);
  background-color: var(--brand-primary);
}
main .filter > .active-filter-category i {
  margin-top: 3px;
}
.stacked {
  display: grid;
}
.stacked > * {
  grid-column: 1/-1;
  grid-row: 1/-1;
}
.text-overflow-util {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.swiper-navigation:focus {
  border: 4px solid #fcdcdf;
  box-shadow: rgba(60, 64, 69, 0.12) -4px 5px 12px;
}
.swiper-navigation i {
  display: flex;
  align-items: center;
  justify-content: center;
}
main .swiper-navigation:after {
  content: "";
}
main .swiper-navigation {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-white);
  --swiper-navigation-sides-offset: 0px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 5px -1px,
    rgba(0, 0, 0, 0.14) 0px 6px 10px 0px, rgba(0, 0, 0, 0.12) 0px 1px 18px 0px;
  --swiper-theme-color: rgb(0, 0, 0);
}
.name-and-rating > * {
  font-weight: 500;
  font-size: var(--fs--base);
}

.name-and-rating > p:nth-child(1) {
  max-width: 80%;
  color: var(--text-color1);
}
.name-and-rating > p:nth-child(2) {
  background-color: rgb(38, 126, 62);
  border-radius: 8px;
  padding: 4px 5px;
  color: var(--primary-white);
  font-size: 0.8125rem;
}
.name-and-rating > p:nth-child(2) i {
  font-size: 0.5rem;
  vertical-align: middle;
}
.info-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs--small-medium);
  font-weight: 300;
}
.cusine-and-price > p:nth-child(1) {
  max-width: 56%;
}
.location-and-distance > p:nth-child(1) {
  max-width: 85%;
}
.highly-rated {
  background-color: rgb(14, 80, 32) !important;
}
.unrated {
  background-color: rgb(156, 156, 156) !important;
}
.new-restaurant {
  background-color: rgb(235, 255, 239) !important;
  color: rgb(58, 183, 87) !important;
  border: 1px solid rgb(58, 183, 87);
}
.promoted {
  width: max-content;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(0.4rem);
  border-radius: 0.2rem;
  height: min-content;
  color: var(--primary-white);
  margin: 10px 0 0 10px;
}
.promoted p {
  font-size: 0.625rem;
  color: var(--primary-white);
  opacity: 0.5;
  padding: 0px 0.25rem;
}
.end-of-search {
  color: var(--text-color1);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10vh 30vw 20vh;
  font-size: 1.5rem;
}
.end-of-search .img-wrap {
  width: 125px;
  aspect-ratio: 1;
}
.end-of-search .img-wrap img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
