.lek-catalog-page {
  background: #fff;
}

.lek-catalog-page *,
.lek-catalog-page *::before,
.lek-catalog-page *::after,
.lek-product-dialog *,
.lek-product-dialog *::before,
.lek-product-dialog *::after {
  box-sizing: border-box;
}

.lek-catalog-hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 10, 13, 0.9), rgba(7, 10, 13, 0.3)),
    url("./customer-use/shop-floor-tooling.webp") center / cover no-repeat;
  color: #fff;
  display: flex;
  min-height: 390px;
  padding: 70px 20px;
}

.lek-catalog-hero__inner,
.lek-catalog-shell {
  margin: 0 auto;
  max-width: 1240px;
  width: 100%;
}

.lek-catalog-hero h1 {
  color: #fff;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 58px;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 20px;
  max-width: 760px;
  text-transform: uppercase;
}

.lek-catalog-hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
  max-width: 720px;
}

.lek-catalog-shell {
  padding: 62px 20px 82px;
}

.lek-catalog-toolbar {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 24px;
}

.lek-catalog-search {
  display: grid;
  gap: 8px;
  max-width: 680px;
}

.lek-catalog-search span {
  color: #272b30;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.lek-catalog-search input {
  background: #fff;
  border: 1px solid #d9dde1;
  border-radius: 0;
  color: #151719;
  font: inherit;
  height: 50px;
  padding: 0 16px;
  width: 100%;
}

.lek-catalog-search input:focus {
  border-color: var(--lek-blue, #066aa7);
  box-shadow: 0 0 0 3px rgba(6, 106, 167, 0.12);
  outline: none;
}

.lek-catalog-result {
  align-items: baseline;
  display: flex;
  gap: 7px;
  justify-content: flex-end;
  white-space: nowrap;
}

.lek-catalog-result strong {
  color: var(--lek-blue, #066aa7);
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 34px;
}

.lek-catalog-result span {
  color: #6b7076;
  font-size: 14px;
}

.lek-catalog-tabs {
  border-bottom: 1px solid #dfe2e5;
  display: flex;
  gap: 2px;
  margin-bottom: 34px;
  overflow-x: auto;
}

.lek-catalog-tabs button {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: #4b5056;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  min-height: 50px;
  padding: 0 14px;
}

.lek-catalog-tabs button strong {
  background: #eceff1;
  color: #5f656b;
  font-size: 11px;
  min-width: 24px;
  padding: 3px 6px;
}

.lek-catalog-tabs button.is-active,
.lek-catalog-tabs button:hover {
  border-bottom-color: var(--lek-blue, #066aa7);
  color: #151719;
}

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

.lek-product-card {
  background: #fff;
  border: 1px solid #e0e3e6;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.lek-product-card:hover {
  border-color: #bcc1c6;
  box-shadow: 0 14px 32px rgba(14, 17, 20, 0.09);
  transform: translateY(-3px);
}

.lek-product-card__media {
  align-items: center;
  aspect-ratio: 1 / 1;
  background: #f4f5f6;
  border: 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 14px;
  width: 100%;
}

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

.lek-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.lek-product-card__category {
  color: var(--lek-blue, #066aa7);
  display: block;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.lek-product-card h2 {
  color: #151719;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.42;
  margin: 0 0 18px;
}

.lek-product-card__meta {
  align-items: center;
  color: #73787e;
  display: flex;
  font-size: 12px;
  gap: 10px;
  justify-content: space-between;
  margin-top: auto;
}

.lek-product-card__meta strong {
  color: #2d3135;
  font-size: 12px;
}

.lek-product-card__action {
  background: #151719;
  border: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  margin-top: 16px;
  min-height: 42px;
  padding: 0 16px;
  text-transform: uppercase;
  width: 100%;
}

.lek-product-card__action:hover {
  background: var(--lek-blue, #066aa7);
}

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

.lek-catalog-pagination button {
  background: #151719;
  border: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  min-height: 42px;
  padding: 0 20px;
  text-transform: uppercase;
}

.lek-catalog-pagination button:disabled {
  background: #d7dadd;
  cursor: default;
}

.lek-catalog-pagination span {
  color: #5f646a;
  font-size: 14px;
}

.lek-catalog-empty {
  border: 1px solid #e0e3e6;
  grid-column: 1 / -1;
  padding: 64px 24px;
  text-align: center;
}

.lek-catalog-empty h2 {
  font-size: 25px;
  margin: 0 0 8px;
}

.lek-catalog-empty p {
  color: #6b7076;
  margin: 0;
}

.lek-product-dialog {
  border: 0;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  max-height: min(760px, calc(100vh - 40px));
  max-width: 980px;
  padding: 0;
  width: calc(100% - 40px);
}

.lek-product-dialog::backdrop {
  background: rgba(6, 8, 10, 0.72);
}

.lek-product-dialog__close {
  align-items: center;
  background: #151719;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 28px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 0;
  top: 0;
  width: 44px;
  z-index: 2;
}

.lek-product-dialog__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.lek-product-dialog__media {
  align-items: center;
  background: #f3f5f6;
  display: flex;
  justify-content: center;
  min-height: 520px;
  padding: 36px;
}

.lek-product-dialog__media img {
  display: block;
  height: auto;
  max-height: 440px;
  max-width: 100%;
  object-fit: contain;
}

.lek-product-dialog__content {
  padding: 52px 42px 42px;
}

.lek-product-dialog__content h2 {
  color: #151719;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 34px;
  letter-spacing: 0;
  line-height: 1.16;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.lek-product-dialog__content > p {
  color: #686d73;
  line-height: 1.7;
  margin: 0 0 24px;
}

.lek-product-specs {
  border-top: 1px solid #e1e4e6;
  margin: 0;
}

.lek-product-spec {
  border-bottom: 1px solid #e1e4e6;
  display: grid;
  gap: 16px;
  grid-template-columns: 120px minmax(0, 1fr);
  padding: 11px 0;
}

.lek-product-spec dt {
  color: #777c82;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.lek-product-spec dd {
  color: #25292d;
  font-size: 14px;
  margin: 0;
  overflow-wrap: anywhere;
}

.lek-product-dialog__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 6px;
}

.lek-product-dialog__contact {
  color: #151719;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

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

@media (max-width: 767px) {
  .lek-catalog-hero {
    min-height: 340px;
    padding: 52px 20px;
  }

  .lek-catalog-hero h1 {
    font-size: 40px;
  }

  .lek-catalog-shell {
    padding: 42px 16px 64px;
  }

  .lek-catalog-toolbar {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .lek-catalog-result {
    justify-content: flex-start;
  }

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

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

  .lek-product-dialog__media {
    min-height: 280px;
    padding: 28px;
  }

  .lek-product-dialog__media img {
    max-height: 250px;
  }

  .lek-product-dialog__content {
    padding: 34px 24px 28px;
  }

  .lek-product-dialog__content h2 {
    font-size: 27px;
  }
}

@media (max-width: 480px) {
  .lek-product-grid {
    grid-template-columns: 1fr;
  }

  .lek-catalog-pagination {
    gap: 10px;
  }

  .lek-catalog-pagination button {
    padding: 0 13px;
  }
}
