﻿:root {
  color-scheme: light;
  --color-bg: #f4f5f6;
  --color-surface: #ffffff;
  --color-surface-soft: #eef1f2;
  --color-text: #111518;
  --color-muted: #66737d;
  --color-border: #d8dde2;
  --color-brand-dark: #111518;
  --color-brand-graphite: #1f252a;
  --color-accent: #2f373d;
  --color-success: #126e58;
  --bg: var(--color-bg);
  --surface: var(--color-surface);
  --surface-soft: var(--color-surface-soft);
  --ink: var(--color-text);
  --muted: var(--color-muted);
  --line: var(--color-border);
  --brand: var(--color-brand-dark);
  --brand-strong: var(--color-accent);
  --accent: #126e58;
  --warn: #a15c00;
  --danger: #a32727;
  --graphite: var(--color-brand-graphite);
  --shadow: 0 14px 34px rgba(20, 24, 28, 0.12);
  --shadow-soft: 0 8px 24px rgba(20, 24, 28, 0.08);
  --shadow-card: 0 10px 26px rgba(20, 24, 28, 0.07);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(32, 37, 40, 0.035), transparent 240px),
    var(--bg);
  font-family: Arial, Helvetica, sans-serif;
}

body.modal-open {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  border: 0;
  border-radius: var(--radius);
  min-height: 44px;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--graphite);
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

button:hover {
  background: #30363a;
  box-shadow: 0 8px 18px rgba(21, 25, 28, 0.12);
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0) scale(0.98);
}

button:disabled {
  cursor: not-allowed;
  color: #79858c;
  background: #dbe1e5;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(17, 21, 24, 0.18);
  border-color: var(--brand);
}

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

.app-shell {
  min-height: 100vh;
  padding-bottom: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  background: rgba(32, 37, 40, 0.96);
  backdrop-filter: blur(10px);
}

.topbar-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.contact-link,
.header-nav-link,
.dev-toggle,
.menu-toggle,
.header-order-button,
.cart-icon-button {
  min-height: 38px;
  padding: 8px 12px;
}

.header-nav-link {
  display: none;
  color: #dfe8e9;
  background: rgba(255, 255, 255, 0.08);
}

.header-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.contact-link {
  color: #ffffff;
  background: var(--brand);
}

.dev-toggle {
  color: #dfe8e9;
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.header-order-button,
.cart-icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  padding: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.header-order-button {
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 17px;
}

.header-order-button:hover,
.header-order-button:focus-visible,
.header-order-button.is-active {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.header-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  min-height: 20px;
  border: 2px solid var(--graphite);
  border-radius: 999px;
  padding: 0 5px;
  color: #ffffff;
  background: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 38;
  background: rgba(11, 14, 16, 0.34);
  animation: modalFade 0.16s ease both;
}

.is-hidden,
.checkout-section[hidden],
.menu-overlay[hidden],
.site-menu-panel[hidden],
.home-view[hidden],
.app-workspace[hidden] {
  display: none !important;
}

.site-menu-panel {
  position: fixed;
  top: 68px;
  right: 14px;
  z-index: 39;
  display: grid;
  gap: 12px;
  width: min(340px, calc(100vw - 28px));
  border: 1px solid rgba(32, 37, 40, 0.14);
  border-radius: 12px;
  padding: 14px;
  background: #ffffff;
  box-shadow: var(--shadow);
  animation: miniChatPanelIn 0.18s ease both;
}

.site-menu-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 12px;
  padding-bottom: 10px;
}

.site-menu-brand {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.site-menu-brand strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.1;
}

.site-menu-brand span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.menu-group {
  display: grid;
  gap: 5px;
}

.menu-group + .menu-group {
  border-top: 1px solid rgba(17, 21, 24, 0.07);
  padding-top: 10px;
}

.menu-group-label {
  padding: 0 4px 2px;
  color: #7a858c;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu-close {
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  color: var(--ink);
  background: var(--surface-soft);
}

.menu-link {
  justify-content: flex-start;
  width: 100%;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  min-height: 38px;
  padding: 9px 10px;
  font-weight: 760;
}

.menu-link:hover,
.menu-link:focus-visible {
  border-color: rgba(17, 21, 24, 0.08);
  background: #f4f6f7;
}

.menu-link.is-active {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 8px 18px rgba(17, 21, 24, 0.14);
}

.brand-block {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 5px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark-fallback {
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
}

.brand-block h1 {
  margin-bottom: 1px;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand-block p,
.section-head p,
.home-panel p,
.placeholder-panel p,
.assistant-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.topbar .brand-block p {
  color: #bfc8cc;
}

.env-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 34px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  font-weight: 700;
}

.runtime-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #dfe8e9;
  font-size: 13px;
  font-weight: 700;
}

.runtime-strip span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.08);
}

.dev-panel {
  display: grid;
  gap: 10px;
  margin: 10px 14px 0;
  border: 1px solid rgba(32, 37, 40, 0.14);
  border-radius: var(--radius);
  padding: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.dev-panel[hidden] {
  display: none;
}

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

.dev-panel .runtime-strip {
  color: var(--muted);
}

.dev-panel .runtime-strip span {
  border-color: var(--line);
  background: var(--surface-soft);
}

.api-panel {
  display: grid;
  gap: 8px;
}

.api-panel label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.warning-banner {
  margin: 12px 14px 0;
  border: 1px solid #e0b35f;
  border-radius: var(--radius);
  padding: 12px;
  color: #4b3308;
  background: #fff4d9;
}

.home-view {
  display: grid;
  gap: 20px;
  justify-items: center;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.page-enter {
  animation: pageEnter 0.22s ease both;
}

.public-hero,
.benefits-strip,
.process-section,
.home-final-cta {
  width: min(1120px, calc(100% - 32px));
  max-width: 100%;
  margin: 18px auto;
}

.public-hero {
  display: grid;
  justify-items: center;
  gap: 20px;
  overflow: hidden;
  border: 1px solid rgba(32, 37, 40, 0.08);
  border-radius: 16px;
  padding: clamp(28px, 6vw, 58px) clamp(18px, 5vw, 52px);
  color: var(--ink);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 37, 40, 0.07), transparent 34%),
    #ffffff;
  box-shadow: 0 18px 54px rgba(20, 24, 28, 0.08);
  animation: heroEnter 0.24s ease both;
}

