:root{--ref-purple:#7516df;--ref-red:#d40812;--ref-text:#25252a;--ref-muted:#696b71;--ref-border:#e9e9ec}
body[data-page="menu-reference"]{background:#f5f5f7;color:var(--ref-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
body[data-page="menu-reference"] button,body[data-page="menu-reference"] input{font:inherit}
.preview-ribbon{position:relative;z-index:5;background:#4d175e;color:#fff;text-align:center;padding:7px 12px;font-size:10px;font-weight:800;letter-spacing:.08em}
.delivery-app{width:min(100%,760px);margin:0 auto;background:#fff;min-height:100vh;box-shadow:0 0 32px rgba(27,20,36,.06);padding-bottom:84px}
.store-cover{height:260px;position:relative;overflow:hidden;background:#1b1326;display:flex;align-items:flex-start;justify-content:flex-end;gap:10px;padding:20px}
.store-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 49%;opacity:.98}
.cover-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,7,18,.1),transparent 70%,rgba(13,7,18,.15))}
.cover-icon{position:relative;z-index:1;width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:rgba(17,12,24,.72);color:white}
.cover-icon svg{width:23px;height:23px;stroke-width:1.7}
.store-card{position:relative;margin:-26px 16px 0;background:#fff;border:1px solid #e4e4e7;border-radius:26px;padding:74px 26px 0;min-height:205px}
.store-logo{position:absolute;top:-58px;left:50%;transform:translateX(-50%);height:112px;width:112px;border:4px solid white;border-radius:50%;background:#4c155e;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 3px 10px #0002}
.store-logo span{font-size:38px;line-height:.9;color:#ffc54a}
.store-logo strong{font-size:12px;letter-spacing:.07em;margin-top:7px}
.store-card h1{font-size:28px;letter-spacing:-.035em;line-height:1.15;margin:0 0 10px}
.store-card>p{color:var(--ref-muted);font-size:15px;margin:0 0 6px;line-height:1.4}
.store-card .store-fee{display:flex;align-items:center;gap:8px;width:max-content;font-weight:700;color:#247d53;background:#e9f8ef;border-radius:999px;padding:7px 11px;margin-top:10px}
.store-card .store-fee:before{content:"";width:8px;height:8px;border-radius:50%;background:#32bd76;flex:none}
.store-fee small,.store-status small{font-size:12px;color:#898990;font-weight:500}
.store-status{border-top:1px solid var(--ref-border);margin:22px -26px 0;padding:19px 26px;display:flex;align-items:center;gap:12px;color:#247d53;font-size:15px;font-weight:700}
.open-dot{display:block;width:10px;height:10px;background:#20b773;border-radius:50%;flex:none}
.catalog-home{padding:30px 18px 28px}
.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}
.section-title h2{font-size:22px;line-height:1.2;letter-spacing:-.03em;margin:0}
.section-title button{border:0;background:none;color:var(--ref-purple);font-size:14px;font-weight:750;padding:5px}
.category-tiles{display:flex;gap:12px;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:7px}
.category-tiles::-webkit-scrollbar,.featured-list::-webkit-scrollbar,.menu-tabs::-webkit-scrollbar{display:none}
.category-tiles button{border:0;flex:0 0 134px;min-height:132px;border-radius:17px;background:#f6f6f7;padding:12px 9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;scroll-snap-align:start;color:#2d2d32}
.category-tiles img{width:78px;height:73px;object-fit:contain;border-radius:9px}
.category-tiles span{font-size:14px;font-weight:700;line-height:1.15;text-align:center}
.featured-title{margin-top:29px}
.featured-list{display:flex;gap:13px;overflow:auto;scrollbar-width:none;padding-bottom:6px;scroll-snap-type:x mandatory}
.featured-card{border:0;background:#fff;flex:0 0 190px;text-align:left;padding:0 0 9px;scroll-snap-align:start}
.featured-card img{width:100%;height:142px;object-fit:cover;border-radius:14px;background:#f3f3f3}
.featured-card strong{display:block;color:var(--ref-red);font-size:17px;margin:9px 0 1px}
.featured-card span{display:block;color:#33343a;font-size:14px;font-weight:650;line-height:1.25}
.menu-area{padding-bottom:50px}
.menu-top{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 18px 11px}
.menu-top h2{margin:0;font-size:24px;letter-spacing:-.025em}
.menu-top>div{display:flex;gap:8px}
.round-action{width:38px;height:38px;border:0;border-radius:50%;background:#f1f1f2;color:#44454b;display:grid;place-items:center}
.round-action svg{width:21px;height:21px}
.menu-search{padding:0 18px 10px}
.menu-search input{width:100%;height:44px;border:1px solid #dedee2;border-radius:10px;padding:0 13px;outline:0;background:#fff;color:#222}
.menu-search input:focus{border-color:var(--ref-purple)}
.menu-tabs{position:sticky;top:0;z-index:4;display:flex;gap:24px;overflow:auto;scrollbar-width:none;background:#fff;border-bottom:1px solid #ededee;padding:0 18px;white-space:nowrap}
.menu-tab{border:0;border-bottom:3px solid transparent;background:#fff;padding:13px 0 11px;color:#38393e;font-size:16px;font-weight:750;flex:none}
.menu-tab.active{color:var(--ref-purple);border-bottom-color:var(--ref-purple)}
.menu-list-wrap{padding:32px 18px 0}
.menu-list-wrap h3{font-size:24px;line-height:1.2;margin:0;border-bottom:3px solid #e7e7ea;padding-bottom:13px;letter-spacing:-.025em}
.menu-list{display:grid}
.menu-row{width:100%;min-height:135px;border:0;border-bottom:2px solid #e7e7ea;background:#fff;padding:14px 0;display:grid;grid-template-columns:minmax(0,1fr) 118px;gap:18px;align-items:center;text-align:left;color:inherit}
.menu-row-copy{min-width:0}
.menu-row h4{font-size:18px;line-height:1.22;color:#55565b;margin:0 0 8px;font-weight:750}
.menu-row p{font-size:15px;line-height:1.35;color:#6f7075;margin:0}
.menu-row strong{display:block;font-size:14px;color:#303038;margin-top:8px}
.menu-row img{width:118px;height:108px;object-fit:cover;border-radius:9px;background:#f6f6f6}
.menu-empty{padding:30px 0;color:#777;text-align:center}
.bottom-nav{position:fixed;z-index:12;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,760px);height:75px;background:#fff;border-top:1px solid #ededf0;display:grid;grid-template-columns:repeat(3,1fr);box-shadow:0 -4px 16px #0000000a;padding-bottom:env(safe-area-inset-bottom)}
.bottom-nav a,.bottom-nav button{border:0;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;color:#828288;font-size:13px}
.bottom-nav svg{width:26px;height:26px;stroke-width:1.65}
.bottom-nav .active{color:var(--ref-purple)}
.nav-cart-icon{position:relative;display:block;height:27px}
.nav-cart-icon b{position:absolute;top:-5px;right:-13px;min-width:17px;height:17px;border-radius:50%;background:var(--ref-red);color:#fff;display:grid;place-items:center;font-size:10px;padding:0 3px}
.drawer-backdrop{position:fixed;z-index:40;inset:0;background:rgba(0,0,0,.55)}
.cart-drawer{position:fixed;z-index:41;right:0;top:0;bottom:0;width:min(520px,91vw);background:#fff;display:flex;flex-direction:column;box-shadow:-12px 0 40px #0003}
.cart-drawer-head{height:82px;flex:none;background:var(--ref-red);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 25px}
.cart-drawer-head>div{display:flex;gap:13px;align-items:center}
.cart-drawer-head strong{font-size:23px;font-weight:600}
.cart-drawer-head svg{width:24px;height:24px}
.cart-drawer-head button{border:0;background:none;color:#fff;font-size:33px;font-weight:200;line-height:1;width:40px;height:40px}
.cart-drawer-body{flex:1;overflow:auto;padding:23px 20px}
.cart-line{display:grid;grid-template-columns:72px 1fr 25px;gap:14px;background:#f8f8fa;border-radius:14px;padding:13px;margin-bottom:12px}
.cart-line img{width:72px;height:72px;object-fit:cover;border-radius:8px;background:#fff}
.cart-line-main{min-width:0}
.cart-line-main strong{font-size:15px;line-height:1.2;display:block;margin-bottom:5px}
.cart-line-main p{margin:0;color:#66676d;font-size:13px;line-height:1.4}
.cart-line-main b{display:block;margin-top:9px;font-size:15px}
.cart-remove{align-self:start;border:0;background:none;color:#2583dc;font-size:23px;line-height:1}
.cart-empty{text-align:center;color:#73737a;font-size:15px;padding:50px 15px}
.cart-drawer-foot{border-top:1px solid #e5e5e8;padding:18px 24px max(21px,env(safe-area-inset-bottom));background:#fff}
.coupon-row{display:flex;gap:9px;padding-bottom:18px;border-bottom:1px solid #e6e6e9}
.coupon-row input{min-width:0;flex:1;height:45px;padding:0 11px;border:1px solid #d8d9df;border-radius:9px;font-size:14px}
.coupon-row button{height:45px;padding:0 15px;border:0;border-radius:9px;background:var(--ref-red);color:#fff;font-size:14px;font-weight:750}
.cart-total{display:flex;justify-content:space-between;align-items:center;margin:21px 0;color:var(--ref-text);font-size:17px}
.cart-total strong:last-child{color:var(--ref-red)}
.cart-checkout{display:block;text-align:center;background:var(--ref-red);color:#fff;border-radius:10px;padding:15px;font-size:17px;font-weight:750}
.cart-drawer-foot small{display:block;text-align:center;font-size:12px;color:#777;margin-top:9px}
body[data-page="menu-reference"] .product-sheet{z-index:45;width:min(500px,calc(100% - 20px));border-radius:20px}
body[data-page="menu-reference"] .sheet-backdrop{z-index:44}
body[data-page="menu-reference"] .sheet-body h2{color:#2f3035}
body[data-page="menu-reference"] .sheet-actions .primary-button{background:var(--ref-red)}
body[data-page="menu-reference"] .option-list label:has(input:checked){border-color:var(--ref-purple);background:#f9f4ff}
body[data-page="menu-reference"] .option-list input{accent-color:var(--ref-purple)}
body[data-page="menu-reference"] .toast{z-index:60}
@media(max-width:650px){
  .store-cover{height:192px;padding:14px}
  .cover-icon{width:38px;height:38px}
  .cover-icon svg{width:20px;height:20px}
  .store-card{padding:58px 18px 0;margin:-19px 10px 0;border-radius:22px}
  .store-logo{width:92px;height:92px;top:-49px}
  .store-logo span{font-size:31px}
  .store-logo strong{font-size:10px}
  .store-card h1{font-size:24px}
  .store-card>p{font-size:14px}
  .store-status{margin:17px -18px 0;padding:15px 18px;font-size:14px}
  .catalog-home{padding:23px 12px 22px}
  .category-tiles button{flex-basis:116px;min-height:115px}
  .category-tiles img{width:66px;height:65px}
  .category-tiles span{font-size:12px}
  .featured-card{flex-basis:155px}
  .featured-card img{height:118px}
  .menu-top{padding:12px 14px}
  .menu-tabs{padding:0 14px;gap:23px}
  .menu-tab{font-size:15px}
  .menu-list-wrap{padding:26px 14px 0}
  .menu-list-wrap h3{font-size:22px}
  .menu-row{grid-template-columns:minmax(0,1fr) 95px;gap:12px;min-height:115px}
  .menu-row h4{font-size:16px}
  .menu-row p{font-size:13px}
  .menu-row img{width:95px;height:92px}
  .cart-drawer-head{height:68px;padding:0 18px}
  .cart-drawer-head strong{font-size:21px}
  .cart-drawer-body{padding:15px 12px}
  .cart-drawer-foot{padding:14px 14px max(17px,env(safe-area-inset-bottom))}
}

/* Cardápio: navegação por categorias e fotos em fundo branco. */
.store-cover{background:#fff}
.store-cover>img{object-fit:contain;object-position:center;background:#fff}
.cover-shade{display:none}
.cover-icon{background:#fff;color:#33343a;box-shadow:0 2px 12px #0000001a;border:1px solid #ececf0}
.store-logo{background:#fff;overflow:hidden}
.store-logo img{width:100%;height:100%;object-fit:contain;border-radius:50%}
.menu-area{padding-top:22px}
.menu-tab-shell{position:sticky;top:0;z-index:4;display:flex;align-items:stretch;background:#fff;border-bottom:1px solid #ededee;box-shadow:0 3px 8px #00000008}
.menu-tab-shell .menu-tabs{position:static;z-index:auto;flex:1;min-width:0;border:0;padding:0 9px;gap:23px}
.category-arrow{flex:none;width:34px;height:34px;align-self:center;margin:0 4px;border:0;border-radius:50%;background:#f5edff;color:var(--ref-purple);font-size:22px;line-height:1;display:grid;place-items:center;padding:0}
.category-arrow:disabled{color:#c8c8ce;cursor:default}
.category-section{padding:27px 18px 2px;scroll-margin-top:50px}
.category-section h2{font-size:22px;line-height:1.2;letter-spacing:-.03em;margin:0 0 15px;padding-bottom:11px;border-bottom:2px solid #e7e7ea}
.category-section+.category-section{padding-top:32px}
.category-section .featured-card img{object-fit:contain;background:#fff;border:1px solid #eeeeef}
.category-section .featured-card span{font-size:14px}
.category-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:2px solid #e7e7ea;margin-bottom:15px;padding-bottom:11px}
.category-heading h2{border:0;margin:0;padding:0}
.featured-controls{display:flex;gap:7px}
.featured-controls button{width:33px;height:33px;display:grid;place-items:center;border:0;border-radius:50%;background:#f5edff;color:var(--ref-purple);font-size:21px;line-height:1}
.featured-controls button:disabled{color:#c8c8ce;background:#f6f6f7;cursor:default}
.category-section .menu-row{min-height:132px}
.category-section .menu-row h3{font-size:18px;line-height:1.22;color:#55565b;margin:0 0 6px;font-weight:750}
.category-section .menu-row p{font-size:15px;line-height:1.35;color:#6f7075;margin:0}
.category-section .menu-row strong{font-size:14px;color:var(--ref-red);margin-top:8px}
.category-section .menu-row img{object-fit:contain;background:#fff;border:1px solid #f0f0f2}
.menu-search{scroll-margin-top:55px}
.cart-line img{object-fit:contain;background:#fff}
body[data-page="menu-reference"] .sheet-image{background:#fff}
@media(max-width:650px){
  .menu-area{padding-top:17px}
  .menu-tab-shell .menu-tabs{padding:0 4px;gap:18px}
  .category-arrow{width:32px;height:32px;margin:0 2px;font-size:21px}
  .category-section{padding:24px 12px 2px}
  .category-section h2{font-size:21px}
  .category-section .menu-row{min-height:116px;grid-template-columns:minmax(0,1fr) 95px;gap:12px}
  .category-section .menu-row h3{font-size:16px}
  .category-section .menu-row p{font-size:13px}
  .category-section .menu-row img{width:95px;height:92px}
}

/* Faixa vermelha curta, sem foto da barca; listas deslizam com o dedo. */
.store-cover{height:116px;background:#d40812;padding:14px}
.store-card{margin-top:-22px;padding-top:62px}
.store-logo{width:96px;height:96px;top:-49px}
.cover-icon{width:38px;height:38px}
.menu-area{padding-top:13px}
.menu-tab-shell .menu-tabs{width:100%;padding:0 18px;overflow-x:auto;touch-action:pan-x;overscroll-behavior-inline:contain}
.featured-list{touch-action:pan-x;overscroll-behavior-inline:contain}
.store-status.closed .open-dot{background:#d40812}
.store-status.closed #store-status-text{color:#b50c17}
.cart-checkout.is-closed{background:#a6a0a7;color:#fff;cursor:not-allowed}
.show-all{display:block;margin:13px 18px 0;border:1px solid #ecd7ee;border-radius:999px;background:#fff;color:var(--ref-purple);padding:8px 13px;font-size:12px;font-weight:750}
.show-all[hidden]{display:none}
.category-section{content-visibility:auto;contain-intrinsic-size:auto 520px}
.featured-photo,.menu-row-photo,.cart-line-photo{display:grid;place-items:center;overflow:hidden;background:#fff}
.featured-photo{width:100%;height:142px;border:1px solid #eeeef0;border-radius:14px}
.featured-photo img{width:100%;height:100%;object-fit:contain;border:0;border-radius:0}
.menu-row-photo{width:118px;height:108px;border:1px solid #f0f0f2;border-radius:9px}
.menu-row-photo img{width:100%;height:100%;object-fit:contain;border:0;border-radius:0}
.cart-line-photo{width:72px;height:72px;border-radius:8px}
.cart-line-photo img{width:100%;height:100%;object-fit:contain}
.photo-pending{display:grid;place-items:center;width:100%;height:100%;padding:8px;color:#aaa4ab;background:#fff;font-size:11px;text-align:center;line-height:1.2}
.featured-card .featured-photo{display:flex;align-items:center;justify-content:center}
.featured-card .photo-pending{display:flex;align-items:center;justify-content:center;height:100%}
.featured-card del,.menu-row del{color:#999;font-size:12px;font-weight:500;margin-left:5px}
.featured-card strong{font-size:14px;white-space:nowrap}
.featured-card>span:last-child{margin-top:3px}
.size-pending{margin:0 0 12px!important;color:#807880!important}
.size-waiting{border:1px dashed #e4d5e5;border-radius:10px;background:#fbf8fb;padding:12px;color:#746674;font-size:12px}
.sheet-actions .primary-button:disabled{background:#aaa4ab!important;color:#fff;cursor:not-allowed}
.price-options{display:grid;gap:8px;margin:10px 0 17px}
.price-options label{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #e6dce5;border-radius:10px;cursor:pointer}
.price-options label:has(input:checked){border-color:var(--ref-purple);background:#fbf7ff}
.price-options input{accent-color:var(--ref-purple)}
.price-options strong{margin-left:auto;color:var(--ref-red);display:flex;align-items:center;gap:6px}
.price-options del,.fixed-option del{color:#999;font-size:12px;font-weight:500}
.fixed-option{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 17px;padding:11px 12px;border:1px solid #e6dce5;border-radius:10px;background:#fff}
.fixed-option strong{color:var(--ref-red);display:flex;align-items:center;gap:6px}
.modifier-group{margin-top:18px;padding-top:2px}
.modifier-group+.modifier-group{border-top:1px solid #eeeef0;padding-top:14px}
.modifier-list{display:grid;gap:7px;margin-top:8px}
.modifier-list label{display:flex;align-items:center;gap:10px;min-height:46px;padding:10px 12px;border:1px solid #e6e6e9;border-radius:10px;background:#fff;cursor:pointer}
.modifier-list label:has(input:checked){border-color:#d40812;background:#fff7f7}
.modifier-list input{width:18px;height:18px;flex:none;accent-color:#d40812}
.modifier-list span{font-size:13px;line-height:1.25}
.modifier-list strong{margin-left:auto;color:#d40812;font-size:12px;white-space:nowrap}
.modifier-group .sheet-help{margin-top:2px;margin-bottom:0}
.sheet-actions{position:sticky;bottom:0;z-index:1;margin-inline:-24px;padding:14px 24px 0;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 13px)}
.original-price{color:var(--ref-red)!important;font-weight:750}
.sheet-image .photo-pending{font-size:13px}
@media(max-width:650px){
  .store-cover{height:88px;padding:10px}
  .store-card{margin-top:-18px;padding-top:51px}
  .store-logo{width:82px;height:82px;top:-42px}
  .cover-icon{width:34px;height:34px}
  .menu-area{padding-top:11px}
  .menu-tab-shell .menu-tabs{padding:0 12px;gap:20px}
  .featured-photo{height:118px}
  .menu-row-photo{width:95px;height:92px}
  .show-all{margin-left:12px}
  .modifier-list label{min-height:48px}
}

/* Taxa em texto simples e status logo abaixo, como na referência enviada. */
.store-card .store-fee{display:block;width:auto;background:transparent;border-radius:0;padding:0;margin:8px 0 0;color:#25252a;font-size:15px;font-weight:500}
.store-card .store-fee:before{display:none}
.store-status{color:#25252a;font-weight:500}
.store-status.closed{color:#b50c17}
.store-status.closed #store-status-text{color:#b50c17;font-weight:700}
