/* Modelo "Moderno": topo com logo sobreposta, cartões com sombra, botão Pedir, títulos em faixa. Só vale com data-layout=moderno. */
body[data-layout=moderno] .restaurant.card{padding:0 0 16px;overflow:hidden;text-align:left;border-radius:22px}
body[data-layout=moderno] .restaurant.card::before{content:"";display:block;height:150px;background:var(--capa,none) center/cover no-repeat,linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 55%,#000))}
body[data-layout=moderno] .restaurant>*:not(.restaurant-logo){margin-left:16px;margin-right:16px}
body[data-layout=moderno] .restaurant-logo{display:block;width:96px;height:96px;max-width:none;margin:-48px 0 4px 16px;border-radius:50%;object-fit:cover;border:3px solid #fff;background:#fff;position:relative}
body[data-layout=moderno] .restaurant-title{justify-content:flex-start}
body[data-layout=moderno] .restaurant-title h1{font-size:1.5rem;margin:10px 0}
body[data-layout=moderno] .badges{justify-content:flex-start}
body[data-layout=moderno] .badges .enc-badge{background:var(--accent);color:#fff;font-weight:700}
body[data-layout=moderno] .search.card{border-radius:14px;padding:14px 16px}
body[data-layout=moderno] .search input{border:2px solid var(--accent);border-radius:12px}
body[data-layout=moderno] #categories button{border-radius:14px;padding:10px 18px;min-height:44px}
body[data-layout=moderno] .category-title{background:var(--accent);color:#fff;text-align:center;border-radius:14px;margin:6px 0 12px;padding:12px 16px;font-size:1.45rem}
body[data-layout=moderno] .product-grid{gap:14px}
body[data-layout=moderno] .product{align-items:flex-start;border:0;box-shadow:0 2px 10px rgba(0,0,0,.14);padding:12px;gap:14px}
body[data-layout=moderno] .product img{width:104px;height:96px;flex:0 0 104px;border-radius:14px}
body[data-layout=moderno] .product>div{flex:1;min-width:0;display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:10px}
body[data-layout=moderno] .product>div>*{grid-column:1/-1}
body[data-layout=moderno] .product>div>.price{grid-column:1}
body[data-layout=moderno] .product>div>.pedir-btn{grid-column:2}
body[data-layout=moderno] .product h3{font-size:1.05rem;margin:0 0 4px}
body[data-layout=moderno] .product p{margin:0 0 8px;font-size:.9rem;opacity:.8}
body[data-layout=moderno] .product .ver-mais{color:var(--text);font-weight:700;opacity:1}
body[data-layout=moderno] .product .pedir-btn{background:var(--accent);color:#fff;border-radius:10px;padding:8px 18px;font-weight:700;font-size:.95rem}
body[data-layout=moderno] .product.featured{box-shadow:0 0 0 2px var(--accent),0 2px 10px rgba(0,0,0,.14)}
@media(max-width:380px){body[data-layout=moderno] .product img{width:88px;height:84px;flex-basis:88px}}
body[data-layout=moderno] .restaurant.card.has-foto::before{position:static;display:block;height:150px;background:var(--foto-cab) center/cover no-repeat;opacity:var(--foto-cab-op,1)}
