:root {
  color-scheme: light;
  --ui-zoom: 0.8;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f6f8;
  --text: #121826;
  --muted: #6f6f6f;
  --line: #e3e6ea;
  --primary: #f28a0b;
  --primary-2: #3f3f3f;
  --accent: #f28a0b;
  --danger: #9a3412;
  --shadow: 0 18px 50px rgba(31, 41, 55, 0.1);
  --radius: 18px;
  --app-min-height: 125dvh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #ffffff;
  color-scheme: light;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: var(--app-min-height);
  background: #ffffff;
  color: var(--text);
  color-scheme: light;
  zoom: var(--ui-zoom);
}

button,
input,
select,
textarea {
  font: inherit;
  color: var(--text);
  color-scheme: light;
}

input,
select,
textarea {
  background: #ffffff;
}

button {
  cursor: pointer;
}

svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.app-shell {
  width: min(1440px, 100%);
  min-height: var(--app-min-height);
  margin: 0 auto;
  padding: env(safe-area-inset-top) 20px calc(88px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  background: #ffffff;
}

main {
  display: flex;
  min-height: calc(var(--app-min-height) - 150px);
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin: 0 -20px 22px;
  padding: 8px 20px 10px;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(219, 227, 240, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.header-logo {
  grid-column: 1 / -1;
  justify-self: center;
  display: block;
  width: min(250px, 56vw);
  padding: 0;
  text-decoration: none;
}

.header-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

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

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link,
.bottom-link,
.icon-btn,
.primary-btn,
.ghost-btn {
  border: 0;
  transition: transform 140ms ease, background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.nav-link {
  min-height: 42px;
  padding: 0 13px;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.nav-link:hover,
.nav-link.is-active {
  background: var(--surface-2);
  color: var(--primary);
}

.cart-count {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  align-items: center;
  min-height: 470px;
  padding: 22px 0 34px;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 12px 0 14px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.eyebrow {
  color: var(--primary-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 0 18px;
  font-weight: 850;
}

.primary-btn {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(242, 138, 11, 0.28);
}

.primary-btn:hover {
  background: #d97706;
}

.ghost-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.ghost-btn:hover {
  border-color: #b7c5dc;
  background: #f9fbff;
}

.primary-btn:active,
.ghost-btn:active,
.nav-link:active,
.bottom-link:active,
.icon-btn:active {
  transform: scale(0.97);
}

.wide {
  width: 100%;
}

.hero-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #f3f1ee;
  box-shadow: var(--shadow);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.home-screen {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  padding: 8px 0 24px;
}

.home-promo,
.home-category-card,
.home-info-grid article {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(31, 41, 55, 0.08);
}

.home-promo {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: clamp(24px, 6vw, 54px);
  background: #ffffff;
}

.home-promo::after {
  content: "BRIGADA";
  position: absolute;
  right: -8px;
  bottom: 8px;
  color: rgba(17, 24, 39, 0.06);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  font-size: clamp(72px, 18vw, 180px);
  font-style: italic;
  line-height: 0.8;
  pointer-events: none;
}

.promo-pill {
  display: inline-flex;
  margin-bottom: 20px;
  border-radius: 999px;
  background: #3f3f3f;
  color: #fff;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-promo h1 {
  position: relative;
  max-width: 640px;
  margin: 0 0 18px;
  font-size: clamp(34px, 7vw, 64px);
  line-height: 1.02;
}

.home-promo p {
  position: relative;
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.home-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.home-feature-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid #e6ebf2;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(31, 41, 55, 0.08);
}

.home-feature-strip article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 108px;
  padding: 18px;
}

.home-feature-strip article + article {
  border-left: 1px solid #e6ebf2;
}

.home-feature-strip span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 999px;
  background: rgba(242, 138, 11, 0.14);
  color: var(--primary);
}

.home-feature-strip svg {
  width: 26px;
  height: 26px;
}

.home-feature-strip strong,
.home-feature-strip small {
  display: block;
}

.home-feature-strip strong {
  color: #121826;
  font-size: 17px;
  line-height: 1.2;
}

.home-feature-strip small {
  margin-top: 5px;
  color: #737373;
  font-size: 14px;
  line-height: 1.3;
}

.home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.home-section-head h2 {
  margin: 0;
  font-size: 28px;
}

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

.home-category-card {
  display: grid;
  min-height: 142px;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 20px;
  color: var(--text);
  text-align: left;
}

.home-category-card strong {
  font-size: 18px;
  line-height: 1.15;
}

.home-category-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.home-category-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  background: #f3f1ee;
  color: var(--primary);
}

.home-category-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 2.4;
}

.home-category-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.home-category-icon .icon-fill {
  fill: currentColor;
  stroke: currentColor;
}

.home-category-icon .icon-line,
.home-category-icon .icon-cut {
  fill: none;
  stroke: #fff;
}

.home-category-icon .icon-accent {
  fill: none;
  stroke: var(--primary);
}

.home-category-icon.is-liquid,
.home-category-icon.is-puck {
  background: #f3f1ee;
  color: var(--primary-2);
}

.home-category-icon.is-liquid .icon-fill {
  fill: var(--primary-2);
  stroke: var(--primary);
}

.home-category-icon.color-2,
.home-category-icon.color-5 {
  color: #3f3f3f;
}

.home-category-icon.color-3 {
  color: var(--primary);
}

.home-category-icon.color-4 {
  color: #6f6f6f;
}

.home-category-icon.color-6 {
  color: var(--primary);
}

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

.home-info-grid article {
  display: grid;
  gap: 7px;
  min-height: 132px;
  padding: 14px;
}

.home-info-grid .wide-info {
  grid-column: 1 / -1;
  min-height: 108px;
}

.info-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: #f3f1ee;
  color: var(--primary);
  font-size: 24px;
  font-weight: 900;
}

.home-info-grid small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.home-info-grid strong {
  font-size: 18px;
  line-height: 1.2;
}

.section-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.section-strip article,
.panel,
.product-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(31, 41, 55, 0.06);
}

.section-strip article {
  padding: 18px;
}

.section-strip span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 900;
}

.section-strip strong {
  display: block;
  margin-bottom: 4px;
}

