:root {
  --color-navy-900: #060f21;
  --color-navy-800: #0b1d3d;
  --color-navy-700: #143058;
  --color-navy-500: #1f4476;
  --color-gold-500: #f1b428;
  --color-gold-600: #d99a00;
  --color-bg: #f5f7fc;
  --color-card: #ffffff;
  --color-border: rgba(13, 33, 62, 0.14);
  --color-muted: #8a94a8;
  --color-success: #2fb27d;
  --color-error: #e04f4f;
  --color-text: #0f1b33;
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text);
  background: radial-gradient(circle at top, rgba(11, 29, 61, 0.3), transparent 55%),
    linear-gradient(180deg, rgba(11, 29, 61, 0.08), transparent 45%);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page main.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  background: linear-gradient(135deg, var(--color-navy-900), var(--color-navy-700));
  color: #fff;
  padding: 1.75rem 0;
  box-shadow: 0 12px 35px rgba(3, 9, 20, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-logo {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.site-logo h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.15rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.site-logo-image {
  width: clamp(44px, 6vw, 72px);
  height: auto;

  display: block;
  border-radius: 14px;
  background: rgb(236, 221, 0);
  padding: 0.1rem;
  box-shadow: 0 10px 26px rgba(3, 9, 20, 0.35);
}

.site-header .muted {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

.user-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.user-menu-link {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.user-menu-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.2);
}

.user-menu-link-active {
  background: rgba(241, 180, 40, 0.95);
  color: #1a1300;
  border-color: rgba(241, 180, 40, 0.8);
  box-shadow: 0 8px 16px rgba(241, 180, 40, 0.3);
}

.user-role-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(241, 180, 40, 0.2);
  color: #fff0bb;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header .button-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.site-header .button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: none;
}

.site-footer {
  margin-top: auto;
  background: var(--color-navy-900);
  color: #d4daea;
  padding: 1.75rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hero {
  background: linear-gradient(135deg, rgba(11, 29, 61, 0.95), rgba(31, 68, 118, 0.85));
  color: #fff;
  border-radius: 28px;
  padding: 3rem;
  margin: 2rem 0;
  box-shadow: 0 25px 70px rgba(6, 15, 33, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.hero p {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-heading h2,
.section-heading h3 {
  margin: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

.button {
  background: var(--color-gold-500);
  color: #1a1300;
  box-shadow: 0 10px 20px rgba(249, 190, 41, 0.35);
}

.button:hover {
  transform: translateY(-2px);
  background: var(--color-gold-600);
  box-shadow: 0 14px 24px rgba(249, 190, 41, 0.4);
}

.button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button-secondary {
  background: var(--color-navy-700);
  color: #fff;
  box-shadow: 0 12px 28px rgba(10, 25, 53, 0.35);
}

.button-secondary:hover {
  background: var(--color-navy-500);
  box-shadow: 0 14px 32px rgba(10, 25, 53, 0.4);
}

.button.button-light {
  background: var(--color-card);
  color: var(--color-navy-800);
  border: 1px solid rgba(15, 27, 51, 0.08);
  box-shadow: 0 8px 18px rgba(13, 33, 62, 0.08);
}

.button-small {
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
}

.card {
  background: var(--color-card);
  border-radius: 24px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 40px rgba(6, 15, 33, 0.07);
}

.card h2,
.card h3 {
  margin-top: 0;
  color: var(--color-navy-800);
}

.card.notice {
  background: linear-gradient(135deg, rgba(11, 29, 61, 0.04), rgba(31, 68, 118, 0.08));
  border-color: rgba(17, 46, 86, 0.18);
}

.details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding: 0;
}

.details dt {
  font-weight: 600;
  color: var(--color-muted);
  letter-spacing: 0.02em;
}

.details dd {
  margin: 0.3rem 0 0;
  font-size: 1.05rem;
}

label {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

input[type='text'],
input[type='password'],
input[type='tel'],
input[type='email'],
input[type='datetime-local'],
input[type='number'],
textarea,
select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 27, 51, 0.12);
  background: rgba(255, 255, 255, 0.96);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-navy-500);
  box-shadow: 0 0 0 3px rgba(31, 68, 118, 0.15);
  outline: none;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field.is-hidden {
  display: none !important;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Data/Horario de retirada: mostrar selects lado a lado */
.pickup-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.pickup-grid select {
  flex: 1;
  min-width: 0;
}

.form-row.compact {
  gap: 0.5rem;
}

.form-row .form-field {
  flex: 1;
  min-width: 0;
}

.form-block + .form-block {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(15, 27, 51, 0.08);
}

.order-timeline {
  position: relative;
  display: grid;
  gap: 1.6rem;
  padding-left: 2.4rem;
  margin-top: 0.5rem;
}

.order-timeline::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 2px;
  background: linear-gradient(180deg, var(--color-gold-500), rgba(31, 68, 118, 0.6));
  border-radius: 999px;
}

.order-timeline .timeline-item {
  position: relative;
}

.order-timeline .timeline-item::before {
  content: '';
  position: absolute;
  left: -2.05rem;
  top: 0.9rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-gold-500);
  box-shadow: 0 0 0 6px rgba(241, 180, 40, 0.2);
  border: 3px solid var(--color-navy-800);
}

.order-timeline .form-block + .form-block {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.form-block-header {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.form-block-header h3 {
  margin: 0;
}

.form-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--color-navy-700), var(--color-navy-500));
}

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

.muted {
  color: var(--color-muted);
}

.small {
  font-size: 0.9rem;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: 18px;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  border: 1px solid transparent;
  background: rgba(15, 27, 51, 0.05);
}

.alert-error {
  border-color: rgba(224, 79, 79, 0.25);
  background: rgba(224, 79, 79, 0.12);
  color: #a02121;
}

.alert-success {
  border-color: rgba(47, 178, 125, 0.25);
  background: rgba(47, 178, 125, 0.12);
  color: #146341;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.items-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.items-list li {
  background: rgba(15, 27, 51, 0.05);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
}

.payment-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.radio {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 27, 51, 0.06);
  border: 1px solid transparent;
  font-weight: 600;
}

.radio input {
  accent-color: var(--color-gold-500);
  transform: scale(1.1);
}

.summary {
  background: linear-gradient(135deg, rgba(241, 180, 40, 0.18), rgba(11, 29, 61, 0.15));
  border: 1px solid rgba(241, 180, 40, 0.3);
  border-radius: 20px;
  padding: 1.25rem;
}

.distribution-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(15, 27, 51, 0.04);
  border: 1px solid rgba(15, 27, 51, 0.08);
  border-radius: 16px;
  padding: 1rem;
}

.distribution-meta > div {
  flex: 1 1 160px;
}

.distribution-meta strong {
  font-size: 1.25rem;
  color: var(--color-navy-800);
}

.distribution-progress {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 27, 51, 0.12);
  margin: 0.75rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.distribution-progress::after {
  content: '';
  position: absolute;
  inset: 0;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--color-gold-500), var(--color-navy-500));
  border-radius: inherit;
  transition: width 0.2s ease;
}

.totals-card {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 16px 36px rgba(6, 15, 33, 0.07);
}

.totals-card > div {
  flex: 1 1 200px;
}

.totals-card strong {
  display: block;
  font-size: 1.4rem;
  color: var(--color-navy-800);
}

.table-responsive {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  border-radius: 20px;
  overflow: hidden;
}

table th,
table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(15, 27, 51, 0.08);
}

table th {
  background: rgba(15, 27, 51, 0.04);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--color-muted);
}

.table-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.review-comment-cell {
  min-width: 220px;
  max-width: 360px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  background: rgba(15, 27, 51, 0.08);
}

.status-paid {
  background: rgba(47, 178, 125, 0.18);
  color: #12633f;
}

.status-pending {
  background: rgba(241, 180, 40, 0.22);
  color: #8a5803;
}

.status-rejected {
  background: rgba(224, 79, 79, 0.2);
  color: #821a1a;
}

.status-expired {
  background: rgba(138, 148, 168, 0.2);
  color: #5b6475;
}

.order-code {
  font-size: 1.1rem;
  padding: 0.4rem 0.65rem;
  border-radius: 12px;
  background: rgba(15, 27, 51, 0.08);
}

.notice {
  background: rgba(15, 27, 51, 0.05);
  border: 1px dashed rgba(15, 27, 51, 0.15);
}

.admin-hero {
  margin-bottom: 1.5rem;
}

.admin-grid {
  align-items: flex-start;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.admin-stat-card {
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: rgba(15, 27, 51, 0.04);
  border: 1px solid rgba(15, 27, 51, 0.08);
}

.admin-stat-card strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.8rem;
  color: var(--color-navy-800);
}

.admin-stat-card small {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-muted);
}

.admin-form-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-inline-card {
  border: 1px solid rgba(15, 27, 51, 0.08);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.75);
}

.admin-inline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  align-items: end;
}

.admin-inline-grid-products {
  grid-template-columns: 1.2fr 1.6fr 0.8fr 0.6fr auto auto;
}

.admin-field-wide {
  grid-column: span 2;
}

.admin-catalog-preview {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 27, 51, 0.08);
}

.product-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.product-chip {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(15, 27, 51, 0.04);
  border: 1px solid rgba(15, 27, 51, 0.08);
}

.product-chip strong,
.product-chip span,
.product-chip small {
  display: block;
}

.product-chip span {
  margin-top: 0.35rem;
  font-weight: 700;
  color: var(--color-navy-800);
}

.product-chip small {
  margin-top: 0.4rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.items-section {
  margin-top: 1.5rem;
}

.items-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.items-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.item-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.item-row label {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.item-row select,
.item-row input {
  flex: 1;
}

.item-price-meta {
  flex: 0 0 160px;
  display: flex;
  align-items: end;
  padding-bottom: 0.2rem;
}

.item-price-hint {
  display: inline-block;
}

.item-row .remove-item {
  background: none;
  border: none;
  color: var(--color-error);
  font-weight: 600;
  cursor: pointer;
  align-self: end;
  padding: 0.8rem 0;
}

.pix-grid {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.pix-qr {
  flex: 0 0 170px;
}

.pix-qr img,
.pix-qr-image {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(6, 15, 33, 0.3);
}

.pix-info {
  flex: 1 1 280px;
}

#pixPollingInfo {
  display: none;
  font-size: 0.92rem;
  margin-top: 0.4rem;
}

#pixStatusMessage {
  margin-top: 0.75rem;
  font-weight: 600;
}

#pixStatusMessage.status-info {
  color: var(--color-muted);
}

#pixStatusMessage.status-success {
  color: var(--color-success);
}

