@font-face {
  font-family: Caveat;
  src: url("assets/caveat-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --plum: #260e32;
  --plum-dark: #1d0b28;
  --purple: #662e8a;
  --purple-dark: #4a205e;
  --yellow: #ffdc52;
  --ink: #251632;
  --muted: #635470;
  --cream: #fcf7ed;
  --line: #e6dce9;
  --white: #fff;
  font: 16px/1.5 "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: default; opacity: .47; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #aa51d2; outline-offset: 4px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline-offset: 1px; }
.wrap { width: min(1180px, calc(100% - 88px)); margin-inline: auto; }
.icon-bank, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 9; padding: 10px 16px; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: none; }
.promotion-banner { margin-bottom: 18px; padding: 12px 16px; border: 1px solid #efce60; border-radius: 12px; background: #fff1bb; color: var(--plum); font-weight: 740; }
.product-copy del { margin-left: .4em; color: var(--muted); font-size: .83em; font-weight: 500; }
#store-cnpj { display: block; }

.site-header { background: var(--plum-dark); color: var(--white); border-bottom: 1px solid #fff2; }
.header-inner { min-height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { justify-self: start; }
.brand img { width: 86px; height: 66px; object-fit: contain; }
.site-header nav { display: flex; gap: clamp(18px, 4vw, 52px); font-size: .92rem; font-weight: 650; }
.site-header nav a { color: #f9ecfc; }
.site-header nav a:hover { color: var(--yellow); }
.button {
  min-height: 48px; display: inline-flex; justify-content: center; align-items: center;
  gap: 9px; border: 1px solid transparent; border-radius: 12px;
  padding: 11px 19px; font-weight: 760; line-height: 1.2; text-align: center;
}
.button-yellow { background: var(--yellow); color: var(--plum-dark); box-shadow: 0 2px 0 #b88618; }
.button-yellow:hover { background: #ffe57a; }
.button-purple { background: var(--purple); color: var(--white); }
.button-purple:hover:not(:disabled) { background: var(--purple-dark); }
.button-outline { border-color: #fff5; color: var(--white); }
.button-outline:hover { background: #fff1; }
.header-cart { justify-self: end; font-size: .92rem; }
[data-count] { display: inline-grid; min-width: 25px; height: 25px; padding: 0 5px; place-items: center; border-radius: 30px; background: #23102b18; font-size: .82rem; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #260c2d; color: #fff9f6; }
.hero-inner { min-height: clamp(420px, 43vw, 560px); display: flex; align-items: center; }
.hero-copy { position: relative; z-index: 1; width: min(520px, 54%); padding: 48px 0 63px; }
.hero-media { position: absolute; z-index: -1; inset: 0 0 0 37%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #260c2d, #260c2d65 18%, transparent 42%); }
.eyebrow { display: flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); }
.hero .eyebrow { color: #f9c9ff; }
.hero .eyebrow .icon { height: 18px; width: 18px; }
.hero h1 { margin: 18px 0 20px; font-size: clamp(3.5rem, 6.5vw, 6.6rem); letter-spacing: -.077em; line-height: .91; font-weight: 900; }
em { font: 700 1.22em/.85 Caveat, "Segoe Script", cursive; letter-spacing: -.04em; color: var(--purple); }
.hero h1 em { display: inline-block; color: var(--yellow); transform: rotate(-4deg); }
.hero-copy > p:not(.eyebrow) { max-width: 330px; margin-bottom: 24px; line-height: 1.55; color: #f6e0f9; font-size: 1.04rem; }
.hero-button { padding-inline: 24px; min-height: 52px; }
.store-strip { background: #391744; color: #fff6ff; }
.store-strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 16px; }
.store-strip a { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 5px 12px; }
.store-strip a + a { border-left: 1px solid #fff3; }
.store-strip .icon { color: var(--yellow); width: 26px; height: 26px; }
.store-strip strong, .store-strip small { display: block; }
.store-strip strong { font-size: .94rem; }
.store-strip small { color: #e8d2ec; font-size: .82rem; }
.store-strip a:hover strong { text-decoration: underline; }

section[id] { scroll-margin-top: 22px; }
.menu-section { padding-block: 56px 80px; }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 25px; }
.section-intro h2, .store-info h2 { margin-top: 6px; font-size: clamp(2.25rem, 4.7vw, 4rem); letter-spacing: -.055em; line-height: 1.07; font-weight: 860; }
.search { display: flex; align-items: center; gap: 9px; width: min(100%, 302px); min-height: 50px; padding-inline: 13px; background: var(--white); border: 1px solid var(--line); border-radius: 11px; }
.search .icon { color: var(--purple); width: 19px; height: 19px; }
.search input { width: 100%; min-width: 0; height: 48px; padding: 0; border: 0; background: transparent; }
.search input:focus-visible { outline: none; }
.search:focus-within { outline: 2px solid var(--purple); outline-offset: 2px; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(9px, 1.6vw, 19px); }
.tile {
  padding: 0; min-width: 0; overflow: hidden; border: 1px solid #e3d3e8; border-radius: 15px;
  background: #fffaf4; text-align: center; box-shadow: 0 4px 10px #4120500a;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.tile:hover { transform: translateY(-3px); border-color: var(--purple); }
.tile[aria-pressed="true"] { border-color: var(--purple); box-shadow: 0 0 0 2px var(--purple); }
.tile img { width: 100%; aspect-ratio: 1.21; height: auto; object-fit: contain; background: #e9d8f9; }
.tile span { display: grid; place-items: center; min-height: 46px; padding: 7px 4px; font-weight: 780; font-size: clamp(.81rem, 1.6vw, 1rem); line-height: 1.15; }
.catalog-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; padding-top: 32px; padding-bottom: 16px; scroll-margin-top: 18px; }
.catalog-header h3 { font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.14; letter-spacing: -.034em; }
.catalog-header p { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.category-select { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 700; color: var(--muted); }
select {
  appearance: none; padding-right: 35px !important;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23552a6c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.category-select select { max-width: 238px; min-height: 43px; border: 1px solid var(--line); border-radius: 9px; padding: 7px 11px; background-color: var(--white); color: var(--ink); }
.product-group + .product-group { margin-top: 27px; }
.product-group h4 { font-size: 1.12rem; margin: 0 0 11px; }
.product-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.product-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0;
  min-height: 104px; width: 100%; padding: 14px 14px 14px 16px; border: 1px solid var(--line);
  border-radius: 13px; background: var(--white); text-align: left;
}
.product-card:hover { border-color: var(--purple); background: #fffaff; }
.product-card .product-copy { display: grid; gap: 3px; }
.product-card strong { font-size: .99rem; line-height: 1.18; }
.product-card small { color: var(--muted); font-size: .83rem; line-height: 1.28; }
.product-card b { color: var(--purple-dark); font-size: .91rem; }
.product-card .plus { flex: none; display: grid; place-items: center; width: 34px; height: 34px; color: var(--purple-dark); background: #f2e5fd; border-radius: 50%; }
.product-card .icon { width: 18px; height: 18px; }
.empty-state { padding: 30px 16px; border: 1px dashed #d4bddb; border-radius: 14px; text-align: center; color: var(--muted); }

.store-info { background: #32143e; color: var(--white); }
.store-info .eyebrow { color: #eac4fc; }
.store-info h2 em, .store-details .icon { color: var(--yellow); }
.store-info-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: min(8vw, 92px); padding-block: 55px; align-items: center; }
.store-info p:not(.eyebrow) { margin-block: 16px 19px; color: #f0def3; }
.store-details { padding: 22px 24px; border: 1px solid #fff3; border-radius: 15px; background: #fff1; }
.store-details h3 { display: flex; align-items: center; gap: 9px; font-size: 1.05rem; }
.store-details dl { margin-block: 8px 18px; }
.store-details dl div { display: flex; justify-content: space-between; gap: 10px; padding-block: 5px; color: #f8e8fc; }
.store-details dd { margin: 0; }
.store-details a { display: inline-block; margin-top: 5px; text-decoration: underline; text-underline-offset: 3px; }
.site-footer { background: var(--plum-dark); color: #ebd7ee; }
.footer-inner { display: flex; align-items: center; gap: 13px; min-height: 88px; padding-block: 12px; font-size: .86rem; }
.footer-inner img { width: 61px; height: 50px; object-fit: contain; }
.footer-inner > a:last-child { margin-left: auto; text-decoration: underline; text-underline-offset: 3px; text-align: right; }

.cart-dock { position: fixed; right: max(22px, calc((100vw - 1180px) / 2)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 4; }
body:has(.cart-dock:not([hidden])) .site-footer { padding-bottom: 76px; }
.cart-dock .button { min-height: 55px; padding-inline: 17px; box-shadow: 0 4px 25px #1d0b2845; }
.cart-dock .button strong { padding-left: 9px; border-left: 1px solid #23102b36; }
.sheet {
  position: fixed; inset: 0 0 0 auto; margin: 0; height: 100%; max-height: 100%;
  width: min(100%, 515px); max-width: 100%; padding: 0; border: 0; background: #fffdfb; color: var(--ink);
  box-shadow: -10px 0 50px #1d0b2845;
}
.sheet::backdrop { background: #1d0b2891; }
.sheet form { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.sheet-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 13px; padding: 19px 22px 16px; border-bottom: 1px solid var(--line); }
.sheet-header h2 { font-size: clamp(1.55rem, 4vw, 2.05rem); letter-spacing: -.04em; line-height: 1.11; }
.sheet-header .eyebrow { margin-bottom: 5px; }
.icon-button { display: inline-grid; flex: none; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--purple-dark); }
.icon-button:hover:not(:disabled) { background: #f7ecff; }
.sheet-body { flex: 1; min-height: 0; overflow: auto; padding: 18px 22px; }
.sheet-body > p:empty { display: none; }
.sheet-action { display: flex; align-items: center; gap: 12px; padding: 14px 22px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-action > .button { flex: 1; }
.quantity { display: flex; align-items: center; gap: 8px; }
.quantity output, .quantity > span { min-width: 20px; text-align: center; font-weight: 750; }
.field { display: block; margin-top: 13px; font-weight: 700; font-size: .9rem; }
.field small { font-weight: 400; font-size: .85rem; color: var(--muted); }
.field :is(input, textarea, select) { display: block; width: 100%; min-width: 0; min-height: 45px; padding: 8px 10px; margin-top: 4px; border: 1px solid var(--line); border-radius: 8px; background-color: white; color: var(--ink); font-size: 1rem; font-weight: 400; }
.field textarea { resize: vertical; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.options { margin: 13px 0 0; padding: 0; border: 0; min-width: 0; }
.options legend, .fulfillment legend { font-weight: 770; margin-bottom: 4px; padding: 0; }
.options p { color: var(--muted); font-size: .88rem; margin-bottom: 6px; }
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.options-grid.has-steppers { grid-template-columns: 1fr; gap: 3px; }
.option-step { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 7px; background: #f8f0fb; border-radius: 7px; font-size: .91rem; }
.option-step small, .options label small { color: var(--purple-dark); white-space: nowrap; font-size: .82rem; }
.option-step .quantity { gap: 7px; }
.option-step .icon-button { width: 35px; height: 34px; }
.option-step .icon { width: 16px; height: 16px; }
.options label, .fulfillment label { display: flex; gap: 6px; align-items: center; min-height: 39px; padding: 4px 6px; border-radius: 6px; background: #f8f0fb; font-size: .88rem; }
.options input, .fulfillment input { accent-color: var(--purple); }
.options details { margin-top: 5px; border: 1px solid var(--line); border-radius: 8px; padding: 8px; }
.options summary { font-weight: 650; cursor: pointer; }
.options details[open] summary { margin-bottom: 8px; }
.form-error { margin-top: 9px; color: #9e104b; font-weight: 700; }
.cart-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.cart-line p { font-size: .85rem; color: var(--muted); overflow-wrap: anywhere; }
.cart-line .icon-button { width: 32px; height: 34px; }
.cart-line .icon { width: 16px; height: 16px; }
.fulfillment { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 0; padding: 0; border: 0; }
#pickup-address { margin-top: 11px; color: var(--muted); font-size: .88rem; }
.cart-action { flex-direction: column; align-items: stretch; gap: 7px; }
.cart-action p { color: var(--muted); font-size: .83rem; }
.cart-total { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 650; }
.cart-total strong { color: var(--purple-dark); font-size: 1.2rem; }
.toast { position: fixed; z-index: 5; bottom: 86px; right: max(22px, calc((100vw - 1180px) / 2)); max-width: min(90vw, 380px); background: var(--plum); color: white; border-radius: 10px; }
.toast:not(:empty) { padding: 10px 15px; box-shadow: 0 3px 14px #1d0b2840; }

@media (max-width: 920px) {
  .wrap { width: calc(100% - 48px); }
  .product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 67px; display: flex; justify-content: space-between; gap: 12px; }
  .brand img { width: 69px; height: 54px; }
  .site-header nav { gap: 0; }
  .site-header nav a:not([href="#cardapio"]) { display: none; }
  .header-cart { min-height: 41px; padding: 6px 10px; }
  .header-cart .icon { width: 18px; height: 18px; }
  .hero-inner { min-height: 390px; align-items: end; }
  .hero-copy { width: 100%; padding-block: 130px 24px; }
  .hero .eyebrow { font-size: .72rem; letter-spacing: .09em; }
  .hero h1 { font-size: clamp(3.9rem, 12.5vw, 6rem); margin-block: 8px 13px; }
  .hero-media { inset: 0; }
  .hero-media img { object-position: 64% 43%; }
  .hero-media::after { background: linear-gradient(90deg, #260c2dca, #260c2d25 85%), linear-gradient(0deg, #260c2d 2%, #260c2dbb 30%, transparent 72%); }
  .hero-copy > p:not(.eyebrow) { max-width: 285px; font-size: .96rem; margin-bottom: 15px; }
  .hero-button { min-height: 45px; padding-inline: 17px; }
  .store-strip-inner { grid-template-columns: repeat(2, 1fr); padding-block: 9px; }
  .store-strip a { justify-content: start; gap: 8px; padding-inline: 6px; }
  .store-strip a:last-child { display: none; }
  .store-strip .icon { width: 20px; height: 20px; }
  .store-strip strong { font-size: .79rem; }
  .store-strip small { font-size: .75rem; }
  .menu-section { padding-block: 32px 48px; }
  .section-intro { display: grid; gap: 15px; margin-bottom: 14px; }
  .search { width: 100%; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile img { aspect-ratio: 1.15; }
  .tile span { min-height: 34px; }
  .catalog-header { padding-top: 24px; }
  .category-select > span { display: none; }
  .category-select select { max-width: min(43vw, 200px); }
  .product-list { grid-template-columns: 1fr; gap: 7px; }
  .product-card { min-height: 79px; padding-block: 11px; }
  .store-info-inner { grid-template-columns: 1fr; gap: 22px; padding-block: 36px; }
  .footer-inner { min-height: 75px; font-size: .8rem; }
  .footer-inner img { width: 49px; }
  .cart-dock { left: 14px; right: 14px; bottom: max(11px, env(safe-area-inset-bottom)); }
  .cart-dock .button { width: 100%; justify-content: flex-start; }
  .cart-dock .button strong { margin-left: auto; }
  .toast { right: 14px; bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
