.elly-cart{display:grid;grid-template-columns:minmax(0,65fr) minmax(240px,35fr);gap:22px 28px;align-items:start;width:min(1180px,100%);margin:0 auto}
.elly-cart-main{grid-column:1;grid-row:1;min-width:0}
.elly-cart-side{grid-column:2;grid-row:1;display:flex;flex-direction:column;gap:14px;position:sticky;top:16px;align-self:start;min-width:0}
body.admin-bar .elly-cart-side{top:62px}
.elly-cart-title{margin:0 0 14px;font-size:clamp(28px,3vw,40px);color:var(--burgundy-dark)}
.elly-cart-note,.elly-cart-status{margin:0 0 12px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:#fffdfa;font-size:13px}
.elly-cart-status.is-error{border-color:#8d3048;color:#620d2e}
.elly-cart-status.is-ok{border-color:#d5ad78}
.elly-cart-row{display:grid;grid-template-columns:84px minmax(0,1fr) auto;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}
.elly-cart-row img{width:84px;height:112px;object-fit:cover;border-radius:10px;background:#f3eee9}
.elly-cart-name{margin:0;font-size:15px;line-height:1.4}
.elly-cart-meta{margin:4px 0;color:#6d5a5e;font-size:13px}
.elly-cart-price,.elly-cart-line{font-weight:700;color:var(--burgundy)}
.elly-cart-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}
.elly-qty{display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:999px;background:#fff}
.elly-qty button{width:32px;height:32px;border:0;background:transparent;color:var(--burgundy-dark);font-size:18px}
.elly-qty input{width:42px;border:0;background:transparent;text-align:center;font-weight:700}
.elly-text{border:0;background:transparent;color:var(--burgundy);font-weight:700;padding:0;text-decoration:underline;text-underline-offset:3px}
.elly-cart-panel{background:#fffdfa;border:1px solid var(--border);border-radius:14px;padding:14px}
.elly-cart-panel h2{margin:0 0 10px;font-size:16px;color:var(--burgundy-dark)}
.elly-cart-panel label{display:grid;gap:4px;font-size:13px;font-weight:700}
.elly-cart-panel input,.elly-cart-panel select{width:100%;min-height:42px;border:1px solid var(--border);border-radius:8px;padding:8px 10px;background:#fff;font-weight:600}
.elly-coupon-row,.elly-cart-lines{display:flex;gap:8px;align-items:center}
.elly-coupon-row input{flex:1}
.elly-cart-lines{justify-content:space-between;margin:8px 0;font-size:14px}
.elly-cart-lines strong{font-weight:700}
.elly-cart-total{border-top:1px solid var(--border);padding-top:8px;font-size:16px}
.elly-cart-checkout{width:100%;margin-top:12px}
.elly-cart-packages{margin:8px 0 0;font-size:12px;line-height:1.5;color:#6d5a5e}
.elly-cart-empty{padding:28px 0}
.elly-wish-card .elly-cart-actions{margin-top:10px}
.elly-cart.is-busy{opacity:.72}
@media (min-width:783px){body.admin-bar .elly-cart-side{top:48px}}
@media (max-width:899px){
  .elly-cart{grid-template-columns:minmax(0,1fr)}
  .elly-cart-main,.elly-cart-side{grid-column:1;position:static;top:auto}
  .elly-cart-side{grid-row:auto}
  .elly-cart-row{grid-template-columns:72px minmax(0,1fr)}
  .elly-cart-line{grid-column:2}
}
@media (max-width:390px){.elly-cart-row{grid-template-columns:64px minmax(0,1fr);gap:8px}.elly-cart-row img{width:64px;height:86px}}