#pixStatusMessage.status-error {
  color: var(--color-error);
}

@media (max-width: 720px) {
  .header-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .button,
  .button.button-light {
    width: 100%;
    justify-content: center;
  }

  .form-row {
    flex-direction: column;
  }

  .admin-inline-grid,
  .admin-inline-grid-products {
    grid-template-columns: 1fr;
  }

  .admin-field-wide {
    grid-column: auto;
  }

  .order-timeline {
    padding-left: 1.8rem;
  }

  .order-timeline::before {
    left: 0.4rem;
  }

  .order-timeline .timeline-item::before {
    left: -1.65rem;
  }

  .items-list li {
    flex-direction: column;
    gap: 0.35rem;
  }

  .item-price-meta {
    flex-basis: 100%;
    padding-bottom: 0;
  }
}

/* Professional UI refresh */
:root {
  --color-navy-900: #15171a;
  --color-navy-800: #20242a;
  --color-navy-700: #2f3946;
  --color-navy-500: #44546a;
  --color-gold-500: #b7791f;
  --color-gold-600: #94610f;
  --color-bg: #f6f7f9;
  --color-card: #ffffff;
  --color-border: #d9dee7;
  --color-muted: #6b7280;
  --color-success: #16835a;
  --color-error: #b42318;
  --color-info: #2563eb;
  --color-text: #1f2937;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 10px 28px rgba(16, 24, 40, 0.09);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}

a {
  color: #1d4ed8;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10000;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  background: var(--color-card);
  color: var(--color-text);
  box-shadow: var(--shadow-md);
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 1rem;
}

.page main.container,
.app-main {
  width: min(1180px, calc(100vw - 32px));
  padding: 2rem 0 3rem;
}

.container {
  width: min(1180px, calc(100vw - 32px));
  padding: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.85rem 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
  backdrop-filter: blur(14px);
}

.header-flex {
  display: grid;
  grid-template-columns: minmax(220px, auto) 1fr auto;
  align-items: center;
  gap: 1rem;
}

.header-brand-block {
  min-width: 0;
}

.site-logo {
  gap: 0.75rem;
}

.site-logo h1 {
  letter-spacing: 0;
}

.site-logo-image {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  padding: 0;
  background: #fff;
  box-shadow: none;
  border: 1px solid var(--color-border);
}

.site-logo-text {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.site-logo-text strong {
  font-size: 1rem;
  line-height: 1.15;
  color: var(--color-text);
  white-space: nowrap;
}

.site-logo-text small,
.header-user-summary {
  color: var(--color-muted);
  font-size: 0.82rem;
}

.header-user-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.header-user-summary strong {
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  background: #e8f0ff;
  color: #1d4ed8;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-header .muted {
  color: var(--color-muted);
}

.user-menu {
  justify-content: center;
  margin-top: 0;
  gap: 0.2rem;
}

.user-menu-link {
  color: var(--color-muted);
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  box-shadow: none;
}

.user-menu-link:hover {
  transform: none;
  background: #eef2f7;
  color: var(--color-text);
}

.user-menu-link-active {
  background: #111827;
  color: #fff;
  border: 0;
  box-shadow: none;
}

.header-actions {
  gap: 0.5rem;
}

.button {
  min-height: 40px;
  border-radius: 8px;
  padding: 0.62rem 1rem;
  border: 1px solid transparent;
  background: #111827;
  color: #fff;
  box-shadow: none;
  font-weight: 700;
  letter-spacing: 0;
}

.button:hover {
  transform: none;
  background: #374151;
  box-shadow: none;
}

.button-secondary,
.site-header .button-secondary {
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: none;
}

.button-secondary:hover,
.site-header .button-secondary:hover {
  background: #f3f4f6;
  border-color: #cbd5e1;
  box-shadow: none;
}

.button-small {
  min-height: 34px;
  padding: 0.45rem 0.75rem;
  font-size: 0.88rem;
}

.button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.22);
  outline-offset: 2px;
}

.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 1.25rem 0;
  text-align: left;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
}

.site-footer span {
  color: #9ca3af;
  font-size: 0.9rem;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 0 1.25rem;
}

.page-heading h1 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--color-text);
}

.page-heading p {
  max-width: 680px;
  margin: 0.45rem 0 0;
  color: var(--color-muted);
}

.eyebrow {
  display: inline-block;
  color: #1d4ed8;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel,
.card,
.form-card,
.shop-card,
.notice {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.panel,
.card {
  padding: 1.35rem;
  margin-bottom: 1rem;
}

.notice {
  padding: 1rem;
  background: #f8fafc;
  border-style: solid;
}

.hero {
  border-radius: 0;
  margin: 0 0 1rem;
  padding: 0;
  background: transparent;
  color: var(--color-text);
  box-shadow: none;
  border: 0;
}

.hero-landing {
  min-height: min(560px, calc(100vh - 160px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: center;
  gap: 2rem;
  padding: 3rem 0;
}

.hero-copy {
  max-width: 660px;
}

.hero h1,
.hero h2 {
  margin: 0.25rem 0 1rem;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--color-text);
}

.hero p {
  max-width: 620px;
  margin: 0 0 1.5rem;
  color: #4b5563;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 1.5rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: #fff;
}

.feature-strip article {
  padding: 1.2rem;
  border-right: 1px solid var(--color-border);
}

.feature-strip article:last-child {
  border-right: 0;
}

.feature-strip span {
  color: #1d4ed8;
  font-weight: 800;
  font-size: 0.78rem;
}

.feature-strip strong {
  display: block;
  margin-top: 0.25rem;
}

.feature-strip p {
  margin: 0.25rem 0 0;
  color: var(--color-muted);
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 440px);
  gap: 2rem;
  align-items: center;
  min-height: min(640px, calc(100vh - 170px));
}

.auth-shell-wide {
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 520px);
}

.auth-intro h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.auth-intro p {
  max-width: 520px;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.form-card {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
}

.form-feedback {
  margin-bottom: 1rem;
}

.form-feedback[hidden] {
  display: none !important;
}

.form-card h2 {
  margin: 0;
}

.form-card-flat {
  width: min(620px, 100%);
  border: 0;
  box-shadow: none;
  padding: 0;
}

.form-panel {
  max-width: 720px;
}

label,
.form-field span {
  font-weight: 700;
}

.form-field {
  gap: 0.4rem;
}

input[type='text'],
input[type='password'],
input[type='tel'],
input[type='email'],
input[type='datetime-local'],
input[type='date'],
input[type='number'],
textarea,
select {
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--color-text);
}

input:disabled {
  background: #f3f4f6;
  color: #6b7280;
}

.grid {
  gap: 1rem;
}

.shop-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem;
}

.shop-card h3 {
  margin: 0;
  color: var(--color-text);
}

.shop-card p {
  flex: 1;
  margin: 0;
}

.shop-card-status {
  color: var(--color-success);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.install-button[hidden],
.ios-help[hidden] {
  display: none !important;
}

.ios-help {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 680px;
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.ios-help p {
  margin: 0.25rem 0 0;
  color: var(--color-muted);
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  justify-items: start;
  gap: 0.5rem;
  padding: 2rem;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
}

.empty-state strong {
  font-size: 1.1rem;
}

.empty-state p {
  margin: 0;
  color: var(--color-muted);
}

.section-heading {
  align-items: center;
  margin-bottom: 1rem;
}

.section-heading p {
  margin-bottom: 0;
}

.rules {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.1rem;
}

.order-compose-grid {
  align-items: start;
}

.order-rules-panel {
  position: sticky;
  top: 96px;
}

.order-timeline {
  padding-left: 1.75rem;
  gap: 1rem;
}

.order-timeline::before {
  background: #cbd5e1;
}

.order-timeline .timeline-item::before {
  top: 0.55rem;
  width: 12px;
  height: 12px;
  left: -1.55rem;
  border: 2px solid #fff;
  background: #2563eb;
  box-shadow: 0 0 0 3px #dbeafe;
}

.form-block-header {
  gap: 0.75rem;
}

.form-step {
  border-radius: 6px;
  background: #e8f0ff;
  color: #1d4ed8;
  letter-spacing: 0.04em;
}

.distribution-meta,
.totals-card,
.product-chip,
.admin-stat-card,
.admin-inline-card {
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  box-shadow: none;
}

.distribution-progress {
  height: 8px;
  background: #e5e7eb;
}

.distribution-progress::after {
  background: #2563eb;
}

.items-header h3 {
  margin: 0;
}

.item-row {
  align-items: end;
  padding: 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
}

.item-row .remove-item {
  color: var(--color-error);
  padding: 0.65rem 0;
}

.admin-stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.admin-stat-card strong {
  color: var(--color-text);
}

.admin-inline-grid,
.admin-inline-grid-products {
  align-items: end;
}

.table-responsive {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
}

table {
  border-radius: 0;
  overflow: visible;
}

table th,
table td {
  padding: 0.9rem 1rem;
  vertical-align: middle;
}

table th {
  background: #f8fafc;
  color: #4b5563;
  letter-spacing: 0.03em;
}

tbody tr:hover {
  background: #f8fafc;
}

.status,
.order-code,
.radio {
  border-radius: 6px;
}

.status {
  padding: 0.3rem 0.55rem;
  font-size: 0.85rem;
}

.status-paid {
  background: #dcfce7;
  color: #166534;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-rejected {
  background: #fee2e2;
  color: #991b1b;
}

.status-expired {
  background: #e5e7eb;
  color: #4b5563;
}

.order-code {
  display: inline-flex;
  align-items: center;
  background: #eef2f7;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.details {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.8rem;
  margin: 0 0 1.25rem;
}

.details > div {
  padding: 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #f8fafc;
}

.details dt {
  color: var(--color-muted);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.details dd {
  font-size: 1rem;
  font-weight: 700;
}

.items-list {
  gap: 0.55rem;
}

.items-list li {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
}

.payment-shell {
  display: grid;
  gap: 1rem;
}

.payment-summary-header,
.confirmation-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--color-border);
}

.payment-summary-header > div,
.confirmation-banner > div {
  display: grid;
  gap: 0.25rem;
}

.total-pill {
  white-space: nowrap;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  background: #111827;
  color: #fff;
}

.payment-options {
  gap: 0.65rem;
}

.radio {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 0.6rem 0.75rem;
}

.radio:has(input:checked) {
  border-color: #2563eb;
  background: #eff6ff;
}

.pix-grid {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
}

.pix-qr img,
.pix-qr-image {
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid var(--color-border);
}

.pix-info textarea {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
}

.confirmation-banner {
  justify-content: flex-start;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.confirmation-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-weight: 900;
  font-size: 1.3rem;
}

.alert {
  border-radius: 8px;
  padding: 0.85rem 1rem;
}

.alert p {
  margin: 0;
}

.alert-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: var(--color-error);
}

