body {
    font-family: Arial;
    background: #f4f4f4;
}

.name-logo {
    height: 40px;
}

.products {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.product {
    background: white;
    padding: 15px;
    border-radius: 12px;
    width: 200px;
    text-align: center;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    animation: fadeIn 0.6s ease;
}


.product:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}


.img-box {
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
}


.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product:hover img {
    transform: scale(1.1);
}

button {
    background: linear-gradient(45deg, blue, purple);
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: scale(1.1);
    background: linear-gradient(45deg, darkblue, indigo);
}

.cart-icon {
    cursor: pointer;
    background: orange;
    padding: 10px;
    border-radius: 5px;
    transition: 0.3s;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-container {
    position: fixed;
    right: 20px;
    top: 70px;
    width: 300px;
    background: white;
    padding: 15px;
    display: none;
    border-radius: 10px;
    animation: slideIn 0.4s ease;
}


.cartimage {
    height: 80px;
    width: 80px;
    border-radius: 8px;
    margin: 5px 0;
}

.payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.payment-box {
    background: white;
    padding: 20px;
    width: 300px;
    margin: 100px auto;
    border-radius: 10px;
    text-align: center;
    animation: popup 0.4s ease;
}

.payment-box input,
select {
    width: 100%;
    margin: 8px 0;
    padding: 8px;
}

.cancel-btn {
    background: red;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes popup {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}