.section-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.workspace {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.workspace.home-products {
  grid-template-columns: minmax(0, 1fr);
}

.workspace.home-products .filters,
.workspace.home-products .cart-panel {
  display: none;
}

.workspace.cart-only {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.workspace.cart-only .filters,
.workspace.cart-only .content-stack {
  display: none;
}

.workspace.cart-only .cart-panel {
  display: block;
  position: static;
  grid-column: 1;
}

.workspace.catalog-only {
  grid-template-columns: minmax(0, 1fr);
}

.workspace.catalog-only .filters,
.workspace.catalog-only .cart-panel {
  display: none;
}

.workspace.catalog-only .content-stack {
  width: min(900px, 100%);
  margin: 0 auto;
}

.panel {
  padding: 18px;
}

.filters,
.cart-panel {
  position: sticky;
  top: 90px;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.avatar {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: #f3f1ee;
  color: var(--primary);
  font-weight: 900;
}

.avatar.has-photo {
  overflow: hidden;
  padding: 0;
  background: #fff;
}

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

.profile-card strong,
.profile-card small {
  display: block;
}

.profile-card small {
  color: var(--muted);
  font-size: 12px;
}

.filter-group {
  margin-bottom: 16px;
}

.filter-group label,
.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.filter-group select,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  outline: 0;
}

.filter-group select,
.admin-form input,
.admin-form select {
  height: 44px;
  padding: 0 12px;
}

.admin-form input[type="file"] {
  height: auto;
  padding: 10px 12px;
  cursor: pointer;
}

.admin-form textarea {
  resize: vertical;
  padding: 12px;
}

.filter-group select:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(242, 138, 11, 0.14);
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}

.switch-row input {
  width: 42px;
  height: 24px;
  accent-color: var(--primary);
}

.content-stack {
  min-width: 0;
}

.view-head,
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.view-head h2,
.panel-head h2 {
  margin: 2px 0 0;
  font-size: 28px;
  line-height: 1.15;
}

.result-pill {
  white-space: nowrap;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--primary);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 850;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.catalog-intro {
  margin-bottom: 18px;
  padding: 22px 0 10px;
}

.catalog-intro span {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(242, 138, 11, 0.12);
  color: var(--primary);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.catalog-intro h1 {
  margin: 0 0 14px;
  color: #121826;
  font-size: clamp(44px, 10vw, 72px);
  font-weight: 500;
  line-height: 0.95;
}

.catalog-intro p {
  margin: 0;
  color: #737373;
  font-size: 22px;
}

.catalog-category-panel {
  margin-bottom: 26px;
  border: 1px solid #e6ebf2;
  border-radius: 22px;
  background: #fff;
  padding: clamp(24px, 6vw, 44px);
  box-shadow: 0 12px 36px rgba(31, 41, 55, 0.06);
}

.catalog-category-panel h2 {
  margin: 0 0 22px;
  color: #121826;
  font-size: 28px;
}

.catalog-brand-title {
  margin-top: 26px !important;
}

.catalog-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 38px;
  align-items: center;
}

.catalog-category-list button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #121826;
  padding: 0 18px;
  font-size: 24px;
  font-weight: 500;
}

.catalog-category-list button.is-active {
  background: #111;
  color: #fff;
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.12);
}

.brand-list button.is-active {
  background: var(--primary);
  color: #fff;
}

.catalog-tool-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 14px;
  margin-bottom: 24px;
}

.catalog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  background: #fff;
  padding: 0 18px;
}

.catalog-search svg {
  color: #737373;
  width: 28px;
  height: 28px;
}

.catalog-search input,
.catalog-tool-row select {
  width: 100%;
  border: 0;
  background: transparent;
  color: #121826;
  outline: 0;
  font-size: 18px;
}

.catalog-tool-row select {
  min-height: 58px;
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  background: #fff;
  padding: 0 16px;
}

.catalog-banner {
  position: relative;
  display: block;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f3f1ee;
  box-shadow: 0 14px 34px rgba(31, 41, 55, 0.08);
  aspect-ratio: 3 / 1;
}

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

.product-card {
  overflow: hidden;
  border-radius: 22px;
  cursor: pointer;
}

.product-card:focus-visible {
  outline: 3px solid rgba(242, 138, 11, 0.3);
  outline-offset: 3px;
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f3f1ee;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-action-btn {
  position: absolute;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid #e6ebf2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #121826;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14);
}

.product-action-btn svg {
  width: 25px;
  height: 25px;
}

.product-action-btn.cart-action {
  top: 16px;
}

.product-action-btn.view-action {
  top: 16px;
}

.product-action-btn span {
  position: absolute;
  top: -6px;
  right: -4px;
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 950;
}

.product-action-btn.is-in-cart {
  color: var(--primary);
}

.product-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 86px);
  min-height: 36px;
  border-radius: 12px;
  padding: 8px 11px;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.18);
}

.product-badge svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-badge-sale {
  background: #f31655;
}

.product-badge-new {
  background: #f28a0b;
}

.product-badge-restock {
  background: #404040;
}

.stock-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-2);
  font-size: 12px;
  font-weight: 850;
}

.stock-badge.is-out {
  color: var(--danger);
}

.favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
}

.favorite-btn.is-on {
  color: var(--danger);
}

.favorite-btn.is-on svg {
  fill: currentColor;
}

.product-info {
  display: grid;
  justify-items: center;
  padding: 14px 16px 18px;
  text-align: center;
}

