/* Accaven — panier latéral (Panier.dc.html, PanierMobile.dc.html ; phase 2 §2). */

.acc-mc { position: fixed; inset: 0; z-index: 100000; font-family: var(--acc-font-body); color: var(--acc-navy); font-size: 15px; line-height: 1.4; }
.acc-mc[hidden] { display: none; }
.acc-mc * { box-sizing: border-box; }
.acc-mc a { color: var(--acc-navy); }
.acc-mc :focus-visible { outline: 2px solid var(--acc-navy); outline-offset: 2px; }
.acc-mc .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.acc-mc__overlay { position: absolute; inset: 0; background: var(--acc-overlay); opacity: 0; transition: opacity var(--acc-ease); }
.acc-mc__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 100%; max-width: 440px; display: flex; flex-direction: column;
  background: var(--acc-white); box-shadow: -8px 0 32px rgba(35, 33, 47, .18); transform: translateX(100%); transition: transform var(--acc-ease);
}
.acc-mc.is-open .acc-mc__overlay { opacity: 1; }
.acc-mc.is-open .acc-mc__panel { transform: none; }
.acc-mc__panel:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { .acc-mc__panel, .acc-mc__overlay { transition: none; } }

.acc-mc__content { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.acc-mc__head { flex-shrink: 0; height: 64px; padding: 0 10px 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--acc-border); }
.acc-mc__head h2 { margin: 0; font-family: var(--acc-font-head); font-weight: 700; font-size: 18px; color: var(--acc-navy); text-transform: none; letter-spacing: 0; }
.acc-mc button { font-family: inherit; }
.acc-mc .acc-mc__close { width: 44px; height: 44px; padding: 0; margin: 0; border: 0; background: transparent; color: var(--acc-navy); display: flex; align-items: center; justify-content: center; box-shadow: none; cursor: pointer; }