.alert-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.alert-info {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

@media (max-width: 980px) {
  .header-flex {
    grid-template-columns: 1fr auto;
  }

  .user-menu {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.1rem;
  }

  .hero-landing,
  .auth-shell,
  .auth-shell-wide {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-height: 360px;
  }

  .order-rules-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .page main.container,
  .app-main,
  .container {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    position: static;
  }

  .header-flex,
  .site-footer .container,
  .page-heading,
  .payment-summary-header,
  .confirmation-banner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions form,
  .header-actions .button {
    width: 100%;
  }

  .user-menu {
    width: 100%;
  }

  .user-menu-link {
    flex: 1 0 auto;
    text-align: center;
  }

  .hero-landing {
    padding: 1.5rem 0 2rem;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .feature-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .feature-strip article:last-child {
    border-bottom: 0;
  }

  .panel,
  .card,
  .form-card {
    padding: 1rem;
  }

  .form-card-flat {
    padding: 0;
  }

  .ios-help,
  .pix-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .pix-grid {
    display: grid;
  }

  .pix-qr {
    max-width: 220px;
  }

  .table-responsive {
    border: 0;
    background: transparent;
  }

  table {
    min-width: 760px;
  }
}

/* Brand landing refresh */
:root {
  --brand-blue-900: #082653;
  --brand-blue-800: #0a3474;
  --brand-blue-700: #0e4d9a;
  --brand-blue-100: #eaf3ff;
  --brand-yellow-600: #f1a900;
  --brand-yellow-500: #ffbd17;
  --brand-yellow-100: #fff3c9;
  --brand-cream: #fff8e8;
  --brand-brown: #2b1609;
  --color-navy-900: var(--brand-blue-900);
  --color-navy-800: var(--brand-blue-800);
  --color-navy-700: var(--brand-blue-700);
  --color-navy-500: #2267b3;
  --color-gold-500: var(--brand-yellow-500);
  --color-gold-600: var(--brand-yellow-600);
  --color-bg: var(--brand-cream);
  --color-text: var(--brand-brown);
  --color-border: rgba(8, 38, 83, 0.12);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 189, 23, 0.22), transparent 32%),
    radial-gradient(circle at 88% 16%, rgba(14, 77, 154, 0.12), transparent 34%),
    var(--brand-cream);
}

.page-public .app-main {
  width: min(1280px, calc(100vw - 40px));
  padding-top: 0;
}

.site-header {
  background: rgba(255, 250, 239, 0.94);
  border-bottom-color: rgba(8, 38, 83, 0.1);
  box-shadow: 0 12px 30px rgba(8, 38, 83, 0.08);
}

.site-logo-image {
  border-color: rgba(255, 189, 23, 0.45);
}

.site-logo-text strong,
.page-heading h1,
.card h2,
.card h3 {
  color: var(--brand-blue-900);
}

.site-logo-text small,
.site-header .muted {
  color: rgba(8, 38, 83, 0.68);
}

.public-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1.2vw, 1.1rem);
}

.public-menu a {
  position: relative;
  padding: 0.55rem 0.4rem;
  color: var(--brand-blue-900);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.public-menu a::after {
  content: '';
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  bottom: 0.1rem;
  height: 3px;
  border-radius: 999px;
  background: var(--brand-yellow-500);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.public-menu a:hover::after,
.public-menu a:focus-visible::after {
  transform: scaleX(1);
}

.button,
.landing-primary-button {
  background: var(--brand-yellow-500);
  color: #1f1300;
  border-color: rgba(221, 145, 0, 0.18);
  box-shadow: 0 12px 22px rgba(241, 169, 0, 0.24);
}

.button:hover,
.landing-primary-button:hover {
  background: var(--brand-yellow-600);
  color: #1f1300;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(241, 169, 0, 0.28);
}

.button-secondary,
.site-header .button-secondary,
.landing-outline-button {
  background: #fff;
  color: var(--brand-blue-900);
  border-color: rgba(8, 38, 83, 0.18);
  box-shadow: 0 10px 20px rgba(8, 38, 83, 0.08);
}

.button-secondary:hover,
.site-header .button-secondary:hover,
.landing-outline-button:hover {
  background: var(--brand-blue-100);
  color: var(--brand-blue-900);
  border-color: rgba(14, 77, 154, 0.28);
}

.landing-page {
  display: grid;
  gap: 1.4rem;
}

.landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  min-height: 600px;
  padding: clamp(2rem, 5vw, 4.5rem) 0 2rem;
}

.landing-copy {
  position: relative;
  z-index: 2;
  max-width: 610px;
}

.landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand-blue-700);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.landing-kicker::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-yellow-500);
  box-shadow: 0 0 0 5px rgba(255, 189, 23, 0.22);
}

.landing-hero h1 {
  max-width: 680px;
  margin: 1.1rem 0 1rem;
  color: var(--brand-brown);
  font-size: clamp(2.8rem, 6vw, 5.25rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.landing-hero h1 span {
  display: block;
  color: var(--brand-yellow-600);
}

.landing-hero p,
.landing-section p {
  color: rgba(43, 22, 9, 0.74);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
}

.landing-actions,
.landing-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.landing-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  margin-top: 1.6rem;
  color: rgba(8, 38, 83, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
}

.landing-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.landing-trust-row strong {
  color: var(--brand-yellow-600);
}

.landing-visual {
  position: relative;
  min-height: 500px;
  isolation: isolate;
}

.landing-visual::before {
  content: '';
  position: absolute;
  inset: 0 -5vw 0 2rem;
  z-index: -2;
  border-radius: 48% 0 0 48%;
  background:
    linear-gradient(90deg, var(--brand-yellow-500) 0 3.2%, transparent 3.2%),
    radial-gradient(circle at 72% 30%, rgba(255, 255, 255, 0.7), transparent 16%),
    linear-gradient(135deg, rgba(8, 38, 83, 0.92), rgba(14, 77, 154, 0.78));
  box-shadow: inset 28px 0 0 rgba(255, 189, 23, 0.9), 0 28px 70px rgba(8, 38, 83, 0.18);
}

.landing-logo-visual {
  display: grid;
  place-items: center;
}

.landing-logo-visual::before {
  display: none;
}

.landing-logo-visual .landing-product-image {
  width: min(100%, 920px);
  height: auto;
  display: block;
}

.landing-visual-glow {
  position: absolute;
  inset: 9% 4% 13% 11%;
  z-index: -1;
  border-radius: 48px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.38), transparent 20%),
    radial-gradient(circle at 78% 18%, rgba(255, 189, 23, 0.22), transparent 26%),
    rgba(255, 255, 255, 0.12);
  filter: blur(0.1px);
}

.snack-platter {
  position: absolute;
  left: clamp(2rem, 6vw, 5.5rem);
  right: 1.5rem;
  bottom: 96px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.3rem, 1vw, 0.8rem);
  min-height: 260px;
  padding: 2rem 2rem 1.4rem;
  border-radius: 44px 44px 60px 60px;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.72), rgba(255, 246, 223, 0.9) 48%, rgba(219, 163, 80, 0.24) 49%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 239, 201, 0.22));
}

.snack {
  position: relative;
  display: block;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.72), transparent 12%),
    radial-gradient(circle at 68% 78%, rgba(145, 73, 16, 0.22), transparent 19%),
    linear-gradient(145deg, #ffd978, #dd7f1e 68%, #a84e12);
  box-shadow: inset -12px -16px 24px rgba(120, 54, 8, 0.2), 0 18px 26px rgba(55, 25, 5, 0.28);
}

.snack::after {
  content: '';
  position: absolute;
  inset: 18% 22%;
  border-radius: inherit;
  background-image:
    radial-gradient(circle, rgba(120, 54, 8, 0.16) 0 2px, transparent 2.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.28) 0 1.5px, transparent 2px);
  background-position: 0 0, 10px 8px;
  background-size: 18px 18px, 16px 16px;
}

.snack-round {
  width: clamp(76px, 8vw, 118px);
  height: clamp(76px, 8vw, 118px);
  border-radius: 999px;
}

.snack-cone {
  width: clamp(82px, 8vw, 126px);
  height: clamp(126px, 13vw, 190px);
  border-radius: 58% 58% 46% 46% / 82% 82% 32% 32%;
  transform: rotate(-7deg);
}

