:root {
  --brown-950: #2b140b;
  --brown-900: #3b1d0f;
  --brown-800: #4b2715;
  --brown-700: #65371f;
  --brown-600: #7d4a2d;
  --orange-600: #e66d12;
  --orange-500: #f58220;
  --orange-100: #fff0dc;
  --gold-500: #efb832;
  --gold-100: #fff5d2;
  --cream-50: #fffdf9;
  --cream-100: #fff8ed;
  --cream-200: #f8eddf;
  --cream-300: #ead9c7;
  --green-700: #287044;
  --green-100: #e9f6ed;
  --red-600: #b84032;
  --ink: #301e16;
  --muted: #79665d;
  --white: #fffdf8;
  --shadow-sm: 0 7px 22px rgba(62, 30, 14, .08);
  --shadow-md: 0 18px 48px rgba(62, 30, 14, .14);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream-100);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(245, 130, 32, .3);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

[hidden] {
  display: none !important;
}

.preview-ribbon {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 7px 20px;
  color: #fffbef;
  background: var(--brown-950);
  font-size: .78rem;
  letter-spacing: .01em;
}

.preview-ribbon strong {
  color: #ffd66a;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.preview-ribbon .text-button {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-button {
  appearance: none;
  padding: 4px;
  border: 0;
  background: transparent;
  color: var(--orange-600);
  cursor: pointer;
  font-size: .83rem;
  font-weight: 750;
}

.text-button:hover {
  color: var(--brown-800);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(75, 39, 21, .09);
  background: rgba(255, 253, 249, .94);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1460px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(75, 39, 21, .1);
  border-radius: 17px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  color: var(--brown-900);
  font-size: 1.02rem;
  letter-spacing: -.02em;
}

.brand-copy small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: var(--muted);
  font-size: .75rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35a45e;
  box-shadow: 0 0 0 4px rgba(53, 164, 94, .12);
}

.header-promise {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a08e84;
  font-size: .78rem;
  font-weight: 700;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.promise-item b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cream-300);
  border-radius: 50%;
  background: var(--white);
  font-size: .68rem;
}

.promise-item.is-active {
  color: var(--brown-800);
}

.promise-item.is-active b {
  border-color: var(--orange-500);
  background: var(--orange-500);
  color: var(--white);
}

.promise-line {
  width: 36px;
  height: 1px;
  background: var(--cream-300);
}

.header-cart {
  justify-self: end;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 13px 8px 10px;
  border: 1px solid rgba(75, 39, 21, .12);
  border-radius: 15px;
  background: var(--white);
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(62, 30, 14, .04);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.header-cart:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 130, 32, .55);
  box-shadow: var(--shadow-sm);
}

.header-cart > span:last-child {
  min-width: 76px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.header-cart strong {
  font-size: .8rem;
}

.header-cart small {
  color: var(--brown-700);
  font-size: .74rem;
  font-weight: 700;
}

.icon-bag {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--orange-100);
}

.icon-bag::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid var(--orange-600);
  border-radius: 3px;
}

.icon-bag::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 5px;
  margin-top: -14px;
  border: 2px solid var(--orange-600);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

.app-shell {
  width: min(1460px, calc(100% - 48px));
  margin: 28px auto 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 26px;
  align-items: start;
}

.catalog-pane {
  min-width: 0;
}

.welcome-card {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 38px 43% 38px 44px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 208, 75, .88), transparent 29%),
    linear-gradient(118deg, #3a1b0d 0%, #592d16 60%, #8a4b20 100%);
  color: var(--white);
  box-shadow: 0 22px 46px rgba(59, 29, 15, .16);
}

.welcome-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to right, #000, transparent 78%);
}

.welcome-content {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: 100%;
}

.eyebrow,
.step-kicker {
  display: block;
  color: var(--orange-600);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.welcome-card .eyebrow {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(255, 214, 106, .35);
  border-radius: 999px;
  background: rgba(255, 197, 54, .12);
  color: #ffd66a;
}

.welcome-card h1 {
  margin: 13px 0 11px;
  color: #fff8eb;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  line-height: 1.03;
  letter-spacing: -.052em;
}

.mobile-title {
  display: none;
}

.welcome-card p {
  max-width: 620px;
  margin-bottom: 19px;
  color: #eadbd1;
  font-size: .98rem;
  line-height: 1.55;
}

.benefit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.benefit-row span {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #fff6e8;
  font-size: .72rem;
  font-weight: 700;
}

.welcome-mascot {
  position: absolute;
  z-index: 1;
  right: -12px;
  bottom: -98px;
  width: min(44%, 405px);
  filter: drop-shadow(0 18px 22px rgba(30, 14, 7, .28));
  transform: rotate(2deg);
}

.start-panel,
.prototype-note {
  margin-top: 22px;
  padding: 23px 25px;
  border: 1px solid rgba(75, 39, 21, .09);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 17px;
}

.section-heading > div {
  min-width: 0;
}

.section-heading.compact {
  align-items: center;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 4px 0 0;
  color: var(--brown-900);
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.editable-hint,
.result-count {
  color: var(--muted);
  font-size: .76rem;
}

.mode-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mode-option {
  min-width: 0;
  min-height: 74px;
  display: grid;
  grid-template-columns: 39px 1fr 20px;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--cream-300);
  border-radius: 14px;
  background: var(--cream-50);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.mode-option:hover {
  transform: translateY(-1px);
  border-color: #d0ad8c;
}

.mode-option.is-selected {
  border-color: var(--orange-500);
  background: #fff9ef;
  box-shadow: inset 0 0 0 1px var(--orange-500);
}

.mode-option > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mode-option strong {
  color: var(--brown-900);
  font-size: .87rem;
}

.mode-option small {
  overflow: hidden;
  color: var(--muted);
  font-size: .68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mode-option i {
  width: 19px;
  height: 19px;
  display: none;
  place-items: center;
  border-radius: 50%;
  background: var(--orange-500);
  color: var(--white);
  font-size: .65rem;
  font-style: normal;
}

.mode-option.is-selected i {
  display: grid;
}

.mode-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--cream-200);
  color: var(--brown-700);
  font-size: 1.05rem;
  font-weight: 850;
}

.mode-option.is-selected .mode-icon {
  background: var(--orange-100);
  color: var(--orange-600);
}

.catalog-tools {
  position: sticky;
  z-index: 20;
  top: 82px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px -1px 0;
  padding: 12px 1px;
  background: rgba(255, 248, 237, .95);
  backdrop-filter: blur(14px);
}

.search-box {
  min-width: 245px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 49px;
  padding: 0 15px;
  border: 1px solid var(--cream-300);
  border-radius: 14px;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-box:focus-within {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(245, 130, 32, .1);
}

.search-box > span:first-child {
  color: var(--brown-600);
  font-size: 1.3rem;
  line-height: 1;
}

.search-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: .86rem;
}

.search-box input::placeholder {
  color: #a7958c;
}

.category-chips {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-chips::-webkit-scrollbar {
  display: none;
}

.category-chip {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--cream-300);
  border-radius: 999px;
  background: var(--white);
  color: var(--brown-700);
  cursor: pointer;
  font-size: .76rem;
  font-weight: 750;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.category-chip:hover {
  border-color: #d0ad8c;
}

.category-chip.is-active {
  border-color: var(--brown-800);
  background: var(--brown-800);
  color: var(--white);
}

.menu-section {
  padding-top: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(75, 39, 21, .09);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 7px 21px rgba(62, 30, 14, .055);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 109, 18, .35);
  box-shadow: 0 16px 34px rgba(62, 30, 14, .1);
}

.product-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-card .item-badge {
  margin-bottom: 9px;
}

.item-badge {
  width: fit-content;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--gold-100);
  color: #9b5b00;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.item-badge:empty {
  display: none;
}