.product-category {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.product-seller {
  display: block;
  margin-bottom: 16px;
  color: #8a8f99;
  font-size: 14px;
}

.product-seller strong {
  color: #121826;
  font-weight: 900;
}

.product-info h3 {
  min-height: 0;
  margin: 0 0 18px;
  color: #121826;
  font-size: 18px;
  line-height: 1.25;
}

.product-info p {
  min-height: 0;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.catalog-cart-add,
.catalog-cart-qty {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 950;
}

.catalog-cart-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 22px rgba(242, 138, 11, 0.24);
}

.catalog-cart-add:disabled {
  background: #e5e7eb;
  color: #8a8f99;
  box-shadow: none;
}

.catalog-cart-add svg,
.catalog-cart-qty svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalog-cart-qty {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.catalog-cart-qty button {
  width: 44px;
  height: 44px;
  border: 0;
  background: #f8f8f8;
  color: var(--primary);
  font-size: 22px;
  font-weight: 950;
}

.catalog-cart-qty span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #121826;
}

.catalog-price {
  display: block;
  color: #121826;
  font-size: 24px;
  font-weight: 950;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price {
  font-size: 18px;
  font-weight: 950;
}

.add-btn {
  min-width: 46px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.add-btn.is-in-cart {
  min-width: 52px;
  background: #111827;
}

.add-btn:disabled {
  cursor: not-allowed;
  background: #cbd5e1;
}

.empty-state {
  padding: 44px 18px;
  text-align: center;
}

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

.browser-block {
  display: grid;
  min-height: calc(var(--app-min-height) - 160px);
  place-items: center;
  padding: 24px 0;
}

.browser-block-card {
  width: min(560px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.browser-block-card h1 {
  margin: 16px 0 12px;
  color: var(--text);
  font-size: 42px;
  line-height: 1.02;
}

.browser-block-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.browser-block-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hidden {
  display: none !important;
}

.icon-btn {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: #f8fafc;
  color: var(--muted);
}

.icon-btn:hover {
  background: #fee2e2;
  color: var(--danger);
}

.cart-list {
  display: grid;
  gap: 10px;
  min-height: 110px;
}

.cart-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.cart-item img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--surface-2);
}

.cart-item strong,
.cart-item small {
  display: block;
}

.cart-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.cart-item small {
  color: var(--muted);
  font-size: 12px;
}

.old-price {
  color: #9aa5b5;
  text-decoration: line-through;
}

.discount-note {
  display: inline-block;
  margin-top: 5px;
  color: var(--primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.qty-row button {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.cart-total strong {
  font-size: 22px;
}

.profile-section {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
  padding: 8px 0 28px;
}

.profile-title {
  padding: 8px 0 2px;
}

.profile-title h1 {
  margin: 0;
  color: #071a2f;
  font-size: clamp(32px, 7vw, 48px);
  line-height: 1;
}

.profile-title p {
  margin: 10px 0 0;
  color: #738094;
  font-size: 17px;
}

.profile-hero-card,
.profile-menu-card,
.profile-form-card {
  border: 1px solid #e6ebf2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(31, 41, 55, 0.06);
}

.profile-hero-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
}

.profile-avatar {
  flex: 0 0 auto;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  font-size: 26px;
}

.profile-hero-card h2 {
  margin: 0;
  color: #071a2f;
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.05;
}

.profile-hero-card p,
.profile-hero-card small {
  display: block;
  color: #8a96a8;
  font-size: 16px;
  line-height: 1.35;
}

.profile-hero-card p {
  margin: 10px 0 4px;
}

.profile-menu-card {
  overflow: hidden;
  padding: 24px 28px;
}

.profile-menu-card button {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  background: transparent;
  color: #071a2f;
  padding: 0;
  text-align: left;
  font-size: 18px;
  font-weight: 800;
}

.profile-menu-card button:last-child {
  border-bottom: 0;
}

.profile-menu-card strong {
  color: #9aa5b5;
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}

.profile-form-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  padding: 24px;
}

.profile-form-card h2,
.profile-form-card p,
.profile-form-card h3,
.profile-form-card .profile-card-head,
.profile-form-card .profile-dashed,
.profile-form-card .profile-save-btn {
  grid-column: 1 / -1;
}

.profile-form-card h2 {
  margin: 0;
  color: #071a2f;
  font-size: 24px;
  line-height: 1.12;
}

.profile-form-card h3 {
  margin: 0;
  color: #071a2f;
  font-size: 22px;
}

.profile-form-card h3 small {
  color: #8a96a8;
  font-weight: 700;
}

.profile-form-card p {
  margin: -6px 0 4px;
  color: #738094;
  font-size: 15px;
  line-height: 1.5;
}

.profile-form-card label {
  display: grid;
  gap: 8px;
  color: #738094;
  font-size: 14px;
  font-weight: 800;
}

.profile-form-card .full-row {
  grid-column: 1 / -1;
}

.profile-form-card input {
  width: 100%;
  height: 54px;
  border: 1px solid #dfe5ee;
  border-radius: 16px;
  background: #fff;
  color: #071a2f;
  outline: 0;
  padding: 0 18px;
  font-size: 16px;
}

.profile-form-card input::placeholder {
  color: #9aa5b5;
}

.profile-form-card input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(242, 138, 11, 0.14);
}

.profile-bonus-card strong {
  grid-column: 1 / -1;
  color: #121826;
  font-size: clamp(30px, 7vw, 44px);
  line-height: 1;
}

.profile-bonus-card a {
  grid-column: 1 / -1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 400;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.profile-bonus-card a::after {
  content: "↗";
  font-size: 0.9em;
  line-height: 1;
  text-decoration: none;
}

.profile-dashed {
  border-radius: 16px;
  background: #f5f6f8;
  color: #737373;
  padding: 16px;
  font-weight: 750;
  line-height: 1.45;
}

.profile-save-btn {
  justify-self: start;
  min-width: 170px;
  margin-top: 4px;
}

.checkout-section {
  display: grid;
  gap: 18px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 8px 0 28px;
}

.checkout-title {
  padding: 12px 4px 8px;
}

.checkout-pill {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(242, 138, 11, 0.12);
  color: var(--primary);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.checkout-title h1 {
  margin: 0 0 12px;
  color: #121826;
  font-size: clamp(42px, 9vw, 68px);
  font-weight: 500;
  line-height: 1;
}

.checkout-title p {
  max-width: 720px;
  margin: 0 0 22px;
  color: #737373;
  font-size: 21px;
  line-height: 1.42;
}

.checkout-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: #737373;
  font-size: 19px;
  list-style: none;
}

.checkout-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.checkout-steps span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: #111;
  color: var(--primary);
  font-weight: 950;
}

.checkout-card {
  overflow: hidden;
  border: 1px solid #e6ebf2;
  border-radius: 22px;
  background: #fff;
  padding: clamp(22px, 5vw, 34px);
  box-shadow: 0 12px 36px rgba(31, 41, 55, 0.06);
}

.checkout-card h2 {
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf1f6;
  color: #121826;
  font-size: clamp(27px, 6vw, 36px);
  line-height: 1.1;
}

.checkout-card p {
  margin: 0 0 22px;
  color: #737373;
  font-size: 18px;
  line-height: 1.5;
}

.checkout-field {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
  color: #737373;
  font-size: 17px;
}

.checkout-field span {
  font-weight: 600;
}

.checkout-field small {
  color: #737373;
  font-size: 15px;
}

.checkout-field input,
.checkout-field textarea {
  width: 100%;
  border: 1px solid #dfe5ee;
  border-radius: 18px;
  background: #fff;
  color: #121826;
  outline: 0;
  padding: 0 18px;
  font-size: 18px;
}

.checkout-field input {
  height: 62px;
}

.checkout-field textarea {
  min-height: 130px;
  padding-top: 16px;
  resize: vertical;
}

.checkout-field input:focus,
.checkout-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(242, 138, 11, 0.14);
}

.checkout-action-row,
.checkout-promo-row {
  display: flex;
  gap: 14px;
  align-items: end;
  margin-bottom: 22px;
}

.delivery-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.delivery-switch button {
  min-height: 46px;
  border: 1px solid #e0e5ec;
  border-radius: 14px;
  background: #fff;
  color: #6b7280;
  font-weight: 900;
}

.delivery-switch button.is-active {
  border-color: var(--primary);
  background: rgba(242, 138, 11, 0.12);
  color: var(--primary);
}

.checkout-location-btn {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #dfe5ee;
  border-radius: 18px;
  background: #f8f8f8;
  color: #3f3f3f;
}

.checkout-action-row .ghost-btn {
  min-height: 64px;
  border-color: var(--primary);
  background: rgba(242, 138, 11, 0.08);
  color: #121826;
  font-size: 20px;
}

.checkout-map-wrap {
  overflow: hidden;
  margin: 0 0 14px;
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  background: #f5f6f8;
  aspect-ratio: 1.3 / 1;
}

.checkout-map,
.checkout-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  background: #f5f6f8;
}

.checkout-map {
  position: relative;
  overflow: hidden;
}

.checkout-map-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 420px;
  place-items: center;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.checkout-map .leaflet-control-attribution {
  display: none;
}

.cdek-map-marker {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 40px;
  border: 2px solid #00a650;
  border-radius: 12px;
  background: #fff;
  color: #00a650;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
  transform: translateY(-4px);
}

.cdek-map-marker span {
  color: inherit;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.cdek-map-marker small {
  position: absolute;
  right: -8px;
  top: -9px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: #fff;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.cdek-map-marker.is-cdek small {
  background: #00a650;
  color: #fff;
}

.cdek-map-marker.is-postamat small {
  background: #007a3d;
}

.cdek-map-marker.is-post {
  border-color: #0055a6;
  color: #0055a6;
}

.cdek-map-marker.is-post small {
  background: #0055a6;
  color: #fff;
}

.cdek-map-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
}

.cdek-map-marker.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.cdek-map-marker.is-active small {
  background: #121826;
  border-color: #121826;
}

.checkout-map-points {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.checkout-map-point {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 3px solid #111827;
  border-radius: 999px;
  background: #fff;
  color: #3f3f3f;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.22);
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.checkout-map-point::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  border-right: 3px solid #111827;
  border-bottom: 3px solid #111827;
  background: inherit;
  transform: rotate(45deg);
}

.checkout-map-point.is-active {
  background: var(--primary);
  color: #fff;
}

.checkout-map-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  border-radius: 14px;
  background: #fff;
  color: #121826;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(31, 41, 55, 0.08);
}

.checkout-map-link svg {
  color: var(--primary);
}

.pickup-list {
  display: grid;
  gap: 12px;
}

.pickup-list button {
  display: grid;
  gap: 5px;
  width: 100%;
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  text-align: left;
  color: #121826;
}

.pickup-list button.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(242, 138, 11, 0.12);
}

