.mhbill-wrapper { max-width: 680px; margin: 0 auto; }

.mhbill-infos {
    background: #f8f8f8; border-left: 4px solid #2c3e50;
    padding: 12px 16px; margin-bottom: 24px; border-radius: 0 4px 4px 0;
}
.mhbill-infos p { margin: 4px 0; }

.mhbill-section { margin-bottom: 28px; }
.mhbill-section h3 {
    margin-bottom: 12px; font-size: 1.1em;
    /* border-bottom: 2px solid #2c3e50; padding-bottom: 6px; */
}

.mhbill-creneau-option {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px;
    margin-bottom: 6px; cursor: pointer;
    transition: border-color .15s, background .15s;
}
.mhbill-creneau-option:hover { border-color: #000; background: #f5f7fa; }
.mhbill-creneau-option.is-complet { opacity: .55; cursor: not-allowed; background: #f9f9f9; }
.mhbill-creneau-option.is-complet:hover { border-color: #ddd; background: #f9f9f9; }
.mhbill-creneau-option input[type="radio"] { margin: 0; }
.mhbill-creneau-label { flex: 1; font-weight: 500; }
.mhbill-restants { font-size: .85em; color: #666; }
.mhbill-complet-badge { font-size: .8em; font-weight: 600; color: #c33; background: #fdecea; padding: 2px 8px; border-radius: 3px; }

.mhbill-tarifs-table { width: 100%; border-collapse: collapse; }
.mhbill-tarifs-table th,
.mhbill-tarifs-table td { padding: 8px 10px; border-bottom: 1px solid #eee; text-align: left; }
.mhbill-tarifs-table thead th { background: #000; color: #fff; font-weight: 600; }
.mhbill-tarifs-table tfoot td { border-top: 2px solid #000; background: #f5f7fa; }

.mhbill-qty {
    width: 64px; padding: 4px 6px; text-align: center;
    border: 1px solid #ccc; border-radius: 3px;
}
.mhbill-qty:disabled {
    background: #f5f5f5; color: #bbb; border-color: #e0e0e0; cursor: not-allowed;
}

.mhbill-btn-reserve {
    display: inline-block; padding: 12px 32px;
    background: #000; color: #fff; border: none;
    border-radius: 4px; font-size: 1em; cursor: pointer;
    transition: background .15s;
}
.mhbill-btn-reserve:hover:not(:disabled) { background: #535353; }
.mhbill-btn-reserve:disabled { opacity: .5; cursor: not-allowed; }

.mhbill-message {
    padding: 10px 14px; border-radius: 4px; margin-bottom: 12px; display: none;
}
.mhbill-message.is-error   { background: #fce4e4; color: #a00; border: 1px solid #fbb; display: block; }
.mhbill-message.is-success { background: #e4fce4; color: #0a0; border: 1px solid #bfb; display: block; }
.mhbill-message.is-loading { background: #eef2ff; color: #225; border: 1px solid #ccf; display: block; }

.mhbill-complet { font-style: italic; color: #c33; }

/* Récap commande (thank-you, mon compte) */
.mhbill-order-dl {
    margin: 6px 0 0; padding: 0;
    display: grid; grid-template-columns: auto 1fr; gap: 2px 12px;
    font-size: .9em;
}
.mhbill-order-dl dt { color: #666; font-weight: 600; }
.mhbill-order-dl dd { margin: 0; }

.mhbill-cart-qty { font-size: .95em; display: block; margin-bottom: 4px; }

.mhbill-modifier-btn {
    background: none; border: 1px solid #999; border-radius: 3px;
    padding: 3px 10px; font-size: .82em; cursor: pointer;
    color: #333; transition: border-color .15s, color .15s;
}
.mhbill-modifier-btn:hover { border-color: #000; color: #000; }

/* ── Modal ─────────────────────────────────────────────── */
#mhbill-modal {
    position: fixed; inset: 0; z-index: 99999;
    display: flex; align-items: center; justify-content: center;
}
#mhbill-modal[hidden] { display: none; }

.mhbill-modal-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.55);
}

.mhbill-modal-box {
    position: relative; z-index: 1;
    background: #fff; border-radius: 8px;
    width: 92%; max-width: 680px; max-height: 88vh;
    overflow-y: auto; padding: 36px 32px 28px;
    box-shadow: 0 8px 40px rgba(0,0,0,.2);
}

.mhbill-modal-close {
    position: absolute; top: 14px; right: 16px;
    background: none; border: none; font-size: 22px;
    line-height: 1; cursor: pointer; color: #666;
    padding: 4px 8px;
}
.mhbill-modal-close:hover { color: #000; }

body.mhbill-modal-open { overflow: hidden !important; }
