/* Libro Configuratore - stili frontend */

.lc-wrap {
    margin: 1.5em 0;
    font-size: .95em;
}

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

.lc-table th,
.lc-table td {
    padding: .5em .4em;
    vertical-align: middle;
    text-align: left;
}

.lc-table th {
    width: 200px;
    font-weight: 600;
    white-space: nowrap;
}

.lc-table select,
.lc-table input[type="number"],
.lc-table input[type="text"] {
    padding: .3em .5em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.lc-readonly {
    background: #f5f5f5;
    color: #666;
    cursor: not-allowed;
}

/* Lista date di consegna */
.lc-consegna-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5em 1.5em;
}

.lc-consegna-list li label {
    display: flex;
    align-items: center;
    gap: .4em;
    cursor: pointer;
}

.lc-consegna-price {
    font-weight: 600;
    color: #333;
    min-width: 60px;
}

/* Prezzi */
.lc-prezzi {
    margin-top: 1.2em;
    padding: .8em 1em;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

.lc-prezzi p {
    margin: .3em 0;
}

.lc-prezzi #lc-total,
.lc-prezzi #lc-unit {
    color: #c0392b;
    font-size: 1.1em;
    font-weight: 700;
    margin: 0 .3em;
}

/* Loading */
@keyframes lc-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .3; }
}

.lc-loading-pulse {
    animation: lc-pulse .7s ease-in-out infinite;
}

.lc-loading {
    color: #888;
    font-style: italic;
    font-size: .9em;
}

/* Dettagli nel carrello */
.lc-cart-details {
    margin: .5em 0 0;
    font-size: .85em;
}

.lc-cart-details dt {
    float: left;
    clear: left;
    margin-right: .4em;
    font-weight: 600;
}

.lc-cart-details dd {
    margin: 0 0 .15em 0;
}