.pickup-list span {
  justify-self: start;
  border-radius: 999px;
  background: #f5f6f8;
  color: var(--primary-2);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.pickup-list strong {
  font-size: 18px;
}

.pickup-list small {
  color: #737373;
  font-size: 16px;
}

.checkout-manual-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: #121826;
  padding: 4px 0 18px;
  text-align: center;
  font-size: 21px;
  line-height: 1.25;
}

.checkout-promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: end;
}

.checkout-promo-row .checkout-field {
  margin-bottom: 0;
}

.checkout-promo-row .ghost-btn {
  min-height: 62px;
  border-color: var(--primary);
  background: #fff;
  font-size: 20px;
}

.checkout-discounts {
  display: grid;
  gap: 12px;
  margin: 10px 0 12px;
}

.checkout-discounts h3 {
  margin: 0;
  color: #121826;
  font-size: 18px;
}

.checkout-discount-grid {
  display: grid;
  gap: 10px;
}

.checkout-discount-btn {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  background: #fff;
  padding: 14px 16px;
  text-align: left;
  color: #121826;
  box-shadow: 0 8px 22px rgba(31, 41, 55, 0.05);
}

.checkout-discount-btn.is-active {
  border-color: var(--primary);
  background: rgba(242, 138, 11, 0.08);
}

.checkout-discount-btn strong {
  font-size: 17px;
}

.checkout-discount-btn span,
.checkout-discount-btn small {
  color: #737373;
  font-size: 14px;
}

.checkout-discount-btn small {
  color: var(--primary);
  font-weight: 900;
}

.checkout-discount-note {
  margin-bottom: 0 !important;
}

.checkout-submit {
  min-width: 300px;
  min-height: 66px;
  margin-top: 8px;
  border-radius: 18px;
  font-size: 22px;
}

.checkout-order-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #edf1f6;
}

.checkout-order-item img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
  background: #f5f6f8;
}

.checkout-order-item strong,
.checkout-order-item small {
  display: block;
}

.checkout-order-item strong {
  overflow: hidden;
  color: #121826;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-order-item small {
  margin-top: 5px;
  color: #737373;
  font-size: 15px;
}

.checkout-order-item b {
  color: #121826;
  font-size: 18px;
}

.checkout-discount-summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #edf1f6;
  color: var(--primary);
  font-weight: 900;
}

.checkout-discount-summary b {
  color: var(--primary);
}

.profile-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.profile-card-head p {
  margin: 10px 0 0;
}

.profile-dashed {
  border-top: 1px dashed #dfe5ee;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 72px;
  height: 42px;
  flex: 0 0 auto;
}

.toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #dfe5ee;
  transition: background 160ms ease;
}

