@font-face {
  font-family: Club;
  src: url("/assets/fonts/nunito-sans.ttf") format("truetype");
  font-weight: 200 900;
  font-display: swap;
}
:root {
  --blue: oklch(49% 0.21 260);
  --blue-dark: oklch(40% 0.19 260);
  --ink: oklch(23% 0.04 260);
  --muted: oklch(45% 0.035 260);
  --line: oklch(89% 0.018 260);
  --pale: oklch(97% 0.012 260);
  --yellow: oklch(89% 0.18 94);
  --green: oklch(38% 0.11 150);
  --red: oklch(46% 0.18 25);
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s6: 24px;
  --s8: 32px;
  --s12: 48px;
  --z-header: 10;
  --z-nav: 20;
  --z-toast: 30;
  font-family: Club, system-ui, sans-serif;
  color: var(--ink);
  background: #f5f7fb;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #e6ac00;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 850;
}
h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 800;
}
h3 {
  font-size: 1.0625rem;
  font-weight: 800;
}
p {
  max-width: 70ch;
}
small,
.small {
  font-size: 0.875rem;
}
.muted {
  color: var(--muted);
}
.blue {
  color: var(--blue);
}
.green {
  color: var(--green);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.tight {
  gap: var(--s2);
}
.row {
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.between {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.grow {
  flex: 1;
  min-width: 0;
}
.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon.small {
  width: 20px;
  height: 20px;
}
.section {
  margin-top: var(--s8);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
  margin-bottom: var(--s4);
}
.section-head a {
  font-size: 0.875rem;
  font-weight: 750;
  white-space: nowrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 800;
  background: #edf4ff;
  color: var(--blue);
}
.pill.yellow {
  background: var(--yellow);
  color: var(--ink);
}
.pill.success {
  background: #eaf6ed;
  color: var(--green);
}
.pill.grey {
  background: #edf0f4;
  color: var(--muted);
}
.btn {
  min-height: 46px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  text-align: center;
  line-height: 1.35;
  transition:
    background 0.18s,
    transform 0.18s;
}
.btn:hover {
  background: var(--blue-dark);
  color: #fff;
  text-decoration: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn.yellow {
  background: var(--yellow);
  color: var(--ink);
}
.btn.secondary {
  background: #edf3ff;
  color: var(--blue);
}
.btn.outline {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--blue);
}
.btn.danger {
  background: #fff1f0;
  color: var(--red);
}
.btn.whatsapp {
  background: #076b34;
  color: #fff;
}
.btn.full {
  width: 100%;
}
.btn.small {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.875rem;
}
.icon-btn {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  position: relative;
}
.icon-btn:hover {
  background: var(--pale);
}
.dot {
  width: 8px;
  height: 8px;
  position: absolute;
  right: 7px;
  top: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  flex: none;
}
.brand:hover {
  text-decoration: none;
}
.brand-crop {
  width: 128px;
  height: 42px;
  overflow: hidden;
  display: block;
  position: relative;
}
.brand-crop img {
  width: 128px;
  height: auto;
  position: absolute;
  top: -24px;
  left: 0;
}
.brand strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.topbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 32px;
  border-bottom: 1px solid var(--line);
  background: white;
  position: sticky;
  top: 0;
  z-index: var(--z-header);
}
.topbar .desktop-context {
  color: var(--muted);
  font-size: 0.875rem;
  margin-left: auto;
}
.layout {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: calc(100vh - 80px);
}
.sidebar {
  padding: 32px 20px;
  border-right: 1px solid var(--line);
  background: white;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 80px;
  align-self: start;
  height: calc(100vh - 80px);
}
.nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 750;
}
.nav-item:hover {
  background: var(--pale);
  text-decoration: none;
}
.nav-item.active {
  background: #eaf2ff;
  color: var(--blue);
}
.sidebar-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
}
.member-mini {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.content {
  min-width: 0;
  padding: 32px 40px 64px;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
}
.bottom-nav {
  display: none;
}
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(270px, 1fr);
  gap: 32px;
  align-items: start;
}
.home-greeting {
  margin-bottom: 24px;
}
.home-greeting h1 {
  margin-bottom: 8px;
}
.campaign {
  position: relative;
  min-height: 300px;
  background: #074fb5;
  border-radius: 16px;
  overflow: hidden;
  color: white;
  display: flex;
  align-items: center;
}
.campaign > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.campaign::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 54, 139, 0.98) 0%,
    rgba(4, 54, 139, 0.88) 38%,
    rgba(4, 54, 139, 0) 73%
  );
  pointer-events: none;
}
.campaign-copy {
  position: relative;
  z-index: 1;
  padding: 32px;
  max-width: 66%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.campaign h2 {
  font-size: 2.25rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.campaign p {
  font-size: 0.9375rem;
}
.shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 24px;
}
.shortcut {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 750;
}
.shortcut .icon-circle {
  width: 48px;
  height: 48px;
  background: #eaf2ff;
  color: var(--blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.coupon-strip {
  background: #fff7d8;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.coupon-strip > .icon {
  color: #9b6a00;
  width: 32px;
  height: 32px;
}
.surface {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.product-reorder {
  display: flex;
  align-items: center;
  gap: 20px;
}
.product-reorder img {
  width: 145px;
  height: 112px;
  object-fit: contain;
  flex: none;
}
.price {
  font-size: 1.75rem;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--blue);
}
.reorder-cta {
  margin-top: 16px;
}
.math-mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  flex: none;
  color: white;
  font-size: 25px;
  font-weight: 900;
  text-align: center;
  line-height: 28px;
}
.math-mark span:nth-child(1) {
  background: #2586ed;
}
.math-mark span:nth-child(2) {
  background: #eab019;
}
.math-mark span:nth-child(3) {
  background: #f07832;
}
.math-mark span:nth-child(4) {
  background: #873cc0;
}
.math-mark.disabled {
  filter: grayscale(1);
  opacity: 0.65;
}
.app-card .btn {
  margin-top: 20px;
}
.info-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 12px;
}
.profile-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.profile-list li + li {
  border-top: 1px solid var(--line);
}
.profile-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
}
.profile-row:first-child {
  padding-top: 0;
}
.profile-row:last-child {
  padding-bottom: 0;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #dceaff;
  color: #174585;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 1.125rem;
  font-weight: 800;
}
.avatar.purple {
  background: #efe3ff;
  color: #6733a0;
}
.whatsapp-card {
  background: #edf8ed;
  border-radius: 12px;
  padding: 20px;
}
.whatsapp-card > .row {
  margin-bottom: 16px;
}
.whatsapp-card .icon {
  color: #087337;
  width: 36px;
  height: 36px;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-item {
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--ink);
}
.news-item:hover {
  text-decoration: none;
}
.news-thumb {
  width: 100px;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
}
.news-item .pill {
  margin-bottom: 6px;
}
.home-help {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.page-head {
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.page-head h1 {
  font-size: 1.75rem;
}
.page-head p {
  margin-top: 6px;
}
.page-head .back {
  margin-left: -10px;
}
.page-width {
  max-width: 760px;
  margin: auto;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}
.catalogue {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.package {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
}
.package:hover {
  border-color: var(--blue);
  text-decoration: none;
}
.package img {
  width: 45%;
  height: 140px;
  object-fit: contain;
}
.package.best {
  border-color: var(--blue);
  background: #f3f8ff;
}
.package .price {
  margin: 6px 0;
}
.package .btn {
  margin-top: 12px;
}
.product-hero {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: white;
  border-radius: 12px;
  margin-bottom: 24px;
  padding: 20px;
}
.package-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.package-option {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 12px 6px;
  border: 1px solid #aeb9ca;
  background: white;
  border-radius: 10px;
  color: var(--ink);
  min-height: 66px;
  font-size: 0.875rem;
  font-weight: 800;
}
.package-option.active {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}
.summary {
  margin: 24px 0;
}
.summary > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.sticky-buy {
  position: sticky;
  bottom: 16px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 24px;
  z-index: var(--z-header);
}
.sticky-buy .price {
  font-size: 1.5rem;
}
.notice {
  background: #edf4ff;
  color: #234c81;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.notice.warning {
  background: #fff5d7;
  color: #745300;
}
.notice.success {
  background: #eaf7ee;
  color: #195834;
}
.empty {
  padding: 40px 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.empty .icon {
  width: 40px;
  height: 40px;
  color: var(--blue);
  margin-bottom: 16px;
}
.empty p {
  margin: 12px auto 20px;
  color: var(--muted);
}
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field > label,
.legend {
  font-size: 0.875rem;
  font-weight: 800;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #aab6c9;
  border-radius: 8px;
  padding: 11px 14px;
  background: white;
  color: var(--ink);
}
.field textarea {
  min-height: 100px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #59697f;
}
.field small {
  color: var(--muted);
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.875rem;
  cursor: pointer;
}
.check input {
  width: 20px;
  height: 20px;
  flex: none;
  accent-color: var(--blue);
  margin: 1px 0 0;
}
.error {
  padding: 14px 16px;
  background: #fff0ef;
  color: #a32120;
  border-radius: 8px;
  font-size: 0.9375rem;
}
.success-text {
  padding: 14px 16px;
  background: #eaf7ee;
  color: #195834;
  border-radius: 8px;
}
.account-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.account-menu li {
  border-bottom: 1px solid var(--line);
}
.account-menu a {
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  font-weight: 750;
  color: var(--ink);
}
.account-menu a > .icon:last-child {
  margin-left: auto;
  width: 18px;
}
.account-menu a:hover {
  color: var(--blue);
  text-decoration: none;
}
.child-card {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.child-actions {
  display: flex;
  gap: 12px;
  margin-left: auto;
  align-items: center;
}
.text-btn {
  padding: 8px;
  background: none;
  border: 0;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.875rem;
  min-height: 40px;
}
.text-btn.danger {
  color: var(--red);
}
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.toggle-row label {
  cursor: pointer;
}
.toggle-row input {
  appearance: none;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #9aa7ba;
  position: relative;
  flex: none;
  cursor: pointer;
  margin: 0;
}
.toggle-row input::before {
  content: "";
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.18s;
}
.toggle-row input:checked {
  background: var(--blue);
}
.toggle-row input:checked::before {
  transform: translateX(20px);
}
.notification {
  padding: 20px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: block;
  color: var(--ink);
}
.notification.unread {
  background: #f0f6ff;
}
.notification:hover {
  text-decoration: none;
}
.notification p {
  margin-top: 6px;
  color: var(--muted);
}
.notification small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}
.order-card {
  display: block;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  color: var(--ink);
}
.order-card:hover {
  border-color: var(--blue);
  text-decoration: none;
}
.order-card .row + .row {
  margin-top: 16px;
}
.order-card img {
  width: 100px;
  height: 75px;
  object-fit: contain;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.timeline li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--muted);
  flex: 1;
  text-align: center;
}
.timeline .step {
  width: 32px;
  height: 32px;
  background: #e8edf3;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.timeline .complete {
  color: var(--green);
}
.timeline .complete .step {
  background: #e1f4e6;
}
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
}
.auth-art {
  background: #074fb5;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
}
.auth-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.auth-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #062c74, transparent 90%);
}
.auth-art-copy {
  position: relative;
  z-index: 1;
  color: white;
  padding: 48px;
  max-width: 620px;
}
.auth-art h2 {
  font-size: 2.75rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.auth-panel {
  padding: 48px;
  align-self: center;
  width: 100%;
  max-width: 600px;
  margin: auto;
}
.auth-panel > .brand {
  margin-bottom: 40px;
}
.auth-panel h1 {
  margin-bottom: 12px;
}
.auth-panel .form {
  margin-top: 24px;
}
.auth-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 0.875rem;
}
.auth-benefits {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-benefits > .row > .icon {
  color: var(--blue);
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.875rem;
  margin: 20px 0;
}
.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
summary {
  font-weight: 800;
  cursor: pointer;
  min-height: 32px;
}
details p {
  margin-top: 12px;
  color: var(--muted);
}
.article {
  white-space: pre-line;
  line-height: 1.8;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 16px 24px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  z-index: var(--z-toast);
  width: max-content;
  max-width: calc(100% - 32px);
  box-shadow: 0 2px 8px #0002;
}
.connection {
  background: #fff3cf;
  color: #644c00;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.875rem;
}
.demo-banner {
  background: #fff3cf;
  color: #644c00;
  text-align: center;
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 750;
}
.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 40;
}
.skip:focus {
  top: 12px;
}
.loading-page {
  min-height: 70vh;
  display: grid;
  place-content: center;
  gap: 20px;
  text-align: center;
  padding: 24px;
}
.skeleton {
  width: 260px;
  height: 16px;
  border-radius: 8px;
  background: #dce6f5;
  animation: pulse 1s ease-in-out infinite alternate;
}
.metric-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.metric {
  padding: 20px;
  background: #edf4ff;
  border-radius: 12px;
  flex: 1;
  min-width: 140px;
}
.metric strong {
  font-size: 1.75rem;
  display: block;
  color: var(--blue);
}
.install-steps {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}
.admin-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.prose-link {
  text-decoration: underline;
}
.receipt-history {
  list-style: none;
  padding: 0;
  margin: 0;
}
.receipt-history li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
@keyframes pulse {
  to {
    opacity: 0.4;
  }
}
@media (min-width: 1400px) {
  .campaign {
    min-height: 340px;
  }
  .campaign-copy {
    max-width: 62%;
  }
  .campaign h2 {
    font-size: 2.5rem;
  }
}
@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .sidebar {
    padding: 24px 12px;
  }
  .content {
    padding: 28px 24px 56px;
  }
  .home-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .home-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }
  .home-secondary > .section {
    min-width: 0;
  }
  .home-secondary > .section:last-child {
    grid-column: 1/-1;
  }
  .catalogue {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .campaign {
    min-height: 320px;
  }
  .campaign-copy {
    max-width: 58%;
  }
}
@media (max-width: 700px) {
  body {
    background: white;
  }
  .topbar {
    height: 72px;
    padding: 12px 20px;
    position: relative;
    border-bottom: 0;
  }
  .topbar .desktop-context {
    display: none;
  }
  .layout {
    display: block;
    min-height: calc(100vh - 72px);
  }
  .sidebar {
    display: none;
  }
  .content {
    padding: 16px 20px calc(100px + env(safe-area-inset-bottom));
    max-width: 600px;
  }
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    background: white;
    border-top: 1px solid var(--line);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    justify-content: space-around;
  }
  .bottom-nav a {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #4e5d72;
    font-size: 0.6875rem;
    font-weight: 750;
    padding: 4px 0;
    min-height: 48px;
    border-radius: 8px;
  }
  .bottom-nav a.active {
    color: var(--blue);
    background: #eff5ff;
  }
  .bottom-nav .icon {
    width: 23px;
    height: 23px;
  }
  .home-greeting {
    margin-bottom: 20px;
  }
  h1 {
    font-size: 1.75rem;
  }
  .campaign {
    min-height: 320px;
    border-radius: 14px;
  }
  .campaign-copy {
    padding: 24px;
    max-width: 72%;
    gap: 16px;
  }
  .campaign h2 {
    font-size: 2rem;
  }
  .campaign p {
    font-size: 0.875rem;
  }
  .campaign .pill {
    font-size: 0.75rem;
  }
  .campaign > img {
    object-position: 65% center;
  }
  .campaign::after {
    background: linear-gradient(
      90deg,
      rgba(4, 54, 139, 0.98),
      rgba(4, 54, 139, 0.8) 43%,
      transparent 90%
    );
  }
  .home-secondary {
    display: block;
  }
  .section {
    margin-top: 28px;
  }
  .surface {
    padding: 20px;
  }
  .product-reorder img {
    width: 112px;
    height: 100px;
  }
  .product-reorder {
    gap: 16px;
  }
  .price {
    font-size: 1.625rem;
  }
  .shortcuts {
    margin-top: 20px;
  }
  .shortcut {
    font-size: 0.8125rem;
  }
  .shortcut .icon-circle {
    width: 44px;
    height: 44px;
  }
  .coupon-strip {
    padding: 16px;
    gap: 12px;
  }
  .page-head {
    margin-bottom: 24px;
  }
  .page-head h1 {
    font-size: 1.5rem;
  }
  .catalogue {
    gap: 12px;
  }
  .package {
    padding: 16px;
    gap: 16px;
  }
  .package img {
    height: 118px;
    width: 45%;
  }
  .package .price {
    font-size: 1.5rem;
  }
  .package .btn {
    margin-top: 8px;
  }
  .package small {
    font-size: 0.8125rem;
  }
  .product-hero {
    height: 230px;
    padding: 8px;
  }
  .sticky-buy {
    bottom: calc(84px + env(safe-area-inset-bottom));
    padding: 12px;
    margin-left: -4px;
    margin-right: -4px;
  }
  .sticky-buy .btn {
    padding: 12px 16px;
    font-size: 0.875rem;
  }
  .sticky-buy .price {
    font-size: 1.375rem;
  }
  .auth-layout {
    display: block;
  }
  .auth-art {
    min-height: 260px;
    max-height: 300px;
  }
  .auth-art-copy {
    padding: 24px;
    max-width: 80%;
  }
  .auth-art h2 {
    font-size: 1.875rem;
    margin-bottom: 12px;
  }
  .auth-art-copy p {
    font-size: 0.875rem;
  }
  .auth-panel {
    padding: 32px 24px 48px;
  }
  .auth-panel > .brand {
    margin-bottom: 24px;
  }
  .auth-panel h1 {
    font-size: 1.75rem;
  }
  .field-grid {
    gap: 12px;
  }
  .child-actions {
    gap: 0;
  }
  .news-thumb {
    width: 90px;
    height: 80px;
  }
  .tabs .btn {
    padding: 8px 12px;
  }
  .brand-crop {
    width: 120px;
    height: 40px;
  }
  .brand-crop img {
    width: 120px;
    top: -23px;
  }
  .brand strong {
    font-size: 0.9375rem;
  }
}
@media (max-width: 360px) {
  .content {
    padding-left: 16px;
    padding-right: 16px;
  }
  .campaign-copy {
    padding: 20px;
    max-width: 78%;
  }
  .campaign h2 {
    font-size: 1.75rem;
  }
  .package {
    gap: 12px;
    padding: 12px;
  }
  .package img {
    width: 40%;
  }
  .package h2 {
    font-size: 1.125rem;
  }
  .package-options {
    gap: 6px;
  }
  .package-option {
    font-size: 0.8125rem;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    gap: 8px;
  }
  .section-head h2 {
    font-size: 1.125rem;
  }
  .sticky-buy {
    flex-wrap: wrap;
  }
  .child-actions {
    flex-direction: column;
    gap: 0;
  }
  .coupon-strip {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Readable navigation and high-contrast keyboard focus. */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: #976700;
}
@media (max-width: 700px) {
  .bottom-nav a {
    font-size: 0.8125rem;
  }
  .desktop-avatar {
    display: none;
  }
}

.product-name {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 850;
}
@media (max-width: 700px) {
  .product-name {
    font-size: 1.75rem;
  }
}

.bank-details {
  padding: 20px;
  background: #f2f7ff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-grid > div,
.product-reorder > div {
  min-width: 0;
}
@media (max-width: 360px) {
  .product-reorder img {
    width: 96px;
  }
  .product-reorder {
    gap: 12px;
  }
  .product-reorder .price {
    font-size: 1.5rem;
  }
}
.bank-number {
  font-size: 1.5rem;
  letter-spacing: 0.03em;
}
.payment-qr {
  margin: 0;
  text-align: center;
}
.payment-qr img {
  max-width: 240px;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.payment-qr figcaption {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 12px;
}
.proof-link {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.field input[type="file"] {
  padding: 10px;
  background: var(--pale);
}
