:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #60706b;
  --line: #d9e2de;
  --paper: #f7f5ef;
  --panel: #ffffff;
  --panel-soft: #edf5f1;
  --graphite: #182422;
  --teal: #117f78;
  --teal-dark: #0c625d;
  --coral: #dc6d57;
  --amber: #c98f2d;
  --blue: #476f9f;
  --shadow: 0 24px 70px rgba(25, 38, 35, 0.16);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body.drawer-open,
body.dialog-open {
  overflow: hidden;
}

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

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 226, 222, 0.8);
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--ink);
  font-weight: 750;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 127, 120, 0.95), rgba(24, 36, 34, 0.98));
  box-shadow: 0 10px 24px rgba(17, 127, 120, 0.22);
}

.brand-logo {
  width: 32px;
  height: 32px;
}

.logo-track {
  fill: none;
  stroke: #fff8ef;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
}

.logo-node {
  stroke: #fff8ef;
  stroke-width: 2;
}

.node-a,
.node-c {
  fill: var(--coral);
}

.node-b,
.node-d {
  fill: #f2c66f;
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1.05;
}

.brand-title {
  font-weight: 800;
}

.brand-subtitle {
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-action,
.primary-link,
.secondary-link,
.primary-button,
.ghost-button,
.card-button,
.chip,
.close-button,
.plan {
  border: 0;
  cursor: pointer;
}

.header-action,
.primary-link,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(17, 127, 120, 0.22);
}

.header-action:hover,
.primary-link:hover,
.primary-button:hover {
  background: var(--teal-dark);
}

.header-controls,
.account-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.account-actions {
  gap: 8px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(17, 127, 120, 0.22);
  border-radius: 8px;
  background: rgba(237, 245, 241, 0.84);
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.contact-link:hover {
  border-color: rgba(17, 127, 120, 0.42);
  background: var(--panel-soft);
}

.account-name {
  max-width: 150px;
  overflow: hidden;
  color: #40524d;
  font-size: 0.9rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.9rem;
}

.secondary-link,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
}

.ghost-button {
  border-color: var(--line);
  background: var(--panel);
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100svh - 72px));
  overflow: hidden;
  background: #14201e;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(14, 23, 21, 0.94) 0%, rgba(14, 23, 21, 0.78) 38%, rgba(14, 23, 21, 0.2) 74%),
    linear-gradient(0deg, rgba(14, 23, 21, 0.52), rgba(14, 23, 21, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 88px);
  padding: 56px 0 86px;
  color: #fffdf8;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 253, 248, 0.83);
  font-size: clamp(1.12rem, 2.1vw, 1.46rem);
  line-height: 1.62;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 52px 0 0;
}

.hero-metrics div {
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-metrics dt {
  font-size: 1.64rem;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: rgba(255, 253, 248, 0.72);
}

.commerce-shell {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.5fr);
  align-items: end;
  gap: 28px;
  max-width: 1220px;
  margin: 0 auto 30px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.store-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  max-width: 1220px;
  margin: 0 auto;
  align-items: start;
}

.filters,
.catalog-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(25, 38, 35, 0.08);
}

.filters {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 22px;
  padding: 20px;
}

.search-box,
.lead-form label {
  display: grid;
  gap: 8px;
}

.search-box span,
.lead-form label span,
.filter-label,
.sort-control label {
  color: #4a5f59;
  font-size: 0.84rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefa;
  color: var(--ink);
  outline: none;
}

input,
select {
  min-height: 42px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(17, 127, 120, 0.14);
}

.filter-group {
  display: grid;
  gap: 10px;
}

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

.chip {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffefa;
  color: #40524d;
  font-size: 0.9rem;
  font-weight: 700;
}

.chip.is-active {
  border-color: rgba(17, 127, 120, 0.55);
  background: #dff1ec;
  color: var(--teal-dark);
}

.filter-note {
  display: grid;
  gap: 7px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--panel-soft);
  color: var(--muted);
  line-height: 1.55;
}

.filter-note strong {
  color: var(--ink);
}

