:root {
  --blue: #0057a8;
  --blue-2: #064b88;
  --teal: #00b7ad;
  --ink: #102033;
  --muted: #667085;
  --line: #d9e2ec;
  --surface: #ffffff;
  --bg: #f4f7fa;
  --soft: #eaf3f6;
  --danger: #c24141;
  --shadow: 0 18px 50px rgba(16, 32, 51, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-main {
  min-height: 88px;
  display: grid;
  grid-template-columns: 280px minmax(320px, 1fr) 210px auto;
  align-items: center;
  gap: 22px;
  padding: 12px 5vw;
}

.brand {
  display: block;
  width: min(250px, 100%);
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: 60px;
  object-fit: contain;
  object-position: left center;
}

.header-search {
  min-height: 54px;
  display: grid;
  grid-template-columns: 1fr 48px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(16, 32, 51, 0.05);
}

.header-search input {
  min-width: 0;
  height: 52px;
  border: 0;
  outline: 0;
  padding: 0 18px;
  color: var(--ink);
  background: transparent;
}

.header-search svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  color: var(--blue);
}

.help-button {
  min-height: 54px;
  display: grid;
  align-content: center;
  justify-items: start;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 16px;
  color: var(--ink);
  background: #fff;
}

.help-button span {
  color: var(--muted);
  font-size: 0.82rem;
}

.help-button strong {
  font-size: 0.95rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-button {
  position: relative;
  width: 64px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue-2);
  background: #fff;
}

.cart-button svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.category-menu {
  min-height: 58px;
  display: grid;
  grid-template-columns: 220px 220px minmax(0, 1fr);
  align-items: stretch;
  padding: 0 5vw;
  border-top: 1px solid var(--line);
  background: #fff;
}

.category-menu button {
  min-width: 0;
  min-height: 58px;
  border: 0;
  border-left: 1px solid var(--line);
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}

.category-menu button:hover,
.category-menu button:focus-visible {
  color: var(--blue);
  background: var(--soft);
}

.category-menu .menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  color: #fff;
  background: var(--blue);
}

.menu-trigger svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.menu-trigger .chevron {
  width: 18px;
  height: 18px;
  margin-left: auto;
}

.menu-trigger .chevron svg {
  width: 18px;
  height: 18px;
  transition: transform 160ms ease;
}

.menu-trigger[aria-expanded="true"] .chevron svg {
  transform: rotate(180deg);
}

.category-menu .catalog-link {
  border-right: 1px solid var(--line);
}

.category-current {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
}

.category-current span {
  color: var(--muted);
  font-size: 0.8rem;
}

.category-current strong {
  min-width: 0;
  overflow: hidden;
  color: var(--blue);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-dropdown {
  position: absolute;
  top: 100%;
  right: 5vw;
  left: 5vw;
  z-index: 45;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(16, 32, 51, 0.18);
}

.category-dropdown[hidden] {
  display: none;
}

.category-dropdown-inner {
  max-height: min(520px, 65vh);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  overflow-y: auto;
  padding: 16px;
}

.category-dropdown button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 14px;
  color: var(--ink);
  background: #fff;
  font-weight: 750;
  text-align: left;
}

.category-dropdown button:hover,
.category-dropdown button:focus-visible {
  border-color: var(--teal);
  color: var(--blue);
  background: var(--soft);
}

.category-dropdown button.is-active {
  border-color: var(--teal);
  color: #fff;
  background: var(--teal);
}

.header-accent {
  height: 5px;
  background: var(--teal);
  border-right: 24vw solid var(--blue);
}

.app-shell {
  flex: 1;
  padding: 28px 5vw 96px;
}

.site-footer {
  padding: 20px 5vw;
  color: #526273;
  background: #ffffff;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
  line-height: 1.6;
}

.site-footer strong:first-child {
  color: var(--blue-2);
}

.site-footer span {
  margin: 0 8px;
  color: var(--teal);
}

.hero {
  position: relative;
  aspect-ratio: 2.6 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--blue);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 55, 115, 0.1);
}

.hero-copy {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 1;
  width: max-content;
  max-width: calc(100% - 40px);
  padding: 0;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 35, 80, 0.55);
}