.snack-half {
  width: clamp(94px, 9vw, 138px);
  height: clamp(58px, 5.5vw, 84px);
  border-radius: 999px 999px 26px 26px;
  background:
    radial-gradient(circle at 55% 85%, #9b4a1a 0 18%, transparent 19%),
    linear-gradient(145deg, #fff1b5, #ffcb62 56%, #d07a1d);
}

.snack-one {
  margin-bottom: 2.5rem;
}

.snack-two {
  margin-bottom: 1.2rem;
}

.snack-three {
  width: clamp(68px, 7vw, 104px);
  height: clamp(68px, 7vw, 104px);
  margin-bottom: 5.8rem;
}

.snack-four {
  margin-bottom: 2.7rem;
  transform: rotate(8deg);
}

.snack-five {
  margin-bottom: 3.3rem;
}

.snack-six {
  width: clamp(60px, 6vw, 92px);
  height: clamp(60px, 6vw, 92px);
  margin-bottom: 6.6rem;
}

.snack-seven {
  margin-bottom: 1.2rem;
}

.landing-basket {
  position: absolute;
  left: clamp(2.8rem, 7vw, 6rem);
  right: 2rem;
  bottom: 74px;
  height: 92px;
  border-radius: 0 0 140px 140px / 0 0 62px 62px;
  background:
    repeating-linear-gradient(14deg, rgba(127, 73, 29, 0.28) 0 8px, rgba(255, 231, 178, 0.44) 8px 16px),
    linear-gradient(180deg, #d79a4d, #9b5a24);
  box-shadow: inset 0 18px 16px rgba(255, 232, 177, 0.3), 0 24px 34px rgba(43, 22, 9, 0.24);
}

.landing-love-badge {
  position: absolute;
  right: 1.3rem;
  bottom: 52px;
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  padding: 1rem;
  border-radius: 999px;
  background: #4b260d;
  color: var(--brand-yellow-500);
  text-align: center;
  box-shadow: 0 18px 34px rgba(43, 22, 9, 0.3);
  transform: rotate(-2deg);
}

.landing-love-badge span {
  font-size: 1.7rem;
  line-height: 1;
}

.landing-love-badge strong {
  color: var(--brand-yellow-500);
  font-size: 0.86rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.landing-love-badge small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 38, 83, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 60px rgba(8, 38, 83, 0.08);
}

.landing-feature-grid article {
  display: flex;
  gap: 0.9rem;
  min-height: 132px;
  padding: 1.35rem;
  border-right: 1px solid rgba(8, 38, 83, 0.08);
}

.landing-feature-grid article:last-child {
  border-right: 0;
}

.landing-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--brand-yellow-500);
  box-shadow: 0 12px 22px rgba(241, 169, 0, 0.22);
}

.landing-feature-grid strong {
  display: block;
  color: var(--brand-blue-900);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.landing-feature-grid p {
  margin: 0.35rem 0 0;
  color: rgba(43, 22, 9, 0.72);
  font-size: 0.9rem;
}

.landing-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid rgba(8, 38, 83, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 48px rgba(8, 38, 83, 0.07);
}

.landing-section h2 {
  margin: 0.75rem 0 0.65rem;
  color: var(--brand-blue-900);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.landing-menu-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.landing-menu-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(14, 77, 154, 0.12);
  border-radius: 999px;
  background: var(--brand-blue-100);
  color: var(--brand-blue-900);
  font-weight: 800;
}

.landing-contact-section {
  margin-bottom: 1.5rem;
  background:
    radial-gradient(circle at 92% 16%, rgba(255, 189, 23, 0.28), transparent 24%),
    linear-gradient(135deg, var(--brand-blue-900), var(--brand-blue-700));
}

.landing-contact-section .landing-kicker,
.landing-contact-section h2 {
  color: #fff;
}

.landing-contact-section .landing-kicker::before {
  background: #fff;
}

.landing-contact-section .landing-contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  background: var(--brand-blue-900);
}

@media (max-width: 1100px) {
  .header-flex {
    grid-template-columns: 1fr auto;
  }

  .public-menu {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .landing-visual {
    min-height: 430px;
  }

  .landing-visual::before {
    inset: 0;
    border-radius: 36px;
  }

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

  .landing-feature-grid article:nth-child(2) {
    border-right: 0;
  }

  .landing-feature-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(8, 38, 83, 0.08);
  }
}

@media (max-width: 720px) {
  .page-public .app-main {
    width: min(100% - 24px, 1180px);
  }

  .header-actions {
    flex-direction: row;
  }

  .public-menu {
    gap: 0.2rem;
  }

  .public-menu a {
    flex: 0 0 auto;
    font-size: 0.76rem;
  }

  .landing-hero {
    padding-top: 1.5rem;
  }

  .landing-hero h1 {
    font-size: clamp(2.45rem, 15vw, 4rem);
  }

  .landing-actions .button,
  .landing-contact-actions .button {
    width: 100%;
  }

  .landing-visual {
    min-height: 360px;
  }

  .snack-platter {
    left: 0.3rem;
    right: 0.3rem;
    bottom: 88px;
    min-height: 210px;
    padding-inline: 0.8rem;
  }

  .landing-basket {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 66px;
  }

  .landing-love-badge {
    right: 0.7rem;
    bottom: 38px;
    width: 104px;
    height: 104px;
  }

  .landing-feature-grid,
  .landing-section {
    grid-template-columns: 1fr;
  }

  .landing-feature-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(8, 38, 83, 0.08);
  }

  .landing-feature-grid article:last-child {
    border-bottom: 0;
  }

  .landing-contact-section .landing-contact-actions {
    justify-content: stretch;
  }
}

/* Final public storefront theme */
.page-public {
  background:
    linear-gradient(90deg, rgba(255, 189, 23, 0.18) 0 34%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 78% 12%, rgba(14, 77, 154, 0.16), transparent 28%),
    #fff8e8;
}

.page-public .site-header {
  background: #fffaf0;
  border-bottom: 1px solid rgba(255, 189, 23, 0.38);
  box-shadow: 0 10px 26px rgba(8, 38, 83, 0.08);
}

.page-public .header-flex {
  grid-template-columns: minmax(190px, auto) 1fr auto;
}

.page-public .site-logo-image {
  width: 76px;
  height: 54px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.page-public .site-logo-text {
  display: none;
}

.page-public .header-brand-block .muted {
  display: none;
}

.page-public .public-menu {
  gap: clamp(0.8rem, 2.2vw, 2.2rem);
}

.page-public .public-menu a {
  color: #082653;
  font-size: 0.78rem;
  font-weight: 900;
}

.page-public .header-actions .button {
  border-radius: 10px;
  background: #ffbd17;
  color: #2b1609;
  text-transform: uppercase;
}

.page-public .app-main {
  width: min(1320px, calc(100vw - 44px));
}

.page-public .landing-page {
  gap: 2rem;
}

.page-public .landing-hero {
  min-height: calc(100vh - 126px);
  padding: clamp(2rem, 5vw, 4.5rem) 0 2.5rem;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
}

.page-public .landing-kicker {
  color: #0e4d9a;
}

.page-public .landing-hero h1 {
  color: #2b1609;
  font-size: clamp(3.8rem, 7vw, 6.7rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.page-public .landing-hero h1 span {
  color: #ffb000;
  text-shadow: 0 7px 20px rgba(255, 189, 23, 0.18);
}

.page-public .landing-hero p {
  max-width: 560px;
  color: rgba(43, 22, 9, 0.78);
  font-weight: 600;
}

.page-public .landing-actions .button {
  min-height: 56px;
  border-radius: 12px;
  padding: 0.9rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 950;
  text-transform: uppercase;
}

.page-public .landing-primary-button {
  background: #ffbd17;
  color: #2b1609;
  border-color: #ffbd17;
}

.page-public .landing-outline-button {
  background: #fff;
  color: #082653;
  border: 2px solid rgba(8, 38, 83, 0.18);
}

.page-public .landing-visual {
  display: grid;
  place-items: center;
  min-height: 560px;
}

.page-public .landing-visual::before,
.page-public .landing-visual-glow,
.page-public .snack-platter,
.page-public .landing-basket,
.page-public .landing-love-badge {
  display: none;
}

.page-public .landing-product-image {
  width: min(100%, 790px);
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 44px rgba(8, 38, 83, 0.18));
}

.page-public .landing-trust-row {
  color: #082653;
}

.page-public .landing-feature-grid {
  margin-top: -1rem;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 52px rgba(8, 38, 83, 0.1);
}

.page-public .landing-feature-grid article {
  min-height: 150px;
  border-right-color: rgba(8, 38, 83, 0.1);
}

.page-public .landing-icon {
  background: #ffbd17;
  color: #082653;
}

.page-public .landing-section {
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 52px rgba(8, 38, 83, 0.08);
}

.page-public .landing-section h2 {
  color: #082653;
}

.page-public .landing-menu-list span {
  background: #eaf3ff;
  border-color: rgba(14, 77, 154, 0.16);
  color: #082653;
}

.page-public .landing-contact-section {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 189, 23, 0.44), transparent 26%),
    linear-gradient(135deg, #082653, #0e4d9a);
}

.page-public .landing-contact-section h2 {
  color: #fff;
}

.page-authenticated .card,
.page-authenticated .shop-card,
.page-authenticated .card-shop {
  border-radius: 18px;
  border-color: rgba(8, 38, 83, 0.12);
  box-shadow: 0 18px 42px rgba(8, 38, 83, 0.08);
}

.page-authenticated .card h2,
.page-authenticated .card h3 {
  color: #082653;
}

@media (max-width: 1100px) {
  .page-public .header-flex {
    grid-template-columns: 1fr auto;
  }

  .page-public .landing-hero {
    grid-template-columns: 1fr;
  }

  .page-public .landing-visual {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .page-public .app-main {
    width: min(100% - 24px, 1180px);
  }

  .page-public .site-logo-image {
    width: 64px;
    height: 46px;
  }

  .page-public .header-actions {
    flex-direction: column;
  }

  .page-public .landing-hero {
    min-height: auto;
  }

  .page-public .landing-hero h1 {
    font-size: clamp(2.85rem, 15vw, 4.7rem);
  }

  .page-public .landing-visual {
    min-height: auto;
  }

  .page-public .landing-product-image {
    width: min(100%, 560px);
  }
}

/* Simplified order form */
.order-page {
  display: grid;
  gap: 1.25rem;
}

.order-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0 0.25rem;
}

.order-page-header h1 {
  margin: 0.45rem 0 0.3rem;
  color: #2b1609;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.order-page-header p {
  max-width: 760px;
  margin: 0;
  color: rgba(43, 22, 9, 0.72);
  font-weight: 600;
}

.order-back-link {
  display: inline-flex;
  margin-bottom: 0.65rem;
  color: #0e4d9a;
  font-weight: 800;
  text-decoration: none;
}

.order-back-link:hover {
  text-decoration: underline;
}

.order-store-badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #eaf3ff;
  color: #082653;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.order-form-modern {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: start;
}

.order-form-modern .form-feedback {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.order-builder-card,
.order-summary-card {
  border: 1px solid rgba(8, 38, 83, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 54px rgba(8, 38, 83, 0.08);
}

.order-builder-card {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1rem, 2.3vw, 1.6rem);
}

.order-step-card {
  display: grid;
  gap: 0.9rem;
}

.order-step-card + .order-step-card {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(8, 38, 83, 0.08);
}

.order-step-title {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.order-step-title > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ffbd17;
  color: #2b1609;
  font-size: 0.9rem;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(255, 189, 23, 0.24);
}

.order-step-title h2 {
  margin: 0;
  color: #2b1609;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.order-step-title p {
  margin: 0.2rem 0 0;
  color: rgba(43, 22, 9, 0.62);
  font-size: 0.88rem;
  font-weight: 600;
}

.quantity-button-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-left: 2.7rem;
}

.quantity-option,
.quantity-more-select {
  min-width: 76px;
  min-height: 44px;
  border: 1px solid rgba(8, 38, 83, 0.14);
  border-radius: 10px;
  background: #fff;
  color: #2b1609;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.quantity-more-select {
  width: 76px;
  padding: 0 0.9rem;
  text-align: center;
  text-align-last: center;
  appearance: none;
}

.quantity-option:hover,
.quantity-more-select:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 189, 23, 0.7);
}

.quantity-option.is-active,
.quantity-more-select.is-active {
  background: #ffbd17;
  border-color: #ffbd17;
  box-shadow: 0 10px 20px rgba(255, 189, 23, 0.24);
}

.order-pickup-grid {
  padding-left: 2.7rem;
}

.order-pickup-grid .form-field {
  flex: 1 1 180px;
}

.order-pickup-grid input,
.order-pickup-grid select {
  min-height: 46px;
  border-color: rgba(8, 38, 83, 0.14);
  background: #fffdf8;
}