.product-card h3 {
  margin: 0 0 5px;
  color: var(--brown-900);
  font-size: 1rem;
  line-height: 1.22;
  letter-spacing: -.02em;
}

.product-description {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .73rem;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-price-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.product-price {
  display: flex;
  flex-direction: column;
  color: var(--brown-900);
  font-size: 1rem;
  line-height: 1.1;
}

.product-price small {
  margin-bottom: 3px;
  color: #9f8d83;
  font-size: .61rem;
  font-weight: 600;
}

.product-price s {
  margin-left: 5px;
  color: #9f8d83;
  font-size: .7rem;
  font-weight: 500;
}

.product-action {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0 13px;
  border: 0;
  border-radius: 12px;
  background: var(--orange-500);
  color: var(--white);
  cursor: pointer;
  font-size: .76rem;
  font-weight: 800;
  transition: background var(--transition), transform var(--transition);
}

.product-action:hover {
  background: var(--orange-600);
  transform: scale(1.03);
}

.product-action.quick-add {
  width: 42px;
  padding: 0;
  font-size: 1.3rem;
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  min-height: 140px;
  border-radius: 14px;
  background: var(--cream-200);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.04);
}

.product-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(59, 29, 15, .05);
  border-radius: inherit;
}

.no-results {
  padding: 50px 20px;
  border: 1px dashed var(--cream-300);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .6);
  text-align: center;
}

.no-results > span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-500);
  font-size: 2.2rem;
}

.no-results strong {
  color: var(--brown-900);
}

.no-results p {
  margin: 4px 0 16px;
  color: var(--muted);
  font-size: .82rem;
}

.secondary-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid var(--cream-300);
  border-radius: 12px;
  background: var(--white);
  color: var(--brown-800);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 800;
}

.drink-suggestion {
  position: relative;
  overflow: hidden;
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(210px, .75fr) 1.25fr;
  align-items: center;
  gap: 22px;
  padding: 25px;
  border: 1px solid #ead39a;
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, #fff8dd, #fffdf8);
}

.drink-suggestion::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  top: -110px;
  border-radius: 50%;
  background: rgba(239, 184, 50, .13);
}

.drink-suggestion h2 {
  margin: 5px 0 5px;
  color: var(--brown-900);
  font-size: 1.35rem;
  letter-spacing: -.03em;
}

.drink-suggestion p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .78rem;
}

.suggestion-items {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.suggestion-card {
  display: grid;
  grid-template-columns: 52px 1fr 36px;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border: 1px solid rgba(75, 39, 21, .1);
  border-radius: 13px;
  background: var(--white);
  text-align: left;
}

.suggestion-card img {
  width: 52px;
  height: 52px;
  border-radius: 9px;
  object-fit: cover;
}

.suggestion-card > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.suggestion-card strong {
  overflow: hidden;
  color: var(--brown-900);
  font-size: .75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggestion-card small {
  color: var(--orange-600);
  font-size: .68rem;
  font-weight: 800;
}

.suggestion-card button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: var(--orange-500);
  color: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
}

.prototype-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: none;
}

.note-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-700);
  font-weight: 850;
}

.prototype-note strong {
  color: var(--brown-900);
  font-size: .86rem;
}

.prototype-note p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .76rem;
}

.order-panel {
  position: sticky;
  top: 106px;
  max-height: calc(100vh - 126px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(75, 39, 21, .11);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.order-panel-head {
  min-height: 81px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 21px;
  border-bottom: 1px solid var(--cream-200);
  background: var(--cream-50);
}

.order-panel-head h2 {
  margin: 2px 0 0;
  color: var(--brown-900);
  font-size: 1.35rem;
  letter-spacing: -.035em;
}

#orderCountBadge {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--orange-100);
  color: var(--orange-600);
  font-size: .71rem;
  vertical-align: 3px;
}

.close-order {
  width: 42px;
  height: 42px;
  display: none;
  border: 1px solid var(--cream-300);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.order-scroll {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  scrollbar-color: #d7c6b6 transparent;
  scrollbar-width: thin;
}

.empty-cart {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 30px;
  text-align: center;
}

.empty-illustration {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px dashed #d8b590;
  border-radius: 23px;
  background: var(--orange-100);
  color: var(--orange-600);
  font-size: 2rem;
}

.empty-cart strong {
  color: var(--brown-900);
  font-size: 1.04rem;
}

.empty-cart p {
  max-width: 270px;
  margin: 6px 0 18px;
  color: var(--muted);
  font-size: .78rem;
}

.order-section {
  padding: 19px 20px;
  border-bottom: 1px solid var(--cream-200);
}

.order-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.order-section-title h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--brown-900);
  font-size: .9rem;
  letter-spacing: -.01em;
}

