@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Share+Tech+Mono&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  color: #1c1c1c;
  background-color: #f2f2f2;
}

.wrapper {
  width: 100%;
  max-width: 800px;
  position: relative;
  margin: 0 auto;
  background-color: #ffffff;
}

.logo img {
  max-height: 40px;
}

img {
  width: 100%;
}

.search {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}
.search input {
  display: none;
  width: 100%;
}
.search .toggle-search, .search .submit {
  font-size: 16px;
  font-weight: 700;
  background: #f2f2f2;
  border-radius: 42px;
  width: 42px;
  height: 42px;
}
.search .submit {
  display: none;
}
.search.active {
  position: absolute;
  right: 10px;
  width: calc(100% - 20px);
}
.search.active input, .search.active button {
  height: 42px;
  padding: 10px;
  display: block;
}
.search.active input {
  outline: none;
  font-size: 14px;
  background-color: #f2f2f2;
  border-radius: 6px 0 0 6px;
}
.search.active button {
  font-size: 16px;
  font-weight: 700;
  background: #f2f2f2;
  border-radius: 0 6px 6px 0;
}
.search.active .toggle-search {
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  background-color: #FFFFFF;
}

.main-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  box-shadow: 0px -5px 15px rgba(91, 91, 91, 0.1);
  z-index: 9;
}
.main-nav ul {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 20px;
  padding: 0;
  margin: 0;
}
.main-nav ul li {
  text-align: center;
  padding: 8px 0;
}
.main-nav ul li .nav-icon {
  font-size: 18px;
  color: rgba(3, 81, 233, 0.8);
}
.main-nav ul li span {
  display: block;
  font-size: 12px;
}

.sticky-on-top {
  position: sticky;
  top: 0;
  z-index: 9;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.best-seller {
  margin-top: 15px;
}
.best-seller .heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 0 16px;
  margin-bottom: 10px;
}
.best-seller .heading h2 {
  font-weight: 700;
  text-transform: uppercase;
}
.best-seller .heading a {
  font-size: 12px;
  color: #0351e9;
}
.best-seller .products {
  display: flex;
  gap: 15px;
  overflow: auto;
  padding-top: 10px;
  /* Track */
  /* Handle */
  /* Handle on hover */
}
.best-seller .products::-webkit-scrollbar {
  width: 0px;
}
.best-seller .products::-webkit-scrollbar-track {
  background: transparent;
}
.best-seller .products::-webkit-scrollbar-thumb {
  background: transparent;
}
.best-seller .products::-webkit-scrollbar-thumb:hover {
  background: transparent;
}
.best-seller .products .product-item:first-child {
  margin-left: 20px;
}
.best-seller .products .product-item:last-child {
  margin-right: 20px;
}
.best-seller .products .product-item a {
  min-width: 150px !important;
}

.product-item {
  position: relative;
  /* HTML: <div class="ribbon">Your text content</div> */
}
.product-item a {
  display: block;
  min-width: 100px;
  position: relative;
  border: 1px solid #CCCCCC;
  padding-bottom: 10px;
  margin-bottom: 25px;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
}
.product-item .thumbnail {
  margin-bottom: 10px;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  overflow: hidden;
}
.product-item .product-title, .product-item .price {
  padding: 0 10px;
  font-size: 14px;
}
.product-item .product-title {
  font-weight: 300;
}
.product-item .price {
  font-weight: 600;
}
.product-item .ribbon {
  font-size: 10px;
  font-weight: bold;
  color: #fff;
  width: 40px;
  text-align: center;
  line-height: 12px;
}
.product-item .ribbon {
  --f: 5px;
  --r: 15px;
  position: absolute;
  right: 5px;
  top: calc(-1 * var(--f));
  padding: 7px 0px;
  padding-top: 13px;
  background: #0351e9;
  border-left: var(--f) solid rgba(0, 0, 0, 0.3333333333);
  border-bottom: var(--r) solid rgba(0, 0, 0, 0);
  clip-path: polygon(var(--f) 0, 100% 0, 100% 100%, calc(50% + var(--f) / 2) calc(100% - var(--r)), var(--f) 100%, var(--f) var(--f), 0 var(--f));
}

