@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: "Outfit", sans-serif; */
}

body {
  color: #333;
}

.shop {
  padding: 100px 9% 30px;
}

/* nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 9%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
} */

.logo {
  font-size: 25px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

#pagination {
  text-align: center;
}

/* #pagination a {
  text-decoration: none;
  background-color: #01A683;
  padding: 15px 20px;
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
} */

.active1 {
  text-decoration: none;
  background-color: #000;
  padding: 15px 20px;
  border: 1px solid #000;
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
}

.inactive2 {
  text-decoration: none;
  background-color: #fff;
  padding: 15px 20px;
  border: 1px solid #000;
  border-radius: 4px;
  color: #000;
  font-weight: 600;
}

.inactive3 {
  text-decoration: none;
  background-color: #fff;
  padding: 17px 18px;
  border: 1px solid #000;
  border-radius: 4px;
  color: #000;
  font-weight: 600;
}

#pagination a i {
  font-size: 16px;
  font-weight: 600;
}

/* .inactive2 {
  background-color: #fff;
} */

.cart-icon {
  position: relative;
  top: -7px;
  left: -55px;
  font-size: 30px;
  color: #333;
  display: flex;
}

.cart-icon .cart-item-count {
  position: absolute;
  top: 0;
  right: -6px;
  width: 20px;
  height: 20px;
  background: #e35f26;
  border-radius: 50%;
  font-size: 12px;
  color: #fff;
  line-height: 20px;
  text-align: center;
  display: none;
}

.product-collection {
  padding: 100px 9% 30px;
}

.product-collection h1 {
  font-size: 35px;
  text-align: center;
  margin-bottom: 15px;
  font-weight: 600;
}

.product-collection .product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.product-collection .product-list-all {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.product-collection .img-box a {
  width: 100%;
}

.product-collection .img-box {
  display: flex;
  overflow: hidden;
  cursor: pointer;
}

.product-collection .img-box img {
  width: 100%;
  transition: 0.5s;
}

.product-collection .img-box:hover img {
  transform: scale(1.1);
}

.product-collection .title {
  font-size: 18px;
  font-weight: 400;
  margin-top: 10px;
}

.product-collection .price {
  display: block;
  font-weight: bold;
  margin-top: 5px;
}

.product-detail {
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 130px 9% 30px;
} 

/* .product-detail .product-img {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 12px;
  height: 550px;
} */

.product-detail .product-img img {
  display: block;
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}

.product-detail .thumbnail-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
} 
 
.product-detail .thumbnail-list img {
  height: calc(100% / 4 - 9px);
  cursor: pointer;
}

.product-detail .title {
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
}

.product-detail .rating i {
  color: #e35f26;
}

.product-detail .price {
  display: block;
  font-size: 25px;
  font-weight: 600;
  margin: 20px 0;
}

.product-detail :is(.size-selection, .color-selection) {
  margin: 20px 0;
}

.product-detail :is(.size-selection p, .color-selection p) {
  margin-bottom: 10px;
}

.product-detail :is(.size-options, .color-options) {
  display: flex;
  gap: 10px;
}

.product-detail .size-options button {
  width: 45px;
  height: 45px;
  background: #f2f2f2;
  border: 2px solid transparent;
  cursor: pointer;
}

.product-detail .color-options img {
  width: 75px;
  height: 75px;
  border: 2px solid transparent;
  cursor: pointer;
}

.product-detail :is(.size-options .selected, .color-options .selected) {
  border-color: #999;
}

.btn-detail {
  padding: 12px 50px;
  background: #222;
  border: none;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  margin-bottom: 20px;
}

.product-detail .product-policy {
  border-top: 1px solid #ccc;
  padding-top: 10px;
}

.product-detail .product-policy p {
  margin: 3px 0;
}

.description {
  white-space: pre-wrap;
}

.moms {
  font-size: 14px;
  margin-left: 5px;
  font-weight: 500;
}

.cart {
  padding: 110px 9% 30px;
}

.cart-items-slice {
  overflow-x: auto;
}

.cart-header {
  min-width: 799px;
  display: flex;
  padding: 10px 0;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
}
.cart-items {
  min-width: 799px;
}

.cart-header span {
  flex: 1;
  text-align: center;
}

.cart-header span:first-child {
  flex: 2;
  text-align: left;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
} 

.cart-item .product {
  display: flex;
  align-items: center;
  flex: 2;
}

.cart-item img {
  width: 80px;
  margin-right: 15px;
}

.cart-item .size-color-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.cart-item .size {
  padding: 6px 12px;
  background: #f2f2f2;
  font-size: 14px;
}

.cart-item :is(.price, .quantity, .total-price) {
  flex: 1;
  text-align: center;
}

.cart-item .quantity input {
  width: 50px;
  padding: 5px;
  border: 1px solid #333;
  text-align: center;
}

.cart-item .remove {
  background: transparent;
  border: none;
  flex: 1;
}

.cart-item .remove i {
  font-size: 20px;
  color: #333;
  cursor: pointer;
}

.cart-total {
  width: 400px;
  margin: 50px 0 0 auto;
}

.cart-total h3 {
  margin-bottom: 15px;
}

.cart-total p {
  display: flex;
  justify-content: space-between;
}

.cart-total p:not(:last-of-type) {
  border-bottom: 1px solid #ccc;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.cart-total p:last-of-type {
  font-weight: bold;
}

.cart-total .btn {
  display: block;
  padding: 12px 30px;
  margin: 30px 0 0 auto;
}

.button-checkout {
  color: white;
  background: #01A683;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  margin-top: 25px;
}
.max-form-width {
  max-width: 900px;
  margin: 0 auto;
}

.brown {
  color: #D0A530;
}

@media (max-width:477px) {
  .subtotal {
    width: 100px;
  }

  .grand-total {
    width: 100px;
  }

  .delivery-fee {
    width: 100px;
  }

  .cart-total {
    width: 300px;
  }
}