:root {
  --bg: #f1f3f5;
  --bg-alt: #e9edf0;
  --surface: #ffffff;
  --surface-alt: #f7f9fa;
  --ink: #15202a;
  --ink-soft: #5c6772;
  --ink-muted: #7a8590;
  --line: #d2d9df;
  --line-strong: #b5bec8;
  --dark-1: #0f1821;
  --dark-2: #17222d;
  --accent: #b7772f;
  --accent-strong: #965f21;
  --ok: #1f7e54;
  --radius-xs: 4px;
  --radius-sm: 7px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --container: min(1240px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(180deg, #f5f7f8 0%, var(--bg) 320px, var(--bg) 100%);
  color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(0, 0, 0, 0.03) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  opacity: 0.22;
  z-index: -1;
}

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

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

[id] {
  scroll-margin-top: 102px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-title {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 5.8vw, 66px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.section-subtitle {
  margin: 16px 0 0;
  max-width: 760px;
  color: var(--ink-soft);
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.55;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
}

.section-head-narrow {
  justify-content: flex-start;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 60;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: linear-gradient(180deg, rgba(11, 19, 27, 0.94) 0%, rgba(15, 26, 36, 0.84) 100%);
  backdrop-filter: blur(7px);
}

.site-header .container {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #f7f9fb;
  min-width: 0;
}

.brand img {
  width: auto;
  height: 54px;
  max-width: 190px;
  object-fit: contain;
}

.brand span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 600;
  color: rgba(238, 244, 250, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.42px;
  transition: background-color 180ms ease, color 180ms ease;
}

.main-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-sm);
  background: transparent;
  color: #fff;
  font-size: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn-light {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--ink);
}

.btn-outline-light {
  background: transparent;
  color: rgba(237, 244, 250, 0.95);
  border-color: rgba(222, 233, 241, 0.34);
}

.btn-outline-light:hover {
  color: #fff;
  border-color: rgba(222, 233, 241, 0.7);
}

.hero {
  --hero-parallax-x: 0px;
  --hero-parallax-y: 0px;
  --hero-scroll-shift: 0px;
  position: relative;
  overflow: hidden;
  color: #f4f7fb;
  min-height: min(980px, 100vh);
  padding: 122px 0 56px;
  background: linear-gradient(132deg, #101921 0%, #162330 56%, #1a2a39 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 12, 17, 0.18) 0%, rgba(7, 12, 17, 0.54) 100%),
    radial-gradient(1200px 500px at 85% 18%, rgba(183, 119, 47, 0.2) 0%, rgba(183, 119, 47, 0) 65%),
    radial-gradient(900px 360px at 10% 90%, rgba(111, 140, 164, 0.18) 0%, rgba(111, 140, 164, 0) 60%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: repeating-linear-gradient(
    -12deg,
    rgba(255, 255, 255, 0.025) 0,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 72px
  );
  opacity: 0.45;
}

.hero-shell {
  position: relative;
  z-index: 2;
  min-height: calc(min(980px, 100vh) - 178px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 52px;
}

.hero-content {
  max-width: 640px;
  padding-bottom: 18px;
  position: relative;
  z-index: 4;
  transform: translate3d(
    calc(var(--hero-parallax-x) * 0.09),
    calc(var(--hero-scroll-shift) * -0.14),
    0
  );
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 100px;
  color: rgba(241, 248, 255, 0.95);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hero h1 {
  margin: 20px 0 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(62px, 8.2vw, 112px);
  line-height: 0.96;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-wrap: pretty;
}

.hero h1 span {
  display: block;
}

.hero p {
  margin: 20px 0 0;
  max-width: 620px;
  color: rgba(230, 237, 245, 0.9);
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.66;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-kpi {
  margin-top: 32px;
  max-width: 640px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.kpi-card {
  border: 1px solid rgba(241, 248, 255, 0.22);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: rgba(14, 24, 34, 0.45);
}

.kpi-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.kpi-label {
  margin-top: 4px;
  font-size: 11px;
  color: rgba(227, 235, 244, 0.86);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  line-height: 1.36;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  width: min(700px, 100%);
  justify-self: end;
  margin-top: -82px;
  margin-right: -54px;
  transform: translate3d(0, calc(var(--hero-scroll-shift) * 0.22), 0);
}

.hero-aura {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: 74%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 119, 47, 0.24) 0%, rgba(183, 119, 47, 0.07) 45%, rgba(183, 119, 47, 0) 73%);
}

.hero-layer {
  position: absolute;
  margin: 0;
  border: 1px solid rgba(227, 236, 246, 0.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 26, 0) 0%, rgba(11, 18, 26, 0.28) 100%);
}

.hero-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.07);
}

.hero-layer-back {
  left: 6%;
  top: -1%;
  width: 64%;
  aspect-ratio: 11 / 10;
  z-index: 1;
  transform: translate3d(
    calc(var(--hero-parallax-x) * -0.24),
    calc(var(--hero-parallax-y) * -0.16 + var(--hero-scroll-shift) * 0.14),
    0
  ) rotate(-6deg);
}

.hero-layer-mid {
  right: 0;
  top: 14%;
  width: 80%;
  aspect-ratio: 16 / 9;
  z-index: 2;
  transform: translate3d(
    calc(var(--hero-parallax-x) * 0.13),
    calc(var(--hero-parallax-y) * -0.08 + var(--hero-scroll-shift) * 0.14),
    0
  ) rotate(3deg);
}

.hero-layer-front {
  right: 7%;
  bottom: -2%;
  width: 64%;
  aspect-ratio: 4 / 5;
  z-index: 3;
  transform: translate3d(
    calc(var(--hero-parallax-x) * 0.31),
    calc(var(--hero-parallax-y) * 0.22 + var(--hero-scroll-shift) * 0.24),
    0
  ) rotate(-3deg);
}

.section-catalog-band {
  background: linear-gradient(180deg, #101821 0%, #121d26 100%);
  color: #eef4fa;
}

.section-catalog-band .section-title,
.section-catalog-band .section-subtitle {
  color: inherit;
}

.section-catalog-band .section-subtitle {
  color: rgba(226, 236, 246, 0.76);
}

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

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  color: var(--ink);
  transition: border-color 180ms ease, transform 180ms ease;
}

.product-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-alt);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 190ms ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.04);
}