.product-list {
  padding: 20px;
}
.product-list .heading {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.product-list .products {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
}
.product-list .products .product-item a {
  margin-bottom: 0;
}

/* Page : Product Detail */
.product-detail {
  padding-bottom: 100px;
}
.product-detail .button-back {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  -ms-border-radius: 100px;
  -o-border-radius: 100px;
  position: absolute;
  top: 15px;
  left: 15px;
  opacity: 0.3;
  transition: all ease-in-out 0.3s;
  -webkit-transition: all ease-in-out 0.3s;
  -moz-transition: all ease-in-out 0.3s;
  -ms-transition: all ease-in-out 0.3s;
  -o-transition: all ease-in-out 0.3s;
}
.product-detail .button-back:hover {
  opacity: 1;
}
.product-detail .thumbnail {
  margin-bottom: 20px;
}
.product-detail .thumbnail img {
  width: 100%;
}
.product-detail .product-title {
  font-size: 18px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.product-detail .product-title .wishlist-button {
  font-size: 22px;
}
.product-detail .price {
  font-size: 16px;
  font-weight: 800;
}
.product-detail .review {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  border-top: 1px solid #cccccc;
  border-bottom: 5px solid #cccccc;
  padding: 15px 20px;
  margin: 15px 0;
}
.product-detail .review .rating {
  padding: 5px 10px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
}
.product-detail .review .rating .star {
  color: #F7941D;
  font-size: 15px;
}
.product-detail .product-description {
  margin-top: 20px;
}
.product-detail .product-description .heading {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-detail .product-description p {
  font-size: 16px;
  font-weight: 300;
}

.cart-action {
  background-color: #FFFFFF;
  padding: 20px;
  display: flex;
  gap: 15px;
  position: fixed;
  bottom: 0px;
  width: 100%;
}

.btn-action {
  border: 2px solid #0351e9;
  width: 100%;
  text-align: center;
  display: inline-block;
  padding: 10px 15px;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #0351e9;
  transition: all ease-in-out 0.3s;
  -webkit-transition: all ease-in-out 0.3s;
  -moz-transition: all ease-in-out 0.3s;
  -ms-transition: all ease-in-out 0.3s;
  -o-transition: all ease-in-out 0.3s;
}
.btn-action.buy:hover {
  border-color: #002e8b;
  color: #002e8b;
}
.btn-action.cart {
  background-color: #0351e9;
  color: #FFFFFF;
}
.btn-action.cart:hover {
  background-color: #002e8b;
  border-color: #002e8b;
}

.pop-info {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  backdrop-filter: blur(8px);
}
.pop-info .info-bentar {
  text-align: center;
  font-size: 18px;
}
.pop-info .info-bentar h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.pop-info #ok-button {
  margin-top: 25px;
  padding: 10px 20px;
  background-color: #0351e9;
  color: #FFFFFF;
  font-size: larger;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
}
.pop-info #ok-button:hover {
  background-color: #002e8b;
}

.bg-transparent {
  background-color: transparent !important;
}

.auth-wrapper {
  padding: 40px;
  padding-top: 80px;
  text-align: center;
  font-size: 14px;
  background: rgba(3, 81, 233, 0.1);
  height: calc(100vh - 173px);
  position: relative;
}
.auth-wrapper .icon {
  font-size: 60px;
  color: rgba(0, 46, 139, 0.3);
}
.auth-wrapper .btn-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}
.auth-wrapper .auth-button {
  display: inline-block;
  min-width: 130px;
  background-color: transparent;
  border: 2px solid #0351e9;
  color: #0351e9;
  font-size: 16px;
  font-weight: 500;
  padding: 7px 20px;
  text-transform: uppercase;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  transition: all ease-in-out 0.3s;
  -webkit-transition: all ease-in-out 0.3s;
  -moz-transition: all ease-in-out 0.3s;
  -ms-transition: all ease-in-out 0.3s;
  -o-transition: all ease-in-out 0.3s;
}
.auth-wrapper .auth-button.login {
  background-color: #0351e9;
  color: #FFFFFF;
}
.auth-wrapper .auth-button.login:hover {
  background-color: #002e8b;
}