.ms-side-basket:not([open]) { display: none; }
.ms-side-basket {
  position: fixed; inset: 0 0 0 auto; margin: 0 0 0 auto; padding: 0;
  width: min(460px, 100%); height: 100%; height: 100dvh;
  max-width: 100%; max-height: 100%; border: 0; outline: 0;
  background: #fff; color: #172435; box-shadow: -12px 0 60px #14274230;
  overflow: hidden; text-align: left;
}
.ms-side-basket::backdrop { background: rgb(12 24 44 / 45%); }
.ms-side-basket[open] { animation: ms-basket-slide .19s ease-out; }
@keyframes ms-basket-slide { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .ms-side-basket[open] { animation: none; } }
html.ms-basket-open { overflow: hidden; }
.ms-drawer-frame { display: flex; flex-direction: column; height: 100%; }
.ms-drawer-heading, .ms-drawer-summary { padding: 24px; }
.ms-drawer-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #dbE2EA; }
.ms-drawer-heading h2 { margin: 0; font-family: inherit; font-weight: 650; font-size: 26px; letter-spacing: -.045em; }
.ms-drawer-close { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #d8e1ea; border-radius: 50%; background: #fff; color: inherit; cursor: pointer; }
.ms-drawer-close:hover { background: #f0f5fa; }
.ms-drawer-status { margin: 0; padding: 12px 24px; background: #f1f6ff; color: #1d426f; font-size: 14px; }
.ms-drawer-status:empty { display: none; }
.ms-drawer-body { min-height: 0; flex: 1; display: flex; flex-direction: column; }
.ms-drawer-items { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 4px 24px 16px; list-style: none; }
.ms-drawer-item { display: grid; grid-template-columns: 66px minmax(0,1fr) auto; align-items: start; gap: 14px; padding: 20px 0; border-bottom: 1px solid #e1e6ed; }
.ms-drawer-image img { display: block; width: 66px; height: 66px; object-fit: cover; border-radius: 7px; }
.ms-drawer-line { display: grid; justify-items: start; gap: 4px; }
.ms-drawer-line a { color: inherit; font-weight: 650; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
.ms-drawer-line a:hover, .ms-drawer-full:hover { text-decoration: underline; }
.ms-drawer-line span, .ms-drawer-summary>span { font-size: 13px; color: #536479; }
.ms-drawer-remove, .ms-drawer-full { font: inherit; font-size: 13px; text-underline-offset: 3px; text-decoration: underline; color: #174b91; }
.ms-drawer-remove { background: none; border: 0; text-align: left; padding: 5px 0; cursor: pointer; }
.ms-drawer-price { white-space: nowrap; font-size: 15px; }
.ms-drawer-summary { border-top: 1px solid #dbe2ea; display: grid; gap: 8px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.ms-drawer-summary p { display: flex; align-items: baseline; justify-content: space-between; margin: 0; font-size: 19px; }
.ms-drawer-summary .ms-btn { margin-top: 8px; display: flex; justify-content: center; }
.ms-drawer-full { justify-self: center; padding: 8px 16px; }
.ms-drawer-empty { margin: 24px 24px 16px; }
.ms-drawer-shop { align-self: flex-start; margin: 0 24px; }
.ms-side-basket :focus-visible { outline: 2px solid #095ae0; outline-offset: 2px; }
@media(max-width: 450px) {
  .ms-drawer-heading, .ms-drawer-summary { padding: 18px; }
  .ms-drawer-items { padding-inline: 18px; }
  .ms-drawer-item { grid-template-columns: 52px minmax(0,1fr) auto; gap: 10px; }
  .ms-drawer-image img { width: 52px; height: 52px; }
}
