:root {
  color: #111827;
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

/* Purchase request workflow */
.cartLayout {
  grid-template-columns: minmax(0, 1fr) minmax(400px, 470px);
  align-items: start;
}

.inquiryCheckout {
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d8e2e6;
  border-radius: 6px;
}

.inquirySummary {
  display: grid;
  gap: 10px;
  padding: 22px;
  background: #f3f7f7;
  border-bottom: 1px solid #d8e2e6;
}

.inquirySummary h2,
.inquiryForm h2 {
  margin: 0;
  font-size: 20px;
}

.checkoutPanel .inquirySummary > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.inquiryForm {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.checkoutPanel .inquiryFormHeader,
.checkoutPanel .inquiryFormRow {
  padding: 0;
  background: transparent;
  border: 0;
}

.inquiryFormHeader {
  display: grid;
  gap: 7px;
  margin-bottom: 2px;
}

.inquiryFormHeader p,
.emptyCartPanel p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.inquiryForm label {
  display: grid;
  gap: 7px;
  color: #243246;
  font-size: 13px;
  font-weight: 750;
}

.inquiryForm input,
.inquiryForm textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: #111827;
  background: #ffffff;
  border: 1px solid #cbd5df;
  border-radius: 5px;
  outline: none;
}

.inquiryForm textarea {
  min-height: 92px;
  resize: vertical;
}

.inquiryForm input:focus,
.inquiryForm textarea:focus {
  border-color: #1769ff;
  box-shadow: 0 0 0 3px rgba(23, 105, 255, 0.12);
}

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

.inquiryForm .consentField {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: #526174;
  font-weight: 600;
  line-height: 1.45;
}

.inquiryForm .consentField input {
  width: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  box-shadow: none;
}

.inquiryForm > button {
  width: 100%;
  min-height: 48px;
}

.inquiryForm > button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.inquiryForm > small {
  color: #64748b;
  text-align: center;
}

.formError {
  margin: 0;
  padding: 10px 12px;
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 5px;
  font-size: 13px;
}

.emptyCartPanel {
  align-content: start;
}

.inquirySuccessPage {
  display: grid;
  min-height: 620px;
  place-items: center;
}

.inquirySuccess {
  display: grid;
  justify-items: center;
  width: min(680px, 100%);
  padding: 54px 32px;
  text-align: center;
}

.successIcon {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  color: #ffffff;
  background: #1769ff;
  border-radius: 50%;
  place-items: center;
}

.successIcon svg {
  width: 30px;
  height: 30px;
}

.inquirySuccess .eyebrow,
.cartPage .eyebrow,
.inquiryDrawer .eyebrow {
  margin: 0 0 7px;
  color: #1769ff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.inquirySuccess h1 {
  margin: 0 0 16px;
  font-size: 38px;
}

.inquirySuccess > p:not(.eyebrow) {
  max-width: 590px;
  margin: 0;
  color: #526174;
  font-size: 17px;
  line-height: 1.65;
}

.inquirySuccessNote {
  display: grid;
  gap: 4px;
  width: 100%;
  margin: 28px 0;
  padding: 18px;
  color: #243246;
  background: #f3f7f7;
  border: 1px solid #d8e2e6;
  border-radius: 6px;
}

.inquirySuccessNote span {
  color: #64748b;
}

.adminNavBadge {
  min-width: 24px;
  margin-left: auto;
  padding: 3px 7px;
  color: #0c1a30;
  background: #f7b843;
  border-radius: 12px;
  font-size: 11px;
  text-align: center;
}

.inquiryWorkspace {
  overflow: visible;
}

.inquiryAdminToolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid #dfe6ea;
}

.inquiryAdminToolbar form,
.inquiryAdminToolbar label {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #526174;
  font-size: 13px;
  font-weight: 750;
}

.inquiryAdminToolbar select {
  min-height: 38px;
  padding: 7px 32px 7px 10px;
  background: #ffffff;
  border: 1px solid #cbd5df;
  border-radius: 5px;
}

.inquiryAdminToolbar p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.emailConfigNotice {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 14px 18px 0;
  padding: 13px 15px;
  border: 1px solid;
  border-radius: 5px;
}

.emailConfigNotice svg {
  flex: 0 0 auto;
}

.emailConfigNotice div {
  display: grid;
  gap: 3px;
}

.emailConfigNotice span {
  font-size: 13px;
}

.emailConfigNotice.warning {
  color: #854d0e;
  background: #fffbeb;
  border-color: #fde68a;
}

.emailConfigNotice.configured {
  color: #166534;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.inquiryManager {
  border: 0;
  box-shadow: none;
}

.inquiryTable td {
  vertical-align: middle;
}

.inquiryTable td > strong,
.inquiryTable td > a,
.inquiryTable td > small {
  display: block;
  margin-bottom: 4px;
}

.inquiryTable td > a {
  color: #1769ff;
}

.inquiryTable td > small {
  max-width: 280px;
  color: #64748b;
  line-height: 1.4;
}

.inquiryReference {
  display: grid;
  gap: 4px;
  padding: 0;
  color: #111827;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: left;
}

.inquiryReference strong {
  color: #1769ff;
}

.inquiryReference small {
  color: #64748b;
  white-space: nowrap;
}

.inquiryStatusSelect {
  min-width: 108px;
  min-height: 34px;
  padding: 5px 24px 5px 8px;
  border: 1px solid #cbd5df;
  border-radius: 4px;
}

.deliveryBadge {
  display: inline-flex;
  min-width: 82px;
  justify-content: center;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.deliveryBadge.sent {
  color: #166534;
  background: #dcfce7;
}

.deliveryBadge.pending,
.deliveryBadge.pending_configuration {
  color: #854d0e;
  background: #fef3c7;
}

.deliveryBadge.failed {
  color: #991b1b;
  background: #fee2e2;
}

.adminMailButton,
.primaryLink {
  display: inline-flex;
  min-height: 34px;
  padding: 7px 10px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #1769ff;
  border: 1px solid #1769ff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.inquiryDrawerBackdrop {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: rgba(15, 23, 42, 0.42);
}

.inquiryDrawer {
  width: min(640px, 94vw);
  height: 100vh;
  padding: 26px;
  overflow-y: auto;
  background: #ffffff;
  box-shadow: -18px 0 50px rgba(15, 23, 42, 0.18);
}

.inquiryDrawer > section,
.inquiryNoteForm {
  padding: 20px 0;
  border-bottom: 1px solid #e2e8f0;
}

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

.inquiryDrawer h3 {
  margin-bottom: 14px;
  font-size: 16px;
}

.inquiryDrawerHeader,
.inquiryDrawerTopActions,
.drawerSectionHeader,
.inquiryDrawerActions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.inquiryDrawerTopActions {
  flex: 0 0 auto;
  gap: 8px;
}

.inquiryDrawerHeader h2 {
  margin: 0 0 4px;
  font-size: 28px;
}

.inquiryDrawerHeader span {
  color: #64748b;
  font-size: 13px;
}

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

.inquiryCustomer dl div {
  display: grid;
  gap: 4px;
}

.inquiryCustomer dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}