.order-distribution-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 0.75rem;
  padding-left: 2.7rem;
}

.order-distribution-bar > div:not(.distribution-progress) {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #fff8e8;
  border: 1px solid rgba(255, 189, 23, 0.22);
}

.order-distribution-bar span {
  display: block;
  color: rgba(43, 22, 9, 0.6);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.order-distribution-bar strong {
  display: block;
  margin-top: 0.2rem;
  color: #082653;
  font-size: 1.2rem;
}

#remainingQuantityLabel.is-complete {
  color: #166534;
}

#remainingQuantityLabel.is-over {
  color: #b42318;
}

.order-distribution-bar .distribution-progress {
  grid-column: 1 / -1;
  margin: 0;
}

.product-order-list {
  display: grid;
  gap: 0.75rem;
  padding-left: 2.7rem;
}

.product-order-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.85rem;
  min-height: 92px;
  padding: 0.65rem;
  border: 1px solid rgba(8, 38, 83, 0.1);
  border-radius: 16px;
  background: #fffdf8;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.product-order-card:hover,
.product-order-card.is-selected {
  border-color: rgba(255, 189, 23, 0.72);
  box-shadow: 0 12px 26px rgba(8, 38, 83, 0.07);
}

.product-order-card.is-selected {
  background: linear-gradient(90deg, rgba(255, 189, 23, 0.12), #fffdf8 34%);
}

.product-order-card img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border: 1px solid rgba(8, 38, 83, 0.08);
  border-radius: 16px;
  background: #fff8e8;
}

.product-order-info {
  min-width: 0;
}

.product-order-info strong {
  display: block;
  color: #2b1609;
  font-size: 0.95rem;
  font-weight: 950;
  text-transform: uppercase;
}

.product-order-info span {
  display: block;
  margin-top: 0.2rem;
  color: rgba(43, 22, 9, 0.62);
  font-size: 0.84rem;
  font-weight: 700;
}

.product-order-controls {
  display: inline-grid;
  grid-template-columns: 36px 64px 36px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(8, 38, 83, 0.12);
  border-radius: 10px;
  background: #fff;
}

.qty-button,
.qty-clear-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-weight: 950;
}

.qty-button {
  height: 38px;
  background: #fff8e8;
  color: #2b1609;
  font-size: 1.15rem;
}

.qty-button:hover {
  background: #ffbd17;
}

.product-order-controls input {
  height: 38px;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(8, 38, 83, 0.12);
  border-right: 1px solid rgba(8, 38, 83, 0.12);
  border-radius: 0;
  text-align: center;
  font-weight: 900;
  -moz-appearance: textfield;
}

.product-order-controls input::-webkit-outer-spin-button,
.product-order-controls input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.qty-clear-button {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff1f1;
  color: #b42318;
}

.qty-clear-button:hover {
  background: #fee2e2;
}

.order-summary-card {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.order-summary-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.order-summary-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff8e8;
}

.order-summary-title h2 {
  margin: 0;
  color: #2b1609;
  font-size: 1rem;
  font-weight: 950;
  text-transform: uppercase;
}

.order-summary-meta {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(8, 38, 83, 0.08);
}

.order-summary-meta div,
.order-summary-items div,
.order-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.order-summary-meta dt,
.order-summary-total span {
  color: rgba(43, 22, 9, 0.68);
  font-size: 0.88rem;
  font-weight: 800;
}

.order-summary-meta dd {
  margin: 0;
  color: #2b1609;
  font-size: 0.9rem;
  font-weight: 900;
}

.order-summary-items {
  display: grid;
  gap: 0.55rem;
  min-height: 70px;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(8, 38, 83, 0.08);
}

.order-summary-items p {
  margin: 0;
  color: rgba(43, 22, 9, 0.58);
  font-size: 0.9rem;
  font-weight: 700;
}

.order-summary-items span {
  color: rgba(43, 22, 9, 0.74);
  font-size: 0.9rem;
  font-weight: 800;
}

.order-summary-items strong {
  white-space: nowrap;
  color: #2b1609;
  font-size: 0.9rem;
}

.order-summary-total {
  padding: 0.2rem 0;
}

.order-summary-total span {
  text-transform: uppercase;
}

.order-summary-total strong {
  color: #2b1609;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
}

.order-payment-methods {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0.9rem 0 0;
  border: 0;
  border-top: 1px solid rgba(8, 38, 83, 0.08);
}

.order-payment-methods legend {
  margin-bottom: 0.2rem;
  color: #2b1609;
  font-size: 0.9rem;
  font-weight: 950;
  text-transform: uppercase;
}

.payment-method-card {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0.1rem 0.65rem;
  align-items: center;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(8, 38, 83, 0.12);
  border-radius: 14px;
  background: #fffdf8;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.payment-method-card:hover,
.payment-method-card.is-selected {
  border-color: #ffbd17;
  background: #fff8e8;
  box-shadow: 0 10px 22px rgba(255, 189, 23, 0.16);
}

.payment-method-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-method-card > span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #eaf3ff;
}

.payment-method-card.is-selected > span {
  background: #ffbd17;
}

.payment-method-card strong {
  color: #2b1609;
  font-size: 0.92rem;
  font-weight: 950;
}

.payment-method-card small {
  color: rgba(43, 22, 9, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
}

.order-submit-button {
  min-height: 56px;
  width: 100%;
  border-radius: 12px;
  background: #ffbd17;
  color: #2b1609;
  font-size: 0.92rem;
  font-weight: 950;
  text-transform: uppercase;
}

.order-secure-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  color: #166534;
  font-size: 0.82rem;
  font-weight: 800;
}

.order-secure-note::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #dcfce7;
}

@media (max-width: 1080px) {
  .order-form-modern {
    grid-template-columns: 1fr;
  }

  .order-summary-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .order-page-header h1 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .quantity-button-grid,
  .order-pickup-grid,
  .order-distribution-bar,
  .product-order-list {
    padding-left: 0;
  }

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

  .product-order-card img {
    width: 64px;
    height: 64px;
  }

  .product-order-controls {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .qty-clear-button {
    grid-column: 3;
    grid-row: 1;
  }
}

/* Brand footer */
.brand-footer {
  margin-top: auto;
  padding: 0;
  background: #082653;
  color: #fff;
  text-align: left;
  border-top: 5px solid #ffbd17;
}

.brand-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(150px, 1fr));
  gap: clamp(1.5rem, 4vw, 3.25rem);
  padding: 1.45rem 0 1.25rem;
}

.brand-footer-company,
.brand-footer-column {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.brand-footer-logo {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
}

.brand-footer-logo img {
  width: 118px;
  max-width: 100%;
  height: auto;
  display: block;
}

.brand-footer-logo strong {
  color: #ffbd17;
  font-size: 1.15rem;
  font-weight: 950;
}

.brand-footer-company p {
  max-width: 230px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
  line-height: 1.35;
}

.brand-footer-social {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.brand-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #ffbd17;
  color: #082653;
  font-size: 0.9rem;
  font-weight: 950;
  text-decoration: none;
}

.brand-footer-column h2 {
  margin: 0 0 0.35rem;
  color: #ffbd17;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-footer-column a,
.brand-footer-column span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  line-height: 1.35;
  text-decoration: none;
}

.brand-footer-column a:hover {
  color: #ffbd17;
  text-decoration: underline;
}

.brand-footer-bottom {
  background: #ffbd17;
  color: #082653;
}

.brand-footer-bottom .container {
  display: flex;
  justify-content: center;
  padding: 0.45rem 0;
}

.brand-footer-bottom p {
  margin: 0;
  color: #082653;
  font-size: 0.74rem;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 860px) {
  .brand-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .brand-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Branded payment page */
.payment-page {
  display: grid;
  gap: 1.25rem;
}

.payment-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.5rem 0 0.25rem;
}

.payment-page-header h1 {
  margin: 0.45rem 0 0.3rem;
  color: #2b1609;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.payment-page-header p {
  max-width: 760px;
  margin: 0;
  color: rgba(43, 22, 9, 0.72);
  font-weight: 600;
}

.payment-total-hero {
  display: grid;
  gap: 0.25rem;
  min-width: 240px;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 189, 23, 0.34);
  border-radius: 20px;
  background: #ffbd17;
  color: #2b1609;
  box-shadow: 0 18px 38px rgba(255, 189, 23, 0.22);
}

