/* Ruoot Color */
:root {
  --blue: #0b2469;
  --darkblue: #011855;
  --red: #d80000;
  --green: #289a00;
  --black: #000000;
  --yellow: #eed309;
  --gray: #5f5f5e;
  --terbit: #3378B1;
  --draft: #eed309;
  --schedule: #f5881b;
  
  --selesai: #289a00;
  --terkirim: #3378B1;
  --belumbayar: #d80000;
  --proses: #eed309;
  --expired: #000000;
  --dikemas: #f5881b;
}

*,
body,
html {
  font-family: "Poppins", sans-serif;
  padding: 0%;
  margin: 0%;
  font-size: 17px;
}

.active{
  background: darkblue !important;
  color: #fff !important;
}

.container-utama {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  margin: 0;
  padding: 0;

  width: 100%;
  height: 100vh;
  background: #ffffff;
  overflow-y: scroll;
  overflow-x: hidden;
}

.container-utama::-webkit-scrollbar {
  width: 10px;
  z-index: 999999999999999;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  /* border-radius: 10px; */
  z-index: 999999999999999;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #1a658f;
  border-radius: 10px;
  z-index: 999999999999999;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #144968;
}

/* navbar */
nav {
  position: sticky;
  top: 0;
  width: 100%;

  /* overflow: hidden; */

  display: flex;
  flex-direction: row;
  justify-content: space-between;

  align-items: center;

  /* border: blue solid 1px; */

  left: 0;
  right: 0;
  z-index: 100;

  /* padding-left: 20px; */
  /* padding-right: 20px; */
  padding-top: 10px;
  padding-bottom: 10px;

  gap: 20px;

  background: #ffffff;
  box-shadow: 0px 4px 18px -8px rgba(0, 0, 0, 0.15);
}

nav .logo-web {
  width: 150px;
  /* height: 5vh; */
  margin-left: 50px;
  top: 0%;
  /* border: #000000 solid 1px; */
}

nav-mobile {
  display: none;
}

.tengah-header {
  display: flex;
  flex-direction: column;
  /* align-items: center; */

  width: 60%;
  gap: 5px;
}

.search {
  display: flex;
  flex-direction: row;
  align-items: center;

  gap: 5px;
  width: 100%;
  height: 30px;
  padding: 5px;
  background: rgb(255, 255, 255);
  color: #1a658f;
  border: #c9c9c9 solid 1px;
  border-radius: 10px;
}

#baris-menu {
  display: flex;
  flex-direction: row;
  align-items: center;

  justify-content: start;
  gap: 5px;
  list-style: none;

  border-right: hwb(0 79% 21%) solid 1px;

  width: 100%;
  padding-right: 10px;
}

#kontainer-menu {
  display: flex;
  flex-direction: row;
  align-items: center;

  justify-content: space-between;
  gap: 5px;
  list-style: none;

  border-right: hwb(0 79% 21%) solid 1px;

  width: 35.5%;
  padding-right: 10px;
}

.tengah-header ul li {
  font-size: 10px;
  cursor: pointer;
}

#btn-menu {
  align-items: center;
  justify-content: center;
  text-align: center;

  background-color: #ffffff;
  border: #c2c2c2 solid 1px;
  color: #030303;

  padding-left: 7px;
  padding-right: 7px;

  padding-top: 2px;
  padding-bottom: 2px;

  border-radius: 5px;

  letter-spacing: 0.1em;

  width: 100%;
}

#btn-menu:hover {
  background-color: #144968;
  border: #144968 solid 1px;
  color: #ffffff;
}

#running-text {
  height: 20px;
  width: 100%;
  border: #000000 solid 1px;
}

.tengah-header ul li:hover {
  color: #1a658f;
}

.search input {
  width: 95%;
  height: 28px;
  border: transparent;
  padding-left: 10px;
}

.search i {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 35px;
  height: 30px;
  border-radius: 10px;
  color: white;
  background: linear-gradient(136.89deg,
      #1a658f 7.84%,
      rgba(26, 101, 143, 0.85) 175.86%);
}

