:root {
  --ink: #17202c;
  --muted: #657082;
  --paper: #ffffff;
  --soft: #f4f6f9;
  --line: #d9e1eb;
  --red: #c92032;
  --red-dark: #991b29;
  --nav: #1f2937;
  --blue: #19599a;
  --green: #1f7a4d;
  --amber: #b57912;
  --shadow: 0 14px 34px rgba(23, 32, 44, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  animation: none !important;
  transition: none !important;
}

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

body {
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f9fc;
  overflow-x: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.material-symbols-outlined,
.material-symbols-rounded {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Material Symbols Outlined", "Material Symbols Rounded", sans-serif;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  line-height: 1;
  vertical-align: middle;
}

.button-icon {
  margin-right: 0.42rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(23, 32, 44, 0.08);
}

.commerce-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 36px;
  padding: 0 24px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 850;
  background: var(--red);
}

.commerce-topbar a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.header-main {
  display: grid;
  grid-template-columns: minmax(220px, 200px) minmax(280px, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 70px;
  padding: 0 32px;
}

.header-main .mobile-menu-panel {
  display: contents;
}

.header-main .main-nav {
  grid-column: 1 / -1;
  margin-right: -32px;
  margin-left: -32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: 220px;
  height: 100px;
  object-fit: contain;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.site-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 4px;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}

.mobile-menu-panel {
  display: contents;
}

.burger-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  color: #fff;
  font-weight: 900;
  background: var(--nav);
  border: 0;
  border-radius: 8px;
}

.site-search input {
  min-height: 42px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.search-submit {
  min-height: 42px;
  padding: 0 16px;
  color: #fff;
  font-weight: 900;
  background: var(--red);
  border: 0;
  border-radius: 8px;
}

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

.session-chip,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--green);
  border-radius: 8px;
}

.main-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 52px;
  padding: 0 32px;
  overflow: visible;
  color: #fff;
  background: var(--nav);
}

