.cart-toggle { position:relative; display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; min-width:44px; padding:8px; background:transparent; border:0; border-radius:12px; color:var(--ip-text); font:400 13px var(--font); cursor:pointer; }
.cart-toggle:hover { background:var(--ip-surface); }.cart-toggle>.icon { width:22px; height:22px; }
.cart-label { display:none; }.cart-count { min-width:20px; height:20px; padding:0 5px; border-radius:99px; background:var(--action-bg); color:var(--action-text); font-size:10px; line-height:20px; text-align:center; }
.cart-count[hidden] { display:none; }
.product-card__cart-action { width:100%; display:flex; justify-content:center; }
.product-card__cart-action .btn { min-height:44px; padding:10px 12px; font-size:13px; line-height:18px; max-width:100%; }
.cart-is-open { overflow:hidden; }
.cart-dialog { position:fixed; inset:0; margin:0 0 0 auto; width:min(480px,100%); height:100vh; height:100dvh; max-width:100%; max-height:none; border:0; padding:0; background:var(--ip-bg); color:var(--ip-text); box-shadow:-12px 0 64px #0002; }
.cart-dialog[open] { display:flex; flex-direction:column; }.cart-dialog::backdrop { background:#0007; }
.cart-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:24px; border-bottom:1px solid var(--ip-border); }
.cart-heading p { font-size:10px; letter-spacing:.13em; color:var(--ip-accent); margin:0 0 8px; }.cart-heading h2 { font-size:30px; margin:0; line-height:1.1; }
.cart-close { min-height:44px; padding:10px 12px; border:0; border-radius:12px; background:var(--ip-surface); color:var(--ip-text); font:400 13px var(--font); cursor:pointer; }
.cart-content { overflow-y:auto; min-height:0; flex:1; padding:0 24px; overscroll-behavior:contain; }
.cart-item { padding:24px 0; border-bottom:1px solid var(--ip-border); }.cart-item:last-child { border-bottom:0; }
.cart-item__heading { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }.cart-item h3 { font-size:17px; line-height:1.3; letter-spacing:-.02em; margin:0 0 8px; overflow-wrap:anywhere; }.cart-item__heading p { font-size:12px; color:var(--ip-text-muted); line-height:1.4; margin:0; }
.cart-remove { min-height:44px; padding:8px 0 8px 8px; border:0; background:none; color:var(--ip-text-muted); font:400 12px var(--font); cursor:pointer; }.cart-remove:hover { color:var(--ip-danger); }
.cart-item__bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:16px; }.cart-item__price { font-size:17px; font-weight:500; line-height:1.4; text-align:right; }.cart-item__price small { display:block; font-weight:400; font-size:11px; color:var(--ip-text-muted); }
.cart-quantity { display:flex; align-items:center; border:1px solid var(--ip-border); border-radius:99px; overflow:hidden; }.cart-quantity button { width:44px; height:44px; border:0; padding:0; background:transparent; color:var(--ip-text); font:400 19px var(--font); cursor:pointer; }.cart-quantity button:hover { background:var(--ip-surface); }.cart-quantity button:disabled { opacity:.35; cursor:default; }.cart-quantity input { width:48px; min-width:0; height:44px; padding:0; background:transparent; border:0; color:var(--ip-text); font:400 15px var(--font); text-align:center; appearance:textfield; }.cart-quantity input::-webkit-inner-spin-button,.cart-quantity input::-webkit-outer-spin-button { appearance:none; margin:0; }
.cart-note { padding:16px 24px; background:var(--ip-surface); color:var(--ip-text-muted); font-size:13px; line-height:1.5; margin:0; }.cart-note[hidden],.cart-retry[hidden],.cart-summary[hidden],#cart-whatsapp-fallback[hidden] { display:none; }.cart-retry { border:0; background:none; justify-content:center; }
.cart-item__warning { color:var(--ip-danger); font-size:12px; line-height:1.5; margin:12px 0 0; }
.cart-summary { padding:24px 24px 12px; border-top:1px solid var(--ip-border); }.cart-total { display:flex; align-items:center; justify-content:space-between; gap:16px; }.cart-total span { font-size:14px; color:var(--ip-text-muted); }.cart-total strong { font-size:25px; line-height:1.2; letter-spacing:-.03em; }.cart-summary>p { font-size:12px; color:var(--ip-text-muted); line-height:1.5; margin:12px 0 16px; }.cart-summary>.btn { width:100%; font-size:14px; min-height:48px; }.cart-summary>.btn+.btn { margin-top:12px; }.cart-summary>.btn:disabled { background:var(--ip-surface-2); color:var(--ip-text-muted); cursor:default; }
.cart-storage-note { padding:0 24px calc(16px + env(safe-area-inset-bottom)); margin:0; color:var(--ip-text-muted); font-size:10px; line-height:1.4; text-align:center; }
.cart-empty { min-height:280px; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; padding:32px 0; }.cart-empty h3 { font-size:24px; }.cart-empty p { font-size:15px; line-height:1.5; color:var(--ip-text-muted); max-width:310px; margin:0 0 24px; }
.cart-toast { position:fixed; bottom:24px; right:24px; z-index:80; display:flex; align-items:center; gap:16px; max-width:440px; padding:12px 16px; background:var(--ip-text); color:var(--ip-bg); border-radius:16px; box-shadow:0 4px 24px #0002; }.cart-toast[hidden] { display:none; }.cart-toast>span { font-size:13px; line-height:1.4; }.cart-toast>button { min-height:44px; border:0; background:none; color:inherit; padding:8px 0; white-space:nowrap; font:500 13px var(--font); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
@media(min-width:1180px) { .cart-label { display:inline; } }
@media(min-width:900px) and (max-width:1050px) { .nav { gap:20px; }.header-actions { gap:4px; } }
@media(max-width:639px) { .header-actions { gap:4px; }.header-actions .theme-toggle span { display:none; }.header-actions .theme-toggle { width:44px; padding:8px; }.cart-toggle { padding:8px 4px; gap:4px; }.cart-heading { padding:20px 16px; }.cart-content { padding:0 16px; }.cart-summary { padding:16px 16px 12px; }.cart-note { padding:12px 16px; }.cart-storage-note { padding-left:16px; padding-right:16px; }.cart-item { padding:20px 0; }.cart-item__price { font-size:16px; }.cart-quantity input { width:40px; }.cart-quantity button { width:40px; }.cart-toast { left:16px; right:16px; bottom:calc(16px + env(safe-area-inset-bottom)); max-width:none; }.featured-home__actions { gap:12px 16px; } }
@media(prefers-reduced-motion:no-preference) { .cart-dialog[open] { animation:cart-in .18s ease-out; }@keyframes cart-in { from { transform:translateX(24px); opacity:.5; }to { transform:translateX(0); opacity:1; } } }

.cart-toast>span { min-width:0; overflow-wrap:anywhere; }

@media(max-width:639px) { .cart-quantity button { width:44px; } }