.search i:hover {
  background: linear-gradient(136.89deg,
      rgba(26, 101, 143, 0.85) -2.28%,
      #1a658f 175.86%);
}

menu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  gap: 10px;

  margin-right: 120px;

  /* border: #000000 solid 1px; */

  margin-left: 20px;
}

.icon-menu {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  justify-content: center;

  border-radius: 100%;

  /* background-color: #d4efff; */
  list-style: none;

  width: 30px;
  height: 30px;
  color: white;
}

.icon-keranjang img {
  width: 30px;
}

.icon-menu img {
  width: 30px;
}

.icon-menu-profil {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background-color: #ffffff;
  border: #1a658f solid 1px;

  list-style: none;

  /* width: 30px; */
  height: 30px;
  color: white;

  padding-left: 5px;
  padding-right: 5px;
  gap: 5px;
}

.icon-menu-profil p {
  font-size: 10px;
  letter-spacing: 1px;
  color: #144968;

  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.icon-menu-profil:hover,
.icon-menu-profil:active {
  background-color: #d3ecff;
}

.icon-menu-profil .img-menu-profil {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;

  border-radius: 100%;
  overflow: hidden;

  background-color: white;
}

.icon-menu-profil .img-menu-profil img {
  width: 20px;
}

/* hot news */

.news-container {
  display: flex;
  flex-direction: row;

  top: 0;
  left: 0;
  right: 0;

  width: 80%;
  height: 20px;

  overflow: hidden;
}

.news-container .title {
  background: #df2020;
  /* height: 100%; */
  display: flex;
  align-items: center;
  padding: 0 24px;
  color: white;
  z-index: 200;

  font-size: 12px;
}

.news-container ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  animation: scroll 25s infinite linear;

  width: 100%;
  height: 100%;
}

.news-container ul li {
  white-space: nowrap;
  padding: 10px 24px;
  color: #494949;
}

.news-container ul li::after {
  content: "";
  width: 1px;
  height: 100%;
  background: #b8b8b8;
  top: 0;
  right: 0;
}

.news-container ul li:last-child::after {
  display: none;
}

@keyframes scroll {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-1083px);
  }
}

/* notif */

.notif-menu {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* background-color: red; */
  width: 20px;
  height: 20px;
  border-radius: 100%;

  font-size: 10px;

  margin-top: 20px;
  margin-left: 30px;

  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;

  -webkit-text-fill-color: white;
  /* Will override color (regardless of order) */
  -webkit-text-stroke: 1px red;
  /* border: white solid 1px; */
}

.popup-menu-keranjang {
  /* margin-top: 250px; */
  top: 30%;
  margin-right: 300px;
  z-index: 1000;
  position: absolute;

  display: none;
  width: 300px;
  height: min-content;

  background-color: #fff;
  border: #bbbbbbc5 solid 1px;

  border-radius: 10px;

  padding: 10px;

  filter: drop-shadow(8px 6px 10px rgba(0, 0, 0, 0.5));
}

#icon-keranjang:hover .popup-menu-keranjang,
#icon-keranjang:active .popup-menu-keranjang {
  display: flex;
}

.popup-menu-keranjang ul {
  display: flex;
  flex-direction: column;
  width: 100%;

  gap: 10px;
}

.judul-popup-menu-keranjang {
  color: #1a658f;
  border-bottom: #1449683d solid 1px;
}

.popup-menu-keranjang ul li {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  align-items: center;

  width: 100%;

  /* border: #000000 solid 1px; */

  text-align: left;

  gap: 5px;
}

.popup-menu-keranjang ul li:hover {
  background-color: #eaeaea;
}