.main-nav a,
.nav-mega summary {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 850;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-mega {
  position: static;
}

.nav-mega summary {
  list-style: none;
  cursor: pointer;
}

.nav-mega summary::-webkit-details-marker {
  display: none;
}

.nav-caret {
  margin-left: 4px;
  font-size: 1.1rem;
}

.main-nav a:hover,
.main-nav .is-active,
.nav-mega.is-active summary,
.nav-mega[open] summary,
.nav-mega summary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mega-panel {
  position: absolute;
  top: calc(100% + 1px);
  right: 32px;
  left: 32px;
  z-index: 40;
  display: grid;
  gap: 16px;
  padding: 22px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 22px 44px rgba(23, 32, 44, 0.16);
}

.mega-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.mega-panel-head strong {
  font-size: 1rem;
  text-transform: uppercase;
}

.mega-panel-head a {
  min-height: 0;
  padding: 0;
  color: var(--red);
  background: transparent;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.mega-column {
  display: grid;
  align-content: start;
  gap: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.mega-column a {
  min-height: 0;
  padding: 0;
  color: #394252;
  font-size: 0.92rem;
  font-weight: 600;
  background: transparent;
  border-radius: 0;
  white-space: normal;
}

.mega-column .mega-title {
  margin-bottom: 4px;
  color: #000;
  font-size: 0.9rem;
  font-weight: 950;
  text-transform: uppercase;
}

.mega-column a:hover,
.mega-panel-head a:hover {
  color: var(--red);
  background: transparent;
}

.solution-mega-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.solution-mega-grid a {
  display: grid;
  min-height: 128px;
  gap: 8px;
  align-content: start;
  padding: 16px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  white-space: normal;
}

.solution-mega-grid .material-symbols-outlined {
  color: var(--red);
  font-size: 1.55rem;
}

.solution-mega-grid small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.solution-mega-grid a:hover {
  color: var(--ink);
  background: #fff7f8;
  border-color: rgba(201, 32, 50, 0.5);
}

.cart-badge {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  margin-left: 4px;
  padding: 0 6px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 950;
  background: var(--red);
  border-radius: 999px;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.1;
}

.primary-button {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.primary-button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

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

.ghost-button:hover {
  color: var(--red);
  border-color: var(--red);
}

.ghost-button.is-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

main {
  min-height: 58svh;
}

.hero {
  display: grid;
  align-items: end;
  min-height: min(680px, calc(100svh - 120px));
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 24, 36, 0.92), rgba(16, 24, 36, 0.68) 52%, rgba(16, 24, 36, 0.4)),
    url("warehouse.jpg") center / cover no-repeat;
}

.home-slider {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.home-slide-track {
  display: flex;
  transform: translateX(0);
}

.home-slide-track.is-auto {
  transition: transform 700ms ease !important;
}

.home-slide {
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 370px);
  align-items: end;
  gap: 42px;
  min-height: min(680px, calc(100svh - 120px));
  padding: 76px max(24px, calc((100% - 1160px) / 2)) 68px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-slide-content {
  max-width: 760px;
}

.home-slide p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.7;
}

.home-slide .eyebrow {
  color: #ffd6da;
}

.home-slider-dots {
  position: absolute;
  right: max(24px, calc((100% - 1160px) / 2));
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.home-slider-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  background: rgba(255, 255, 255, 0.52);
  border: 0;
  border-radius: 999px;
}

.home-slider-dots button.is-active {
  width: 28px;
  background: #fff;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 370px);
  align-items: end;
  gap: 42px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 68px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd6da;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.12;
}

h3 {
  margin-bottom: 8px;
}

.hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.7;
}

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

.hero-deal-card {
  padding: 24px;
  color: #fff;
  background: rgba(17, 24, 39, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.hero-deal-card span,
.hero-deal-card strong,
.hero-deal-card small {
  display: block;
}

.hero-deal-card span {
  margin-bottom: 12px;
  color: #ffd6da;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-deal-card strong {
  font-size: 1.36rem;
  line-height: 1.22;
}

.hero-deal-card small {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.category-rail,
.solution-rail,
.brand-cloud,
.section,
.narrow-section {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.narrow-section {
  width: min(900px, calc(100% - 48px));
}

.category-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 24px 0 16px;
}

.solution-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 24px 0 16px;
}

.category-tile {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 190px;
  padding: 12px 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 32, 44, 0.06);
}

.solution-tile {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 190px;
  padding: 12px 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 32, 44, 0.06);
}

.category-image {
  width: 100%;
  height: 96px;
  object-fit: cover;
  background: var(--soft);
  border-radius: 8px;
}

.solution-image {
  width: 100%;
  height: 96px;
  object-fit: cover;
  background: var(--soft);
  border-radius: 8px;
}

.category-tile strong {
  font-size: 1.08rem;
}

.solution-tile strong {
  font-size: 1.08rem;
}

.category-tile small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.4;
}

.solution-tile small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.4;
}

.category-tile:hover,
.category-tile.is-active,
.solution-tile:hover {
  border-color: rgba(201, 32, 50, 0.5);
  background: #fff7f8;
}

.brand-cloud {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0 30px;
  overflow-x: auto;
  scroll-behavior: auto;
}

.brand-cloud .brand-card {
  animation: brand-bob 2.8s ease-in-out infinite !important;
}

.brand-cloud .brand-card:nth-of-type(2n) {
  animation-delay: 0.25s !important;
}

.brand-cloud .brand-card:nth-of-type(3n) {
  animation-delay: 0.5s !important;
}

.brand-cloud > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.brand-card {
  flex: 0 0 auto;
  display: grid;
  width: 124px;
  min-height: 68px;
  place-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(23, 32, 44, 0.06);
}

.brand-card:hover {
  border-color: rgba(201, 32, 50, 0.45);
}

@keyframes brand-bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.brand-card .brand-logo {
  width: 100%;
  max-height: 42px;
  padding: 0;
  object-fit: contain;
  background: transparent;
  border: 0;
}

