/* =========================================================
   Comptoir — Styles front
   Couleurs pilotées par variables (marque blanche)
   ========================================================= */
:root {
	--cq-primary: #b5651d;
	--cq-accent: #2e7d32;
	--cq-bg: #faf7f2;
	--cq-border: #e6ddd0;
	--cq-text: #33312e;
	--cq-radius: 10px;
	--cq-form-width: 820px;
	--cq-form-padding: 34px 42px;
	--cq-form-radius: var(--cq-radius);
}

.cq-form-wrapper {
	max-width: var(--cq-form-width);
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--cq-border);
	border-radius: var(--cq-form-radius);
	padding: var(--cq-form-padding);
	font-family: inherit;
	color: var(--cq-text);
}

.cq-form-title {
	margin: 0 0 20px;
	color: var(--cq-primary);
	font-size: 1.6rem;
}

/* Récapitulatif sélection */
.cq-cart-summary,
.cq-cart-block {
	background: var(--cq-bg);
	border-radius: var(--cq-radius);
	padding: 16px 20px;
	margin-bottom: 24px;
}
.cq-cart-summary h3 {
	margin: 0 0 10px;
	font-size: 1rem;
	color: var(--cq-primary);
}
.cq-cart-summary ul,
.cq-cart-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.cq-cart-summary li,
.cq-cart-list li {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	border-bottom: 1px dashed var(--cq-border);
}
.cq-cart-summary li:last-child,
.cq-cart-list li:last-child {
	border-bottom: none;
}
.cq-item-qty {
	color: var(--cq-primary);
	font-weight: 600;
}

/* Champs */
.cq-field {
	margin-bottom: 16px;
}
.cq-field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 0.95rem;
}
.cq-field input,
.cq-field select,
.cq-field textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--cq-border);
	border-radius: 8px;
	font-size: 1rem;
	font-family: inherit;
	box-sizing: border-box;
	transition: border-color .15s ease;
}
.cq-field input:focus,
.cq-field select:focus,
.cq-field textarea:focus {
	outline: none;
	border-color: var(--cq-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--cq-primary) 18%, transparent);
}
.cq-required {
	color: #c0392b;
}

/* Consentement */
.cq-consent label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
	font-size: 0.9rem;
}
.cq-consent input {
	width: auto;
	margin-top: 3px;
}

/* Bouton */
.cq-form-actions {
	margin-top: 24px;
}
.cq-submit-btn {
	background: var(--cq-accent);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 14px 28px;
	font-size: 1.05rem;
	font-weight: 600;
	cursor: pointer;
	transition: filter .15s ease, transform .05s ease;
	width: 100%;
}
.cq-submit-btn:hover {
	filter: brightness(1.08);
}
.cq-submit-btn:active {
	transform: translateY(1px);
}
.cq-submit-btn:disabled {
	opacity: .6;
	cursor: not-allowed;
}

/* Messages */
.cq-form-message {
	margin-top: 16px;
	padding: 0;
}
.cq-form-message.cq-success {
	padding: 14px 18px;
	background: color-mix(in srgb, var(--cq-accent) 14%, #fff);
	border: 1px solid var(--cq-accent);
	border-radius: 8px;
	color: var(--cq-accent);
}
.cq-form-message.cq-error {
	padding: 14px 18px;
	background: #fdecea;
	border: 1px solid #e74c3c;
	border-radius: 8px;
	color: #c0392b;
}

.cq-on-quote {
	color: var(--cq-primary);
	font-weight: 600;
	font-style: italic;
}

.cq-from-price {
	color: var(--cq-primary);
	font-size: 0.85em;
	font-weight: 600;
	text-transform: lowercase;
}

/* Onglet compte */
.cq-account-quotes {
	width: 100%;
	border-collapse: collapse;
}
.cq-account-quotes th,
.cq-account-quotes td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--cq-border);
	text-align: left;
}
.cq-status {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 0.85rem;
	background: var(--cq-bg);
}
.cq-summary {
	white-space: pre-wrap;
	font-family: inherit;
	margin: 8px 0 0;
}

@media (max-width: 600px) {
	.cq-form-wrapper {
		padding: 20px;
	}
}