.hero-copy span,
.page-band span,
.drawer-head span {
  color: var(--teal);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero-copy h1,
.page-band h1 {
  margin: 8px 0 14px;
  font-size: 2.55rem;
  line-height: 1.05;
}

.hero-copy p {
  margin: 0;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.toolbar {
  display: block;
  margin: 24px 0;
}

.search-box {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

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

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

.segmented button,
.pill-button,
.secondary-button,
.danger-button,
.link-button,
.add-button,
.primary-button,
.google-button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 800;
}

.segmented button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.segmented button.is-active,
.primary-button,
.pill-button,
.add-button {
  background: var(--teal);
  color: white;
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--blue-2);
}

.danger-button {
  background: var(--danger);
  color: #fff;
}

.link-button {
  background: transparent;
  color: var(--blue);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 180px;
  display: grid;
  place-content: center;
  gap: 8px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  text-align: center;
}

.empty-state strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.product-card,
.panel,
.metric,
.auth-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.06);
}

.product-card {
  overflow: hidden;
}

.image-button {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 0;
  background-color: #f7fafc;
  background-image: url("/assets/ui/product-stage-v1.webp");
  background-position: center;
  background-size: cover;
}

.image-button img {
  width: 90%;
  height: 88%;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(16, 32, 51, 0.16);
}

.product-body {
  padding: 15px;
}

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

.product-meta span,
.product-meta strong {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-card h2,
.cart-line h2,
.panel h2 {
  margin: 10px 0 6px;
  font-size: 1rem;
  line-height: 1.25;
}

.product-card p,
.muted {
  color: var(--muted);
  line-height: 1.45;
}

.product-card p {
  min-height: 62px;
  margin: 0 0 14px;
  font-size: 0.92rem;
}

.quantity-row {
  display: grid;
  grid-template-columns: 38px 42px 38px 1fr;
  gap: 8px;
  align-items: center;
}

.quantity-row.tight {
  grid-template-columns: 36px 42px 36px;
}

.quantity-row output {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.drawer-quantity {
  grid-template-columns: 38px 42px 38px;
  justify-content: center;
  margin: 4px 0 12px;
}

.icon-button {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: var(--blue-2);
  background: var(--soft);
}

.icon-button svg,
.search-box svg,
.header-search svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.icon-button.soft {
  width: 38px;
  height: 38px;
}

.icon-button.ghost {
  background: transparent;
}

.icon-button.accent {
  background: var(--teal);
  color: #fff;
}

.badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 0.75rem;
}

.page-band {
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 32px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
}

.page-band h1 {
  margin-bottom: 0;
}

.split-layout,
.cart-layout,
.admin-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
  margin-top: 20px;
}

.panel {
  padding: 20px;
}

.form-stack,
.form-grid {
  display: grid;
  gap: 14px;
}

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

.field {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.field input,
.field textarea,
.field select,
.admin-product input,
.chat-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  outline: 0;
  background: #fff;
  color: var(--ink);
}

.field textarea,
.field select {
  padding: 11px 12px;
  line-height: 1.45;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.admin-product input:focus,
.chat-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 183, 173, 0.16);
}

.field small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.full {
  grid-column: 1 / -1;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 52px;
}

.password-field .icon-button {
  position: absolute;
  top: 2px;
  right: 4px;
}

.auth-layout {
  min-height: calc(100vh - 170px);
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(520px, 100%);
  padding: 32px;
}

.auth-card h1 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.auth-card p {
  color: var(--muted);
}

