[hidden] { display: none !important; }
html { scroll-padding-top: 80px; }
body { background: var(--cor-creme); }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid #9a5900; outline-offset: 3px; }
.container { width: min(calc(100% - 32px), 1120px); }
.top, .intro, footer { background: #000; color: #fff; }
.top-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.top { position: sticky; top: 0; z-index: 1; }
.top-inner { min-height: 58px; border-bottom: 1px solid #333; }
.top-inner a { line-height: 0; }
.logo { display: block; }
.top .logo { width: clamp(128px, 34vw, 185px); }
.top .cart-open { border: 1px solid #555; border-radius: 10px; padding: 7px 9px 7px 12px; min-height: 44px; white-space: nowrap; background: #1b1b1b; color: #fff; font-size: .85rem; font-weight: 700; }
#cart-count { display: inline-grid; place-items: center; min-width: 24px; min-height: 24px; padding-inline: 4px; margin-left: 3px; border-radius: 20px; background: #ffcc00; color: #000; }
.intro { padding: 23px 0 18px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.9rem, 6vw, 3.75rem); letter-spacing: -.055em; line-height: 1.06; }
h1 span { color: #ffcc00; }
.sections { display: flex; gap: 6px; margin-top: 20px; width: min(100%, 440px); border: 1px solid #363636; background: #1b1b1b; padding: 4px; border-radius: 12px; }
.sections button { flex: 1; min-height: 44px; border: 0; border-radius: 8px; color: #fff; background: transparent; font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .045em; }
.sections button[aria-pressed="true"] { background: #ffcc00; color: #000; }
.catalog { min-height: 50vh; padding-block: 20px 44px; }
.catalog-head { display: grid; gap: 12px; }
h2 { letter-spacing: -.04em; font-size: clamp(1.5rem, 4vw, 2.25rem); }
.search { display: flex; gap: 9px; align-items: center; padding: 0 13px; background: #fff; border: 1px solid #d8d1c2; border-radius: 10px; color: #514d45; }
.search svg { flex: none; }
.search input { width: 100%; min-width: 0; min-height: 46px; padding: 0; border: 0; color: #171717; background: transparent; }
.categories { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 12px 10px; }
.categories:empty { margin: 0; }
.categories button { background: #fff; color: #171717; border: 1px solid #d8d1c2; border-radius: 30px; min-height: 44px; padding: 6px 11px; font-size: .8rem; font-weight: 700; }
.categories button[aria-pressed="true"] { background: #000; color: #fff; border-color: #000; }
#results { color: #60594d; font-size: .86rem; padding-block: 8px 12px; }
#results.empty-state { margin-top: 12px; padding: 18px 16px; background: #fff; border: 1px solid #e3dbcd; border-radius: 13px; }
.products { --product-image-height: 144px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; }
.product { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid #e3dbcd; border-radius: 13px; overflow: hidden; }
.product-media { flex: none; height: var(--product-image-height); margin: 6px 6px 0; background: #fff; border-bottom: 1px solid #f1ede5; }
.product-media img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 8px; }
.product-media-placeholder { display: grid; place-items: center; color: #60594d; font-size: .76rem; }
.product-body { display: flex; flex-direction: column; align-items: stretch; flex: 1; padding: 9px; gap: 8px; }
.product h3 { font-size: .9rem; line-height: 1.3; min-height: 2.6em; overflow-wrap: anywhere; }
.price { margin-top: auto; color: #504b43; font-size: .76rem; font-weight: 600; }
.product button { padding: 6px 3px; min-height: 44px; font-size: .78rem; }
.product button:disabled { background: #eeeae1; color: #514d45; }
footer { padding-block: 22px 90px; }
.footer-inner { flex-wrap: wrap; }
#store-info { display: grid; gap: 6px; font-size: .9rem; }
.store-hours { display: grid; gap: 3px; }
.cart-bar { position: fixed; bottom: 0; inset-inline: 0; z-index: 1; padding: 8px 16px max(8px, env(safe-area-inset-bottom)); background: #000; }
.cart-bar button { width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
dialog { border: 0; padding: 0; width: min(100%, 460px); max-width: 100%; height: 100%; height: 100dvh; max-height: 100%; margin: 0 0 0 auto; color: #171717; background: #fff; }
dialog::backdrop { background: #0009; }
body:has(dialog[open]) { overflow: hidden; }
.drawer { display: flex; flex-direction: column; height: 100%; }
.drawer-head, .drawer-bottom { padding: 16px; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e3dbcd; }
.close, .step { min-width: 44px; min-height: 44px; border: 1px solid #d8d1c2; border-radius: 8px; background: #fff; }
.close { font-size: 1.5rem; }
#cart-items { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 16px; }
.cart-item { display: grid; gap: 6px; padding-block: 12px; border-bottom: 1px solid #e3dbcd; }
.cart-item:first-child { padding-top: 0; }
.cart-item h3 { overflow-wrap: anywhere; }
.cart-item p, #checkout-note { font-size: .82rem; color: #504b43; }
.cart-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.clear, .remove { border: 0; color: #6a3026; background: transparent; padding: 6px; min-height: 44px; text-decoration: underline; }
.remove { margin-left: auto; }
.drawer-bottom { border-top: 1px solid #e3dbcd; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.total { display: flex; justify-content: space-between; gap: 8px; margin-block: 6px 14px; }
#whatsapp { width: 100%; }
#fulfillment-field { display: grid; gap: 5px; margin-bottom: 12px; font-size: .85rem; font-weight: 700; }
#fulfillment { width: 100%; min-height: 44px; padding-inline: 10px; border: 1px solid #d8d1c2; border-radius: 8px; background: #fff; color: #171717; font: inherit; }
#whatsapp[aria-disabled="true"] { background: #eeeae1; color: #514d45; }
#checkout-note { margin-top: 8px; }
#checkout-note:empty { display: none; }
@media (min-width: 580px) {
  .catalog-head { display: flex; justify-content: space-between; align-items: center; }
  .search { width: min(52%, 370px); }
  .products { --product-image-height: 180px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .product-body { padding: 13px; }
  .product h3 { font-size: 1rem; }
}
@media (min-width: 900px) {
  .top-inner { min-height: 72px; }
  .intro { padding-block: 30px 24px; }
  .products { --product-image-height: 210px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .cart-bar { display: none; }
  footer { padding-bottom: 24px; }
}
@media (max-height: 440px) {
  .drawer { height: auto; min-height: 100%; }
  #cart-items { overflow: visible; }
}
