.app-view:has(.cart-page),.app-view:has(.cart-empty){width:min(var(--storefront-container),calc(100% - 40px));padding:38px 0 104px}.cart-page{min-height:520px}.cart-breadcrumbs{margin-bottom:70px;display:flex;gap:7px;color:var(--storefront-muted);font-size:14px}.cart-breadcrumbs [aria-current=page]{color:var(--storefront-text)}.cart-layout{display:grid;grid-template-columns:minmax(0,1.57fr) minmax(340px,1fr);gap:16px;align-items:start}.cart-items-panel,.cart-summary{border:1px solid var(--storefront-line);border-radius:8px;background:#fff;overflow:hidden}.cart-table-head,.cart-item{display:grid;grid-template-columns:minmax(250px,1.8fr) minmax(100px,.75fr) minmax(145px,.8fr) minmax(110px,.75fr) 64px;align-items:center}.cart-table-head{min-height:44px;padding:0 16px;border-bottom:1px solid var(--storefront-line);color:#5f6063;font-size:13px}.cart-table-head span:first-child{padding-left:24px}.cart-table-head span:last-child{text-align:center}.cart-item{min-height:76px;padding:8px 16px;border-bottom:1px solid var(--storefront-line);font-size:13px}.cart-product-cell{min-width:0;display:flex;align-items:center;gap:12px}.cart-product-cell>div{min-width:0}.cart-product-cell strong{display:block;font:500 14px/1.35 var(--font-display);overflow-wrap:anywhere}.cart-product-cell small{display:block;margin-top:4px;color:var(--storefront-muted);font-size:11px}.cart-item-image{flex:0 0 52px;width:52px;height:52px;border-radius:5px;background:var(--storefront-soft);display:grid;place-items:center;overflow:hidden}.cart-item-image img{width:100%;height:100%;object-fit:contain}.cart-quantity{width:116px;height:40px;border:1px solid var(--storefront-line);border-radius:5px;display:grid;grid-template-columns:38px 1fr 38px;align-items:center;text-align:center}.cart-quantity button,.cart-remove{height:100%;border:0;background:transparent;color:var(--storefront-text);font-size:18px}.cart-quantity button:disabled,.cart-remove:disabled{opacity:.35;cursor:not-allowed}.cart-quantity output{font-weight:700}.cart-line-total{font-size:14px}.cart-remove{width:44px;height:44px;justify-self:center;color:#e83d3d;font-size:24px}.cart-coupon{padding:11px 16px;display:flex;gap:8px}.cart-coupon input{width:144px;min-height:36px;padding:8px 12px;border:0;border-radius:5px;background:#f1f2f3}.cart-coupon button,.cart-error button{min-height:36px;padding:8px 22px;border:0;border-radius:5px;background:var(--storefront-primary);color:#fff;font-weight:700}.cart-summary{padding:18px 16px 16px}.cart-summary h2{margin:0 0 28px;font:600 17px var(--font-display)}.cart-summary-rows{border:1px solid var(--storefront-line);border-radius:8px;overflow:hidden}.cart-summary-rows>div{min-height:46px;padding:11px 15px;border-bottom:1px solid var(--storefront-line);display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:13px}.cart-summary-rows>div:last-child{border-bottom:0}.cart-summary-rows span{font-weight:700}.cart-summary-rows strong{font-size:14px}.cart-shipping p{margin:0;color:var(--storefront-muted);line-height:1.45}.cart-summary-total{min-height:58px!important;align-items:center}.cart-summary-total strong{font-size:16px}.cart-checkout{width:100%;min-height:50px;margin-top:32px;border-radius:8px;background:var(--storefront-accent);color:#fff;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:800;text-transform:uppercase}.cart-empty,.cart-error{min-height:420px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.cart-empty h1,.cart-error h1{margin:0;font:600 32px var(--font-display)}.cart-empty p,.cart-error p{margin:12px 0 0;color:var(--storefront-muted)}.cart-empty .cart-checkout{width:auto;min-width:220px;padding:0 24px}.cart-skeleton{display:block;border-radius:5px;background:linear-gradient(90deg,#eceeef,#f8f8f8,#eceeef);background-size:200%;animation:pulse 1.4s infinite}.cart-breadcrumb-skeleton{width:230px;height:18px;margin-bottom:70px}.cart-row-skeleton{min-height:110px;padding:18px;display:grid;grid-template-columns:68px 1fr 120px;gap:18px;align-items:center}.cart-row-skeleton i{height:68px}.cart-row-skeleton span{height:22px}.cart-row-skeleton b{height:40px}.cart-title-skeleton{width:180px;height:20px;margin-bottom:28px}.cart-summary-skeleton{height:142px}.cart-button-skeleton{height:50px;margin-top:32px}
@media(max-width:1050px){.cart-layout{grid-template-columns:1fr}.cart-summary{width:min(560px,100%);justify-self:end}.cart-table-head,.cart-item{grid-template-columns:minmax(240px,1.8fr) minmax(90px,.7fr) minmax(130px,.8fr) minmax(100px,.7fr) 54px}}
@media(max-width:760px){.app-view:has(.cart-page),.app-view:has(.cart-empty){width:calc(100% - 40px);padding-top:34px}.cart-page{min-height:600px}.cart-breadcrumbs{margin-bottom:52px;white-space:nowrap}.cart-items-panel{overflow-x:auto}.cart-table-head,.cart-item{width:790px}.cart-summary{width:100%;margin-top:28px;padding:16px 14px}.cart-summary h2{margin-bottom:24px}.cart-checkout{margin-top:26px}.cart-row-skeleton{grid-template-columns:72px 1fr 90px}.cart-row-skeleton i{height:72px}}
@media(max-width:420px){.app-view:has(.cart-page),.app-view:has(.cart-empty){width:calc(100% - 32px)}.cart-empty h1,.cart-error h1{font-size:26px}.cart-breadcrumbs{overflow:hidden;text-overflow:ellipsis}.cart-summary-rows>div{grid-template-columns:minmax(90px,.8fr) 1.2fr}.cart-coupon{width:790px}.cart-empty{min-height:360px}.cart-checkout{font-size:12px}}
@media(max-width:420px){.cart-coupon{width:100%;flex-wrap:wrap}.cart-coupon input{min-width:0;flex:1}.cart-clear{width:calc(100% - 32px);margin:0 16px 12px}}

/* Mobile drawer: preserve complete product names and keep actions above iPhone UI. */
.drawer-item-heading>strong{display:block;overflow:visible;overflow-wrap:break-word;word-break:normal;-webkit-line-clamp:unset}
@media(max-width:430px){.cart-drawer-footer{padding:16px 16px calc(16px + env(safe-area-inset-bottom))}.drawer-item-bottom{flex-wrap:wrap}}

.cart-drawer{right:-480px;top:0;width:min(460px,100vw);height:100dvh;padding:0;border-left:1px solid var(--storefront-line);background:#fff;display:grid;grid-template-rows:auto minmax(0,1fr);box-shadow:-18px 0 44px #0002;overflow:hidden;transition:right .25s ease}.cart-drawer.open{right:0}.cart-drawer-header{min-height:76px;padding:16px 20px;border-bottom:1px solid var(--storefront-line);display:flex;align-items:center;justify-content:space-between}.cart-drawer-header h2{margin:0;font:600 22px var(--font-display)}.cart-drawer-close{width:44px;height:44px;padding:10px;border:0;border-radius:50%;background:var(--storefront-soft);display:grid;place-items:center;appearance:none}.cart-drawer-close img{width:22px;height:22px}.cart-drawer-content{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto}.cart-drawer-items{min-height:0;padding:4px 20px;overflow-y:auto;overscroll-behavior:contain}.drawer-item{padding:18px 0;border-bottom:1px solid var(--storefront-line);display:grid;grid-template-columns:88px minmax(0,1fr);gap:16px}.drawer-item-image{width:88px;height:88px;border-radius:6px;background:var(--storefront-soft);display:grid;place-items:center;overflow:hidden}.drawer-item-image img{width:100%;height:100%;object-fit:contain}.drawer-item-body{min-width:0}.drawer-item-heading{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:8px;align-items:start}.drawer-item-heading>strong{display:-webkit-box;overflow:hidden;font:600 14px/1.35 var(--font-display);overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.drawer-item-body>small{display:block;margin-top:4px;color:var(--storefront-muted);font-size:11px}.drawer-unit-price{display:block;margin-top:8px;color:var(--storefront-muted);font-size:12px}.drawer-item-bottom{margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.drawer-item-bottom>strong{font-size:14px;white-space:nowrap}.drawer-quantity{width:120px;height:44px;border:1px solid var(--storefront-line);border-radius:6px;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;text-align:center;overflow:hidden}.drawer-quantity button,.drawer-remove{height:100%;padding:0;border:0;background:transparent;appearance:none}.drawer-quantity button{font-size:19px}.drawer-quantity button:hover:not(:disabled){background:#f0f8f7;color:var(--storefront-primary-dark)}.drawer-quantity button+output,.drawer-quantity output+button{border-left:1px solid var(--storefront-line)}.drawer-quantity output{height:100%;display:grid;place-items:center;font-size:13px;font-weight:700}.drawer-quantity button:disabled,.drawer-remove:disabled{opacity:.35;cursor:not-allowed}.drawer-remove{width:40px;height:40px;border-radius:50%;display:grid;place-items:center}.drawer-remove:hover:not(:disabled){background:#fff1f1}.drawer-remove img{width:18px;height:18px;opacity:.64}.cart-drawer-footer{padding:18px 20px 20px;border-top:1px solid var(--storefront-line);background:#fff;box-shadow:0 -8px 22px #0000000a}.drawer-totals{display:grid;gap:10px}.drawer-totals>div{display:flex;align-items:center;justify-content:space-between;gap:18px;color:var(--storefront-muted);font-size:13px}.drawer-totals strong{color:var(--storefront-text);text-align:right}.drawer-totals .drawer-total{margin-top:4px;padding-top:14px;border-top:1px solid var(--storefront-line);color:var(--storefront-text);font-size:16px;font-weight:700}.drawer-total strong{font-size:18px}.drawer-checkout,.drawer-cart-link,.cart-drawer-empty a{min-height:48px;border-radius:7px;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:800}.drawer-checkout{margin-top:18px;background:var(--storefront-accent);color:#fff;text-transform:uppercase}.drawer-checkout:hover{background:#ef7f1d}.drawer-cart-link{margin-top:8px;border:1px solid var(--storefront-primary);color:var(--storefront-primary)}.drawer-cart-link:hover{background:#f0f8f7}.cart-drawer-empty{height:100%;padding:40px 28px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.cart-drawer-empty h3{margin:0;font:600 22px var(--font-display)}.cart-drawer-empty p{max-width:280px;margin:10px 0 22px;color:var(--storefront-muted);font-size:14px;line-height:1.5}.cart-drawer-empty a{min-width:210px;padding:0 20px;background:var(--storefront-primary);color:#fff}.scrim{transition:opacity .2s ease,visibility .2s ease}
@media(max-width:430px){.cart-drawer{width:100vw}.cart-drawer-header{min-height:68px;padding:12px 16px}.cart-drawer-items{padding-inline:16px}.cart-drawer-footer{padding:16px}.drawer-item{grid-template-columns:68px minmax(0,1fr);gap:12px}.drawer-item-image{width:68px;height:68px}.drawer-item-bottom{align-items:flex-end}.drawer-quantity{width:110px}}
.cart-drawer-close{outline:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
html:not(.keyboard-navigation) .cart-drawer-close:focus{outline:none}
.keyboard-navigation .cart-drawer-close:focus{outline:3px solid rgba(1,164,158,.32);outline-offset:2px}