.product-body {
  padding: 13px;
  display: grid;
  gap: 10px;
  color: #1b2a38;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid #c2cdda;
  border-radius: 999px;
  color: #1d3448;
  background: #edf2f7;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.42px;
  text-transform: uppercase;
}

.product-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #1a2836;
  line-height: 1.34;
  min-height: 42px;
  text-shadow: none;
}

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

.product-data-item {
  display: grid;
  gap: 2px;
}

.product-data-label {
  color: #6e7b87;
  font-size: 11px;
  line-height: 1.25;
}

.product-price {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.24;
  color: #0f1f2d;
}

.product-moq {
  color: #445464;
  font-size: 13px;
  line-height: 1.35;
}

.section-catalog-band .product-card {
  background: #f8fafc;
  border-color: #cad3dc;
  color: #122231;
}

.product-actions {
  display: flex;
  gap: 8px;
}

.product-actions .btn {
  flex: 1;
  min-height: 38px;
  padding: 0 12px;
  font-size: 13px;
}

.section-company {
  background: transparent;
}

.about-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 18px;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}

.about-card p {
  margin: 0 0 14px;
  line-height: 1.6;
  color: #2a3743;
}

.about-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.about-list li {
  position: relative;
  padding-left: 20px;
  line-height: 1.48;
  color: #1d2f3e;
}

.about-list li::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.cert-frame {
  width: 100%;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #f3f6f8;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  padding: 0;
}

.cert-frame:focus-visible {
  outline: 2px solid #2f5f84;
  outline-offset: 2px;
}

.cert-frame img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cert-open-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(16, 26, 37, 0.84);
  color: #edf4fb;
  font-size: 12px;
  font-weight: 600;
}

