/* RESET */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: #dadada;
  font-family: 'Outfit', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* NAVBAR */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #131921;
  padding: 10px 20px;
  color: #fff;
  flex-wrap: nowrap;
  gap: 15px;
  overflow-x: auto;
}

.nav-country,
.search,
.lang,
.text,
.cart {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-country {
  display: flex;
  align-items: flex-end;
  font-size: 13px;
  color: #c4c4c4;
}

.nav-country h1 {
  color: #fff;
  font-size: 14px;
}

.search {
  flex: 1;
  display: flex;
  align-items: center;
  background: #fff;
  color: gray;
  max-width: 1000px;
  border-radius: 4px;
  margin-left: 15px;
  min-width: 250px;
}

.searchcat {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  gap: 5px;
  background: #e5e5e5;
  border-radius: 4px 0 0 4px;
}

.searchinput {
  border: none;
  outline: none;
  padding-left: 20px;
  width: 100%;
}

.search-icon {
  max-width: 41px;
  padding: 8px;
  background-color: #ffd64f;
  border-radius: 0 4px 4px 0;
}

.lang,
.text,
.cart {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 15px;
}

.text p {
  font-size: 10px;
}

.text h1 {
  font-size: 14px;
}

.navbottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 8px 20px;
  background-color: #232f3e;
  color: white;
  font-size: 15px;
}

.navbottom div {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

/* SLIDER */
.slider {
  position: relative;
}

.slider ul {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.slider ul::-webkit-scrollbar {
  display: none;
}

.he1 {
  display: none;
  width: 100%;
}

.he1.active {
  display: block;
}

.slider a {
  position: absolute;
  top: 20%;
  z-index: 1;
  padding: 5vh 1vw;
  background: #ffffff4f;
  color: #0000007b;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
}

.control_prev {
  left: 0;
}

.control_next {
  right: 0;
}

/* BOX SECTION */
.box-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin: 20px 30px;
}

.box-col {
  flex: 1 1 calc(50% - 20px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px 20px;
  background: #fff;
  min-width: 200px;
  z-index: 1;
}

.box-col a {
  font-size: 13px;
  color: #009999;
  font-weight: 500;
}

.header-box {
  margin-top: -20vw;
}

/* PRODUCTS SLIDER */
.products-slider,
.products-slider-with-price {
  background: #fff;
  margin: 0 30px;
  padding: 20px;
  margin-bottom: 15px;
  overflow-x: auto;
}

.products-slider .products,
.products-slider-with-price .products {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  scroll-behavior: smooth;
}

.products-slider .products img,
.product-img-container img {
  max-width: 150px;
  max-height: 120px;
  object-fit: contain;
  height: auto;
}

.products-card {
  min-width: 150px;
  max-width: 150px;
  background: #fbfbfb;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-offer p {
  background: #be0b3b;
  color: #fff;
  padding: 2px 5px;
  border-radius: 2px;
  margin: 8px;
  font-size: 13px;
}

.product-offer span {
  color: #be0b3b;
  font-weight: 500;
  font-size: 12px;
}

.product-price {
  color: gray;
  font-size: 13px;
}

.product-card h4 {
  color: #525252;
  font-size: 15px;
  font-weight: 400;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  background: #131921;
  padding: 20px 60px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  nav,
  .navbottom,
  .box-row,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .box-col {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .searchcat,
  .searchinput,
  .search-icon {
    font-size: 12px;
  }

  .products-slider .products img,
  .product-img-container img {
    max-width: 100px;
  }
}