.acc-mc__body { flex-grow: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.acc-mc__status { display: flex; align-items: center; gap: 10px; padding: 10px 20px; background: var(--acc-lime); font-size: 14px; font-weight: 600; }
.acc-mc__status[hidden] { display: none; }
.acc-mc__meter { padding: 16px 20px 0; }

.acc-mc__lines { list-style: none; margin: 0; padding: 0 20px; }
.acc-mc__line { display: flex; gap: 12px; padding: 16px 0; margin: 0; border-bottom: 1px solid var(--acc-border); }
.acc-mc__line.is-busy { opacity: .55; pointer-events: none; }
.acc-mc__thumb { position: relative; flex-shrink: 0; width: 72px; height: 96px; border-radius: 8px; overflow: hidden; background: var(--acc-surface); display: block; }
.acc-mc__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.acc-mc__info { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.acc-mc__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.acc-mc .acc-mc__name { font-size: 14px; line-height: 19px; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acc-mc .acc-mc__remove { flex-shrink: 0; width: 44px; height: 44px; margin: -12px -12px -12px 0; padding: 0; border: 0; background: transparent; color: var(--acc-muted); display: flex; align-items: center; justify-content: center; box-shadow: none; cursor: pointer; }
.acc-mc__size { position: relative; align-self: flex-start; display: flex; align-items: center; }
.acc-mc .acc-mc__size select {
  height: 44px; padding: 0 28px 0 10px; margin: 0; border: 1px solid var(--acc-control); border-radius: 6px; background: var(--acc-white);
  color: var(--acc-navy); font-family: var(--acc-font-body); font-size: 13px; -webkit-appearance: none; appearance: none; box-shadow: none; cursor: pointer;
}
.acc-mc .acc-mc__size select:disabled { opacity: 1; cursor: default; }
.acc-mc__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.acc-mc__qty { height: 44px; display: flex; align-items: center; border: 1px solid var(--acc-control); border-radius: 6px; }
.acc-mc .acc-mc__qty button { width: 44px; height: 42px; padding: 0; margin: 0; border: 0; background: transparent; color: var(--acc-navy); display: flex; align-items: center; justify-content: center; box-shadow: none; cursor: pointer; }
.acc-mc .acc-mc__qty button:disabled { color: var(--acc-control); cursor: default; }
.acc-mc__qty output { min-width: 20px; text-align: center; font-family: var(--acc-font-head); font-weight: 600; font-size: 13px; }
.acc-mc__price { display: flex; align-items: baseline; gap: 8px; font-size: 16px; font-weight: 600; }
.acc-mc__price del { font-size: 13px; font-weight: 400; color: var(--acc-muted); }
.acc-mc__price ins { text-decoration: none; background: none; color: var(--acc-red); }

.acc-mc .acc-undo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; margin: 0; border-bottom: 1px solid var(--acc-border); font-size: 14px; color: var(--acc-muted); }
.acc-mc .acc-undo button { padding: 0 4px; min-height: 44px; border: 0; background: transparent; color: var(--acc-navy); text-decoration: underline; font-size: 14px; font-weight: 600; box-shadow: none; cursor: pointer; }

.acc-mc__suggest { padding: 16px 0 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.acc-mc__suggest h3 { margin: 0; font-family: var(--acc-font-head); font-weight: 600; font-size: 14px; color: var(--acc-navy); text-transform: none; letter-spacing: 0; }
.acc-mc__slist { display: flex; gap: 10px; overflow-x: auto; padding-right: 20px; scrollbar-width: none; }
.acc-mc__slist::-webkit-scrollbar { display: none; }
.acc-mc__scard { flex-shrink: 0; width: 248px; padding: 10px; display: flex; gap: 10px; border: 1px solid var(--acc-border); border-radius: var(--acc-radius-card); background: var(--acc-white); }
.acc-mc__simg { position: relative; flex-shrink: 0; width: 54px; height: 72px; border-radius: 6px; overflow: hidden; background: var(--acc-surface); display: block; }
.acc-mc__simg img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.acc-mc__sinfo { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.acc-mc .acc-mc__sname { font-size: 13px; line-height: 17px; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acc-mc__srow { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; }
.acc-mc .acc-mc__sadd { height: 32px; padding: 0 12px; margin: 0; display: inline-flex; align-items: center; border: 1px solid var(--acc-navy); border-radius: 6px; background: var(--acc-white); color: var(--acc-navy); font-family: var(--acc-font-head); font-weight: 600; font-size: 12px; text-decoration: none; text-transform: none; box-shadow: none; cursor: pointer; }

.acc-mc__foot { flex-shrink: 0; padding: 14px 20px 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--acc-border); background: var(--acc-white); display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.acc-mc__trow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.acc-mc__trow--muted { color: var(--acc-muted); }
.acc-mc__trow--save { color: var(--acc-red); }
.acc-mc__trow--total { margin-top: 4px; font-family: var(--acc-font-head); font-weight: 700; font-size: 17px; }
.acc-mc .acc-mc__btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: var(--acc-radius-btn); background: var(--acc-navy); color: var(--acc-white); font-family: var(--acc-font-head); font-weight: 600; font-size: 14px; text-decoration: none; }
.acc-mc .acc-mc__checkout { height: 52px; margin-top: 8px; font-size: 15px; }
.acc-mc__frow { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; font-size: 13px; }
.acc-mc__frow span { display: flex; align-items: center; gap: 8px; color: var(--acc-muted); }

.acc-mc__empty { flex-grow: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px 24px; text-align: center; }
.acc-mc__empty p { margin: 0; font-size: 16px; }
.acc-mc__empty-icon { width: 64px; height: 64px; border-radius: var(--acc-radius-chip); background: var(--acc-surface); display: flex; align-items: center; justify-content: center; }

@media (max-width: 767px) {
  .acc-mc__head, .acc-mc__foot { padding-left: 16px; padding-right: 16px; }
  .acc-mc__status { padding-left: 16px; padding-right: 16px; }
  .acc-mc__meter { padding: 16px 16px 0; }
  .acc-mc__lines { padding: 0 16px; }
  .acc-mc__suggest { padding-left: 16px; }
}
@media (min-width: 768px) {
  .acc-mc .acc-mc__size select { height: 36px; }
  .acc-mc__qty { height: 36px; }
  .acc-mc .acc-mc__qty button { width: 36px; height: 34px; }
}

.acc-mc .acc-undo-list { list-style: none; margin: 0; padding: 0 20px; }