/* Panier modifiable côté client */
.cq-editable-list { list-style: none; margin: 0; padding: 0; }
.cq-editable-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px dashed var(--cq-border);
}
.cq-editable-item:last-child { border-bottom: none; }
.cq-editable-item .cq-item-name { flex: 1; }
.cq-qty-controls {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid var(--cq-border);
	border-radius: 20px;
	padding: 2px 6px;
}
.cq-qty-btn {
	background: var(--cq-bg);
	border: none;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	color: var(--cq-primary);
	font-weight: 700;
}
.cq-qty-btn:hover { background: var(--cq-primary); color: #fff; }
.cq-editable-item .cq-item-qty { min-width: 20px; text-align: center; font-weight: 600; }
.cq-remove-item {
	background: none;
	border: none;
	color: #c0392b;
	font-size: 20px;
	cursor: pointer;
	line-height: 1;
	padding: 0 4px;
}
.cq-remove-item:hover { color: #e74c3c; }

/* Bloc estimation livraison / service */
.cq-delivery-block {
	background: var(--cq-bg);
	border-radius: var(--cq-radius);
	padding: 16px 20px;
	margin-bottom: 16px;
}
.cq-service-optin label { font-weight: 500; }
.cq-estimate { margin-top: 10px; }
.cq-estimate-hint { color: #888; font-style: italic; margin: 0; font-size: 0.9rem; }
.cq-estimate-lines { list-style: none; margin: 0; padding: 0; }
.cq-estimate-lines li {
	display: flex;
	justify-content: space-between;
	padding: 5px 0;
	border-bottom: 1px dashed var(--cq-border);
	font-size: 0.95rem;
}
.cq-estimate-cost { font-weight: 600; color: var(--cq-primary); }
.cq-estimate-total {
	display: flex;
	justify-content: space-between;
	padding-top: 8px;
	margin-top: 4px;
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--cq-primary);
}
.cq-estimate-note { font-size: 0.78rem; color: #999; margin: 8px 0 0; }

/* Avis délai vente à emporter */
.cq-leadtime-notice {
	background: color-mix(in srgb, var(--cq-accent) 12%, #fff);
	border-left: 4px solid var(--cq-accent);
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 18px;
	font-size: 0.92rem;
}
.cq-leadtime-driver { color: #666; font-size: 0.85rem; }

/* Bouton payer & badge réglé (espace compte) */
.cq-pay-btn {
	background: var(--cq-accent);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 8px 14px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 8px;
}
.cq-pay-btn:hover { filter: brightness(1.08); }
.cq-pay-btn:disabled { opacity: .6; cursor: default; }
.cq-paid-badge { color: var(--cq-accent); font-weight: 700; display: inline-block; margin-top: 8px; }

/* Sélecteur de créneaux Click & Collect */
.cq-slots-block { background: var(--cq-bg); border-radius: var(--cq-radius); padding: 16px 20px; margin-bottom: 16px; }
.cq-slots-title { margin: 0 0 12px; font-size: 1rem; }
.cq-slots-empty { color: #999; font-style: italic; margin: 0; }
.cq-slots-days { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.cq-slot-daytab {
	background: #fff; border: 1px solid var(--cq-border); border-radius: 20px;
	padding: 6px 14px; cursor: pointer; font-size: 0.9rem; transition: all .15s;
}
.cq-slot-day.is-active .cq-slot-daytab { background: var(--cq-primary); color: #fff; border-color: var(--cq-primary); }
.cq-slot-grid { display: none; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.cq-slot-grid.is-active { display: grid; }
.cq-slot {
	background: #fff; border: 1px solid var(--cq-border); border-radius: 8px;
	padding: 8px 4px; cursor: pointer; font-size: 0.9rem; transition: all .12s; text-align: center;
}
.cq-slot:hover:not(.is-full) { border-color: var(--cq-primary); }
.cq-slot.is-selected { background: var(--cq-primary); color: #fff; border-color: var(--cq-primary); font-weight: 600; }
.cq-slot.is-full { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

/* ===== Carte Click & Collect ===== */
.cq-menu { margin: 0 0 24px; }

/* Bandeau horaires */
.cq-hours-banner {
	background: var(--cq-bg);
	border-radius: var(--cq-radius);
	padding: 16px 20px;
	margin-bottom: 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}
.cq-hours-status { font-weight: 700; font-size: 0.95rem; padding: 4px 12px; border-radius: 20px; }
.cq-hours-status.is-open { background: #e8f5e9; color: #1b5e20; }
.cq-hours-status.is-closed { background: #ffebee; color: #b71c1c; }
.cq-hours-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; flex: 1; }
.cq-hours-day { display: flex; gap: 8px; font-size: 0.82rem; color: #555; }
.cq-hours-day span:first-child { font-weight: 600; min-width: 30px; }
.cq-hours-day.is-today { color: var(--cq-primary); font-weight: 700; }

/* Filtres catégories */
.cq-menu-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cq-filter {
	background: #fff; border: 1px solid var(--cq-border); border-radius: 20px;
	padding: 7px 16px; cursor: pointer; font-size: 0.9rem; transition: all .15s;
}
.cq-filter:hover { border-color: var(--cq-primary); }
.cq-filter.is-active { background: var(--cq-primary); color: #fff; border-color: var(--cq-primary); }

/* Grille produits */
.cq-menu-grid { display: grid; grid-template-columns: repeat(var(--cq-cols, 3), 1fr); gap: 18px; }
.cq-product {
	background: #fff; border: 1px solid var(--cq-border); border-radius: var(--cq-radius);
	overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s;
}
.cq-product:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.cq-product-img img { width: 100%; height: 160px; object-fit: cover; display: block; }
.cq-product-body { padding: 14px 16px; display: flex; flex-direction: column; flex: 1; }
.cq-product-name { margin: 0 0 6px; font-size: 1.05rem; }
.cq-product-desc { color: #666; font-size: 0.85rem; margin: 0 0 12px; flex: 1; }

/* Variations (tailles) cliquables */
.cq-variations { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.cq-variation {
	flex: 1; min-width: 80px; background: #fff; border: 1px solid var(--cq-border);
	border-radius: 8px; padding: 8px 6px; cursor: pointer; font-size: 0.85rem;
	display: flex; flex-direction: column; gap: 2px; align-items: center; transition: all .12s;
}
.cq-variation:hover { border-color: var(--cq-primary); }
.cq-variation.is-active { border-color: var(--cq-primary); background: color-mix(in srgb, var(--cq-primary) 8%, #fff); }
.cq-variation-price { font-weight: 700; color: var(--cq-primary); }

.cq-product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.cq-product-price { font-size: 1.15rem; font-weight: 700; color: var(--cq-primary); }
.cq-add {
	background: var(--cq-primary); color: #fff; border: none; border-radius: 8px;
	padding: 9px 18px; font-weight: 600; cursor: pointer; transition: filter .15s; flex: 1;
}
.cq-add:hover { filter: brightness(1.08); }
.cq-add.cq-added { background: var(--cq-accent); }
.cq-add:disabled { opacity: .6; cursor: default; }

@media (max-width: 900px) { .cq-menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cq-menu-grid { grid-template-columns: 1fr; } }

/* Mini-panier flottant */
.cq-floating-cart {
	position: fixed; bottom: 20px; right: 20px; z-index: 9999;
	background: var(--cq-primary); color: #fff;
	border-radius: 50px; padding: 12px 20px;
	display: flex; align-items: center; gap: 14px;
	box-shadow: 0 6px 24px rgba(0,0,0,.25);
	transition: transform .2s, opacity .2s;
}
.cq-floating-cart[data-empty] { transform: translateY(120px); opacity: 0; pointer-events: none; }
.cq-fc-icon { font-size: 1.3rem; position: relative; }
.cq-fc-count {
	background: #fff; color: var(--cq-primary); border-radius: 50%;
	font-size: 0.75rem; font-weight: 700; padding: 1px 6px; margin-left: 2px;
}
.cq-fc-info { display: flex; flex-direction: column; line-height: 1.2; }
.cq-fc-label { font-size: 0.72rem; opacity: .85; }
.cq-fc-total { font-weight: 700; font-size: 1rem; }
.cq-fc-go {
	background: #fff; color: var(--cq-primary); border-radius: 30px;
	padding: 7px 16px; font-weight: 700; text-decoration: none; font-size: 0.9rem;
}
.cq-fc-go:hover { filter: brightness(.96); }

/* Choix de paiement C&C */
.cq-pay-choice { background: var(--cq-bg); border-radius: 8px; padding: 12px 14px; }
.cq-pay-note { color: #666; font-size: 0.88rem; font-style: italic; }

@media (max-width: 560px) {
	.cq-floating-cart { left: 16px; right: 16px; bottom: 16px; justify-content: space-between; }
}

/* Quantité sur la carte */
.cq-product-add-row { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.cq-qty {
	display: inline-flex; align-items: center; border: 1px solid var(--cq-border);
	border-radius: 8px; overflow: hidden;
}
.cq-qty button {
	background: #fff; border: none; width: 32px; height: 36px;
	font-size: 1.1rem; cursor: pointer; color: var(--cq-primary);
}
.cq-qty button:hover { background: var(--cq-bg); }
.cq-qty-val { min-width: 30px; text-align: center; font-weight: 600; }
.cq-product-add-row .cq-add { flex: 1; }

/* Produit indisponible */
.cq-product.is-unavailable { opacity: .6; }
.cq-product.is-unavailable .cq-product-img { position: relative; }
.cq-badge-soldout {
	position: absolute; top: 10px; left: 10px;
	background: #b3261e; color: #fff; font-size: 0.75rem; font-weight: 700;
	padding: 4px 10px; border-radius: 20px;
}
.cq-add[disabled] { background: #bbb; cursor: not-allowed; }

/* Montant minimum */
.cq-min-amount { font-size: 0.85rem; color: var(--cq-primary); margin: 0 0 14px; font-weight: 600; }

/* ===== Sélecteur de point de retrait (multi-site) ===== */
.cq-store-selector { max-width: 640px; margin: 0 auto; }
.cq-store-title { text-align: center; margin-bottom: 20px; }
.cq-store-search { display: flex; gap: 8px; margin-bottom: 22px; }
.cq-store-search input[type="text"] {
	flex: 1; border: 1px solid var(--cq-border); border-radius: 8px; padding: 11px 14px;
}
.cq-store-search-btn {
	background: var(--cq-primary); color: #fff; border: none; border-radius: 8px;
	padding: 11px 18px; font-weight: 600; cursor: pointer;
}
.cq-store-list { display: flex; flex-direction: column; gap: 12px; }
.cq-store-card {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	border: 1px solid var(--cq-border); border-radius: 12px; padding: 18px 20px;
	transition: box-shadow .15s, border-color .15s;
}
.cq-store-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); border-color: var(--cq-primary); }
.cq-store-info h3 { margin: 0 0 4px; font-size: 1.1rem; }
.cq-store-addr, .cq-store-phone { margin: 2px 0; font-size: 0.88rem; color: #666; }
.cq-store-choose {
	background: var(--cq-primary); color: #fff; border-radius: 8px;
	padding: 10px 18px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.cq-store-choose:hover { filter: brightness(1.08); }

/* Barre du point sélectionné */
.cq-selected-store {
	display: flex; align-items: center; justify-content: space-between;
	background: var(--cq-bg); border-radius: 10px; padding: 12px 18px; margin-bottom: 18px;
}
.cq-change-store { color: var(--cq-primary); font-weight: 600; text-decoration: none; font-size: 0.9rem; }
.cq-change-store:hover { text-decoration: underline; }

@media (max-width: 560px) {
	.cq-store-card { flex-direction: column; align-items: flex-start; }
	.cq-store-choose { width: 100%; text-align: center; }
}

/* ===== Modale de personnalisation produit ===== */
.cq-opt-modal {
	position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.5);
	display: flex; align-items: center; justify-content: center; padding: 20px;
}
.cq-opt-modal[hidden] { display: none; }
.cq-opt-dialog {
	background: #fff; border-radius: 16px; max-width: 480px; width: 100%;
	max-height: 85vh; overflow-y: auto; padding: 24px; position: relative;
}
.cq-opt-close {
	position: absolute; top: 14px; right: 14px; background: var(--cq-bg);
	border: none; border-radius: 50%; width: 32px; height: 32px; cursor: pointer; font-size: 1rem;
}
.cq-opt-product { margin: 0 30px 18px 0; font-size: 1.25rem; }
.cq-opt-group { margin-bottom: 20px; }
.cq-opt-group.cq-opt-error { border-left: 3px solid #b3261e; padding-left: 10px; }
.cq-opt-group h4 { margin: 0 0 10px; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.cq-opt-req { font-size: 0.7rem; background: #ffebee; color: #b3261e; padding: 2px 8px; border-radius: 10px; font-weight: 600; }
.cq-opt-included { font-size: 0.7rem; background: #e8f5e9; color: #1b5e20; padding: 2px 8px; border-radius: 10px; font-weight: 600; }
.cq-opt-line {
	display: flex; align-items: center; justify-content: space-between;
	padding: 10px 12px; border: 1px solid var(--cq-border); border-radius: 10px;
	margin-bottom: 6px; cursor: pointer; transition: border-color .12s;
}
.cq-opt-line:hover { border-color: var(--cq-primary); }
.cq-opt-left { display: flex; align-items: center; gap: 10px; }
.cq-opt-price { color: var(--cq-primary); font-weight: 600; font-size: 0.9rem; }
.cq-opt-foot {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--cq-border);
}
.cq-opt-total { font-size: 1.3rem; font-weight: 700; color: var(--cq-primary); }
.cq-opt-confirm { flex: 1; max-width: 220px; }

/* ===== Espace client : fidélité ===== */
.cq-loyalty-notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; }
.cq-loyalty-notice.cq-success { background: #e8f5e9; color: #1b5e20; }
.cq-loyalty-notice.cq-error { background: #ffebee; color: #b71c1c; }
.cq-loyalty-balance {
	text-align: center; padding: 24px; background: var(--cq-bg); border-radius: 16px; margin-bottom: 20px;
}
.cq-loyalty-points { font-size: 2.6rem; font-weight: 800; color: var(--cq-primary); }
.cq-loyalty-unit { font-size: 1.1rem; color: #666; }
.cq-loyalty-progress { margin-bottom: 24px; }
.cq-loyalty-progress-bar {
	height: 14px; background: var(--cq-border); border-radius: 10px; overflow: hidden; margin-bottom: 8px;
}
.cq-loyalty-progress-bar span { display: block; height: 100%; background: var(--cq-primary); border-radius: 10px; transition: width .4s; }
.cq-loyalty-progress p { text-align: center; color: #555; margin: 0; font-size: 0.92rem; }
.cq-rewards-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.cq-reward-card {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	border: 1px solid var(--cq-border); border-radius: 12px; padding: 14px 18px;
}
.cq-reward-card.is-locked { opacity: .55; }
.cq-reward-info { display: flex; flex-direction: column; }
.cq-reward-desc { font-size: 0.85rem; color: var(--cq-primary); font-weight: 600; }
.cq-reward-action { display: flex; align-items: center; gap: 12px; }
.cq-reward-cost { font-weight: 700; font-size: 0.9rem; }
.cq-reward-btn {
	background: var(--cq-primary); color: #fff; border-radius: 8px; padding: 8px 16px;
	text-decoration: none; font-weight: 600; font-size: 0.88rem;
}
.cq-reward-btn:hover { filter: brightness(1.08); }
.cq-loyalty-history { width: 100%; border-collapse: collapse; }
.cq-loyalty-history td { padding: 9px 12px; border-bottom: 1px solid var(--cq-border); font-size: 0.9rem; }
.cq-loyalty-history .cq-pos { color: #2e7d32; font-weight: 700; text-align: right; }
.cq-loyalty-history .cq-neg { color: #b3261e; font-weight: 700; text-align: right; }

/* Niveau VIP + parrainage (espace client) */
.cq-vip-badge {
	background: linear-gradient(135deg, #f6d365, #fda085); color: #5a3a00;
	border-radius: 12px; padding: 12px 18px; font-weight: 700; margin-bottom: 12px;
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.cq-vip-perk { font-weight: 500; font-size: 0.85rem; background: rgba(255,255,255,.5); padding: 2px 10px; border-radius: 20px; }
.cq-vip-next { text-align: center; color: #777; font-size: 0.88rem; margin: 0 0 16px; }
.cq-referral-box {
	background: var(--cq-bg); border-radius: 12px; padding: 18px; text-align: center;
}
.cq-referral-code {
	font-size: 1.5rem; font-weight: 800; letter-spacing: 3px; color: var(--cq-primary);
	background: #fff; border: 2px dashed var(--cq-primary); border-radius: 10px;
	padding: 12px; margin: 12px 0; user-select: all;
}
.cq-referral-bonus { font-size: 0.88rem; color: #555; margin: 0; }
.cq-referral-field input { width: 100%; }

/* Allergènes sur la carte */
.cq-product-allergens { font-size: 0.78rem; color: #8a6d00; background: #fff8e1; border-radius: 6px; padding: 4px 8px; margin: 0 0 10px; }
.cq-product-allergens span { font-weight: 600; }

/* Champ case à cocher inline */
.cq-field-checkbox .cq-checkbox-inline { display: flex; align-items: center; gap: 8px; cursor: pointer; }

/* ===== Formulaire multi-étapes ===== */
.cq-steps-bar { display: flex; justify-content: space-between; margin-bottom: 24px; position: relative; }
.cq-steps-bar::before {
	content: ''; position: absolute; top: 16px; left: 0; right: 0; height: 2px;
	background: var(--cq-border); z-index: 0;
}
.cq-step-dot { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.cq-step-num {
	width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--cq-border);
	display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--cq-border);
	transition: all .2s;
}
.cq-step-dot.is-active .cq-step-num { border-color: var(--cq-primary); color: var(--cq-primary); }
.cq-step-dot.is-done .cq-step-num { background: var(--cq-primary); border-color: var(--cq-primary); color: #fff; }
.cq-step-label { font-size: 0.78rem; color: var(--cq-muted, #666); text-align: center; }
.cq-step-dot.is-active .cq-step-label { color: var(--cq-primary); font-weight: 600; }
.cq-steps-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.cq-step-prev, .cq-step-next {
	padding: 10px 20px; border-radius: 8px; border: 1px solid var(--cq-primary); cursor: pointer;
	font-weight: 600; background: #fff; color: var(--cq-primary);
}
.cq-step-next { margin-left: auto; background: var(--cq-primary); color: #fff; }

/* Menu du jour : badge des jours */
.cq-product-days { font-size: 0.78rem; color: #1e5c8a; background: #e8f2fb; border-radius: 6px; padding: 4px 8px; margin: 0 0 10px; }
.cq-product-days.cq-days-notoday { color: #7a5200; background: #fff3d6; }

/* Code promo */
.cq-promo { margin: 16px 0; padding: 14px; background: #faf8f5; border-radius: 10px; }
.cq-promo label { font-weight: 600; font-size: 0.85rem; display: block; margin-bottom: 6px; }
.cq-promo-row { display: flex; gap: 8px; }
.cq-promo-row input { flex: 1; padding: 9px 12px; border: 1px solid var(--cq-border, #ddd); border-radius: 8px; text-transform: uppercase; }
.cq-promo-apply, .cq-promo-remove {
	padding: 9px 16px; border-radius: 8px; border: 1px solid var(--cq-primary); background: #fff;
	color: var(--cq-primary); font-weight: 600; cursor: pointer;
}
.cq-promo-applied { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.cq-promo-remove { padding: 4px 10px; font-size: 0.8rem; }
.cq-promo-msg { margin: 8px 0 0; font-size: 0.85rem; min-height: 1em; }

/* Bandeau mode pause */
.cq-paused-banner {
	background: #fff8e1; border: 1px solid #f3e2ad; border-radius: 12px;
	padding: 22px 20px; text-align: center; font-size: 1.05rem; font-weight: 600; color: #7a5200;
}

/* Bouton Commander flottant */
.cq-float-btn {
	position: fixed; right: 24px; bottom: 24px; z-index: 9999;
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--cq-primary, #b5651d); color: #fff !important;
	padding: 18px 30px; border-radius: 999px; font-weight: 700; font-size: 1.2rem;
	line-height: 1; text-decoration: none; box-shadow: 0 6px 22px rgba(0,0,0,.28);
	transition: transform .15s ease, box-shadow .15s ease;
}
.cq-float-btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 8px 26px rgba(0,0,0,.32); }
.cq-float-btn:active { transform: translateY(0); }
@media (max-width: 600px) {
	.cq-float-btn { right: 16px; bottom: 16px; padding: 16px 26px; font-size: 1.1rem; }
}

/* Instructions par article */
.cq-item-note {
	width: 100%; box-sizing: border-box; margin-top: 6px; padding: 7px 10px;
	font-size: 0.82rem; border: 1px dashed var(--cq-border, #d5d0c8); border-radius: 8px; background: #fffdf8;
}
.cq-item-note:focus { border-style: solid; outline: none; border-color: var(--cq-primary, #b5651d); }

/* Suggestions au panier */
.cq-upsell { margin: 16px 0; padding: 14px; background: #f6f9f4; border: 1px solid #dbe8d4; border-radius: 10px; }
.cq-upsell-title { margin: 0 0 10px; font-weight: 700; font-size: 0.9rem; }
.cq-upsell-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.cq-upsell-name { flex: 1; font-size: 0.9rem; }
.cq-upsell-price { font-weight: 600; font-size: 0.85rem; white-space: nowrap; }
.cq-upsell-add {
	border: 1px solid var(--cq-accent, #2e7d32); color: var(--cq-accent, #2e7d32); background: #fff;
	border-radius: 8px; padding: 6px 12px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.cq-upsell-add:hover { background: var(--cq-accent, #2e7d32); color: #fff; }

/* Reprendre la dernière commande */
.cq-reorder {
	display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
	margin: 0 0 16px; padding: 14px 16px; background: #f0f6fb; border: 1px solid #cfe3f3; border-radius: 10px;
}
.cq-reorder-text { flex: 1; min-width: 200px; font-size: 0.92rem; }
.cq-reorder-items { color: #5b7186; font-size: 0.85rem; }
.cq-reorder-btn {
	background: var(--cq-primary, #b5651d); color: #fff; border: none; border-radius: 10px;
	padding: 11px 18px; font-weight: 700; cursor: pointer; min-height: 44px;
}
.cq-reorder-btn:disabled { opacity: .6; }
.cq-reorder-msg { width: 100%; font-size: 0.85rem; font-weight: 600; color: #2e7d32; }
.cq-reorder-msg:empty { display: none; }

/* Badge Formule */
.cq-product-formula { display: inline-block; font-size: 0.75rem; font-weight: 700; color: #5b3a86; background: #f0eafa; border-radius: 6px; padding: 3px 8px; margin: 0 0 8px; }

/* Menus à prix rond : remise détectée */
.cq-deal-notice {
	margin: 0 0 10px; padding: 11px 14px; background: #eef8ee; border: 1px solid #cde5cd;
	border-radius: 10px; font-weight: 700; font-size: 0.92rem; color: #1e5e22;
}

/* Réservation de table */
.cq-resa { max-width: 560px; }
.cq-resa .cq-resa-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.cq-resa label { display: block; font-weight: 600; font-size: 0.88rem; }
.cq-resa input, .cq-resa select { width: 100%; padding: 11px 12px; border: 1px solid #ddd9d1; border-radius: 10px; font-size: 15px; margin-top: 5px; box-sizing: border-box; }
.cq-resa-svc { margin: 10px 0; }
.cq-resa-slot-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cq-resa-slot { padding: 8px 12px; border: 1px solid var(--cq-primary, #b5651d); background: #fff; color: var(--cq-primary, #b5651d); border-radius: 8px; font-weight: 600; cursor: pointer; }
.cq-resa-slot.is-picked, .cq-resa-slot:hover { background: var(--cq-primary, #b5651d); color: #fff; }
.cq-resa-chosen { font-weight: 700; margin: 4px 0 10px; padding: 10px 12px; background: #f6f9f4; border-radius: 8px; }
.cq-resa-submit { background: var(--cq-primary, #b5651d); color: #fff; border: none; border-radius: 10px; padding: 13px 18px; font-weight: 700; cursor: pointer; margin-top: 10px; }
.cq-resa-msg { font-weight: 600; margin-top: 8px; }

/* Options : rupture, minimum, quantité par option */
.cq-opt-line.cq-opt-soldout { opacity: .5; cursor: not-allowed; }
.cq-opt-line.cq-opt-soldout input { cursor: not-allowed; }
.cq-opt-soldout-tag { font-size: 0.72rem; font-weight: 700; color: #b3261e; background: #fdecea; border-radius: 5px; padding: 1px 6px; margin-left: 6px; text-transform: uppercase; }
.cq-opt-min { font-size: 0.72rem; font-weight: 600; color: #5b7186; background: #eef3f8; border-radius: 5px; padding: 1px 6px; margin-left: 4px; }
.cq-opt-right { display: inline-flex; align-items: center; gap: 10px; }
.cq-opt-qty { display: inline-flex; align-items: center; gap: 8px; }
.cq-opt-qty button { width: 26px; height: 26px; border: 1px solid var(--cq-primary, #b5651d); background: #fff; color: var(--cq-primary, #b5651d); border-radius: 6px; font-weight: 700; cursor: pointer; line-height: 1; }
.cq-opt-qval { min-width: 18px; text-align: center; font-weight: 700; }

/* Options (admin) : cases quantité et rupture */
.comptoir-option-flag { font-size: 12px; white-space: nowrap; margin: 0 4px; color: #50575e; }