.catalog-panel {
  min-width: 0;
  padding: 20px;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.catalog-toolbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-control select {
  width: 180px;
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  min-height: 430px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.product-card:hover {
  border-color: rgba(17, 127, 120, 0.45);
  transform: translateY(-2px);
  transition: transform 160ms ease, border-color 160ms ease;
}

.card-head {
  display: grid;
  gap: 12px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef5f2;
  color: #3c5a54;
  font-size: 0.78rem;
  font-weight: 780;
}

.tag.coral {
  background: #fae7e1;
  color: #a94b39;
}

.tag.blue {
  background: #e6edf6;
  color: #3e5f89;
}

.product-card h3 {
  margin: 0;
  font-size: 1.36rem;
  line-height: 1.25;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.product-body {
  display: grid;
  gap: 14px;
}

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

.deliverables li {
  position: relative;
  padding-left: 18px;
  color: #334641;
  line-height: 1.55;
}

.deliverables li::before {
  position: absolute;
  left: 0;
  top: 0.63em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.card-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.price-block {
  display: grid;
  gap: 4px;
}

.price-block span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.price-block strong {
  color: var(--ink);
  font-size: 1.44rem;
}

.card-button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--graphite);
  color: #fff;
  font-weight: 750;
}

.card-button:hover {
  background: #2a3b38;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 260px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.empty-state.compact {
  min-height: 132px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(13, 23, 21, 0.45);
}

.product-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 31;
  width: min(680px, 100%);
  height: 100svh;
  padding: 28px;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  background: #fffefa;
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.product-drawer.is-open {
  transform: translateX(0);
}

.close-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: #eff4f1;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
}

.product-drawer > .close-button {
  position: sticky;
  top: 0;
  margin-left: auto;
}

.drawer-title {
  margin: 10px 0 8px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.drawer-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.drawer-section {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.drawer-section h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
}

.demo-section {
  margin-top: 22px;
}

.demo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(17, 127, 120, 0.28);
  border-radius: var(--radius);
  background: #eef8f5;
}

.demo-card div {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.demo-card strong {
  color: var(--ink);
}

.demo-card a:not(.demo-button) {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--teal-dark);
  font-weight: 750;
}

.demo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.demo-button:hover {
  background: var(--teal-dark);
}

.drawer-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.drawer-list li {
  padding: 12px;
  border-radius: var(--radius);
  background: #f1f6f3;
  color: #334641;
  line-height: 1.55;
}

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

.plan {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  text-align: left;
}

.plan:hover {
  border-color: rgba(17, 127, 120, 0.55);
  box-shadow: 0 12px 26px rgba(25, 38, 35, 0.1);
}

.plan strong {
  font-size: 1.03rem;
}

.plan span {
  color: var(--teal-dark);
  font-weight: 800;
}

.plan p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.drawer-actions .secondary-link {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.lead-dialog {
  width: min(720px, calc(100% - 28px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: #fffefa;
  box-shadow: var(--shadow);
}

.lead-dialog::backdrop {
  background: rgba(13, 23, 21, 0.5);
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: 26px;
}

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

.dialog-head h2 {
  margin: 0;
  font-size: 2rem;
}

.order-summary-box {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
}

.order-summary-box span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.order-summary-box strong {
  font-size: 1.05rem;
}

.order-summary-box p {
  margin: 4px 0 0;
  color: var(--teal-dark);
  font-weight: 760;
  line-height: 1.55;
}

.order-summary-box .auth-required-note {
  color: #946622;
}

.account-dialog {
  width: min(460px, calc(100% - 28px));
}

.history-dialog {
  width: min(820px, calc(100% - 28px));
}

.history-list {
  display: grid;
  gap: 10px;
  max-height: min(560px, 68svh);
  overflow-y: auto;
}

.history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.history-item h3 {
  margin: 4px 0 6px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.history-item p,
.history-meta span:not(.status-pill) {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.history-order {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.history-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fffefa;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 24px clamp(18px, 4vw, 56px);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 127, 120, 0.95), rgba(24, 36, 34, 0.98));
}

.footer-mark .brand-logo {
  width: 29px;
  height: 29px;
}

.footer-brand span:last-child {
  display: grid;
  gap: 2px;
}

.footer-brand strong {
  font-size: 0.95rem;
}

.footer-brand small,
.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.footer-contact {
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 850;
}

.footer-contact:hover {
  color: var(--teal);
}

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

.admin-shell,
.order-page,
.checkout-page {
  min-height: calc(100svh - 72px);
  padding: clamp(28px, 5vw, 56px);
}

.admin-shell {
  display: grid;
  gap: 24px;
}

.admin-top,
.order-card,
.checkout-card,
.admin-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(25, 38, 35, 0.08);
}

.admin-top,
.order-card,
.checkout-card {
  padding: clamp(20px, 4vw, 34px);
}

.admin-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.admin-top h1,
.order-card h1,
.checkout-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.admin-login {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.admin-login label {
  display: grid;
  gap: 6px;
}

.metric-grid {
  display: grid;
  width: min(1180px, 100%);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto;
}

.metric {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffefa;
}

.metric span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.metric strong {
  font-size: 1.5rem;
}

.admin-panel {
  overflow: hidden;
}

.admin-panel h2 {
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 1.2rem;
}

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

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #40524d;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

td {
  color: #334641;
  line-height: 1.45;
}

.status-pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef5f2;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.status-pill.pending,
.status-pill.unpaid {
  background: #f8ecd9;
  color: #946622;
}

.status-pill.paid,
.status-pill.completed {
  background: #dff1ec;
  color: var(--teal-dark);
}

.status-pill.cancelled,
.status-pill.failed {
  background: #fae7e1;
  color: #a94b39;
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.order-row {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffefa;
}

.order-row span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.order-row strong {
  line-height: 1.45;
}

.delivery-panel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(17, 127, 120, 0.18);
  border-radius: var(--radius);
  background: #edf5f1;
}

.delivery-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.delivery-panel strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.05rem;
}

.delivery-panel p {
  margin: 6px 0 0;
  color: #40524d;
}

.delivery-panel .primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

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

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero {
    min-height: 680px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(14, 23, 21, 0.95) 0%, rgba(14, 23, 21, 0.7) 58%, rgba(14, 23, 21, 0.25) 100%),
      linear-gradient(0deg, rgba(14, 23, 21, 0.5), rgba(14, 23, 21, 0.1));
  }

  .section-heading,
  .store-layout {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

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

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: 1fr;
    min-height: 64px;
    padding: 10px 14px;
  }

  .brand span:last-child {
    max-width: none;
    line-height: 1.1;
  }

  .header-controls {
    width: 100%;
    justify-content: space-between;
  }

  .contact-link {
    flex: 0 0 auto;
  }

  .account-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin-left: 14px;
    padding-bottom: 72px;
  }

  .hero-metrics,
  .product-grid,
  .plans,
  .demo-card,
  .delivery-panel,
  .form-grid,
  .metric-grid,
  .order-grid,
  .admin-top {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .sort-control {
    justify-content: space-between;
  }

  .sort-control select {
    width: min(220px, 62%);
  }

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

  .card-button {
    width: 100%;
  }

  .history-item {
    grid-template-columns: 1fr;
  }

  .history-meta {
    justify-content: flex-start;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    justify-items: start;
  }

  .product-drawer {
    padding: 18px;
  }

  .lead-form {
    padding: 18px;
  }
}