.toggle span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(31, 41, 55, 0.18);
  transition: transform 160ms ease;
}

.toggle input:checked + span {
  background: var(--primary);
}

.toggle input:checked + span::after {
  transform: translateX(30px);
}

.app-footer {
  max-width: 900px;
  width: 100%;
  margin: auto auto 0;
  padding: 22px 4px 8px;
  border-top: 1px solid var(--line);
  color: #6f6f6f;
}

.app-footer p {
  margin: 0 0 14px;
  font-size: 16px;
}

.app-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.app-footer button,
.app-footer a,
.app-footer strong {
  border: 0;
  background: transparent;
  color: #121826;
  padding: 0;
  text-decoration: none;
  font-size: 17px;
  font-weight: 750;
}

.app-footer strong {
  color: #dc2626;
  font-weight: 900;
}

.app-footer a[aria-disabled="true"] {
  color: #9aa5b5;
  pointer-events: none;
}

.app-footer small {
  display: block;
  max-width: 620px;
  color: #8a96a8;
  font-size: 15px;
  line-height: 1.45;
}

.channel-modal {
  position: fixed;
  inset: 0;
  z-index: 78;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 24, 39, 0.48);
  backdrop-filter: blur(10px);
}

.channel-card {
  position: relative;
  width: min(430px, 100%);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  padding: 28px 24px 24px;
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.28);
}

.channel-card h2 {
  max-width: 330px;
  margin: 0 0 12px;
  color: #121826;
  font-size: 26px;
  line-height: 1.18;
}

.channel-card p {
  margin: 0 0 22px;
  color: #6f6f6f;
  font-size: 16px;
  line-height: 1.45;
}

.channel-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6f6f6f;
  font-size: 28px;
  line-height: 1;
}

.earn-section {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
  padding: 8px 0 28px;
}

.earn-hero,
.earn-card {
  border: 1px solid #e6ebf2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(31, 41, 55, 0.06);
}

.earn-hero {
  padding: clamp(24px, 6vw, 44px);
}

.earn-pill {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(242, 138, 11, 0.12);
  color: var(--primary);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.earn-hero h1 {
  margin: 0 0 16px;
  color: #121826;
  font-size: clamp(38px, 9vw, 64px);
  font-weight: 650;
  line-height: 1.05;
}

.earn-hero p,
.earn-card p {
  margin: 0;
  color: #737373;
  font-size: 20px;
  line-height: 1.55;
}

.earn-hero strong {
  display: inline-flex;
  margin-top: 10px;
  border: 1px solid #e6ebf2;
  border-radius: 999px;
  background: #fff;
  padding: 5px 12px;
  color: #121826;
  font-size: 20px;
}

.earn-card {
  padding: clamp(22px, 5vw, 34px);
  overflow: hidden;
}

.earn-card h2 {
  margin: 0 0 14px;
  color: #121826;
  font-size: clamp(30px, 7vw, 46px);
  line-height: 1.1;
}

.earn-card h3 {
  margin: 24px 0 12px;
  color: #6f6f6f;
  font-size: 22px;
}

.ref-link {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  margin: 26px 0 14px;
  border-radius: 14px;
  background: #eef0f4;
  color: #121826;
  padding: 18px;
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.earn-stats {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  color: #737373;
  font-size: 17px;
}

.earn-flow {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 32px;
  text-align: center;
}

.earn-flow strong {
  color: #121826;
  font-size: 24px;
}

.earn-flow span {
  color: #121826;
  font-size: 22px;
  line-height: 1;
}

.earn-flow em {
  width: min(620px, 100%);
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  background: #fff;
  padding: 14px 18px;
  color: #121826;
  font-size: 17px;
  font-style: normal;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.06);
}

.earn-flow mark {
  width: min(620px, 100%);
  border-radius: 16px;
  background: rgba(242, 138, 11, 0.14);
  color: var(--primary);
  padding: 16px 18px;
  font-size: 18px;
  font-weight: 900;
}

.bonus-table {
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid #e6e6e6;
  border-radius: 18px;
}

.bonus-table-head,
.bonus-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 16px;
  padding: 18px 24px;
}

.bonus-table-head {
  color: #121826;
  font-size: 16px;
  font-weight: 950;
  text-transform: uppercase;
}

.bonus-table-row {
  border-top: 1px solid #e6e6e6;
  color: #121826;
  font-size: 19px;
  font-weight: 750;
}

.bonus-table-row strong {
  color: var(--primary);
}

.coin-art {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 3px solid #3f3f3f;
  border-radius: 999px;
  background: linear-gradient(135deg, #f28a0b, #ffb24a);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  box-shadow: inset 0 -7px 0 rgba(0, 0, 0, 0.14);
}

.earn-card ul {
  margin: 0;
  padding-left: 22px;
  color: #737373;
  font-size: 19px;
  line-height: 1.65;
}

.earn-section.is-disabled .earn-card,
.earn-section.is-disabled .earn-hero {
  opacity: 0.62;
}

.roulette-section {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
  padding: 8px 0 28px;
}

.roulette-hero,
.roulette-attempts,
.roulette-wheel-card,
.roulette-list-card,
.roulette-tabs {
  border: 1px solid #e6ebf2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(31, 41, 55, 0.06);
}

.roulette-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 220px;
  padding: clamp(24px, 6vw, 42px);
  background: #fff;
}

.roulette-hero h1 {
  margin: 14px 0 12px;
  color: #121826;
  font-size: clamp(40px, 9vw, 64px);
  line-height: 1;
}

.roulette-hero p {
  max-width: 520px;
  margin: 0;
  color: #737373;
  font-size: 20px;
  line-height: 1.45;
}

.roulette-hero .earn-pill {
  background: rgba(242, 138, 11, 0.12);
  color: var(--primary);
}

.roulette-hero img {
  display: none;
}

.roulette-attempts {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 112px;
  padding: 22px 28px;
  background: #07111f;
  color: #fff;
}

.roulette-attempts span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.roulette-attempts strong {
  display: block;
  color: var(--primary);
  font-size: 64px;
  line-height: 0.95;
}

.roulette-attempts p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  text-align: right;
  font-size: 18px;
  font-weight: 800;
}

.roulette-wheel-card {
  overflow: hidden;
  padding: 22px;
}

.roulette-window {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 22px;
  background: #fff;
  padding: 26px 0;
}

