/* OWDEX FOOD — E4.5 R1 | refinamento visual de vitrine, cardápio e fluxos de cliente.
   Estilos isolados. Não altera condições comerciais, dados ou lógica de pedido. */
:root{
 --food-r1-ink:#2a2421;
 --food-r1-muted:#766e68;
 --food-r1-line:#ece1da;
 --food-r1-ease:cubic-bezier(.22,1,.36,1);
 --food-r1-shadow:0 20px 55px rgba(61,39,29,.065),0 3px 12px rgba(61,39,29,.027);
 --food-r1-shadow-hover:0 27px 65px rgba(61,39,29,.115),0 5px 15px rgba(61,39,29,.045);
}
/* Âncoras do cardápio não podem ficar atrás do cabeçalho fixo. */
html{scroll-padding-top:108px}
#cardapio,#sobre,#ofertas,#resultados,#encontrar,.menu-category-section{scroll-margin-top:108px}
body:has(.marketplace-page),body:has(.shop-intro){background:#fcfaf8}
body:has(.marketplace-page) .site-header,body:has(.shop-intro) .site-header{
 background:rgba(255,253,251,.96);box-shadow:0 5px 25px rgba(50,30,22,.028);
 border-bottom:1px solid rgba(101,65,50,.10);
}
body:has(.marketplace-page) .header-row,body:has(.shop-intro) .header-row{min-width:0;gap:clamp(10px,2vw,25px)}
body:has(.shop-intro) .header-nav{gap:clamp(10px,1.7vw,25px);min-width:0}
body:has(.shop-intro) .header-nav a{transition:color .32s ease,background-color .32s ease}
body:has(.shop-intro) .header-nav a:hover{color:#d44c32}
body:has(.shop-intro) .header-nav a[href="#cardapio"]{color:#d14b32}
.food-market-header-search{max-width:540px;border-radius:15px;min-height:46px;background:#fff;border-color:#eee0d7;box-shadow:0 4px 16px rgba(72,38,23,.03)}
.food-market-header-search input{font-size:14px}
.food-address-top{max-width:min(260px,26vw);border-radius:14px;min-height:45px;box-shadow:0 3px 11px #4d35230a}
.food-address-top strong{overflow:hidden;text-overflow:ellipsis}
/* Vitrine editorial — calor e profundidade sem banners fictícios. */
.food-market-home.container{max-width:1290px;padding-top:25px;padding-bottom:70px}
.food-market-home .marketplace-welcome{
 position:relative;display:grid;grid-template-columns:minmax(0,1.33fr) minmax(285px,.8fr);
 align-items:stretch;gap:16px;margin:0 0 21px;padding:0;border-radius:27px;
}
.food-market-home .marketplace-welcome>.food-home-copy,
.food-market-home .marketplace-welcome>div:first-child{
 display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
 padding:clamp(29px,4.4vw,60px);min-width:0;border:1px solid #f0e2d8;border-radius:27px;
 background:linear-gradient(124deg,#fffaf6 5%,#fff0e8 64%,#ffe5d6);
 box-shadow:0 15px 45px rgba(69,39,25,.035);overflow:hidden;
}
.food-market-home .marketplace-welcome .marketplace-kicker{font-size:11px;letter-spacing:.16em;color:#b94b32;margin-bottom:14px}
.food-market-home .marketplace-welcome h1{font-size:clamp(30px,4vw,51px);line-height:1.10;letter-spacing:-.058em;max-width:570px;font-weight:840;color:#2e2724}
.food-market-home .marketplace-welcome p{font-size:clamp(13px,1.3vw,16px);line-height:1.65;color:#75645b;max-width:470px;margin-top:17px}
.food-home-actions{display:flex;align-items:center;flex-wrap:wrap;gap:15px;margin-top:25px}
.food-home-primary{padding:14px 21px;border-radius:13px;font-size:14px;min-height:48px}
.food-home-available{font-size:12px;color:#805c4f;font-weight:680}
.food-home-visual{border:1px solid #e9d8cc;position:relative;isolation:isolate;min-height:286px;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;border-radius:27px;background:radial-gradient(circle at 50% 35%,#e8b38e 0%,#bb775a 60%,#8e5143 100%);color:#fff9f4}
.food-home-orbit{position:absolute;border:1px solid rgba(255,246,234,.21);border-radius:50%;width:320px;height:320px;top:-130px;right:-160px;pointer-events:none}
.food-home-orbit.orbit-two{width:370px;height:370px;top:110px;right:51%;border-color:rgba(255,246,234,.13)}
.food-home-visual-mark{width:88px;height:88px;display:grid;place-items:center;border-radius:25px;background:#ffffff20;backdrop-filter:blur(6px);box-shadow:inset 0 1px #ffffff40,0 20px 36px #39221f27;transform:rotate(-7deg)}
.food-home-visual-mark .icon{width:43px;height:43px;stroke-width:1.6}
.food-home-visual-copy{z-index:1;display:flex;align-items:center;flex-direction:column;text-align:center;gap:8px;padding:0 16px}
.food-home-visual-copy span{font-size:10px;letter-spacing:.22em;font-weight:800;color:#ffdeca}
.food-home-visual-copy strong{font-size:clamp(19px,2vw,28px);letter-spacing:-.045em;line-height:1.2}
.food-home-visual-copy small{font-size:13px;color:#ffe7d9}
.food-home-located{position:absolute;right:14px;bottom:14px;max-width:210px}
.food-market-home .marketplace-search.food-filter-strip{margin:0 0 33px;padding:15px 18px;border-radius:19px;border-color:#efe1d9;box-shadow:var(--food-r1-shadow);background:#fff}
.food-filter-strip .filter-chip{font-size:12px;min-height:43px;padding:10px 15px;border-radius:12px}
.food-filter-strip .food-more-filters>summary{min-height:43px}
.food-market-home .food-market-categories,.food-market-home .food-market-offers,.food-market-home .food-market-featured{margin-bottom:35px}
.food-market-home .food-market-section-header{margin-bottom:17px}
.food-market-home .food-market-section-header h2,.food-market-home .marketplace-heading h2{font-size:clamp(22px,2.5vw,29px);font-weight:820;letter-spacing:-.05em}
.food-market-home .food-market-section-header p,.food-market-home .marketplace-heading p{font-size:13px}
.food-market-category{min-height:120px;flex-basis:122px;border-radius:19px;box-shadow:0 6px 19px #52351d09;transition:transform .48s var(--food-r1-ease),box-shadow .48s var(--food-r1-ease),border-color .3s,background-color .3s}
.food-market-category span{width:61px;height:61px;border-radius:17px;font-size:30px;background:#fff0e7}
.food-market-category b{font-size:12px}
.food-market-category:hover{transform:translateY(-3px);box-shadow:0 15px 28px rgba(69,39,25,.095)}
/* Um único restaurante não deve parecer um item solto em página vazia. */
.food-market-home .marketplace-grid.is-single{grid-template-columns:minmax(0,830px)}
.food-market-home .marketplace-grid.is-single .marketplace-card,
.food-market-home .marketplace-card{
 border-radius:20px;border:1px solid #ecdfd8;box-shadow:var(--food-r1-shadow);
 transition:transform .46s var(--food-r1-ease),box-shadow .46s var(--food-r1-ease),border-color .32s ease;
}
.food-market-home .marketplace-grid.is-single .marketplace-card{grid-template-columns:minmax(180px,35%) minmax(0,1fr);min-height:210px}
.food-market-home .marketplace-grid.is-single .marketplace-card-image{min-height:210px}
.food-market-home .marketplace-grid.is-single .marketplace-card-body{padding:20px 23px;gap:9px}
.food-market-home .marketplace-grid.is-single .marketplace-card-body h3{font-size:clamp(19px,2vw,24px);line-height:1.17}
.food-market-home .marketplace-grid.is-single .marketplace-card-body>p{font-size:13px;max-height:none;min-height:0;-webkit-line-clamp:2}
.food-market-home .marketplace-grid.is-single .marketplace-card-tags span{font-size:11px;padding:6px 9px}
.food-market-home .marketplace-grid.is-single .marketplace-card-bottom{font-size:12px}
.food-market-home .marketplace-card-image img{transition:transform .68s var(--food-r1-ease)}
.food-market-home .marketplace-card:hover{transform:translateY(-4px);box-shadow:var(--food-r1-shadow-hover);border-color:#dfb8a4}
.food-market-home .marketplace-card:hover .marketplace-card-image img{transform:scale(1.045)}
.food-market-home .marketplace-empty{border-radius:22px;background:linear-gradient(120deg,#fff,#fff9f4)}
.food-market-home .food-market-offer{border-radius:19px;box-shadow:0 8px 20px rgba(50,32,25,.035)}
/* Cardápio: tipografia, cartões e densidade responsiva. */
.shop-intro{padding-top:25px;padding-bottom:55px}
.shop-intro .hero{border:1px solid #ead9ce;border-radius:28px;box-shadow:var(--food-r1-shadow);min-height:310px}
.shop-intro .hero-copy{padding:clamp(30px,4vw,57px);justify-content:center}
.shop-intro .hero h1{font-size:clamp(32px,4vw,54px);letter-spacing:-.055em;line-height:1.12}
.shop-intro .hero p{font-size:clamp(13px,1.3vw,15px);color:#745a4b;line-height:1.7}
.shop-intro .hero-art img{animation-duration:8s;will-change:auto}
.shop-intro .hero .btn{min-height:47px}
.shop-intro .section-heading{margin-top:44px;gap:16px}
.shop-intro .section-heading h2{font-size:clamp(25px,3vw,33px);letter-spacing:-.055em;line-height:1.2}
.shop-intro .section-heading p{font-size:14px;line-height:1.6}
.shop-intro .menu-category-section{margin-top:10px;margin-bottom:40px}
.shop-intro .menu-category-heading{margin-bottom:17px;padding-bottom:13px;border-bottom:1px solid #ebe3de}
.shop-intro .menu-category-heading h3{font-size:clamp(22px,2.4vw,27px);letter-spacing:-.055em}
.shop-intro .category-tabs{gap:9px;padding:5px 0 17px;margin-bottom:12px}
.shop-intro .category-tabs button{min-height:42px;padding:10px 17px;transition:background-color .3s ease,border-color .3s ease,transform .44s var(--food-r1-ease),box-shadow .44s var(--food-r1-ease)}
.shop-intro .category-tabs button:hover{transform:translateY(-2px);border-color:#e3b5a3;box-shadow:0 7px 15px #64392212}
.shop-intro .category-tabs button.active{box-shadow:0 7px 18px rgba(52,34,26,.16)}
.shop-intro .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.shop-intro .product-grid:has(>.product-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr));max-width:960px}
.shop-intro .product-grid:has(>.product-card:only-child){grid-template-columns:minmax(0,460px);max-width:460px}
.shop-intro .product-card{border-radius:23px;border-color:#ebded5;box-shadow:var(--food-r1-shadow);transition:transform .48s var(--food-r1-ease),box-shadow .48s var(--food-r1-ease),border-color .32s ease}
.shop-intro .product-card:hover{transform:translateY(-4px);box-shadow:var(--food-r1-shadow-hover);border-color:#ddb6a3}
.shop-intro .product-image{height:clamp(190px,19vw,234px);background:radial-gradient(ellipse at 46% 28%,#fffbf5,#f6e9dc 74%,#f2e1d5)}
.shop-intro .product-card:nth-child(3n+2) .product-image{background:radial-gradient(ellipse at 45% 26%,#fffaf5,#f4e5de 80%)}
.shop-intro .product-card:nth-child(3n) .product-image{background:radial-gradient(ellipse at 48% 25%,#fffaf1,#f6e9d9 80%)}
.shop-intro .product-image img{max-width:95%;max-height:95%;object-fit:contain;transition:transform .75s var(--food-r1-ease)}
.shop-intro .product-card:hover .product-image img{transform:scale(1.045)}
.shop-intro .product-image .bestseller{font-size:11px;border-radius:100px;background:#302720;color:#fff9f5;padding:8px 12px;box-shadow:0 6px 15px #34251c24;border:0}
.shop-intro .product-content{padding:22px;gap:3px}
.shop-intro .product-content h3{font-size:18px;letter-spacing:-.042em;line-height:1.3}
.shop-intro .product-content p{font-size:13px;line-height:1.65;color:#736963;min-height:50px;margin:6px 0 13px}
.shop-intro .product-foot{padding-top:13px;border-top:1px solid #f1e9e3}
.shop-intro .price{font-size:20px}
.shop-intro .add-round{width:45px;height:45px;border-radius:14px;transition:background-color .32s ease,color .32s ease,transform .43s var(--food-r1-ease),box-shadow .43s var(--food-r1-ease)}
.shop-intro .add-round:hover{transform:translateY(-2px);box-shadow:0 8px 19px #dc54352f}
/* Endereço e mapas: clareza, rolagem natural e áreas tocáveis. */
.food-address-scrim{background:rgba(27,23,21,.52);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}
.food-address-modal{width:min(625px,100%);border:1px solid #eee1d9;border-radius:25px;box-shadow:0 32px 90px rgba(38,24,19,.20);background:#fffdfb}
.food-address-modal-head{padding:24px 26px 21px;background:linear-gradient(180deg,#fffdfb,#fff8f4);border-color:#f0e4dd}
.food-address-modal-head h2{font-size:clamp(22px,3vw,28px);line-height:1.2}
.food-address-modal-body{padding:21px 26px 27px}
.food-address-form{gap:16px}
.food-address-form input,.food-address-form select{font-size:16px;min-height:48px;border-radius:13px;background:#fff;border-color:#e6dcd6;transition:border-color .3s ease,box-shadow .3s ease,background-color .3s ease}
.food-address-form input:focus,.food-address-form select:focus{outline:none;border-color:#d98e74;box-shadow:0 0 0 4px #e35b3519}
.food-address-find .btn,.food-address-modal .btn{min-height:43px}
.food-address-suggestions button{min-height:47px;border-radius:12px;background:#fff;text-align:left;transition:background .3s ease,transform .35s var(--food-r1-ease),border-color .3s ease}
.food-address-suggestions button:hover{background:#fff3ec;border-color:#e6bbab;transform:translateX(2px)}
.food-address-use{min-height:66px}
.food-checkout-address-quick{padding:14px;border-radius:15px}
.food-map-shell{border-radius:16px;overscroll-behavior:contain}
/* Carrinho, detalhes do produto e finalização. */
.scrim{background:rgba(30,24,22,.50);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}
.dialog{border:1px solid #eee0d8;background:#fffdfb;border-radius:25px;box-shadow:0 32px 90px #2319142e}
.dialog-body{background:#fffdfb}
.dialog-body h2{font-size:clamp(23px,3vw,30px);line-height:1.2}
.dialog-body>p{font-size:14px;color:var(--food-r1-muted)}
.choice-list,.payment-choice,.food-r14-extras{border-radius:16px}
.choice{min-height:47px;gap:10px}
.dialog .modal-actions{background:linear-gradient(180deg,rgba(255,253,251,.95),#fffdfb);border-top:1px solid #f0e8e2;padding-top:14px}
.sidepanel{background:#fffdfb;border-left:1px solid #eee1d8;width:min(495px,100%)}
.sidepanel .panel-head{padding:25px 24px 20px;background:linear-gradient(180deg,#fff8f3,#fffdfb);border-color:#efe4dc}
.sidepanel .panel-head h2{font-size:25px;line-height:1.2}
.sidepanel .panel-scroll{padding:18px 23px;overscroll-behavior:contain}
.sidepanel .line-item{padding:17px 0;border-color:#f0e8e1;align-items:center}
.sidepanel .thumb{border-radius:15px;overflow:hidden;background:#fff2e8}
.sidepanel .panel-bottom{padding:19px 23px max(24px,env(safe-area-inset-bottom));background:#fffdfb;box-shadow:0 -8px 22px rgba(50,35,25,.035)}
.sidepanel .mini-btn,.sidepanel .btn{min-height:38px}
.checkout-methods,.payment-grid{gap:10px}
.radio-tile,.payment-option{border-radius:14px;transition:border-color .3s,background-color .3s,box-shadow .3s}
/* Entrada e conta: tranquilidade, foco e nenhuma troca brusca. */
.login-page{background:#fcfaf8}
.login-design{background:linear-gradient(140deg,#e9ac81,#a95b46 75%,#7f4037)}
.login-form-wrap{background:#fffdfb}
.login-form{max-width:465px}
.login-form h1{font-size:clamp(29px,3.6vw,39px);line-height:1.15;letter-spacing:-.055em}
.login-form>.muted{font-size:14px;line-height:1.65;margin-top:12px}
.login-form .field,.account-auth-form .field{margin-top:15px}
.login-form input,.account-auth-form input{min-height:49px;border-radius:13px;background:#fff;border:1px solid #e5ddd6;font-size:16px;transition:border-color .3s ease,box-shadow .3s ease}
.login-form input:focus,.account-auth-form input:focus{outline:none;border-color:#d88c72;box-shadow:0 0 0 4px #e35b351a}
.login-form .btn.primary,.account-auth-form .btn.primary{min-height:49px}
.account-auth{border-radius:24px;border:1px solid #ebdfd7;box-shadow:var(--food-r1-shadow);overflow:hidden}
.account-auth-form{background:#fffdfb}
.account-tabs button{transition:color .3s ease,background-color .3s ease,box-shadow .3s ease}
/* Controles comuns, hover/foco com desaceleração (não cortar efeitos). */
:where(.food-market-home,.shop-intro,.food-address-modal,.account-area,.login-form,.dialog,.sidepanel) :is(.btn,.food-address-use,.food-address-delete,.dialog-close,.favorite-button,.mini-btn,.add-round){transition:transform .42s var(--food-r1-ease),background-color .32s ease,color .32s ease,border-color .32s ease,box-shadow .42s var(--food-r1-ease),opacity .32s ease}
:where(.food-market-home,.shop-intro,.food-address-modal,.account-area,.login-form,.dialog,.sidepanel) button:active:not(:disabled){transform:scale(.975);transition-duration:130ms}
:where(.food-market-home,.shop-intro,.food-address-modal,.account-area,.login-form,.dialog,.sidepanel) :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid #d85639;outline-offset:3px}
@media(min-width:1100px){.shop-intro .hero{grid-template-columns:55% 45%}}
@media(max-width:1000px){
 .food-market-home .marketplace-welcome{grid-template-columns:minmax(0,1.3fr) minmax(250px,.7fr)}
 .food-market-home .marketplace-welcome>.food-home-copy,.food-market-home .marketplace-welcome>div:first-child{padding:30px}
 .food-home-visual{min-height:260px}
 .shop-intro .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .shop-intro .product-grid:has(>.product-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
 html{scroll-padding-top:115px}
 #cardapio,#sobre,#ofertas,#resultados,#encontrar,.menu-category-section{scroll-margin-top:115px}
 .food-market-home.container{padding:14px 16px 55px}
 .food-market-home .marketplace-welcome{grid-template-columns:1fr;gap:9px;margin-bottom:17px}
 .food-market-home .marketplace-welcome>.food-home-copy,.food-market-home .marketplace-welcome>div:first-child{padding:25px 22px;border-radius:21px}
 .food-market-home .marketplace-welcome h1{font-size:clamp(29px,7vw,39px)}
 .food-market-home .marketplace-welcome p{font-size:13px;margin-top:12px}
 .food-home-actions{margin-top:19px;gap:12px}
 .food-home-primary{min-height:45px;padding:11px 16px}
 .food-home-visual{min-height:125px;border-radius:19px;flex-direction:row;justify-content:flex-start;padding:17px 20px;gap:17px}
 .food-home-visual-mark{width:53px;height:53px;border-radius:15px;flex:none}
 .food-home-visual-mark .icon{width:26px;height:26px}
 .food-home-visual-copy{align-items:flex-start;text-align:left;gap:4px;padding:0}
 .food-home-visual-copy strong{font-size:18px}
 .food-home-visual-copy small{font-size:11px}
 .food-market-home .marketplace-search.food-filter-strip{padding:11px;border-radius:16px;margin-bottom:25px}
 .food-market-category{min-height:103px;flex-basis:106px}
 .food-market-category span{width:51px;height:51px;font-size:26px}
 .food-market-home .marketplace-grid.is-single{grid-template-columns:minmax(0,1fr)}
 .food-market-home .marketplace-grid.is-single .marketplace-card{grid-template-columns:110px minmax(0,1fr);min-height:160px;border-radius:17px}
 .food-market-home .marketplace-grid.is-single .marketplace-card-image{min-height:160px}
 .food-market-home .marketplace-grid.is-single .marketplace-card-body{padding:12px;gap:6px}
 .food-market-home .marketplace-grid.is-single .marketplace-card-body h3{font-size:17px}
 .food-market-home .marketplace-grid.is-single .marketplace-card-body>p{font-size:11px}
 .food-market-home .marketplace-grid.is-single .marketplace-card-tags span{font-size:10px;padding:4px 6px}
 .shop-intro{padding:12px 16px 45px}
 .shop-intro .hero{border-radius:21px;min-height:0}
 .shop-intro .hero-copy{padding:25px 23px}
 .shop-intro .hero h1{font-size:clamp(29px,7.5vw,40px)}
 .shop-intro .section-heading{margin-top:30px;align-items:flex-start;flex-direction:column}
 .shop-intro .section-heading h2{font-size:28px}
 .shop-intro .search-wrap{width:100%;min-width:0}
 .shop-intro .product-grid,.shop-intro .product-grid:has(>.product-card:nth-child(2):last-child),.shop-intro .product-grid:has(>.product-card:only-child){grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;gap:10px}
 .shop-intro .product-card{border-radius:16px}
 .shop-intro .product-image{height:clamp(132px,37vw,185px)}
 .shop-intro .product-content{padding:13px}
 .shop-intro .product-content h3{font-size:15px}
 .shop-intro .product-content p{font-size:12px;line-height:1.5;min-height:53px}
 .shop-intro .price{font-size:17px}
 .shop-intro .add-round{width:39px;height:39px;border-radius:12px}
 .food-address-modal{border-radius:20px;max-height:calc(100dvh - 14px)}
 .food-address-modal-head{padding:18px 17px}
 .food-address-modal-body{padding:17px}
 .food-address-form input,.food-address-form select{font-size:16px}
 .sidepanel .panel-head,.sidepanel .panel-bottom{padding-left:18px;padding-right:18px}
 .sidepanel .panel-scroll{padding:15px 18px}
 .login-form-wrap{padding-block:max(20px,env(safe-area-inset-top))}
}
@media(max-width:390px){
 .shop-intro .product-grid,.shop-intro .product-grid:has(>.product-card:nth-child(2):last-child),.shop-intro .product-grid:has(>.product-card:only-child){grid-template-columns:minmax(0,1fr)}
 .shop-intro .product-image{height:190px}
 .food-market-home .marketplace-grid.is-single .marketplace-card{grid-template-columns:95px minmax(0,1fr)}
 .food-home-available{font-size:11px}
 .food-home-visual{padding:14px}
 .food-address-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
/* Acessibilidade: a preferência do sistema remove movimento; demais usuários conservam os efeitos. */
@media(prefers-reduced-motion:reduce){
 .food-market-home .marketplace-card,.food-market-home .marketplace-card-image img,
 .food-market-category,.shop-intro .product-card,.shop-intro .product-image img,
 .shop-intro .category-tabs button,.shop-intro .add-round,
 :where(.food-market-home,.shop-intro,.food-address-modal,.account-area,.login-form,.dialog,.sidepanel) :is(.btn,.favorite-button,.mini-btn,.add-round){transition:none;animation:none;transform:none}
 .shop-intro .hero-art img{animation:none}
}
/* O banner do restaurante já tem fundo escuro nas versões anteriores: descrição legível. */
.shop-intro .hero p{color:#f3e4dc;font-weight:470}