.order-section-title h3 > span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brown-800);
  color: var(--white);
  font-size: .66rem;
}

.order-section-title > small {
  color: var(--green-700);
  font-size: .67rem;
  font-weight: 800;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-item {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: start;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--cream-200);
  border-radius: 13px;
  background: var(--cream-50);
}

.cart-item img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
}

.cart-item-copy {
  min-width: 0;
}

.cart-item-copy > strong {
  display: block;
  overflow: hidden;
  color: var(--brown-900);
  font-size: .78rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-copy > small {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 3px;
  color: var(--muted);
  font-size: .64rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
}

.cart-item-actions button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--orange-600);
  cursor: pointer;
  font-size: .64rem;
  font-weight: 800;
}

.cart-item-actions button:last-child {
  color: #9b7160;
}

.cart-item-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
}

.cart-item-end > strong {
  color: var(--brown-900);
  font-size: .74rem;
}

.mini-quantity {
  display: flex;
  align-items: center;
  gap: 7px;
}

.mini-quantity button {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--cream-300);
  border-radius: 8px;
  background: var(--white);
  color: var(--brown-800);
  cursor: pointer;
  line-height: 1;
}

.mini-quantity span {
  min-width: 10px;
  text-align: center;
  font-size: .7rem;
  font-weight: 850;
}

.checkout-mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  background: var(--cream-200);
}

.checkout-mode-tabs button {
  min-height: 37px;
  padding: 0 7px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: .67rem;
  font-weight: 800;
}

.checkout-mode-tabs button.is-selected {
  background: var(--white);
  color: var(--brown-900);
  box-shadow: 0 3px 10px rgba(62, 30, 14, .09);
}

.store-info {
  align-items: flex-start;
  gap: 9px;
  margin-top: 10px;
  padding: 11px;
  border-radius: 11px;
  background: var(--green-100);
  color: var(--green-700);
}

.store-info:not([hidden]) {
  display: flex;
}

.store-info > span {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  font-size: .66rem;
}

.store-info p {
  margin: 0;
  font-size: .68rem;
  line-height: 1.45;
}

.field-grid {
  display: grid;
  gap: 10px;
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field > span,
.observation-group label > span {
  color: var(--brown-700);
  font-size: .67rem;
  font-weight: 750;
}

.field em,
.observation-group em {
  color: #a18e84;
  font-size: .61rem;
  font-style: normal;
  font-weight: 500;
}

.field input,
.field select,
.field textarea,
.observation-group textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--cream-300);
  border-radius: 10px;
  outline: 0;
  background: var(--white);
  color: var(--ink);
  font-size: .73rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field textarea,
.observation-group textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.observation-group textarea:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, .1);
}

.field.is-invalid input,
.field.is-invalid select {
  border-color: var(--red-600);
  background: #fff9f8;
}

.field-error,
.standalone-error {
  min-height: 0;
  color: var(--red-600);
  font-size: .61rem;
  font-weight: 700;
}

.address-fields {
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px dashed var(--cream-300);
}

.address-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.address-head > strong {
  color: var(--brown-900);
  font-size: .72rem;
}

.location-button {
  min-height: 31px;
  padding: 0 9px;
  border: 1px solid var(--cream-300);
  border-radius: 9px;
  background: var(--white);
  color: var(--brown-700);
  cursor: pointer;
  font-size: .61rem;
  font-weight: 750;
}

.address-grid {
  grid-template-columns: 1fr .65fr;
}

.cep-field {
  grid-column: 1 / 2;
}

.street-field {
  grid-column: 1 / 3;
}

.number-field {
  grid-column: 2 / 3;
  grid-row: 1;
}

.neighborhood-field {
  grid-column: 1 / 3;
}

.city-field {
  grid-column: 1 / 3;
}

.complement-field {
  grid-column: 1 / 2;
}

.reference-field {
  grid-column: 2 / 3;
}

.delivery-calculation {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
  padding: 10px;
  border: 1px solid #ead8bc;
  border-radius: 11px;
  background: #fffaf0;
}

.delivery-calculation.is-calculated {
  border-color: #b9dec5;
  background: var(--green-100);
}

.calc-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--gold-100);
  color: #8a5900;
  font-size: .8rem;
  font-weight: 850;
}

.delivery-calculation.is-calculated .calc-icon {
  background: #d4eddb;
  color: var(--green-700);
}

.delivery-calculation > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.delivery-calculation strong {
  color: var(--brown-900);
  font-size: .66rem;
}

.delivery-calculation small {
  overflow: hidden;
  color: var(--muted);
  font-size: .58rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#deliveryCalcValue {
  color: var(--brown-900);
  font-size: .71rem;
  font-weight: 850;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.payment-options button {
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--cream-300);
  border-radius: 11px;
  background: var(--white);
  text-align: left;
  cursor: pointer;
}

.payment-options button:hover {
  border-color: #d0ad8c;
}

.payment-options button.is-selected {
  border-color: var(--orange-500);
  background: #fff9ef;
  box-shadow: inset 0 0 0 1px var(--orange-500);
}

.payment-options button > strong {
  color: var(--brown-900);
  font-size: .76rem;
}

.payment-options button > i {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  display: none;
  place-items: center;
  border-radius: 50%;
  background: var(--orange-500);
  color: var(--white);
  font-size: .56rem;
  font-style: normal;
}