.public-hero__copy {
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: 100%;
  max-width: 820px;
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  border: 1px solid rgba(17, 21, 24, 0.12);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--graphite);
  background: #f4f6f7;
  font-size: 13px;
  font-weight: 800;
}

.public-hero h2 {
  margin-bottom: 10px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

.public-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.hero-primary,
.hero-secondary {
  min-height: 44px;
  padding-inline: 18px;
  font-weight: 850;
}

.hero-primary {
  background: var(--brand);
}

.hero-secondary {
  border: 1px solid rgba(17, 21, 24, 0.18);
  color: var(--ink);
  background: #ffffff;
}

.hero-primary:hover {
  background: var(--brand-strong);
}

.hero-secondary:hover {
  background: #eef1f2;
}

.hero-search {
  display: grid;
  gap: 8px;
  max-width: 700px;
  margin-top: 20px;
}

.hero-search label {
  color: #dfe8e9;
  font-size: 13px;
  font-weight: 800;
}

.hero-search__control {
  display: grid;
  gap: 8px;
}

.hero-search input {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.96);
}

.hero-search button {
  background: #30363a;
}

.hero-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(720px, 100%);
  max-width: 100%;
  margin: 0 auto 18px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.hero-logo-image {
  display: block;
  width: min(720px, 100%);
  max-width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
}

.hero-logo-image[hidden],
.brand-mark img[hidden] {
  display: none;
}

.hero-logo-fallback {
  color: var(--ink);
}

.benefits-strip {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(17, 21, 24, 0.09);
  border-radius: 14px;
  padding: clamp(18px, 3vw, 26px);
  background: #fbfcfc;
  box-shadow: 0 6px 18px rgba(20, 24, 28, 0.035);
}

.benefits-head {
  display: grid;
  gap: 6px;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.benefits-head h2 {
  margin-bottom: 0;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0;
}

.benefits-head p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.benefits-grid {
  display: grid;
  border-top: 1px solid rgba(17, 21, 24, 0.08);
}

.benefit-card {
  display: grid;
  align-content: start;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid rgba(17, 21, 24, 0.08);
  border-radius: 0;
  padding: 16px 0;
  background: transparent;
  box-shadow: none;
  cursor: default;
  transition: background-color 0.16s ease;
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.48);
}

.benefit-card:last-child {
  border-bottom: 0;
}

.benefit-card h3 {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.25;
}

.benefit-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.process-section,
.home-final-cta {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(18px, 3vw, 26px);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.process-head {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  margin-bottom: 14px;
  text-align: center;
}

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

.process-head > div {
  max-width: 760px;
  margin-inline: auto;
}

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

.process-grid article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 96px;
  border: 1px solid #edf0f1;
  border-radius: var(--radius);
  padding: 12px;
  background: #fbfcfc;
  overflow: visible;
}

.process-grid strong {
  display: block;
  min-width: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--brand);
  font-weight: 850;
}

.home-final-cta {
  display: grid;
  justify-items: center;
  gap: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #202528, #30363a);
  text-align: center;
}

.home-final-cta > div:first-child {
  max-width: 720px;
}

.home-final-cta p {
  margin-bottom: 0;
  color: #d7e0e3;
}

.hero-secondary.light {
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.about-page {
  display: grid;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.about-hero {
  display: grid;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(17, 21, 24, 0.08);
  border-radius: 12px;
  padding: clamp(18px, 4vw, 32px);
  background:
    radial-gradient(circle at 10% 10%, rgba(17, 21, 24, 0.06), transparent 32%),
    #ffffff;
  box-shadow: 0 14px 36px rgba(17, 21, 24, 0.05);
}

.about-hero img {
  display: block;
  width: min(320px, 100%);
  height: auto;
  object-fit: contain;
}

.about-hero h2 {
  margin-bottom: 6px;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: 0;
}

.about-subtitle {
  color: var(--graphite);
  font-weight: 850;
}

.about-hero p:not(.about-subtitle),
.about-contact-panel p {
  color: var(--muted);
  line-height: 1.58;
}

.about-trust-section,
.about-contact-panel {
  border: 1px solid rgba(17, 21, 24, 0.08);
  border-radius: 14px;
  padding: clamp(18px, 4vw, 28px);
  background: #fbfcfc;
}

.about-section-head {
  display: grid;
  gap: 7px;
  max-width: 720px;
  margin: 0 auto 18px;
  text-align: center;
}

.about-section-head h3,
.about-contact-panel h3 {
  margin-bottom: 0;
  font-size: clamp(22px, 3vw, 28px);
}

.about-section-head p,
.about-contact-panel p {
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 21, 24, 0.07);
  border-radius: 12px;
  background: #ffffff;
}

.about-card {
  display: grid;
  align-content: start;
  gap: 8px;
  border-bottom: 1px solid rgba(17, 21, 24, 0.07);
  padding: 16px;
  background: transparent;
}

.about-card:last-child {
  border-bottom: 0;
}

.about-card h3 {
  margin-bottom: 0;
  font-size: 18px;
}

.about-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.about-contact-link,
.about-phone-button,
.about-contact-button {
  color: var(--ink);
  text-decoration: none;
}

.about-contact-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(17, 21, 24, 0.1);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #ffffff;
  font-weight: 760;
}

.about-contact-button {
  cursor: pointer;
}

.about-contact-note {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(17, 21, 24, 0.07);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--muted);
  background: #f2f4f5;
  font-weight: 720;
}

.about-contact-panel {
  display: grid;
  gap: 16px;
  background: #ffffff;
}

.about-contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.about-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

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

.about-actions .brand-button,
.about-actions .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-weight: 850;
  text-decoration: none;
}

.workspace {
  display: grid;
  gap: 18px;
  padding: 18px;
}

body.view-about .workspace {
  grid-template-columns: minmax(0, 1120px);
  justify-content: center;
}

body.view-about .filters-panel,
body.view-about .assistant-panel {
  display: none;
}

body.view-about .content-panel {
  width: 100%;
  min-width: 0;
}

.filters-panel,
.content-panel,
.assistant-panel {
  min-width: 0;
}

