:root {
  color-scheme: light;
  --ink: #10211f;
  --muted: #3d4f4c;
  --line: #d7e4e1;
  --paper: #f4f7f6;
  --card: #ffffff;
  --teal: #009688;
  --teal-deep: #00796b;
  --header: #070a0f;
  --erro: #8f1d1d;
  --font: Outfit, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(32, 178, 170, 0.18), transparent 55%),
    var(--paper);
}

img { max-width: 100%; display: block; }

.top {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--header);
  color: #fff;
  padding: calc(12px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-inner {
  width: min(960px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  height: 32px;
  width: auto;
}

.club {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-align: right;
}

main {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 16px max(16px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}

.cover {
  background:
    linear-gradient(145deg, rgba(0, 150, 136, 0.16), rgba(67, 206, 162, 0.08)),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
}

.example {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 121, 107, 0.12);
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 700;
}

h1, h2 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { margin: 0 0 8px; font-size: 28px; }

h2 { margin: 22px 0 12px; font-size: 20px; }

.lead, .muted { color: var(--muted); }

.lead { margin: 0 0 14px; }

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact li {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.products {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  text-align: left;
  background: var(--card);
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  cursor: pointer;
  font: inherit;
  min-height: 44px;
}

.product[aria-pressed="true"] {
  border-color: var(--teal);
  background: #f3fbf9;
  box-shadow: inset 0 0 0 1px var(--teal);
}

.kind {
  margin: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 150, 136, 0.12);
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 700;
}

.product h3 {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product p { margin: 0; color: var(--muted); }

.price {
  margin-top: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.order {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  margin-top: 8px;
}

.order h2 { margin-top: 0; }

.order-name { margin: 0 0 4px; font-size: 18px; font-weight: 700; }

.qty {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 16px 0 8px;
}

.qty button,
.pagar {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}

.qty button {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--teal);
  background: #fff;
  color: var(--teal-deep);
  font-size: 22px;
}

.qty-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--muted);
}

.qty-label input {
  width: 88px;
  height: 48px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
}

.summary { margin: 16px 0; }

.summary div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.summary dt { color: var(--muted); }

.summary dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.summary-total dd {
  font-size: 20px;
  font-weight: 700;
  color: var(--teal-deep);
}

.pagar {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(90deg, #009688, #43cea2);
}

.erro { color: var(--erro); margin: 0 0 8px; }

.aviso {
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 12px;
  background: #e7f6f3;
  color: var(--ink);
}

@media (min-width: 800px) {
  .logo { height: 36px; }
  .club { font-size: 16px; }
  main { padding-top: 24px; }
  .cover { padding: 28px 24px; }
  h1 { font-size: 36px; }
  .products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .product { height: 100%; }
}
