* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* NAVBAR */

.navbar {
  min-height: 60px;
  background-color: #0f1111;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 5px 10px;
  gap: 10px;
}

.nav-logo {
  height: 50px;
  width: 110px;
  flex-shrink: 0;
}

.logo {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 50px;
  width: 100%;
}

.border {
  border: 1.5px solid transparent;
  padding: 5px;
}

.border:hover {
  border: 1.5px solid white;
}

/* Address */

.add-f {
  color: #cccccc;
  font-size: 0.75rem;
  margin-left: 15px;
}

.add-s {
  font-size: 0.9rem;
  margin-left: 3px;
  font-weight: bold;
}

.add-icon {
  display: flex;
  align-items: center;
}

/* Search */

.nav-search {
  display: flex;
  flex: 1;
  max-width: 780px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
}

.search-select {
  background-color: #f3f3f3;
  width: 55px;
  text-align: center;
  border: none;
  color: #333;
}

.search-input {
  width: 100%;
  font-size: 1rem;
  padding: 0 10px;
  border: none;
  outline: none;
}

.search-icon {
  width: 50px;
  min-width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  background-color: #febd68;
  color: #0f1111;
  cursor: pointer;
}

.nav-search:hover {
  outline: 2px solid orange;
}

/* Account */

span {
  font-size: 0.7rem;
}

.nav-s {
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-cart {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-cart i {
  font-size: 28px;
}

/* PANEL */

.panel {
  min-height: 40px;
  background-color: #222f3d;
  display: flex;
  color: white;
  align-items: center;
  padding: 0 10px;
  gap: 15px;
}

.panel-all {
  font-weight: bold;
  white-space: nowrap;
}

.panel-ops {
  display: flex;
  gap: 15px;
  flex: 1;
  font-size: 0.85rem;
}

.panel-ops p {
  white-space: nowrap;
}

.avl {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

/* HERO SECTION */

.main {
  background-image: url("./img/main.jpg");
  height: 350px;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.main-msg {
  background-color: white;
  color: black;
  min-height: 40px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  width: 85%;
  margin-bottom: 25px;
  text-align: center;
}

.main-msg a {
  color: #007185;
  margin-left: 5px;
}

/* SHOP SECTION */

.shop-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 15px;
  padding: 20px 10px;
  background-color: #e1f90eec;
}

.box {
  height: 400px;
  width: 23%;
  min-width: 230px;
  background-color: white;
  padding: 20px 0 15px;
}

.box-img {
  height: 300px;
  background-size: cover;
  background-position: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.box-con {
  margin-left: 1rem;
  margin-right: 1rem;
}

.box-con h2 {
  font-size: 1.3rem;
}

.box-con p {
  color: #007185;
  cursor: pointer;
}

/* FOOTER */

footer {
  margin-top: 0;
}

.foot-panel1 {
  background-color: #37475a;
  color: white;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
  cursor: pointer;
}

.foot-panel2 {
  background-color: #222f3d;
  color: white;
  min-height: 350px;
  padding: 30px 20px;
  display: flex;
  justify-content: space-evenly;
  gap: 30px;
}

ul {
  margin: 0;
}

ul p {
  font-weight: bold;
}

ul a {
  display: block;
  font-size: 0.85rem;
  margin-top: 10px;
  color: #dddddd;
  cursor: pointer;
}

.foot-panel3 {
  background-color: #222f3d;
  color: white;
  border-top: 0.5px solid #666;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.foot-panel3 .logo {
  width: 100px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
}

.foot-panel4 {
  background-color: #0f1111;
  color: white;
  min-height: 80px;
  text-align: center;
  padding: 25px 10px;
}

.pages {
  font-size: 0.7rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.copy {
  padding-top: 8px;
  font-size: 0.75rem;
}

/* TABLET RESPONSIVE  */

@media (max-width: 1024px) {
  .nav-address {
    display: none;
  }

  .nav-search {
    max-width: none;
  }

  .box {
    width: 31%;
  }

  .panel-ops {
    gap: 8px;
  }

  .avl {
    display: none;
  }
}

@media (max-width: 768px) {
  /* NAVBAR */

  .navbar {
    height: auto;
    min-height: 110px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8px;
    gap: 5px;
  }

  .nav-logo {
    width: 110px;
    height: 45px;
    order: 1;
  }

  .nav-singin {
    order: 2;
  }

  .nav-return {
    display: none;
  }

  .nav-cart {
    order: 3;
  }

  .nav-cart i {
    font-size: 24px;
  }

  /* Search full width */

  .nav-search {
    order: 4;
    width: 100%;
    flex-basis: 100%;
    height: 42px;
  }

  .search-select {
    width: 50px;
  }

  /* PANEL */

  .panel {
    height: auto;
    min-height: 42px;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 10px;
    white-space: nowrap;
  }

  .panel::-webkit-scrollbar {
    display: none;
  }

  .panel-ops {
    display: flex;
    width: auto;
    flex: none;
    gap: 15px;
  }

  .panel-ops p {
    margin: 0;
  }

  /* HERO */

  .main {
    height: 220px;
    background-position: center;
  }

  .main-msg {
    width: 92%;
    font-size: 0.72rem;
    line-height: 1.4;
    margin-bottom: 12px;
    padding: 8px;
  }

  /* SHOP */

  .shop-main {
    padding: 12px 8px;
    gap: 10px;
  }

  .box {
    width: calc(50% - 5px);
    min-width: 0;
    height: auto;
    min-height: 280px;
    padding: 12px 0;
  }

  .box-con {
    margin-left: 10px;
    margin-right: 10px;
  }

  .box-con h2 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .box-img {
    height: 180px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .box-con p {
    font-size: 0.8rem;
  }

  /* FOOTER */

  .foot-panel2 {
    height: auto;
    min-height: auto;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 25px 20px;
    gap: 30px;
  }

  .foot-panel2 ul {
    width: calc(50% - 15px);
  }

  ul p {
    font-size: 0.9rem;
  }

  ul a {
    font-size: 0.75rem;
  }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
  .navbar {
    min-height: 105px;
  }

  .nav-logo {
    width: 100px;
  }

  .nav-singin span {
    font-size: 0.65rem;
  }

  .nav-s {
    font-size: 0.75rem;
  }

  .nav-cart {
    font-size: 0.75rem;
  }

  .search-input {
    font-size: 0.85rem;
  }

  .main {
    height: 180px;
  }

  .main-msg {
    font-size: 0.65rem;
    width: 94%;
  }

  .box {
    min-height: 240px;
  }

  .box-img {
    height: 150px;
  }

  .box-con h2 {
    font-size: 0.9rem;
  }

  .foot-panel2 ul {
    width: 100%;
  }

  .pages {
    gap: 8px;
    font-size: 0.6rem;
  }
}