.roulette-window::before,
.roulette-window::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset-block: 0;
  width: 72px;
  pointer-events: none;
}

.roulette-window::before {
  left: 0;
  background: linear-gradient(90deg, #fff, transparent);
}

.roulette-window::after {
  right: 0;
  background: linear-gradient(270deg, #fff, transparent);
}

.roulette-pointer {
  position: absolute;
  z-index: 3;
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: 6px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(242, 138, 11, 0.16), 0 0 22px rgba(242, 138, 11, 0.38);
  transform: translateX(-50%);
}

.roulette-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 144px;
  gap: 14px;
  padding: 0 42px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.roulette-prize {
  display: grid;
  min-height: 222px;
  justify-items: center;
  align-content: center;
  gap: 8px;
  border: 2px solid rgba(242, 138, 11, 0.28);
  border-radius: 22px;
  background: #fff;
  color: #121826;
  text-align: center;
}

.roulette-prize.is-gray {
  border-color: rgba(63, 63, 63, 0.28);
}

.roulette-prize.is-blue {
  border-color: rgba(0, 85, 166, 0.28);
}

.roulette-prize span {
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 950;
}

.roulette-prize.is-gray span {
  background: #3f3f3f;
}

.roulette-prize.is-blue span {
  background: #0055a6;
}

.roulette-prize img {
  width: 94px;
  height: 94px;
  border: 6px solid #fff;
  border-radius: 20px;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.12);
}

.roulette-prize strong {
  font-size: 16px;
  line-height: 1.12;
}

.roulette-prize small {
  color: #737373;
  font-size: 14px;
  font-weight: 800;
}

.roulette-spin-btn {
  width: min(420px, 100%);
  margin: 0 auto;
  font-size: 22px;
}

.roulette-spin-btn svg {
  width: 24px;
  height: 24px;
}

.roulette-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
}

.roulette-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  gap: 10px;
  border-radius: 16px;
  background: transparent;
  color: #737373;
  font-size: 16px;
  font-weight: 900;
}

.roulette-tabs button.is-active {
  background: #fff;
  color: #121826;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08);
}

.roulette-tabs svg {
  width: 22px;
  height: 22px;
}

.roulette-list-card {
  min-height: 160px;
  padding: 22px;
}

.roulette-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid #e6ebf2;
  border-left: 5px solid var(--primary);
  border-radius: 18px;
  padding: 12px 14px;
}

.roulette-row + .roulette-row {
  margin-top: 10px;
}

.roulette-row.is-gray {
  border-left-color: #3f3f3f;
}

.roulette-row.is-blue {
  border-left-color: #0055a6;
}

.roulette-row img {
  width: 58px;
  height: 58px;
  border: 4px solid #fff;
  border-radius: 14px;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.1);
}

.roulette-row strong,
.roulette-row span {
  display: block;
}

.roulette-row strong {
  color: #121826;
  font-size: 17px;
  line-height: 1.2;
}

.roulette-row span {
  margin-top: 4px;
  color: #737373;
  font-size: 14px;
  font-weight: 750;
}

.roulette-row em {
  border-radius: 999px;
  background: rgba(242, 138, 11, 0.12);
  color: var(--primary);
  padding: 7px 10px;
  font-style: normal;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.roulette-win-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(7, 17, 31, 0.72);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(10px);
  transition: opacity 320ms ease;
}

.roulette-win-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.roulette-win-card {
  display: grid;
  width: min(620px, 100%);
  min-height: min(720px, calc(100vh - 28px));
  justify-items: center;
  align-content: center;
  gap: 14px;
  border-radius: 28px;
  background: #fff;
  padding: 28px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  transform: translateY(28px) scale(0.86);
  transition: transform 520ms cubic-bezier(.16,.88,.2,1);
}

.roulette-win-overlay.is-visible .roulette-win-card {
  transform: translateY(0) scale(1);
}

.roulette-win-card img {
  width: min(340px, 78vw);
  height: min(340px, 78vw);
  border-radius: 24px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 18px 38px rgba(31, 41, 55, 0.12);
}

.roulette-win-card h2 {
  margin: 0;
  color: #121826;
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1.05;
}

.roulette-win-card p {
  margin: 0;
  color: #737373;
  font-weight: 850;
}

.admin-section {
  margin-top: 24px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.admin-tabs button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  padding: 0 14px;
  font-weight: 900;
  cursor: pointer;
}

.admin-tabs button.is-active {
  border-color: rgba(242, 138, 11, 0.28);
  background: rgba(242, 138, 11, 0.12);
  color: var(--primary);
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.is-active {
  display: block;
}

.admin-permission-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
}

.admin-permission-grid label {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
  min-width: 0;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.admin-form .admin-permission-grid input[type="checkbox"],
.admin-permission-grid input[type="checkbox"] {
  flex: 0 0 22px;
  width: 22px;
  min-width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border-radius: 7px;
  accent-color: var(--primary);
}

.admin-accounts-list {
  display: grid;
  gap: 14px;
}

.admin-account-card {
  display: grid;
  gap: 14px;
}

.admin-account-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.admin-account-head h3 {
  margin: 4px 0 0;
  font-size: 22px;
}

.switch-row.compact {
  width: auto;
  min-width: 128px;
}

.admin-account-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.admin-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.admin-form .full-row,
.admin-form .switch-row,
.admin-form button {
  grid-column: 1 / -1;
}

.admin-table {
  overflow: auto;
}

.category-list {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.discount-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.discount-preview span {
  border-radius: 999px;
  background: rgba(242, 138, 11, 0.12);
  color: var(--primary);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
}

.admin-roulette-list {
  display: grid;
  gap: 12px;
}

.admin-roulette-item {
  display: grid;
  grid-template-columns: 64px repeat(4, minmax(130px, 1fr));
  gap: 12px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 12px;
}

.admin-roulette-item img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.1);
}

.admin-roulette-item .danger {
  grid-column: 1 / -1;
}

.admin-roulette-item strong,
.admin-roulette-item span {
  display: block;
}

.admin-roulette-item strong {
  color: var(--text);
  font-size: 15px;
}

.admin-roulette-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.profile-promo-item {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 12px;
}

.profile-promo-item strong {
  color: var(--primary);
  font-size: 16px;
}