.payment-options button.is-selected > i {
  display: grid;
}

.change-field {
  margin-top: 10px;
}

.observation-section textarea {
  min-height: 76px;
}

.order-footer {
  flex: 0 0 auto;
  padding: 15px 20px 17px;
  border-top: 1px solid var(--cream-200);
  background: var(--cream-50);
  box-shadow: 0 -12px 28px rgba(62, 30, 14, .045);
}

.price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 11px;
}

.price-breakdown > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: .66rem;
}

.price-breakdown .total-row {
  margin-top: 4px;
  padding-top: 7px;
  border-top: 1px dashed var(--cream-300);
  color: var(--brown-900);
  font-size: .79rem;
  font-weight: 800;
}

.total-row strong {
  font-size: 1rem;
}


.primary-button {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
  cursor: pointer;
  font-size: .8rem;
  font-weight: 850;
  box-shadow: 0 9px 22px rgba(230, 109, 18, .22);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(230, 109, 18, .3);
}

.primary-button:disabled {
  cursor: wait;
  opacity: .7;
  transform: none;
}

.order-footer .primary-button {
  width: 100%;
  justify-content: space-between;
}

.final-hint {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .61rem;
  text-align: center;
}

.final-hint span {
  margin-right: 3px;
  color: var(--green-700);
}

.mobile-cart-bar,
.order-backdrop {
  display: none;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  overflow-y: auto;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(37, 17, 8, .67);
  backdrop-filter: blur(6px);
  animation: fadeIn 180ms ease;
}

.product-modal {
  position: relative;
  width: min(720px, 100%);
  max-height: min(860px, calc(100vh - 60px));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 25px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(29, 13, 6, .34);
  animation: modalUp 250ms cubic-bezier(.2, .8, .2, 1);
}

.modal-close {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(75, 39, 21, .1);
  border-radius: 13px;
  background: rgba(255, 255, 255, .92);
  color: var(--brown-900);
  cursor: pointer;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
  line-height: 1;
}

.product-modal-scroll {
  min-height: 0;
  overflow-y: auto;
  padding: 24px 26px;
}

.modal-product-hero {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 21px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--cream-200);
}

.modal-product-hero > img {
  width: 150px;
  height: 130px;
  border-radius: 17px;
  object-fit: cover;
}

.modal-product-hero h2 {
  margin: 7px 46px 5px 0;
  color: var(--brown-900);
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -.04em;
}

.modal-product-hero p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: .76rem;
}

.modal-product-hero > div > strong {
  color: var(--orange-600);
  font-size: 1rem;
}

.custom-group {
  padding: 21px 0;
  border-bottom: 1px solid var(--cream-200);
}

.custom-group-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
}

.custom-group-head > div > span {
  color: var(--orange-600);
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.custom-group-head h3 {
  margin: 2px 0 0;
  color: var(--brown-900);
  font-size: 1rem;
  letter-spacing: -.02em;
}

.custom-group-head > small {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--cream-200);
  color: var(--muted);
  font-size: .62rem;
  font-weight: 750;
}

.group-helper {
  margin: -7px 0 11px;
  color: var(--muted);
  font-size: .67rem;
}

.check-list,
.radio-list,
.extra-list {
  display: grid;
  gap: 8px;
}

.check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-list label,
.radio-list label,
.extra-row {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid var(--cream-300);
  border-radius: 12px;
  background: var(--cream-50);
}

.check-list label,
.radio-list label {
  cursor: pointer;
}

.check-list input,
.radio-list input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  accent-color: var(--orange-500);
}

.check-list label > span,
.radio-list label > span,
.extra-row > span {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.check-list strong,
.radio-list strong,
.extra-row strong {
  color: var(--brown-900);
  font-size: .75rem;
}

.check-list small,
.radio-list small,
.extra-row small {
  color: var(--muted);
  font-size: .63rem;
}

.check-list i,
.radio-list i {
  color: var(--green-700);
  font-size: .72rem;
  font-style: normal;
}

.extra-row {
  background: var(--white);
}

.extra-qty {
  display: flex;
  align-items: center;
  gap: 9px;
}

.extra-qty button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--cream-300);
  border-radius: 10px;
  background: var(--white);
  color: var(--brown-800);
  cursor: pointer;
  font-size: 1rem;
}

.extra-qty button:last-child {
  border-color: var(--orange-500);
  background: var(--orange-500);
  color: var(--white);
}

.extra-qty strong {
  min-width: 14px;
  text-align: center;
}

.observation-group {
  border-bottom: 0;
}

.observation-group label {
  display: block;
  margin-bottom: 5px;
}

.modal-actionbar {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 15px 26px 18px;
  border-top: 1px solid var(--cream-200);
  background: var(--cream-50);
  box-shadow: 0 -10px 27px rgba(62, 30, 14, .05);
}

.modal-actionbar .primary-button {
  justify-content: space-between;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px;
  border: 1px solid var(--cream-300);
  border-radius: 13px;
  background: var(--white);
}

.quantity-control button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--cream-200);
  color: var(--brown-800);
  cursor: pointer;
  font-size: 1.2rem;
}

.quantity-control strong {
  min-width: 16px;
  color: var(--brown-900);
  text-align: center;
}

.success-modal {
  width: min(480px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 35px;
  border-radius: 26px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 30px 90px rgba(29, 13, 6, .34);
  animation: modalUp 250ms cubic-bezier(.2, .8, .2, 1);
}

.success-mark {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 21px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 2rem;
  font-weight: 900;
}

.success-modal h2 {
  margin: 6px 0 8px;
  color: var(--brown-900);
  font-size: 1.8rem;
  line-height: 1.15;
  letter-spacing: -.045em;
}

.success-modal > p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .83rem;
}

.success-order-number {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  padding: 14px;
  border: 1px dashed #d8b590;
  border-radius: 14px;
  background: var(--orange-100);
}

