.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.shop { padding-block: 24px 24px; }
.intro { max-width: 640px; display: grid; gap: 10px; }
.intro h1 { font-size: clamp(44px, 9vw, 76px); text-wrap: balance; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 24px; align-items: start; }
@media (min-width: 900px) { .layout { grid-template-columns: minmax(0, 1fr) 340px; } .cart { position: sticky; top: 76px; } .mobile-only { display: none; } }

.cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.cats button { border: 1px solid var(--cacao); background: transparent; color: var(--crema-2); border-radius: 999px; padding: 7px 16px; font-weight: 600; cursor: pointer; }
.cats button[aria-pressed="true"] { background: var(--crema); color: var(--tinta); border-color: var(--crema); }
.cat-title { font-family: var(--display); font-size: 30px; letter-spacing: .05em; margin: 18px 0 10px; color: var(--tostado); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.soon { border: 1px dashed var(--cacao); border-radius: var(--r); padding: 22px 18px; display: grid; gap: 4px; }
.soon .display { font-size: 28px; color: var(--crema); }
.item { background: var(--tinta-2); border: 1px solid var(--cacao); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.item .ph { aspect-ratio: 4 / 3; background: var(--tinta-3); display: grid; place-items: center; }
.item .ph img { width: 100%; height: 100%; object-fit: cover; }
.item .ph .can { font-family: var(--display); font-size: 34px; color: var(--cacao); letter-spacing: .06em; }
.item .body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.item h3 { font-size: 17px; font-weight: 700; }
.item p { margin: 0; font-size: 14px; color: var(--crema-2); flex: 1; }
.item .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.price { font-weight: 700; font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; gap: 4px; }
.qty button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--cacao); background: var(--tinta-3); cursor: pointer; font-weight: 700; font-size: 18px; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }

.cart-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cart h2, .modal h2 { font-size: 30px; letter-spacing: .05em; }
.lines { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.line { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.line.total { border-top: 1px dashed var(--cacao); padding-top: 10px; font-weight: 700; }
.line .tabnum { white-space: nowrap; }
@media (max-width: 899px) {
  .cart { position: fixed; inset: auto 0 0 0; z-index: 40; border-radius: 18px 18px 0 0; max-height: 80vh; overflow: auto; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateY(105%); transition: transform .25s ease; }
  .cart.open { transform: none; }
}
.mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--tinta-2); border-top: 1px solid var(--cacao); }
@media (min-width: 900px) { .mobilebar { display: none !important; } }

.checkout { margin-top: 24px; display: grid; gap: 14px; max-width: 720px; }
.checkout form { display: grid; gap: 14px; }
.map-tools { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 10px; }
.search { display: flex; gap: 6px; flex: 1; min-width: 220px; }
.map-wrap { position: relative; }
.map { height: 340px; border-radius: 12px; border: 1px solid var(--cacao); z-index: 0; overflow: hidden; }
.pin { position: absolute; left: 50%; top: 50%; width: 34px; height: 46px; transform: translate(-50%, -100%); pointer-events: none; z-index: 2; }
.pin span { position: absolute; inset: 0 0 12px 0; background: var(--tostado); border: 3px solid var(--tinta); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 4px 10px rgb(0 0 0 / .35); }
.pin span::after { content: ""; position: absolute; width: 10px; height: 10px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--tinta); border-radius: 50%; }
.pin::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 10px; height: 4px; transform: translateX(-50%); background: rgb(0 0 0 / .35); border-radius: 50%; }
.map-hint { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); background: var(--tinta); color: var(--crema); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; pointer-events: none; z-index: 2; white-space: nowrap; }
.map.touched ~ .map-hint { display: none; }
.search .gplace { width: 100%; color-scheme: light; }
.quote { margin-top: 10px; }
.quote b { color: var(--crema); }
.summary { margin: 16px 0 12px; display: flex; flex-direction: column; gap: 8px; }
.btn.big { font-size: 17px; min-height: 52px; }

.modal { position: fixed; inset: 0; z-index: 60; background: rgb(0 0 0 / .65); display: grid; place-items: center; padding: 16px; }
.modal-card { background: var(--crema); color: var(--tinta); border-radius: 16px; padding: 18px; width: min(460px, 100%); max-height: 92vh; overflow: auto; }
.modal-card .muted { color: #5b514b; }
.modal-card .btn.ghost { color: var(--tinta); border-color: #bdb6a4; }
.leaflet-container { font: inherit; background: var(--tinta-3); }
.item.soldout .ph { filter: grayscale(1); opacity: .6; }