.popup-menu-keranjang ul li .produk-keranjang {
  font-size: 10px !important;
  color: #000000 !important;

  /* border: #000000 solid 1px; */

  width: 60%;

  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.popup-menu-keranjang ul li .harga-keranjang {
  font-size: 10px !important;
  color: #1a658f;
  font-weight: bold;

  /* border: #000000 solid 1px; */

  width: 20%;
}

.popup-menu-keranjang ul li .img-keranjang {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  width: 15% !important;
  height: 40px;

  background-color: #eaeaea;
}

.popup-menu-keranjang ul li .img-keranjang img {
  height: 40px;
}

.popup-menu-keranjang ul .btn-keranjang {
  width: 100%;
}

.popup-menu-keranjang ul .btn-keranjang button {
  width: 100%;

  background-color: white;
  border-radius: 5px;
  border: #1a658f solid 1px;
  color: #1a658f;
  font-size: 12px;
  padding: 5px;
}

.popup-menu-keranjang ul .btn-keranjang button:hover {
  background-color: rgba(250, 253, 255, 0.096);
}

.popup-menu-keranjang ul li .img-notiv {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  width: 15% !important;
  height: 40px;

  background-color: #eaeaea;
}

.popup-menu-keranjang ul li .img-notiv img {
  height: 40px;
}

/* popup-notif */

.popup-menu-notif {
  margin-top: 280px;
  margin-right: 300px;
  z-index: 1000;
  position: absolute;

  display: none;
  width: 300px;
  height: min-content;

  background-color: #fff;
  border: #bbbbbbc5 solid 1px;

  border-radius: 10px;

  padding: 10px;

  filter: drop-shadow(8px 6px 10px rgba(0, 0, 0, 0.5));
}

#icon-notif:hover .popup-menu-notif,
#icon-notif:active .popup-menu-notif {
  display: flex;
}

.popup-menu-notif ul {
  display: flex;
  flex-direction: column;
  width: 100%;

  gap: 10px;
}

.popup-menu-notif ul li {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  align-items: center;

  width: 100%;

  /* border: #000000 solid 1px; */

  text-align: left;

  gap: 5px;
}

.popup-menu-notif ul li:hover {
  background-color: #eaeaea;
}

.popup-menu-notif ul li .produk-notif {
  font-size: 10px !important;
  color: #000000 !important;

  /* border: #000000 solid 1px; */

  width: 85%;

  /* overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis; */
}

.popup-menu-notif ul li .harga-notif {
  font-size: 10px !important;
  color: #1a658f;
  font-weight: bold;

  /* border: #000000 solid 1px; */

  width: 20%;
}

.popup-menu-notif ul li .img-notif {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  width: 15% !important;
  height: 40px;

  background-color: #eaeaea;
}

.popup-menu-notif ul li .img-notif img {
  height: 40px;
}

.popup-menu-notif ul .btn-notif {
  width: 100%;
}

.popup-menu-notif ul .btn-notif button {
  width: 100%;

  background-color: white;
  border-radius: 5px;
  border: #1a658f solid 1px;
  color: #1a658f;
  font-size: 12px;
  padding: 5px;
}

.popup-menu-notif ul .btn-notif button:hover {
  background-color: rgba(250, 253, 255, 0.096);
}

.popup-menu-notif ul li .img-notiv {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  width: 15% !important;
  height: 40px;

  background-color: #eaeaea;
}

.popup-menu-notif ul li .img-notiv img {
  height: 40px;
}

/* navbar - end */

/* footer */
footer-mobile {
  display: none;
}

footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  /* background-color: #d2e9e9; */

  background-image: url(../../assets/img/footer.png);
  background-size:cover;
  background-position: center;
  background-repeat: no-repeat;

  /* border: #ffcea3 solid 3px; */
  width: 100%;
  /* height: min-content; */
  /* padding-bottom: 20px !important; */
  /* padding: 10px; */
  /* padding-right: 100px; */
  margin-top: 100px;
}

.side-left-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  /* border: #000000 solid 1px; */
  width: 20%;
  height: 100%;

  /* margin-left: 100px; */
  /* border: #ffcea3 solid 3px; */

}

.side-left-footer img {
  width: 150px;
  padding-bottom: 30px;
}

.side-right-footer {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 60%;
  flex-direction: row;
  padding-right: 100px;
  justify-content: space-around;

  font-size: 12px;
  gap: 50px;

  padding-bottom: 40px;

  /* border: #000000 solid 1px; */
}

