.mobile-cart { display: none; }
@media (max-width: 991.98px) {
    body[data-mobile-cart-auto-open="true"] #modalShoppingCart.offcanvas {
        background: #fff !important;
        color: #212121;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        height: auto !important;
        min-height: 0;
        max-height: min(88dvh, calc(var(--storefront-sheet-height, 100dvh) - 12px)) !important;
        border-radius: 22px 22px 0 0 !important;
        box-shadow: 0 -12px 48px #0000001a !important;
        transition: transform 180ms cubic-bezier(.2,.8,.2,1) !important;
    }
    body[data-mobile-cart-auto-open="true"] #modalShoppingCart > :not(.mobile-cart):not(.checkout-auth-host) { display: none !important; }
    body[data-mobile-cart-auto-open="true"] #modalShoppingCart .mobile-cart {
        display: flex; flex-direction: column; min-height: 0; overflow: hidden;
        direction: rtl; font-size: 13px; line-height: 1.7;
    }
    .mobile-cart__header { display: flex; align-items: center; justify-content: space-between; padding: 6px 18px 12px; flex-shrink: 0; }
    .mobile-cart__header h2 { margin: 0; color: #212121; font-size: 16px; font-weight: 700; }
    .mobile-cart__header h2 span { margin-inline-start: 4px; color: #777; font-size: 13px; font-weight: 400; }
    .mobile-cart__close { border: 0; background: none; width: 44px; height: 44px; margin-inline-end: -10px; color: #333; font: 28px/1 sans-serif; }
    .mobile-cart__shipping { padding: 12px 20px; background: #f5f5f2; color: #42463f; text-align: center; font-size: 12px; flex-shrink: 0; }
    .mobile-cart__items { padding: 0 20px; }
    .mobile-cart__item { display: grid; grid-template-columns: 78px minmax(0,1fr) auto; gap: 12px; padding: 22px 0; align-items: start; border-bottom: 1px solid #ededeb; }
    .mobile-cart__item:last-child { border: 0; }
    .mobile-cart__photo { display: block; background: #f4f4f2; overflow: hidden; }
    .mobile-cart__photo img { display: block; width: 78px; height: 100px; object-fit: cover; }
    .mobile-cart__detail { min-width: 0; }
    .mobile-cart__name { display: block; color: #212121 !important; font-size: 13px; font-weight: 600; line-height: 1.8; text-decoration: none; margin-bottom: 5px; }
    .mobile-cart__variant { font-size: 12px; line-height: 1.8; color: #777; margin: 0; overflow-wrap: anywhere; }
    .mobile-cart__variant--visual { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
    .mobile-cart__swatch { display: inline-block; flex: 0 0 14px; width: 14px; height: 14px; border: 1px solid #00000026; border-radius: 50%; box-shadow: inset 0 0 0 2px #ffffff80; }
    .mobile-cart__size { display: inline-flex; justify-content: center; align-items: center; min-width: 23px; min-height: 22px; padding: 0 5px; border: 1px solid #e1e1de; border-radius: 3px; background: #f7f7f5; color: #424242; font-size: 11px; line-height: 1.5; }
    .mobile-cart__price { text-align: end; color: #333; font-size: 12px; white-space: nowrap; padding-top: 3px; }
    .mobile-cart small { font-size: 10px; font-weight: 400; }
    .mobile-cart__price small { display: block; color: #777; }
    .mobile-cart__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 12px; }
    .mobile-cart__quantity { display: inline-flex; direction: ltr; align-items: center; border: 1px solid #d9d9d5; height: 36px; }
    .mobile-cart__quantity button { width: 32px; height: 34px; border: 0; background: none; color: #333; font: 18px/1 sans-serif; padding: 0; }
    .mobile-cart__quantity span { min-width: 26px; text-align: center; font-size: 12px; }
    .mobile-cart__quantity button:disabled { opacity: .35; }
    .mobile-cart__item[hidden], .mobile-cart__footer[hidden], .mobile-cart__empty[hidden] { display: none !important; }
    .mobile-cart__sync { flex-shrink: 0; min-height: 24px; padding: 0 20px 8px; font-size: 11px; color: #777; text-align: center; }
    .mobile-cart__adding { padding: 20px; margin: 0; color: #777; font-size: 12px; text-align: center; }
    .mobile-cart__sync button { background: none; border: 0; color: #333; text-decoration: underline; margin-inline-start: 8px; }
    .has-cart-error .mobile-cart__sync { color: #a33328; }
    .mobile-cart__checkout[aria-busy="true"] { opacity: .65; cursor: progress; }
    .mobile-cart__remove { border: 0; background: none; padding: 8px 0; color: #858585; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
    .mobile-cart__footer { flex-shrink: 0; border-top: 1px solid #ededeb; padding: 18px 20px 14px; background: #fff; }
    .mobile-cart__subtotal { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
    .mobile-cart__subtotal strong { font-size: 15px; font-weight: 600; }
    .mobile-cart__footer p { color: #858585; font-size: 11px; margin: 6px 0 16px; }
    .mobile-cart__checkout { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; background: #212121; border: 1px solid #212121; border-radius: 2px; color: #fff !important; text-decoration: none; font-size: 14px; font-weight: 600; }
    .mobile-cart__checkout:hover { background: #383838; }
    .mobile-cart__continue { display: block; margin: 9px auto 0; min-height: 38px; background: none; border: 0; color: #777; font-size: 11px; }
    .mobile-cart__empty { padding: 36px 20px 48px; text-align: center; color: #777; }
    .mobile-cart__empty button { border: 0; border-bottom: 1px solid #333; background: none; color: #333; padding: 8px 0; }
    .mobile-cart button:focus-visible, .mobile-cart a:focus-visible { outline: 2px solid #555; outline-offset: 3px; }
}
@media (max-width: 991.98px) and (prefers-reduced-motion: reduce) {
    body[data-mobile-cart-auto-open="true"] #modalShoppingCart.offcanvas { transition-duration: .01ms !important; }
}
