.lw-cart-wrapper { position: relative; display: inline-block; }
.lw-cart-trigger { background: transparent !important; border: none !important; padding: 0 !important; cursor: pointer; position: relative; display: inline-flex; align-items: center; justify-content: center; outline: none !important; box-shadow: none !important; }
.lw-cart-icon { display: block; width: 22px; height: auto; filter: brightness(0); }
.lw-cart-count { position: absolute; top: 0; right: 0; background-color: #b9fb00; color: #000000; font-family: inherit; font-size: 11px; font-weight: bold; line-height: 1; padding: 4px 6px; border-radius: 50%; transform: translate(60%, -35%); min-width: 18px; text-align: center; box-sizing: border-box; } .lw-cart-modal-overlay { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; background: rgba(17, 17, 17, 0.48); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity 0.22s ease, visibility 0s linear 0.22s; }
.lw-cart-modal-overlay.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.lw-cart-modal { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 460px; max-height: 90vh; max-height: min(90dvh, 760px); background: #ffffff; color: #111111; border-radius: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3); overflow: hidden; box-sizing: border-box; transform: translateY(14px) scale(0.98); transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1); }
.lw-cart-modal-overlay.is-active .lw-cart-modal { transform: none; }
.lw-cart-modal *, .lw-cart-modal *::before, .lw-cart-modal *::after { box-sizing: border-box; }
.lw-cart-grab { display: none; } .lw-cart-header { display: flex; align-items: center; gap: 10px; flex-shrink: 0; padding: 26px 22px 10px 28px; }
.lw-cart-modal .lw-cart-title { margin: 0; padding: 0; font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: #111111; text-transform: none; }
.lw-cart-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: #b9fb00; color: #111111; font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; }
.lw-cart-pill.is-empty { display: none; }
.lw-cart-header .lw-cart-close { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; margin: 0 0 0 auto; padding: 0; border: 0; border-radius: 50%; background: #f5f5f7; color: #111111; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.lw-cart-header .lw-cart-close:hover { background: #111111; color: #b9fb00; }
.lw-cart-header .lw-cart-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; } .lw-cart-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 2px 28px; -webkit-overflow-scrolling: touch; }
.lw-cart-items { list-style: none; margin: 0; padding: 0; }
.lw-cart-item { position: relative; display: flex; align-items: flex-start; gap: 16px; margin: 0; padding: 18px 0; list-style: none; border-bottom: 1px solid #efeff2; }
.lw-cart-item:last-child { border-bottom: 0; }
.lw-item-thumbnail { display: block; flex: 0 0 72px; width: 72px; height: 92px; overflow: hidden; border-radius: 14px; background: #f5f5f7; }
.lw-item-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lw-item-details { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; min-width: 0; padding-top: 2px; }
.lw-cart-modal-overlay .lw-item-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin: 0; font-size: 15px; line-height: 1.3; font-weight: 600; color: #111111 !important; text-decoration: none !important; }
.lw-item-meta { font-size: 13px; line-height: 1.35; color: #6e6e73; }
.lw-cart-modal-overlay .lw-remove-item { align-self: flex-start; margin-top: 2px; padding: 6px 0; font-size: 13px; line-height: 1.2; font-weight: 500; color: #6e6e73 !important; text-decoration: none !important; border-bottom: 1px solid transparent; transition: color 0.15s ease, border-color 0.15s ease; }
.lw-cart-modal-overlay .lw-remove-item:hover { color: #111111 !important; border-bottom-color: #111111; }
.lw-item-price { flex: 0 0 auto; padding-top: 2px; font-size: 15px; font-weight: 700; color: #111111; white-space: nowrap; }
.lw-cart-item.is-removing { opacity: .35; pointer-events: none; transition: opacity .15s; }
.lw-cart-msg { margin: 6px 28px 0; padding: 9px 12px; border-radius: 12px; background: #fff4e5; color: #8a4b00; font-size: 13px; line-height: 1.4; } .lw-empty-container { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 34px 0 40px; text-align: center; }
.lw-empty-ico { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #b9fb00; }
.lw-empty-ico svg { width: 28px; height: 28px; fill: none; stroke: #111111; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lw-empty-cart { margin: 6px 0 0; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: #111111; }
.lw-cart-modal-overlay .lw-empty-btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; margin-top: 8px; padding: 0 26px; border-radius: 999px; background: #111111; color: #ffffff !important; font-size: 15px; font-weight: 600; text-decoration: none !important; transition: background-color 0.2s ease; }
.lw-cart-modal-overlay .lw-empty-btn:hover { background: #2a2a2a; } .lw-cart-foot { flex-shrink: 0; padding: 16px 28px 0; }
.lw-cart-foot.is-empty { display: none; }
.lw-cart-sub { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 15px; color: #6e6e73; }
.lw-cart-sub strong { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: #111111; }
.lw-cart-note { display: flex; align-items: center; gap: 8px; margin: 8px 0 16px; font-size: 13px; line-height: 1.3; color: #6e6e73; }
.lw-cart-note i { display: flex; align-items: center; justify-content: center; flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; background: #b9fb00; }
.lw-cart-note svg { width: 11px; height: 11px; fill: none; stroke: #111111; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lw-cart-modal-overlay .lw-checkout-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 54px; border-radius: 999px; background: #111111; color: #ffffff !important; font-size: 16px; font-weight: 600; text-decoration: none !important; transition: background-color 0.2s ease; }
.lw-checkout-btn svg { width: 18px; height: 18px; fill: none; stroke: #b9fb00; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }
.lw-cart-modal-overlay .lw-checkout-btn:hover { background: #262626; }
.lw-checkout-btn:hover svg { transform: translateX(3px); }
.lw-cart-foot .lw-cart-continue { display: block; margin: 6px auto 0; padding: 10px 16px; border: 0; border-radius: 10px; background: transparent; color: #111111; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.lw-cart-foot .lw-cart-continue:hover { text-decoration: underline; } .lw-cart-promo { display: flex; align-items: center; flex-shrink: 0; gap: 10px; margin: 6px 28px 28px; padding: 12px 16px; border-radius: 18px; background: #0b0b0c; color: #f5f5f5; font-size: 13px; line-height: 1.3; }
.lw-cart-foot.is-empty + .lw-cart-promo { margin-top: 0; }
.lw-news-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #b9fb00; color: #111111; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; }
.lw-news-badge .lw-dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: #111111; }
.lw-promo-text b { color: #ffffff; } @media screen and (max-width: 560px) {
.lw-cart-modal-overlay { align-items: flex-end; padding: 0; }
.lw-cart-modal { max-width: none; max-height: 90vh; max-height: 90dvh; border-radius: 26px 26px 0 0; padding-bottom: env(safe-area-inset-bottom); transform: translateY(40px); }
.lw-cart-grab { display: block; flex-shrink: 0; width: 40px; height: 5px; margin: 10px auto 0; border-radius: 3px; background: #d8d8de; }
.lw-cart-header { padding: 14px 18px 6px 22px; }
.lw-cart-body { padding: 2px 22px; }
.lw-cart-foot { padding: 14px 22px 0; }
.lw-cart-promo { margin: 6px 22px 20px; }
.lw-item-thumbnail { flex-basis: 64px; width: 64px; height: 82px; }
}
@media (prefers-reduced-motion: reduce) {
.lw-cart-modal-overlay, .lw-cart-modal, .lw-checkout-btn svg, .lw-cart-header .lw-cart-close { transition: none; }
}