.payment-total-hero span {
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.payment-total-hero strong {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(300px, 410px) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: start;
}

.payment-summary-card,
.payment-panel {
  border: 1px solid rgba(8, 38, 83, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 54px rgba(8, 38, 83, 0.08);
}

.payment-summary-card {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.payment-summary-code {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #082653, #0e4d9a);
  color: #fff;
}

.payment-summary-code span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.payment-summary-code code {
  color: #ffbd17;
  font-size: 1.65rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.payment-summary-details {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.payment-summary-details div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(8, 38, 83, 0.08);
}

.payment-summary-details dt,
.payment-summary-total span {
  color: rgba(43, 22, 9, 0.62);
  font-size: 0.84rem;
  font-weight: 900;
}

.payment-summary-details dd {
  margin: 0;
  color: #2b1609;
  font-size: 0.92rem;
  font-weight: 900;
  text-align: right;
}

.payment-summary-items {
  display: grid;
  gap: 0.55rem;
}

.payment-summary-items h2 {
  margin: 0 0 0.2rem;
  color: #2b1609;
  font-size: 0.95rem;
  font-weight: 950;
  text-transform: uppercase;
}

.payment-summary-items div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid rgba(8, 38, 83, 0.08);
  border-radius: 14px;
  background: #fffdf8;
}

.payment-summary-items span {
  display: grid;
  gap: 0.15rem;
  color: #2b1609;
  font-size: 0.9rem;
  font-weight: 800;
}

.payment-summary-items span strong {
  color: #0e4d9a;
}

.payment-summary-items small {
  color: rgba(43, 22, 9, 0.58);
  font-size: 0.78rem;
  font-weight: 700;
}

.payment-summary-items > div > strong {
  white-space: nowrap;
  color: #2b1609;
  font-size: 0.92rem;
}

.payment-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(8, 38, 83, 0.08);
}

.payment-summary-total strong {
  color: #2b1609;
  font-size: 1.7rem;
  letter-spacing: -0.045em;
}

.payment-action-stack {
  display: grid;
  gap: 1rem;
}

.payment-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.payment-panel-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.payment-panel-heading > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: #ffbd17;
  color: #2b1609;
  box-shadow: 0 10px 22px rgba(255, 189, 23, 0.2);
}

.payment-panel-heading h2 {
  margin: 0;
  color: #2b1609;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.payment-panel-heading p {
  margin: 0.25rem 0 0;
  color: rgba(43, 22, 9, 0.66);
  font-weight: 700;
}

.payment-method-form {
  display: grid;
  gap: 0.9rem;
}

.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.payment-method-grid .payment-method-card {
  min-height: 92px;
}

.payment-method-card:has(input:checked) {
  border-color: #ffbd17;
  background: #fff8e8;
  box-shadow: 0 10px 22px rgba(255, 189, 23, 0.16);
}

.payment-method-card:has(input:checked) > span {
  background: #ffbd17;
}

.pix-payment-content {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.pix-qr-card,
.pix-copy-card,
.payment-status-box {
  border: 1px solid rgba(8, 38, 83, 0.08);
  border-radius: 18px;
  background: #fffdf8;
}

.pix-qr-card {
  display: grid;
  place-items: center;
  padding: 0.9rem;
}

.pix-qr-card .pix-qr-image {
  width: min(100%, 230px);
  border: 0;
  border-radius: 14px;
}

.pix-copy-card {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.pix-copy-card label {
  color: #2b1609;
  font-size: 0.9rem;
  font-weight: 950;
  text-transform: uppercase;
}

.pix-copy-card textarea {
  min-height: 132px;
  border-color: rgba(8, 38, 83, 0.12);
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
}

.payment-status-box {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}

.payment-status-box p {
  margin: 0;
}

.branded-card-form {
  display: grid;
  gap: 1rem;
}

.branded-card-form input,
.branded-card-form select {
  min-height: 46px;
  background: #fffdf8;
  border-color: rgba(8, 38, 83, 0.14);
}

.payment-back-button {
  justify-self: start;
}

@media (max-width: 1080px) {
  .payment-page-header,
  .payment-layout {
    grid-template-columns: 1fr;
  }

  .payment-page-header {
    display: grid;
  }

  .payment-summary-card {
    position: static;
  }

  .payment-total-hero {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .payment-method-grid,
  .pix-payment-content {
    grid-template-columns: 1fr;
  }

  .payment-summary-details div,
  .payment-summary-items div,
  .payment-summary-total {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-summary-details dd {
    text-align: left;
  }
}

/* Modern menu showcase */
.page-public .menu-showcase {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(8, 38, 83, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at 6% 10%, rgba(255, 189, 23, 0.28), transparent 22%),
    linear-gradient(135deg, #ffffff 0%, #fffdf8 48%, #f3f8ff 100%);
  box-shadow: 0 26px 70px rgba(8, 38, 83, 0.1);
}

.page-public .menu-showcase::before {
  content: '';
  position: absolute;
  inset: auto auto -120px -120px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(255, 189, 23, 0.18);
  pointer-events: none;
}

.menu-showcase-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 360px;
  padding: clamp(0.75rem, 2vw, 1rem);
}

.menu-showcase-content h2 {
  max-width: 620px;
  margin: 0.9rem 0 0.8rem;
  color: #082653;
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.menu-showcase-content p {
  max-width: 540px;
  margin: 0;
  color: rgba(43, 22, 9, 0.68);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  font-weight: 600;
  line-height: 1.7;
}

.menu-showcase-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  width: min(100%, 520px);
  margin-top: 1.25rem;
}

.menu-showcase-stats span {
  display: grid;
  gap: 0.2rem;
  min-height: 76px;
  padding: 0.8rem;
  border: 1px solid rgba(8, 38, 83, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: rgba(43, 22, 9, 0.66);
  font-size: 0.78rem;
  font-weight: 850;
}

.menu-showcase-stats strong {
  color: #0e4d9a;
  font-size: 1.15rem;
  line-height: 1;
}

.menu-showcase-cta {
  margin-top: 1.35rem;
}

.menu-showcase-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.9rem;
  padding: clamp(0.85rem, 2vw, 1.15rem);
  border: 1px solid rgba(8, 38, 83, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(8, 38, 83, 0.96), rgba(14, 77, 154, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 24px 48px rgba(8, 38, 83, 0.16);
}

.menu-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0.25rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.menu-panel-header span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-panel-header strong {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #ffbd17;
  color: #2b1609;
  font-size: 0.78rem;
  font-weight: 950;
}

.page-public .menu-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.page-public .menu-flavor-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  min-height: 88px;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(10px);
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.page-public .menu-flavor-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 189, 23, 0.58);
  background: rgba(255, 255, 255, 0.13);
}

.menu-flavor-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #ffbd17;
  color: #2b1609;
  font-size: 0.86rem;
  font-weight: 950;
}

.menu-flavor-card strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1.1;
  text-overflow: ellipsis;
}

.menu-flavor-card small {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 750;
}

.menu-empty-card {
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
}

@media (max-width: 1080px) {
  .page-public .menu-showcase {
    grid-template-columns: 1fr;
  }

  .menu-showcase-content {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .page-public .menu-card-grid,
  .menu-showcase-stats {
    grid-template-columns: 1fr;
  }
}

/* Customer dashboard refresh */
.customer-dashboard {
  display: grid;
  gap: 1.5rem;
}

.dashboard-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid rgba(8, 38, 83, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 189, 23, 0.3), transparent 22%),
    linear-gradient(135deg, #ffffff 0%, #fffdf8 48%, #f3f8ff 100%);
  box-shadow: 0 26px 70px rgba(8, 38, 83, 0.1);
}

.dashboard-hero h1 {
  max-width: 760px;
  margin: 0.85rem 0 0.75rem;
  color: #082653;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.dashboard-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(43, 22, 9, 0.7);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  font-weight: 650;
  line-height: 1.65;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.dashboard-install-button[hidden] {
  display: none;
}

.dashboard-hero-card {
  display: grid;
  align-content: end;
  gap: 0.65rem;
  min-height: 260px;
  padding: 1.25rem;
  border-radius: 26px;
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 189, 23, 0.4), transparent 25%),
    linear-gradient(135deg, #082653, #0e4d9a);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 20px 42px rgba(8, 38, 83, 0.18);
}

.dashboard-hero-card span {
  color: #ffbd17;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-hero-card strong {
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.dashboard-hero-card p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

.dashboard-hero-image-card {
  overflow: hidden;
  display: block;
  padding: 0;
  background: #082653;
}

.dashboard-hero-image-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center;
}

.dashboard-section {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.45rem);
  border: 1px solid rgba(8, 38, 83, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 54px rgba(8, 38, 83, 0.08);
}

.dashboard-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-section-heading h2 {
  margin: 0.7rem 0 0.35rem;
  color: #082653;
  font-size: clamp(1.75rem, 3vw, 2.85rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.dashboard-section-heading p {
  margin: 0;
  color: rgba(43, 22, 9, 0.66);
  font-weight: 650;
}

.dashboard-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem;
}

.dashboard-shop-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  min-height: 230px;
  padding: 1rem;
  border: 1px solid rgba(8, 38, 83, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(180deg, #fffdf8, #ffffff);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.dashboard-shop-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 189, 23, 0.62);
  box-shadow: 0 18px 38px rgba(8, 38, 83, 0.1);
}

.dashboard-shop-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #ffbd17;
  color: #2b1609;
  font-weight: 950;
}

.dashboard-shop-card h3 {
  margin: 0;
  color: #082653;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.dashboard-shop-card p {
  margin: 0.45rem 0 0;
  color: rgba(43, 22, 9, 0.64);
  font-weight: 650;
}

.dashboard-shop-card .button {
  grid-column: 1 / -1;
  align-self: end;
  width: 100%;
}

.dashboard-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.dashboard-product-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem;
  border: 1px solid rgba(8, 38, 83, 0.1);
  border-radius: 18px;
  background: #fffdf8;
}

.dashboard-product-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #eaf3ff;
  color: #082653;
  font-weight: 950;
  text-transform: uppercase;
}

.dashboard-product-card strong {
  display: block;
  overflow: hidden;
  color: #2b1609;
  font-size: 0.96rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-product-card small {
  display: block;
  margin-top: 0.25rem;
  color: rgba(43, 22, 9, 0.58);
  font-size: 0.82rem;
  font-weight: 750;
}

.dashboard-empty-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.3rem;
  padding: 1.2rem;
  border: 1px dashed rgba(8, 38, 83, 0.18);
  border-radius: 18px;
  background: #fffdf8;
}

.dashboard-empty-card strong {
  color: #082653;
}

.dashboard-empty-card p {
  margin: 0;
  color: rgba(43, 22, 9, 0.64);
}

.dashboard-ios-help[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .dashboard-hero {
    grid-template-columns: 1fr;
  }

  .dashboard-hero-card {
    min-height: 180px;
  }
}

@media (max-width: 620px) {
  .dashboard-actions .button {
    width: 100%;
  }

  .dashboard-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Contact page */
.contact-page {
  display: grid;
  gap: 1.35rem;
}

.contact-hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  overflow: hidden;
  padding: clamp(1.35rem, 4vw, 2.35rem);
  border: 1px solid rgba(8, 38, 83, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 189, 23, 0.32), transparent 22%),
    linear-gradient(135deg, #ffffff 0%, #fffdf8 48%, #f3f8ff 100%);
  box-shadow: 0 26px 70px rgba(8, 38, 83, 0.1);
}

.contact-hero::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(255, 189, 23, 0.18);
  pointer-events: none;
}

.contact-hero h1 {
  max-width: 760px;
  margin: 0.85rem 0 0.75rem;
  color: #082653;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.contact-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(43, 22, 9, 0.7);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  font-weight: 650;
  line-height: 1.65;
}

.contact-hero-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: #ffbd17;
  color: #2b1609;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(255, 189, 23, 0.28);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1rem;
  align-items: start;
}

.contact-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: clamp(1rem, 2.5vw, 1.4rem);
  border: 1px solid rgba(8, 38, 83, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 54px rgba(8, 38, 83, 0.08);
}

.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #ffbd17;
  color: #2b1609;
  font-size: 1.6rem;
  font-weight: 950;
}

.contact-card span {
  color: rgba(43, 22, 9, 0.62);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  margin-top: 0.25rem;
  color: #082653;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  letter-spacing: -0.035em;
}

.contact-card p {
  margin: 0.3rem 0 0;
  color: rgba(43, 22, 9, 0.64);
  font-weight: 650;
}

