:root {
  --school-ink: #1f2933;
  --school-muted: #657386;
  --school-line: #d8e0e8;
  --school-soft: #f6f8fb;
  --school-panel: #ffffff;
  --school-action: #0f6f5c;
  --school-action-dark: #0b5849;
  --school-accent: #b7791f;
}

.site-header {
  border-bottom: 1px solid var(--school-line);
}

.site-branding .site-title a {
  color: var(--school-ink);
  font-weight: 800;
}

.site-header-cart,
.storefront-handheld-footer-bar {
  display: none !important;
}

body.school-fullwidth .content-area {
  float: none;
  width: 100%;
  margin-right: 0;
}

body.school-fullwidth .widget-area,
body.school-fullwidth .storefront-breadcrumb,
body.school-fullwidth .entry-header {
  display: none;
}

body.school-fullwidth .site-main {
  margin-bottom: 0;
}

body.school-fullwidth {
  overflow-x: hidden;
}

.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border-radius: 6px;
}

.school-inquiry-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  border-radius: 6px;
  white-space: nowrap;
}

.school-inquiry-add.is-added {
  background: #167044;
  border-color: #167044;
  color: #fff;
}

.school-floating-inquiry {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px 0 18px;
  border: 1px solid rgba(15, 111, 92, 0.24);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(31, 41, 51, 0.18);
  color: var(--school-ink);
  font-weight: 700;
  text-decoration: none;
}

.school-floating-inquiry strong {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--school-action);
  color: #fff;
  font-size: 13px;
}

.school-finder {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  color: var(--school-ink);
}

.school-finder-panel {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--school-line);
  border-radius: 8px;
  background: var(--school-panel);
}

.school-finder-group {
  display: grid;
  gap: 7px;
}

.school-finder-group label,
.school-finder-check {
  color: #354455;
  font-weight: 700;
}

.school-finder-group input,
.school-finder-group select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  padding: 8px 10px;
  background: #fff;
  color: var(--school-ink);
  font: inherit;
}

.school-finder-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.35;
}

.school-finder-check input {
  margin-top: 3px;
}

.school-finder-reset {
  width: 100%;
}

.school-finder-results {
  min-width: 0;
}

.school-finder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--school-line);
  border-radius: 8px;
  background: var(--school-soft);
}

.school-finder-head strong {
  display: block;
  color: var(--school-ink);
  font-size: 18px;
}

.school-finder-head span {
  color: var(--school-muted);
}

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

.school-product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--school-line);
  border-radius: 8px;
  background: #fff;
}

.school-product-card[hidden] {
  display: none;
}

.school-product-card-image {
  display: block;
  aspect-ratio: 4 / 3;
  background: #f3f6f8;
}

.school-product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.school-product-card-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.school-product-card-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 24px;
}

.school-product-card-kicker span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 7px;
  border: 1px solid #d4ded8;
  border-radius: 999px;
  color: #315f50;
  font-size: 12px;
  line-height: 1;
}

.school-product-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.school-product-card h3 a {
  color: var(--school-ink);
  text-decoration: none;
}

.school-product-card dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.school-product-card dl div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px;
}

.school-product-card dt {
  color: var(--school-muted);
  font-weight: 700;
}

.school-product-card dd {
  margin: 0;
  color: var(--school-ink);
}

.school-product-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.school-product-card-actions .school-inquiry-add {
  flex: 1;
}

.school-product-card-actions a {
  color: var(--school-action-dark);
  font-weight: 700;
}

.school-finder-empty {
  padding: 34px;
  border: 1px dashed #b9c6d3;
  border-radius: 8px;
  background: #fbfdff;
  text-align: center;
  color: var(--school-muted);
}

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

.school-product-procurement-panel div {
  padding: 12px;
  border: 1px solid var(--school-line);
  border-radius: 8px;
  background: var(--school-soft);
}

.school-product-procurement-panel span {
  display: block;
  margin-bottom: 4px;
  color: var(--school-muted);
  font-size: 13px;
  font-weight: 700;
}

