.catalog {
    width: 100%;
    margin: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.catalog img {
    width: 45%;
    max-width: 45%;
    height: auto;
    display: block;
    margin-right: 5%;
}

.table-container {
    width: 50%;
    margin-top: 20px;
}

.items-table {
    width: 100%;
    border-collapse: collapse;
}

.items-table th,
.items-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.items-table th {
    background-color: #f2f2f2;
}

.items-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.items-table tr:nth-child(odd) {
    background-color: #ffffff;
}

.items-table tr:hover {
    background-color: #f1f1f1;
}

.add-to-cart-container {
    width: 100%;
    text-align: right;
    margin-top: 20px;
}

.add-to-cart-container button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

/* Remove spinner controls in input[type="number"] */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .catalog {
        flex-direction: column;
    }

    .catalog img {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .table-container {
        width: 100%;
    }

    .add-to-cart-container {
        text-align: center;
    }
}