.success-order-number small {
  color: var(--muted);
  font-size: .64rem;
  text-transform: uppercase;
}

.success-order-number strong {
  color: var(--brown-900);
  font-size: 1.35rem;
}

.success-receipt {
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--cream-300);
  border-radius: 14px;
  background: var(--cream-50);
  text-align: left;
}

.success-receipt-head,
.success-receipt-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
}

.success-receipt-head {
  border-bottom: 1px solid var(--cream-200);
}

.success-receipt-head strong,
.success-receipt-total span {
  color: var(--brown-900);
  font-size: .76rem;
}

.success-receipt-head span {
  color: var(--muted);
  font-size: .65rem;
}

.success-items {
  padding: 3px 13px;
}

.success-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--cream-300);
}

.success-item:last-child {
  border-bottom: 0;
}

.success-item > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.success-item strong {
  color: var(--brown-900);
  font-size: .72rem;
}

.success-item > strong {
  flex: 0 0 auto;
}

.success-item small {
  color: var(--muted);
  font-size: .61rem;
  line-height: 1.35;
}

.success-receipt-total {
  border-top: 1px solid var(--cream-200);
  background: var(--white);
}

.success-receipt-total strong {
  color: var(--brown-900);
  font-size: .92rem;
}

.success-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
  text-align: left;
}

.success-meta > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 10px 11px;
  border: 1px solid var(--cream-300);
  border-radius: 11px;
  background: var(--white);
}

.success-meta small {
  color: var(--muted);
  font-size: .59rem;
  text-transform: uppercase;
}

.success-meta strong {
  overflow: hidden;
  color: var(--brown-900);
  font-size: .72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.success-order-note {
  margin-bottom: 12px;
  padding: 10px 11px;
  border: 1px solid var(--cream-300);
  border-radius: 11px;
  background: var(--cream-50);
  text-align: left;
}

.success-order-note small {
  color: var(--muted);
  font-size: .59rem;
  text-transform: uppercase;
}

.success-order-note p {
  margin: 2px 0 0;
  color: var(--brown-900);
  font-size: .7rem;
  line-height: 1.4;
}

.success-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 17px;
  padding: 12px;
  border: 1px solid #b9dec5;
  border-radius: 13px;
  background: var(--green-100);
  color: var(--green-700);
  text-align: left;
}

.success-status > span {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  font-size: .68rem;
  font-weight: 850;
}

.success-status > div {
  min-width: 0;
}

.success-status strong {
  display: block;
  margin-bottom: 2px;
  font-size: .74rem;
}

.success-status p {
  margin: 0;
  font-size: .65rem;
  line-height: 1.4;
}

.success-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  text-align: left;
}

.success-summary span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: .72rem;
}

.success-summary i {
  color: var(--green-700);
  font-style: normal;
  font-weight: 850;
}

.success-modal .primary-button {
  width: 100%;
}

.success-modal > .text-button {
  margin-top: 8px;
}

.toast {
  position: fixed;
  z-index: 150;
  left: 50%;
  bottom: 24px;
  max-width: min(440px, calc(100% - 32px));
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--brown-950);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transform: translateX(-50%);
  animation: toastIn 220ms ease;
}

