html {
  scroll-behavior: smooth;
  --site-header-height: 4rem;
}

.site-header {
  background: rgb(255 255 255 / 0.96);
  border-bottom: 1px solid #e4e4e7;
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 80rem;

  height: 4rem;
  min-height: 4rem;
  padding: 0 1rem;
}

.site-brand {
  flex: 0 0 auto;
  line-height: 0;
  width: 13rem;
}

.site-brand img {
  display: block;
  height: 3.5em;
  max-height: 3.5rem;
  object-fit: contain;
  object-position: left center;
  width: 100%;
}

.site-nav {
  align-items: center;
  color: #3f3f46;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 1rem;
  justify-content: flex-end;
}

.site-nav-link:hover,
.site-nav-link.is-active {
  color: var(--project-accent, #2563eb);
}

.site-header-mobile-actions {
  display: none;
}

.site-menu-toggle {
  align-items: center;
  background: #fff;
  border: 1px solid #d4d4d8;
  border-radius: 0.375rem;
  color: var(--project-background, #111827);
  display: inline-flex;
  height: 2.375rem;
  justify-content: center;
  width: 2.375rem;
}

.site-menu-toggle:hover {
  background: #f4f4f5;
}

.site-menu-toggle svg {
  fill: none;
  height: 1.125rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1.125rem;
}

.header-call-button {
  align-items: center;
  background: var(--project-accent, #2563eb);
  border-radius: 0.375rem;
  color: #fff;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 800;
  gap: 0.5rem;
  min-height: 2.375rem;
  padding: 0.5rem 0.75rem;
  transition: background-color 0.15s ease;
}

.header-call-button:hover {
  background: var(--project-accent-hover, #1d4ed8);
}

.header-call-button svg {
  fill: none;
  flex: 0 0 auto;
  height: 1rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1rem;
}

.header-call-button-mobile {
  height: 2.375rem;
  justify-content: center;
  min-height: 2.375rem;
  min-width: 2.375rem;
  padding: 0;
  width: 2.375rem;
}

@media (max-width: 1279px) {
  .site-header-inner {
    position: relative;
  }

  .site-brand {
    max-width: calc(100vw - 9rem);
    width: 10.5rem;
  }

  .site-brand img {
    height: 3rem;
    max-height: 3rem;
  }

  .site-header-mobile-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 0.5rem;
  }

  .site-nav {
    background: var(--project-background, #111827);
    border: 1px solid #27272a;
    border-radius: 0.5rem;
    box-shadow: 0 1rem 2rem rgb(24 24 27 / 0.24);
    color: #fff;
    display: none;
    gap: 0;
    grid-template-columns: 1fr;
    min-width: 13rem;
    padding: 0.375rem;
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.5rem);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav-link,
  .site-nav > a,
  .site-nav form,
  .site-nav form button {
    color: #fff;
    min-height: 2.75rem;
    text-align: left;
    width: 100%;
  }

  .site-nav-link,
  .site-nav > a {
    align-items: center;
    border-radius: 0.375rem;
    display: flex;
    padding: 0.75rem 0.875rem;
  }

  .site-nav-link:hover,
  .site-nav-link.is-active,
  .site-nav > a:hover {
    background: #27272a;
    color: #fff;
  }

  .site-nav > a.rounded-md {
    background: var(--project-accent, #2563eb);
    border-radius: 0.375rem;
    justify-content: center;
    margin-top: 0.25rem;
    padding: 0.75rem 0.875rem;
  }

  .site-nav form button {
    border-color: #3f3f46;
    justify-content: center;
    margin-top: 0.25rem;
    padding: 0.75rem 0.875rem;
  }

  .site-nav form button:hover {
    background: #27272a;
  }

  .header-call-button-desktop {
    display: none !important;
  }
}

.feedback-modal[hidden] {
  display: none;
}

.feedback-modal {
  align-items: center;
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 1rem;
  position: fixed;
  z-index: 80;
}

.feedback-modal-backdrop {
  background: rgb(24 24 27 / 0.62);
  border: 0;
  cursor: pointer;
  inset: 0;
  position: absolute;
}

.feedback-box-modal {
  margin: 0;
  max-width: 30rem;
  position: relative;
  width: min(100%, 30rem);
  z-index: 1;
}

.feedback-modal-close {
  align-items: center;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  border-radius: 0.375rem;
  color: #3f3f46;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 2rem;
}

.feedback-modal-close:hover {
  background: #e4e4e7;
  color: var(--project-background, #111827);
}

.feedback-modal-close svg {
  fill: none;
  height: 1rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1rem;
}

.privacy-modal[hidden] {
  display: none;
}

.privacy-modal {
  align-items: center;
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 1rem;
  position: fixed;
  z-index: 95;
}

.privacy-modal-backdrop {
  background: rgb(24 24 27 / 0.66);
  border: 0;
  cursor: pointer;
  inset: 0;
  position: absolute;
}

.privacy-modal-card {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 0.75rem;
  box-shadow: 0 1.5rem 4rem rgb(24 24 27 / 0.28);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: min(84vh, 52rem);
  max-width: 58rem;
  overflow: hidden;
  position: relative;
  width: min(100%, 58rem);
  z-index: 1;
}

.privacy-modal-head {
  align-items: center;
  border-bottom: 1px solid #e4e4e7;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem 1.125rem;
}

.privacy-modal-head h2 {
  color: var(--project-background, #111827);
  font-size: 1.125rem;
  font-weight: 850;
  line-height: 1.2;
  margin: 0;
}

.privacy-modal-close {
  align-items: center;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  border-radius: 0.375rem;
  color: #3f3f46;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 2.25rem;
  justify-content: center;
  width: 2.25rem;
}

.privacy-modal-close:hover,
.privacy-modal-close:focus-visible {
  background: #e4e4e7;
  color: var(--project-background, #111827);
}

.privacy-modal-close svg {
  fill: none;
  height: 1rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1rem;
}

.privacy-modal-body {
  overflow-y: auto;
  padding: 1.25rem;
}

.has-feedback-modal {
  overflow: hidden;
}

.has-privacy-modal {
  overflow: hidden;
}

.feedback-success-modal {
  align-items: center;
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 1rem;
  position: fixed;
  z-index: 90;
}

.feedback-success-backdrop {
  background: rgb(24 24 27 / 0.66);
  border: 0;
  cursor: pointer;
  inset: 0;
  position: absolute;
}

.feedback-success-card {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 0.5rem;
  box-shadow: 0 1.5rem 4rem rgb(24 24 27 / 0.24);
  display: grid;
  justify-items: center;
  max-width: 28rem;
  padding: 2rem;
  position: relative;
  text-align: center;
  width: min(100%, 28rem);
  z-index: 1;
}

.feedback-success-icon {
  align-items: center;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 999px;
  color: #15803d;
  display: inline-flex;
  height: 4rem;
  justify-content: center;
  margin-bottom: 1.125rem;
  width: 4rem;
}

.feedback-success-icon svg {
  fill: none;
  height: 2rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  width: 2rem;
}

.feedback-success-card p {
  color: var(--project-accent, #2563eb);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.feedback-success-card h2 {
  color: var(--project-background, #111827);
  font-size: 1.625rem;
  font-weight: 850;
  line-height: 1.15;
  margin: 0;
}

.feedback-success-card span {
  color: #5f5852;
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-top: 0.875rem;
}

.feedback-success-card button {
  background: var(--project-accent, #2563eb);
  border: 1px solid var(--project-accent, #2563eb);
  border-radius: 0.375rem;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 850;
  margin-top: 1.5rem;
  min-height: 2.75rem;
  min-width: 9rem;
  padding: 0.75rem 1.25rem;
}

.feedback-success-card button:hover,
.feedback-success-card button:focus-visible {
  background: var(--project-accent-hover, #1d4ed8);
  border-color: var(--project-accent-hover, #1d4ed8);
}

.home-page {
  background: #f4f4f5;
  color: var(--project-background, #111827);
}

.home-hero {
  background: var(--project-background, #111827);
  border-bottom: 1px solid #e4e4e7;
  min-height: calc(100vh - 4.5rem);
  overflow: hidden;
  position: relative;
}

.home-hero::after {
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.78) 0%, rgb(0 0 0 / 0.62) 36%, rgb(0 0 0 / 0.28) 68%, rgb(0 0 0 / 0.1) 100%),
    linear-gradient(180deg, rgb(0 0 0 / 0.15), rgb(0 0 0 / 0.42));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.home-hero__inner {
  align-items: center;
  display: flex;
  margin: 0 auto;
  max-width: 80rem;
  min-height: calc(100vh - 4.5rem);
  padding: 5rem 1rem;
  position: relative;
  z-index: 2;
}

.home-hero__copy {
  max-width: 52rem;
  min-width: 0;
}

.home-eyebrow {
  color: #fca5a5;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.home-hero h1,
.home-section h2,
.home-cta h2 {
  letter-spacing: 0;
  margin: 0;
}

.home-hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  font-weight: 850;
  line-height: 1.04;
  max-width: 13em;
}

.home-lead {
  color: #e4e4e7;
  font-size: 1.125rem;
  line-height: 1.75;
  margin: 1.5rem 0 0;
  max-width: 45rem;
}

.home-slider-media {
  inset: 0;
  position: absolute;
  z-index: 0;
}

.home-slide {
  display: block;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  position: absolute;
  transition: opacity 0.35s ease;
  width: 100%;
}

.home-slide.is-active {
  opacity: 1;
}

.home-slider-dots {
  bottom: 2rem;
  display: flex;
  gap: 0.5rem;
  left: 1rem;
  position: absolute;
  z-index: 2;
}

.home-slider-dots button {
  background: rgb(255 255 255 / 0.52);
  border: 0;
  border-radius: 999px;
  height: 0.625rem;
  padding: 0;
  width: 0.625rem;
}

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

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.home-button {
  align-items: center;
  border-radius: 0.375rem;
  display: inline-flex;
  font-size: 0.9375rem;
  font-weight: 800;
  justify-content: center;
  min-height: 3rem;
  min-width: 10rem;
  padding: 0.75rem 1.125rem;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.home-button--primary {
  background: var(--project-accent, #2563eb);
  color: #fff;
}

.home-button--primary:hover {
  background: var(--project-accent-hover, #1d4ed8);
}

.home-button--secondary {
  background: rgb(255 255 255 / 0.92);
  border: 1px solid rgb(255 255 255 / 0.52);
  color: var(--project-background, #111827);
}

.home-button--secondary:hover {
  background: #f4f4f5;
}

.home-summary {
  background: var(--project-background, #111827);
}

.home-stats {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 80rem;
  padding: 0 1rem;
}

.home-stats div {
  background: #27272a;
  padding: 1.25rem;
}

.home-stats dt {
  color: #fff;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.2;
}

.home-stats dd {
  color: #d4d4d8;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0.5rem 0 0;
}

.home-section,
.home-cta {
  margin: 0 auto;
  max-width: 80rem;
  padding: 3.5rem 1rem;
}



.home-section--tight {
  padding-top: 3rem;
}

.home-section__head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  max-width: 45rem;
}

.home-section h2,
.home-cta h2 {
  color: var(--project-background, #111827);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 850;
  line-height: 1.05;
}

.home-category-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-category {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgb(24 24 27 / 0.04);
  display: grid;
  min-height: 22rem;
  overflow: hidden;
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.home-category:hover {
  border-color: #fca5a5;
  box-shadow: 0 0.75rem 1.5rem rgb(24 24 27 / 0.06);
  transform: translateY(-2px);
}

.home-category-media {
  aspect-ratio: 4 / 3;
  background: #f4f4f5;
  display: grid;
  gap: 0.375rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0.375rem;
}

.home-category-thumb {
  background: #e4e4e7;
  border-radius: 0.375rem;
  display: block;
  min-height: 0;
  overflow: hidden;
}

.home-category-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
  width: 100%;
}

.home-category:hover .home-category-thumb img {
  transform: scale(1.03);
}

.home-category-index {
  background: var(--project-background, #111827);
  border-radius: 999px;
  color: var(--project-accent-soft, #3b82f6);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 850;
  left: 1rem;
  line-height: 1;
  padding: 0.5rem 0.625rem;
  position: absolute;
  top: 1rem;
  z-index: 1;
}

.home-category-content {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.home-category h3 {
  color: var(--project-background, #111827);
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1.2;
  margin: 0;
}

.home-category ul {
  display: grid;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-category li {
  color: #3f3f46;
  font-size: 0.875rem;
  line-height: 1.35;
  overflow: hidden;
  padding-left: 1rem;
  position: relative;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-category li::before {
  background: var(--project-accent-soft, #3b82f6);
  border-radius: 999px;
  content: "";
  height: 0.375rem;
  left: 0;
  position: absolute;
  top: 0.45rem;
  width: 0.375rem;
}

.home-category p,
.home-split p,
.home-process p {
  color: #52525b;
  line-height: 1.65;
  margin: 0;
}

.home-split {
  align-items: start;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.home-split > div:first-child {
  display: grid;
  gap: 1.25rem;
}

.home-process {
  background: var(--project-background, #111827);
  border-radius: 0.75rem;
  color: #fff;
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.home-process div {
  background: linear-gradient(135deg, #27272a, #3f3f46);
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 3rem minmax(0, 1fr);
  padding: 1.25rem;
}

.home-process span {
  align-items: center;
  background: var(--project-accent-soft, #3b82f6);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 850;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.home-process h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 850;
  margin: 0;
}

.home-process p {
  color: #d4d4d8;
  grid-column: 2;
}

.home-cta {
  align-items: center;
  background: var(--project-background, #111827);
  border: 1px solid #27272a;
  border-radius: 0.5rem;
  color: #fff;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 0;
  padding: 2rem;
}

.home-cta h2 {
  color: #fff;
}

.home-cta p {
  color: #d4d4d8;
  line-height: 1.55;
  margin: 0.75rem 0 0;
  max-width: 36rem;
}

.home-cta .home-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.site-footer {
  background: var(--project-background, #111827);
  color: #d4d4d8;
  padding: 4rem 1rem 1.5rem;
  margin-top: 1.5rem;
}

.site-footer-inner {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(10rem, 0.5fr));
  margin: 0 auto;
  max-width: 80rem;
}

.site-footer-brand {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
}

.site-footer-logo {
  background: #fff;
  border-radius: 0.5rem;
  display: inline-flex;
  line-height: 0;
  padding: 0.5rem 0.75rem;
  width: min(13rem, 100%);
}

.site-footer-logo img {
  display: block;
  height: auto;
  width: 100%;
}

.site-footer-brand p {
  line-height: 1.65;
  margin: 0;
}

.site-footer-call {
  align-items: center;
  background: var(--project-accent-soft, #3b82f6);
  border-radius: 0.375rem;
  color: #fff;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 800;
  justify-content: center;
  min-height: 2.625rem;
  padding: 0.625rem 1rem;
  width: fit-content;
}

.site-footer-call:hover {
  background: var(--project-accent, #2563eb);
}

.site-footer-nav {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.site-footer-nav h2 {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 0.25rem;
  text-transform: uppercase;
}

.site-footer-nav a {
  color: #d4d4d8;
  font-size: 0.9375rem;
}

.site-footer-nav a.site-footer-subnav {
  color: #a1a1aa;
  font-size: 0.875rem;
  padding-left: 0.75rem;
}

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

.site-footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  margin: 3rem auto 0;
  max-width: 80rem;
  padding-top: 1.25rem;
}

.site-footer-bottom a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer-bottom a:hover {
  color: #fecaca;
}

.btn {
  align-items: center;
  border-radius: 0.375rem;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  justify-content: center;
  min-height: 2.5rem;
  min-width: 8.5rem;
  padding: 0.625rem 1rem;
  text-align: center;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--project-background, #111827);
  color: #fff;
}

.btn-primary:hover {
  background: #27272a;
}

.btn-secondary {
  background: #fff;
  border: 1px solid #d4d4d8;
  color: #3f3f46;
}

.btn-secondary:hover {
  background: #f4f4f5;
}

.btn-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--project-accent, #2563eb);
}

.btn-danger:hover {
  background: #fee2e2;
}

.btn-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.btn-success:hover {
  background: #d1fae5;
}

.admin-action-row {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
}

.admin-catalog-item-form,
.admin-catalog-item-form > *,
.admin-catalog-card,
.admin-catalog-item-aside,
.admin-catalog-upload {
  max-width: 100%;
  min-width: 0;
}

.admin-catalog-card {
  overflow: hidden;
}

.admin-catalog-card form,
.admin-catalog-card form > *,
.admin-catalog-card label,
.admin-catalog-card input,
.admin-catalog-card select,
.admin-catalog-card textarea {
  max-width: 100%;
  min-width: 0;
}

.admin-slug-control {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-slug-control button {
  background: #fff;
  border: 1px solid #d4d4d8;
  border-radius: 0.375rem;
  color: #3f3f46;
  font-size: 0.875rem;
  font-weight: 750;
  padding: 0.625rem 0.75rem;
  white-space: nowrap;
}

.admin-slug-control button:hover {
  background: #f4f4f5;
  border-color: #a1a1aa;
  color: var(--project-background, #111827);
}

.admin-catalog-upload-preview {
  background: #f4f4f5;
}

.admin-catalog-upload-actions {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr auto;
}

.admin-catalog-upload-actions .btn {
  min-width: 0;
}

.admin-catalog-upload-actions .btn-secondary {
  background: var(--project-background, #111827);
  border-color: var(--project-background, #111827);
  color: #fff;
}

.admin-catalog-upload-actions .btn-secondary:hover {
  background: #27272a;
}

.admin-catalog-upload-actions .btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.admin-catalog-upload-status:empty {
  display: none;
}

.control-check {
  align-items: center;
  color: #3f3f46;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 0.625rem;
  min-height: 1.625rem;
}

.control-check input[type="checkbox"] {
  appearance: none;
  background: #fff;
  border: 1.5px solid #a1a1aa;
  border-radius: 0.25rem;
  display: grid;
  flex: 0 0 auto;
  height: 1.125rem;
  margin: 0;
  place-content: center;
  width: 1.125rem;
}

input[type="checkbox"] {
  accent-color: var(--project-accent, #2563eb);
}

.control-check input[type="checkbox"]::before {
  box-shadow: inset 1em 1em #fff;
  clip-path: polygon(14% 44%, 0 65%, 48% 100%, 100% 16%, 80% 0%, 43% 62%);
  content: "";
  height: 0.7rem;
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.12s ease-in-out;
  width: 0.7rem;
}

.control-check input[type="checkbox"]:checked {
  background: var(--project-accent, #2563eb);
  border-color: var(--project-accent, #2563eb);
}

.control-check input[type="checkbox"]:indeterminate {
  background: var(--project-accent, #2563eb);
  border-color: var(--project-accent, #2563eb);
}

.control-check input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.control-check input[type="checkbox"]:indeterminate::before {
  clip-path: inset(38% 8% 38% 8%);
  transform: scale(1);
}

.control-check input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 4px #fee2e2;
  outline: none;
}

.catalog-page {
  background:
    linear-gradient(180deg, var(--project-background, #111827) 0, var(--project-background, #111827) 21rem, #f3f0ec 21rem, #f7f5f2 100%);
  color: var(--project-background, #111827);
}

.catalog-hero {
  background:
    linear-gradient(105deg, rgb(24 24 27 / 0.96) 0%, rgb(24 24 27 / 0.9) 48%, rgb(127 29 29 / 0.72) 100%),
    url("/static/images/home-slider/slide-2.webp") center / cover;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.catalog-hero::after {
  background-image:
    linear-gradient(rgb(255 255 255 / 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.055) 1px, transparent 1px);
  background-size: 3rem 3rem;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent, #000 34%, #000 100%);
  pointer-events: none;
  position: absolute;
}

.catalog-hero-inner {
  display: grid;
  gap: 2rem;
  margin: 0 auto;
  max-width: 80rem;
  min-height: 20rem;
  padding: 2rem 1rem 2.25rem;
  position: relative;
  z-index: 1;
}

.catalog-hero nav {
  color: #d4d4d8;
}

.catalog-hero nav a {
  color: #e4e4e7;
}

.catalog-hero nav a:hover {
  color: #fff;
}

.catalog-hero nav li > span[itemprop="name"] {
  color: #fff;
}

.catalog-hero-copy {
  align-self: end;
  min-width: 0;
}

.catalog-kicker {
  color: #fca5a5;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.catalog-hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0.625rem 0 0;
  max-width: 12em;
}

.catalog-hero-lead {
  color: #e4e4e7;
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 1rem 0 0;
  max-width: 44rem;
}

.catalog-hero-stats {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.5rem 0 0;
  max-width: 42rem;
}

.catalog-hero-stats div {
  background: rgb(255 255 255 / 0.09);
  border: 1px solid rgb(255 255 255 / 0.12);
  min-width: 0;
  padding: 0.875rem 1rem;
}

.catalog-hero-stats dt {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1;
}

.catalog-hero-stats dd {
  color: #d4d4d8;
  font-size: 0.8125rem;
  line-height: 1.35;
  margin: 0.35rem 0 0;
}

.catalog-family-links {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.catalog-family-link {
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 0.375rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 800;
  padding: 0.625rem 0.875rem;
}

.catalog-family-link:hover {
  background: #fff;
  color: var(--project-accent-hover, #1d4ed8);
}

.catalog-shell {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 18rem minmax(0, 1fr);
  margin: 0 auto;
  max-width: 80rem;
  padding: 1.5rem 1rem 3.5rem;
}

.catalog-filters {
  background: #fff;
  border: 1px solid var(--project-border, #d4d4d8);
  border-radius: 0.5rem;
  box-shadow: 0 1rem 2rem rgb(24 24 27 / 0.06);
}

.catalog-filters label,
.catalog-filters select,
.catalog-filters input {
  color: var(--project-background, #111827);
}

.catalog-filters input:not([type="checkbox"]),
.catalog-filters select {
  background: #fbfaf8;
  border: 1px solid var(--project-border, #d4d4d8);
  border-radius: 0.375rem;
  padding: 0.625rem 0.75rem;
  width: 100%;
}

.catalog-filters input:focus,
.catalog-filters select:focus {
  border-color: var(--project-accent, #2563eb);
  box-shadow: 0 0 0 4px #fee2e2;
  outline: none;
}

.catalog-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.catalog-total {
  color: var(--project-background, #111827);
  font-size: 0.9375rem;
  font-weight: 850;
}

.catalog-query-note {
  color: #6f6861;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.catalog-empty {
  background: #fff;
  border: 1px dashed #c9c0b8;
  border-radius: 0.5rem;
  color: #6f6861;
  padding: 1.5rem;
}

.catalog-range {
  border-bottom: 1px solid #e5ded7;
  border-top: 1px solid #e5ded7;
  display: grid;
  gap: 0.875rem;
  padding: 1rem 0;
}

.catalog-range-head {
  align-items: center;
  color: var(--project-background, #111827);
  display: flex;
  font-size: 0.875rem;
  font-weight: 800;
  justify-content: space-between;
}

.catalog-range-head span + span {
  color: #7a736d;
  font-size: 0.75rem;
  font-weight: 700;
}

.catalog-range-inputs {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-range-inputs label {
  color: #5f5852;
  display: grid;
  font-size: 0.75rem;
  font-weight: 800;
  gap: 0.375rem;
  text-transform: uppercase;
}

.catalog-range-inputs input {
  background: #fbfaf8;
  border: 1px solid var(--project-border, #d4d4d8);
  border-radius: 0.375rem;
  color: var(--project-background, #111827);
  min-width: 0;
  padding: 0.625rem 0.75rem;
  width: 100%;
}

.catalog-filters-toggle {
  align-items: center;
  display: none;
  font-size: 0.9375rem;
  font-weight: 800;
  justify-content: space-between;
  padding: 1rem;
  text-align: left;
  width: 100%;
}

.catalog-filters-toggle strong {
  align-items: center;
  background: var(--project-accent, #2563eb);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.75rem;
  height: 1.5rem;
  justify-content: center;
  min-width: 1.5rem;
  padding: 0 0.45rem;
}

.catalog-filters-toggle::after {
  border: solid #52525b;
  border-width: 0 2px 2px 0;
  content: "";
  height: 0.5rem;
  margin-left: 0.625rem;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  width: 0.5rem;
}

.catalog-filters.is-open .catalog-filters-toggle::after {
  transform: rotate(225deg);
}

.catalog-filter-actions {
  background: #fff;
  border-top: 1px solid #e5ded7;
  bottom: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
  margin: 0 -1rem -1rem;
  padding: 1rem;
  position: sticky;
  z-index: 2;
}

.catalog-filter-actions .btn {
  min-width: 0;
  width: 100%;
}

.catalog-category-filter {
  display: grid;
  gap: 0.625rem;
}

.catalog-category-select-all {
  border-bottom: 1px solid #e5ded7;
  color: var(--project-background, #111827);
  font-weight: 800;
  padding-bottom: 0.625rem;
}

.catalog-category-list {
  display: grid;
  gap: 0.5rem;
}

.catalog-category-option {
  padding-left: calc(var(--category-depth, 0) * 0.875rem);
}

.catalog-category-option span {
  min-width: 0;
}

.item-page {
  background: #fff;
}

.item-detail {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 32rem) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 80rem;
  padding: 2rem 1rem 4rem;
}

.item-detail-media {
  min-width: 0;
}

.item-detail-image {
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  border-radius: 0.5rem;
  margin: 1.25rem 0 0;
  overflow: hidden;
}

.item-detail-image img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.item-detail-main {
  min-width: 0;
  padding-top: 2.25rem;
}

.item-detail-kicker {
  color: var(--project-accent, #2563eb);
  font-size: 0.8125rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.item-detail-main h1 {
  color: var(--project-background, #111827);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0.625rem 0 0;
}

.item-detail-sku {
  color: #71717a;
  font-size: 0.875rem;
  margin-top: 0.75rem;
}

.item-archive-notice {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 0.5rem;
  color: #9a3412;
  font-weight: 750;
  line-height: 1.5;
  margin-top: 1rem;
  padding: 1rem;
}

.item-detail-description {
  color: #3f3f46;
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 1.75rem;
  max-width: 46rem;
}

.item-detail-description p {
  margin: 0;
}

.item-detail-description p + p {
  margin-top: 1.1rem;
}

.item-detail-panel {
  border-top: 1px solid #e4e4e7;
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.item-detail-panel h2 {
  color: var(--project-background, #111827);
  font-size: 1.25rem;
  font-weight: 850;
  line-height: 1.2;
  margin: 0;
}

.item-price-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.item-price-row {
  align-items: center;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  border-radius: 0.5rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.875rem 1rem;
}

.item-price-row span {
  color: #3f3f46;
  font-weight: 700;
}

.item-price-row strong {
  color: var(--project-background, #111827);
  font-size: 1.125rem;
}

.item-muted {
  color: #71717a;
}

.item-attribute-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1rem 0 0;
}

.item-attribute-grid div {
  border: 1px solid #e4e4e7;
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
}

.item-attribute-grid dt {
  color: #71717a;
  font-size: 0.8125rem;
  line-height: 1.3;
}

.item-attribute-grid dd {
  color: var(--project-background, #111827);
  font-weight: 800;
  line-height: 1.35;
  margin: 0.35rem 0 0;
}

.item-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.item-tag-list span {
  background: #f4f4f5;
  border-radius: 0.375rem;
  color: #3f3f46;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
}

.item-related {
  border-top: 1px solid #e4e4e7;
  margin: 0 auto;
  max-width: 80rem;
  padding: 2.5rem 1rem 4rem;
}

.item-related-head {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.item-related-head p {
  color: var(--project-accent, #2563eb);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 0.375rem;
  text-transform: uppercase;
}

.item-related-head h2 {
  color: var(--project-background, #111827);
  font-size: 1.75rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0;
}

.item-related-head a {
  color: var(--project-accent, #2563eb);
  font-size: 0.875rem;
  font-weight: 800;
  white-space: nowrap;
}

.item-related-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.item-related-card {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 0.5rem;
  display: grid;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.item-related-card:hover {
  border-color: #fca5a5;
  box-shadow: 0 0.75rem 1.5rem rgb(24 24 27 / 0.06);
  transform: translateY(-2px);
}

.item-related-card img {
  aspect-ratio: 4 / 3;
  background: #f4f4f5;
  display: block;
  object-fit: cover;
  width: 100%;
}

.item-related-card span,
.item-related-card h3,
.item-related-card div {
  margin-left: 1rem;
  margin-right: 1rem;
}

.item-related-card span {
  color: var(--project-accent, #2563eb);
  font-size: 0.75rem;
  font-weight: 850;
  margin-top: 1rem;
  text-transform: uppercase;
}

.item-related-card h3 {
  color: var(--project-background, #111827);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.25;
  margin-bottom: 0;
  margin-top: 0.375rem;
}

.item-related-card div {
  color: var(--project-background, #111827);
  font-size: 1rem;
  font-weight: 850;
  margin-bottom: 1rem;
  margin-top: 0.875rem;
}

.item-related-card small {
  color: #71717a;
  font-size: 0.8125rem;
  margin-left: 0.25rem;
}

@media (min-width: 1024px) {
  .catalog-filters {
    max-height: calc(100vh - var(--site-header-height) - 2rem);
    overflow-y: auto;
    position: sticky;
    top: calc(var(--site-header-height) + 1rem);
  }
}

.catalog-view-switch {
  background: #e9e1da;
  border: 1px solid var(--project-border, #d4d4d8);
  border-radius: 0.5rem;
  display: inline-grid;
  gap: 0.25rem;
  grid-template-columns: repeat(2, 2.5rem);
  padding: 0.25rem;
}

.catalog-view-button {
  align-items: center;
  border-radius: 0.375rem;
  color: #5f5852;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  width: 2rem;
}

.catalog-view-button:hover,
.catalog-view-button.is-current {
  background: #fff;
  color: var(--project-accent, #2563eb);
}

.catalog-view-button.is-current {
  box-shadow: 0 1px 2px rgb(24 24 27 / 0.12);
}

.catalog-view-button svg {
  fill: none;
  height: 1.125rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1.125rem;
}

.catalog-results {
  display: grid;
  gap: 2rem;
}

.catalog-group {
  display: grid;
  gap: 1rem;
}

.catalog-group-heading {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: auto minmax(0, 1fr);
}

.catalog-group-heading::after {
  background: linear-gradient(90deg, var(--project-accent, #2563eb), var(--project-border, #d4d4d8));
  content: "";
  height: 1px;
}

.catalog-group-heading h2 {
  color: var(--project-background, #111827);
  font-size: 1.125rem;
  font-weight: 850;
  line-height: 1.3;
  margin: 0;
}

.catalog-group-items {
  display: grid;
  gap: 1rem;
}

.catalog-results-grid .catalog-group-items {
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-card {
  background: #fff;
  border: 1px solid var(--project-border, #d4d4d8);
  border-radius: 0.5rem;
  box-shadow: 0 0.625rem 1.5rem rgb(24 24 27 / 0.05);
  min-width: 0;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.catalog-card:hover {
  border-color: #fca5a5;
  box-shadow: 0 1rem 2rem rgb(24 24 27 / 0.09);
  transform: translateY(-2px);
}

.catalog-card-media {
  background:
    linear-gradient(135deg, rgb(24 24 27 / 0.08), transparent),
    #ebe5de;
  display: block;
  overflow: hidden;
}

.catalog-card-media img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  transition: transform 0.2s ease;
  width: 100%;
}

.catalog-card:hover .catalog-card-media img {
  transform: scale(1.035);
}

.catalog-card-body {
  display: grid;
  gap: 0.875rem;
  min-width: 0;
  padding: 1rem;
}

.catalog-card-category {
  color: var(--project-accent, #2563eb);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catalog-card h3 {
  color: var(--project-background, #111827);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0.25rem 0 0;
}

.catalog-card h3 a:hover {
  color: var(--project-accent, #2563eb);
}

.catalog-card p {
  color: #5f5852;
  display: -webkit-box;
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0.5rem 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.catalog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.catalog-card-tags span {
  background: #f3f0ec;
  border-radius: 0.375rem;
  color: #4a433e;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
}

.catalog-card-attrs {
  color: #5f5852;
  display: grid;
  font-size: 0.875rem;
  gap: 0.375rem;
  margin: 0;
}

.catalog-card-attrs div,
.catalog-card-prices div {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.catalog-card-attrs dt,
.catalog-card-attrs dd {
  margin: 0;
}

.catalog-card-attrs dd {
  color: var(--project-background, #111827);
  font-weight: 700;
  text-align: right;
}

.catalog-card-prices {
  border-top: 1px solid #e5ded7;
  color: #5f5852;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  gap: 0.5rem;
  padding-top: 0.875rem;
}

.catalog-card-prices > span {
  color: #71717a;
}

.catalog-price {
  align-items: center;
  background: #f3f0ec;
  border: 1px solid #e5ded7;
  border-radius: 0.375rem;
  color: var(--project-background, #111827);
  display: inline-flex;
  gap: 0.375rem;
  min-width: 0;
  padding: 0.25rem 0.5rem;
}

.catalog-price svg {
  fill: none;
  flex: 0 0 auto;
  height: 0.9375rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 0.9375rem;
}

.catalog-price-label {
  color: #6f6861;
  display: inline;
  font-weight: 700;
}

.catalog-price strong {
  color: var(--project-background, #111827);
  font-size: 0.8125rem;
  line-height: 1.2;
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.catalog-price-card {
  background: #fff1f1;
  border-color: #fecaca;
  color: var(--project-accent, #2563eb);
}

.catalog-price-cashless {
  background: #f8f5f1;
  color: #3f3f46;
}

.catalog-card-actions {
  display: grid;
  gap: 0.5rem;
}

.catalog-card-action {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 800;
  gap: 0.5rem;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.625rem 0.875rem;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  width: 100%;
}

.catalog-card-action-primary {
  background: var(--project-accent, #2563eb);
  border-color: var(--project-accent, #2563eb);
  color: #fff;
}

.catalog-card-action-primary:hover,
.catalog-card-action-primary:focus-visible {
  background: var(--project-accent-hover, #1d4ed8);
  border-color: var(--project-accent-hover, #1d4ed8);
  color: #fff;
}

.catalog-card-action-secondary {
  background: var(--project-background, #111827);
  border-color: var(--project-background, #111827);
  color: #fff;
}

.catalog-card-action-secondary:hover,
.catalog-card-action-secondary:focus-visible {
  background: var(--project-accent, #2563eb);
  border-color: var(--project-accent, #2563eb);
  color: #fff;
}

.catalog-card-action:focus-visible {
  box-shadow: 0 0 0 4px #fee2e2;
  outline: none;
}

.catalog-card-action svg {
  fill: none;
  flex: 0 0 auto;
  height: 1rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1rem;
}

.catalog-results-list .catalog-card {
  align-items: stretch;
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  min-height: 7.5rem;
}

.catalog-results-list .catalog-card-media {
  height: 100%;
  min-height: 7.5rem;
}

.catalog-results-list .catalog-card-media img {
  aspect-ratio: auto;
  height: 100%;
  min-height: 7.5rem;
}

.catalog-results-list .catalog-card-body {
  align-items: start;
  gap: 0.5rem 0.875rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.75rem 0.875rem;
}

.catalog-results-list .catalog-card-main,
.catalog-results-list .catalog-card-attrs,
.catalog-results-list .catalog-card-prices,
.catalog-results-list .catalog-card-actions {
  min-width: 0;
}

.catalog-results-list .catalog-card p {
  display: none;
}

.catalog-results-list .catalog-card h3 {
  font-size: 1rem;
  line-height: 1.25;
}

.catalog-results-list .catalog-card-category {
  font-size: 0.6875rem;
}

.catalog-results-list .catalog-card-tags {
  display: none;
}

.catalog-results-list .catalog-card-attrs,
.catalog-results-list .catalog-card-prices {
  font-size: 0.8125rem;
}

.catalog-results-list .catalog-card-attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 0.625rem;
  grid-column: 1;
}

.catalog-results-list .catalog-card-attrs div {
  background: #fbfaf8;
  border: 1px solid #eee8e1;
  border-radius: 0.375rem;
  display: inline-flex;
  gap: 0.375rem;
  max-width: 100%;
  min-width: 0;
  padding: 0.1875rem 0.4375rem;
}

.catalog-results-list .catalog-card-attrs dt {
  color: #71717a;
  min-width: 0;
}

.catalog-results-list .catalog-card-attrs dd {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-results-list .catalog-card-prices {
  align-self: start;
  border-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  grid-column: 1 / -1;
  justify-self: start;
  min-width: 0;
  padding-top: 0;
  width: 100%;
}

.catalog-results-list .catalog-card-actions {
  align-self: center;
  display: grid;
  gap: 0.375rem;
  grid-column: 2;
  grid-row: 1 / span 3;
  min-width: 9.5rem;
  width: auto;
}

.catalog-results-list .catalog-card-action {
  min-height: 2.25rem;
  padding: 0.5rem 0.75rem;
}

.catalog-results-list .catalog-price {
  box-sizing: border-box;
  justify-content: flex-start;
  padding: 0.3125rem 0.375rem;
  width: auto;
}

@media (max-width: 1180px) {
  .catalog-results-grid .catalog-group-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.catalog-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.catalog-page-link,
.catalog-page-ellipsis {
  align-items: center;
  border-radius: 0.375rem;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  justify-content: center;
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding: 0.625rem 0.75rem;
}

.catalog-page-link {
  background: #fff;
  border: 1px solid var(--project-border, #d4d4d8);
  color: #3f3f46;
}

.catalog-page-link:hover {
  background: #fff1f1;
  border-color: #fecaca;
  color: var(--project-accent-hover, #1d4ed8);
}

.catalog-page-link.is-current {
  background: var(--project-accent, #2563eb);
  border-color: var(--project-accent, #2563eb);
  color: #fff;
}

.catalog-page-control {
  min-width: 6.5rem;
}

.catalog-page-ellipsis {
  color: #71717a;
}


.admin-table-wrap .dt-container {
  color: #27272a;
  font-size: 0.875rem;
}

.admin-table-wrap .dt-layout-row {
  align-items: center;
  gap: 1rem;
  margin: 0 0 1rem;
}

.admin-table-wrap .dt-layout-row:last-child {
  margin: 1rem 0 0;
}

.admin-table-wrap .dt-search label,
.admin-table-wrap .dt-length label,
.admin-table-wrap .dt-info {
  color: #71717a;
  font-size: 0.8125rem;
}

.admin-table-wrap .dt-input {
  border: 1px solid #d4d4d8 !important;
  border-radius: 0.375rem !important;
  min-height: 2.25rem;
  padding: 0.375rem 0.625rem !important;
}

.admin-table-wrap .dt-input:focus {
  border-color: var(--project-accent, #2563eb) !important;
  box-shadow: 0 0 0 4px #fee2e2;
  outline: none;
}

.admin-table-wrap table.dataTable.admin-table {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.admin-table-wrap table.dataTable.admin-table thead th {
  background: #f4f4f5;
  border-bottom: 1px solid #e4e4e7;
  color: #52525b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: 0.875rem 1rem;
  text-transform: uppercase;
}

.admin-table-wrap table.dataTable.admin-table tbody td {
  border-bottom: 1px solid #f4f4f5;
  padding: 0.875rem 1rem;
  vertical-align: middle;
}

.admin-table-wrap table.dataTable.admin-table tbody tr:hover {
  background: #fafafa;
}

.admin-table-wrap .dt-paging .dt-paging-button {
  border: 1px solid #e4e4e7 !important;
  border-radius: 0.375rem !important;
  color: #3f3f46 !important;
  margin-left: 0.25rem;
  padding: 0.375rem 0.625rem !important;
}

.admin-table-wrap .dt-paging .dt-paging-button.current,
.admin-table-wrap .dt-paging .dt-paging-button.current:hover {
  background: var(--project-background, #111827) !important;
  border-color: var(--project-background, #111827) !important;
  color: white !important;
}

.admin-table-wrap .dt-paging .dt-paging-button:hover {
  background: #f4f4f5 !important;
  border-color: #d4d4d8 !important;
  color: var(--project-background, #111827) !important;
}

.admin-table-wrap .admin-table th {
  background: #f4f4f5;
  border-bottom: 1px solid #e4e4e7;
  color: #52525b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: 0.875rem 1rem;
  text-align: left;
  text-transform: uppercase;
}

.admin-table-wrap .admin-table td {
  border-bottom: 1px solid #f4f4f5;
  padding: 0.875rem 1rem;
  vertical-align: middle;
}

.admin-table-wrap td .flex a,
.admin-table-wrap td .flex button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 2.25rem;
  min-width: 7.5rem;
  text-align: center;
}

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

.admin-items-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.admin-items-table {
  min-width: 1360px;
  table-layout: auto;
}

@media (min-width: 1024px) {
  .is-admin-items-wide main > .mx-auto {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
  }

  .is-admin-items-wide main > .mx-auto > aside {
    display: none;
  }

  .is-admin-items-wide .admin-items-page {
    width: 100%;
  }
}

.admin-items-table th,
.admin-items-table td {
  white-space: nowrap;
}

.admin-items-table tbody tr.is-saving {
  background: #fff7ed !important;
}

.admin-items-table tbody tr.is-saved {
  background: #ecfdf5 !important;
}

.admin-items-table tbody tr.is-error {
  background: #fef2f2 !important;
}

.admin-items-table tbody tr.is-deleted {
  background: #fafafa;
  color: #a1a1aa;
}

.admin-items-table tbody tr.is-filtered-out {
  display: none;
}

.admin-items-id {
  color: #71717a;
  font-variant-numeric: tabular-nums;
  width: 4.5rem;
}

.admin-items-name-cell {
  min-width: 18rem;
}

.admin-items-table th:nth-child(3),
.admin-items-table td:nth-child(3) {
  min-width: 14rem;
}

.admin-items-table th:nth-child(6),
.admin-items-table td:nth-child(6) {
  min-width: 12rem;
}

.admin-items-table th:nth-child(7),
.admin-items-table td:nth-child(7) {
  min-width: 18rem;
}

.admin-items-table th:nth-child(8),
.admin-items-table td:nth-child(8) {
  min-width: 12rem;
}

.admin-items-table th:nth-child(10),
.admin-items-table td:nth-child(10) {
  min-width: 8.5rem;
}

.admin-inline-value {
  border-radius: 0.375rem;
  color: #3f3f46;
  display: block;
  max-width: 21rem;
  min-height: 2rem;
  overflow: hidden;
  padding: 0.25rem 0.375rem;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.admin-inline-value:hover,
.admin-inline-value:focus-visible {
  background: #f4f4f5;
  box-shadow: 0 0 0 2px #e4e4e7;
  outline: none;
}

.admin-inline-value:disabled {
  cursor: default;
}

.admin-inline-value-strong {
  color: var(--project-background, #111827);
  font-weight: 700;
}

.admin-inline-mono,
.admin-inline-number {
  font-variant-numeric: tabular-nums;
}

.admin-inline-number {
  max-width: 5.5rem;
}

.admin-inline-editor {
  background: #fff;
  border: 1px solid var(--project-accent, #2563eb);
  border-radius: 0.375rem;
  box-shadow: 0 0 0 4px #fee2e2;
  color: var(--project-background, #111827);
  min-height: 2rem;
  min-width: 5rem;
  padding: 0.25rem 0.5rem;
  width: 100%;
}

.admin-inline-editor:focus {
  outline: none;
}

.admin-items-tags,
.admin-items-prices,
.admin-items-readiness {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  overflow: hidden;
  white-space: nowrap;
}

.admin-items-tags span,
.admin-items-readiness span {
  border-radius: 0.375rem;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.35rem 0.5rem;
  white-space: nowrap;
}

.admin-items-tags span {
  background: #f4f4f5;
  color: #52525b;
}

.admin-price-chip {
  align-items: center;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  border-radius: 0.375rem;
  color: #3f3f46;
  display: inline-grid;
  font-size: 0.75rem;
  font-weight: 700;
  gap: 0.45rem;
  grid-template-columns: minmax(8.5rem, auto) 4.75rem 3.25rem;
  line-height: 1;
  padding: 0.35rem 0.5rem;
  white-space: nowrap;
}

.admin-price-type {
  color: #52525b;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-price-unit {
  color: #52525b;
  text-align: left;
}

.admin-inline-price {
  border-radius: 0.25rem;
  color: var(--project-background, #111827);
  font: inherit;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  margin: -0.15rem 0;
  padding: 0.15rem 0.25rem;
  text-align: right;
}

.admin-inline-price:hover,
.admin-inline-price:focus-visible {
  background: #e4e4e7;
  outline: none;
}

.admin-inline-price:disabled {
  cursor: default;
}

.admin-inline-price-editor {
  max-width: 7rem;
}

.admin-items-tags em,
.admin-items-prices em {
  color: #a1a1aa;
  font-style: normal;
}

.admin-items-readiness .is-ok {
  background: #ecfdf5;
  color: #047857;
}

.admin-items-readiness .is-missing {
  background: #fef2f2;
  color: var(--project-accent, #2563eb);
}

.admin-items-toggle {
  align-items: center;
  display: inline-flex;
  gap: 0.5rem;
  min-width: 9rem;
}

.admin-items-toggle input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.admin-items-toggle span {
  background: #d4d4d8;
  border-radius: 999px;
  display: inline-flex;
  height: 1.25rem;
  position: relative;
  transition: background 0.15s ease;
  width: 2.25rem;
}

.admin-items-toggle span::after {
  background: #fff;
  border-radius: 999px;
  content: "";
  height: 0.875rem;
  left: 0.1875rem;
  position: absolute;
  top: 0.1875rem;
  transition: transform 0.15s ease;
  width: 0.875rem;
}

.admin-items-toggle input:checked + span {
  background: #16a34a;
}

.admin-items-toggle input:checked + span::after {
  transform: translateX(1rem);
}

.admin-items-toggle strong {
  color: #3f3f46;
  font-size: 0.75rem;
  white-space: nowrap;
}

.admin-items-toggle.is-disabled strong {
  color: #a1a1aa;
}

.admin-items-actions {
  align-items: center;
  display: flex;
  gap: 0.375rem;
  white-space: nowrap;
}

.admin-items-actions a,
.admin-items-actions button {
  align-items: center;
  background: #fff;
  border: 1px solid #d4d4d8;
  border-radius: 0.375rem;
  color: #3f3f46;
  display: inline-flex;
  height: 2.125rem;
  justify-content: center;
  padding: 0;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  width: 2.125rem;
}

.admin-items-actions a:hover,
.admin-items-actions button:hover {
  background: #f4f4f5;
  border-color: #a1a1aa;
  color: var(--project-background, #111827);
}

.admin-items-actions .is-danger {
  border-color: #fecaca;
  color: var(--project-accent, #2563eb);
}

.admin-items-actions .is-danger:hover {
  background: #fef2f2;
  border-color: #fca5a5;
}

.admin-items-actions .is-archive {
  border-color: #fed7aa;
  color: #c2410c;
}

.admin-items-actions .is-archive:hover {
  background: #fff7ed;
  border-color: #fdba74;
}

.admin-items-actions .is-restore {
  border-color: #bbf7d0;
  color: #047857;
}

.admin-items-actions .is-restore:hover {
  background: #ecfdf5;
  border-color: #86efac;
}

.admin-items-actions svg {
  fill: none;
  height: 1rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1rem;
}

.admin-items-filters {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-items-filters button {
  background: #fff;
  border: 1px solid #d4d4d8;
  border-radius: 0.375rem;
  color: #52525b;
  font-size: 0.8125rem;
  font-weight: 700;
  min-height: 2.25rem;
  padding: 0.45rem 0.75rem;
}

.admin-items-filters button.is-active,
.admin-items-filters button:hover {
  background: var(--project-background, #111827);
  border-color: var(--project-background, #111827);
  color: #fff;
}

.admin-items-wide-toggle {
  background: #fff;
  border: 1px solid #d4d4d8;
  border-radius: 0.375rem;
  color: #3f3f46;
  font-size: 0.8125rem;
  font-weight: 800;
  min-height: 2.25rem;
  padding: 0.45rem 0.75rem;
}

.admin-items-wide-toggle:hover,
.admin-items-wide-toggle[aria-pressed="true"] {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}

.content-body > * + * {
  margin-top: 1rem;
}

.content-body h2 {
  color: #09090b;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 2rem;
}

.content-body h3 {
  color: var(--project-background, #111827);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.75rem;
}

.content-body ul,
.content-body ol {
  padding-left: 1.5rem;
}

.content-body ul {
  list-style: disc;
}

.content-body ol {
  list-style: decimal;
}

.content-body h2,
.content-body h3 {
  color: var(--project-background, #111827);
  font-weight: 850;
  line-height: 1.2;
  margin: 2rem 0 0.75rem;
}

.content-body h2:first-child,
.content-body h3:first-child {
  margin-top: 0;
}

.content-body h2 {
  font-size: 1.5rem;
}

.content-body h3 {
  font-size: 1.25rem;
}

.content-body a {
  color: var(--project-accent, #2563eb);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.about-page {
  display: grid;
  gap: 2rem;
}

.about-hero {
  background: var(--project-background, #111827);
  border-radius: 0.75rem;
  color: #fff;
  overflow: hidden;
  padding: 2rem;
  position: relative;
}

.about-hero::after {
  background: linear-gradient(135deg, rgb(185 28 28 / 0.28), rgb(255 255 255 / 0));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.about-hero-grid,
.about-eyebrow {
  position: relative;
  z-index: 1;
}

.about-eyebrow {
  color: #fecaca;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 1.25rem;
  text-transform: uppercase;
}

.about-hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
}

.about-hero h2 {
  color: #fff;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  max-width: 56rem;
}

.about-lead {
  color: #e4e4e7;
  font-size: 1.0625rem;
  line-height: 1.8;
  margin: 1.25rem 0 0;
  max-width: 52rem;
}

.about-facts {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.about-facts div {
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 0.5rem;
  padding: 1rem;
}

.about-facts dt {
  color: #fecaca;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0 0 0.375rem;
  text-transform: uppercase;
}

.about-facts dd {
  color: #fafafa;
  line-height: 1.55;
  margin: 0;
}

.about-section {
  display: grid;
  gap: 1.25rem;
}

.about-section-head {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: 3rem minmax(0, 1fr);
}

.about-section-head > span {
  align-items: center;
  background: #fee2e2;
  border-radius: 999px;
  color: var(--project-accent-hover, #1d4ed8);
  display: inline-flex;
  font-size: 0.8125rem;
  font-weight: 800;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}

.about-section-head h2,
.about-panel h2,
.about-cta h2 {
  color: #09090b;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.about-section-head p {
  color: #52525b;
  line-height: 1.7;
  margin: 0.5rem 0 0;
  max-width: 46rem;
}

.about-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-card,
.about-principles > div,
.about-panel {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 0.625rem;
  box-shadow: 0 1px 2px rgb(24 24 27 / 0.04);
}

.about-card {
  padding: 1.25rem;
}

.about-card h3,
.about-principles h3 {
  color: var(--project-background, #111827);
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 0.625rem;
}

.about-card p,
.about-principles p,
.about-panel p,
.about-cta p {
  color: #52525b;
  line-height: 1.7;
  margin: 0;
}

.about-split {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-panel {
  padding: 1.5rem;
}

.about-panel span {
  color: var(--project-accent, #2563eb);
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.about-panel h2 {
  margin-bottom: 0.875rem;
}

.about-panel-dark {
  background: #27272a;
  border-color: #27272a;
}

.about-panel-dark h2,
.about-panel-dark p {
  color: #fff;
}

.about-panel-dark span {
  color: #fecaca;
}

.about-principles {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-principles > div {
  padding: 1.25rem;
}

.about-cta {
  align-items: center;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  border-radius: 0.75rem;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding: 1.5rem;
}

.about-cta p {
  margin-top: 0.5rem;
  max-width: 46rem;
}

.about-cta a {
  background: var(--project-accent, #2563eb);
  border-radius: 0.5rem;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.contacts-page {
  display: grid;
  gap: 1.5rem;
}

.contacts-hero {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 1.05fr);
}

.contacts-card,
.contacts-section {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 0.625rem;
  box-shadow: 0 1px 2px rgb(24 24 27 / 0.04);
}

.contacts-card-main {
  padding: 1.5rem;
}

.contacts-eyebrow {
  color: var(--project-accent, #2563eb);
  font-size: 0.75rem;
  font-weight: 800;
  margin: 0 0 0.625rem;
  text-transform: uppercase;
}

.contacts-card h2,
.contacts-section h2 {
  color: #09090b;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.contacts-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin: 1rem 0 1.25rem;
}

.contacts-actions a {
  background: var(--project-background, #111827);
  border-radius: 0.5rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.625rem 0.75rem;
  text-decoration: none;
}

.contacts-actions a + a {
  background: #fee2e2;
  color: var(--project-accent-hover, #1d4ed8);
}

.contacts-summary,
.contacts-bank-grid dl {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.contacts-summary div {
  border-top: 1px solid #f4f4f5;
  padding-top: 0.75rem;
}

.contacts-summary dt,
.contacts-bank-grid dt,
.contacts-details span {
  color: #71717a;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  text-transform: uppercase;
}

.contacts-summary dd,
.contacts-bank-grid dd {
  color: var(--project-background, #111827);
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.contacts-map-card {
  display: grid;
  grid-template-rows: auto minmax(16rem, 1fr);
  min-height: 100%;
  overflow: hidden;
}

.contacts-map-head {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1rem 0.875rem;
}

.contacts-map-head strong {
  color: var(--project-background, #111827);
}

.contacts-map-head span {
  color: #52525b;
  font-size: 0.875rem;
  line-height: 1.5;
}

.contacts-map-card .contact-map {
  border: 0;
  border-radius: 0;
  height: 100%;
}

.contacts-map-card .leaflet-contact-map {
  height: 100%;
  min-height: 19rem;
}

.contacts-section {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.contacts-section-head {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.contacts-section-head p {
  color: #71717a;
  margin: 0.25rem 0 0;
}

.contacts-details {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contacts-details > div,
.contacts-bank-grid article,
.contacts-okved-list > div {
  background: #fafafa;
  border: 1px solid #f4f4f5;
  border-radius: 0.5rem;
}

.contacts-details > div {
  padding: 0.875rem;
}

.contacts-details-wide {
  grid-column: span 3;
}

.contacts-details strong {
  color: var(--project-background, #111827);
  display: block;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.contacts-bank-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contacts-bank-grid article {
  padding: 1rem;
}

.contacts-bank-grid h3 {
  color: var(--project-background, #111827);
  font-size: 0.9375rem;
  font-weight: 800;
  margin: 0 0 0.875rem;
}

.contacts-bank-grid dl div {
  display: grid;
  gap: 0.125rem;
}

.contacts-okved-list {
  display: grid;
  gap: 0.375rem;
  max-height: 28rem;
  overflow: auto;
  padding-right: 0.25rem;
}

.contacts-okved-list > div {
  align-items: center;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  padding: 0.625rem 0.75rem;
}

.contacts-okved-list strong {
  color: var(--project-accent-hover, #1d4ed8);
  font-size: 0.875rem;
}

.contacts-okved-list span {
  color: #3f3f46;
  line-height: 1.45;
}

.contacts-okved-list em {
  background: #fee2e2;
  border-radius: 999px;
  color: var(--project-accent-hover, #1d4ed8);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 800;
  padding: 0.25rem 0.5rem;
}

.feedback-box {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgb(24 24 27 / 0.04);
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
}

.feedback-box-head p {
  color: var(--project-accent, #2563eb);
  font-size: 0.75rem;
  font-weight: 800;
  margin: 0 0 0.375rem;
  text-transform: uppercase;
}

.feedback-box-head h2 {
  color: #09090b;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.feedback-box-head span {
  color: #71717a;
  display: block;
  margin-top: 0.375rem;
}

.feedback-form {
  display: grid;
  gap: 1rem;
}

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

.feedback-form label {
  display: grid;
  gap: 0.375rem;
}

.feedback-form label > span {
  color: #3f3f46;
  font-size: 0.875rem;
  font-weight: 700;
}

.feedback-form input[type="text"],
.feedback-form input[type="email"],
.feedback-form input[type="tel"],
.feedback-form textarea {
  border: 1px solid #d4d4d8;
  border-radius: 0.5rem;
  color: var(--project-background, #111827);
  outline: none;
  padding: 0.75rem 0.875rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.feedback-form textarea {
  resize: vertical;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  border-color: var(--project-accent, #2563eb);
  box-shadow: 0 0 0 4px #fee2e2;
}

.feedback-consent {
  align-items: start;
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 0.5rem;
  display: grid;
  gap: 0.625rem;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 0.875rem;
}

.feedback-consent input {
  margin-top: 0.1875rem;
}

.feedback-consent .feedback-consent-link {
  color: var(--project-accent-hover, #991b1b);
  font-weight: 850;
  text-decoration-line: underline;
  text-decoration-style: dashed;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.2em;
}

.feedback-consent .feedback-consent-link:hover,
.feedback-consent .feedback-consent-link:focus-visible {
  color: #7f1d1d;
  text-decoration-style: solid;
}

.feedback-form button {
  background: var(--project-background, #111827);
  border: 0;
  border-radius: 0.5rem;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  justify-self: start;
  padding: 0.75rem 1rem;
}

.feedback-alert {
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.875rem 1rem;
}

.feedback-alert-success {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #047857;
}

.feedback-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--project-accent-hover, #1d4ed8);
}

.feedback-honeypot {
  left: -9999px;
  position: absolute;
}

.details-table-wrap {
  margin-bottom: 2rem;
  overflow-x: auto;
}

.details-table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

.details-table th,
.details-table td {
  border: 1px solid #e4e4e7;
  padding: 0.875rem 1rem;
  text-align: left;
  vertical-align: top;
}

.details-table th {
  background: #f4f4f5;
  color: #3f3f46;
  font-weight: 600;
  width: 32%;
}

.details-table td p {
  margin: 0;
}

.details-table td p + p {
  margin-top: 0.375rem;
}

.bank-block + .bank-block {
  margin-top: 1.125rem;
}

.bank-block strong {
  display: block;
  margin-bottom: 0.3125rem;
}

.okved-table thead th {
  background: #f4f4f5;
}

.okved-table thead th:first-child,
.okved-table tbody td:first-child {
  white-space: nowrap;
  width: 8.125rem;
}

.main-okved {
  background: #eef2ff;
  border-radius: 0.25rem;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.625rem;
  padding: 0.1875rem 0.5rem;
}

.contact-map {
  border: 1px solid #e4e4e7;
  border-radius: 0.5rem;
  overflow: hidden;
}

.leaflet-contact-map {
  background: #f4f4f5;
  height: 30rem;
  width: 100%;
}

.leaflet-popup-content {
  line-height: 1.5;
}

@media (max-width: 700px) {
  .catalog-page {
    background: linear-gradient(180deg, var(--project-background, #111827) 0, var(--project-background, #111827) 18rem, #f7f5f2 18rem, #f7f5f2 100%);
  }

  .catalog-hero-inner {
    min-height: 0;
    padding: 1.25rem 1rem 1.5rem;
  }

  .catalog-hero h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .catalog-hero-lead {
    font-size: 0.9375rem;
  }

  .catalog-hero-stats {
    grid-template-columns: 1fr;
  }

  .catalog-hero-stats div {
    padding: 0.75rem 0.875rem;
  }

  .catalog-shell {
    padding-bottom: 2.5rem;
    padding-top: 1rem;
  }

  .catalog-results-grid .catalog-group-items,
  .catalog-results-list .catalog-card-body {
    grid-template-columns: 1fr;
  }

  .catalog-results-list .catalog-card {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    min-height: 5.5rem;
  }

  .catalog-results-list .catalog-card-media,
  .catalog-results-list .catalog-card-media img {
    min-height: 5.5rem;
  }

  .catalog-results-list .catalog-card-media,
  .catalog-results-list .catalog-card-media img {
    height: 100%;
  }

  .catalog-results-list .catalog-card-media img {
    aspect-ratio: auto;
  }

  .catalog-results-list .catalog-card-body {
    align-content: center;
    gap: 0.375rem;
    padding: 0.625rem 0.75rem;
  }

  .catalog-results-list .catalog-card p {
    display: none;
  }

  .catalog-results-list .catalog-card h3 {
    font-size: 0.9375rem;
    line-height: 1.25;
  }

  .catalog-results-list .catalog-card-tags {
    display: none;
  }

  .catalog-results-list .catalog-card-category {
    font-size: 0.6875rem;
  }

  .catalog-results-list .catalog-card-attrs {
    display: none;
  }

  .catalog-results-list .catalog-card-prices {
    border-top: 0;
    display: flex;
    font-size: 0.8125rem;
    gap: 0.625rem;
    grid-column: 1 / -1;
    padding-top: 0;
    width: 100%;
  }

  .catalog-results-list .catalog-card-actions {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: stretch;
    margin-top: 0.125rem;
    min-width: 0;
    width: 100%;
  }

  .catalog-results-list .catalog-price {
    background: transparent;
    border: 0;
    gap: 0.25rem;
    padding: 0;
    width: auto;
  }

  .catalog-results-list .catalog-price svg {
    display: none;
  }

  .catalog-results-list .catalog-price-label {
    display: inline;
    font-size: 0.75rem;
  }

  .catalog-results-list .catalog-price strong {
    font-size: 0.75rem;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .catalog-results-list .catalog-price-unit {
    display: none;
  }

  .catalog-view-switch {
    grid-template-columns: repeat(2, 2.75rem);
  }

  .catalog-view-button {
    height: 2.25rem;
    width: 2.25rem;
  }

  .details-table {
    min-width: 640px;
  }

  .details-table th {
    width: 11.25rem;
  }

  .leaflet-contact-map {
    height: 22.5rem;
  }
}

@media (max-width: 900px) {
  .item-detail {
    gap: 1.75rem;
    grid-template-columns: 1fr;
    padding-bottom: 3rem;
  }

  .item-detail-main {
    padding-top: 0;
  }

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

  .about-hero-grid,
  .about-card-grid,
  .about-split,
  .about-principles {
    grid-template-columns: 1fr;
  }

  .about-hero h2 {
    font-size: 1.875rem;
  }
}

@media (max-width: 1023px) {
  .home-hero {
    min-height: auto;
  }

  .home-split {
    grid-template-columns: 1fr;
  }

  .home-hero__inner {
    min-height: auto;
    padding: 3rem 1rem 3.5rem;
  }

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

  .home-category {
    min-height: auto;
  }

  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer-brand {
    grid-column: 1 / -1;
  }

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

  .home-cta .home-actions {
    flex: none;
  }

  .catalog-filters-toggle {
    display: flex;
  }

  .catalog-shell {
    grid-template-columns: 1fr;
  }

  .catalog-filters:not(.is-open) .catalog-filters-body {
    display: none !important;
  }

  .catalog-filters.is-open .catalog-filters-body {
    display: grid !important;
    padding-bottom: 5.5rem;
  }

  .catalog-filters.is-open .catalog-filter-actions {
    border-top-color: #d4d4d8;
    box-shadow: 0 -10px 24px rgb(24 24 27 / 0.12);
    left: 0;
    margin: 0;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
  }
}

@media (max-width: 700px) {
  html {
    --site-header-height: 3.5rem;
  }

  .site-header-inner {
    height: 3.5rem;
    min-height: 3.5rem;
    padding: 0 1rem;
    position: relative;
  }

  .site-brand {
    max-width: calc(100vw - 9rem);
    width: 10.5rem;
  }

  .site-brand img {
    height: 3rem;
    max-height: 3rem;
  }

  .site-header-mobile-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 0.5rem;
  }

  .site-nav {
    background: var(--project-background, #111827);
    border: 1px solid #27272a;
    border-radius: 0.5rem;
    box-shadow: 0 1rem 2rem rgb(24 24 27 / 0.24);
    color: #fff;
    display: none;
    gap: 0;
    grid-template-columns: 1fr;
    min-width: 13rem;
    padding: 0.375rem;
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.5rem);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav-link,
  .site-nav > a,
  .site-nav form,
  .site-nav form button {
    color: #fff;
    min-height: 2.75rem;
    text-align: left;
    width: 100%;
  }

  .site-nav-link,
  .site-nav > a {
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    padding: 0.75rem 0.875rem;
  }

  .site-nav-link:hover,
  .site-nav-link.is-active,
  .site-nav > a:hover {
    background: #27272a;
    color: #fff;
  }

  .site-nav > a.rounded-md {
    background: var(--project-accent, #2563eb);
    border-radius: 0.375rem;
    justify-content: center;
    margin-top: 0.25rem;
    padding: 0.75rem 0.875rem;
  }

  .site-nav form button {
    border-color: #3f3f46;
    justify-content: center;
    margin-top: 0.25rem;
    padding: 0.75rem 0.875rem;
  }

  .site-nav form button:hover {
    background: #27272a;
  }

  .header-call-button-desktop {
    display: none !important;
  }

  .home-hero {
    min-height: auto;
  }

  .item-detail {
    padding: 1.25rem 1rem 2.5rem;
  }

  .item-detail-main h1 {
    font-size: 2rem;
  }

  .item-detail-description {
    line-height: 1.68;
    margin-top: 1.25rem;
  }

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

  .item-related {
    padding: 2rem 1rem 2.75rem;
  }

  .item-related-head {
    align-items: start;
    display: grid;
  }

  .item-related-grid {
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .item-related-card img {
    aspect-ratio: 1 / 0.82;
  }

  .item-related-card span,
  .item-related-card h3,
  .item-related-card div {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }

  .item-related-card span {
    font-size: 0.625rem;
    letter-spacing: 0.04em;
    margin-top: 0.75rem;
  }

  .item-related-card h3 {
    display: -webkit-box;
    font-size: 0.8125rem;
    line-height: 1.22;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .item-related-card div {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    margin-top: 0.625rem;
  }

  .item-related-card small {
    display: block;
    font-size: 0.6875rem;
    margin-left: 0;
    margin-top: 0.125rem;
  }

  .home-hero__inner {
    min-height: auto;
    padding: 2.5rem 1rem 3rem;
  }

  .home-hero::after {
    background:
      linear-gradient(90deg, rgb(0 0 0 / 0.8), rgb(0 0 0 / 0.56)),
      linear-gradient(180deg, rgb(0 0 0 / 0.18), rgb(0 0 0 / 0.52));
  }

  .home-hero h1 {
    font-size: 2.2rem;
    line-height: 1.08;
  }

  .home-lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .home-slide {
    object-position: 58% center;
  }

  .home-slider-dots {
    bottom: 1rem;
  }

  .home-actions,
  .home-stats {
    grid-template-columns: 1fr;
  }

  .home-category-grid,
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .home-actions {
    display: grid;
  }

  .home-button {
    width: 100%;
  }

  .home-stats {
    display: grid;
  }

  .home-section,
  .home-cta {
    padding: 2.25rem 1rem;
  }

  .home-section--tight {
    padding-top: 2.25rem;
  }

  .home-section__head {
    margin-bottom: 1.25rem;
  }

  .home-section h2,
  .home-cta h2 {
    font-size: 2rem;
  }

  .home-process div {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    padding: 1rem;
  }

  .home-process p {
    grid-column: 1 / -1;
  }

  .home-cta {
    margin: 0 1rem 1rem 1rem;
    padding: 1.5rem;
  }

  .home-cta.item-cta {
    margin: 1rem 0;
  }

  .site-footer {
    padding-top: 3rem;
  }

  .site-footer-bottom {
    display: grid;
  }

  .about-hero,
  .about-panel,
  .about-card,
  .about-principles > div,
  .about-cta {
    padding: 1rem;
  }

  .about-section-head {
    grid-template-columns: 1fr;
  }

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

  .about-cta a {
    justify-content: center;
  }

  .contacts-hero,
  .contacts-details,
  .contacts-bank-grid {
    grid-template-columns: 1fr;
  }

  .contacts-details-wide {
    grid-column: auto;
  }

  .contacts-section-head {
    align-items: start;
    flex-direction: column;
  }

  .contacts-okved-list > div {
    align-items: start;
    grid-template-columns: 3.75rem minmax(0, 1fr);
  }

  .contacts-okved-list em {
    grid-column: 2;
    width: fit-content;
  }

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

  .feedback-box {
    padding: 1rem;
  }
}

article.content-body h2 {
  margin-top: 2rem;
}
