
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-bottom: 20px;
    background-color: #f5f5f5;
}

/* Sticky Header */
.heading {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #34A853;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Logo Styling */
.logo h1 {
    margin: 0;
    color: #fff;
    font-size: 1.8rem;
    font-family: 'Bebas Neue', sans-serif;
}

/* Cart Icon */
.cart {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

/* Cart Image */
.cart img {
    height: 28px;
}

/* Count Number */
.cart-count {
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1;
}

/* Animation */
.cart.animate img {
    animation: bounce 0.3s ease;
}

.cart.animate {
    animation: bounce 0.3s ease;
}

@keyframes bounce {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.1); }
    100% { transform: scale(1); }
}


.container {
    flex-direction: column;
    display: flex;
    justify-content: center;
    max-width: 1100px;
    margin: auto;
    padding: 40px;
}

.container-col {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 60px;
    column-gap: 140px;
}

.card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
}

.card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-details {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    color: #333;
}

.price {
    font-size: 1rem;
    font-weight: bold;
    color: #04AA6D;
}

.card-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-footer .shipping {
    font-size: 0.85rem;
    color: #888;
}

.card-footer select {
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.add-btn {
    margin-top: 10px;
    padding: 10px;
    background-color: #34A853;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.add-btn:hover {
    background-color: #028a5a;
}
  

/* Tablet (iPad) */
@media (max-width: 1100px) {
    .card {
        flex: 0 1 calc(50% - 20px);
    }
    .container {
        max-width: 800px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .card {
        flex: 0 1 100%;
    }
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 60px;
    color: #888;
    font-size: 0.9rem;
  }