@import url(https://fonts.googleapis.com/css?family=Inter:100,200,300,regular,500,600,700,800,900,100italic,200italic,300italic,italic,500italic,600italic,700italic,800italic,900italic);
@import url(https://fonts.googleapis.com/css?family=Poppins:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic);

::-webkit-scrollbar {
  height: 0;
}

:root {
  --primary: #ff9900;
  --primary-dark: #d47100;
  --white: #ffffff;
  --black: #000000;
  --light-grey: #eee;
  --green: #4bb543;
  --red: #bb2124;
  --grey: #808080;
  --food_grey: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  font-family: inherit;
  color: inherit;
}

button {
  background-color: transparent;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

input,
textarea {
  border: none;
  outline: none;
  font-family: inherit;
  letter-spacing: inherit;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  /* object-fit: contain; */
}

html,
body {
  width: 100%;
  height: 100%;
  background-color: var(--light-grey);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0.5px;
}

.container {
  max-width: 768px;
  width: 100%;
  margin: 0 auto;
  padding: 0 12px;
}

.wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.header {
  width: 100%;
  padding: 6px 0;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  width: 100px;
  height: 45px;
  object-fit: cover;
  border-radius: 6px;
  padding: 8px;
}

.header-logo svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* 
.header-logo {
  width: 80px;
  height: 36px;
  object-fit: cover; */
  /* background-color: var(--black); */
  /* border-radius: 6px;
  padding: 6px; */
/* } */

/* .header-logo svg {
  display: block;
  width: 100%;
  height: 100%;
} */

.main {
  flex: 1 1 auto;
}

.banner {
  width: 100%;
  height: 150px;
  margin-top: 10px;
  border-radius: 8px;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: auto !important;
  object-fit: cover;
}

.products {
  margin-top: 12px;
}

.products-search {
  width: 100%;
  height: 36px;
  background-color: var(--white);
  margin-bottom: 10px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 6px;
  box-shadow: 0px 2px 4px 0px rgba(34, 60, 80, 0.1);
}

.products-search span {
  width: 20px;
  height: 20px;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-search input {
  width: 100%;
  height: 100%;
  background-color: var(--white);
  border: none;
  outline: none;
  padding: 2px 6px;
}

.products-category {
  display: flex;
  gap: 10px;
  overflow-x: scroll;
}

.products-category_item {
  padding: 4px 6px;
  font-size: 16px;
  font-weight: 600;
  text-wrap: nowrap;
  transition: all 0.1s ease-in-out;
}

.products-category_item.active {
  color: var(--primary-dark);
  border-radius: 4px;
}

.products-category_item.active::after{
  content: "";
}

.products-list {
  margin-top: 16px;
  margin-bottom: 80px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-card {
  width: 48%;
  border-radius: 8px;
  background-color: var(--food_grey);
  padding: 12px;
  position: relative;
}

.product-card_qty {
  color: var(--white);
  width: 22px;
  height: 22px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--primary);
  border-radius: 0 7px 0 60%;
}

.product-card_img {
  width: 100%;
  height: 120px;
  border-radius: 6px;
}

.product-card_name {
  font-size: 12px;
  margin-top: 6px;
  font-weight: 600;
}

.product-card_price {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.product-card_buttons {
  margin-top: 6px;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.product-card_button_inc {
  width: 100%;
  padding: 4px 20px;
  border-radius: 6px;
  background-color: #bb2124;
  background-color: #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card_button_dec {
  width: 100%;
  padding: 4px 20px;
  border-radius: 6px;
  background-color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer {
  width: 100%;
  padding: 14px 0;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 10;
  background-color: var(--white);
  border-radius: 16px 16px 0 0;
  box-shadow: 0px -2px 10px 0px rgba(0, 0, 0, 0.2);
}

.footer-row {
  display: flex;
  justify-content: space-between;
}

.footer-text {
  font-size: 14px;
  text-transform: capitalize;
  color: var(--grey);
}

.footer-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.footer-button {
  width: 160px;
  height: 44px;
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  background-color: var(--primary);
  text-transform: capitalize;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner .swiper-slide img{
  display: block;
  width: 100%;
  border-radius: 8px;
  height: 100% !important; 
  object-fit: cover;
}