.section-delivery {
  background: linear-gradient(180deg, #111a23 0%, #141f29 100%);
  color: #edf3f9;
}

.section-delivery .section-title,
.section-delivery .section-subtitle {
  color: inherit;
}

.section-delivery .section-subtitle {
  color: rgba(226, 236, 245, 0.78);
}

.delivery-grid,
.contacts-grid {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

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

.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 18px;
  display: grid;
  gap: 8px;
}

.section-delivery .info-card {
  border-color: rgba(222, 233, 243, 0.22);
  background: rgba(13, 23, 33, 0.52);
}

.info-card i {
  font-size: 20px;
  color: var(--accent);
}

.info-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.info-card p,
.info-card a {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: 15px;
}

.section-delivery .info-card p,
.section-delivery .info-card a {
  color: rgba(227, 236, 245, 0.84);
}

.info-card strong {
  color: var(--ink);
}

.section-delivery .info-card strong {
  color: #fff;
}

.section-contacts {
  background: transparent;
}

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

.info-card-cta {
  background: linear-gradient(180deg, #1a2733 0%, #1f303f 100%);
  border-color: rgba(28, 40, 51, 0.95);
}

.info-card-cta h3,
.info-card-cta p,
.info-card-cta a,
.info-card-cta strong {
  color: #ecf3fa;
}

.info-card-cta .btn {
  margin-top: 8px;
  width: fit-content;
}

.site-footer {
  margin-top: 24px;
  color: #eaf1f8;
  background: linear-gradient(180deg, #0f1821 0%, #131e29 100%);
  border-top: 1px solid rgba(233, 242, 250, 0.12);
}

.site-footer .container {
  padding: 30px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1;
}

.footer-brand img {
  width: auto;
  height: 40px;
  object-fit: contain;
}

.footer-note {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(226, 235, 245, 0.82);
}

.footer-note a {
  color: #f4f9fe;
  text-decoration: underline;
  text-decoration-color: rgba(244, 249, 254, 0.45);
}

.contact-form {
  display: grid;
  gap: 10px;
}

.input,
.textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 15px;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 180ms ease;
}

.input:focus,
.textarea:focus {
  outline: none;
  border-color: var(--ink);
}

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

.form-status {
  min-height: 19px;
  font-size: 13px;
  color: var(--ink-muted);
}

.form-status.success {
  color: var(--ok);
}

.form-status.error {
  color: #b32834;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.modal.active {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 20, 0.62);
}

.modal-box {
  position: relative;
  width: min(510px, calc(100% - 24px));
  margin: 9vh auto 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #fefefe;
  padding: 18px;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.modal-title {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 33px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.modal-close {
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-size: 24px;
  cursor: pointer;
}

.modal-media-box {
  width: min(980px, calc(100% - 24px));
  margin: 5vh auto 0;
  padding: 16px;
  background: #111a23;
  border-color: rgba(231, 239, 247, 0.22);
}

.modal-media-box .modal-close {
  position: absolute;
  top: 6px;
  right: 10px;
  color: #f1f6fb;
}

.modal-media-box img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.empty-note {
  margin-top: 20px;
  font-size: 15px;
  color: var(--ink-soft);
}

.catalog-main,
.product-main {
  padding-top: 84px;
}

.catalog-intro {
  padding: 46px 0 30px;
  background: linear-gradient(180deg, #151f29 0%, #1a2530 100%);
  color: #edf4fb;
}

.catalog-overline {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(226, 236, 247, 0.72);
}

.catalog-intro .section-title,
.catalog-intro .section-subtitle {
  color: inherit;
}

.catalog-intro .section-title {
  margin-top: 12px;
}

.catalog-intro .section-subtitle {
  max-width: 900px;
  color: rgba(226, 236, 247, 0.82);
}

.section-catalog-layout {
  padding-top: 34px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.catalog-filters-inner {
  position: sticky;
  top: 104px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 14px;
  display: grid;
  gap: 14px;
}

.catalog-filter-group {
  display: grid;
  gap: 8px;
}

.catalog-filter-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.75px;
}

.catalog-search-wrap {
  display: grid;
  gap: 8px;
}

.catalog-search-wrap .btn {
  width: 100%;
}

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

.catalog-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #2a3a49;
  line-height: 1.4;
}

.catalog-check input {
  margin-top: 2px;
}

.catalog-category-list {
  display: grid;
  gap: 7px;
}

.catalog-chip {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #22303d;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.catalog-chip:hover {
  border-color: var(--line-strong);
}

.catalog-chip.active {
  border-color: var(--ink);
  background: #f0f4f8;
}

.catalog-chip-count {
  color: var(--ink-muted);
  font-size: 12px;
}

.catalog-results {
  min-width: 0;
  overflow: hidden;
}

.catalog-results-head {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.catalog-results-count {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.catalog-results-link {
  font-size: 14px;
  color: #2e506a;
  text-decoration: underline;
  text-decoration-color: rgba(46, 80, 106, 0.35);
}

.catalog-grid {
  margin-top: 12px;
  grid-template-columns: 1fr;
  gap: 10px;
}

.catalog-grid .product-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  border-radius: var(--radius-sm);
}

.catalog-grid .product-image-wrap {
  height: 134px;
  aspect-ratio: auto;
  background: #edf1f4;
}

.catalog-grid .product-image-wrap img {
  object-fit: contain;
  padding: 8px;
}

.catalog-grid .product-body {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 16px;
  min-width: 0;
}

.catalog-grid .product-meta {
  grid-column: 1 / -1;
}

.catalog-grid .product-title {
  min-height: auto;
  margin: 0;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.catalog-grid .product-data {
  grid-template-columns: repeat(2, minmax(110px, 1fr));
}

.catalog-grid .product-actions {
  flex-direction: column;
  min-width: 156px;
}

.catalog-grid .product-actions .btn {
  width: 100%;
}

.modal-product-box {
  width: min(920px, calc(100% - 24px));
  max-height: 88vh;
  overflow: auto;
}

.quick-product {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
}

.quick-product-media {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #edf1f4;
  min-height: 260px;
}

.quick-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.quick-product-body {
  display: grid;
  gap: 10px;
  align-content: start;
}

.quick-product-title {
  margin: 0;
  font-size: 30px;
  line-height: 0.95;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
}

.quick-product-meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.quick-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.product-intro {
  padding-top: 36px;
  padding-bottom: 22px;
}

.product-section {
  padding-top: 22px;
}

.product-details {
  margin-top: 0;
}

.product-view {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  overflow: hidden;
}

.product-view-media {
  background: var(--surface-alt);
  min-height: 460px;
}

.product-view-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-view-body {
  padding: 24px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.product-view-body h1 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(42px, 5.1vw, 62px);
  line-height: 0.9;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.product-view-price {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.product-view-size,
.product-view-moq {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

@media (max-width: 1024px) {
  .site-header .container {
    min-height: 78px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 48px;
  }

  .hero-shell {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-visual {
    min-height: 480px;
    max-width: 760px;
    margin-top: -8px;
    margin-right: -8px;
  }

  .hero h1 {
    font-size: clamp(56px, 12vw, 98px);
    line-height: 0.98;
  }

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

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

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

  .catalog-filters-inner {
    position: static;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(1240px, calc(100% - 28px));
  }

  .brand span {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    min-width: 252px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.21);
    border-radius: var(--radius-sm);
    background: rgba(13, 23, 33, 0.96);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    min-height: 40px;
  }

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

  .hero-visual {
    min-height: 430px;
  }

  .hero-layer-back {
    width: 58%;
  }

  .hero-layer-mid {
    width: 82%;
  }

  .hero-layer-front {
    width: 64%;
    right: 9%;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

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

  .catalog-grid .product-card {
    grid-template-columns: 142px minmax(0, 1fr);
  }

  .catalog-grid .product-body {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .catalog-grid .product-actions {
    flex-direction: row;
    min-width: 0;
  }

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

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

  .product-view-media {
    min-height: 320px;
  }

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

@media (max-width: 640px) {
  .section {
    padding: 68px 0;
  }

  .catalog-main,
  .product-main {
    padding-top: 78px;
  }

  .hero {
    padding-top: 108px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: clamp(38px, 12.6vw, 56px);
    line-height: 1.03;
    letter-spacing: 0.3px;
  }

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

  .hero-visual {
    min-height: 290px;
    margin-top: 2px;
    margin-right: 0;
  }

  .hero-layer {
    border-radius: var(--radius-sm);
  }

  .hero-layer-back {
    display: none;
  }

  .hero-layer-mid {
    width: 96%;
    top: -2%;
    right: 0;
    transform: rotate(2deg);
  }

  .hero-layer-front {
    width: 78%;
    right: 8%;
    bottom: 0;
    transform: rotate(-2deg);
  }

  .products-grid,
  .contacts-grid,
  .delivery-grid {
    grid-template-columns: 1fr;
  }

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

  .catalog-grid .product-image-wrap {
    height: 190px;
  }

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

  .catalog-grid .product-actions {
    flex-direction: column;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .hero-content,
  .hero-visual,
  .hero-layer-back,
  .hero-layer-mid,
  .hero-layer-front,
  .reveal {
    transform: none !important;
  }
}