.contact-form-card {
  display: grid;
  gap: 1.05rem;
  padding: clamp(1.1rem, 2.8vw, 1.75rem);
  border: 1px solid rgba(8, 38, 83, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 54px rgba(8, 38, 83, 0.08);
}

.contact-form-heading {
  padding-bottom: 0.35rem;
}

.contact-form-heading span {
  color: rgba(43, 22, 9, 0.58);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form-heading h2 {
  margin: 0.35rem 0 0.25rem;
  color: #082653;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.045em;
}

.contact-form-heading p {
  margin: 0;
  color: rgba(43, 22, 9, 0.64);
  font-weight: 650;
}

.contact-form-card input,
.contact-form-card textarea {
  border-radius: 16px;
  border-color: rgba(8, 38, 83, 0.14);
  background: #fffdf8;
}

.contact-form-card textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form-card .button {
  justify-self: end;
}

.contact-support-panel {
  display: grid;
  gap: 1rem;
}

.contact-mail-link {
  display: inline-flex;
  justify-content: center;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(8, 38, 83, 0.12);
  border-radius: 18px;
  background: #082653;
  color: #ffffff;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(8, 38, 83, 0.18);
}

.contact-tips-card {
  padding: 1.15rem;
  border: 1px solid rgba(255, 189, 23, 0.32);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 189, 23, 0.2), transparent 34%),
    #fffdf8;
}

.contact-tips-card strong {
  color: #082653;
  font-size: 1rem;
  font-weight: 950;
}

.contact-tips-card ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: rgba(43, 22, 9, 0.68);
  font-weight: 650;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-info-grid article {
  padding: 1.1rem;
  border: 1px solid rgba(8, 38, 83, 0.08);
  border-radius: 22px;
  background: #fffdf8;
}

.contact-info-grid strong {
  color: #082653;
  font-size: 1rem;
  font-weight: 950;
}

.contact-info-grid p {
  margin: 0.4rem 0 0;
  color: rgba(43, 22, 9, 0.64);
  font-weight: 650;
}

@media (max-width: 920px) {
  .contact-hero,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-hero-link {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .contact-card,
  .contact-form-card,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card .button {
    justify-self: stretch;
    width: 100%;
  }
}

/* Premium dark/gold storefront redesign */
:root {
  --premium-blue-950: #020b1d;
  --premium-blue-900: #03142f;
  --premium-blue-850: #06214a;
  --premium-blue-800: #082653;
  --premium-blue-700: #0e4d9a;
  --premium-yellow-500: #ffbd17;
  --premium-yellow-600: #e8a400;
  --premium-cream: #fff7e2;
  --premium-paper: #fffdf5;
  --premium-ink: #2b1609;
  --premium-muted: rgba(43, 22, 9, 0.68);
  --premium-line: rgba(255, 189, 23, 0.28);
  --premium-shadow: 0 24px 70px rgba(3, 20, 47, 0.16);
}

body.page-public,
body.page-authenticated {
  color: var(--premium-ink);
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 189, 23, 0.22), transparent 24%),
    linear-gradient(90deg, rgba(255, 189, 23, 0.2) 0 34%, rgba(255, 255, 255, 0) 34%),
    var(--premium-cream);
}

.container,
.page main.container,
.app-main {
  width: min(1180px, calc(100vw - 44px));
}

.site-header,
.page-public .site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 0;
  color: #fff;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 189, 23, 0.14), transparent 26%),
    linear-gradient(180deg, var(--premium-blue-950), var(--premium-blue-900));
  border-bottom: 3px solid var(--premium-yellow-500);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.site-header .header-flex,
.page-public .header-flex {
  display: grid;
  grid-template-columns: minmax(130px, auto) 1fr auto;
  min-height: 92px;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
}

.site-logo-image,
.page-public .site-logo-image {
  width: 108px;
  height: 68px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.page-public .site-logo-text,
.page-public .header-brand-block .muted {
  display: none;
}

.site-logo-text strong {
  color: #fff;
  font-weight: 950;
  text-transform: uppercase;
}

.site-logo-text small,
.header-user-summary {
  color: rgba(255, 255, 255, 0.68);
}

.public-menu,
.user-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2.6vw, 2.9rem);
  margin: 0;
}

.public-menu a,
.user-menu-link {
  position: relative;
  padding: 0.7rem 0;
  color: #fff;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.public-menu a::after,
.user-menu-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2rem;
  height: 3px;
  border-radius: 999px;
  background: var(--premium-yellow-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.public-menu a:hover::after,
.public-menu a:focus-visible::after,
.public-menu a.is-active::after,
.user-menu-link:hover::after,
.user-menu-link-active::after {
  transform: scaleX(1);
}

.user-menu-link-active {
  color: var(--premium-yellow-500);
}

.header-actions {
  gap: 0.9rem;
}

.button,
.landing-primary-button,
.page-public .landing-actions .button,
.page-public .header-actions .button,
.order-submit-button,
.contact-form-card .button {
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border: 1px solid rgba(255, 189, 23, 0.58);
  border-radius: 10px;
  background: linear-gradient(180deg, #ffd642, var(--premium-yellow-500));
  color: #1d1300;
  box-shadow: 0 14px 24px rgba(255, 189, 23, 0.28);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.button:hover,
.landing-primary-button:hover {
  background: linear-gradient(180deg, #ffe06a, var(--premium-yellow-600));
  color: #1d1300;
  transform: translateY(-1px);
}

.button-secondary,
.site-header .button-secondary,
.page-public .header-actions .button-secondary {
  background: rgba(3, 20, 47, 0.7);
  color: #fff;
  border: 1px solid rgba(255, 189, 23, 0.72);
  box-shadow: none;
}

.button-secondary:hover,
.site-header .button-secondary:hover {
  background: rgba(255, 189, 23, 0.1);
  color: #fff;
}

.page-public .app-main {
  width: 100%;
  padding: 0;
}

.page-public .landing-page {
  display: block;
  overflow: hidden;
}

.page-public .landing-hero {
  position: relative;
  min-height: min(680px, calc(100vh - 92px));
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2, 11, 29, 0.96) 0%, rgba(3, 20, 47, 0.92) 34%, rgba(3, 20, 47, 0.22) 58%, rgba(3, 20, 47, 0.08) 100%),
    url('../assets/brand/hero-salgados-premium.png') center right / cover no-repeat;
  border-bottom: 4px solid var(--premium-yellow-500);
}

.page-public .landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 8%, rgba(255, 189, 23, 0.34), transparent 20%),
    linear-gradient(135deg, rgba(14, 77, 154, 0.16), transparent 35%);
  pointer-events: none;
}

.page-public .landing-hero::after {
  content: '';
  position: absolute;
  left: -4vw;
  right: -4vw;
  bottom: -38px;
  height: 92px;
  background: var(--premium-cream);
  border-top: 5px solid var(--premium-yellow-500);
  transform: rotate(-2.4deg);
  transform-origin: left center;
}

.landing-hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 44px));
  min-height: min(680px, calc(100vh - 92px));
  margin: 0 auto;
  display: grid;
  align-items: center;
}

.page-public .landing-copy {
  max-width: 470px;
}

.landing-kicker,
.page-public .landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--premium-yellow-500);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-kicker::before,
.page-public .landing-kicker::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--premium-yellow-500);
  box-shadow: 0 0 0 6px rgba(255, 189, 23, 0.2);
}

.page-public .landing-hero h1 {
  max-width: 520px;
  margin: 1.05rem 0 1.05rem;
  color: #fff;
  font-size: clamp(3.1rem, 7vw, 5.65rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.page-public .landing-hero h1 span {
  display: block;
  color: var(--premium-yellow-500);
  text-shadow: 0 10px 24px rgba(255, 189, 23, 0.18);
}

.page-public .landing-hero p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
}

.page-public .landing-actions {
  margin-top: 1.35rem;
}

.page-public .landing-actions .button {
  min-width: 255px;
  min-height: 56px;
  font-size: 0.95rem;
}

.landing-trust-row,
.page-public .landing-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  margin-top: 1.35rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 750;
}

.landing-trust-row strong {
  color: var(--premium-yellow-500);
}

.landing-love-seal {
  position: absolute;
  top: 2.2rem;
  right: clamp(0rem, 2vw, 1.5rem);
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  padding: 1rem;
  border: 3px solid var(--premium-yellow-500);
  border-radius: 999px;
  background: radial-gradient(circle, #092e68 0%, #03142f 72%);
  color: var(--premium-yellow-500);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
  text-align: center;
  text-transform: uppercase;
}

.landing-love-seal span {
  font-size: 2rem;
  line-height: 1;
}

.landing-love-seal strong {
  color: var(--premium-yellow-500);
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1.05;
}

.page-public .landing-feature-grid {
  position: relative;
  z-index: 2;
  width: min(1060px, calc(100vw - 44px));
  margin: 28px auto 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-public .landing-feature-grid article {
  min-height: 98px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 189, 23, 0.18);
  border-radius: 16px;
  background: rgba(255, 253, 245, 0.94);
  box-shadow: 0 16px 34px rgba(3, 20, 47, 0.1);
}

.page-public .landing-icon {
  width: 62px;
  height: 62px;
  border: 4px solid var(--premium-yellow-500);
  border-radius: 999px;
  background: radial-gradient(circle, #0f3472 0%, #03142f 72%);
  color: var(--premium-yellow-500);
  font-size: 1.45rem;
  box-shadow: 0 12px 22px rgba(255, 189, 23, 0.25);
}

.page-public .landing-feature-grid strong {
  color: var(--premium-blue-800);
  font-size: 0.9rem;
  font-weight: 950;
}

.page-public .landing-feature-grid p {
  margin: 0.22rem 0 0;
  color: rgba(8, 38, 83, 0.78);
  font-size: 0.82rem;
  line-height: 1.35;
}

.page-public .menu-showcase {
  position: relative;
  width: min(1180px, calc(100vw - 44px));
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.9fr);
  gap: 1.45rem;
  align-items: stretch;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border: 2px solid rgba(255, 189, 23, 0.78);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 189, 23, 0.18), transparent 24%),
    linear-gradient(135deg, #03142f, #0b3b7b 62%, #05224d);
  box-shadow: 0 24px 58px rgba(3, 20, 47, 0.22);
}

.page-public .menu-showcase-content {
  min-height: 360px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-public .menu-showcase-content h2 {
  margin: 0.9rem 0 0.8rem;
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.page-public .menu-showcase-content p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 600;
}

.page-public .menu-showcase-stats {
  width: min(100%, 330px);
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.page-public .menu-showcase-stats span {
  min-height: 58px;
  padding: 0.65rem;
  border: 1px solid rgba(255, 189, 23, 0.32);
  border-radius: 12px;
  background: rgba(2, 11, 29, 0.35);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.page-public .menu-showcase-stats strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
}

.page-public .menu-showcase-cta {
  width: fit-content;
  margin-top: 1.2rem;
}

.page-public .menu-showcase-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-public .menu-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.page-public .menu-flavor-card {
  position: relative;
  min-height: 166px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: end;
  gap: 0.45rem;
  padding: 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 189, 23, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(14, 77, 154, 0.74), rgba(3, 20, 47, 0.78));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.page-public .menu-flavor-card > span {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--premium-yellow-500);
  color: #1d1300;
  font-size: 0.82rem;
  font-weight: 950;
}

.page-public .menu-flavor-card img {
  width: 100%;
  height: 94px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 0.1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.22));
}

