body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F5F5DC;
    height: 100vh;
}

.product-card {
    display: flex;
    background-color: #ECEBDE;
    border-radius: 10px;
    overflow: hidden;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.product-img {
    width: 50%;
    background-color: #ECEBDE;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.product-img img {
    max-width: 100%;
    border-radius: 8px;
}

.product-details {
    width: 50%;
    padding: 2rem;
    color: #333;
}

.product-details h2 {
    color: #754E1A;
    margin-bottom: 0.5rem;
}

.product-details small {
    color: #aaa;
    display: block;
    margin-bottom: 1rem;
}

.product-details p {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.5rem;
}

.rating {
    margin-bottom: 0.5rem;
}

.stars {
    color: gold;
    font-size: 1.7rem;
}

.rating span {
    font-size: 0.9rem;
    color: #777;
}

.price {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.new-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: #c00;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-top: 0.2rem;
    font-weight: normal;
}

.price-colors {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.colors {
    margin: 1rem 0;
}

.color-option {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-top: 8px;
    margin-right: 20px;
    border: 2px solid #ccc;
    cursor: pointer;
}

.color-option.black {background: #000;}
.color-option.gray {background: #CCCEC9;}
.color-option.purple {background: #6368B1;}

.quantity {
    margin: 1rem 0;
    display: flex;
    align-items: center;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.quantity {
    display: flex;
    align-items: center;
}

.quantity input {
    width: 40px;
    height: 30px;
    text-align: center;
    margin-left: 10px;
}

.add-to-cart {
    background: #7E8FF2;
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: right; 
    cursor: pointer;
}