.google-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.google-mark {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  font-weight: 900;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-line {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-line img {
  width: 92px;
  height: 70px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 1.1rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.metric {
  padding: 18px;
}

.metric span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.metric strong {
  display: block;
  margin-top: 6px;
  color: var(--blue);
  font-size: 2rem;
}

.bar-list,
.table-list,
.orders-list,
.product-admin-list {
  display: grid;
  gap: 10px;
}

.admin-create-panel,
.admin-create-panel + .panel {
  margin-top: 20px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-heading h2 {
  margin: 5px 0 6px;
}

.admin-create-form {
  align-items: start;
}

.bar-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 10px 0 16px;
  border-bottom: 1px solid var(--line);
}

.bar-row i {
  position: absolute;
  left: 0;
  bottom: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--teal);
}

.table-list > div,
.order-mini {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.table-list span,
.order-mini span,
.order-mini small {
  color: var(--muted);
}

.alert-item small {
  color: var(--muted);
}

.alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.alert-actions button {
  min-height: 40px;
  padding-inline: 14px;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.privacy-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.privacy-list li + li {
  margin-top: 8px;
}

.privacy-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
}

.privacy-panel h2 {
  margin: 5px 0 6px;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.admin-product {
  display: grid;
  grid-template-columns: 82px 1fr 110px 96px minmax(180px, 1fr) 86px 90px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-product img {
  width: 82px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.admin-product label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.switch input {
  width: 18px;
  min-height: 18px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(16, 32, 51, 0.34);
}

.drawer {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  width: min(480px, 100%);
  height: 100vh;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 18px;
  padding: 24px;
  overflow: auto;
  background: #fff;
  box-shadow: var(--shadow);
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.drawer-head h2 {
  margin: 4px 0 0;
  font-size: 1.6rem;
}

.drawer-image {
  width: 100%;
  max-height: 270px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.detail-list div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-list dt {
  color: var(--blue);
  font-weight: 900;
}

.detail-list dd {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.chat-shell {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
}

.chat-fab {
  position: relative;
  width: 64px;
  height: 64px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(18, 140, 126, 0.32), 0 2px 8px rgba(16, 32, 51, 0.18);
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.chat-fab::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: inherit;
  pointer-events: none;
}

.chat-fab:hover {
  transform: translateY(-2px);
  background: #1ebe5d;
  box-shadow: 0 14px 32px rgba(18, 140, 126, 0.36), 0 3px 10px rgba(16, 32, 51, 0.2);
}

.chat-fab:active {
  transform: translateY(0) scale(0.96);
}

.chat-fab:focus-visible {
  outline: 3px solid rgba(0, 83, 160, 0.28);
  outline-offset: 3px;
}

.chat-fab > span {
  position: relative;
  z-index: 1;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
}

.chat-fab svg {
  width: 32px;
  height: 32px;
  display: block;
  fill: currentColor;
  stroke: none;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(380px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.chat-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  color: #fff;
  background: var(--blue);
}

.chat-head span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
}

.chat-messages {
  height: 300px;
  display: grid;
  align-content: start;
  gap: 8px;
  overflow: auto;
  padding: 14px;
  background: var(--bg);
}

.chat-bubble {
  width: fit-content;
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 1.35;
}

.from-user {
  justify-self: end;
  background: var(--teal);
  color: #fff;
}

.from-bot {
  background: #fff;
  border: 1px solid var(--line);
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  padding: 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  transform: translateX(-50%);
  max-width: min(560px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

@media (max-width: 1180px) {
  .header-main {
    grid-template-columns: 230px minmax(260px, 1fr) auto;
  }

  .help-button {
    display: none;
  }

  .category-menu {
    grid-template-columns: 190px 180px minmax(0, 1fr);
    padding-inline: 24px;
  }

  .category-dropdown {
    right: 24px;
    left: 24px;
  }

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

  .admin-product {
    grid-template-columns: 82px 1fr 110px 96px;
  }

  .admin-product label:nth-of-type(3),
  .admin-product .switch,
  .admin-product button {
    grid-column: span 2;
  }
}

@media (max-width: 880px) {
  .site-header {
    position: relative;
  }

  .header-main {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 16px;
  }

  .brand {
    width: min(220px, 68vw);
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .category-menu {
    padding-inline: 16px;
  }

  .category-dropdown {
    right: 16px;
    left: 16px;
  }

  .app-shell {
    padding: 18px 16px 96px;
  }

  .hero {
    aspect-ratio: 16 / 9;
  }

  .hero-copy {
    bottom: 20px;
  }

  .hero-copy h1,
  .page-band h1 {
    font-size: 2rem;
  }

  .split-layout,
  .cart-layout,
  .admin-layout,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .privacy-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .data-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 620px) {
  .category-menu {
    grid-template-columns: 1fr 1fr;
  }

  .category-current {
    display: none;
  }

  .category-dropdown-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
  }

  .category-dropdown button {
    min-width: 0;
    white-space: normal;
  }

  .chat-shell {
    right: 14px;
    bottom: 14px;
  }

  .chat-fab {
    width: 60px;
    height: 60px;
  }

  .chat-fab > span,
  .chat-fab svg {
    width: 30px;
    height: 30px;
  }

  .chat-panel {
    width: min(380px, calc(100vw - 48px));
  }

  .brand {
    width: min(180px, 58vw);
  }

  .brand img {
    height: 48px;
  }

  .cart-button {
    width: 50px;
    height: 48px;
  }

  .nav-actions {
    gap: 6px;
  }

  .pill-button {
    padding: 0 12px;
  }

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

  .page-band,
  .cart-line,
  .admin-product {
    grid-template-columns: 1fr;
  }

  .page-band {
    align-items: flex-start;
  }

  .hero {
    aspect-ratio: 4 / 3;
  }

  .hero img {
    object-position: center;
  }

  .hero-copy {
    bottom: 16px;
  }

  .hero-copy h1 {
    font-size: 1.75rem;
  }

  .cart-line img,
  .admin-product img {
    width: 100%;
    height: 140px;
  }
}
