/* Boutique publique : panier et paiement (complète site.css) */
.shop { max-width: 760px; margin: 0 auto; padding: 2rem max(16px, 4vw) 4rem; min-height: 70vh; }
.shop h1 { text-align: left; }
.shop h2 { text-align: left; font-size: 1.2rem; display: flex; align-items: center; gap: .5rem; }
.lead-left { color: var(--text); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; margin: 1.2rem 0; }
.panel.center { text-align: center; }
.step { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--brand); color: #fff; font-size: .9rem; }
.back { display: inline-block; margin-bottom: .5rem; text-decoration: none; color: var(--brand); }
.label { font-weight: 700; color: var(--ink); margin: 1rem 0 .4rem; }
.shop label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .9rem; color: var(--ink); }
.shop input:not([type=checkbox]):not([type=radio]), .shop textarea {
  display: block; width: 100%; margin-top: .3rem; font: inherit; font-size: 16px; padding: .75rem .8rem;
  border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--ink);
}
.shop input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.row2 { display: grid; grid-template-columns: 1fr 2fr; gap: .8rem; }
.field-error { color: #b91c1c; font-size: .88rem; font-weight: 600; margin: -.5rem 0 .9rem; }
.shop-alert { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; padding: .8rem 1rem; border-radius: 12px; margin: 1rem 0; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.wide-btn { display: block; width: 100%; margin-top: .6rem; }
.shop .btn-site { margin-top: .4rem; }
.shop button.link { background: none; border: 0; padding: .2rem 0; color: var(--brand); font: inherit; cursor: pointer; text-decoration: underline; }
.shop [hidden] { display: none !important; }

.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
.choice { margin: 0 !important; cursor: pointer; position: relative; }
.choice input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; margin: 0; }
.choice span { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 92px; padding: .6rem .3rem; border: 2px solid var(--line); border-radius: 14px; background: #fff; gap: .1rem; }
.choice em { font-style: normal; color: var(--brand); font-weight: 800; }
.choice small { color: var(--muted); font-weight: 400; font-size: .78rem; }
.choice input:checked + span { border-color: var(--brand); background: #eef2ff; }
.choice input:focus-visible + span { outline: 2px solid var(--brand); }

.search-status { color: var(--muted); font-size: .9rem; margin: .5rem 0; }
.results { list-style: none; padding: 0; margin: 0 0 .5rem; }
.result { width: 100%; text-align: left; font: inherit; cursor: pointer; display: flex; flex-direction: column; padding: .7rem .8rem; margin-bottom: .4rem; background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; }
.result span { color: var(--muted); font-size: .85rem; }
.result:hover, .result:focus { border-color: var(--brand); background: #eef2ff; }
.confirmed { display: flex; flex-direction: column; gap: .2rem; padding: .8rem; background: #f0fdf4; border-radius: 12px; margin-bottom: .6rem; }
.confirmed .ok { color: #15803d; font-weight: 700; margin: 0; }
.confirmed .link { align-self: flex-start; }

.cart { list-style: none; padding: 0; margin: 0 0 1rem; }
.cart li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); text-align: left; }
.cart li > div:first-child { display: flex; flex-direction: column; min-width: 0; }
.cart-right { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; font-weight: 700; color: var(--ink); }
.sums { margin: 0 0 1rem; }
.sums div { display: flex; justify-content: space-between; padding: .25rem 0; }
.sums dt, .sums dd { margin: 0; }
.sums .grand { border-top: 2px solid var(--ink); margin-top: .4rem; padding-top: .6rem; font-size: 1.2rem; font-weight: 800; color: var(--ink); }

.terms summary { cursor: pointer; color: var(--brand); font-weight: 600; margin-bottom: .6rem; }
.terms-text { white-space: pre-wrap; font-size: .85rem; max-height: 220px; overflow: auto; background: var(--soft); padding: .8rem; border-radius: 10px; margin-bottom: 1rem; }
.shop .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; }
.shop .check input { width: 1.3rem; height: 1.3rem; margin: .1rem 0 0; flex-shrink: 0; }
.prose-legal h1 { margin-bottom: .2rem; }
.prose-legal h2 { margin-top: 1.6rem; font-size: 1.1rem; }
.prose-legal p { margin: .4rem 0 .8rem; }
.big-check { font-size: 3rem; color: #15803d; margin: 0; }
.big-amount { font-size: 2.2rem; font-weight: 800; color: var(--brand); margin: .6rem 0 1rem; }
