/*
 * « Fidélité » and « Cartes cadeaux » on every theme (one shared sheet, the
 * theme's tokens: --brand, --ink, --surface, --line, --muted, radii): the
 * mini-card, the gift cards, the cart's « Utiliser mes points » / « J'ai une
 * carte cadeau », the badge « +N points ». Touch targets 44 px at least.
 */
.lc { --lc-bg: var(--brand, #0f766e); --lc-ink: var(--brand-ink, #fff); max-width: 460px; margin: 0 auto var(--s3, 24px); padding: 22px; border-radius: 22px; background: linear-gradient(135deg, var(--lc-bg), color-mix(in srgb, var(--lc-bg) 70%, #000)); color: var(--lc-ink); box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--lc-bg) 60%, transparent); }
.lc__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.lc__shop { margin: 0; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; opacity: .9; }
.lc__label { margin: 0; font-size: .75rem; opacity: .85; }
.lc__points { margin: 14px 0 2px; font-size: clamp(2.4rem, 1.6rem + 4vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.lc__value { margin: 0; opacity: .9; }
.lc__qr { display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center; margin-top: 18px; padding: 12px; border-radius: 16px; background: #fff; color: #111; }
.lc__qr img { width: 132px; height: 132px; display: block; }
.lc__code { margin: 0; font-family: ui-monospace, Menlo, monospace; font-size: 1.25rem; font-weight: 800; letter-spacing: .12em; }
.lc__hint { margin: 4px 0 0; font-size: .8rem; color: #444; }
.lc-how { max-width: 460px; margin: 0 auto var(--s3, 24px); padding: 0; list-style: none; display: grid; gap: 8px; }
.lc-how li { padding: 12px 14px; border-radius: var(--r-md, 12px); background: var(--surface, #f6f6f6); box-shadow: inset 0 0 0 1.5px var(--line, #e5e5e5); }
.lc-hist { max-width: 460px; margin: 0 auto; padding: 0; list-style: none; }
.lc-hist li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line, #e5e5e5); font-size: var(--t-sm, .9rem); }
.lc-hist .is-plus { color: #15803d; font-weight: 700; }
.lc-hist .is-minus { color: #b91c1c; font-weight: 700; }
.lc-actions { max-width: 460px; margin: 0 auto var(--s3, 24px); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lc-actions .btn { min-height: 48px; justify-content: center; }
.lp-badge { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft, #ecfdf5); color: var(--soft-text, #065f46); font-size: var(--t-xs, .78rem); font-weight: 700; }
.lp-badge::before { content: "★"; font-size: .85em; }
.lp-box { display: grid; gap: 8px; }
.lp-box__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.lp-box__row .btn { min-height: 44px; }
.lp-box__msg { margin: 0; font-size: var(--t-sm, .9rem); color: var(--muted, #555); }
.lp-box__msg.is-ok { color: #15803d; font-weight: 700; }
.lp-box__msg.is-err { color: #b91c1c; }
/* Gift card (page, preview of the purchase form). */
.gc { --gc-accent: var(--brand, #0f766e); position: relative; max-width: 520px; margin: 0 auto var(--s3, 24px); padding: 24px; border-radius: 22px; overflow: hidden; background: #fff; color: #111; box-shadow: inset 0 0 0 2px var(--gc-accent), 0 18px 40px -22px rgba(0,0,0,.4); }
.gc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 10px; background: var(--gc-accent); }
.gc--party { background: radial-gradient(circle at 12% 20%, color-mix(in srgb, var(--gc-accent) 22%, transparent) 0 6px, transparent 7px), radial-gradient(circle at 80% 70%, color-mix(in srgb, var(--gc-accent) 18%, transparent) 0 8px, transparent 9px), #fff7ed; color: #7c2d12; }
.gc--nature { background: linear-gradient(160deg, #f0fdf4, #fff); color: #14532d; }
.gc--night { background: linear-gradient(160deg, #111827, #1f2937); color: #f9fafb; }
.gc__shop { margin: 6px 0 0; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }
.gc__title { margin: 4px 0 0; font-size: 1.6rem; font-weight: 800; }
.gc__amount { margin: 8px 0; font-size: clamp(2.2rem, 1.6rem + 3vw, 3rem); font-weight: 800; color: var(--gc-accent); font-variant-numeric: tabular-nums; }
.gc--night .gc__amount { color: color-mix(in srgb, var(--gc-accent) 60%, #fff); }
.gc__msg { margin: 6px 0; font-style: italic; }
.gc__meta { margin: 2px 0; font-size: .85rem; opacity: .85; }
.gc__qr { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; margin-top: 14px; padding: 10px; border-radius: 14px; background: #fff; color: #111; }
.gc__qr img { width: 120px; height: 120px; }
.gc__code { margin: 0; font-family: ui-monospace, Menlo, monospace; font-size: 1.05rem; font-weight: 800; letter-spacing: .08em; word-break: break-all; }
.gcf { max-width: 560px; margin: 0 auto; display: grid; gap: 14px; }
.gcf__amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.gcf__amounts label { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: var(--r-md, 12px); background: var(--surface, #f6f6f6); box-shadow: inset 0 0 0 1.5px var(--line, #e5e5e5); font-weight: 800; cursor: pointer; }
.gcf__amounts label, .gcf__designs label { position: relative; overflow: hidden; }
.gcf__amounts input, .gcf__designs input { position: absolute; inset: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.gcf__amounts input:checked + span { color: var(--brand-text, var(--brand)); }
.gcf__amounts label:has(input:checked) { box-shadow: inset 0 0 0 2.5px var(--brand, #0f766e); }
.gcf__designs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gcf__designs label { min-height: 56px; border-radius: 12px; display: flex; align-items: flex-end; justify-content: center; padding: 6px; font-size: .75rem; font-weight: 700; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line, #e5e5e5); }
.gcf__designs label:has(input:checked) { box-shadow: inset 0 0 0 3px var(--brand, #0f766e); }
.gcf .field input, .gcf .field textarea, .gcf .field select { width: 100%; min-height: 48px; padding: 10px 14px; border: 0; border-radius: var(--r-md, 12px); background: var(--surface, #f6f6f6); box-shadow: inset 0 0 0 1.5px var(--line, #e5e5e5); font: inherit; font-size: 16px; }
.gcf__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .gcf__pair, .lc-actions { grid-template-columns: 1fr; } .gcf__designs { grid-template-columns: repeat(2, 1fr); } .lc__qr, .gc__qr { grid-template-columns: 110px 1fr; } .lc__qr img, .gc__qr img { width: 110px; height: 110px; } }
/* « Programme de fidélité »: the free delivery bar of the cart, « le plus avantageux » of the order sheet, « Mes avantages ». */
.rw-bar .progress__text { color: var(--soft-text, #065f46); }
.rw-best { margin: 0 0 10px; padding: 10px 12px; border-radius: var(--r-md, 12px); background: var(--brand-soft, #ecfdf5); color: var(--soft-text, #065f46); font-size: var(--t-sm, .9rem); font-weight: 600; }
.rw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rw-item { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 14px; border-radius: var(--r-md, 12px); background: var(--surface, #f6f6f6); box-shadow: inset 0 0 0 1.5px var(--line, #e5e5e5); }
.rw-item__big { grid-row: span 2; min-width: 72px; min-height: 56px; display: grid; place-items: center; padding: 0 10px; border-radius: 12px; background: var(--brand, #0f766e); color: var(--brand-ink, #fff); font-weight: 800; font-size: 1.15rem; }
.rw-item__title { margin: 0; font-weight: 700; }
.rw-item__meta { margin: 0; font-size: var(--t-sm, .9rem); color: var(--muted, #555); }
.rw-item.is-off { opacity: .6; }
.rw-item.is-off .rw-item__big { background: var(--muted, #777); }
/* « Prochain palier »: « Ajoutez … et économisez … » (one at a time, the server's figures). */
.rw-nudge { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 10px; padding: 10px 12px; border-radius: var(--r-md, 12px); background: color-mix(in srgb, var(--brand, #0f766e) 8%, #fff); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--brand, #0f766e) 30%, transparent); }
.rw-nudge__text { flex: 1 1 200px; margin: 0; font-size: var(--t-sm, .9rem); font-weight: 600; color: var(--ink, #111); }
.rw-nudge__add { min-height: 44px; min-width: 44px; white-space: nowrap; }
.rw-nudge__add[hidden] { display: none; }
