body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #0f172a;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #ffffff;
}

.cart-card {
    background-color: #1e293b;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    width: 450px; /* Widened slightly to fit the image layout nicely */
    border: 1px solid #334155;
}

h2 {
    margin-top: 0;
    font-size: 1.5rem;
    border-bottom: 1px solid #334155;
    padding-bottom: 12px;
}

.item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    gap: 16px;
}

/* New styling for the image wrapper */
.product-image-container {
    width: 70px;
    height: 70px;
    background-color: #0f172a;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #334155;
    flex-shrink: 0;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures your meme image scales nicely without stretching */
}

.item-info {
    flex-grow: 1;
}

.item-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.item-price {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 4px;
}

.counter-group {
    display: flex;
    align-items: center;
    background-color: #0f172a;
    border-radius: 8px;
    padding: 4px;
    border: 1px solid #334155;
}

.btn {
    background: none;
    border: none;
    color: #38bdf8;
    font-size: 1.2rem;
    font-weight: bold;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    transition: background 0.2s;
}

.btn:hover {
    background-color: #1e293b;
}

.count-display {
    font-size: 1.1rem;
    font-weight: 600;
    width: 40px;
    text-align: center;
    user-select: none;
}

.total-section {
    border-top: 1px solid #334155;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
}

.total-price {
    color: #4ade80;
}