#wpapjs-product-selection {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: sans-serif;
}

.wpapjs-products-grid,
.wpapjs-packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.wpapjs-product-item,
.wpapjs-pack-item {
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 8px;
    background-color: #fff;
}

.wpapjs-product-item h3,
.wpapjs-pack-item h3 {
    margin-top: 0;
    color: #333;
}

.wpapjs-product-item label,
.wpapjs-m2-selection label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.wpapjs-product-item input[type="number"],
.wpapjs-m2-selection input[type="number"] {
    width: 80px;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
}

.wpapjs-add-to-cart,
#wpapjs-checkout-button,
.wpapjs-pack-checkout {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.wpapjs-add-to-cart:hover,
#wpapjs-checkout-button:hover,
.wpapjs-pack-checkout:hover {
    background-color: #0056b3;
}

#wpapjs-checkout-button {
    display: block;
    margin: 20px auto;
    width: fit-content;
}

.wpapjs-m2-selection {
    text-align: center;
    margin-bottom: 30px;
}

#wpapjs-packs-summary {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.wpapjs-pack-recap {
    min-height: 80px;
    border: 1px dashed #eee;
    padding: 10px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    text-align: left;
}

.wpapjs-pack-price {
    font-size: 1.2em;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 20px;
}