.page-public .menu-flavor-card strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1.08;
}

.page-public .menu-flavor-card small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 750;
}

.landing-quality-strip {
  position: relative;
  width: min(1060px, calc(100vw - 44px));
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  overflow: hidden;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(255, 189, 23, 0.26);
  border-radius: 16px;
  background: rgba(255, 253, 245, 0.95);
  box-shadow: 0 18px 42px rgba(3, 20, 47, 0.08);
}

.landing-quality-strip article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  min-height: 58px;
}

.landing-quality-strip span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--premium-yellow-500);
  color: #1d1300;
  font-size: 1.45rem;
  box-shadow: 0 12px 22px rgba(255, 189, 23, 0.22);
}

.landing-quality-strip p {
  margin: 0;
  color: var(--premium-ink);
  font-weight: 700;
  line-height: 1.25;
}

.brand-footer,
.site-footer.brand-footer {
  margin-top: 0;
  background:
    radial-gradient(circle at 92% 100%, rgba(14, 77, 154, 0.5), transparent 24%),
    linear-gradient(135deg, var(--premium-blue-950), var(--premium-blue-800));
  color: #fff;
  border-top: 5px solid var(--premium-yellow-500);
}

.brand-footer-grid {
  grid-template-columns: 1.25fr repeat(3, minmax(160px, 1fr));
  padding: 1.75rem 0 1.5rem;
}

.brand-footer-logo img {
  width: 120px;
  height: auto;
}

.brand-footer-company p,
.brand-footer-column a,
.brand-footer-column span {
  color: rgba(255, 255, 255, 0.84);
}

.brand-footer-column h2 {
  color: var(--premium-yellow-500);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--premium-yellow-500);
  color: #1d1300;
  font-size: 0.8rem;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-footer-bottom {
  background: linear-gradient(180deg, #ffd642, var(--premium-yellow-500));
  color: #1d1300;
  font-weight: 700;
}

.brand-footer-bottom p {
  margin: 0;
  padding: 0.85rem 0;
}

.page-authenticated .app-main,
body:not(.page-public) .app-main {
  padding-top: 2rem;
}

.card,
.form-card,
.dashboard-section,
.contact-form-card,
.contact-tips-card,
.order-builder-card,
.order-summary-card,
.payment-summary-card,
.payment-panel {
  border: 1px solid rgba(255, 189, 23, 0.18);
  border-radius: 22px;
  background: rgba(255, 253, 245, 0.96);
  box-shadow: var(--premium-shadow);
}

.card h2,
.card h3,
.form-card h2,
.dashboard-section-heading h2,
.contact-form-heading h2,
.order-page-header h1,
.payment-page-header h1 {
  color: var(--premium-blue-800);
  font-weight: 950;
}

.dashboard-hero,
.contact-hero,
.payment-page-header {
  border: 2px solid rgba(255, 189, 23, 0.48);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 189, 23, 0.22), transparent 26%),
    linear-gradient(135deg, var(--premium-blue-950), var(--premium-blue-800));
  color: #fff;
  box-shadow: 0 24px 58px rgba(3, 20, 47, 0.22);
}

.dashboard-hero h1,
.contact-hero h1,
.payment-page-header h1 {
  color: #fff;
}

.dashboard-hero p,
.contact-hero p,
.payment-page-header p {
  color: rgba(255, 255, 255, 0.82);
}

.dashboard-hero-card {
  border: 1px solid rgba(255, 189, 23, 0.32);
  background: rgba(2, 11, 29, 0.34);
}

.dashboard-shop-card,
.dashboard-product-card,
.product-order-card,
.payment-method-card,
.admin-inline-card,
.contact-card {
  border: 1px solid rgba(255, 189, 23, 0.18);
  background: var(--premium-paper);
}

.dashboard-shop-number,
.order-step-title > span,
.quantity-option.is-active,
.quantity-more-select.is-active,
.menu-flavor-card > span {
  background: var(--premium-yellow-500);
  color: #1d1300;
}

.order-page-header {
  padding: 1.4rem 1.6rem;
  border: 2px solid rgba(255, 189, 23, 0.48);
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 189, 23, 0.22), transparent 26%),
    linear-gradient(135deg, var(--premium-blue-950), var(--premium-blue-800));
  color: #fff;
  box-shadow: 0 24px 58px rgba(3, 20, 47, 0.2);
}

.order-page-header h1 {
  margin: 0.7rem 0 0.35rem;
  color: #fff;
}

.order-page-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.order-back-link {
  color: var(--premium-yellow-500);
}

.order-store-badge {
  background: rgba(255, 189, 23, 0.14);
  color: var(--premium-yellow-500);
  border: 1px solid rgba(255, 189, 23, 0.32);
}

.order-summary-card,
.payment-summary-card {
  overflow: hidden;
}

.order-summary-title,
.payment-summary-code,
.payment-total-hero {
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 189, 23, 0.24), transparent 30%),
    linear-gradient(135deg, var(--premium-blue-950), var(--premium-blue-700));
  color: #fff;
}

.order-summary-title {
  margin: -0.25rem -0.25rem 0;
  padding: 1rem;
}

.order-summary-title h2 {
  color: #fff;
}

.order-summary-total strong,
.payment-summary-total strong,
.payment-total-hero strong {
  color: var(--premium-blue-800);
}

.payment-total-hero strong {
  color: #fff;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 440px);
  gap: 1.25rem;
  align-items: stretch;
}

.auth-intro {
  display: grid;
  align-content: center;
  min-height: 420px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 2px solid rgba(255, 189, 23, 0.48);
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 189, 23, 0.22), transparent 26%),
    linear-gradient(135deg, var(--premium-blue-950), var(--premium-blue-800));
  color: #fff;
  box-shadow: 0 24px 58px rgba(3, 20, 47, 0.2);
}

.auth-intro .eyebrow {
  color: var(--premium-yellow-500);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-intro h1 {
  max-width: 620px;
  margin: 0.9rem 0 0.75rem;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.auth-intro p {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 650;
}

input[type='text'],
input[type='password'],
input[type='tel'],
input[type='email'],
input[type='datetime-local'],
input[type='date'],
input[type='number'],
textarea,
select {
  border-color: rgba(8, 38, 83, 0.14);
  background: var(--premium-paper);
}

@media (max-width: 1100px) {
  .site-header .header-flex,
  .page-public .header-flex {
    grid-template-columns: 1fr auto;
  }

  .public-menu,
  .user-menu {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.45rem;
  }

  .page-public .landing-feature-grid,
  .page-public .menu-showcase,
  .landing-quality-strip,
  .brand-footer-grid,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .page-public .menu-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-love-seal {
    right: 1rem;
  }
}

@media (max-width: 720px) {
  .container,
  .page main.container,
  .app-main,
  .landing-hero-content,
  .page-public .landing-feature-grid,
  .page-public .menu-showcase,
  .landing-quality-strip {
    width: min(100% - 24px, 1180px);
  }

  .site-header .header-flex,
  .page-public .header-flex {
    min-height: 76px;
  }

  .site-logo-image,
  .page-public .site-logo-image {
    width: 82px;
    height: 54px;
  }

  .header-actions {
    flex-direction: row;
  }

  .header-actions .button {
    min-height: 40px;
    padding: 0.65rem 0.85rem;
    font-size: 0.74rem;
  }

  .page-public .landing-hero {
    min-height: 660px;
    background-position: 58% center;
  }

  .landing-hero-content {
    align-items: start;
    padding-top: 2rem;
  }

  .page-public .landing-hero h1 {
    font-size: clamp(2.95rem, 15vw, 4.7rem);
  }

  .landing-love-seal {
    display: none;
  }

  .page-public .landing-feature-grid,
  .page-public .menu-card-grid,
  .landing-quality-strip {
    grid-template-columns: 1fr;
  }

  .page-public .menu-showcase {
    padding: 1rem;
  }

  .auth-intro {
    min-height: auto;
  }
}

/* Final specificity fixes for the reference-style landing */
.page-public main.container.app-main {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.page-public:not(.page-landing) main.container.app-main {
  width: min(1180px, calc(100vw - 44px));
  max-width: 1180px;
  padding: 2rem 0 3rem;
}

.page-public .public-menu a,
.page-public .public-menu a:visited {
  color: #fff;
}

.page-public .public-menu a.is-active,
.page-public .public-menu a:hover,
.page-public .public-menu a:focus-visible {
  color: var(--premium-yellow-500);
}

.page-public .landing-hero {
  width: 100%;
  min-height: 610px;
  background-position: center right;
  border-bottom: 4px solid var(--premium-yellow-500);
}

.page-public .landing-hero::after {
  display: none;
}

.page-public .landing-hero-content {
  width: 100%;
  max-width: none;
  min-height: 610px;
}

.page-public .landing-copy {
  max-width: 760px;
  margin-left: max(78px, calc((100vw - 1240px) / 2));
}

.page-public .landing-hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 5.2vw, 4.85rem);
  line-height: 0.92;
}

.page-public .landing-trust-row {
  position: relative;
  z-index: 2;
  flex-wrap: nowrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.page-public .landing-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 189, 23, 0.34);
  border-radius: 8px;
  background: rgba(3, 20, 47, 0.72);
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(3, 20, 47, 0.22);
}

.page-public .landing-love-seal {
  left: min(1060px, calc(100vw - 280px));
  right: auto;
}

.page-public .landing-feature-grid,
.page-public .menu-showcase,
.landing-quality-strip {
  width: min(1180px, calc(100vw - 110px));
}

.page-public .menu-showcase-content h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.page-public .menu-flavor-card img {
  height: 86px;
  padding: 0.15rem;
  border-radius: 12px;
  background: rgba(255, 248, 232, 0.92);
}

@media (max-width: 720px) {
  .page-public .landing-hero-content,
  .page-public .landing-feature-grid,
  .page-public .menu-showcase,
  .landing-quality-strip {
    width: min(100% - 24px, 1180px);
  }

  .page-public .landing-copy {
    margin-left: 0;
  }

  .page-public .landing-trust-row {
    flex-wrap: wrap;
  }
}