.footer-menu-produk h1 {
  margin-bottom: 10px;
}

.footer-menu-produk ul {
  display: flex;
  flex-direction: row;
  gap: 10px;

  list-style: none;
}

.footer-menu-produk p:hover {
  color: #06a4ff;
  outline: white 0.2px solid;
  /* font-weight: 500; */
}

.footer-menu-produk li,
.footer-menu-produk p {
  cursor: pointer;
  font-size: 12px;
}

/* Mobile */
@media screen and (max-width: 768px) {
  ::-webkit-scrollbar {
    display: none;
  }

  nav {
    display: none;
  }

  footer {
    display: none;
  }

  footer-mobile {
    z-index: 99999999;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;

    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;

    background: #ffffff;
    /* border: #FFFFFF solid 1px; */
    box-shadow: 0px -4px 15px -3px rgba(0, 0, 0, 0.15);

    height: 50px;

    padding-top: 5px;
    padding-bottom: 2px;
  }

  .active{
    background: transparent !important;
    color: var(--gray) !important;
  }

  .icon-menu-footer-mobile {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    color: #645e5e;
    height: 45px;
    /* border: #000000 solid 1px; */
  }

  .icon-menu-footer-mobile:hover,
  .icon-menu-footer-mobile:active {
    color: #21ac94;
    filter: transparent(00%);
  }

  .icon-menu-footer-mobile p {
    font-size: 8px;
  }

  .icon-menu-footer-mobile img {
    width: 30px;
    z-index: 1;

    filter: grayscale(100%);
    -webkit-filter: magenta (100%);
  }

  .icon-menu-footer-mobile img:hover,
  .icon-menu-footer-mobile img:active {
    filter: grayscale(0%);
    filter: gray;
    -webkit-filter: grayscale(0%);
    filter: none;
  }

  /* nav-mobile*/

  nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 50px;

    /* border: #000000 solid 1px; */
    width: 100%;
    /* padding-top: 5px; */
    /* padding-bottom: 5px; */

    height: 50px;

    box-shadow: 0px -4px 15px -3px rgba(0, 0, 0, 0.15);

    gap: 10px;

    /* margin-bottom: -100px; */
    background-color: #fff;

    z-index: 99999999;
  }

  nav-mobile img {
    width: 70px;
    height: auto;
    /* height: fit-content; */
    margin-left: 10px;
    margin-right: 10px;
  }

  nav-mobile .input-mobile {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    border: #645e5e3a solid 1px;
    border-radius: 5px;
    width: 100%;
    padding-right: 5px;
    /* height: 15px; */
  }

  nav-mobile .input-mobile input {
    border: transparent;
    width: 100%;
    height: 33px;
    padding-left: 10px;
    font-size: 14px;
  }

  nav-mobile .input-mobile img {
    font-size: 10px;
    margin-right: 5px;
    margin-left: 5px;
  }

  .icon-keranjang-mobile {
    margin-right: 10px;

    list-style: none;
  }

  .icon-keranjang-mobile img {
    width: 20px;
  }

  .notif-keranjang {
    /* background-color: red; */
    width: 15px;
    height: 15px;

    border-radius: 100%;

    color: white;

    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin-top: -15px;
    margin-left: 25px;

    font-size: 8px;
    font-weight: 600;
    color: red;
  }
}

/* Add a background color to the active dot/circle */
@media screen and (min-width: 769px) {

  .active,
  .img-navigasi,
  .dot:hover {
    background: #21ac94;
    border-radius: 5px;
    padding-left: 2px;
    padding-right: 2px;
    width: 100%;
    color: white;
    z-index: 1;
    filter: grayscale(1%) !important;
    /* border-bottom: 1px #21ac94 solid; */
    -webkit-filter: magenta (100%);
  
  }
}

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

  .active,
  .dot:hover {
    border-radius: 5px;
    padding-left: 2px;
    padding-right: 2px;
    width: 30px;
    color: #21ac94;
    z-index: 1;
    filter: grayscale(1%) !important;
    -webkit-filter: magenta (100%);
  }
}