.section {
  padding: 70px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.section-lead {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.solutions-showcase {
  padding-top: 40px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.solution-grid article {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  color: #fff;
  background: #101827;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.solution-grid img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  opacity: 0.72;
}

.solution-grid article::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(7, 10, 16, 0.04), rgba(7, 10, 16, 0.82));
}

.solution-grid div {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
}

.solution-grid span {
  color: #ffd6da;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.solution-grid h3 {
  margin: 9px 0 16px;
  font-size: 1.28rem;
  line-height: 1.22;
}

.solution-grid a {
  color: #fff;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-band div {
  min-height: 88px;
  padding: 18px 24px;
  border-right: 1px solid var(--line);
}

.stats-band strong,
.stats-band span {
  display: block;
}

.stats-band strong {
  font-size: 1.45rem;
}

.stats-band span {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 750;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 190px 230px minmax(180px, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 24px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.catalogue-page {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.catalogue-heading {
  margin-bottom: 24px;
}

.catalogue-heading h1 {
  margin-bottom: 10px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.catalogue-heading p:last-child {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.catalogue-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.catalogue-sidebar {
  position: sticky;
  top: 178px;
}

.catalogue-filter-form {
  display: grid;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.filter-search label {
  font-size: 0.82rem;
}

.filter-group {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.filter-collapsible summary {
  cursor: pointer;
  list-style: none;
}

.filter-collapsible summary::-webkit-details-marker {
  display: none;
}

.filter-collapsible .filter-title::after {
  content: "+";
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #fff;
  font-weight: 950;
  background: var(--nav);
  border-radius: 999px;
}

.filter-collapsible[open] .filter-title::after {
  content: "-";
  background: var(--red);
}

.filter-options {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
  padding-top: 8px;
}

.filter-title,
.catalogue-toolbar,
.catalogue-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.filter-title span {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 950;
}

.filter-title small,
.filter-check small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.filter-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.filter-check input {
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0;
  accent-color: var(--red);
}

.catalogue-results {
  min-width: 0;
}

.catalogue-toolbar {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 32, 44, 0.06);
}

.catalogue-toolbar strong,
.catalogue-toolbar span {
  display: block;
}

.catalogue-toolbar span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.catalogue-sort {
  display: flex;
  align-items: end;
  gap: 12px;
}

.catalogue-sort label {
  min-width: 150px;
  font-size: 0.78rem;
}

.catalogue-sort select {
  min-height: 38px;
}

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

.catalogue-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 170px;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(23, 32, 44, 0.055);
}

.catalogue-thumb {
  display: block;
  overflow: hidden;
  width: 96px;
  height: 96px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.catalogue-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalogue-item-body {
  min-width: 0;
}

.catalogue-item-top {
  justify-content: flex-start;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.catalogue-item-top span {
  color: var(--red);
}

.catalogue-item h2 {
  margin: 5px 0 7px;
  font-size: 1.02rem;
  line-height: 1.28;
}

.catalogue-item p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.catalogue-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.catalogue-specs span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  color: #526073;
  font-size: 0.74rem;
  font-weight: 850;
  background: var(--soft);
  border-radius: 8px;
}

.catalogue-item-actions {
  display: grid;
  justify-items: stretch;
  gap: 8px;
}

.catalogue-item-actions .price,
.catalogue-item-actions .locked-price {
  justify-self: end;
}

.pagination {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.pagination a {
  display: grid;
  min-width: 36px;
  height: 36px;
  place-items: center;
  padding: 0 10px;
  color: var(--ink);
  font-weight: 900;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pagination a.is-active,
.pagination a:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

label {
  display: grid;
  gap: 8px;
  color: #303a49;
  font-size: 0.9rem;
  font-weight: 900;
}

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

textarea {
  min-height: 120px;
  padding-top: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(201, 32, 50, 0.14);
}

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

.product-card,
.auth-card,
.table-card,
.product-info-panel,
.product-media,
.admin-stats article,
.quote-card,
.feature-list article,
.admin-form,
.about-grid article,
.callout-section,
.cart-card,
.cart-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(23, 32, 44, 0.07);
}

.product-image {
  position: relative;
  background: #eef2f7;
}

.product-image span {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 950;
  background: var(--red);
  border-radius: 8px;
}

.product-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-body {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 18px;
}

.product-topline,
.product-meta,
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-topline,
.product-meta {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.product-card h3 {
  margin: 14px 0 10px;
  font-size: 1.04rem;
  line-height: 1.28;
}

.product-card p,
.split-section p,
.auth-card p,
.quote-card p,
.about-grid p,
.callout-section p {
  color: var(--muted);
  line-height: 1.65;
}

.product-meta {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 12px;
}

.product-meta span {
  padding: 6px 8px;
  background: var(--soft);
  border-radius: 8px;
}

.product-footer {
  margin-top: auto;
  padding-top: 18px;
  align-items: flex-end;
}

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

.inline-cart-form {
  margin: 0;
}

.inline-cart-form .primary-button,
.product-actions .ghost-button {
  min-height: 38px;
  padding: 0 12px;
}

.price {
  color: var(--red);
  font-size: 1.08rem;
}

.locked-price {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: center;
  width: 100%;
  padding-right: max(24px, calc((100% - 1160px) / 2));
  padding-left: max(24px, calc((100% - 1160px) / 2));
}

.reseller-section {
  color: #fff;
  background:
    linear-gradient(105deg, rgba(22, 32, 46, 0.95), rgba(153, 27, 41, 0.9)),
    url("warehouse.jpg") center / cover no-repeat;
}

.reseller-section .eyebrow,
.reseller-section p {
  color: rgba(255, 255, 255, 0.82);
}

.reseller-section h2 {
  color: #fff;
}

.reseller-section .feature-list article {
  color: var(--ink);
}

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

.feature-list article {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.feature-list strong {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
}

.auth-shell {
  display: grid;
  min-height: calc(100svh - 166px);
  place-items: center;
  padding: 48px 24px;
  background: var(--soft);
}

.auth-card {
  display: grid;
  gap: 18px;
  width: min(480px, 100%);
  padding: 28px;
  box-shadow: var(--shadow);
}

.register-shell {
  background:
    linear-gradient(105deg, rgba(17, 24, 39, 0.86), rgba(153, 27, 41, 0.75)),
    url("warehouse.jpg") center / cover no-repeat;
}

.register-card {
  width: min(820px, 100%);
}

.auth-card h1 {
  font-size: 2.1rem;
}

.admin-auth {
  border-top: 5px solid var(--red);
}

.login-help {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.login-help a {
  color: var(--red);
  font-weight: 950;
}

.alert,
.empty-state {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 800;
}

.alert-error {
  color: #7d1320;
  background: #fff1f3;
  border: 1px solid #f1bac1;
}

.alert-success {
  color: #155a36;
  background: #edf9f2;
  border: 1px solid #b8e1c8;
}

.empty-state {
  color: var(--muted);
  background: #fff;
  border: 1px dashed #b9c5d3;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(340px, 1fr);
  gap: 28px;
  align-items: start;
}

.product-media {
  overflow: hidden;
}

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

.product-info-panel {
  padding: 28px;
  box-shadow: var(--shadow);
}

.product-info-panel h1 {
  font-size: 2.35rem;
}

.detail-list {
  display: grid;
  gap: 1px;
  margin: 26px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  background: var(--soft);
}

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

.detail-list dd {
  margin: 0;
  font-weight: 900;
  text-align: right;
}

.spec-panel {
  margin-bottom: 22px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.spec-panel h2 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.spec-panel p {
  margin: 0;
}

.quote-form,
.admin-form {
  display: grid;
  gap: 18px;
}

.admin-form {
  padding: 24px;
  box-shadow: var(--shadow);
}

.admin-form-head,
.admin-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-form-head h2,
.admin-subsection h2 {
  margin: 0;
  font-size: 1.25rem;
}

.admin-form-head p,
.admin-subsection p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-subsection {
  padding-top: 4px;
}

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

.table-card {
  overflow-x: auto;
  box-shadow: var(--shadow);
}

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

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

th {
  color: #3f4855;
  font-size: 0.78rem;
  text-transform: uppercase;
  background: var(--soft);
}

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

.table-actions a,
.table-actions button,
.admin-links a {
  color: var(--red);
  font-weight: 900;
}

.table-actions form {
  margin: 0;
}

.table-actions button {
  padding: 0;
  background: transparent;
  border: 0;
}

.spec-cell {
  min-width: 190px;
}

.spec-cell span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.5;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.admin-stats article {
  padding: 22px;
  box-shadow: 0 10px 26px rgba(23, 32, 44, 0.06);
}

.stat-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
}

.admin-stats strong {
  display: block;
  font-size: 2rem;
}

.admin-stats span:last-child {
  color: var(--muted);
  font-weight: 850;
}

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

.admin-links a {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(23, 32, 44, 0.06);
}

.admin-body,
.admin-login-body {
  background: #eef2f7;
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100svh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  height: 100svh;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  padding: 22px;
  color: #dbe4ef;
  background: #111827;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-brand {
  display: flex;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-brand img {
  width: 190px;
  height: 110px;
  object-fit: contain;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
}

.admin-brand strong,
.admin-brand small {
  display: block;
}

.admin-brand strong {
  color: #fff;
}

.admin-brand small {
  color: #aebccd;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.admin-nav a,
.admin-sidebar-footer a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: #dbe4ef;
  font-weight: 850;
  border-radius: 8px;
}

.admin-nav a:hover,
.admin-nav a.is-active,
.admin-sidebar-footer a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.admin-sidebar-footer {
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-main {
  min-width: 0;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 94px;
  padding: 22px 32px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.admin-topbar h1 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.admin-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  color: var(--ink);
  font-weight: 900;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-content {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 54px;
}

.admin-panel {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-form-panel {
  width: min(980px, 100%);
}

.admin-form-panel .admin-form {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.admin-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.admin-panel-head h2 {
  margin: 0;
  font-size: 1.35rem;
}

.admin-panel-head p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: minmax(320px, 0.76fr) minmax(0, 1.24fr);
  gap: 18px;
  align-items: start;
}

.admin-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.compact-admin-form {
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.admin-taxonomy-panel {
  margin-top: 20px;
}

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

.settings-list h3 {
  position: sticky;
  top: 0;
  margin: 0;
  padding: 0 0 8px;
  font-size: 1rem;
  background: #fff;
}

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

.settings-list strong,
.settings-list span {
  display: block;
}

.settings-list span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-inline-search {
  display: flex;
  align-items: end;
  gap: 10px;
}

.admin-inline-search input {
  min-width: 260px;
}

.admin-table-card {
  box-shadow: none;
}

.table-muted {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.55;
}

.account-list,
.stock-list {
  display: grid;
  gap: 10px;
}

.account-row,
.stock-row {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.account-row {
  grid-template-columns: minmax(0, 1fr) 130px 130px auto;
}

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

.account-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.account-row select {
  min-height: 40px;
}

.stock-row {
  grid-template-columns: 70px minmax(0, 1fr) 120px 105px auto;
}

.stock-row img {
  width: 70px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
}

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

.stock-row > div span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.stock-row label {
  font-size: 0.78rem;
}

.stock-row input {
  min-height: 40px;
}

.stock-state {
  justify-self: start;
  padding: 7px 9px;
  color: #155a36;
  font-size: 0.78rem;
  font-weight: 950;
  background: #edf9f2;
  border: 1px solid #b8e1c8;
  border-radius: 8px;
}

.stock-state.is-low {
  color: #8b1420;
  background: #fff1f3;
  border-color: #f0bac1;
}

.admin-login-shell {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(105deg, rgba(17, 24, 39, 0.92), rgba(153, 27, 41, 0.72)),
    url("warehouse.jpg") center / cover no-repeat;
}

.admin-login-card {
  display: grid;
  gap: 16px;
  width: min(460px, 100%);
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.admin-login-card img {
  width: 220px;
  height: 130px;
  object-fit: contain;
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: 0;
}

.admin-login-card h1 {
  margin-bottom: 0;
  font-size: 2rem;
}

.admin-login-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.slide-admin-list,
.featured-product-list {
  display: grid;
  gap: 12px;
}

.slide-admin-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.slide-admin-card > img {
  width: 150px;
  height: 118px;
  object-fit: cover;
  border-radius: 8px;
}

.slide-admin-fields {
  display: grid;
  gap: 10px;
}

.admin-featured-panel {
  margin-top: 18px;
}

.featured-product-form {
  display: grid;
  gap: 16px;
}

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

.featured-product-row {
  display: grid;
  grid-template-columns: 18px 64px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.featured-product-row input,
.form-check-card input {
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0;
  accent-color: var(--red);
}

.featured-product-row img {
  width: 64px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
}

.featured-product-row strong,
.featured-product-row small {
  display: block;
}

.featured-product-row small,
.form-check-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.form-check-card {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  min-height: 64px;
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quote-admin-list {
  display: grid;
  gap: 16px;
}

.quote-card {
  padding: 22px;
  box-shadow: 0 10px 26px rgba(23, 32, 44, 0.06);
}

.quote-card-header,
.status-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.quote-card-header span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 800;
}

.quote-card-body {
  margin: 18px 0;
}

.quote-card-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #3d4652;
}

.status-form select {
  max-width: 220px;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 22px;
  align-items: start;
}

.cart-card {
  display: grid;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cart-line {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 120px 150px auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 112px;
  height: 86px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-line h3 {
  margin: 5px 0 6px;
  font-size: 1rem;
  line-height: 1.25;
}

.cart-line span,
.cart-line small,
.cart-price small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.cart-line label {
  font-size: 0.78rem;
}

.cart-line input {
  min-height: 40px;
}

.cart-price {
  display: grid;
  gap: 4px;
  text-align: right;
}

.cart-remove {
  color: var(--red);
  font-weight: 900;
  background: transparent;
  border: 0;
}

.cart-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px;
}

.danger-button {
  color: #8b1420;
  border-color: #f0bac1;
}

.cart-summary {
  position: sticky;
  top: 178px;
  display: grid;
  gap: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.cart-summary h2 {
  font-size: 1.65rem;
}

.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.summary-total span {
  color: var(--muted);
  font-weight: 900;
}

.summary-total strong {
  color: var(--red);
  font-size: 1.2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.about-grid article {
  padding: 22px;
  box-shadow: 0 10px 26px rgba(23, 32, 44, 0.06);
}

.about-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.callout-section {
  padding: 26px;
  box-shadow: var(--shadow);
}

.site-footer {
  color: #dbe4ef;
  background: #111827;
  border-top: 4px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand img {
  width: 180px;
  height: 112px;
  object-fit: contain;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
}

.footer-brand p,
.footer-note {
  margin: 8px 0 0;
  color: #b8c4d3;
  line-height: 1.55;
}

.footer-block {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-block h2 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 1rem;
}

.footer-block a {
  display: inline-flex;
  align-items: center;
  color: #dbe4ef;
  font-weight: 750;
}

.footer-block a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.is-submitting {
  opacity: 0.72;
  pointer-events: none;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: min(360px, calc(100% - 48px));
  padding: 14px 16px;
  color: #fff;
  font-weight: 850;
  line-height: 1.45;
  background: #1d2735;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.toast:not(.is-visible) {
  display: none;
}

@media (max-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-rail,
  .solution-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .filter-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

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

  .admin-topbar,
  .admin-panel-head,
  .admin-grid-2,
  .admin-grid-3,
  .admin-inline-search {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .admin-content {
    width: min(calc(100% - 32px), 940px);
  }

  .account-row,
  .stock-row {
    grid-template-columns: 1fr;
  }

  .slide-admin-card,
  .featured-product-list {
    grid-template-columns: 1fr;
  }

  .stock-row img {
    width: 100%;
    height: 150px;
  }

  .slide-admin-card > img {
    width: 100%;
    height: 170px;
  }

  .commerce-topbar {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-main {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 22px;
  }

  .header-main .main-nav {
    margin-right: -22px;
    margin-left: -22px;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .hero-content,
  .home-slide,
  .catalogue-layout,
  .cart-layout,
  .solution-grid,
  .split-section,
  .product-detail,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .catalogue-sidebar {
    position: static;
  }

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

  .catalogue-sort {
    flex-wrap: wrap;
  }

  .catalogue-item {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .catalogue-thumb {
    width: 86px;
    height: 86px;
  }

  .catalogue-item-actions {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalogue-item-actions .price,
  .catalogue-item-actions .locked-price {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .stats-band,
  .product-grid,
  .admin-stats,
  .about-grid,
  .admin-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .cart-summary {
    position: static;
  }

  .cart-line {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .cart-line label,
  .cart-price,
  .cart-remove {
    grid-column: 2;
  }

  .cart-price {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .admin-sidebar,
  .admin-topbar {
    padding: 18px 14px;
  }

  .admin-nav,
  .admin-sidebar-footer {
    grid-template-columns: 1fr;
  }

  .admin-content {
    width: min(calc(100% - 28px), 640px);
    padding-top: 20px;
  }

  .admin-panel {
    padding: 16px;
  }

  .admin-inline-search input {
    min-width: 0;
  }

  .commerce-topbar {
    gap: 18px;
    padding-inline: 14px;
  }

  .header-main {
    padding-inline: 14px;
  }

  .site-search,
  .filter-bar {
    grid-template-columns: 1fr;
  }

  .search-submit,
  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .hero {
    min-height: 0;
  }

  .home-slide {
    min-height: 0;
    padding: 52px 14px;
  }

  .home-slider-dots {
    right: 14px;
    bottom: 14px;
  }

  .hero-content {
    width: min(calc(100% - 28px), 640px);
    padding: 52px 0;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.55rem);
  }

  h2 {
    font-size: 1.55rem;
  }

  .category-rail,
  .solution-rail,
  .brand-cloud,
  .catalogue-page,
  .section,
  .narrow-section {
    width: min(calc(100% - 28px), 640px);
  }

  .section {
    padding: 50px 0;
  }

  .section-heading,
  .catalogue-toolbar,
  .product-footer,
  .quote-card-header,
  .status-form,
  .admin-form-head,
  .admin-form-actions,
  .footer-brand {
    align-items: stretch;
    flex-direction: column;
  }

  .stats-band,
  .category-rail,
  .solution-rail,
  .product-grid,
  .admin-stats,
  .form-grid,
  .about-grid,
  .admin-links {
    grid-template-columns: 1fr;
  }

  .product-actions,
  .cart-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .inline-cart-form .primary-button,
  .product-actions .ghost-button {
    width: 100%;
  }

  .product-media img {
    height: 330px;
  }

  .cart-line {
    grid-template-columns: 1fr;
  }

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

  .catalogue-thumb {
    width: 100%;
    height: 170px;
  }

  .catalogue-sort,
  .catalogue-item-actions {
    display: grid;
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .pagination {
    justify-content: center;
    flex-wrap: wrap;
  }

  .cart-line img {
    width: 100%;
    height: 170px;
  }

  .cart-line label,
  .cart-price,
  .cart-remove {
    grid-column: auto;
  }

  .footer-grid {
    width: min(calc(100% - 28px), 640px);
  }

  .toast {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }
}

/* Responsive finishing layer: desktop, tablet, phone and very small phones. */
@media (min-width: 1440px) {
  .header-main,
  .main-nav {
    padding-right: calc((100% - 1280px) / 2);
    padding-left: calc((100% - 1280px) / 2);
  }

  .header-main .main-nav {
    margin-right: calc((100% - 1280px) / -2);
    margin-left: calc((100% - 1280px) / -2);
  }

  .category-rail,
  .solution-rail,
  .brand-cloud,
  .section,
  .narrow-section,
  .footer-grid {
    width: min(1280px, calc(100% - 64px));
  }

  .catalogue-page,
  .admin-content {
    width: min(1360px, calc(100% - 64px));
  }
}

@media (max-width: 1280px) {
  .header-main {
    grid-template-columns: minmax(200px, 250px) minmax(0, 1fr) auto;
    gap: 14px;
  }

  .brand-logo {
    width: 200px;
    height: 76px;
  }

  .home-slide,
  .hero-content {
    gap: 28px;
  }

  .catalogue-layout {
    grid-template-columns: 250px minmax(0, 1fr);
  }
}

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

  .header-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
  }

  .brand {
    justify-content: flex-start;
  }

  .burger-toggle {
    display: inline-flex;
  }

  .header-main .mobile-menu-panel {
    display: none;
    grid-column: 1 / -1;
    gap: 14px;
    width: 100%;
    padding-top: 12px;
  }

  .header-main .mobile-menu-panel.is-open {
    display: grid;
  }

  .site-search {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .search-submit {
    width: 100%;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .main-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
  }

  .main-nav a,
  .nav-mega summary {
    justify-content: flex-start;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
  }

  .main-nav a:hover,
  .main-nav .is-active,
  .nav-mega.is-active summary,
  .nav-mega[open] summary,
  .nav-mega summary:hover {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
  }

  .mega-panel {
    position: static;
    max-height: 70svh;
    margin-top: 8px;
    padding: 16px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: none;
  }

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

  .mega-grid,
  .solution-mega-grid {
    grid-template-columns: 1fr;
  }

  .mega-column {
    padding-left: 12px;
  }

  .home-slide {
    align-items: center;
    min-height: 560px;
    padding-top: 54px;
    padding-bottom: 64px;
  }

  .hero-deal-card {
    width: min(420px, 100%);
  }

  .brand-cloud {
    scroll-padding-inline: 14px;
  }

  .brand-card {
    width: 112px;
  }

  .catalogue-filter-form {
    padding: 14px;
  }

  .catalogue-sort label {
    min-width: min(180px, 100%);
  }

  .product-body {
    min-height: auto;
  }

  .product-footer {
    gap: 14px;
  }

  .admin-topbar h1 {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 540px) {
  .commerce-topbar {
    min-height: 34px;
    font-size: 0.75rem;
  }

  .brand-logo {
    width: 168px;
    height: 64px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    font-size: 0.7rem;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .home-slide {
    min-height: 520px;
    gap: 18px;
  }

  .home-slide p:not(.eyebrow),
  .hero p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-deal-card {
    padding: 16px;
  }

  .hero-deal-card strong {
    font-size: 1.1rem;
  }

  .category-tile,
  .solution-tile {
    min-height: 110px;
    padding: 15px;
  }

  .stats-band div {
    min-height: 72px;
    padding: 15px 16px;
  }

  .catalogue-page {
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .catalogue-heading h1,
  .admin-topbar h1 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .catalogue-item p,
  .product-card p {
    font-size: 0.9rem;
  }

  .catalogue-specs span,
  .product-meta span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .admin-login-shell {
    padding: 16px;
  }

  .admin-login-card {
    padding: 22px;
  }

  .admin-login-card img,
  .footer-brand img {
    width: 160px;
    height: 98px;
  }

  .admin-panel-head,
  .admin-form-head,
  .admin-form-actions {
    gap: 12px;
  }

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

  .featured-product-row img {
    width: 54px;
    height: 46px;
  }
}

@media (max-width: 390px) {
  .brand small {
    display: none;
  }

  .brand-logo {
    width: 146px;
    height: 56px;
  }

  .site-search input,
  input,
  select,
  textarea {
    font-size: 0.92rem;
  }

  .main-nav a {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .home-slide {
    min-height: 500px;
    padding-top: 42px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: clamp(1.75rem, 10vw, 2.05rem);
  }

  h2 {
    font-size: 1.35rem;
  }

  .primary-button,
  .ghost-button,
  .search-submit {
    min-height: 40px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 0.9rem;
  }

  .product-image img,
  .catalogue-thumb,
  .cart-line img {
    height: 145px;
  }

  .footer-grid {
    gap: 18px;
  }
}

.forgot-link {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 850;
  text-align: right;
}
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: #0f172a;
  padding: 40px 20px;
  text-align: center;
}

.stats-band div {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.stats-band i {
  font-size: 32px;
  color: #38bdf8;
}

.stats-band strong {
  font-size: 28px;
  font-weight: 700;
}

.stats-band span {
  font-size: 14px;
  opacity: 0.9;
}
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1e293b;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s ease;
  font-size: 18px;
}

.social-links a:hover {
  background: #38bdf8;
  transform: translateY(-3px);
}