.home-panel,
.filter-group,
.placeholder-panel,
.assistant-card,
.about-page,
.product-detail,
.cart-footer,
.checkout-form,
.checkout-result {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.home-panel {
  border-color: rgba(17, 21, 24, 0.1);
  background: linear-gradient(180deg, #f8fafb, #ffffff);
}

.selection-cta {
  display: grid;
  gap: 10px;
}

.selection-cta p {
  margin-bottom: 2px;
  color: var(--muted);
  line-height: 1.45;
}

.filter-group {
  margin-top: 14px;
  box-shadow: var(--shadow-card);
}

.unified-filter-panel {
  display: grid;
  gap: 14px;
}

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

.filter-panel-head h2 {
  margin-bottom: 0;
}

.filter-drawer-close {
  display: none;
  min-width: 34px;
  min-height: 34px;
  border-radius: 50%;
  padding: 0;
  color: var(--ink);
  background: #f1f3f4;
  font-size: 22px;
  line-height: 1;
}

.filter-search-input {
  min-height: 34px;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 13px;
}

.filter-subgroup {
  display: grid;
  gap: 7px;
  border-bottom: 1px solid rgba(17, 21, 24, 0.07);
  padding-bottom: 12px;
}

.filter-subgroup h3 {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.filter-status-group {
  border-bottom: 0;
  padding-bottom: 0;
}

.unified-filter-panel .chip-list {
  gap: 6px;
}

.compact-filter-empty {
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
}

.filter-more-button {
  min-height: 32px;
  border: 1px solid rgba(17, 21, 24, 0.12);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  background: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.filter-more-button:hover {
  color: var(--ink);
  background: #f4f6f7;
  box-shadow: none;
}

.filter-actions {
  display: grid;
  gap: 8px;
}

.filter-apply-button {
  display: none;
}

.filter-drawer-backdrop {
  display: none;
}

.mobile-filter-toggle {
  display: none;
}

.filter-group h2,
.assistant-card h2 {
  margin-bottom: 12px;
  font-size: 15px;
  letter-spacing: 0;
}

.filter-group .filter-panel-head h2 {
  margin-bottom: 0;
}

.filter-group label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.filter-group select {
  margin-bottom: 0;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  min-height: 34px;
  border: 1px solid transparent;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--surface-soft);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.chip.is-selected {
  border-color: rgba(17, 21, 24, 0.18);
  color: #ffffff;
  background: var(--brand);
}

.chip:hover {
  background: #e2e7e9;
}

.view-section {
  display: none;
  animation: pageEnter 0.22s ease both;
}

.view-section.is-active {
  display: block;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.catalog-toolbar {
  align-items: end;
  border-bottom: 1px solid rgba(17, 21, 24, 0.08);
  margin-bottom: 14px;
  padding-bottom: 14px;
}

.catalog-toolbar p {
  margin-bottom: 0;
}

.section-head h2 {
  margin-bottom: 4px;
  font-size: 24px;
}

.catalog-toolbar h2 {
  margin-bottom: 3px;
}

.search-box {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.search-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px;
}

.catalog-toolbar .search-box {
  width: 100%;
}

.catalog-toolbar .search-control input {
  min-height: 42px;
  border-color: rgba(17, 21, 24, 0.12);
  background: #ffffff;
  box-shadow: none;
}

.catalog-toolbar .icon-button {
  min-height: 42px;
  border: 1px solid rgba(17, 21, 24, 0.1);
  background: #f3f5f6;
}

.icon-button {
  min-width: 44px;
  padding: 0;
  color: var(--ink);
  background: var(--surface-soft);
}

.search-box label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.state-line {
  min-height: 22px;
  margin-bottom: 10px;
  color: var(--muted);
}

.product-grid {
  display: grid;
  gap: 18px;
}

.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
}

.catalog-pagination[hidden] {
  display: none;
}

.pagination-button {
  min-width: 42px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.pagination-button:hover:not(:disabled),
.pagination-button:focus-visible:not(:disabled) {
  border-color: rgba(17, 21, 24, 0.28);
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}

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

.pagination-button:disabled {
  cursor: default;
  opacity: 0.48;
  box-shadow: none;
}

.product-card {
  display: grid;
  grid-template-rows: auto minmax(250px, auto);
  overflow: hidden;
  border: 1px solid #dfe4e6;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
  animation: cardEnter 0.22s ease both;
}

.product-card__image {
  align-self: start;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  align-content: start;
}

.product-card__title {
  display: -webkit-box;
  min-height: 40px;
  overflow: hidden;
  line-height: 1.25;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card:hover {
  border-color: rgba(17, 21, 24, 0.18);
  box-shadow: 0 18px 38px rgba(20, 24, 28, 0.12);
  transform: translateY(-3px);
}

.product-media,
.detail-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  color: #505a60;
  background:
    radial-gradient(circle at 20% 20%, rgba(17, 21, 24, 0.1), transparent 30%),
    linear-gradient(135deg, #dfe5e6, #f7f1ef);
  font-weight: 700;
}

.product-media {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.product-media img,
.detail-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.03);
}

.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
}

.photo-placeholder span {
  font-size: 15px;
}

.photo-placeholder small {
  color: var(--muted);
  font-weight: 700;
}

.has-image .photo-placeholder {
  display: none;
}

.has-image.is-missing .photo-placeholder {
  display: flex;
}

.photo-count-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  border-radius: 999px;
  padding: 4px 8px;
  color: #ffffff;
  background: rgba(17, 21, 24, 0.72);
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
}

.product-body {
  display: grid;
  gap: 11px;
  padding: 16px;
}

.product-body.product-card__body {
  display: flex;
  flex-direction: column;
}

.product-title {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 880;
  letter-spacing: 0;
}

.product-taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  color: #4f5a61;
  font-size: 13px;
  font-weight: 720;
}

.product-code-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  min-width: 0;
  color: #7a858c;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.product-code-line span {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #edf0f1;
  margin-top: 2px;
  padding-top: 11px;
  font-weight: 700;
}

.price-row > span:first-child {
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
}

.status-pill {
  border-radius: var(--radius);
  padding: 4px 7px;
  color: #0f4f40;
  background: #e5f5ef;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  animation: badgePop 0.18s ease;
}

.status-available {
  color: #0f4f40;
  background: #e5f5ef;
}

.status-reserved {
  color: #654100;
  background: #fff0c2;
}

.status-sold {
  color: #ffffff;
  background: #6b7378;
}

.status-unavailable,
.status-unknown {
  color: #8b1f24;
  background: #f9dddd;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.product-actions button {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 800;
}

.product-actions .cart-action-button {
  grid-column: 1 / -1;
  min-height: 42px;
  font-size: 14px;
}

.product-actions .card-secondary-action {
  border: 1px solid rgba(17, 21, 24, 0.08);
  color: #283137;
  background: #f4f6f7;
}

.product-actions .card-secondary-action:hover {
  border-color: rgba(17, 21, 24, 0.16);
  background: #e8ecee;
}

.secondary-button {
  color: var(--ink);
  background: var(--surface-soft);
}

.danger-soft-button {
  color: #8b2525;
  background: #fff4f2;
  border: 1px solid rgba(163, 39, 39, 0.18);
}

.danger-soft-button:hover {
  color: #6f1f1f;
  background: #ffe9e4;
  border-color: rgba(163, 39, 39, 0.32);
}

.brand-button {
  background: var(--brand);
}

.brand-button:hover {
  background: var(--brand-strong);
}

.cart-action-button {
  color: #ffffff;
  background: #263036;
}

.cart-action-button:hover {
  background: #121719;
}

.side-action {
  min-height: 38px;
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 800;
}

.side-action-primary {
  color: #ffffff;
  background: var(--graphite);
}

.side-action-soft {
  color: var(--ink);
  background: #edf1f2;
}

.side-action-strong {
  color: #ffffff;
  background: var(--brand);
}

.product-detail {
  display: grid;
  gap: 18px;
  align-items: start;
  border-color: #dfe4e6;
  border-radius: 10px;
}

.compact-back-button {
  justify-self: start;
  width: auto;
  border: 1px solid rgba(17, 21, 24, 0.22);
  color: var(--brand-strong);
  background: #fff7f7;
  font-weight: 800;
}

.compact-back-button:hover {
  border-color: rgba(17, 21, 24, 0.42);
  color: #ffffff;
  background: var(--brand);
}

.detail-media {
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-main-button {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  border-radius: 0;
  padding: 0;
  color: inherit;
  background: transparent;
}

.gallery-main-button:hover {
  box-shadow: none;
  transform: none;
}

.product-gallery {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.gallery-main,
.product-gallery .detail-media {
  min-height: 280px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(21, 25, 28, 0.72);
  transform: translateY(-50%);
}

.gallery-nav:hover {
  background: rgba(17, 21, 24, 0.86);
  transform: translateY(-50%);
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

.gallery-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  border-radius: var(--radius);
  padding: 5px 8px;
  color: #ffffff;
  background: rgba(21, 25, 28, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.gallery-thumbs {
  display: grid;
  grid-auto-columns: 74px;
  grid-auto-flow: column;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.gallery-thumb {
  position: relative;
  min-height: 58px;
  aspect-ratio: 1.25;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, #dfe5e6, #f7f1ef);
}

.gallery-thumb:focus-visible,
.gallery-main-button:focus-visible {
  outline: 3px solid rgba(17, 21, 24, 0.32);
  outline-offset: 2px;
}

.gallery-thumb:hover {
  box-shadow: none;
  transform: none;
}

.gallery-thumb.is-active {
  border-color: var(--brand);
}

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

.gallery-thumb .photo-placeholder {
  padding: 6px;
}

.gallery-thumb.has-image .photo-placeholder,
.gallery-thumb:not(.is-missing) .photo-placeholder {
  display: none;
}

.detail-info {
  display: grid;
  gap: 16px;
  border: 1px solid #edf0f1;
  border-radius: 10px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfcfc);
}

.detail-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.detail-eyebrow,
.detail-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.detail-info h3 {
  margin-bottom: 0;
  font-size: 25px;
  line-height: 1.16;
}

.detail-price-status {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(18, 110, 88, 0.16);
  border-radius: 10px;
  padding: 14px;
  background: #f5fbf8;
}

.detail-price-status strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  line-height: 1;
}

.detail-section {
  display: grid;
  gap: 10px;
}

.detail-section h4 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

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

.detail-info-row,
.detail-helper-grid > div,
.detail-note-list > div {
  border: 1px solid #edf0f1;
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
}

.detail-info-row span,
.detail-helper-grid span,
.detail-note-list span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-info-row strong,
.detail-helper-grid strong,
.detail-note-list strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
}

.detail-description {
  border-top: 0;
  padding-top: 0;
}

.detail-note-list,
.detail-helper-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-description-copy {
  border: 1px solid #edf0f1;
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.detail-description-copy p {
  margin: 0;
  line-height: 1.55;
}

.detail-description-copy p + p {
  margin-top: 8px;
}

.detail-payment-helper {
  border: 1px solid rgba(18, 110, 88, 0.14);
  border-radius: 10px;
  padding: 12px;
  background: #f6fbf9;
}

.detail-quick-order {
  border: 1px dashed rgba(17, 21, 24, 0.2);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: #465157;
  background: #fbfcfc;
  line-height: 1.45;
}

.detail-quick-order strong {
  color: var(--ink);
}

.availability-warning {
  border: 1px solid #f0c36c;
  border-radius: var(--radius);
  padding: 10px;
  color: #654100;
  background: #fff5d6;
  font-weight: 700;
}

.detail-actions {
  display: grid;
  gap: 8px;
}

.detail-actions button {
  min-height: 44px;
  font-weight: 800;
}

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

.detail-primary-action {
  min-height: 48px;
  font-size: 15px;
}

.detail-secondary-action {
  border: 1px solid rgba(18, 110, 88, 0.22);
  color: #126e58;
  background: #f3faf7;
}

.detail-tertiary-action {
  border: 1px solid rgba(17, 21, 24, 0.1);
  color: #465157;
  background: #f7f8f8;
}

.context-banner {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  border: 1px solid #b7d8cf;
  border-radius: var(--radius);
  padding: 10px;
  color: #0f4f40;
  background: #edf8f4;
  font-weight: 700;
}

.context-banner span,
.context-copy span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.tiny-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 12px;
}

.tiny-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compact-button {
  min-height: 34px;
  padding: 7px 9px;
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 320px;
  max-height: 58vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(238, 241, 242, 0.7), rgba(255, 255, 255, 0.92)),
    var(--surface);
}

.message {
  max-width: 82%;
  border-radius: 14px;
  padding: 10px 12px 8px;
  line-height: 1.35;
  box-shadow: 0 1px 0 rgba(20, 24, 28, 0.04);
  animation: messageIn 0.18s ease;
}

.message.client {
  align-self: flex-end;
  color: #ffffff;
  background: var(--brand);
}

.message.ikarion,
.message.manager,
.message.assistant,
.message.system {
  border: 1px solid var(--line);
  align-self: flex-start;
  background: #ffffff;
}

.message.admin {
  border: 1px solid rgba(23, 111, 84, 0.2);
  align-self: flex-start;
  background: #eef8f3;
}

.message.system {
  max-width: 92%;
  color: var(--muted);
  background: #f6f7f7;
}

.message-text {
  display: block;
}

.message small {
  display: block;
  margin-top: 6px;
  color: inherit;
  opacity: 0.72;
}

.message-time {
  display: block;
  margin-top: 5px;
  color: inherit;
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
  opacity: 0.55;
  text-align: right;
}

.chat-product-cards {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.chat-product-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 9px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px;
  color: var(--ink);
  text-align: left;
  background: #f9fbfc;
}

.chat-product-card:hover {
  border-color: rgba(189, 24, 36, 0.28);
  background: #ffffff;
}

.chat-action-row {
  display: flex;
  margin-top: 10px;
}

.loading-message {
  color: var(--muted);
  background: #f7f9fa;
}

.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand);
  opacity: 0.38;
  animation: typingDot 1.08s ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

.chat-form {
  position: sticky;
  bottom: 76px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  background: var(--bg);
}

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

.cart-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.cart-toolbar-button {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(17, 21, 24, 0.12);
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.15;
  box-shadow: none;
}

.cart-toolbar-button:hover:not(:disabled),
.cart-toolbar-button:focus-visible:not(:disabled) {
  box-shadow: 0 8px 18px rgba(21, 25, 28, 0.1);
}

.cart-toolbar-button:focus-visible {
  outline: 3px solid rgba(17, 21, 24, 0.18);
  outline-offset: 2px;
}

.cart-toolbar-button:disabled {
  border-color: rgba(17, 21, 24, 0.08);
}

.cart-continue-button {
  color: #22282d;
  background: #f7f8f8;
}

.cart-continue-button:hover:not(:disabled),
.cart-continue-button:focus-visible:not(:disabled) {
  color: #111518;
  border-color: rgba(17, 21, 24, 0.2);
  background: #eceff1;
}

.cart-clear-button {
  color: #8b2525;
  border-color: rgba(163, 39, 39, 0.18);
  background: #fff6f3;
}

.cart-clear-button:hover:not(:disabled),
.cart-clear-button:focus-visible:not(:disabled) {
  color: #6f1f1f;
  border-color: rgba(163, 39, 39, 0.32);
  background: #ffe9e4;
}

.cart-continue-button[hidden] {
  display: none;
}

.cart-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--surface);
  animation: cardEnter 0.18s ease both;
}