.profile-promo-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f3f1ee;
  padding: 0 8px 0 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.category-chip button {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #ded8d0;
  color: #3f3f3f;
  font-size: 18px;
  line-height: 1;
}

.muted-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.table-row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 130px 130px 110px 110px 160px;
  gap: 12px;
  align-items: center;
  min-width: 920px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.small-btn {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0 10px;
  font-weight: 800;
}

.small-btn.danger {
  color: var(--danger);
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: none;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.bottom-link {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 54px;
  place-items: center;
  align-content: center;
  gap: 2px;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.bottom-link svg {
  width: 22px;
  height: 22px;
}

.bottom-link > span:not(.cart-count) {
  max-width: 100%;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bottom-link.is-active {
  background: var(--surface-2);
  color: var(--primary);
}

.bottom-link .cart-count {
  position: absolute;
  top: 1px;
  right: calc(50% - 22px);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 50;
  max-width: min(360px, calc(100vw - 40px));
  padding: 12px 14px;
  border-radius: 14px;
  background: #111827;
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(8px);
}

.product-modal-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(260px, 1fr);
  width: min(860px, 100%);
  max-height: min(720px, 92vh);
  overflow: auto;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.28);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  font-size: 26px;
  line-height: 1;
}

.product-modal-card > img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  background: #f3f1ee;
}

.modal-product-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
}

.modal-product-body span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.modal-product-body h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.05;
}

.modal-product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.price-ladder {
  display: grid;
  gap: 14px;
  border: 1px solid #dfe7f4;
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.05);
}

.variant-picker {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 20px;
  background: rgba(254, 242, 242, 0.52);
  padding: 16px;
}

.variant-picker-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
}

.variant-picker-head span {
  color: #737373;
  font-size: 16px;
  font-weight: 700;
}

.variant-picker-head strong {
  color: #121826;
  font-size: 18px;
}

.category-editor {
  display: grid;
  grid-template-columns: 52px minmax(120px, 1fr) minmax(180px, 2fr) minmax(130px, 1fr) auto 36px;
  gap: 10px;
  width: 100%;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 12px;
}

.category-editor strong {
  align-self: center;
  color: var(--text);
  font-size: 15px;
}

.category-editor label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.category-editor input[type="text"] {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 10px;
}

.category-editor .ghost-btn {
  min-height: 38px;
  padding: 0 12px;
}

.variant-picker-head em {
  justify-self: start;
  border-radius: 999px;
  background: #fee2e2;
  color: #ef4444;
  padding: 7px 12px;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.variant-list {
  display: grid;
  gap: 10px;
  max-height: 320px;
  overflow: auto;
}

.variant-list button {
  min-height: 58px;
  border: 1px solid #dfe5ee;
  border-radius: 16px;
  background: #fff;
  color: #3f3f3f;
  padding: 0 16px;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.variant-list button.is-active {
  border-color: var(--primary);
  background: rgba(242, 138, 11, 0.1);
  color: var(--primary);
  box-shadow: 0 0 0 3px rgba(242, 138, 11, 0.12);
}

.price-ladder-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.price-ladder-head small,
.price-ladder-grid small {
  display: block;
  color: #8a96a8;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-ladder-head strong {
  display: block;
  margin-top: 2px;
  color: #071a2f;
  font-size: 28px;
  line-height: 1;
}

.price-ladder-head span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 950;
}

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

.price-ladder-grid article {
  border: 1px solid #dfe7f4;
  border-radius: 14px;
  background: #fff;
  padding: 12px 14px;
}

.price-ladder-grid strong {
  display: block;
  margin-top: 6px;
  color: #071a2f;
  font-size: 20px;
}

.price-ladder p {
  margin: 0;
  color: #8a96a8;
  font-size: 13px;
  line-height: 1.4;
}

.product-feedback {
  display: grid;
  gap: 12px;
  border: 1px solid #dfe7f4;
  border-radius: 18px;
  background: #fff;
  padding: 14px;
}

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

.feedback-tabs button {
  min-height: 38px;
  border: 1px solid #dfe7f4;
  border-radius: 12px;
  background: #f5f6f8;
  color: #6f6f6f;
  font-weight: 900;
}

.feedback-tabs button.is-active {
  border-color: var(--primary);
  background: rgba(242, 138, 11, 0.12);
  color: var(--primary);
}

.feedback-list {
  display: grid;
  max-height: 170px;
  overflow: auto;
  gap: 8px;
}

.feedback-list article {
  border: 1px solid #edf1f6;
  border-radius: 12px;
  padding: 10px 12px;
}

.feedback-list strong {
  display: block;
  color: #071a2f;
  font-size: 13px;
}

.feedback-list p,
.feedback-empty {
  margin: 4px 0 0;
  color: #737373;
  font-size: 13px;
  line-height: 1.4;
}

.feedback-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 10px;
}

.feedback-form input {
  min-width: 0;
  height: 42px;
  border: 1px solid #dfe7f4;
  border-radius: 12px;
  outline: 0;
  padding: 0 12px;
}

.feedback-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(242, 138, 11, 0.14);
}

.feedback-form button {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  padding: 0 14px;
  font-weight: 900;
}

.modal-product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.modal-product-foot strong {
  font-size: 28px;
}