.school-product-procurement-panel strong {
  color: var(--school-ink);
  font-size: 15px;
}

.school-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.school-spec-table th,
.school-spec-table td {
  padding: 12px;
  border: 1px solid var(--school-line);
  text-align: left;
  vertical-align: top;
}

.school-spec-table th {
  width: 170px;
  background: var(--school-soft);
  color: #354455;
}

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

.school-related-products a {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--school-line);
  border-radius: 8px;
  color: var(--school-ink);
  text-decoration: none;
}

.school-related-products span {
  color: var(--school-muted);
  font-size: 13px;
}

.school-home-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 560px;
  margin: -2.617924em calc(50% - 50vw) 38px;
  padding: 80px max(24px, calc((100vw - 1120px) / 2)) 54px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.82), rgba(17, 24, 39, 0.34)),
    var(--hero-image) center / cover no-repeat;
}

.school-home-hero > div {
  max-width: 760px;
}

.school-home-hero p {
  max-width: 620px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.school-home-hero .school-home-eyebrow {
  margin-bottom: 12px;
  color: #d6eadf;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.school-home-hero h1 {
  max-width: 720px;
  margin: 0 0 18px;
  color: #fff;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: 0;
}

.school-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.school-home-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.school-home-actions a:first-child {
  background: #fff;
  color: var(--school-ink);
}

.school-home-actions a:last-child {
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: #fff;
}

.school-home-band {
  box-sizing: border-box;
  margin: 0 calc(50% - 50vw);
  padding: 34px max(24px, calc((100vw - 1120px) / 2));
}

.school-home-band.school-home-muted {
  background: var(--school-soft);
}

.school-home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.school-home-section-head h2 {
  margin: 0;
  color: var(--school-ink);
  font-size: 28px;
}

.school-home-section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--school-muted);
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
}

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

.school-home-stats div,
.school-home-channel,
.school-home-step {
  border: 1px solid var(--school-line);
  border-radius: 8px;
  background: #fff;
}

.school-home-stats div {
  padding: 16px;
}

.school-home-stats strong {
  display: block;
  color: var(--school-ink);
  font-size: 26px;
}

.school-home-stats span {
  color: var(--school-muted);
  font-weight: 700;
}

.school-home-channels,
.school-home-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.school-home-channel {
  display: grid;
  gap: 10px;
  padding: 16px;
  color: var(--school-ink);
  text-decoration: none;
}

.school-home-channel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  background: #f3f6f8;
}

.school-home-channel strong {
  font-size: 18px;
}

.school-home-channel span {
  color: var(--school-muted);
}

.school-home-step {
  padding: 16px;
}

.school-home-step span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #e5f3ee;
  color: var(--school-action-dark);
  font-weight: 800;
}

.school-home-step strong {
  display: block;
  margin-bottom: 6px;
  color: var(--school-ink);
}

.school-home-step p {
  margin: 0;
  color: var(--school-muted);
}

.school-selection-shell {
  padding: 34px 0;
}

.school-inquiry-page {
  color: var(--school-ink);
}

.school-inquiry-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid var(--school-line);
  border-radius: 8px;
  background: var(--school-soft);
}

.school-inquiry-toolbar h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.school-inquiry-toolbar p {
  margin: 0;
  color: var(--school-muted);
}

.school-inquiry-summary {
  margin-top: 8px !important;
  color: var(--school-action-dark) !important;
  font-weight: 700;
}

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

.school-inquiry-document-meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}

.school-inquiry-document-meta:empty {
  display: none;
}

.school-inquiry-document-meta div {
  padding: 10px;
  border: 1px solid var(--school-line);
  border-radius: 8px;
  background: #fff;
}

.school-inquiry-document-meta span {
  display: block;
  color: var(--school-muted);
  font-size: 12px;
  font-weight: 700;
}

.school-inquiry-document-meta strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--school-ink);
}

.school-inquiry-empty {
  padding: 28px;
  border: 1px dashed #b9c6d3;
  border-radius: 8px;
  background: #fbfdff;
  text-align: center;
  color: #667587;
}