.toast.is-error {
  background: #7f2c24;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalUp {
  from { opacity: 0; transform: translateY(22px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 1240px) {
  .header-inner,
  .app-shell {
    width: min(1180px, calc(100% - 32px));
  }

  .app-shell {
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 18px;
  }

  .product-card {
    grid-template-columns: 1fr 112px;
  }

  .welcome-card {
    padding-right: 39%;
  }

  .catalog-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .category-chips {
    width: 100%;
  }
}

@media (max-width: 1020px) {
  .header-promise {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .app-shell {
    grid-template-columns: minmax(0, 1fr) 350px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr 145px;
  }

  .mode-switch {
    grid-template-columns: minmax(0, 1fr);
  }

  .mode-option {
    min-height: 64px;
  }

  .welcome-card {
    min-height: 330px;
    padding: 34px 38% 34px 32px;
  }

  .benefit-row span:last-child {
    display: none;
  }

  .drink-suggestion {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 120px;
  }

  body {
    padding-bottom: 86px;
  }

  .preview-ribbon {
    min-height: 31px;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 14px;
    font-size: .65rem;
  }

  .preview-ribbon span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .preview-ribbon .text-button {
    flex: 0 0 auto;
    font-size: .66rem;
  }

  .header-inner {
    width: calc(100% - 28px);
    min-height: 69px;
  }

  .brand img {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .brand-copy strong {
    font-size: .88rem;
  }

  .brand-copy small {
    font-size: .65rem;
  }

  .header-cart {
    display: none;
  }

  .app-shell {
    width: calc(100% - 28px);
    display: block;
    margin: 14px auto 40px;
  }

  .welcome-card {
    min-height: 300px;
    padding: 31px 34% 31px 24px;
    border-radius: 22px;
  }

  .welcome-card h1 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .welcome-card p {
    font-size: .82rem;
  }

  .welcome-mascot {
    right: -45px;
    bottom: -62px;
    width: 46%;
  }

  .catalog-tools {
    top: 69px;
  }

  .order-panel {
    position: fixed;
    z-index: 90;
    inset: 26px 0 0;
    top: auto;
    max-height: none;
    border: 0;
    border-radius: 24px 24px 0 0;
    transform: translateY(105%);
    transition: transform 280ms cubic-bezier(.2, .8, .2, 1);
  }

  .order-panel.is-open {
    transform: translateY(0);
  }

  .order-panel-head {
    min-height: 74px;
  }

  .close-order {
    display: grid;
  }

  .order-scroll {
    overscroll-behavior: contain;
  }

  .empty-cart {
    min-height: 50vh;
  }

  .order-backdrop {
    position: fixed;
    z-index: 80;
    inset: 0;
    background: rgba(37, 17, 8, .57);
    backdrop-filter: blur(4px);
  }

  .order-backdrop:not([hidden]) {
    display: block;
  }

  .mobile-cart-bar {
    position: fixed;
    z-index: 50;
    left: 14px;
    right: 14px;
    bottom: 12px;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 8px 9px;
    border: 0;
    border-radius: 17px;
    background: linear-gradient(135deg, var(--brown-800), var(--brown-950));
    color: var(--white);
    box-shadow: 0 17px 36px rgba(43, 20, 11, .28);
  }

  .mobile-cart-bar:not([hidden]) {
    display: flex;
  }

  .mobile-cart-count {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .84rem;
    font-weight: 800;
  }

  .mobile-cart-count i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--orange-500);
    font-size: .77rem;
    font-style: normal;
  }

  .mobile-cart-bar > strong {
    font-size: .87rem;
  }

  .toast {
    bottom: 86px;
  }
}

@media (max-width: 600px) {
  .preview-ribbon strong {
    display: none;
  }

  .brand-copy small {
    max-width: 175px;
  }

  .welcome-card {
    min-height: 320px;
    padding: 28px 23px 110px;
  }

  .welcome-mascot {
    width: 180px;
    right: -20px;
    bottom: -72px;
  }

  .benefit-row {
    max-width: calc(100% - 105px);
  }

  .benefit-row span:nth-child(2) {
    display: none;
  }

  .start-panel,
  .prototype-note {
    padding: 19px;
  }

  .section-heading.compact {
    align-items: flex-start;
  }

  .editable-hint {
    display: none;
  }

  .catalog-tools {
    margin-top: 13px;
    padding: 9px 0;
  }

  .search-box {
    min-width: 0;
  }

  .category-chips {
    margin-right: -14px;
    padding-right: 14px;
  }

  .section-heading h2 {
    font-size: 1.35rem;
  }

  .product-grid {
    gap: 11px;
  }

  .product-card {
    min-height: 166px;
    grid-template-columns: 1fr 112px;
    padding: 14px;
  }

  .product-image-wrap {
    min-height: 136px;
  }

  .product-card h3 {
    font-size: .91rem;
  }

  .product-description {
    font-size: .68rem;
  }

  .product-action:not(.quick-add) {
    min-width: 40px;
    width: 40px;
    overflow: hidden;
    padding: 0;
    color: var(--white);
    font-size: 0;
  }

  .product-action:not(.quick-add)::before {
    content: "+";
    display: block;
    color: var(--white);
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1;
  }

  .product-action:not(.quick-add)::after {
    content: none;
  }

  .drink-suggestion {
    padding: 20px;
  }

  .suggestion-items {
    grid-template-columns: 1fr;
  }

  .modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .product-modal {
    width: 100%;
    max-height: calc(100vh - 18px);
    border-radius: 24px 24px 0 0;
  }

  .product-modal::before {
    content: "";
    width: 42px;
    height: 4px;
    flex: 0 0 auto;
    align-self: center;
    margin-top: 8px;
    border-radius: 999px;
    background: var(--cream-300);
  }

  .product-modal-scroll {
    padding: 18px 18px;
  }

  .modal-product-hero {
    grid-template-columns: 105px 1fr;
    gap: 13px;
  }

  .modal-product-hero > img {
    width: 105px;
    height: 105px;
  }

  .modal-product-hero h2 {
    margin-right: 35px;
    font-size: 1.23rem;
  }

  .modal-close {
    top: 15px;
    right: 13px;
    width: 39px;
    height: 39px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .modal-actionbar {
    grid-template-columns: auto 1fr;
    padding: 12px 15px calc(13px + env(safe-area-inset-bottom));
  }

  .quantity-control {
    gap: 8px;
  }

  .quantity-control button {
    width: 37px;
    height: 37px;
  }

  .success-modal {
    width: 100%;
    max-height: 100dvh;
    padding: 24px 18px calc(20px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
  }

  .success-mark {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    border-radius: 18px;
    font-size: 1.6rem;
  }

  .success-modal h2 {
    margin-top: 5px;
    font-size: 1.46rem;
  }

  .success-modal > p {
    margin-bottom: 13px;
    font-size: .78rem;
  }

  .success-order-number {
    margin-bottom: 11px;
    padding: 10px;
  }

  .success-order-number strong {
    font-size: 1.18rem;
  }

  .two-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .brand-copy strong {
    font-size: .8rem;
  }

  .brand-copy small {
    max-width: 145px;
    font-size: .59rem;
  }

  .welcome-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .product-card {
    grid-template-columns: 1fr 98px;
  }

  .address-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cep-field,
  .street-field,
  .neighborhood-field,
  .city-field,
  .complement-field,
  .reference-field {
    grid-column: 1 / 3;
  }

  .number-field { grid-column: 2 / 3; }
}

/* Experiência principal: celular */
@media (max-width: 820px) {
  body {
    padding-bottom: 92px;
    font-size: 17px;
    background: #fffaf2;
  }

  .preview-ribbon {
    min-height: 30px;
    justify-content: center;
    padding: 5px 12px;
    font-size: .66rem;
  }

  .preview-ribbon span {
    max-width: calc(100% - 90px);
  }

  .site-header {
    box-shadow: 0 4px 16px rgba(62, 30, 14, .055);
  }

  .header-inner {
    width: calc(100% - 24px);
    min-height: 64px;
  }

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 43px;
    height: 43px;
    border-radius: 13px;
  }

  .brand-copy strong {
    font-size: .94rem;
  }

  .brand-copy small {
    margin-top: 0;
    font-size: .66rem;
  }

  .app-shell {
    width: calc(100% - 24px);
    margin: 12px auto 32px;
  }

  .welcome-card {
    min-height: 172px;
    padding: 22px 36% 21px 21px;
    border-radius: 20px;
  }

  .welcome-card::before {
    background-size: 15px 15px;
  }

  .welcome-card .eyebrow {
    padding: 4px 8px;
    font-size: .61rem;
  }

  .welcome-card h1 {
    margin: 9px 0 7px;
    font-size: clamp(1.6rem, 7vw, 2rem);
    line-height: 1.02;
  }

  .welcome-card p {
    max-width: 340px;
    margin-bottom: 0;
    font-size: .76rem;
    line-height: 1.4;
  }

  .welcome-card .desktop-title,
  .welcome-card .benefit-row {
    display: none;
  }

  .welcome-card .mobile-title {
    display: inline;
  }

  .welcome-mascot {
    right: -20px;
    bottom: -63px;
    width: min(43%, 180px);
  }

  .start-panel {
    margin-top: 12px;
    padding: 16px;
    border-radius: 17px;
  }

  .section-heading.compact {
    margin-bottom: 12px;
  }

  .section-heading h2 {
    font-size: 1.28rem;
  }

  .step-kicker {
    font-size: .64rem;
  }

  .mode-switch {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .mode-option {
    position: relative;
    min-height: 78px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px 5px;
    text-align: center;
  }

  .mode-option > span:nth-child(2) {
    align-items: center;
  }

  .mode-option strong {
    font-size: .72rem;
    line-height: 1.14;
  }

  .mode-option small {
    display: none;
  }

  .mode-option i {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
    font-size: .52rem;
  }

  .mode-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: .9rem;
  }

  .catalog-tools {
    top: 64px;
    gap: 9px;
    margin-top: 10px;
    padding: 8px 0 10px;
  }

  .search-box {
    height: 48px;
    border-radius: 13px;
  }

  .search-box input {
    font-size: .87rem;
  }

  .category-chips {
    gap: 6px;
    margin-right: -12px;
    padding-right: 12px;
  }

  .category-chip {
    min-height: 42px;
    padding: 0 15px;
    font-size: .75rem;
  }

  .menu-section {
    padding-top: 10px;
  }

  .menu-section .section-heading {
    margin-bottom: 12px;
  }

  .product-grid {
    gap: 10px;
  }

  .product-card {
    min-height: 158px;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 11px;
    padding: 13px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(62, 30, 14, .06);
  }

  .product-card .item-badge {
    margin-bottom: 6px;
  }

  .item-badge {
    min-height: 20px;
    padding: 3px 7px;
    font-size: .58rem;
  }

  .product-card h3 {
    margin-bottom: 4px;
    font-size: .96rem;
    line-height: 1.2;
  }

  .product-description {
    margin-bottom: 8px;
    font-size: .71rem;
    line-height: 1.38;
  }

  .product-price {
    font-size: .98rem;
  }

  .product-action,
  .product-action.quick-add {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .product-image-wrap {
    min-height: 132px;
    border-radius: 13px;
  }

  .drink-suggestion {
    margin-top: 20px;
    padding: 18px;
    border-radius: 18px;
  }

  .drink-suggestion h2 {
    font-size: 1.2rem;
  }

  .prototype-note {
    margin-top: 14px;
    padding: 15px;
    border-radius: 15px;
  }

  .order-panel {
    inset: 0;
    max-height: 100dvh;
    border-radius: 0;
  }

  .order-panel-head {
    min-height: 70px;
    padding: 14px 16px;
  }

  .order-panel-head h2 {
    font-size: 1.35rem;
  }

  .close-order {
    width: 44px;
    height: 44px;
  }

  .order-section {
    padding: 18px 16px;
  }

  .order-section-title h3 {
    font-size: .94rem;
  }

  .cart-item {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    padding: 11px;
  }

  .cart-item img {
    width: 58px;
    height: 58px;
  }

  .cart-item-copy > strong {
    font-size: .81rem;
  }

  .cart-item-copy > small {
    font-size: .67rem;
  }

  .checkout-mode-tabs button {
    min-height: 44px;
    font-size: .72rem;
  }

  .field > span,
  .observation-group label > span {
    font-size: .72rem;
  }

  .field input,
  .field select,
  .field textarea,
  .observation-group textarea {
    min-height: 48px;
    padding: 11px 12px;
    border-radius: 11px;
    font-size: .84rem;
  }

  .field textarea,
  .observation-group textarea {
    min-height: 72px;
  }

  .two-columns {
    grid-template-columns: 1fr;
  }

  .address-grid {
    grid-template-columns: 1fr .58fr;
  }

  .location-button {
    min-height: 40px;
    font-size: .66rem;
  }

  .delivery-calculation {
    min-height: 58px;
  }

  .delivery-calculation strong {
    font-size: .7rem;
  }

  .delivery-calculation small {
    font-size: .62rem;
  }

  .payment-options {
    gap: 8px;
  }

  .payment-options button {
    min-height: 64px;
  }

  .payment-options button > strong {
    font-size: .75rem;
  }

  .payment-options button > small {
    font-size: .62rem;
  }

  .order-footer {
    padding: 12px 16px calc(13px + env(safe-area-inset-bottom));
  }

  .order-footer .primary-button {
    min-height: 56px;
    font-size: .87rem;
  }

  .mobile-cart-bar {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    min-height: 66px;
    padding: 8px 17px 8px 9px;
    border-radius: 18px;
  }

  .mobile-cart-count {
    font-size: .9rem;
  }

  .mobile-cart-count i {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: .84rem;
  }

  .mobile-cart-bar > strong {
    font-size: .94rem;
  }

  .product-modal {
    max-height: 100dvh;
    border-radius: 20px 20px 0 0;
  }

  .product-modal-scroll {
    padding: 17px 16px;
  }

  .modal-product-hero {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .modal-product-hero > img {
    width: 104px;
    height: 104px;
  }

  .modal-product-hero h2 {
    font-size: 1.25rem;
  }

  .custom-group-head h3 {
    font-size: 1.03rem;
  }

  .check-list strong,
  .radio-list strong,
  .extra-row strong {
    font-size: .8rem;
  }

  .check-list small,
  .radio-list small,
  .extra-row small {
    font-size: .67rem;
  }

  .check-list label,
  .radio-list label,
  .extra-row {
    min-height: 58px;
  }

  .extra-qty button {
    width: 38px;
    height: 38px;
  }

  .modal-actionbar {
    padding: 11px 12px calc(12px + env(safe-area-inset-bottom));
  }

  .modal-actionbar .primary-button {
    min-height: 54px;
    font-size: .78rem;
  }
}

@media (max-width: 420px) {
  .preview-ribbon span {
    max-width: 235px;
  }

  .preview-ribbon span strong {
    display: none;
  }

  .preview-ribbon .text-button {
    font-size: .62rem;
  }

  .welcome-card {
    padding-right: 34%;
  }

  .welcome-card h1 {
    font-size: 1.68rem;
  }

  .welcome-card p {
    font-size: .72rem;
  }

  .mode-option strong {
    font-size: .68rem;
  }

  .product-card {
    grid-template-columns: minmax(0, 1fr) 105px;
  }

  .address-head {
    align-items: flex-start;
  }

  .payment-options {
    grid-template-columns: 1fr 1fr;
  }
}

/* Identidade nordestina da vitrine */
.welcome-card {
  border: 2px solid rgba(59, 29, 15, .16);
  background-color: #ffc21c;
  background-image: url("assets/hero-cordel.png");
  background-position: center;
  background-size: cover;
  color: var(--brown-950);
  box-shadow: 0 18px 40px rgba(99, 49, 12, .18);
}

.welcome-card::before {
  background: linear-gradient(90deg, rgba(255, 199, 35, .98) 0%, rgba(255, 199, 35, .91) 34%, rgba(255, 199, 35, .18) 67%, transparent 82%);
  mask-image: none;
}

.welcome-card::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 7px;
  background: repeating-linear-gradient(135deg, #3b1d0f 0 8px, #f05a18 8px 16px, #ffc21c 16px 24px);
}

.welcome-card .eyebrow {
  border-color: rgba(59, 29, 15, .24);
  background: rgba(255, 247, 214, .7);
  color: var(--brown-900);
}

.welcome-card h1 {
  color: var(--brown-950);
  text-shadow: 0 1px 0 rgba(255, 247, 214, .35);
}

.welcome-card p {
  color: #4d2815;
  font-weight: 650;
}

.welcome-card .benefit-row span {
  border-color: rgba(59, 29, 15, .18);
  background: rgba(255, 247, 214, .68);
  color: var(--brown-900);
}

@media (max-width: 820px) {
  body {
    background-color: #fff8ea;
    background-image: radial-gradient(rgba(125, 74, 45, .055) .7px, transparent .7px);
    background-size: 14px 14px;
  }

  .welcome-card {
    min-height: 180px;
    padding-right: 38%;
    background-position: center;
  }

  .welcome-card::before {
    background: linear-gradient(90deg, rgba(255, 199, 35, .98) 0%, rgba(255, 199, 35, .9) 42%, rgba(255, 199, 35, .08) 73%, transparent 88%);
  }

  .catalog-tools {
    margin-top: 8px;
  }

  .menu-section .step-kicker {
    color: #c84f13;
  }
}

@media (max-width: 420px) {
  .welcome-card {
    min-height: 176px;
    padding: 21px 35% 21px 20px;
  }

  .welcome-card h1 {
    font-size: 1.55rem;
  }

  .welcome-card p {
    max-width: 220px;
  }
}

/* Atmosfera de cordel no fundo, com contraste preservado */
body {
  position: relative;
  isolation: isolate;
  background-color: #f7ead1;
  background-image:
    radial-gradient(circle at 8% 18%, rgba(240, 90, 24, .11), transparent 22%),
    radial-gradient(circle at 91% 40%, rgba(255, 194, 28, .15), transparent 21%),
    linear-gradient(rgba(255, 249, 236, .94), rgba(248, 233, 205, .95)),
    url("assets/hero-cordel.png");
  background-attachment: fixed;
  background-position: center, center, center, center top;
  background-size: auto, auto, auto, cover;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, rgba(101, 55, 31, .09) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(-45deg, rgba(230, 109, 18, .055) 0 1px, transparent 1px 22px);
  mask-image: linear-gradient(90deg, #000 0%, transparent 16%, transparent 84%, #000 100%);
}

.site-header {
  border-bottom-color: rgba(101, 55, 31, .14);
  background: rgba(255, 249, 236, .94);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 4px;
  background: repeating-linear-gradient(135deg, #6a351b 0 9px, #ef7c1b 9px 18px, #f6c531 18px 27px, #fff2d0 27px 36px);
  opacity: .82;
}

.product-card,
.start-panel,
.order-panel,
.search-box,
.category-chip {
  background-color: rgba(255, 253, 248, .96);
}

.product-card {
  border-color: rgba(101, 55, 31, .13);
  background-image: linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(255, 247, 230, .52));
}

.menu-section {
  position: relative;
}

.menu-section::before {
  content: "";
  position: absolute;
  top: 51px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 74, 45, .18), transparent);
}

.order-panel {
  background: #fffaf0;
}

.order-panel-head,
.order-footer {
  background: #fff6e7;
}

@media (max-width: 820px) {
  body {
    background-color: #f7ead1;
    background-image:
      radial-gradient(circle at 6% 14%, rgba(240, 90, 24, .1), transparent 22%),
      radial-gradient(circle at 96% 46%, rgba(255, 194, 28, .13), transparent 24%),
      linear-gradient(rgba(255, 249, 236, .94), rgba(248, 233, 205, .96)),
      url("assets/hero-cordel.png");
    background-attachment: scroll;
    background-position: center, center, center, 58% top;
    background-size: auto, auto, auto, auto 100vh;
  }

  body::before {
    opacity: .75;
    mask-image: linear-gradient(90deg, #000 0%, transparent 12%, transparent 88%, #000 100%);
  }

  .catalog-tools {
    background: rgba(255, 247, 231, .94);
  }

  .product-card {
    box-shadow: 0 8px 22px rgba(78, 38, 15, .075);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