.cart-item-warning {
  border-color: #f0c36c;
  background: #fffaf0;
}

.cart-photo {
  position: relative;
  min-height: 68px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #dfe5e6, #f7f1ef);
}

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

.cart-item-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.cart-item-copy strong {
  overflow-wrap: anywhere;
}

.cart-item-copy small {
  color: var(--warn);
  font-weight: 700;
}

.cart-item-actions {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
}

.cart-empty-state {
  display: grid;
  gap: 8px;
}

.cart-footer {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.checkout-form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.checkout-form h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

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

.checkout-field {
  display: grid;
  gap: 6px;
}

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

.checkout-form label,
.checkout-field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.checkout-form textarea {
  min-height: 82px;
  resize: vertical;
}

.delivery-helper-text {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.checkout-validation {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(161, 92, 0, 0.24);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: #5e3a00;
  background: #fff8ea;
}

.checkout-validation[hidden] {
  display: none;
}

.checkout-validation ul {
  margin: 0;
  padding-left: 18px;
}

.checkout-result {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid rgba(18, 110, 88, 0.18);
  border-radius: var(--radius);
  padding: 14px;
  white-space: pre-wrap;
  border-color: rgba(18, 110, 88, 0.25);
  color: #15362f;
  background: #f1faf6;
}

.checkout-result.is-error {
  border-color: rgba(163, 39, 39, 0.3);
  color: #7b1d22;
  background: #fff0f0;
}

.checkout-prepayment-disclaimer {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(185, 128, 0, 0.26);
  border-radius: var(--radius);
  padding: 15px 16px;
  background: #fff8e8;
  color: #4a3512;
  line-height: 1.5;
}

.checkout-prepayment-disclaimer strong {
  color: #2f2411;
  font-size: 16px;
  font-weight: 900;
}

.checkout-prepayment-disclaimer p {
  margin: 0;
  font-size: 14px;
}

.checkout-payment-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  padding: 12px;
  background: #f8faf9;
}

.checkout-payment-summary div {
  display: grid;
  gap: 4px;
}

.checkout-payment-summary span,
.checkout-status-facts span {
  color: var(--muted);
  font-size: 13px;
}

.checkout-payment-summary strong {
  color: var(--ink);
  font-size: 15px;
}

.checkout-payment-instruction {
  display: grid;
  gap: 12px;
  margin: 10px 0;
  border: 1px solid rgba(18, 110, 88, 0.22);
  border-radius: var(--radius);
  padding: 14px;
  background: #ffffff;
  color: var(--ink);
  white-space: normal;
}

.checkout-payment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.checkout-payment-head .eyebrow {
  margin: 0;
}

.checkout-payment-head strong {
  font-size: 20px;
}

.checkout-payment-lines {
  display: grid;
  gap: 6px;
  color: #24332f;
  font-size: 14px;
  line-height: 1.45;
}

.checkout-payment-card,
.checkout-payment-reference {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(161, 92, 0, 0.28);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff7df;
}

.checkout-payment-card {
  border-color: rgba(18, 110, 88, 0.18);
  background: #f6fbf9;
}

.checkout-payment-card span,
.checkout-payment-reference span {
  color: #6c4300;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-payment-card span {
  color: #126e58;
}

.checkout-payment-card strong,
.checkout-payment-reference strong {
  color: var(--ink);
  font-size: 24px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.checkout-payment-card strong {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 22px;
}

.checkout-payment-reference p {
  margin: 0;
  color: #4f3822;
  font-size: 14px;
  line-height: 1.45;
}

.checkout-payment-card button,
.checkout-payment-reference button {
  justify-self: start;
}

.checkout-payment-warning {
  margin: 0;
  border-radius: 12px;
  padding: 10px 12px;
  color: #5e3a00;
  background: #fff8ea;
}

.checkout-payment-proof-button {
  justify-self: start;
}

.checkout-result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

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

.checkout-status-head div {
  display: grid;
  gap: 3px;
}

.checkout-status-head span,
.checkout-status-facts span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-status-head strong {
  color: var(--ink);
  font-size: 20px;
}

.checkout-status-head em {
  border-radius: 999px;
  padding: 6px 10px;
  color: #15362f;
  background: #e7f4ef;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  text-align: right;
}

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

.checkout-status-facts div {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(17, 21, 24, 0.08);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.checkout-status-facts strong {
  color: var(--ink);
  font-size: 14px;
}

.checkout-status-reference {
  grid-column: 1 / -1;
}

.checkout-status-reference strong {
  overflow-wrap: anywhere;
}

.checkout-status-items {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.checkout-status-items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.payment-state-message {
  display: grid;
  gap: 6px;
  margin: 4px 0 0;
  border-radius: 12px;
  padding: 10px 12px;
  color: #22403a;
  background: #eef8f4;
  white-space: normal;
}

.payment-state-message span,
.payment-state-hint {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.payment-state-message button {
  justify-self: start;
}

.payment-state-payment_rejected,
.payment-state-rejected {
  color: #7b1d22;
  background: #fff0f0;
}

.orders-lookup-panel {
  display: grid;
  gap: 18px;
  width: min(780px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.orders-lookup-head {
  display: grid;
  gap: 6px;
  text-align: center;
}

.orders-lookup-head p {
  margin: 0;
  color: var(--muted);
}

.orders-lookup-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.orders-field {
  display: grid;
  gap: 6px;
}

.orders-field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.orders-lookup-submit {
  min-height: 44px;
}

.orders-lookup-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.orders-back-catalog {
  min-height: 44px;
}

.orders-lookup-result {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #f8fafb;
}

.orders-lookup-result[hidden] {
  display: none;
}

.orders-lookup-result-error {
  border-color: rgba(190, 55, 55, 0.22);
  color: #4b2528;
  background: #fff3f4;
}

.orders-lookup-result-success {
  border-color: rgba(17, 21, 24, 0.08);
  background: #ffffff;
}

.orders-lookup-message {
  display: grid;
  gap: 6px;
}

.orders-lookup-message strong {
  color: #3b1e22;
  font-size: 15px;
}

.orders-lookup-message p {
  margin: 0;
  color: #694146;
  line-height: 1.45;
}

.support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(18, 110, 88, 0.18);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: #126e58;
  background: #f3faf7;
  font-weight: 800;
  cursor: pointer;
}

.support-button:hover {
  border-color: rgba(18, 110, 88, 0.34);
  background: #e9f6f1;
}

.public-order-card {
  display: grid;
  gap: 16px;
}

.public-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.public-order-head h3 {
  margin: 0;
}

.public-order-head strong {
  border-radius: 999px;
  padding: 6px 10px;
  color: #15362f;
  background: #edf7f3;
  font-size: 13px;
  white-space: nowrap;
}

.public-order-card h4 {
  margin: 0 0 8px;
  font-size: 14px;
}

.public-order-items {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.public-order-items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(17, 21, 24, 0.07);
  padding-bottom: 8px;
}

.public-order-items small {
  color: var(--muted);
  text-align: right;
}

.public-order-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.public-order-facts div {
  border: 1px solid rgba(17, 21, 24, 0.08);
  border-radius: 12px;
  padding: 10px;
  background: #fafbfc;
}

.public-order-facts dt,
.public-order-next-step span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.public-order-facts dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.public-order-next-step {
  border-left: 3px solid var(--graphite);
  padding-left: 12px;
}

.public-order-next-step p {
  margin: 4px 0 0;
  color: var(--ink);
}

.public-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dev-details {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  border-top: 1px solid rgba(18, 110, 88, 0.16);
  padding-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.dev-details summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
}

.assistant-panel {
  display: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  width: min(1120px, calc(100% - 28px));
  margin: 34px auto 22px;
  border-top: 1px solid var(--line);
  padding: 16px 0 0;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  min-width: min(100%, 260px);
  flex-direction: column;
}

.footer-title {
  margin-bottom: 3px;
  color: var(--ink);
  font-weight: 900;
}

.footer-subtitle {
  overflow-wrap: anywhere;
}

.footer-about-link {
  margin-left: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 10px 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.footer-about-link:hover,
.footer-about-link:focus-visible {
  border-color: rgba(17, 21, 24, 0.28);
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}

body.view-home .mini-chat-widget {
  display: none;
}

body.view-home.mini-chat-open .mini-chat-widget {
  display: grid;
}

body.view-home .app-shell {
  padding-bottom: 0;
}

.cart-summary-card {
  display: grid;
  gap: 10px;
}

.cart-summary-card p,
.orders-summary-card p {
  margin-bottom: 2px;
  color: var(--muted);
  font-weight: 760;
}

.cart-summary-card .nav-action,
.orders-summary-card .nav-action {
  width: 100%;
  min-height: 38px;
}

.orders-summary-card {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.orders-summary-card .nav-action.is-active {
  color: #ffffff;
  background: var(--brand);
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--muted);
  background: var(--surface);
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-block,
.skeleton-line {
  overflow: hidden;
  background: #e3e8ea;
}

.skeleton-line {
  width: 72%;
  height: 14px;
  border-radius: 999px;
}

.skeleton-line.wide {
  width: 92%;
}

.skeleton-line.short {
  width: 44%;
}

.skeleton-block::after,
.skeleton-line::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  animation: shimmer 1.2s infinite;
}

.toast-region {
  position: fixed;
  right: 14px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  gap: 8px;
  width: min(360px, calc(100vw - 28px));
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: var(--shadow);
  pointer-events: auto;
  animation: toastIn 0.2s ease both;
}

.toast.is-hiding {
  animation: toastOut 0.18s ease both;
}

.toast-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.toast-success .toast-dot {
  background: var(--accent);
}

.toast-warning .toast-dot {
  background: var(--warn);
}

.toast-error .toast-dot {
  background: var(--danger);
}

.toast-info .toast-dot {
  background: var(--graphite);
}

.toast-message {
  line-height: 1.3;
}

.toast-close {
  min-height: 34px;
  padding: 0;
  color: var(--ink);
  background: var(--surface-soft);
}

.mini-chat-widget {
  position: fixed;
  right: 14px;
  bottom: 18px;
  z-index: 55;
  display: grid;
  justify-items: end;
  gap: 8px;
  pointer-events: none;
}

.mini-chat-launcher,
.mini-call-launcher,
.mini-chat-panel {
  pointer-events: auto;
}

.mini-call-launcher,
.mini-chat-launcher {
  --floating-button-animation: miniChatPulse 3.8s ease-in-out infinite;
  position: relative;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 8px 12px;
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 10px 26px rgba(17, 21, 24, 0.18);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  animation: var(--floating-button-animation);
}

.mini-call-launcher {
  background: #2f373d;
  animation-delay: 0.35s;
}

.mini-chat-launcher {
  background: var(--brand);
}

.mini-call-launcher:hover,
.mini-chat-launcher:hover {
  background: var(--brand-strong);
  box-shadow: 0 18px 42px rgba(17, 21, 24, 0.28);
  transform: translateY(-2px);
}

.mini-call-launcher:active,
.mini-chat-launcher:active {
  transform: translateY(0) scale(0.97);
}

.mini-chat-launcher.is-muted {
  animation: none;
  opacity: 0.78;
}

body.mini-chat-open .mini-chat-launcher {
  display: none;
}

.mini-chat-icon {
  font-size: 16px;
  line-height: 1;
}

.mini-chat-online {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 10px;
  height: 10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #28b878;
}

.mini-chat-launcher.has-unread::after {
  content: attr(data-unread);
  position: absolute;
  top: -5px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  background: #d04545;
  box-shadow: 0 8px 18px rgba(17, 21, 24, 0.22);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.mini-chat-panel {
  position: fixed;
  right: 12px;
  bottom: 86px;
  display: flex;
  flex-direction: column;
  width: calc(100vw - 24px);
  max-width: 392px;
  height: min(548px, calc(100vh - 118px));
  min-height: 360px;
  max-height: calc(100vh - 118px);
  overflow: hidden;
  border: 1px solid rgba(32, 37, 40, 0.14);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 72px rgba(20, 24, 28, 0.22);
  animation: miniChatPanelIn 0.22s ease both;
}

.mini-chat-panel[hidden] {
  display: none;
}

.mini-chat-head {
  flex: 0 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 15px;
  color: #ffffff;
  background: linear-gradient(135deg, #171c1f, #2a3135);
}

.mini-chat-head h2 {
  margin-bottom: 2px;
  font-size: 17px;
}

.mini-chat-head p {
  margin-bottom: 0;
  color: #c9d2d5;
  font-size: 13px;
}

.mini-chat-close {
  min-width: 34px;
  min-height: 34px;
  border-radius: 50%;
  padding: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 22px;
  line-height: 1;
}

.mini-chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.mini-chat-context {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 10px;
  background: #f4f6f7;
}

.mini-chat-context[hidden] {
  display: none;
}

.mini-chat-log {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  padding: 15px 14px 14px;
  background:
    linear-gradient(180deg, #f8fafb, #f3f6f7);
}

.mini-chat-log .message {
  max-width: 88%;
  font-size: 14px;
}

.mini-chat-form {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(17, 21, 24, 0.08);
  padding: 9px 10px 10px;
  background: #ffffff;
  min-height: 60px;
}

.mini-chat-form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  border-color: rgba(17, 21, 24, 0.12);
  border-radius: 14px;
  padding: 9px 12px;
  line-height: 1.2;
  resize: none;
  overflow-y: auto;
}

.mini-chat-form button {
  flex: 0 0 auto;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  min-width: 92px;
  border-radius: 14px;
  padding: 8px 10px;
  background: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  animation: modalFade 0.18s ease both;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: rgba(9, 12, 14, 0.82);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(1100px, 100%);
  height: min(760px, 88vh);
  border-radius: var(--radius);
  background: rgba(15, 18, 20, 0.92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  animation: modalScale 0.2s ease both;
}

.lightbox-image {
  max-width: calc(100% - 96px);
  max-height: calc(100% - 96px);
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.lightbox-close {
  top: 14px;
  right: 14px;
  width: 44px;
  padding: 0;
}

.lightbox-nav {
  top: 50%;
  width: 50px;
  min-height: 58px;
  padding: 0;
  transform: translateY(-50%);
}

.lightbox-nav:hover {
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

.lightbox-counter {
  position: absolute;
  bottom: 14px;
  left: 50%;
  border-radius: var(--radius);
  padding: 6px 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
  transform: translateX(-50%);
}

.lightbox.has-single-photo .lightbox-nav {
  display: none;
}

@keyframes cardEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sectionFade {
  from {
    opacity: 0.72;
  }
  to {
    opacity: 1;
  }
}

@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes typingDot {
  0%,
  80%,
  100% {
    opacity: 0.32;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes badgePop {
  from {
    transform: scale(0.96);
  }
  to {
    transform: scale(1);
  }
}

@keyframes shimmer {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes miniChatPulse {
  0%,
  100% {
    box-shadow: var(--shadow);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 18px 44px rgba(17, 21, 24, 0.18);
    transform: translateY(-1px);
  }
}

@keyframes miniCallFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes miniChatPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes filterDrawerIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes modalScale {
  from {
    transform: scale(0.98);
  }
  to {
    transform: scale(1);
  }
}

@media (max-width: 640px) {
  .site-footer {
    margin-top: 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-about-link {
    margin-left: 0;
  }

  .cart-head-actions {
    justify-content: stretch;
  }

  .cart-head-actions .secondary-button {
    width: 100%;
  }

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

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

  .checkout-result-actions button,
  .checkout-payment-proof-button {
    width: 100%;
  }

  .orders-lookup-form,
  .public-order-facts,
  .checkout-status-facts,
  .detail-meta-grid,
  .detail-note-list,
  .detail-helper-grid {
    grid-template-columns: 1fr;
  }

  .orders-lookup-actions {
    justify-content: stretch;
  }

  .orders-lookup-actions button {
    width: 100%;
  }

  .public-order-head,
  .public-order-items li,
  .checkout-status-head,
  .detail-heading,
  .detail-price-status {
    flex-direction: column;
  }

  .public-order-head strong,
  .public-order-items small,
  .checkout-status-head em {
    text-align: left;
  }

  .public-order-actions button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .public-hero,
  .benefits-strip,
  .process-section,
  .home-final-cta {
    width: min(100%, calc(100vw - 28px));
    margin: 14px auto;
  }

  .public-hero {
    padding: 24px 16px;
  }

  .hero-logo-card {
    width: 100%;
    margin-bottom: 14px;
  }

  .hero-logo-image {
    width: min(100%, 360px);
    max-height: 240px;
  }

  .mini-chat-widget {
    right: 12px;
    bottom: 16px;
    gap: 8px;
  }

  .mini-call-launcher,
  .mini-chat-launcher {
    min-height: 42px;
    padding: 8px 11px;
    font-size: 13px;
  }

  .mini-chat-form {
    min-height: 56px;
    padding: 8px 9px;
  }

  .mini-chat-form input,
  .mini-chat-form button {
    min-height: 40px;
    max-height: 44px;
    border-radius: 14px;
  }
}

@media (max-width: 759px) {
  .workspace {
    padding: 14px;
  }

  .filters-panel {
    position: fixed;
    inset: auto 0 0;
    z-index: 72;
    display: none;
    max-height: min(82vh, 680px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 20px 20px 0 0;
    padding: 14px;
    background: #ffffff;
    box-shadow: 0 -22px 60px rgba(17, 21, 24, 0.2);
  }

  body.filter-drawer-open .filters-panel {
    display: block;
    animation: filterDrawerIn 0.2s ease both;
  }

  .filter-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: block;
    background: rgba(17, 21, 24, 0.38);
    animation: modalFade 0.18s ease both;
  }

  .filter-drawer-backdrop[hidden] {
    display: none;
  }

  .filter-drawer-close,
  .filter-apply-button,
  .mobile-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-filter-toggle {
    width: 100%;
    min-height: 40px;
    border-color: rgba(17, 21, 24, 0.14);
    background: #ffffff;
    color: var(--ink);
    box-shadow: none;
  }

  .filters-panel .home-panel {
    display: none;
  }

  .filter-group {
    margin-top: 0;
    border: 0;
    box-shadow: none;
    padding: 4px 0 0;
  }

  .filter-actions {
    position: sticky;
    bottom: -14px;
    grid-template-columns: 1fr 1fr;
    margin-top: 2px;
    border-top: 1px solid rgba(17, 21, 24, 0.08);
    padding: 12px 0 14px;
    background: #ffffff;
  }

  .catalog-toolbar {
    gap: 12px;
  }

  .catalog-toolbar .search-box {
    width: 100%;
  }
}

@media (min-width: 760px) {
  .api-panel {
    grid-template-columns: auto minmax(280px, 1fr) auto auto;
    align-items: end;
  }

  .header-nav-link {
    display: inline-flex;
    align-items: center;
  }

  .public-hero {
    grid-template-columns: 1fr;
    align-items: center;
    padding: clamp(34px, 5vw, 58px);
  }

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

  .benefit-card {
    border-bottom: 1px solid rgba(17, 21, 24, 0.08);
    padding: 18px;
  }

  .benefit-card:nth-child(odd) {
    border-right: 1px solid rgba(17, 21, 24, 0.08);
  }

  .benefit-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

  .process-grid article {
    grid-template-columns: 1fr;
    align-content: start;
    justify-items: center;
    min-height: 132px;
    text-align: center;
  }

  .home-final-cta {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .about-hero {
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  }

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

  .about-card {
    padding: 18px;
  }

  .about-card:nth-child(odd) {
    border-right: 1px solid rgba(17, 21, 24, 0.07);
  }

  .about-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .about-contact-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .about-actions {
    justify-content: flex-end;
  }

  .workspace {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
  }

  .section-head {
    grid-template-columns: 1fr minmax(260px, 360px);
    align-items: end;
  }

  .catalog-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  }

  .cart-head-actions {
    justify-content: flex-end;
  }

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

  .product-detail {
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  }

  .product-detail > .detail-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .cart-item-actions {
    grid-column: auto;
    min-width: 150px;
  }
}

@media (min-width: 1120px) {
  .app-shell {
    padding-bottom: 0;
  }

  button {
    min-height: 40px;
  }

  .public-hero,
  .benefits-strip,
  .process-section,
  .home-final-cta {
    max-width: 1120px;
    margin-inline: auto;
  }

  .public-hero {
    min-height: 520px;
    padding: 58px;
  }

  .workspace {
    grid-template-columns: 268px minmax(0, 1fr) 248px;
    gap: 20px;
    padding-inline: 22px;
  }

  .assistant-panel {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 12px;
    align-content: start;
  }

  .assistant-card {
    padding: 16px;
  }

  .assistant-card button {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 13px;
    font-weight: 800;
  }

  .site-footer {
    margin-bottom: 22px;
  }

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

  .product-media {
    min-height: 176px;
  }

  .product-body {
    padding: 15px;
  }

  .product-actions button {
    min-height: 36px;
  }

  .product-detail {
    grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
    padding: 18px;
  }

  .product-gallery .detail-media {
    min-height: 420px;
  }

  .product-detail > .detail-actions {
    grid-column: 2;
    grid-template-columns: 1fr;
  }

  .chat-form {
    bottom: 0;
  }

  .mini-chat-widget {
    right: 22px;
    bottom: 18px;
  }

  .mini-chat-panel {
    right: 22px;
    bottom: 86px;
    width: 392px;
    max-height: 620px;
  }
}

@media (min-width: 1440px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1680px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

  .product-card:hover,
  button:hover,
  .product-card:hover .product-media img,
  .benefit-card:hover {
    transform: none;
  }

  .mini-call-launcher,
  .mini-chat-launcher {
    animation: none !important;
  }
}

