/* Restaurant-only presentation: no changes to commerce, cart or checkout rules. */
.public-store.public-restaurant-store .public-market-benefits { display: none; }
.public-store.public-restaurant-store .restaurant-quick-quantity { display:flex; align-items:center; gap:8px; margin-left:auto; background:#eff5f0; border-radius:12px; padding:4px; }
.public-store.public-restaurant-store .restaurant-quick-quantity button { flex:0 0 auto; width:38px; min-height:38px; height:38px; padding:0; margin:0; border:0; border-radius:9px; font:700 23px/1 system-ui,sans-serif; display:grid; place-items:center; background:var(--public-primary); color:white; }
.public-store.public-restaurant-store .restaurant-quick-quantity button:disabled { opacity:.45; color:white; cursor:not-allowed; }
.restaurant-quick-quantity output { min-width:20px; text-align:center; font-size:15px; font-weight:800; }
.public-restaurant-store { background: #f7f9f7; color: #17372b; padding-bottom: 92px; font-family: Manrope, Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
.public-restaurant-store .public-market-brand strong, .public-restaurant-store .public-card-price strong { font-family: inherit; }
.public-restaurant-store .public-cover { min-height: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 12px 40px #123d2410; }
.public-restaurant-store .public-cover-inner { padding: 32px; gap: 22px; align-items: center; }
.public-restaurant-store .public-cover h1 { font-family: inherit; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -1.4px; overflow-wrap: anywhere; }
.public-restaurant-store .public-cover p { max-width: 660px; line-height: 1.65; font-size: 15px; }
.public-restaurant-store .public-logo { width: 92px; height: 92px; min-width: 92px; border-radius: 22px; }
.public-restaurant-store .public-market-categories { position: sticky; top: 0; z-index: 35; gap: 8px; background: #ffffffed; backdrop-filter: blur(12px); border-bottom: 1px solid #e4ebe5; padding-block: 12px; }
.public-restaurant-store .public-market-categories button { border-radius: 999px; padding: 10px 18px; white-space: nowrap; font-weight: 650; }
.public-restaurant-store .public-market-categories button.active { background: var(--public-primary); color: white; }
.public-restaurant-store .public-contact { margin-top: 12px; border-radius: 18px; box-shadow: none; gap: 18px; }
.public-restaurant-store .public-contact-address { min-width: 0; }
.public-restaurant-store .public-contact-link b { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.55; max-width: none; }
.public-restaurant-store .public-catalog-title { margin-block: 30px 18px; }
.public-restaurant-store .public-catalog-title h2 { font-family: inherit; font-size: clamp(23px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.8px; }
.public-store.public-restaurant-store .public-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.public-store.public-restaurant-store :is(input,select,textarea,button,.public-catalog-filters label,.public-catalog-filters small) { font-family: inherit; }
.public-restaurant-store .public-product-card { display: flex; flex-direction: column; height: 100%; padding: 0; border: 1px solid #e0e8e1; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 4px 16px #143c2606; transition: box-shadow .18s, transform .18s; }
.public-restaurant-store .public-product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #143c2612; }
.public-restaurant-store .public-product-image { aspect-ratio: 4 / 3; background: #edf2ec; width: 100%; flex-shrink: 0; }
.public-restaurant-store .public-product-image > img { width: 100%; height: 100%; object-fit: cover; object-position: center; padding: 0; background: #edf2ec; }
.public-restaurant-store .public-product-card > div:last-child { flex: 1; display: flex; flex-direction: column; align-items: stretch; padding: 18px; gap: 8px; }
.public-restaurant-store .public-product-card h3 { font-family: inherit; font-size: 17px; line-height: 1.4; font-weight: 750; text-align: left; height: auto; min-height: 0; margin: 0; letter-spacing: -.3px; }
.public-card-description { color: #68796f; font-size: 13px; line-height: 1.6; margin: 0; white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.public-restaurant-store .public-product-card footer { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.public-restaurant-store .public-card-price { align-items: flex-start; min-height: 0; }
.public-restaurant-store .public-product-card footer strong { font-size: 20px; line-height: 1.3; }
.public-restaurant-store .public-product-card footer button { width: auto; flex: 1 0 100%; border-radius: 10px; min-height: 42px; font-size: 13px; font-weight: 750; }
.public-restaurant-store .public-product-actions { right: 10px; top: 10px; gap: 6px; }
.public-restaurant-store .public-product-actions button { background: #fffffff2; box-shadow: 0 2px 9px #142c2420; }
.public-restaurant-store .public-floating-cart { border-radius: 16px; min-width: 280px; box-shadow: 0 8px 32px #123d2430; bottom: 20px; }
/* The old direct-child selector positioned BOTH buttons at the top-right. */
.public-qr-modal > button[aria-label="Fechar"] { position: absolute; inset: 16px 16px auto auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #dce5df; background: #f1f5f2; color: #244735; padding: 8px; }
.public-store .public-qr-modal > button.public-add-button { position: static; inset: auto; max-width: none; width: 100%; height: auto; min-height: 46px; margin: 8px auto 0; display: flex; align-items: center; justify-content: center; gap: 8px; font: 750 14px/1.4 Manrope,system-ui,sans-serif; padding: 14px 18px; border-radius: 12px; background: var(--public-primary,#176b4d); color: white; border: 0; }
.public-qr-modal > .public-add-button svg { width: 20px; height: 20px; flex-shrink: 0; }
.public-qr-modal { width: min(430px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 34px 30px 28px; border: 1px solid #e0e8e1; box-shadow: 0 24px 90px #0c2a3430; }
.public-qr-modal h2 { font-family: inherit; font-weight: 800; letter-spacing: -.5px; font-size: 24px; }
.public-qr-modal p { font-size: 14px; line-height: 1.65; }
.public-qr-modal > img { width: min(264px,100%); padding: 12px; border: 1px solid #e5ebe6; border-radius: 16px; background: white; }
.public-restaurant-store button:focus-visible, .public-qr-modal button:focus-visible { outline: 3px solid #e8833a; outline-offset: 3px; }
@media (max-width: 1000px) { .public-store.public-restaurant-store .public-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; } }
@media (max-width: 700px) {
 .public-store.public-restaurant-store .public-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
 .public-restaurant-store .public-cover:not(.public-cover-has-image) .public-cover-inner { padding: 24px 18px; gap: 14px; display: flex; flex-direction: row; align-items: center; }
 .public-restaurant-store .public-cover h1 { letter-spacing: -.7px; font-size: 25px; }
 .public-restaurant-store .public-logo { width: 64px; height: 64px; min-width: 64px; border-radius: 16px; }
 .public-restaurant-store .public-product-card > div:last-child { padding: 12px; gap: 6px; }
 .public-restaurant-store .public-product-card h3 { font-size: 15px; }
 .public-restaurant-store .public-product-card footer strong { font-size: 18px; }
 .public-restaurant-store .public-card-description { font-size: 12px; line-height: 1.55; }
 .public-restaurant-store .public-contact { padding: 16px; }
 .public-restaurant-store .public-floating-cart { left: 12px; right: 12px; bottom: max(12px,env(safe-area-inset-bottom)); min-width: 0; }
 .public-qr-modal { min-height: 0; border-radius: 22px; display: block; padding: 30px 22px 22px; }
}
@media (prefers-reduced-motion: reduce) { .public-restaurant-store .public-product-card { transition: none; } .public-restaurant-store .public-product-card:hover { transform: none; } }
