body {
  font-family: monospace;
  overflow-x: hidden;
  font-synthesis: 15px;
}
a {
  text-decoration: none;
}
.container {
  width: 1200px;
  margin: auto;
  max-width: 90%;
  transition: transform 1s;
}

.banner {
  background-color: #111827;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.banner h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.banner p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.features {
  display: flex;
  justify-content: space-around;
  padding: 40px 20px;
  background-color: white;
  flex-wrap: wrap;
}

.feature {
  text-align: center;
  max-width: 250px;
  margin: 20px;
}

.feature img {
  width: 60px;
  margin-bottom: 15px;
}

.feature h4 {
  margin: 10px 0;
  font-size: 18px;
}

header img {
  width: 60px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .iconCart {
  position: relative;
  z-index: 1;
}
header .totalQuantity {
  position: absolute;
  top: 0;
  right: 0;
  font-size: x-large;
  background-color: #b31010;
  width: 40px;
  height: 40px;
  color: #fff;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transform: translateX(20px);
}
.listProduct {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.listProduct .item img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}
.listProduct .item {
  position: relative;
}
.listProduct .item h2 {
  font-weight: 700;
  font-size: x-large;
}
.listProduct .item .price {
  font-size: x-large;
}

.listProduct .item button {
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #e6572c;
  color: #fff;
  width: 50%;
  border: none;
  padding: 20px 30px;
  box-shadow: 0 10px 50px #000;
  cursor: pointer;
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
}
.listProduct .item:hover button {
  transition: 0.5s;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cart {
  color: #fff;
  position: fixed;
  width: 400px;
  max-width: 80vw;
  height: 100vh;
  background-color: #0e0f11;
  top: 0px;
  right: -100%;
  display: grid;
  grid-template-rows: 50px 1fr 50px;
  gap: 20px;
  transition: right 1s;
}

.cart .buttons .checkout {
  background-color: #e8bc0e;
  color: #000;
}
.cart h2 {
  color: #e8bc0e;
  padding: 20px;
  height: 30px;
  margin: 0;
}

.cart .listCart .item {
  display: grid;
  grid-template-columns: 50px 1fr 70px;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.cart .listCart img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
}
.cart .listCart .item .name {
  font-weight: bold;
}
.cart .listCart .item .quantity {
  display: flex;
  justify-content: end;
  align-items: center;
}
.cart .listCart .item .quantity span {
  display: block;
  width: 50px;
  text-align: center;
}

.cart .listCart {
  padding: 20px;
  overflow: auto;
}
.cart .listCart::-webkit-scrollbar {
  width: 0;
}

.cart .buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}
.cart .buttons div {
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  cursor: pointer;
}
.cart .buttons a {
  color: #fff;
  text-decoration: none;
}
.checkoutLayout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  padding: 20px;
}
.checkoutLayout .right {
  background-color: #5358b3;
  border-radius: 20px;
  padding: 40px;
  color: #fff;
}
.checkoutLayout .right .form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  border-bottom: 1px solid #7a7fe2;
  padding-bottom: 20px;
}
.checkoutLayout .form h1,
.checkoutLayout .form .group:nth-child(-n + 3) {
  grid-column-start: 1;
  grid-column-end: 3;
}
.checkoutLayout .form input,
.checkoutLayout .form select {
  width: 100%;
  padding: 10px 20px;
  box-sizing: border-box;
  border-radius: 20px;
  margin-top: 10px;
  border: none;
  background-color: #6a6fc9;
  color: #fff;
}
.checkoutLayout .right .return .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.checkoutLayout .right .return .row div:nth-child(2) {
  font-weight: bold;
  font-size: x-large;
}
.buttonCheckout {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 20px;
  background-color: #49d8b9;
  margin-top: 20px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}
.returnCart h1 {
  border-top: 1px solid #eee;
  padding: 20px 0;
}
.returnCart .list .item img {
  height: 80px;
}
.returnCart .list .item {
  display: grid;
  grid-template-columns: 80px 1fr 50px 80px;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 0 10px;
  box-shadow: 0 10px 20px #5555;
  border-radius: 20px;
}
.returnCart .list .item .name,
.returnCart .list .item .returnPrice {
  font-size: large;
  font-weight: bold;
}

.featured-products {
  padding: 60px 20px;
  text-align: center;
  background-color: #fff;
}

.featured-products h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.product-card {
  background-color: #f7f7f7;
  border-radius: 12px;
  overflow: hidden;
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.product-card .price {
  color: #e6572c;
  font-weight: bold;
  margin-bottom: 15px;
}

.product-card button {
  background-color: #e6572c;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.product-card button:hover {
  background-color: #c9451c;
}

.footer {
  background-color: #1f1f1f;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: "Segoe UI", sans-serif;
  margin-top: 50px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h2,
.footer-section h3 {
  margin-bottom: 15px;
  color: #f5f5f5;
}

.footer-section p,
.footer-section a {
  color: #ccc;
  font-size: 14px;
  line-height: 1.8;
  text-decoration: none;
}

.footer-section a:hover {
  color: #fff;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 8px;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  margin-top: 10px;
}

.social-icons img {
  filter: brightness(0) invert(1);
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 13px;
  color: #aaa;
}

/* Original styles stay unchanged above here */

@media (max-width: 1024px) {
  .container {
    width: 100%;
    padding: 0 20px;
  }

  .listProduct {
    grid-template-columns: repeat(2, 1fr);
  }

  .checkoutLayout {
    grid-template-columns: 1fr;
  }

  .checkoutLayout .form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 10px;
  }

  .listProduct {
    grid-template-columns: 1fr;
  }

  .cart {
    width: 100%;
    grid-template-rows: 60px 1fr 60px;
  }

  .cart .listCart .item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cart .listCart .item .quantity {
    justify-content: center;
  }

  .checkoutLayout .right {
    padding: 20px;
  }

  .returnCart .list .item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .returnCart .list .item img {
    margin: auto;
  }
}

@media (max-width: 480px) {
  header img {
    width: 40px;
  }

  .listProduct .item button {
    padding: 10px 20px;
  }

  .cart .listCart .item .quantity span {
    width: 30px;
  }

  .cart .buttons {
    grid-template-columns: 1fr;
  }

  .checkoutLayout .right .form input,
  .checkoutLayout .right .form select {
    padding: 8px 12px;
  }

  .buttonCheckout {
    height: 36px;
    font-size: 14px;
  }
}