@media (max-width: 1180px) {
  .workspace {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .cart-panel {
    position: static;
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .app-shell {
    padding: env(safe-area-inset-top) 14px calc(82px + env(safe-area-inset-bottom));
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-right: -14px;
    margin-left: -14px;
    padding: 8px 14px 10px;
  }

  .desktop-nav {
    display: none;
  }

  .brand small {
    display: none;
  }

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

  .hero-copy h1 {
    font-size: clamp(36px, 12vw, 56px);
  }

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

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

  .workspace.catalog-only,
  .workspace.cart-only {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .filters,
  .cart-panel {
    position: static;
  }

  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .bottom-nav {
    display: grid;
  }

  .toast {
    right: 12px;
    bottom: calc(82px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 620px) {
  .hero-copy p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

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

  .home-feature-strip article {
    min-height: 94px;
  }

  .home-feature-strip article + article {
    border-top: 1px solid #e6ebf2;
    border-left: 0;
  }

  .filters,
  .admin-form {
    grid-template-columns: 1fr;
  }

  .admin-permission-grid,
  .admin-account-grid {
    grid-template-columns: 1fr;
  }

  .admin-account-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-roulette-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .admin-roulette-item label {
    grid-column: 1 / -1;
  }

  .admin-roulette-item img {
    width: 56px;
    height: 56px;
  }

  .category-editor {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .category-editor label,
  .category-editor .ghost-btn {
    grid-column: 1 / -1;
  }

  .profile-section {
    gap: 14px;
    padding-top: 0;
  }

  .profile-title h1 {
    font-size: 32px;
  }

  .profile-title p {
    font-size: 15px;
  }

  .profile-hero-card {
    gap: 16px;
    padding: 18px;
  }

  .profile-avatar {
    width: 68px;
    height: 68px;
    font-size: 22px;
  }

  .profile-hero-card h2 {
    font-size: 23px;
  }

  .profile-hero-card p,
  .profile-hero-card small {
    font-size: 14px;
  }

  .profile-menu-card,
  .profile-form-card {
    border-radius: 20px;
    padding: 18px;
  }

  .profile-form-card {
    grid-template-columns: 1fr;
  }

  .profile-form-card h2 {
    font-size: 22px;
  }

  .profile-form-card p {
    font-size: 14px;
  }

  .profile-form-card input {
    height: 52px;
    font-size: 15px;
  }

  .profile-menu-card button {
    min-height: 52px;
    font-size: 17px;
  }

  .profile-card-head {
    align-items: center;
  }

  .app-footer {
    margin-top: 22px;
    padding-right: 2px;
    padding-left: 2px;
  }

  .app-footer nav {
    gap: 12px;
  }

  .app-footer button,
  .app-footer a,
  .app-footer strong {
    font-size: 15px;
  }

  .channel-card {
    padding: 24px 20px 20px;
  }

  .channel-card h2 {
    font-size: 22px;
  }

  .earn-section {
    gap: 14px;
    padding-top: 0;
  }

  .earn-hero,
  .earn-card {
    border-radius: 20px;
  }

  .earn-hero h1 {
    font-size: 40px;
  }

  .earn-hero p,
  .earn-card p {
    font-size: 18px;
  }

  .earn-hero strong {
    font-size: 18px;
  }

  .earn-card h2 {
    font-size: 30px;
  }

  .ref-link {
    font-size: 17px;
  }

  .bonus-table-head,
  .bonus-table-row {
    grid-template-columns: minmax(0, 1fr) 90px;
    padding: 15px;
  }

  .bonus-table-head {
    font-size: 13px;
  }

  .bonus-table-row {
    font-size: 16px;
  }

  .earn-flow em,
  .earn-flow mark {
    font-size: 16px;
  }

  .earn-card ul {
    font-size: 17px;
  }

  .roulette-section {
    gap: 14px;
    padding-top: 0;
  }

  .roulette-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 24px;
  }

  .roulette-hero h1 {
    font-size: 40px;
  }

  .roulette-hero p {
    font-size: 16px;
  }

  .roulette-hero img {
    width: 112px;
    justify-self: start;
  }

  .roulette-attempts {
    min-height: 94px;
    padding: 18px;
  }

  .roulette-attempts strong {
    font-size: 52px;
  }

  .roulette-attempts p {
    font-size: 14px;
  }

  .roulette-wheel-card,
  .roulette-list-card {
    padding: 16px;
  }

  .roulette-track {
    grid-auto-columns: 132px;
    gap: 12px;
    padding: 0 34px;
  }

  .roulette-prize {
    min-height: 210px;
  }

  .roulette-tabs button {
    min-height: 52px;
    font-size: 14px;
  }

  .roulette-row {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .roulette-row em {
    grid-column: 2;
    justify-self: start;
  }

  .checkout-section {
    gap: 14px;
    padding-top: 0;
  }

  .checkout-title h1 {
    font-size: 40px;
  }

  .checkout-title p,
  .checkout-steps {
    font-size: 18px;
  }

  .checkout-card {
    border-radius: 20px;
    padding: 22px;
  }

  .checkout-card h2 {
    font-size: 28px;
  }

  .checkout-card p,
  .checkout-field,
  .pickup-list small {
    font-size: 16px;
  }

  .checkout-action-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .checkout-promo-row {
    grid-template-columns: 1fr;
  }

  .checkout-promo-row .ghost-btn,
  .checkout-submit {
    width: 100%;
    min-width: 0;
  }

  .checkout-map-wrap {
    aspect-ratio: 0.82 / 1;
  }

  .checkout-manual-toggle {
    font-size: 18px;
  }

  .checkout-order-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .checkout-order-item b {
    grid-column: 2;
  }

  .workspace.catalog-only .filters {
    grid-template-columns: 1fr;
  }

  .catalog-intro {
    padding-top: 0;
  }

  .catalog-intro h1 {
    font-size: 46px;
  }

  .catalog-intro p {
    font-size: 20px;
  }

  .catalog-category-panel {
    padding: 28px;
  }

  .catalog-category-list {
    gap: 18px 24px;
  }

  .catalog-category-list button {
    min-height: 46px;
    padding: 0 16px;
    font-size: 21px;
  }

  .catalog-tool-row {
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 10px;
  }

  .catalog-search,
  .catalog-tool-row select {
    min-height: 54px;
    border-radius: 16px;
  }

  .catalog-search input,
  .catalog-tool-row select {
    font-size: 16px;
  }

  .view-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .catalog-banner {
    margin-bottom: 12px;
    border-radius: 18px;
  }

  .product-info {
    padding: 10px 10px 14px;
  }

  .product-info h3 {
    margin-bottom: 14px;
    font-size: 15px;
  }

  .product-category,
  .product-seller,
  .product-info p {
    font-size: 12px;
  }

  .product-seller {
    margin-bottom: 12px;
  }

  .catalog-price {
    font-size: 20px;
  }

  .product-action-btn {
    right: 9px;
    width: 48px;
    height: 48px;
  }

  .product-action-btn svg {
    width: 22px;
    height: 22px;
  }

  .product-action-btn.cart-action {
    top: 10px;
  }

  .product-action-btn.view-action {
    top: 10px;
  }

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

  .product-modal-card > img {
    min-height: 260px;
    max-height: 42vh;
  }

  .modal-product-body {
    padding: 20px;
  }

  .modal-product-foot {
    align-items: stretch;
    flex-direction: column;
  }
}