.inquiryCustomer dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.inquiryCustomer a {
  color: #1769ff;
}

.drawerSectionHeader strong {
  font-size: 13px;
}

.inquiryItemList {
  display: grid;
  gap: 0;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
}

.inquiryItemList article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px 72px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.inquiryItemList article:last-child {
  border-bottom: 0;
}

.inquiryItemList article > div {
  display: grid;
  gap: 3px;
}

.inquiryItemList span,
.inquiryItemList small {
  color: #64748b;
  font-size: 12px;
}

.customerNotes {
  color: #334155;
  line-height: 1.65;
  white-space: pre-wrap;
}

.inquiryNoteForm {
  display: grid;
  gap: 12px;
}

.inquiryNoteForm label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 750;
}

.inquiryNoteForm textarea {
  padding: 10px 12px;
  resize: vertical;
  border: 1px solid #cbd5df;
  border-radius: 5px;
}

.inquiryNoteForm button {
  justify-self: start;
}

.inquiryDrawerActions {
  justify-content: flex-start;
  padding-top: 20px;
}

.primaryLink {
  gap: 7px;
  min-height: 40px;
  font-size: 13px;
}

.primaryLink svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 1050px) {
  .cartLayout {
    grid-template-columns: 1fr;
  }

  .inquiryCheckout {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .cartPage .sectionHeader {
    align-items: flex-start;
  }

  .cartRow {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .cartRow .qtyControl,
  .cartRow > strong {
    grid-column: 2;
  }

  .inquiryFormRow,
  .inquiryCustomer dl {
    grid-template-columns: 1fr;
  }

  .inquirySummary,
  .inquiryForm {
    padding: 18px;
  }

  .inquirySuccess {
    padding: 40px 8px;
  }

  .inquirySuccess h1 {
    font-size: 30px;
  }

  .inquiryAdminToolbar,
  .inquiryAdminToolbar form,
  .inquiryAdminToolbar label {
    align-items: stretch;
    flex-direction: column;
  }

  .emailConfigNotice {
    align-items: flex-start;
  }

  .inquiryDrawer {
    width: 100vw;
    padding: 20px 16px;
  }

  .inquiryItemList article {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .inquiryItemList article > strong {
    grid-column: 2;
  }

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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  overflow-anchor: none;
}

body {
  margin: 0;
  min-width: 320px;
  color: #111827;
  background: #ffffff;
}

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

button {
  cursor: pointer;
}

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

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.asButton {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.topBar {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 9px 20px;
  color: #334155;
  background: #f3f7f7;
  border-bottom: 1px solid #dbe4e7;
  font-size: 13px;
  font-weight: 650;
}

.topBar span,
.brand,
.headerActions,
.categoryNav,
.heroSearch,
.quickChips,
.sectionHeader,
.rating,
.priceRow,
.supportStrip article,
.metaLine,
.detailActions,
.adminHeader,
.adminHeaderActions,
.panelHeader,
.formRow,
.tableActions {
  display: flex;
  align-items: center;
}

.topBar svg {
  width: 17px;
  height: 17px;
  margin-right: 7px;
  color: #1769ff;
}

.shopHeader {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(280px, 720px) minmax(190px, auto) auto;
  gap: 20px;
  align-items: center;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e5e7eb;
  backdrop-filter: blur(14px);
}

.brand {
  gap: 11px;
  min-width: max-content;
  color: #111827;
}

.brand strong {
  font-size: 22px;
}

.brandText {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brandText small {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
}

.brandMark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #ffffff;
  background: #1769ff;
  border-radius: 8px;
  font-weight: 900;
}

.ineedpMark {
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 4px;
  color: #ffffff;
  background: #0b1220;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.ineedpMark b {
  display: grid;
  min-width: 0;
  height: 100%;
  place-items: center;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 950;
}

.ineedpMark b:nth-child(1) {
  background: #1769ff;
}

.ineedpMark b:nth-child(2) {
  background: #1d4ed8;
}

.ineedpMark b:nth-child(3) {
  background: #f59e0b;
}

.headerSearch,
.heroSearch {
  min-width: 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}

.headerSearch {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 7px 7px 7px 14px;
}

.compactSearch {
  max-width: 560px;
}

.headerSearch svg,
.heroSearch svg {
  color: #64748b;
}

.headerSearch input,
.heroSearch input {
  width: 100%;
  min-width: 0;
  color: #111827;
  background: transparent;
  border: 0;
  outline: 0;
}

.headerSearch input {
  height: 42px;
}

button,
.headerSearch button,
.heroSearch button,
.promoGrid button,
.productCard button,
.checkoutPanel button,
.adminHeaderActions button,
.panelHeader button,
.importForm button,
.manualForm button,
.jobRow button,
.reviewActions button {
  min-height: 42px;
  padding: 0 18px;
  color: #ffffff;
  background: #1769ff;
  border: 1px solid #1769ff;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(23, 105, 255, 0.12);
  font-weight: 800;
}

.ghostButton,
.panelHeader .ghostButton,
.adminHeaderActions .ghostButton,
.reviewActions .ghostButton {
  color: #1769ff;
  background: #ffffff;
  border-color: #c4d7ff;
  box-shadow: none;
}

.headerActions {
  gap: 8px;
}

.headerActions button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  color: #111827;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-weight: 750;
}

.headerActions button:hover {
  background: #f1f5f9;
}

.headerContact {
  display: grid;
  gap: 6px;
  min-width: 210px;
  margin: 0;
  font-style: normal;
}

.headerContact a {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #172033;
  font-size: 13px;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.headerContact a:hover {
  color: #1769ff;
}

.headerContact svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: #1769ff;
}

.headerContact span {
  display: grid;
  gap: 1px;
}

.headerContact small {
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.categoryNav,
.brandNav {
  position: sticky;
  top: 75px;
  z-index: 19;
  gap: 8px;
  overflow-x: auto;
  padding: 11px clamp(20px, 5vw, 72px);
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.brandNav {
  top: 122px;
  z-index: 18;
  padding-top: 8px;
  padding-bottom: 8px;
  background: #f8fafc;
}

.categoryNav button,
.brandNav button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 13px;
  color: #334155;
  background: #ffffff;
  border: 1px solid transparent;
  box-shadow: none;
  font-size: 14px;
}

.categoryNav button.active,
.categoryNav button:hover,
.brandNav button.active,
.brandNav button:hover {
  color: #1769ff;
  background: #edf3ff;
  border-color: #c4d7ff;
}

.storeHero {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(440px, 1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  min-height: 560px;
  padding: clamp(54px, 8vw, 92px) clamp(20px, 5vw, 72px);
  background: linear-gradient(180deg, #ffffff 0%, #f7fafb 100%);
}

.heroCopy h1,
.catalogToolbar h1,
.detailInfo h1,
.cartPage h1 {
  margin: 0 0 16px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.heroCopy p,
.catalogToolbar p,
.detailInfo p {
  max-width: 620px;
  margin: 0 0 30px;
  color: #334155;
  font-size: 19px;
  line-height: 1.5;
}

.heroSearch {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 13px;
  max-width: 740px;
  padding: 10px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.11);
}

.heroSearch input {
  min-height: 52px;
  font-size: 16px;
}

.heroSearch button {
  min-height: 52px;
  padding: 0 24px;
}

.quickChips {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quickChips button {
  min-height: 36px;
  padding: 0 13px;
  color: #334155;
  background: #ffffff;
  border: 1px solid #d7dee7;
  box-shadow: none;
  font-weight: 700;
}

.brandBand {
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 38px clamp(20px, 5vw, 72px);
  background: #0b1220;
  color: #ffffff;
}

.brandBand h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.brandBand p {
  margin: 0;
  color: #cbd5e1;
}

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

.brandTiles button {
  min-height: 56px;
  color: #0f172a;
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: none;
}

.heroWorkbench {
  position: relative;
  min-height: 420px;
}

.workMat {
  position: absolute;
  inset: 28px 0 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(23, 105, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(23, 105, 255, 0.08) 1px, transparent 1px),
    #eef4ff;
  background-size: 42px 42px;
  border: 1px solid #cddbe0;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.workMat .partArt {
  position: absolute;
  width: 150px;
  height: 130px;
}

.heroPhoto {
  position: absolute;
  display: block;
  width: 180px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dbe4e7;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
}

.heroPhoto img {
  display: block;
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.heroPhoto:nth-child(1) {
  left: 52px;
  top: 54px;
}

.heroPhoto:nth-child(2) {
  right: 82px;
  top: 86px;
}

.heroPhoto:nth-child(3) {
  left: 184px;
  bottom: 54px;
}

.heroPhoto:nth-child(4) {
  right: 170px;
  bottom: 44px;
}

.workMat .screen {
  left: 56px;
  top: 50px;
  width: 180px;
  height: 250px;
}

.workMat .toolkit {
  right: 56px;
  top: 72px;
  width: 205px;
}

.workMat .battery {
  right: 130px;
  bottom: 48px;
}

.workMat .flex {
  left: 76px;
  bottom: 42px;
}

.heroDeal {
  position: absolute;
  right: 24px;
  bottom: 0;
  display: grid;
  gap: 4px;
  width: 230px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #dbe3ea;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.14);
}

.heroDeal span,
.muted,
.activityList p,
.jobCard span,
.jobCard small {
  color: #64748b;
}

.section {
  padding: 56px clamp(20px, 5vw, 72px);
}

.sectionHeader {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.sectionHeader h2,
.adminPanel h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.1;
}

.sectionHeader p {
  margin: 8px 0 0;
  color: #64748b;
}

.categoryGrid,
.productGrid,
.supportStrip,
.adminStats,
.adminGrid,
.promoGrid {
  display: grid;
  gap: 16px;
}

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

.categoryCard,
.productCard,
.supportStrip article,
.adminPanel,
.checkoutPanel,
.detailInfo,
.filterRail,
.cartRows,
.jobRow {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.categoryCard {
  min-height: 138px;
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.categoryCard:hover {
  border-color: #1769ff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.categoryCard > span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  color: #1769ff;
  background: #edf3ff;
  border-radius: 8px;
}

.categoryCard h3,
.productInfo h3,
.supportStrip h3,
.reviewItem h3,
.jobRow h3 {
  margin: 0 0 6px;
}

.categoryCard p,
.productInfo p,
.supportStrip p,
.reviewItem p,
.jobRow p {
  margin: 0;
  color: #64748b;
  line-height: 1.45;
}

.promoGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 10px clamp(20px, 5vw, 72px) 34px;
}

.promoGrid article {
  min-height: 230px;
  padding: 32px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(15, 32, 61, 0.96), rgba(23, 105, 255, 0.9)),
    #0f203d;
  border-radius: 8px;
}

.promoGrid h2 {
  max-width: 440px;
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
}

.promoGrid p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.promoGrid button {
  color: #0f203d;
  background: #ffffff;
  border-color: #ffffff;
}

.shelfSection,
.catalogLayout,
.detailPage,
.cartPage {
  background: #f8fafc;
}

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

.productCard {
  position: relative;
  overflow: hidden;
}

.productMedia {
  display: block;
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: #f8fafc;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: none;
}

.productPhoto {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f8fafc;
}

.productPhoto img,
.thumbnailRail img,
.cartThumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.productPhoto.card img {
  transition: transform 180ms ease;
}

.productMedia:hover .productPhoto.card img {
  transform: scale(1.035);
}

.badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 1;
  padding: 6px 9px;
  color: #7c2d12;
  background: #ffedd5;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 850;
}

.productInfo {
  padding: 18px;
}

.variantBadge {
  display: inline-flex;
  width: fit-content;
  margin: 2px 0 10px;
  padding: 5px 8px;
  color: #1658cf;
  background: #eaf1ff;
  border: 1px solid #bfd1ff;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
}

.rating {
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: #475569;
  font-size: 13px;
}

.rating svg {
  width: 15px;
  height: 15px;
  color: #f59e0b;
  fill: #f59e0b;
}

.rating span {
  color: #1769ff;
  font-weight: 800;
}

.productInfo h3 {
  min-height: 54px;
  font-size: 19px;
  line-height: 1.2;
}

.productInfo p {
  min-height: 36px;
}

.originalTitle {
  min-height: auto !important;
  margin: -4px 0 10px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.35;
}

.originalTitle.large {
  margin: -8px 0 18px;
  font-size: 16px;
}

.priceRow {
  gap: 10px;
  margin-bottom: 16px;
}

.priceRow strong {
  font-size: 25px;
}

.priceRow span {
  color: #94a3b8;
  text-decoration: line-through;
}

.priceRow.large strong {
  font-size: 42px;
}

.cardActions {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 10px;
}

.cardActions button {
  width: 100%;
  padding: 0 10px;
}

.partArt {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.partArt::before {
  display: block;
  width: 42%;
  height: 54%;
  content: "";
  background: linear-gradient(145deg, #111827, #475569 46%, #f8fafc 47%);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.18);
}

.partArt.screen::before {
  width: 36%;
  height: 74%;
  border-radius: 18px;
}

.partArt.vacuum::before {
  width: 66%;
  height: 32%;
  background: linear-gradient(145deg, #0f172a, #64748b 54%, #1769ff 55%);
  border-radius: 20px 34px 18px 18px;
}

.partArt.dryer::before {
  width: 62%;
  height: 34%;
  background: linear-gradient(90deg, #111827 0 58%, #1d4ed8 59% 76%, #e2e8f0 77%);
  border-radius: 28px 12px 12px 28px;
}

.partArt.curler::before {
  width: 28%;
  height: 72%;
  background: linear-gradient(180deg, #f59e0b, #111827 48%, #e2e8f0 49%);
  border-radius: 18px;
}

.partArt.floorwasher::before {
  width: 46%;
  height: 70%;
  background: linear-gradient(180deg, #0f172a 0 46%, #3b82f6 47%);
  border-radius: 14px 14px 20px 20px;
}

.partArt.robot::before {
  width: 58%;
  height: 58%;
  background: radial-gradient(circle at 50% 44%, #ffffff 0 10%, transparent 11%), linear-gradient(145deg, #f59e0b, #0f172a);
  border-radius: 999px;
}

.partArt.flosser::before {
  width: 38%;
  height: 74%;
  background: linear-gradient(180deg, #ffffff 0 16%, #1d4ed8 17% 68%, #0f172a 69%);
  border-radius: 18px 18px 26px 26px;
}

.partArt.battery::before {
  width: 56%;
  height: 34%;
  background: linear-gradient(90deg, #111827, #334155 60%, #e2e8f0 61%);
}

.partArt.toolkit::before {
  width: 62%;
  height: 36%;
  background: linear-gradient(135deg, #0f172a, #334155 45%, #2563eb 46%);
}

.partArt.flex::before,
.partArt.joystick::before,
.partArt.fan::before,
.partArt.brushroll::before,
.partArt.filtercover::before,
.partArt.tankcap::before,
.partArt.wheel::before,
.partArt.reservoir::before,
.partArt.button::before {
  width: 48%;
  height: 42%;
  background: linear-gradient(145deg, #0f172a, #64748b 48%, #f8fafc 49%);
}

.partArt span {
  position: absolute;
  display: block;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
}

.partArt span:nth-child(1) {
  left: 22%;
  top: 28%;
  width: 28px;
  height: 28px;
  background: #ffffff;
}

.partArt span:nth-child(2) {
  right: 21%;
  bottom: 24%;
  width: 42px;
  height: 12px;
  background: #1769ff;
  transform: rotate(-12deg);
}

.partArt span:nth-child(3) {
  right: 34%;
  top: 22%;
  width: 18px;
  height: 18px;
  background: #f59e0b;
}

.supportStrip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 42px clamp(20px, 5vw, 72px);
  background: #ffffff;
}

.supportStrip article {
  gap: 16px;
  padding: 20px;
}

.supportStrip svg {
  width: 38px;
  height: 38px;
  color: #1769ff;
}

.shopFooter {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  padding: 42px clamp(20px, 5vw, 72px);
  color: #dbeafe;
  background: #0f172a;
}

.shopFooter strong {
  color: #ffffff;
  font-size: 22px;
}

.shopFooter p,
.shopFooter a {
  color: #cbd5e1;
  line-height: 1.6;
}

.shopFooter h3 {
  margin: 0 0 12px;
  color: #ffffff;
}

.shopFooter a {
  display: block;
  margin: 8px 0;
}

.shopFooter .footerContactLink {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  color: #ffffff;
  font-weight: 800;
}

.footerContactLink svg {
  width: 17px;
  height: 17px;
}

.shopFooter .footerContactDetail {
  margin: 4px 0;
  color: #9fb3c8;
  font-size: 13px;
}

.catalogToolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  gap: 28px;
  align-items: end;
  padding: 44px clamp(20px, 5vw, 72px) 28px;
}

.catalogToolbar h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.catalogLayout {
  display: grid;
  grid-template-columns: minmax(320px, 360px) minmax(0, 1fr);
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px) 72px;
}

.filterRail {
  position: sticky;
  top: 136px;
  align-self: start;
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 156px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px;
}

.filterRail h2 {
  margin: 0 0 8px;
}

.filterRail button {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  color: #334155;
  background: #ffffff;
  border: 1px solid transparent;
  box-shadow: none;
  text-align: left;
  white-space: normal;
}

.filterRail button:first-of-type {
  grid-template-columns: 1fr;
}

.filterRail [data-brand] {
  grid-template-columns: minmax(0, 1fr) auto;
}

.filterRail button svg {
  width: 19px;
  height: 19px;
}

.filterRail small {
  min-width: 34px;
  text-align: right;
}

.filterRail button.active,
.filterRail button:hover {
  color: #1769ff;
  background: #edf3ff;
  border-color: #c4d7ff;
}

.filterRail small {
  color: #64748b;
}

.catalogResults {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 0 0;
}

.pagination span {
  margin-right: auto;
  color: #64748b;
  font-weight: 750;
}

.pagination button {
  min-width: 44px;
  min-height: 38px;
  padding: 8px 12px;
  color: #334155;
  background: #ffffff;
  border-color: #dbe5ec;
  box-shadow: none;
}

.pagination button.active,
.pagination button:hover:not(:disabled) {
  color: #ffffff;
  background: #1769ff;
  border-color: #1769ff;
}

.pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.detailPage,
.cartPage {
  padding: 32px clamp(20px, 5vw, 72px) 72px;
}

.backButton {
  margin-bottom: 20px;
  color: #334155;
  background: #ffffff;
  border-color: #d1d5db;
  box-shadow: none;
}

.detailGrid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.7fr);
  gap: 30px;
}

.detailMedia {
  height: 680px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.thumbnailRail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.thumbnailRail span {
  height: 138px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.detailInfo {
  padding: 26px;
}

.detailInfo h1 {
  font-size: clamp(34px, 4vw, 54px);
}

.detailCopy {
  margin: 18px 0 0;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.detailCopy h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.detailCopy p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.variantPanel {
  margin: 18px 0 0;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #dbe5ec;
  border-radius: 8px;
}

.variantPanelHeader {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.variantPanelHeader h2 {
  margin: 0;
  font-size: 18px;
}

.variantPanelHeader span,
.variantStock {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.variantRows {
  display: grid;
  gap: 8px;
  max-height: 430px;
  overflow-y: auto;
  padding-right: 4px;
}

.variantRow {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 74px 88px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 66px;
  padding: 8px;
  color: inherit;
  text-align: left;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: none;
  cursor: pointer;
}

.variantRow:hover,
.variantRow.active {
  background: #eff6ff;
  border-color: #1769ff;
}

.variantRow.active {
  box-shadow: 0 0 0 2px rgba(23, 105, 255, 0.16);
}

.variantThumb {
  width: 56px;
  height: 56px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
}

.variantThumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.variantText {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.variantText strong,
.variantText small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.variantText small {
  color: #64748b;
}

.variantPrice {
  color: #111827;
  font-size: 16px;
}

.metaLine {
  justify-content: space-between;
  color: #64748b;
  font-weight: 800;
}

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

.specGrid div,
.checkoutPanel div {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.specGrid span,
.checkoutPanel span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.description {
  font-size: 16px !important;
}

.detailActions {
  gap: 12px;
}

.detailActions button {
  flex: 1;
}

.cartLayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}

.cartRows,
.checkoutPanel {
  padding: 18px;
}

.cartRow {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 130px 96px;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #e2e8f0;
}

.cartRow:last-child {
  border-bottom: 0;
}

.cartThumb {
  height: 72px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.cartRow h3,
.cartRow p {
  margin: 0 0 5px;
}

.cartRow p {
  color: #64748b;
}

.qtyControl {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.qtyControl button {
  min-height: 36px;
  padding: 0;
}

.checkoutPanel {
  display: grid;
  gap: 12px;
  align-self: start;
}

.adminShell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
  background: #f8fafc;
}

.adminSide {
  position: sticky;
  top: 0;
  align-self: start;
  display: grid;
  gap: 8px;
  min-height: 100vh;
  padding: 18px;
  background: #0f172a;
}

.adminSide .brand {
  margin-bottom: 16px;
  color: #ffffff;
}

.adminSide button:not(.brand) {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  min-height: 42px;
  color: #cbd5e1;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.adminSide button.active,
.adminSide button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.adminMain {
  min-width: 0;
  padding: 30px;
}

.adminHeader {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.adminHeader h1 {
  margin: 0 0 6px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

.adminHeader p {
  margin: 0;
  color: #64748b;
}

.adminHeaderActions {
  gap: 10px;
}

.adminStats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.adminStats article {
  display: grid;
  gap: 5px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.adminStats strong {
  font-size: 30px;
}

.adminStats span {
  color: #64748b;
  font-weight: 800;
}

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

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

.adminPanel {
  padding: 22px;
}

.adminPanel.wide {
  grid-column: span 1;
}

.panelHeader {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.panelHeader > div {
  display: flex;
  gap: 10px;
}

.opsTable {
  overflow-x: auto;
}

.adminCatalogManager {
  margin: 0 0 20px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #dbe5ec;
  border-radius: 8px;
}

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

.adminCatalogHeader > div {
  display: grid;
  gap: 3px;
}

.adminCatalogHeader span,
.adminProductBody p {
  color: #64748b;
  font-size: 13px;
}

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

.adminPagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 14px;
}

.adminPagination button {
  min-width: 38px;
  min-height: 36px;
  padding: 0 12px;
  background: #ffffff;
  color: #334155;
  border: 1px solid #dbe5ec;
  box-shadow: none;
}

.adminPagination button.active {
  color: #ffffff;
  background: #1769ff;
  border-color: #1769ff;
}

.adminProductCard {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dbe5ec;
  border-radius: 8px;
}

.adminProductMedia {
  width: 100%;
  height: 160px;
  padding: 0;
  overflow: hidden;
  background: #f8fafc;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: none;
}

.adminProductBody {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.adminProductBody > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.adminProductBody h3 {
  min-height: 42px;
  margin: 0;
  overflow: hidden;
  color: #111827;
  font-size: 15px;
  line-height: 1.35;
}

.adminProductBody p {
  margin: 0;
}

.adminCardActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.adminCardActions button {
  min-height: 34px;
  padding: 0 8px;
  font-size: 12px;
}

.opsHead,
.opsRow {
  display: grid;
  grid-template-columns: 138px minmax(260px, 1fr) 140px 110px 80px 100px 180px;
  gap: 12px;
  align-items: center;
  min-width: 940px;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}

.opsHead {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.opsRow strong {
  display: grid;
  gap: 3px;
}

.opsRow small {
  color: #64748b;
  font-weight: 500;
}

.status {
  display: inline-flex;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status.published {
  color: #065f46;
  background: #d1fae5;
}

.status.review {
  color: #92400e;
  background: #fef3c7;
}

.status.draft {
  color: #475569;
  background: #e2e8f0;
}

.tableActions button,
.opsRow button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
}

.tableActions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.productEditor {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 20px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #dbe5ec;
  border-radius: 8px;
}

.productEditor label {
  display: grid;
  gap: 6px;
  color: #475569;
  font-size: 12px;
  font-weight: 850;
}

.productEditor label:nth-of-type(1),
.productEditor label:nth-of-type(2) {
  grid-column: span 2;
}

.productEditor input,
.productEditor select {
  min-height: 40px;
  padding: 8px 10px;
  color: #111827;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}

.editorActions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.editorVariants {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #dbe5ec;
  border-radius: 8px;
}

.editorVariantRows {
  display: grid;
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
}

.editorVariantRow {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 72px 84px;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.editorVariantRow > span:first-child {
  width: 52px;
  height: 52px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 6px;
}

.editorVariantRow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.editorVariantRow div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.editorVariantRow b,
.editorVariantRow small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.importForm,
.manualForm {
  display: grid;
  gap: 14px;
}

.importForm textarea {
  width: 100%;
  min-height: 260px;
  padding: 14px;
  color: #111827;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  resize: vertical;
  line-height: 1.55;
}

.fileDrop {
  display: grid;
  gap: 8px;
  padding: 14px;
  color: #334155;
  background: #f8fafc;
  border: 1px dashed #94a3b8;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 850;
}

.fileDrop input {
  min-height: 42px;
  padding: 9px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}

.fileDrop span {
  color: #64748b;
  font-weight: 650;
  line-height: 1.45;
}

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

.researchSteps article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.researchSteps strong {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: #1769ff;
  border-radius: 999px;
}

.researchSteps p {
  margin: 0;
  color: #475569;
  line-height: 1.45;
}

.commandLine {
  display: block;
  margin-top: 14px;
  padding: 12px;
  overflow-x: auto;
  color: #d1fae5;
  background: #0b1220;
  border-radius: 8px;
}

.manualForm label,
.formRow label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 850;
}

.manualForm input,
.manualForm select,
.formRow select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}

.formRow {
  display: grid;
  grid-template-columns: 180px 180px auto;
  gap: 12px;
}

.checkField {
  display: flex !important;
  grid-template-columns: auto 1fr;
  flex-direction: row;
  align-items: center;
}

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

.reviewList,
.jobTable,
.jobList,
.activityList {
  display: grid;
  gap: 12px;
}

.reviewItem {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.miniPart {
  height: 66px;
  background: #eef2f6;
  border-radius: 8px;
}

.reviewActions {
  display: flex;
  gap: 10px;
}

.jobRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px 130px 98px;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.jobRow button {
  grid-row: 2;
  min-height: 36px;
  padding: 0 10px;
}

.jobRow button:nth-of-type(1) {
  grid-column: 3;
}

.jobRow button:nth-of-type(2) {
  grid-column: 4;
}

.jobCard,
.activityList article {
  display: grid;
  gap: 5px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.activityList span {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

.activityList p {
  margin: 0;
}

.emptyState {
  grid-column: 1 / -1;
  padding: 28px;
  color: #64748b;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 16px;
  color: #ffffff;
  background: #111827;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
}

@media (max-width: 1120px) {
  .shopHeader,
  .catalogToolbar,
  .storeHero,
  .catalogLayout,
  .detailGrid,
  .cartLayout,
  .adminShell,
  .adminGrid,
  .importGrid {
    grid-template-columns: 1fr;
  }

  .headerSearch {
    grid-column: 1 / -1;
    order: 3;
  }

  .categoryNav {
    top: 130px;
  }

  .brandNav {
    top: 177px;
  }

  .productGrid,
  .supportStrip,
  .shopFooter,
  .promoGrid,
  .categoryGrid,
  .brandBand,
  .researchSteps,
  .adminStats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .filterRail,
  .adminSide {
    position: static;
  }

  .filterRail {
    max-height: 360px;
    overflow-y: auto;
  }

  .adminSide {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .topBar {
    display: grid;
    justify-content: stretch;
    gap: 6px;
    padding: 8px 16px;
  }

  .shopHeader {
    padding: 14px 16px;
  }

  .headerActions {
    justify-content: space-between;
  }

  .categoryNav {
    top: 188px;
    padding: 9px 16px;
  }

  .brandNav {
    top: 233px;
    padding: 8px 16px;
  }

  .storeHero {
    min-height: auto;
    padding: 38px 16px 46px;
  }

  .heroCopy h1,
  .catalogToolbar h1 {
    font-size: 48px;
  }

  .heroCopy p {
    font-size: 17px;
  }

  .heroSearch {
    grid-template-columns: 24px 1fr;
  }

  .heroSearch button {
    grid-column: 1 / -1;
  }

  .heroWorkbench {
    min-height: 320px;
  }

  .workMat .screen {
    left: 28px;
    width: 132px;
    height: 210px;
  }

  .workMat .toolkit {
    right: 26px;
    width: 150px;
  }

  .heroPhoto {
    width: 132px;
  }

  .heroPhoto:nth-child(1) {
    left: 24px;
    top: 42px;
  }

  .heroPhoto:nth-child(2) {
    right: 24px;
    top: 78px;
  }

  .heroPhoto:nth-child(3) {
    left: 40px;
    bottom: 52px;
  }

  .heroPhoto:nth-child(4) {
    right: 44px;
    bottom: 30px;
  }

  .heroDeal {
    right: 12px;
    width: 190px;
  }

  .productGrid,
  .supportStrip,
  .shopFooter,
  .promoGrid,
  .categoryGrid,
  .brandBand,
  .brandTiles,
  .researchSteps,
  .adminStats,
  .formRow,
  .specGrid {
    grid-template-columns: 1fr;
  }

  .section,
  .catalogToolbar,
  .catalogLayout,
  .detailPage,
  .cartPage,
  .supportStrip,
  .shopFooter,
  .adminMain {
    padding-left: 16px;
    padding-right: 16px;
  }

  .detailMedia {
    height: 340px;
  }

  .cartRow,
  .reviewItem,
  .jobRow {
    grid-template-columns: 1fr;
  }

  .adminHeader,
  .adminHeaderActions,
  .panelHeader {
    align-items: stretch;
    flex-direction: column;
  }
}

/* INEEDP marketplace and catalog manager refresh */
:root {
  --ink: #0f203d;
  --text: #152238;
  --muted: #637087;
  --teal: #1769ff;
  --teal-dark: #0f4fd8;
  --orange: #f28c18;
  --line: #dbe3ea;
  --surface: #f5f7f9;
}

body {
  color: var(--text);
}

button,
.headerSearch button,
.productCard button,
.adminHeaderActions button,
.adminFilterForm button,
.adminToolbarActions button,
.bulkActionBar button {
  border-radius: 5px;
  box-shadow: none;
}

.shopHeader {
  grid-template-columns: 220px minmax(320px, 1fr) minmax(210px, auto) minmax(100px, auto);
  gap: 24px;
  min-height: 86px;
  padding: 16px clamp(24px, 3.5vw, 56px);
  background: #ffffff;
  backdrop-filter: none;
}

.brand {
  gap: 10px;
}

.brandText {
  justify-items: center;
}

.brandMark,
.ineedpMark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.brandMarkImage {
  position: absolute;
  top: -16.7%;
  left: -16.94%;
  width: 133.87%;
  max-width: none;
}

.brandWordmark {
  position: relative;
  display: block;
  width: 126px;
  aspect-ratio: 3216 / 520;
  overflow: hidden;
}

.brandWordmark img {
  position: absolute;
  top: -65.39%;
  left: -3.48%;
  display: block;
  width: 106.97%;
  max-width: none;
}

.brandText small {
  margin-top: 3px;
  color: #526078;
  font-size: 10px;
}

.headerSearch {
  height: 54px;
  padding: 5px 5px 5px 16px;
  border-color: #cbd6df;
  border-radius: 5px;
}

.headerSearch:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(23, 105, 255, 0.1);
}

.headerSearch button {
  width: 58px;
  min-height: 42px;
  padding: 0;
  font-size: 0;
}

.headerSearch button::after {
  content: "";
  width: 19px;
  height: 19px;
  display: block;
  margin: auto;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 7px 7px 0 -5px #ffffff;
}

.headerActions {
  justify-content: flex-end;
}

.headerActions button {
  min-width: 92px;
  color: var(--ink);
  font-size: 15px;
}

.categoryNav {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  top: 86px;
  justify-content: center;
  gap: 0;
  padding: 0 clamp(24px, 3.5vw, 56px);
  background: #ffffff;
  scrollbar-width: none;
}

.categoryNav::-webkit-scrollbar {
  display: none;
}

.categoryNav button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 0 8px;
  color: #48566d;
  background: #ffffff;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  font-size: 13px;
}

.categoryNav button svg {
  width: 24px;
  height: 24px;
}

.categoryNav button.active,
.categoryNav button:hover {
  color: var(--teal);
  background: #ffffff;
  border-color: var(--teal);
}

.serviceHero {
  position: relative;
  display: block;
  min-height: clamp(480px, 43vw, 620px);
  overflow: hidden;
  padding: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

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

.serviceHero .heroCopy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(47%, 680px);
  min-height: clamp(480px, 43vw, 620px);
  margin-left: clamp(24px, 3.5vw, 56px);
}

.serviceHero .heroCopy h1 {
  margin: 0 0 22px;
  color: #071426;
  font-size: clamp(52px, 5vw, 72px);
  line-height: 1.03;
}

.serviceHero .heroCopy p {
  max-width: 430px;
  margin-bottom: 32px;
  color: #56647a;
  font-size: 20px;
}

.serviceHero .heroCopy button {
  width: fit-content;
  min-height: 50px;
  padding: 0 28px;
}

.categorySection {
  padding-top: 46px;
  padding-bottom: 56px;
}

.sectionHeader h2,
.brandBand h2 {
  color: var(--ink);
  font-size: clamp(28px, 3vw, 38px);
}

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

.categoryCard {
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 6px;
  cursor: pointer;
}

.categoryCard:hover {
  transform: translateY(-2px);
}

.categoryCardMedia {
  display: grid;
  height: 174px;
  place-items: center;
  overflow: hidden;
  background: #f5f7f9;
  border-bottom: 1px solid var(--line);
}

.categoryCardMedia img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.categoryFallback {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: var(--teal);
  border: 1px solid #c4d7ff;
  border-radius: 50%;
}

.categoryFallback svg {
  width: 34px;
  height: 34px;
}

.categoryCard > div:last-child {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 16px;
}

.categoryCard > div:last-child > span {
  display: grid;
  grid-row: span 2;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--teal);
  background: #edf3ff;
  border-radius: 5px;
}

.categoryCard > div:last-child > span svg {
  width: 20px;
  height: 20px;
}

.categoryCard h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
}

.categoryCard p {
  grid-column: 2;
  font-size: 13px;
}

.brandBand {
  grid-template-columns: 280px minmax(0, 1fr);
  padding: 38px clamp(24px, 3.5vw, 56px);
  color: var(--text);
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

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

.brandTiles button {
  min-height: 40px;
  padding: 0 15px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #ccd7e1;
  border-radius: 5px;
}

.brandTiles button:first-child,
.brandTiles button:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.shelfSection,
.catalogLayout,
.detailPage,
.cartPage {
  background: var(--surface);
}

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

.productCard {
  border-radius: 6px;
}

.productMedia {
  height: 270px;
}

.productInfo h3 {
  min-height: 44px;
  font-size: 17px;
  line-height: 1.3;
}

.adminShell {
  grid-template-columns: 216px minmax(0, 1fr);
  background: #f4f6f8;
}

.adminSide {
  padding: 18px 16px;
  background: #0c1a30;
}

.adminSide .brand {
  width: 100%;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px;
  background: #ffffff;
  border-radius: 5px;
}

.adminSide .brandMark {
  width: 34px;
  height: 34px;
}

.adminSide .brandWordmark {
  width: 100px;
}

.adminSide button:not(.brand) {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 5px;
  font-size: 14px;
}

.adminSide button.active {
  background: #223049;
}

.adminMain {
  padding: 24px 30px 40px;
}

.adminHeader {
  min-height: 58px;
  margin-bottom: 14px;
}

.adminHeader h1 {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 34px;
}

.adminHeader p {
  font-size: 14px;
}

.adminHeaderActions button {
  min-height: 40px;
  font-size: 13px;
}

.adminStats {
  overflow: hidden;
  gap: 0;
  margin-bottom: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.adminStats article {
  min-height: 88px;
  padding: 18px 22px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
}

.adminStats article:last-child {
  border-right: 0;
}

.adminStats strong {
  color: var(--ink);
  font-size: 26px;
}

.adminStats span {
  font-size: 13px;
}

.adminWorkspace {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.adminProductToolbar {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.adminFilterForm {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(130px, 0.75fr)) auto auto;
  gap: 10px;
  align-items: end;
}

.adminFilterForm label {
  display: grid;
  gap: 5px;
  color: #59677d;
  font-size: 11px;
  font-weight: 800;
}

.adminFilterForm input,
.adminFilterForm select,
.bulkActionBar select {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid #cbd6df;
  border-radius: 4px;
  outline: 0;
}

.adminFilterForm .adminSearch {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  padding-left: 36px;
  border: 1px solid #cbd6df;
  border-radius: 4px;
}

.adminSearch svg {
  position: absolute;
  left: 11px;
  width: 17px;
  height: 17px;
  color: #718096;
}

.adminSearch input {
  height: 38px;
  padding: 0;
  border: 0;
}

.adminFilterForm button,
.adminToolbarActions button {
  min-height: 40px;
  padding: 0 14px;
  font-size: 12px;
}

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

.adminCatalogManager {
  margin: 0;
  padding: 0;
  background: #ffffff;
  border: 0;
  border-radius: 0;
}

.bulkActionBar {
  display: flex;
  gap: 12px;
  align-items: end;
  padding: 12px 16px;
  color: #ffffff;
  background: var(--teal);
}

.bulkActionBar strong {
  align-self: center;
  min-width: 88px;
}

.bulkActionBar label {
  display: grid;
  gap: 3px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 800;
}

.bulkActionBar select {
  min-width: 150px;
  height: 34px;
  border: 0;
}

.bulkActionBar button {
  min-height: 34px;
  color: var(--teal);
  background: #ffffff;
  border-color: #ffffff;
  font-size: 12px;
}

.bulkActionBar .bulkClear {
  margin-left: auto;
  padding: 0 12px;
  color: #ffffff;
  background: transparent;
  border-color: transparent;
  font-size: 24px;
}

.adminTableWrap {
  overflow: auto;
}

.adminProductTable {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 12px;
}

.adminProductTable th {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 44px;
  padding: 0 10px;
  color: #5c6a80;
  background: #f8fafb;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.adminProductTable td {
  padding: 9px 10px;
  border-bottom: 1px solid #e5eaef;
  vertical-align: middle;
  white-space: nowrap;
}

.adminProductTable tr.selected td {
  background: #f1f5ff;
}

.selectCell {
  width: 42px;
  text-align: center !important;
}

.selectCell input {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
}

.adminProductIdentity {
  display: grid;
  grid-template-columns: 54px minmax(190px, 1fr);
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: left;
}

.adminProductIdentity > span:first-child {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  overflow: hidden;
  background: #f3f6f8;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.adminProductIdentity img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.adminProductIdentity > span:last-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.adminProductIdentity strong {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.adminProductIdentity small {
  color: #738096;
  font-size: 10px;
}

.missingImage {
  color: #8a96a8;
  font-size: 9px;
  text-align: center;
  white-space: normal;
}

.adminProductTable .status {
  display: inline-flex;
  min-width: 76px;
  justify-content: center;
}

.adminProductTable .tableActions {
  flex-wrap: nowrap;
  gap: 5px;
}

.adminProductTable .tableActions button {
  min-height: 30px;
  padding: 0 9px;
  border-radius: 4px;
  font-size: 10px;
}

.adminTableFooter {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 62px;
  padding: 10px 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.adminTableFooter .adminPagination {
  margin: 0;
}

.adminPagination button {
  min-width: 34px;
  min-height: 34px;
  padding: 0 9px;
  border-radius: 4px;
  font-size: 11px;
}

.editorBackdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  background: rgba(10, 22, 40, 0.35);
}

.productEditor {
  align-content: start;
  width: min(660px, 100vw);
  height: 100vh;
  overflow-y: auto;
  padding: 24px;
  background: #ffffff;
  border-radius: 0;
  box-shadow: -18px 0 60px rgba(15, 32, 61, 0.18);
}

.productEditorHeader {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 4px;
}

.productEditorHeader h2,
.productEditorHeader p {
  margin: 0;
}

.productEditorHeader p {
  color: var(--muted);
  font-size: 12px;
}

.editorClose {
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
  font-size: 22px;
}

.productEditor textarea {
  min-height: 110px;
  resize: vertical;
}

.editorWide,
.editorVariants,
.editorActions {
  grid-column: 1 / -1;
}

@media (max-width: 1280px) {
  .shopHeader {
    grid-template-columns: 190px minmax(260px, 1fr) minmax(190px, auto) auto;
    gap: 16px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .headerContact {
    min-width: 190px;
  }

  .headerContact a {
    font-size: 12px;
  }

  .categoryNav {
    display: flex;
    justify-content: flex-start;
  }

  .categoryNav button {
    padding: 0 18px;
  }

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

  .adminFilterForm {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .adminSearch {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .shopHeader {
    position: static;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    gap: 10px 16px;
    min-height: 0;
  }

  .shopHeader .brand {
    grid-row: 1;
    grid-column: 1;
  }

  .headerActions {
    grid-row: 1;
    grid-column: 2;
  }

  .headerContact {
    grid-row: 2;
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    min-width: 0;
  }

  .headerSearch {
    grid-row: 3;
    grid-column: 1 / -1;
    order: initial;
  }

  .categoryNav {
    top: 0;
  }

  .serviceHero .heroCopy {
    width: 60%;
  }

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

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

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

  .adminSide {
    position: static;
    display: flex;
    min-height: auto;
    overflow-x: auto;
    padding: 10px 14px;
  }

  .adminSide .brand {
    margin: 0 8px 0 0;
    padding: 0;
  }

  .adminSide button:not(.brand) {
    flex: 0 0 auto;
  }
}

@media (max-width: 680px) {
  .shopHeader {
    min-height: 0;
    padding: 12px 16px;
  }

  .headerContact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .brandMark,
  .ineedpMark {
    width: 38px;
    height: 38px;
  }

  .brandWordmark {
    width: 106px;
  }

  .headerActions button {
    min-width: 76px;
    padding: 0 6px;
  }

  .categoryNav {
    top: 0;
    padding: 0 12px;
  }

  .categoryNav button {
    min-height: 58px;
    padding: 0 14px;
  }

  .categoryNav button span {
    white-space: nowrap;
  }

  .serviceHero {
    display: grid;
    grid-template-rows: 310px 210px;
    min-height: 520px;
  }

  .serviceHero > img {
    position: relative;
    grid-row: 2;
    height: 210px;
    object-fit: cover;
    object-position: right center;
  }

  .serviceHero .heroCopy {
    grid-row: 1;
    width: calc(100% - 32px);
    min-height: 310px;
    margin: 0 16px;
    padding-top: 26px;
    align-content: start;
  }

  .serviceHero .heroCopy h1 {
    max-width: 440px;
    margin-bottom: 16px;
    font-size: 44px;
  }

  .serviceHero .heroCopy p {
    max-width: 300px;
    margin-bottom: 20px;
    font-size: 16px;
  }

  .productGrid,
  .categoryGrid {
    grid-template-columns: 1fr;
  }

  .categoryCard {
    display: grid;
    grid-template-columns: 130px 1fr;
  }

  .categoryCardMedia {
    height: 132px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .brandBand {
    padding: 30px 16px;
  }

  .adminMain {
    padding: 18px 12px 32px;
  }

  .adminHeader h1 {
    font-size: 30px;
  }

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

  .adminStats article:nth-child(2) {
    border-right: 0;
  }

  .adminStats article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

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

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

  .adminToolbarActions,
  .bulkActionBar,
  .adminTableFooter {
    align-items: stretch;
    flex-direction: column;
  }

  .bulkActionBar label,
  .bulkActionBar select {
    width: 100%;
  }

  .bulkActionBar .bulkClear {
    position: absolute;
    right: 10px;
  }

  .productEditor {
    padding: 18px;
  }
}

/* Keep workflow layout overrides after the shared storefront/admin rules. */
.cartPage .cartLayout {
  grid-template-columns: minmax(0, 1fr) minmax(400px, 470px);
  align-items: start;
}

.checkoutPanel.inquiryCheckout {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.adminWorkspace.inquiryWorkspace {
  overflow: visible;
}

.adminToolbarActions button,
.bulkActionBar .ghostButton {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.adminToolbarActions button svg,
.bulkActionBar .ghostButton svg {
  width: 16px;
  height: 16px;
}

.categoryCardMedia {
  position: relative;
  height: auto;
  min-height: 210px;
  aspect-ratio: 16 / 9;
  padding: 12px;
  background: #ffffff;
}

.categoryCardMedia img {
  position: absolute;
  inset: 12px;
  display: block;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: contain;
}

.inquiryToolbarActions,
.inquiryProductSummary,
.inquiryThumbStack,
.excelDownloadButton,
.inquiryItemMeta,
.inquiryItemPrice {
  display: flex;
  align-items: center;
}

.inquiryToolbarActions {
  gap: 14px;
}

.excelDownloadButton {
  min-height: 38px;
  gap: 7px;
  justify-content: center;
  padding: 8px 12px;
  color: #1769ff;
  background: #ffffff;
  border: 1px solid #b7ccff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.excelDownloadButton:hover {
  color: #ffffff;
  background: #1769ff;
  border-color: #1769ff;
}

.excelDownloadButton svg {
  width: 17px;
  height: 17px;
}

.inquiryProductSummary {
  min-width: 250px;
  gap: 12px;
}

.inquiryProductSummary > span:last-child {
  display: grid;
  gap: 3px;
}

.inquiryProductSummary small {
  max-width: 230px;
  color: #64748b;
  line-height: 1.35;
}

.inquiryThumbStack {
  flex: 0 0 auto;
  padding-left: 8px;
}

.inquiryThumbStack .inquiryItemThumb + .inquiryItemThumb {
  margin-left: -8px;
}

.inquiryItemThumb {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  overflow: hidden;
  place-items: center;
  background: #ffffff;
  border: 1px solid #d9e2e7;
  border-radius: 5px;
}

.inquiryItemThumb.small {
  width: 42px;
  height: 42px;
}

.inquiryItemThumb.detail {
  width: 76px;
  height: 76px;
}

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

.inquiryItemThumb img + .inquiryThumbFallback {
  display: none;
}

.inquiryThumbFallback {
  width: 100%;
  height: 100%;
  color: #1769ff;
  background: #f0f7f7;
  place-items: center;
}

.inquiryThumbFallback svg {
  width: 22px;
  height: 22px;
}

.inquiryItemList article {
  grid-template-columns: 76px minmax(0, 1fr) 58px 88px;
  gap: 14px;
  align-items: center;
}

.inquiryItemInfo {
  min-width: 0;
}

.inquiryItemInfo > strong,
.inquiryItemInfo > span,
.inquiryItemInfo > small {
  display: block;
}

.inquiryItemInfo > strong {
  margin-bottom: 4px;
}

.inquiryItemMeta {
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.inquiryItemMeta span {
  padding: 3px 6px;
  color: #526174;
  background: #eef3f5;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 750;
}

.inquiryItemInfo p {
  display: -webkit-box;
  margin: 8px 0 0;
  overflow: hidden;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.inquiryItemQty {
  color: #64748b;
  font-size: 12px;
  white-space: nowrap;
}

.inquiryItemPrice {
  align-items: flex-end;
  flex-direction: column;
  gap: 4px;
  white-space: nowrap;
}

.inquiryItemPrice small {
  color: #64748b;
  font-size: 10px;
}

@media (max-width: 1050px) {
  .cartPage .cartLayout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cartPage .cartRow {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .cartPage .cartRow .qtyControl,
  .cartPage .cartRow > strong {
    grid-column: 2;
  }

  .inquiryForm .inquiryFormRow,
  .inquiryCustomer dl {
    grid-template-columns: 1fr;
  }

  .categoryCardMedia {
    height: 132px;
    min-height: 132px;
    aspect-ratio: auto;
    padding: 8px;
  }

  .categoryCardMedia img {
    inset: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
  }

  .inquiryAdminToolbar,
  .inquiryToolbarActions {
    align-items: stretch;
  }

  .inquiryToolbarActions {
    flex-direction: column;
  }

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

  .inquiryItemThumb.detail {
    width: 64px;
    height: 64px;
  }

  .inquiryItemQty,
  .inquiryItemPrice {
    grid-column: 2;
  }

  .inquiryItemPrice {
    align-items: flex-start;
  }
}
