@media(max-width:768px){

.cart-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 100px;
  box-sizing: border-box;
}

.product-list {
  width: 60%;
  padding-top: 15%;
}

.product-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  background-color: rgba(215, 167, 167, 0.258);
}

.product-box img {
  width: 100px;
  height: 100px;
  padding-left: 8px;
  object-fit: cover;
  border-radius: 10px;
}

.product-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 15px;
  flex: 1;
  font-family: 'Times New Roman', Times, serif;
}

.product-name {
  font-weight: bold;
  margin-bottom: 8px;
}

.product-qty {
  font-size: 20px;
  font-weight: bold;
  color: #c44;
  align-self: flex-end;
}

.divider {
  height: 5px;
  width: 100%;
 
  background-color: #ccc;
}

.coupon-area {
  display: flex;
  justify-content:flex-start;
  align-items: center;
  margin-top: 30px;
  width: 100%;
  font-size: 14px;
  gap: 12px;
  transform: translateX(23%);
  font-family: 'Times New Roman', Times, serif;

}

.apply-btn {
  padding: 6px 12px;
  background-color: #544f4fb6;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.order-btn {
  margin-top: 20px;
  width: 50%;
  position: relative;
  left: 25%;
  transform: translateX(-50%);
  cursor: pointer;
  font-family: 'Times New Roman', Times, serif;
  border: none;
  height: 30px;
  border-radius: 8px;
  background-color: rgba(40, 40, 84, 0.628);
  box-shadow: 0 2px 5px rgba(0,0,0,0.9);

}}

@media (min-width: 769px) {
  .product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;    
    gap: 20px;                   
    max-width: 70vw;   
    margin-left: 15%;
    margin-top: 20%;
  }

  .product-box {
    width: 280px;                
    text-align: center;
  }

  .product-box img {
    width: 100%;
    width: 200px;
    height: 200px;
    border-radius: 10px;
  }

  .product-name {
    margin-top: 10px;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
  }

  .product-qty {
    margin-top: 4px;
    font-size: 16px;
    color: #d33;
  }
  .divider {
    display: none;
  }

  .coupon-area {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 0;
  }

  .coupon-text {
    font-size: 20px;
    font-weight: bold;
  }

  

  .order-btn-img {
    margin-top: 40px;
    width: 220px;
  }

  .order-pc{
    position: fixed;
    bottom: 60px;
    right: 10px;
    z-index: 1000;
    text-align: center;
  }
  .order-coupon-pc{
    width: 150px;
    display: block;
    margin: 0 auto;
    cursor: pointer;
  }
  .order-box-pc{
    cursor: pointer;
    margin-top: 10px;
    font-weight: bold;
    font-size: 18px;
    background-color: rgba(182, 184, 186, 0.573);
    border: 2px solid rgba(34, 36, 34, 0.406);
    box-shadow: 0 2px 5px rgba(0,0,0,0.9);
    font-family: 'Times New Roman', Times, serif;
  }
}

