/* SunuTech - mini-panier lateral. Couleurs et typographie heritees du theme. */
.st-mc-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:99998;opacity:0;transition:opacity .25s ease}
.st-mc-overlay.is-open{opacity:1}
.st-mc-panel{position:fixed;top:0;right:0;height:100%;height:100dvh;width:430px;max-width:90vw;background:var(--theme-palette-color-8,#fff);color:var(--theme-text-color,var(--theme-palette-color-4,#1c1c1c));font-family:var(--theme-font-family,inherit);z-index:99999;display:flex;flex-direction:column;box-shadow:-8px 0 32px rgba(0,0,0,.18);transform:translateX(100%);transition:transform .28s cubic-bezier(.4,0,.2,1)}
.st-mc-panel.is-open{transform:translateX(0)}
.st-mc-panel[hidden],.st-mc-overlay[hidden]{display:none!important}
.st-mc-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid var(--theme-border-color,rgba(0,0,0,.1));flex:0 0 auto}
.st-mc-title{font-size:16px;font-weight:600;letter-spacing:-.01em}
.st-mc-close{background:none;border:0;padding:6px;cursor:pointer;color:inherit;line-height:0;border-radius:6px}
.st-mc-close:hover{background:rgba(0,0,0,.06)}
.st-mc-body{flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:8px 20px}
.st-mc-empty{padding:32px 0;text-align:center;opacity:.7;font-size:14px}
.st-mc-list{list-style:none;margin:0;padding:0}
.st-mc-item{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid var(--theme-border-color,rgba(0,0,0,.08))}
.st-mc-item:last-child{border-bottom:0}
.st-mc-item.is-busy{opacity:.5;pointer-events:none}
.st-mc-thumb{flex:0 0 68px;width:68px}
.st-mc-thumb img{width:68px;height:68px;object-fit:cover;border-radius:8px;display:block;max-width:100%}
.st-mc-info{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:4px}
.st-mc-name{font-size:14px;font-weight:500;line-height:1.35}
.st-mc-name a{color:inherit;text-decoration:none}
.st-mc-name a:hover{text-decoration:underline}
.st-mc-meta{font-size:12px;opacity:.7;line-height:1.4}
.st-mc-meta p{margin:0}
.st-mc-meta dl,.st-mc-meta dt,.st-mc-meta dd{margin:0;display:inline;font-size:12px}
.st-mc-meta dt{font-weight:500}
.st-mc-price{font-size:13px;opacity:.85}
.st-mc-qty{display:flex;align-items:center;gap:6px;margin-top:6px}
.st-mc-qty button{width:28px;height:28px;border:1px solid var(--theme-border-color,rgba(0,0,0,.18));background:transparent;color:inherit;border-radius:6px;cursor:pointer;font-size:15px;line-height:1;display:inline-flex;align-items:center;justify-content:center;padding:0}
.st-mc-qty button:hover:not(:disabled){background:rgba(0,0,0,.06)}
.st-mc-qty button:disabled{opacity:.35;cursor:not-allowed}
.st-mc-qty-val{min-width:26px;text-align:center;font-size:14px;font-variant-numeric:tabular-nums}
.st-mc-remove{margin-left:auto;border-color:transparent!important}
.st-mc-foot{flex:0 0 auto;padding:16px 20px calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--theme-border-color,rgba(0,0,0,.1));display:flex;flex-direction:column;gap:12px}
.st-mc-subtotal{display:flex;align-items:baseline;justify-content:space-between;font-size:15px}
.st-mc-subtotal strong{font-size:17px}
.st-mc-actions{display:flex;flex-direction:column;gap:8px}
.st-mc-btn{display:block;text-align:center;padding:12px 16px;border-radius:8px;text-decoration:none;font-size:14px;font-weight:600;line-height:1.2}
.st-mc-btn-main{background:var(--theme-button-background-initial-color,var(--theme-palette-color-1,#111));color:var(--theme-button-text-initial-color,#fff)}
.st-mc-btn-main:hover{background:var(--theme-button-background-hover-color,var(--theme-palette-color-2,#000));color:var(--theme-button-text-hover-color,#fff)}
.st-mc-btn-alt{background:transparent;color:inherit;border:1px solid var(--theme-border-color,rgba(0,0,0,.2))}
.st-mc-continue{background:none;border:0;padding:4px;color:inherit;opacity:.7;font-size:13px;cursor:pointer;text-decoration:underline;font-family:inherit}
.st-mc-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:100000;background:var(--theme-palette-color-4,#1c1c1c);color:#fff;padding:12px 18px;border-radius:8px;font-size:14px;max-width:90vw;box-shadow:0 6px 20px rgba(0,0,0,.25);font-family:var(--theme-font-family,inherit)}
.st-mc-toast[hidden]{display:none!important}
.st-mc-toast a{color:#fff;text-decoration:underline;margin-left:8px}
body.st-mc-open{overflow:hidden}
@media (max-width:480px){.st-mc-head,.st-mc-body,.st-mc-foot{padding-left:16px;padding-right:16px}}
@media (prefers-reduced-motion:reduce){.st-mc-panel,.st-mc-overlay{transition:none}}

/* Module actif : le dropdown natif Blocksy reste dans le DOM (les fragments en dependent) mais devient inerte et invisible. */
.ct-header-cart .ct-cart-content{visibility:hidden!important;opacity:0!important;pointer-events:none!important}

/* Mini-panier ouvert : la barre flottante d'ajout au panier devient invisible et inerte. Elle retrouve son etat exact a la fermeture. */
body.st-mc-open .st-sticky-atc{visibility:hidden!important;opacity:0!important;pointer-events:none!important;transition:none!important}