.school-inquiry-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--school-line);
  border-radius: 8px;
  background: #fff;
}

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

.school-inquiry-table th,
.school-inquiry-table td {
  padding: 11px 10px;
  border-bottom: 1px solid #e5ebf0;
  vertical-align: middle;
  text-align: left;
}

.school-inquiry-table th {
  background: #263744;
  color: #fff;
  font-weight: 700;
}

.school-inquiry-table input {
  width: 100%;
  min-width: 74px;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  padding: 7px 8px;
}

.school-inquiry-table input[type="number"] {
  max-width: 90px;
}

.school-inquiry-form {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--school-line);
  border-radius: 8px;
  background: #fff;
}

.school-inquiry-form h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

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

.school-inquiry-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.school-inquiry-form input,
.school-inquiry-form textarea {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  padding: 9px 10px;
  font: inherit;
}

.school-inquiry-wide {
  grid-column: 1 / -1;
}

.school-inquiry-status {
  margin-left: 12px;
  color: #167044;
}

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

  .school-finder-panel {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .school-finder-check,
  .school-finder-reset {
    align-self: end;
  }

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

  .school-inquiry-document-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .school-home-stats,
  .school-home-channels,
  .school-home-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header .site-branding {
    max-width: calc(100% - 72px);
  }

  .site-header .col-full {
    position: relative;
    box-sizing: border-box;
    padding-right: 72px;
  }

  .site-branding .site-title {
    font-size: 25px;
    line-height: 1.12;
  }

  .site-branding .site-title a {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  button.menu-toggle {
    position: absolute;
    top: 28px;
    right: 24px;
    margin: 0;
  }

  body.school-fullwidth .site-content,
  body.school-fullwidth .school-selection-shell,
  body.school-fullwidth .school-finder {
    max-width: 100%;
    overflow-x: hidden;
  }

  .school-floating-inquiry {
    right: 16px;
    left: 16px;
    bottom: 14px;
    justify-content: center;
    width: auto;
    min-height: 42px;
    padding: 0 11px 0 14px;
    border-radius: 8px;
    font-size: 14px;
  }

  .school-finder-panel,
  .school-finder-grid,
  .school-related-products,
  .school-product-procurement-panel {
    grid-template-columns: 1fr;
  }

  .school-finder-head {
    display: grid;
  }

  .school-product-card-actions {
    align-items: stretch;
  }

  .school-inquiry-toolbar {
    display: block;
  }

  .school-inquiry-actions {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .school-inquiry-document-meta {
    grid-template-columns: 1fr;
  }

  .school-inquiry-form-grid {
    grid-template-columns: 1fr;
  }

  .school-inquiry-status {
    display: block;
    margin: 10px 0 0;
  }

  .school-home-hero {
    min-height: 520px;
    padding-top: 62px;
    padding-bottom: 34px;
  }

  .school-home-hero h1 {
    font-size: 36px;
  }

  .school-home-hero p {
    font-size: 16px;
  }

  .school-home-section-head {
    display: grid;
  }

  .school-home-section-head p {
    width: 320px;
    max-width: 100%;
    line-height: 1.65;
  }

  .school-home-stats,
  .school-home-channels,
  .school-home-steps {
    grid-template-columns: 1fr;
  }
}

@media print {
  body * {
    visibility: hidden;
  }

  .school-inquiry-page,
  .school-inquiry-page * {
    visibility: visible;
  }

  .school-inquiry-page {
    position: absolute;
    inset: 0;
    width: 100%;
    background: #fff;
  }

  .school-floating-inquiry,
  .school-inquiry-actions,
  .school-inquiry-form,
  .button-link-delete {
    display: none !important;
  }

  .school-inquiry-toolbar,
  .school-inquiry-table-wrap,
  .school-inquiry-document-meta div {
    border-color: #aeb8c2;
    background: #fff;
  }

  .school-inquiry-table {
    min-width: 0;
  }
}
