body {
    font-family: Arial;
    margin: 0;
    background: #f5f5f5;
}

.title {
    text-align: center;
    margin: 20px;
}

.cart-icon {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 22px;
    cursor: pointer;
}

.cart-icon span {
    background: red;
    color: white;
    padding: 3px 8px;
    border-radius: 50%;
    font-size: 12px;
}

.cart-box {
    position: fixed;
    top: 60px;
    left: 20px;
    background: white;
    width: 260px;
    padding: 15px;
    border-radius: 10px;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: fadeIn 0.3s ease;
}

.cart-box.show {
    display: block;
}

.cart-box li {
    margin: 10px 0;
    font-size: 14px;
}

.cart-box span {
    color: red;
    cursor: pointer;
    float: right;
}

.checkout {
    width: 100%;
    padding: 10px;
    background: orange;
    border: none;
    color: white;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.checkout:hover {
    background: darkorange;
}

.container {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 30px;
}

.product-card {
    background: white;
    padding: 20px;
    width: 260px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
}

.main-img {
    width: 100%;
    border-radius: 10px;
}

.price {
    color: red;
    font-size: 18px;
}

.sizes button {
    margin: 5px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: 0.3s;
}

.sizes button.active {
    background: #2a2f91;
    color: white;
    border: none;
}

.sizes button:hover {
    transform: scale(1.1);
}

.qty {
    width: 60px;
    margin-top: 10px;
}

.cart-btn {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    background: orange;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.cart-btn:hover {
    background: darkorange;
    transform: scale(1.05);
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-10px);}
    to {opacity: 1; transform: translateY(0);}
}