:root{--bg:#f5f7f2;--surface:#fff;--surface-2:#f8faf6;--surface-3:#edf2e9;--ink:#17251e;--muted:#768278;--line:#e5ebe2;--brand:#193c31;--brand-2:#2f624d;--accent:#c5ef75;--accent-dark:#9ccf4c;--orange:#f08a55;--danger:#d95b5b;--shadow:0 10px 30px rgba(22,48,34,.07);--radius:18px;--radius-sm:12px;--font:Inter,system-ui,sans-serif;--heading:Outfit,Inter,system-ui,sans-serif}
[data-theme="dark"]{--bg:#111914;--surface:#1a241e;--surface-2:#202c25;--surface-3:#29372e;--ink:#edf5ed;--muted:#a2b0a4;--line:#2b392f;--brand:#d5f49b;--brand-2:#bce77a;--accent:#c5ef75;--accent-dark:#a9d960;--shadow:0 12px 30px rgba(0,0,0,.22)}
*{box-sizing:border-box}html{min-height:100%;background:var(--bg)}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:13px;line-height:1.45;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent-dark);outline-offset:2px}button:disabled{opacity:.55;cursor:not-allowed}a{color:inherit;text-decoration:none}.app-shell{max-width:1080px;margin:0 auto;min-height:100vh;padding-bottom:calc(82px + env(safe-area-inset-bottom))}.topbar{height:68px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--bg) 91%,transparent);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:9px}.brand-mark{width:39px;height:39px;border-radius:14px;color:#173b2d;background:var(--accent);display:grid;place-items:center}.brand-mark svg{width:36px;height:36px}.brand-copy{display:flex;flex-direction:column;line-height:1}.brand-copy strong{font:800 17px var(--heading);letter-spacing:-.5px}.brand-copy small{font-size:8px;font-weight:800;letter-spacing:1.25px;color:var(--muted);margin-top:5px}.topbar-actions{display:flex;align-items:center;gap:9px}.account-switch{height:36px;max-width:225px;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:0 12px;display:flex;align-items:center;gap:7px;color:var(--ink);font-size:11px;font-weight:700}.account-switch span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-switch i:last-child{font-size:9px;color:var(--muted)}.online-dot{width:7px;height:7px;border-radius:50%;background:#62bd74;flex:none}.icon-button{width:36px;height:36px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);display:grid;place-items:center}.icon-button:hover{background:var(--surface-3)}.main-content{max-width:760px;margin:0 auto;padding:24px 22px 30px}.view{display:none;animation:enter .22s ease}.view.active{display:block}@keyframes enter{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}.page-heading{display:flex;align-items:center;justify-content:space-between;margin:3px 0 19px}.eyebrow{margin:0 0 4px;color:var(--muted);font-size:9px;font-weight:800;letter-spacing:1.35px}.page-heading h1,.subpage-heading h1{font:800 22px/1.2 var(--heading);letter-spacing:-.55px;margin:0}.page-subtitle{font-size:11.5px;color:var(--muted);margin:6px 0 0}.heading-icon{width:46px;height:46px;border-radius:16px;background:var(--surface-3);color:var(--brand-2);display:grid;place-items:center;font-size:18px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.login-panel{padding:17px;margin-bottom:23px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.panel-heading.compact{margin-bottom:14px}.panel-title{display:flex;align-items:center;gap:10px}.panel-title h2,.panel-heading h2{font:700 14px var(--heading);margin:0}.panel-title p,.panel-heading p{font-size:10px;color:var(--muted);margin:3px 0 0}.icon-chip{width:34px;height:34px;border-radius:11px;background:var(--surface-3);display:grid;place-items:center;color:var(--brand-2);font-size:13px;flex:none}.segmented{display:flex;gap:3px;padding:3px;border-radius:11px;background:var(--surface-2);border:1px solid var(--line)}.segment{border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:10px;font-weight:700;padding:7px 10px;white-space:nowrap}.segment.active{background:var(--surface);color:var(--brand-2);box-shadow:0 2px 8px rgba(0,0,0,.06)}.form-grid{display:grid;gap:12px}.field{display:grid;gap:6px;min-width:0}.field>span{font-size:10.5px;font-weight:700;color:var(--ink)}.field em{font-style:normal;font-weight:500;color:var(--muted);font-size:9px;margin-left:3px}.field input,.field textarea,.input-wrap{width:100%;border:1px solid var(--line);border-radius:11px;background:var(--surface-2);color:var(--ink);min-height:42px;padding:0 12px;font-size:12px;transition:border .15s,background .15s}.field input:focus,.field textarea:focus,.search-field:focus-within,.input-wrap:focus-within{border-color:var(--accent-dark);background:var(--surface)}.field textarea{padding:11px 12px;resize:vertical;min-height:120px;font:11px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace}.input-wrap{display:flex;align-items:center;padding:0;overflow:hidden}.input-wrap input{border:0!important;background:transparent!important;outline:0!important;box-shadow:none!important;min-height:40px}.prefix{padding:0 10px;border-right:1px solid var(--line);font-weight:700;font-size:11px;white-space:nowrap}.field-hint{font-size:9.5px;color:var(--muted);line-height:1.5}.button{height:42px;border-radius:11px;border:1px solid transparent;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:11px;font-weight:800;transition:transform .15s,filter .15s}.button:active{transform:scale(.985)}.button.primary{background:var(--brand);color:#fff}.button.primary:hover{filter:brightness(1.12)}[data-theme="dark"] .button.primary{color:#142118}.button.secondary{background:var(--surface-3);border-color:var(--line);color:var(--ink)}.button.small{height:34px;padding:0 11px;font-size:10px}.full-width{width:100%}.otp-target{display:flex;gap:9px;align-items:center;padding:10px;background:var(--surface-2);border:1px solid var(--line);border-radius:11px}.otp-target>div{display:grid;gap:2px;flex:1}.otp-target b{font-size:10px}.otp-target small{font-size:9px;color:var(--muted)}.success-dot{width:24px;height:24px;border-radius:50%;background:#dcf4dc;color:#32884a;display:grid;place-items:center;font-size:10px}.text-button{border:0;background:transparent;color:var(--brand-2);font-size:10px;font-weight:800}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:19px 0 12px}.section-heading h2{font:700 15px var(--heading);margin:0;letter-spacing:-.2px}.count-pill{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:19px;padding:0 6px;border-radius:999px;background:var(--surface-3);color:var(--brand-2);font:700 10px var(--font);vertical-align:2px;margin-left:3px}.danger-soft{color:var(--danger);background:color-mix(in srgb,var(--danger) 8%,var(--surface));border-color:color-mix(in srgb,var(--danger) 18%,var(--line))}.toolbar{display:flex;margin-bottom:10px}.search-field{display:flex;align-items:center;gap:8px;height:40px;padding:0 12px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--muted);min-width:0;width:100%;transition:border .15s}.search-field>i{font-size:11px;flex:none}.search-field input{flex:1;min-width:0;border:0;outline:0!important;background:transparent!important;color:var(--ink);font-size:11px;height:100%;box-shadow:none!important}.search-field button{border:0;background:transparent;color:var(--muted);padding:2px 0 2px 5px}.search-field button[hidden]{display:none}.filter-tabs{display:flex;gap:6px;padding:3px;background:var(--surface-3);border-radius:11px;margin-bottom:12px;width:max-content;max-width:100%}.filter-tab{border:0;background:transparent;color:var(--muted);padding:7px 12px;border-radius:8px;font-size:10px;font-weight:700;white-space:nowrap}.filter-tab span{margin-left:3px;color:inherit;opacity:.7}.filter-tab.active{background:var(--surface);color:var(--brand-2);box-shadow:0 2px 7px rgba(0,0,0,.06)}.stack-list{display:grid;gap:9px}.account-card,.address-card,.order-card{border:1px solid var(--line);background:var(--surface);border-radius:15px;padding:13px;display:flex;align-items:center;gap:10px;box-shadow:0 3px 12px rgba(22,48,34,.025)}.account-card.active{border-color:color-mix(in srgb,var(--accent-dark) 70%,var(--line));box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 35%,transparent)}.avatar{width:37px;height:37px;border-radius:13px;background:var(--surface-3);color:var(--brand-2);display:grid;place-items:center;font:800 13px var(--heading);flex:none;position:relative}.account-card.active .avatar{background:var(--accent);color:#203b29}.card-main{min-width:0;flex:1}.card-title{font-size:11.5px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-sub{font-size:10px;color:var(--muted);margin-top:3px;display:flex;align-items:center;gap:5px;flex-wrap:wrap}.card-actions{display:flex;align-items:center;gap:5px;flex:none}.status-pill{padding:4px 7px;border-radius:999px;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;background:#e9f5e9;color:#40804d}.status-pill.used{background:#fff0e6;color:#b56c3d}.card-action{height:29px;width:30px;border:1px solid var(--line);border-radius:9px;background:var(--surface-2);color:var(--muted);font-size:10px}.card-action:hover{color:var(--brand-2);background:var(--surface-3)}.card-action.danger:hover{color:var(--danger)}.account-select{border:0;background:var(--brand);color:white;border-radius:9px;padding:7px 9px;font-size:9px;font-weight:800}.account-card.active .account-select{background:var(--surface-3);color:var(--brand-2)}.empty-inline{padding:25px 15px;border:1px dashed var(--line);border-radius:14px;text-align:center;color:var(--muted);font-size:11px}.empty-inline i{font-size:20px;display:block;margin:0 auto 8px;color:var(--brand-2)}
/* addresses */
.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}.action-card{min-height:78px;border:1px solid var(--line);border-radius:15px;padding:12px;display:flex;align-items:center;gap:10px;text-align:left;color:var(--ink);background:var(--surface);box-shadow:0 4px 14px rgba(22,48,34,.035)}.action-card.accent-card{background:linear-gradient(120deg,color-mix(in srgb,var(--accent) 24%,var(--surface)),var(--surface))}.action-card.green-card{background:linear-gradient(120deg,color-mix(in srgb,#9ad7b2 20%,var(--surface)),var(--surface))}.action-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:var(--surface);color:var(--brand-2);font-size:13px;flex:none}.action-card>span:nth-child(2){display:grid;gap:3px;min-width:0;flex:1}.action-card b{font-size:10px}.action-card small{font-size:9px;color:var(--muted);line-height:1.35}.action-arrow{font-size:10px;color:var(--muted)}.address-card .address-type{width:35px;height:35px;border-radius:12px;background:var(--surface-3);color:var(--brand-2);display:grid;place-items:center;flex:none}.address-details{flex:1;min-width:0}.address-details b{font-size:11px}.address-details p{font-size:9.5px;color:var(--muted);margin:3px 0 0;line-height:1.45}.address-meta{display:flex;gap:6px;align-items:center;margin-top:5px}.default-tag{color:#39854a;background:#e8f5e9;border-radius:999px;font-size:8px;font-weight:800;padding:3px 6px}.address-buttons{display:flex;gap:4px}.address-buttons button{width:28px;height:28px;border:1px solid var(--line);background:var(--surface-2);border-radius:8px;color:var(--muted);font-size:10px}.subpage-heading{display:flex;align-items:center;gap:12px;margin:2px 0 18px}.back-button{width:35px;height:35px;border-radius:11px;border:1px solid var(--line);background:var(--surface);color:var(--ink);display:grid;place-items:center;flex:none}.subpage-heading .eyebrow{margin-bottom:2px}.map-panel{padding:13px;margin-bottom:12px}.map-search{margin-bottom:9px}.map-wrap{height:230px;border-radius:13px;overflow:hidden;position:relative;background:var(--surface-3)}#addressMap{height:100%;width:100%;z-index:1}.map-gps-button{position:absolute;z-index:400;right:10px;bottom:10px;height:32px;padding:0 11px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);box-shadow:0 3px 10px rgba(0,0,0,.14);font-size:9px;font-weight:800}.map-gps-button i{color:var(--brand-2);margin-right:4px}.map-location-summary{display:flex;align-items:center;gap:9px;padding:11px 2px 1px}.pin-mark{width:29px;height:29px;border-radius:10px;background:var(--surface-3);color:var(--brand-2);display:grid;place-items:center}.map-location-summary>div{flex:1;min-width:0}.map-location-summary b{font-size:10px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map-location-summary small{font-size:9px;color:var(--muted)}.pin-status{font-size:8px;font-weight:800;letter-spacing:.7px;color:#4c945d}.address-form-panel{padding:16px}.tag-selector{display:flex;align-items:center;gap:6px;margin-bottom:15px;flex-wrap:wrap}.tag-label{font-size:10px;color:var(--muted);font-weight:700;margin-right:2px}.tag-option{border:1px solid var(--line);border-radius:999px;background:var(--surface-2);padding:6px 10px;font-size:9px;font-weight:700;color:var(--muted)}.tag-option.active{background:var(--brand);color:white;border-color:var(--brand)}[data-theme="dark"] .tag-option.active{color:#17251e}.tag-option i{margin-right:4px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}.map-results{position:relative;z-index:10;display:grid;gap:3px;padding:5px;background:var(--surface);border:1px solid var(--line);border-radius:11px;margin:-3px 0 9px;box-shadow:var(--shadow);max-height:180px;overflow:auto}.map-results[hidden]{display:none}.map-result{display:flex;align-items:center;gap:9px;padding:8px;border:0;background:transparent;color:var(--ink);text-align:left;border-radius:8px}.map-result:hover{background:var(--surface-2)}.map-result i{color:var(--brand-2)}.map-result span{font-size:10px}
/* search and menu */
.delivery-location-card{width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:11px 13px;border:1px solid var(--line);border-radius:14px;background:var(--surface);margin-bottom:14px;color:var(--ink)}.location-icon{width:34px;height:34px;border-radius:11px;background:var(--surface-3);color:var(--brand-2);display:grid;place-items:center}.delivery-location-card>span:nth-child(2){display:grid;gap:1px;flex:1;min-width:0}.delivery-location-card small{font-size:8px;letter-spacing:.8px;color:var(--muted);font-weight:800}.delivery-location-card b{font-size:10.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.delivery-location-card em{font-size:9px;font-style:normal;color:var(--muted)}.delivery-location-card>i{font-size:10px;color:var(--muted)}.restaurant-search{height:44px;margin-bottom:12px}.category-row{display:flex;gap:7px;overflow:auto;padding:1px 1px 8px;scrollbar-width:none}.category-row::-webkit-scrollbar{display:none}.category-chip{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:999px;padding:7px 12px;white-space:nowrap;font-size:9px;font-weight:700}.category-chip.active{background:var(--brand);color:white;border-color:var(--brand)}[data-theme="dark"] .category-chip.active{color:#17251e}.result-toolbar{display:flex;align-items:end;justify-content:space-between;margin:15px 0 10px}.result-toolbar h2{font:700 15px var(--heading);margin:0}.veg-toggle{display:flex;align-items:center;gap:6px;font-size:9px;color:var(--muted);font-weight:700;white-space:nowrap}.veg-toggle input,.incognito-toggle input{position:absolute;opacity:0;pointer-events:none}.toggle-ui{width:30px;height:17px;border-radius:999px;background:var(--surface-3);border:1px solid var(--line);position:relative;display:inline-block;transition:background .2s}.toggle-ui:after{content:"";position:absolute;width:11px;height:11px;left:2px;top:2px;border-radius:50%;background:var(--muted);transition:transform .2s,background .2s}.veg-toggle input:checked+.toggle-ui,.incognito-toggle input:checked+.toggle-ui{background:var(--brand);border-color:var(--brand)}.veg-toggle input:checked+.toggle-ui:after,.incognito-toggle input:checked+.toggle-ui:after{transform:translateX(13px);background:var(--accent)}.restaurant-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.restaurant-card{border:1px solid var(--line);border-radius:15px;background:var(--surface);overflow:hidden;text-align:left;padding:0;color:var(--ink);box-shadow:0 4px 14px rgba(22,48,34,.035);min-width:0}.restaurant-art{height:105px;display:grid;place-items:center;position:relative;font-size:42px;background:linear-gradient(135deg,#f6dfc5,#f7eee1)}.restaurant-art.green{background:linear-gradient(135deg,#dcebd7,#f2f5e9)}.restaurant-art.pink{background:linear-gradient(135deg,#f5d9d4,#f8eee6)}.restaurant-art.blue{background:linear-gradient(135deg,#d9e8ed,#f2f3eb)}.restaurant-art.purple{background:linear-gradient(135deg,#e7ddf2,#f7edf2)}.restaurant-art .offer-ribbon{position:absolute;left:8px;bottom:8px;background:var(--brand);color:white;border-radius:5px;padding:4px 6px;font-size:8px;font-weight:800}.restaurant-content{padding:10px}.restaurant-content b{font-size:11px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.restaurant-meta{display:flex;align-items:center;gap:5px;margin:5px 0;color:var(--muted);font-size:9px}.restaurant-meta .rating{color:#36814b;font-weight:800}.restaurant-cuisine{font-size:9px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-topbar{display:flex;align-items:center;gap:10px;margin:6px 0 12px}.menu-topbar>div{flex:1}.menu-topbar h2{font:700 15px var(--heading);margin:0}.restaurant-hero{padding:15px;border-radius:14px;background:var(--surface-3);display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.restaurant-hero b{font-size:11px}.restaurant-hero p{font-size:9px;color:var(--muted);margin:4px 0 0}.restaurant-hero .hero-stats{display:flex;gap:12px;font-size:9px;font-weight:700}.menu-filter-row{display:flex;gap:8px;align-items:center;margin-bottom:13px}.menu-filter-row .search-field{height:38px}.menu-sections{display:grid;gap:13px}.menu-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.menu-section-heading h3{font:700 13px var(--heading);margin:0}.menu-section-heading small{font-size:9px;color:var(--muted)}.dish-card{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:10px;margin-bottom:7px}.dish-veg-mark{width:11px;height:11px;border:1px solid #4a9a58;border-radius:3px;position:relative;flex:none}.dish-veg-mark:after{content:"";position:absolute;width:5px;height:5px;background:#4a9a58;border-radius:50%;left:2px;top:2px}.dish-info{flex:1;min-width:0}.dish-info b{font-size:10.5px;display:block}.dish-info p{font-size:9px;color:var(--muted);margin:3px 0;line-height:1.4}.dish-info strong{font-size:10px}.dish-add{border:1px solid var(--accent-dark);background:color-mix(in srgb,var(--accent) 19%,var(--surface));color:var(--brand-2);border-radius:9px;padding:7px 12px;font-size:9px;font-weight:800;min-width:56px}.dish-add.added{background:var(--brand);color:white;border-color:var(--brand)}[data-theme="dark"] .dish-add.added{color:#142118}
/* cart / checkout */
.group-panel{padding:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.group-panel-copy{display:flex;align-items:center;gap:9px;min-width:0}.group-panel-copy>div{display:grid;gap:2px}.group-panel-copy b{font-size:10px}.group-panel-copy small{font-size:9px;color:var(--muted)}.cart-toolbar{display:flex;align-items:center;justify-content:space-between;margin:12px 1px}.incognito-toggle{display:flex;align-items:center;gap:7px}.incognito-toggle>span:last-child{display:grid;gap:1px}.incognito-toggle b{font-size:9px}.incognito-toggle small{font-size:8px;color:var(--muted)}.muted-label{font-size:8px;color:var(--muted);max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-items{display:grid;gap:8px}.cart-line{display:flex;align-items:center;gap:10px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:13px}.cart-dish-icon{width:38px;height:38px;border-radius:11px;background:var(--surface-3);display:grid;place-items:center;font-size:19px}.cart-line-info{flex:1;min-width:0}.cart-line-info b{font-size:10px;display:block}.cart-line-info small{font-size:9px;color:var(--muted)}.qty-control{display:flex;align-items:center;border:1px solid var(--line);background:var(--surface-2);border-radius:9px;overflow:hidden}.qty-control button{width:25px;height:26px;border:0;background:transparent;color:var(--brand-2);font-weight:800}.qty-control span{font-size:9px;font-weight:800;min-width:17px;text-align:center}.bill-panel{padding:15px;margin-top:12px}.bill-panel h3{font:700 13px var(--heading);margin:0 0 12px}.bill-row{display:flex;justify-content:space-between;gap:10px;margin:7px 0;font-size:10px;color:var(--muted)}.bill-row.total{border-top:1px dashed var(--line);padding-top:10px;margin-top:11px;color:var(--ink);font-weight:800;font-size:12px}.coupon-row{display:flex;gap:7px;margin:11px 0}.coupon-row input{min-width:0;flex:1;border:1px solid var(--line);border-radius:9px;padding:0 10px;background:var(--surface-2);color:var(--ink);height:35px;font-size:10px}.coupon-row button{height:35px;border:1px solid var(--line);background:var(--surface-3);border-radius:9px;padding:0 10px;color:var(--brand-2);font-weight:800;font-size:9px}.checkout-panel{padding:13px;margin-top:12px}.checkout-address{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:11px;padding:10px;margin-bottom:12px}.checkout-address>i{color:var(--brand-2)}.checkout-address>span{flex:1;display:grid;gap:2px}.checkout-address b{font-size:10px}.checkout-address small{font-size:9px;color:var(--muted)}.checkout-address button{border:0;background:transparent;color:var(--brand-2);font-size:9px;font-weight:800}.checkout-continue{width:100%}.empty-state{text-align:center;padding:38px 18px 27px;border:1px dashed var(--line);border-radius:16px;background:var(--surface)}.empty-illustration{display:grid;place-items:center;width:58px;height:58px;border-radius:19px;background:var(--surface-3);color:var(--brand-2);font-size:23px;margin:0 auto 12px}.empty-state h3{font:700 14px var(--heading);margin:0}.empty-state p{font-size:10px;color:var(--muted);margin:6px 0 14px}.payment-card{padding:15px;margin-bottom:10px}.payment-card h2{font:700 14px var(--heading);margin:0 0 5px}.payment-card>p{font-size:10px;color:var(--muted);margin:0 0 12px}.payment-option{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:11px;padding:11px;margin:7px 0;cursor:pointer}.payment-option input{accent-color:var(--brand-2)}.payment-option span{display:grid;gap:2px;flex:1}.payment-option b{font-size:10px}.payment-option small{font-size:9px;color:var(--muted)}.demo-warning{padding:10px 11px;border-radius:10px;background:#fff5e7;color:#9e6b32;font-size:9px;line-height:1.45;margin:11px 0}.success-screen{text-align:center;padding:30px 10px}.success-mark{width:68px;height:68px;border-radius:23px;background:var(--accent);color:#193c31;display:grid;place-items:center;font-size:26px;margin:0 auto 17px;box-shadow:0 0 0 8px color-mix(in srgb,var(--accent) 20%,transparent)}.success-screen h1{font:800 22px var(--heading);margin:0}.success-screen p{font-size:10px;color:var(--muted);line-height:1.55;max-width:360px;margin:8px auto 17px}.demo-stamp{display:inline-block;border:1px solid #dfbd7a;color:#9e7134;background:#fff8eb;border-radius:7px;padding:5px 9px;font-size:8px;font-weight:900;letter-spacing:.7px;margin-bottom:12px}
/* orders & tools */
.order-tabs{margin-top:2px}.order-card{align-items:flex-start}.order-restaurant-icon{width:38px;height:38px;border-radius:12px;background:var(--surface-3);display:grid;place-items:center;font-size:18px;flex:none}.order-info{flex:1;min-width:0}.order-info b{font-size:10.5px}.order-info p{font-size:9px;color:var(--muted);margin:3px 0}.order-info small{font-size:8px;color:var(--muted)}.order-right{display:grid;justify-items:end;gap:7px}.order-total{font-size:10px;font-weight:800}.order-open{border:1px solid var(--line);background:var(--surface-2);color:var(--brand-2);padding:5px 8px;border-radius:8px;font-size:8px;font-weight:800}.order-detail{margin-top:11px}.tools-feature{border-radius:18px;padding:18px;background:linear-gradient(120deg,#193c31,#2c624c);color:white;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative;margin-bottom:21px}.tools-feature:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;background:rgba(197,239,117,.1);right:45px;top:-112px}.feature-tag{font-size:8px;font-weight:900;letter-spacing:1.1px;color:#d4f59e}.tools-feature h2{font:800 19px/1.15 var(--heading);margin:7px 0}.tools-feature p{font-size:9px;color:rgba(255,255,255,.72);margin:0}.feature-art{width:71px;height:71px;border-radius:24px;background:var(--accent);color:#214332;display:grid;place-items:center;font-size:31px;transform:rotate(9deg);z-index:1}.tools-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.tool-card{display:grid;justify-items:start;text-align:left;padding:13px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);min-height:103px}.tool-icon{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;font-size:12px;margin-bottom:7px}.tool-icon.purple{background:#eee7fa;color:#8060b1}.tool-icon.blue{background:#e4eff7;color:#437fa8}.tool-icon.orange{background:#fff0e4;color:#c77a41}.tool-icon.green{background:#e4f2e3;color:#4c925a}.tool-card b{font-size:10px}.tool-card small{font-size:8.5px;color:var(--muted);margin-top:2px}.backend-note{padding:13px;display:flex;gap:10px;margin-top:15px}.note-icon{width:31px;height:31px;border-radius:10px;background:var(--surface-3);color:var(--brand-2);display:grid;place-items:center;flex:none}.backend-note b{font-size:10px}.backend-note p{font-size:9px;color:var(--muted);line-height:1.5;margin:3px 0 5px}.backend-note a{font-size:9px;font-weight:800;color:var(--brand-2)}.backend-note a i{font-size:8px;margin-left:3px}
/* nav / overlays */
.bottom-nav{position:fixed;z-index:25;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,1080px);height:calc(67px + env(safe-area-inset-bottom));padding:7px 13px calc(7px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(6,1fr);background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(18px);border-top:1px solid var(--line)}.nav-item{border:0;background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;position:relative;font-size:8px;font-weight:700}.nav-item i{font-size:15px}.nav-item.active{color:var(--brand-2)}.nav-item.active:before{content:"";position:absolute;top:-7px;width:25px;height:3px;border-radius:0 0 4px 4px;background:var(--accent-dark)}.nav-item em{position:absolute;top:0;right:calc(50% - 22px);background:var(--orange);color:#fff;border-radius:999px;min-width:15px;height:15px;padding:0 4px;display:grid;place-items:center;font-style:normal;font-size:8px}.modal-backdrop{position:fixed;inset:0;z-index:60;background:rgba(10,19,13,.48);display:flex;align-items:flex-end;justify-content:center;padding:12px}.modal-backdrop[hidden]{display:none}.modal-card{width:min(100%,520px);max-height:min(82vh,700px);overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:22px 22px 16px 16px;box-shadow:0 20px 70px rgba(0,0,0,.25);padding:9px 17px 18px;animation:sheetIn .2s ease}.modal-grab{height:4px;width:37px;border-radius:999px;background:var(--line);margin:0 auto 12px}.modal-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.modal-heading h2{font:700 15px var(--heading);margin:0}.modal-body{font-size:11px}.modal-body .form-grid{gap:10px}.modal-option{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid var(--line);border-radius:11px;margin:6px 0;background:var(--surface-2);color:var(--ink);width:100%;text-align:left}.modal-option>span{flex:1;display:grid;gap:2px}.modal-option b{font-size:10px}.modal-option small{font-size:9px;color:var(--muted)}.modal-option>i{color:var(--brand-2)}.toast{position:fixed;top:12px;left:50%;transform:translate(-50%,-140%);width:min(calc(100% - 26px),430px);z-index:100;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px 12px 8px;box-shadow:0 12px 35px rgba(0,0,0,.17);display:flex;align-items:center;gap:9px;overflow:hidden;transition:transform .22s ease;touch-action:pan-y}.toast.visible{transform:translate(-50%,0)}.toast-icon{width:24px;height:24px;border-radius:8px;background:#e6f5e8;color:#3c9052;display:grid;place-items:center;font-size:10px;flex:none}.toast.error .toast-icon{background:#fde9e9;color:#c24d4d}.toast.warning .toast-icon{background:#fff1df;color:#af783d}.toast-message{font-size:10px;font-weight:700;flex:1}.toast-track{position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--surface-3)}.toast-progress{display:block;height:100%;width:100%;background:var(--accent-dark);transform-origin:left center}.toast.error .toast-progress{background:var(--danger)}.toast.warning .toast-progress{background:var(--orange)}@keyframes sheetIn{from{transform:translateY(20px);opacity:.6}to{transform:none;opacity:1}}
@media(min-width:760px){.main-content{padding-top:30px}.bottom-nav{height:70px;padding:8px 70px}.nav-item{font-size:9px}.nav-item i{font-size:16px}.restaurant-grid{grid-template-columns:repeat(3,1fr)}.restaurant-art{height:125px}.tools-grid{grid-template-columns:repeat(4,1fr)}.modal-backdrop{align-items:center}.modal-card{border-radius:20px}.app-shell{padding-bottom:90px}}
@media(max-width:520px){.topbar{height:61px;padding:0 14px}.brand-mark{width:35px;height:35px}.brand-copy strong{font-size:16px}.account-switch{max-width:150px;padding:0 9px;font-size:9px}.main-content{padding:19px 13px 24px}.page-heading h1,.subpage-heading h1{font-size:20px}.login-panel{padding:13px}.panel-heading{align-items:flex-start;flex-direction:column}.panel-heading .segmented{align-self:stretch}.segment{flex:1}.action-grid{gap:7px}.action-card{padding:10px;gap:7px;min-height:76px}.action-icon{width:30px;height:30px}.action-card b{font-size:9px}.action-card small{font-size:8px}.restaurant-grid{gap:8px}.restaurant-art{height:91px;font-size:36px}.restaurant-content{padding:8px}.restaurant-content b{font-size:10px}.restaurant-meta,.restaurant-cuisine{font-size:8px}.two-fields{grid-template-columns:1fr}.map-wrap{height:218px}.filter-tab{padding:7px 10px}.account-card,.address-card,.order-card{padding:10px;gap:7px}.card-actions{gap:3px}.card-action{width:27px;height:27px}.account-select{padding:7px 7px}.card-title{font-size:10.5px}.card-sub{font-size:9px}.status-pill{font-size:7px;padding:4px 5px}.bottom-nav{padding-left:5px;padding-right:5px}.nav-item{font-size:7px}.nav-item i{font-size:14px}.nav-item em{right:calc(50% - 19px)}.group-panel{padding:10px}.group-panel-copy b{font-size:9px}.group-panel-copy small{font-size:8px}.feature-art{width:60px;height:60px;font-size:25px}}

/* SwiggyPelo refinements: mobile performance, clearer status marks and slightly larger type. */
[hidden]{display:none!important}
:root{--shadow:0 5px 16px rgba(22,48,34,.045)}
[data-theme="dark"]{--shadow:0 5px 16px rgba(0,0,0,.15)}
html{scroll-behavior:auto}
body{font-size:13.5px}
.topbar{background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none}
.bottom-nav{background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none}
.view{animation:none;contain:layout style}
.panel{box-shadow:0 3px 12px rgba(22,48,34,.035)}
.account-card,.address-card,.order-card{box-shadow:none}
.account-card.active{box-shadow:inset 3px 0 0 var(--accent-dark)}
.restaurant-card{box-shadow:none}
.modal-card{box-shadow:0 12px 34px rgba(0,0,0,.18)}
.toast{transform:translate3d(-50%,-140%,0);box-shadow:0 7px 22px rgba(0,0,0,.13)}
.toast.visible{transform:translate3d(-50%,0,0)}
.page-subtitle{font-size:12px}
.eyebrow{font-size:9.5px}
.field>span{font-size:11px}
.field input,.input-wrap{font-size:12.5px}
.button{font-size:11.5px}
.segment,.filter-tab{font-size:10.5px}
.card-title{font-size:12px}
.card-sub{font-size:10.25px}
.status-pill{display:inline-flex;align-items:center;gap:4px;font-size:8px;padding:4px 7px}
.status-pill i{font-size:8px}
.status-pill.used{background:#fff0e6;color:#a95c30}
.filter-tab i{font-size:9px;margin-right:3px}
.free-cash-action{position:relative;color:#8060b1}
.free-cash-action>i:first-child{font-size:10px}
.free-cash-action>i:last-child{position:absolute;right:-2px;bottom:-2px;font-size:9px;color:#4b9a60;background:var(--surface);border-radius:50%;outline:2px solid var(--surface)}
.freecash-icon{position:relative}
.freecash-icon>i:first-child{font-size:13px}
.freecash-icon>i:last-child{position:absolute;right:-4px;bottom:-3px;font-size:10px;color:#4b9a60;background:var(--surface);border-radius:50%}
.map-load-error{padding:25px;text-align:center;font-size:11px;color:var(--muted)}
button,.button,.card-action,.filter-tab,.nav-item{ -webkit-tap-highlight-color:transparent }
.button,.card-action,.icon-button,.account-select,.filter-tab,.nav-item,.category-chip,.dish-add{touch-action:manipulation}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
@media(max-width:520px){
  .brand-mark{background:#ffe3cf;color:#754b36}
  .card-actions{gap:4px}
  .card-action{width:29px;height:29px}
  .status-pill{font-size:7.5px}
  .tool-card b{font-size:10.5px}
}

/* SwiggyPelo v3 — indigo + tangerine theme, readable type and low-work rendering. */
:root{
  --bg:#f5f6ff;
  --surface:#ffffff;
  --surface-2:#f8f8ff;
  --surface-3:#eceeff;
  --ink:#191a36;
  --muted:#626783;
  --line:#dfe2f2;
  --brand:#292a63;
  --brand-2:#4b50ad;
  --accent:#ffb47d;
  --accent-dark:#e86c3a;
  --orange:#e86c3a;
  --danger:#cc4657;
  --shadow:0 6px 18px rgba(38,39,92,.055);
}
[data-theme="dark"]{
  --bg:#111225;
  --surface:#1b1c36;
  --surface-2:#222440;
  --surface-3:#2c2e50;
  --ink:#f4f3ff;
  --muted:#b5b6d0;
  --line:#383a5e;
  --brand:#ffb47d;
  --brand-2:#c5c5ff;
  --accent:#ffb47d;
  --accent-dark:#ff8c57;
  --orange:#ff9b67;
  --danger:#ff7787;
  --shadow:0 7px 20px rgba(0,0,0,.2);
}

/* Clearer hierarchy: a small but visible increase throughout the interface. */
body{font-size:15px;line-height:1.5}
.brand-copy strong{font-size:18px}
.brand-copy small{font-size:9px}
.account-switch{font-size:12px}
.page-heading h1,.subpage-heading h1{font-size:25px;color:var(--brand-2)}
.page-subtitle{font-size:13px;line-height:1.45}
.eyebrow{font-size:10.5px;letter-spacing:1.2px;color:var(--brand-2)}
.panel-title h2,.panel-heading h2,.payment-card h2,.menu-topbar h2{font-size:16px}
.panel-title p,.panel-heading p{font-size:12px}
.section-heading h2,.result-toolbar h2{font-size:17px;color:var(--brand-2)}
.field>span{font-size:13px}
.field em{font-size:10.5px}
.field input,.input-wrap,.search-field input{font-size:14px}
.field textarea{font-size:12.5px}
.prefix{font-size:12.5px}
.field-hint{font-size:11px}
.button{font-size:13px;min-height:44px}
.button.small{font-size:11.5px;min-height:36px}
.segment,.filter-tab{font-size:12px}
.search-field{height:44px}
.search-field>i{font-size:13px}
.card-title{font-size:13.5px}
.card-sub{font-size:11.5px;line-height:1.4}
.status-pill{font-size:9.5px;padding:4px 8px;letter-spacing:.35px}
.status-pill i{font-size:9px}
.card-action{width:32px;height:32px;font-size:11px}
.account-select{font-size:10.5px;padding:8px 10px}
.action-card b{font-size:12px}
.action-card small{font-size:10.5px}
.address-details b{font-size:13px}
.address-details p{font-size:11.5px}
.address-meta{font-size:10.5px}
.restaurant-content b{font-size:13px}
.restaurant-meta{font-size:10.5px}
.restaurant-cuisine{font-size:10.5px}
.menu-section-heading h3{font-size:14px}
.dish-info b{font-size:13px}
.dish-info p{font-size:11px}
.dish-info strong{font-size:12.5px}
.dish-add{font-size:11px}
.cart-line-info b{font-size:12.5px}
.cart-line-info small{font-size:10.5px}
.bill-row{font-size:11.5px}
.checkout-address b,.payment-option b{font-size:12.5px}
.checkout-address small,.payment-option small{font-size:10.5px}
.nav-item{font-size:9.5px}
.nav-item i{font-size:16px}
.modal-body{font-size:13px}
.modal-heading h2{font-size:17px}
.modal-option b{font-size:12px}
.modal-option small{font-size:10.5px}
.toast-message{font-size:12px}
.empty-inline,.empty-state p{font-size:12px}
.tools-feature h2{font-size:21px}
.tools-feature p{font-size:11px}
.tool-card b{font-size:12px}
.tool-card small{font-size:10px}
.backend-note b{font-size:12px}
.backend-note p,.backend-note a{font-size:10.5px}

/* Remove green-tinted remnants and use the new brand accents consistently. */
.brand-mark{background:linear-gradient(145deg,#ffc18f,#ff986b);color:#3b285f}
.heading-icon,.icon-chip,.empty-illustration,.note-icon{color:var(--brand-2)}
.button.primary{background:var(--brand);color:#fff}
[data-theme="dark"] .button.primary{color:#24192d}
.segment.active,.filter-tab.active{color:var(--brand-2)}
.account-card.active{border-color:color-mix(in srgb,var(--accent-dark) 60%,var(--line));box-shadow:inset 3px 0 0 var(--accent-dark)}
.account-card.active .avatar{background:var(--accent);color:#3b285f}
.status-pill{background:#ecebff;color:#4845a1}
.status-pill.used{background:#fff0e5;color:#a5532d}
[data-theme="dark"] .status-pill{background:#34335f;color:#d3d1ff}
[data-theme="dark"] .status-pill.used{background:#54352e;color:#ffc19a}
.action-card.green-card{background:linear-gradient(120deg,color-mix(in srgb,#9ca8ff 20%,var(--surface)),var(--surface))}
.tools-feature{background:linear-gradient(120deg,#292a63,#5353a5)}
.tools-feature:after{background:rgba(255,180,125,.13)}
.feature-tag{color:#ffd2b1}
.feature-art{color:#39275c}
.rating{color:#bd5c32}
.success-mark{color:#34245e}
.toast-icon{background:#eeedff;color:#4b50ad}
.toast-progress{background:var(--accent-dark)}
.free-cash-action{color:#6552b8}
.free-cash-action>i:last-child,.freecash-icon>i:last-child{color:#5b61bb}
.online-dot{background:#5489d8}
.tool-icon.green{background:#ecebff;color:#5656b5}
[data-theme="dark"] .tool-icon.green{background:#35345f;color:#c4c3ff}

/* Make scrolling and screen changes cheaper on mobile GPUs. */
html{scroll-behavior:auto;scroll-padding-top:72px}
body{-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}
.topbar,.bottom-nav{backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--surface)}
.view{animation:none;contain:layout style}
.account-card,.address-card,.order-card,.dish-card,.cart-line{content-visibility:auto;contain-intrinsic-size:auto 92px}
.restaurant-card{content-visibility:auto;contain-intrinsic-size:auto 220px}
.toast{will-change:transform;transition:transform .18s cubic-bezier(.2,.8,.2,1)}
.button,.card-action,.icon-button,.account-select,.filter-tab,.nav-item,.category-chip,.dish-add{transition:background-color .12s ease,color .12s ease,border-color .12s ease,transform .12s ease}
.button:active,.card-action:active,.icon-button:active,.filter-tab:active,.nav-item:active,.category-chip:active,.dish-add:active{transform:scale(.97)}
.map-wrap,#addressMap{overscroll-behavior:contain}
@media(max-width:520px){
  .topbar{height:63px}
  .brand-copy strong{font-size:17px}
  .main-content{padding-top:20px}
  .page-heading h1,.subpage-heading h1{font-size:23px}
  .page-subtitle{font-size:12.5px}
  .eyebrow{font-size:10px}
  .account-card,.address-card,.order-card{padding:11px;gap:8px}
  .card-title{font-size:12.5px}
  .card-sub{font-size:10.5px}
  .status-pill{font-size:8.5px}
  .nav-item{font-size:9px;gap:4px}
  .nav-item i{font-size:15px}
  .restaurant-content b{font-size:12px}
  .restaurant-meta,.restaurant-cuisine{font-size:9.5px}
  .action-card b{font-size:11px}
  .action-card small{font-size:9.5px}
  .bottom-nav{height:calc(70px + env(safe-area-inset-bottom));padding-bottom:calc(8px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){
  .toast{will-change:auto}
  .button:active,.card-action:active,.icon-button:active,.filter-tab:active,.nav-item:active,.category-chip:active,.dish-add:active{transform:none}
}


/* SwiggyPelo v4: compact account layout, smoother view transitions and safe mobile sizing. */
.main-content,
.main-content > .view,
#view-accounts,
#accountsList,
#view-accounts .stack-list {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#view-accounts {
  padding-top: 2px;
}

#view-accounts .login-panel {
  margin-top: 0;
}

.account-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.card-main,
.card-actions {
  min-width: 0;
}

/* The active view eases in without animating layout or causing reflow. */
.view.active {
  animation: swiggy-view-enter 220ms cubic-bezier(.2,.72,.25,1) both;
}
@keyframes swiggy-view-enter {
  from { opacity: 0; transform: translate3d(7px, 0, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 640px) {
  .main-content {
    padding: 12px 12px 24px;
    overflow-x: clip;
  }

  #view-accounts .account-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas:
      "avatar main"
      "actions actions";
    align-items: center;
    gap: 9px 10px;
    padding: 11px;
  }

  #view-accounts .account-card > .avatar {
    grid-area: avatar;
  }

  #view-accounts .account-card > .card-main {
    grid-area: main;
    min-width: 0;
    width: 100%;
  }

  #view-accounts .card-actions {
    grid-area: actions;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    gap: 6px;
  }

  #view-accounts .card-action {
    width: 100%;
    min-width: 0;
    height: 36px;
    border-radius: 10px;
  }

  #view-accounts .account-select {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    padding: 6px 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
  }

  #view-accounts .card-title {
    max-width: 100%;
  }

  #view-accounts .card-sub {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 350px) {
  #view-accounts .card-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }
  #view-accounts .card-action,
  #view-accounts .account-select {
    height: 34px;
    min-height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .view.active { animation: none; }
}

/* Isolated Claim Offers module styling. */
.claim-offers-status{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:var(--surface-2);color:var(--brand-2);font-size:11px;font-weight:800}
.claim-offers-description{margin:12px 0;color:var(--muted);font-size:13px;line-height:1.55}
.claim-offers-note{display:grid;gap:4px;padding:12px;margin:0 0 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}
.claim-offers-note b{font-size:13px;color:var(--ink)}
.claim-offers-note small{font-size:11px;color:var(--muted);line-height:1.5}
.claim-offers-note code{font-size:10px;color:var(--brand-2)}


/* SwiggyPelo v5 — card-wide account selection and offer-first restaurant filters. */
#view-accounts .account-card[data-account-card]{
  cursor:pointer;
  transition:border-color .14s ease,background-color .14s ease,transform .14s ease;
}
#view-accounts .account-card[data-account-card]:hover{
  border-color:color-mix(in srgb,var(--brand-2) 45%,var(--line));
}
#view-accounts .account-card[data-account-card]:focus-visible{
  outline:2px solid var(--accent-dark);
  outline-offset:3px;
}
#view-accounts .status-pill.fresh{
  background:#e3f7e8;
  color:#218447;
}
#view-accounts .status-pill.fresh i{color:#218447}
#view-accounts .card-action.fresh-action{
  color:#218447;
  background:#e8f7ec;
  border-color:#b9e5c5;
}
#view-accounts .card-action.fresh-action:hover{background:#d9f2e0;color:#176d38}
[data-theme="dark"] #view-accounts .status-pill.fresh{
  background:#183d29;
  color:#83e5a1;
}
[data-theme="dark"] #view-accounts .status-pill.fresh i{color:#83e5a1}
[data-theme="dark"] #view-accounts .card-action.fresh-action{
  color:#83e5a1;
  background:#1b3a2a;
  border-color:#326c48;
}

.search-filter-panel{display:grid;gap:10px;margin:2px 0 16px}
.distance-filter{
  width:100%;min-height:58px;padding:10px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;
  border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);text-align:left;
  transition:border-color .14s ease,background-color .14s ease;
}
.distance-filter-copy{display:flex;align-items:center;gap:10px;min-width:0}
.distance-filter-copy>i{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:11px;background:var(--surface-3);color:var(--brand-2);font-size:14px}
.distance-filter-copy>span{display:grid;gap:2px;min-width:0}
.distance-filter-copy strong{font-size:13px;font-weight:800}
.distance-filter-copy small{font-size:10.5px;color:var(--muted)}
.distance-switch{width:42px;height:24px;flex:none;border-radius:999px;background:var(--surface-3);border:1px solid var(--line);padding:3px;transition:background-color .16s ease,border-color .16s ease}
.distance-switch>span{display:block;width:16px;height:16px;border-radius:50%;background:var(--muted);transition:transform .16s ease,background-color .16s ease}
.distance-filter.active{border-color:var(--brand-2);background:color-mix(in srgb,var(--brand-2) 7%,var(--surface))}
.distance-filter.active .distance-switch{background:var(--brand-2);border-color:var(--brand-2)}
.distance-filter.active .distance-switch>span{transform:translateX(17px);background:#fff}
.offer-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.offer-filter{
  min-width:0;min-height:76px;padding:10px 8px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;
  border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--muted);text-align:left;
  transition:background-color .14s ease,border-color .14s ease,color .14s ease,transform .14s ease;
}
.offer-filter>i{width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:var(--surface-3);color:var(--brand-2);font-size:12px}
.offer-filter>span{display:grid;gap:1px;min-width:0}
.offer-filter b{font-size:12px;line-height:1.15;color:var(--ink);white-space:nowrap}
.offer-filter small{font-size:9px;line-height:1.2;color:var(--muted);white-space:nowrap}
.offer-filter.active{border-color:var(--accent-dark);background:color-mix(in srgb,var(--accent) 18%,var(--surface));color:var(--brand-2);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent-dark) 22%,transparent)}
.offer-filter.active>i{background:var(--brand);color:#fff}
.offer-filter.active b{color:var(--brand-2)}
[data-theme="dark"] .offer-filter.active>i{background:var(--accent-dark);color:#241b24}
.result-toolbar{margin-top:15px}
@media(max-width:380px){
  .offer-filter-grid{gap:6px}
  .offer-filter{padding:9px 6px;min-height:72px}
  .offer-filter b{font-size:11px}
  .offer-filter small{font-size:8.5px}
}
@media(prefers-reduced-motion:reduce){
  #view-accounts .account-card[data-account-card],.distance-filter,.distance-switch,.distance-switch>span,.offer-filter{transition:none}
}

/* Mobile card action controls now use four equal action slots; no Switch button. */
@media(max-width:640px){
  #view-accounts .card-actions{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media(max-width:350px){
  #view-accounts .card-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;}
  #view-accounts .card-action{height:34px;min-height:34px;}
}

/* Extra-narrow phones: keep the account switcher and theme control inside the header. */
@media(max-width:350px){
  .topbar{padding-left:9px;padding-right:9px;gap:6px}
  .brand{gap:6px;min-width:0}
  .brand-mark{width:31px;height:31px;flex:none}
  .brand-mark svg{width:30px;height:30px}
  .brand-copy{min-width:0}
  .brand-copy strong{font-size:15px}
  .brand-copy small{font-size:7px;letter-spacing:.8px}
  .topbar-actions{gap:5px;min-width:0}
  .account-switch{max-width:100px;padding:0 7px;gap:5px;font-size:9px}
  .account-switch span:nth-child(2){max-width:61px}
  .topbar-actions>.icon-button{width:34px;height:34px;flex:none}
}

/* SwiggyPelo v6 — remove mobile tap flashes and keep all feedback lightweight. */
#view-accounts .account-card[data-account-card],
#view-accounts .account-card[data-account-card] * {
  -webkit-tap-highlight-color: transparent;
}
#view-accounts .account-card[data-account-card] {
  background: var(--surface);
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
#view-accounts .account-card[data-account-card]:active {
  background: var(--surface);
  transform: none;
}
#view-accounts .account-card[data-account-card]:focus:not(:focus-visible) {
  outline: none;
}
#view-accounts .card-action {
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  box-shadow: none;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 140ms cubic-bezier(.2,.8,.2,1);
}
#view-accounts .card-action:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}
#view-accounts .card-action:active {
  transform: scale(.94);
  background: var(--surface-3);
  box-shadow: none;
}
#view-accounts .card-action.danger:active {
  color: var(--danger);
}

/* Fast, consistent touch feedback for the rest of the interface. */
button, a, [role="button"] {
  -webkit-tap-highlight-color: transparent;
}
.tool-card, .action-card, .restaurant-card, .order-open, .modal-option,
.account-switch, .back-button, .dish-add, .qty-control button {
  transition: transform 140ms cubic-bezier(.2,.8,.2,1),
              background-color 140ms ease,
              border-color 140ms ease,
              color 140ms ease;
  touch-action: manipulation;
}
.tool-card:active, .action-card:active, .restaurant-card:active,
.order-open:active, .modal-option:active, .account-switch:active,
.back-button:active, .dish-add:active, .qty-control button:active {
  transform: scale(.985);
}

/* Short, quiet page entrance: fade + a tiny vertical movement only. */
.view.active {
  animation: swiggy-view-enter 180ms cubic-bezier(.2,.72,.25,1) both;
  backface-visibility: hidden;
}
@keyframes swiggy-view-enter {
  from { opacity: 0; transform: translate3d(0, 6px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
#restaurantMenuView:not([hidden]), #searchLanding:not([hidden]) {
  animation: swiggy-view-enter 170ms cubic-bezier(.2,.72,.25,1) both;
}

@media (hover: hover) and (pointer: fine) {
  #view-accounts .card-action:hover { filter: brightness(1.03); }
  .tool-card:hover, .action-card:hover, .restaurant-card:hover { border-color: color-mix(in srgb, var(--brand-2) 28%, var(--line)); }
}
@media (prefers-reduced-motion: reduce) {
  .view.active, #restaurantMenuView:not([hidden]), #searchLanding:not([hidden]) { animation: none; }
  .tool-card, .action-card, .restaurant-card, .order-open, .modal-option,
  .account-switch, .back-button, .dish-add, .qty-control button,
  #view-accounts .card-action { transition: none; }
  .tool-card:active, .action-card:active, .restaurant-card:active,
  .order-open:active, .modal-option:active, .account-switch:active,
  .back-button:active, .dish-add:active, .qty-control button:active,
  #view-accounts .card-action:active { transform: none; }
}

/* Pointer taps should not leave a browser focus wash; keyboard focus remains visible. */
button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* SwiggyPelo v7 — compact page headers and clean restaurant-menu entry. */
.main-content {
  padding-top: 10px;
}
.compact-page-heading {
  min-height: 42px;
  margin: 0 0 11px;
  gap: 10px;
}
.compact-page-heading > div {
  min-width: 0;
}
.compact-page-heading h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}
.compact-page-heading .heading-icon {
  width: 39px;
  height: 39px;
  border-radius: 13px;
  flex: 0 0 39px;
}
.address-page-heading {
  margin-bottom: 11px;
}
.address-page-heading h1 {
  font-size: 18px;
  letter-spacing: -.2px;
}
.saved-address-heading {
  margin: 14px 0 9px;
}
.saved-address-heading h2 {
  font-size: 15px;
}
.search-page-heading {
  margin-bottom: 9px;
}
#searchLanding > .delivery-location-card {
  margin-bottom: 10px;
}
.result-toolbar {
  margin-top: 11px;
  margin-bottom: 8px;
}
#view-cart .compact-page-heading,
#view-orders .compact-page-heading,
#view-tools .compact-page-heading {
  margin-bottom: 11px;
}
#view-tools .tools-grid {
  margin-top: 0;
}

/* Restaurant menu: only a back control, a cover/offer banner and the menu. */
.menu-back-row {
  display: flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 8px;
}
.menu-back-row .back-button {
  width: 34px;
  height: 34px;
}
.restaurant-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 156px;
  padding: 13px 15px;
  margin: 0 0 12px;
  border: 1px solid color-mix(in srgb, var(--brand-2) 13%, var(--line));
  border-radius: 17px;
  background: linear-gradient(125deg, #f6e0c9, #fff1de 54%, #e7e4ff);
  color: #29213b;
}
.restaurant-cover::before,
.restaurant-cover::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.restaurant-cover::before {
  width: 205px;
  height: 205px;
  right: -52px;
  bottom: -115px;
  background: rgba(255,255,255,.42);
}
.restaurant-cover::after {
  width: 125px;
  height: 125px;
  right: 36px;
  top: 25px;
  background: rgba(255,255,255,.22);
}
.restaurant-cover.cover-pink { background: linear-gradient(125deg, #f5d9d4, #f9e9e2 55%, #f4d8e9); }
.restaurant-cover.cover-blue { background: linear-gradient(125deg, #d8e8ef, #edf4f4 55%, #e4e2ff); }
.restaurant-cover.cover-green { background: linear-gradient(125deg, #dcebd7, #eff4e7 55%, #e3e8ff); }
.restaurant-cover.cover-purple { background: linear-gradient(125deg, #e8ddf3, #f3eaf7 55%, #e4e5ff); }
.cover-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.cover-offer,
.cover-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 25px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #4d3769;
  font-size: 10px;
  font-weight: 800;
}
.cover-rating i { color: #d28b25; }
.cover-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-top: 9px;
  position: relative;
  z-index: 1;
}
.cover-food-art {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 25px;
  background: rgba(255,255,255,.53);
  box-shadow: 0 7px 20px rgba(57,42,72,.08);
  font-size: 56px;
}
.cover-copy { min-width: 0; }
.cover-copy h1 {
  margin: 0;
  color: #29213b;
  font: 800 19px/1.15 var(--heading);
  letter-spacing: -.35px;
}
.cover-cuisine {
  margin: 4px 0 0;
  color: #5e526c;
  font-size: 10px;
  font-weight: 700;
}
.cover-description {
  margin: 5px 0 0;
  color: #685d72;
  font-size: 9px;
  line-height: 1.35;
}
.cover-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  color: #4e435e;
  font-size: 9px;
  font-weight: 800;
}
#restaurantMenuView .menu-filter-row {
  margin-bottom: 12px;
}
#restaurantMenuView .menu-sections {
  padding-bottom: 8px;
}

@media (max-width: 640px) {
  .main-content { padding: 8px 12px 24px; }
  .compact-page-heading { min-height: 38px; margin-bottom: 9px; }
  .compact-page-heading h1 { font-size: 21px; }
  .compact-page-heading .heading-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .address-page-heading h1 { font-size: 17px; }
  .saved-address-heading { margin-top: 12px; }
  .restaurant-cover { min-height: 148px; padding: 11px 12px; }
  .cover-food-art { width: 76px; height: 76px; flex-basis: 76px; border-radius: 21px; font-size: 47px; }
  .cover-main { gap: 10px; }
  .cover-copy h1 { font-size: 17px; }
  .cover-description { font-size: 8.5px; }
}
@media (max-width: 360px) {
  .cover-food-art { width: 66px; height: 66px; flex-basis: 66px; font-size: 41px; }
  .cover-copy h1 { font-size: 16px; }
  .cover-description { display: none; }
}


/* Optional backend-supplied restaurant cover photos; demo artwork remains the fallback. */
.restaurant-cover.has-photo { background: #252238; color: #fff; }
.restaurant-cover .cover-photo { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; }
.restaurant-cover .cover-photo-shade { position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(18,16,30,.84),rgba(18,16,30,.52) 58%,rgba(18,16,30,.22)); opacity:0; pointer-events:none; }
.restaurant-cover.has-photo .cover-photo-shade { opacity:1; }
.restaurant-cover.has-photo .cover-copy h1,
.restaurant-cover.has-photo .cover-cuisine,
.restaurant-cover.has-photo .cover-description,
.restaurant-cover.has-photo .cover-time { color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.25); }
.restaurant-cover.has-photo .cover-food-art { background:rgba(255,255,255,.9); }

/* SwiggyPelo v8 — expanded cart flow, matching the requested checkout structure. */
.cart-view { padding-bottom: 10px; }
.cart-toolbar { gap: 10px; flex-wrap: wrap; }
.cart-details { display: grid; gap: 12px; padding-bottom: 112px; }
.cart-address-select {
  width: 100%; min-width: 0; display: flex; align-items: center; gap: 11px;
  padding: 13px; text-align: left; color: var(--ink); cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .16s ease, transform .16s ease, background .16s ease;
}
.cart-address-select:active { transform: scale(.992); }
.cart-address-icon, .cart-option-icon {
  width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center;
  border-radius: 14px; color: #39b8ef; background: color-mix(in srgb,#39b8ef 13%,var(--surface-2)); font-size: 17px;
}
.cart-address-copy, .cart-option-copy { min-width: 0; flex: 1; display: grid; gap: 2px; }
.cart-address-copy b, .cart-option-copy b { color: var(--ink); font-size: 14px; font-weight: 800; }
.cart-address-copy small, .cart-option-copy small { color: var(--muted); font-size: 11.5px; line-height: 1.35; }
.cart-chevron { color: var(--muted); font-size: 14px; margin-left: 4px; }
.cart-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 3px 0; }
.cart-section-heading h2 { margin: 0; font: 800 17px/1.2 var(--heading); color: var(--ink); }
.cart-section-heading .muted-label { max-width: 60%; font-size: 11px; text-align: right; }
.cart-items { display: grid; gap: 10px; }
.cart-order-card { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 13px; box-shadow: var(--shadow); }
.cart-order-restaurant { display: flex; align-items: center; gap: 10px; min-width: 0; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.cart-restaurant-art { width: 54px; height: 54px; flex: 0 0 54px; display: grid; place-items: center; border-radius: 15px; background: var(--surface-3); font-size: 30px; }
.cart-restaurant-copy { min-width: 0; flex: 1; display: grid; gap: 3px; }
.cart-restaurant-copy b { font: 800 14px/1.2 var(--heading); color: var(--ink); overflow-wrap: anywhere; }
.cart-restaurant-copy small { color: var(--muted); font-size: 11px; }
.cart-clear-restaurant { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border: 0; border-radius: 12px; color: var(--danger); background: color-mix(in srgb,var(--danger) 12%,var(--surface-2)); }
.cart-dishes { display: grid; gap: 0; }
.cart-dish-row { display: grid; grid-template-columns: 14px minmax(0,1fr) auto auto; align-items: center; gap: 9px; min-width: 0; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.cart-dish-row:last-child { border-bottom: 0; }
.cart-veg-mark { width: 13px; height: 13px; border: 1.5px solid #2b9d60; display: grid; place-items: center; border-radius: 3px; }
.cart-veg-mark i { width: 5px; height: 5px; border-radius: 50%; background: #2b9d60; }
.cart-veg-mark.is-nonveg { border-color: #d66b55; }
.cart-veg-mark.is-nonveg i { background: #d66b55; }
.cart-dish-copy { min-width: 0; display: grid; gap: 2px; }
.cart-dish-copy b { color: var(--ink); font-size: 13px; line-height: 1.25; overflow-wrap: anywhere; }
.cart-dish-copy small { color: var(--muted); font-size: 10.5px; }
.cart-dish-row .qty-control { height: 34px; border-radius: 10px; border-color: color-mix(in srgb,#20a66b 34%,var(--line)); background: color-mix(in srgb,#20a66b 12%,var(--surface)); }
.cart-dish-row .qty-control button { width: 29px; height: 32px; color: #21a66c; font-size: 17px; }
.cart-dish-row .qty-control span { min-width: 20px; font-size: 12px; color: var(--ink); }
.cart-dish-total { min-width: 43px; text-align: right; white-space: nowrap; font-size: 13px; color: var(--ink); }
.cart-cooking-request { width: 100%; display: flex; align-items: center; gap: 7px; padding: 10px 0 1px; border: 0; border-top: 1px dashed var(--line); background: transparent; color: var(--brand-2); font-size: 12px; font-weight: 800; text-align: left; }
.cart-cooking-request span { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.cart-cooking-request i:last-child { color: var(--muted); font-size: 10px; }
.cart-coupon-card, .cart-one-card { padding: 12px; border-radius: 16px; }
.cart-option-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cart-option-icon { width: 40px; height: 40px; flex-basis: 40px; }
.coupon-icon { color: #36b8ef; }
.cart-option-action { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; border: 0; background: transparent; color: var(--brand-2); font-size: 12px; font-weight: 800; padding: 8px 2px 8px 8px; }
.cart-option-action i { font-size: 11px; }
.cart-coupon-editor { display: flex; gap: 8px; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); }
.cart-coupon-editor input { min-width: 0; flex: 1; height: 42px; padding: 0 12px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; font-size: 13px; }
.cart-coupon-editor .button { min-width: 80px; }
.cart-coupon-editor[hidden] { display: none !important; }
.cart-one-card { display: flex; align-items: center; gap: 11px; }
.one-logo { width: 54px; height: 54px; flex: 0 0 54px; display: grid; place-items: center; border-radius: 15px; background: #fff3e7; color: #e68b37; font: 900 18px var(--heading); }
.cart-option-copy em { display: inline-flex; margin-left: 5px; padding: 2px 7px; border-radius: 999px; background: color-mix(in srgb,#ed8a3a 15%,var(--surface-2)); color: #de8532; font-size: 11px; font-style: normal; }
.cart-one-card .button { min-width: 68px; min-height: 40px; background: #43bce9; border-color: transparent; color: #fff; font-size: 13px; }
.cart-one-card .button.one-added { background: color-mix(in srgb,#22a66d 15%,var(--surface)); border-color: color-mix(in srgb,#22a66d 40%,var(--line)); color: #24a36b; }
.bill-panel { padding: 14px; margin-top: 0; border-radius: 18px; }
.bill-panel h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 0 0 12px; }
.bill-panel h3 > i { color: #39b8ef; }
.bill-refresh { margin-left: auto; width: 30px; height: 30px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); }
.bill-row { align-items: center; font-size: 12px; margin: 9px 0; }
.bill-row > b { color: var(--ink); font-size: 12px; white-space: nowrap; }
.bill-row small { font-size: 10px; color: var(--muted); }
.bill-row.total { margin-top: 12px; padding-top: 12px; font-size: 16px; }
.bill-row.total > b { font-size: 18px; }
.bill-discount, .bill-discount > b { color: #26a86e !important; }
.free-label { color: #25a66c; font-weight: 800; }
.cart-payment-panel { padding: 14px; border-radius: 18px; }
.cart-payment-title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 800 15px var(--heading); }
.cart-payment-title i { color: #39b8ef; }
.cart-pay-option { position: relative; min-width: 0; display: flex; align-items: center; gap: 11px; padding: 11px; margin: 8px 0 0; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-2); cursor: pointer; transition: border-color .16s ease, background .16s ease; }
.cart-pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.cart-pay-option.selected { border: 2px solid #21ad83; padding: 10px; background: color-mix(in srgb,#21ad83 8%,var(--surface)); }
.cart-pay-icon { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb,#39b8ef 12%,var(--surface-3)); color: #39b8ef; font-size: 19px; }
.cart-pay-copy { flex: 1; min-width: 0; display: grid; gap: 3px; }
.cart-pay-copy b { color: var(--ink); font-size: 13px; }
.cart-pay-copy small { color: var(--muted); font-size: 11px; line-height: 1.3; }
.cart-pay-check { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 50%; color: transparent; font-size: 11px; }
.cart-pay-option.selected .cart-pay-check { border-color: #20ae83; background: #20ae83; color: #fff; }
.cart-pay-option.unavailable { opacity: .46; cursor: not-allowed; }
.cart-action-bar { position: fixed; z-index: 24; left: 50%; bottom: calc(67px + env(safe-area-inset-bottom) + 9px); transform: translateX(-50%); width: min(calc(100% - 22px),720px); min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; border: 1px solid var(--line); border-radius: 19px; background: color-mix(in srgb,var(--surface) 95%,transparent); box-shadow: 0 9px 30px rgba(0,0,0,.18); }
.cart-action-bar[hidden] { display: none !important; }
.cart-action-total { min-width: 0; display: grid; gap: 2px; }
.cart-action-total small { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .6px; }
.cart-action-total b { color: var(--ink); font: 800 18px var(--heading); }
.cart-checkout-button { min-width: 168px; min-height: 52px; height: 52px; border-radius: 14px; background: #11a978 !important; color: #fff !important; box-shadow: 0 8px 20px rgba(17,169,120,.22); font-size: 14px; }
.cart-checkout-button:active { transform: scale(.985); }
.payment-option-disabled { opacity: .48; cursor: not-allowed; }
.modal-helper-text { margin: 0 0 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
@media (max-width: 520px) {
  .cart-details { gap: 10px; padding-bottom: 112px; }
  .cart-address-select { padding: 11px; }
  .cart-address-copy b, .cart-option-copy b { font-size: 13px; }
  .cart-address-copy small, .cart-option-copy small { font-size: 10.5px; }
  .cart-restaurant-art { width: 48px; height: 48px; flex-basis: 48px; font-size: 27px; }
  .cart-order-card { padding: 11px; }
  .cart-dish-row { grid-template-columns: 13px minmax(0,1fr) auto; gap: 8px; }
  .cart-dish-total { grid-column: 3; grid-row: 2; font-size: 11px; padding-right: 3px; }
  .cart-dish-row .qty-control { grid-column: 3; grid-row: 1; }
  .cart-dish-copy b { font-size: 12px; }
  .cart-one-card { gap: 9px; padding: 10px; }
  .one-logo { width: 46px; height: 46px; flex-basis: 46px; font-size: 16px; }
  .cart-one-card .button { min-width: 60px; padding: 0 10px; }
  .cart-pay-option { gap: 9px; padding: 9px; }
  .cart-pay-option.selected { padding: 8px; }
  .cart-pay-icon { width: 40px; height: 40px; flex-basis: 40px; font-size: 17px; }
  .cart-pay-copy b { font-size: 12px; }
  .cart-pay-copy small { font-size: 10px; }
  .cart-action-bar { min-height: 70px; padding: 9px 10px 9px 13px; border-radius: 17px; }
  .cart-checkout-button { min-width: 148px; min-height: 48px; height: 48px; font-size: 13px; }
}
@media (max-width: 360px) {
  .cart-dish-row { grid-template-columns: 12px minmax(0,1fr) auto; gap: 6px; }
  .cart-checkout-button { min-width: 132px; padding: 0 10px; }
  .cart-action-total b { font-size: 16px; }
}
@media (max-width: 520px) {
  .group-panel-copy b { font-size: 12.5px; }
  .group-panel-copy small { font-size: 10px; }
  .incognito-toggle b { font-size: 10.5px; }
  .incognito-toggle small { font-size: 9.5px; }
  .muted-label { font-size: 9.5px; }
}


/* ==================== SWIGGYPELO PRODUCTION ADDITIONS (THEME-CONSISTENT) ==================== */
.browser-login-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--bg);
  display: grid;
  place-items: center;
  padding: 22px;
}
.browser-login-overlay[hidden] { display: none !important; }
.browser-login-card {
  width: 100%;
  max-width: 410px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  display: grid;
  gap: 14px;
}
.browser-login-card .brand { justify-content: center; margin-bottom: 4px; }
.browser-login-card h1 { font: 800 19px var(--heading); margin: 0; text-align: center; }
.browser-login-card p { margin: 0; color: var(--muted); font-size: 12px; text-align: center; line-height: 1.5; }
.access-key-panel {
  margin-top: 18px;
  padding: 15px;
  display: grid;
  gap: 10px;
}
.access-key-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line);
  background: var(--surface-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .5px;
  user-select: all;
}
.access-key-actions {
  display: flex;
  gap: 8px;
}
.account-address-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .4px;
  background: color-mix(in srgb, #21ad83 16%, transparent);
  color: #178a67;
  margin-left: 6px;
}
[data-theme="dark"] .account-address-badge {
  background: color-mix(in srgb, #44d3a4 18%, transparent);
  color: #6ce3bb;
}
.distance-slider-box {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.distance-slider-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.distance-slider-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.distance-slider-controls input[type="range"] {
  flex: 1;
  accent-color: var(--brand);
  cursor: pointer;
}
.distance-range-pill {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 58px;
  text-align: center;
}
.coupon-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  margin-bottom: 10px;
  scroll-snap-type: x mandatory;
}
.coupon-carousel::-webkit-scrollbar { height: 4px; }
.coupon-slide-card {
  flex: 0 0 230px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}
.coupon-slide-card b {
  font-size: 12px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.coupon-slide-card small {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.35;
}
.coupon-code-pill {
  display: inline-block;
  width: fit-content;
  margin-top: 2px;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  background: var(--surface-3);
  color: var(--brand);
}
.cart-closed-banner {
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--danger) 13%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent);
  color: var(--danger);
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
}
.coupon-list-item {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.coupon-list-item.applicable {
  border-color: #21ad83;
  background: color-mix(in srgb, #21ad83 8%, var(--surface));
}
.upi-qr-box {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.upi-qr-frame {
  padding: 12px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5ebe2;
  display: grid;
  place-items: center;
}
.tools-horizontal-stack {
  display: grid;
  gap: 11px;
}
.tool-horizontal-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow);
}
.tool-horizontal-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.tool-horizontal-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}
.tool-horizontal-copy b { font-size: 13.5px; color: var(--ink); }
.tool-horizontal-copy small { font-size: 11px; color: var(--muted); }
.dish-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
}
[data-theme="dark"] .dish-qty-stepper { color: #111914; }
.dish-qty-stepper button {
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 900;
  font-size: 14px;
  padding: 0 4px;
}
.dish-thumb {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  flex: none;
  background: var(--surface-3);
}
