/* Integration layer: the supplied design plus the store's existing Bootstrap forms. */
body { line-height: 1.5; }

/* Keep text selectable and copyable throughout the site, including contact details. */
body { -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text; }

html { overflow-x: clip; }
.footer-contact-card { clip-path: none; }
.inner-content .accordion-header { font-family: 'Manrope',sans-serif; text-transform: none; }
.button,.catalog-button { width: auto; height: auto; margin: 0; border: 0; }
.catalog-button { flex-shrink: 0; }
.button { text-align: center; line-height: 1.4; padding: 16px 24px; }
.home-page .product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.news-block .news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.subscribe-box { display: flex; flex-wrap: wrap; }
.subscribe-box > div { flex: 1 1 220px; }
.subscribe-box .button { flex: 0 1 auto; }
.footer-contact-card .button { display: flex; margin-top: 20px; }
.search-box { position: relative; clip-path: none; overflow: visible; }
.search-submit { order: 3; }
.search-suggestions { position: absolute; top: 100%; left: 0; right: 0; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 100; }
.search-suggestions[hidden] { display: none; }
.search-suggestions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.search-suggestions a:hover { background: #fff6dd; }
.search-suggestion-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
}
.search-suggestion-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
}
.search-suggestion-price { font-weight: 700; color: #976900; }
.search-suggestion-stock { font-size: 11px; color: #59674c; }
.container { max-width: 1920px; }
.site-header .navbar { flex-wrap: nowrap; }
.site-header a:hover,.site-footer a:hover { color: var(--yellow-deep); }
.site-header .header-cta:hover,.site-footer .button:hover { color: var(--text); }
.search-box { margin: 0; }
.search-submit { border: 0; background: transparent; padding: 8px; font-size: 22px; flex-shrink: 0; }
.search-box input { min-width: 0; }
.cart-button { position: relative; }
.cart-counter { display: grid; place-items: center; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 2000; padding: 12px; background: var(--yellow); }
.skip-link:focus { top: 10px; }
a:focus-visible,button:focus-visible { outline: 3px solid var(--yellow-deep); outline-offset: 4px; }
.cookie-notice { position: fixed; z-index: 1050; bottom: 22px; left: 24px; width: min(720px, calc(100% - 48px)); display: flex; align-items: center; gap: 20px; padding: 24px; background: var(--dark); color: #fff; box-shadow: 0 12px 50px #0003; border-left: 4px solid var(--yellow); }
.cookie-notice[hidden] { display: none; }
.cookie-notice strong { font-size: 16px; }
.cookie-notice p { margin: 6px 0 0; color: #c4c8cd; font-size: 12px; line-height: 1.7; }
.cookie-notice p a { text-decoration: underline; color: var(--yellow); }
.cookie-notice .button { flex-shrink: 0; }
.cookie-symbol { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border: 2px dotted var(--yellow); border-radius: 50%; color: var(--yellow); font-weight: 800; }
.inner-content { min-height: 55vh; padding-bottom: 64px; }
.inner-content > .container:first-child { padding-top: 48px !important; }
.inner-content h1 { font-family: 'Oswald', sans-serif; font-size: clamp(30px, 3.2vw, 52px); line-height: 1.15; margin-bottom: 30px; max-width: 1100px; }
.inner-content h1:after { content: ''; display: block; width: 60px; height: 4px; background: var(--yellow); margin-top: 22px; }
.inner-content h2,.inner-content h3,.inner-content h5 { color: var(--text); }
.inner-content h3 { font-size: 24px; }
.inner-content h5 { font-weight: 700; }
.inner-content .card,.inner-content .modal-content { border: 1px solid var(--line); border-radius: 0; background: #fff; box-shadow: 0 12px 30px #10151b06 !important; }
.inner-content .card-body { padding: 26px; }
.inner-content .card-header { background: var(--surface-alt); border-color: var(--line); padding: 18px 26px; }
.inner-content .bg-light { background: #ede9e1 !important; }
.inner-content .rounded { border-radius: 0 !important; }
.inner-content .card-img-top { border-radius: 0; padding: 22px; object-fit: contain !important; }
.breadcrumb { font-size: 13px; margin-bottom: 30px; gap: 4px; }
.breadcrumb a { color: #7b600e; }
.breadcrumb-item.active { color: var(--text-muted); }
@media (max-width: 640px) {
  .breadcrumb { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .breadcrumb::-webkit-scrollbar { display: none; }
  .breadcrumb-item { white-space: nowrap; flex: 0 0 auto; }
}
.partner-mobile-image, .brands-mobile-image, .footer-mobile-image { display: none; }
@media (max-width: 640px) {
  .partner-mobile-image, .brands-mobile-image, .footer-mobile-image { display: block; width: 100%; height: auto; }
  .partner-section { background: #0d1114; }
  .brands-section { background: none; padding-top: 0; }
  .site-footer { background: #10151b; padding-top: 0; }
  .site-footer::before { display: none; }
  .hero-section::before { display: none; }
}
.form-control,.form-select { border-radius: 0; border-color: #dcdad5; padding: 13px 15px; background-color: #fff; font-size: 14px; }
.form-control:focus,.form-select:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px #f3b31526; }
.form-label { font-size: 13px; font-weight: 700; }
.form-check-input:checked { background-color: var(--yellow-deep); border-color: var(--yellow-deep); }
.btn { border-radius: 0; font-weight: 700; font-size: 14px; padding: 12px 20px; }
.btn-accent,.btn-primary { background: var(--yellow); border-color: var(--yellow); color: var(--text); }
.btn-accent:hover,.btn-primary:hover { background: var(--yellow-deep); border-color: var(--yellow-deep); color: var(--text); }
.btn-outline-accent { color: var(--text); border-color: var(--yellow-deep); }
.btn-outline-accent:hover { background: var(--yellow); border-color: var(--yellow); color: var(--text); }
.text-accent { color: #976900 !important; }
.nav-pills .nav-link { border-radius: 0; color: var(--text); }
.nav-pills .nav-link.active { color: var(--text); background: var(--yellow); }
.table { --bs-table-bg: transparent; --bs-table-border-color: var(--line); font-size: 14px; }
.table > :not(caption) > * > * { padding: 16px 12px; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
.accordion-item { border: 1px solid var(--line); border-radius: 0 !important; margin-bottom: 10px; overflow: hidden; }
.accordion-button { padding: 22px; font-weight: 700; font-size: 15px; border-radius: 0 !important; }
.accordion-button:not(.collapsed) { background: #fff6dd; color: var(--text); box-shadow: none; }
.accordion-button:focus { box-shadow: inset 3px 0 var(--yellow); }
.pagination {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 28px;
  margin-bottom: 0;
}
.pagination .page-item { margin: 0; }
.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  margin-left: 0;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.pagination .page-link:hover {
  background: var(--yellow);
  color: var(--dark);
  transform: translateY(-2px);
}
.pagination .page-item.active .page-link {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--dark);
}
.pagination .page-item.disabled .page-link {
  color: #c2c6cb;
  background: #f5f3ee;
  border-color: var(--line);
  pointer-events: none;
}
.inner-content .equipment-card { padding: 22px; display: flex; flex-direction: column; }
.equipment-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.equipment-card h3,.inner-content .equipment-card h3 { font: 700 17px/1.5 'Manrope',sans-serif; overflow-wrap: anywhere; }
.equipment-card .product-footer { margin-top: auto; gap: 12px; flex-wrap: wrap; }
.equipment-card .product-footer span { color: #59674c; }
.equipment-card .product-article { font-size: 12px; margin: 0; }
.equipment-card .product-details { display: flex; align-items: center; justify-content: space-between; font-size: 13px; margin-top: 6px; }
.image-placeholder { height: 188px; width: 100%; display: grid; place-items: center; color: #9a9a93; background: repeating-linear-gradient(135deg,#f3f1eb,#f3f1eb 14px,#efede7 14px,#efede7 15px); font: 600 30px 'Oswald',sans-serif; letter-spacing: 4px; }
.category-card .image-placeholder { height: 154px; margin-bottom: 18px; }
.category-section .section-head p:not(.eyebrow) { max-width: 1040px; }
.products-section .section-head p:not(.eyebrow) { max-width: 1040px; }
.partner-copy p:not(.eyebrow) { max-width: 780px; }
.partner-section::before { display: none; }
.hero-description { max-width: 1040px; }
.category-arrow { margin-top: auto; margin-left: auto; background: var(--yellow); padding: 6px 14px; font-size: 20px; }
.catalog-products { margin: 28px 0; grid-template-columns: repeat(3,minmax(0,1fr)); }
.search-page-form { display: flex; gap: 12px; max-width: 800px; margin: 24px 0 40px; }
.search-page-form .button { flex-shrink: 0; }
.product-gallery { background: white; border: 1px solid var(--line); padding: 24px; display: grid; gap: 18px; }
.product-gallery img { width: 100%; max-height: 420px; object-fit: contain; }
.product-detail .d-flex { flex-wrap: wrap; align-items: flex-start; }
.added-to-cart { display: block; margin-top: 10px; font-size: 12px; text-decoration: underline; }
.account-nav { display: flex; gap: 25px; align-items: center; padding-block: 25px; border-bottom: 1px solid var(--line); }
.account-nav form { margin-left: auto; }
.contact-panel { background: #fff; padding: clamp(24px,3vw,48px); border-top: 3px solid var(--yellow); height: 100%; }
.contact-panel p { line-height: 1.9; }
.about-intro { padding-block: 70px; background: var(--dark); color: white; }
.about-intro-production { background: linear-gradient(90deg, rgba(9,13,17,0.95) 0%, rgba(9,13,17,0.8) 55%, rgba(9,13,17,0.58) 100%), url("imgs/hero.webp") center / cover no-repeat; }
.about-intro-delivery { background: linear-gradient(90deg, rgba(9,13,17,0.95) 0%, rgba(9,13,17,0.8) 55%, rgba(9,13,17,0.58) 100%), url("imgs/brands.webp") center / cover no-repeat; }
.about-intro-warranty { background: linear-gradient(90deg, rgba(9,13,17,0.95) 0%, rgba(9,13,17,0.8) 55%, rgba(9,13,17,0.58) 100%), url("imgs/partner.webp") center / cover no-repeat; }
.about-intro-about { background: linear-gradient(90deg, rgba(9,13,17,0.95) 0%, rgba(9,13,17,0.8) 55%, rgba(9,13,17,0.58) 100%), url("imgs/category3.webp") center / cover no-repeat; }
.about-intro p { max-width: 760px; color: #cbd0d5; line-height: 1.9; }
.about-section { padding-block: 55px; scroll-margin-top: 170px; }
.about-section p { max-width: 900px; line-height: 1.9; color: var(--text-muted); }
.about-intro h1 { color: white; }
.about-intro-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.about-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.about-directory-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.about-directory-card .feature-icon { width: 46px; height: 46px; }
.about-directory-card h3 { margin: 0; font-size: 1.15rem; }
.about-directory-card p { margin: 0; color: var(--text-muted); line-height: 1.7; font-size: 14px; }
.about-directory-card .detail-link { margin-top: auto; }

.detail-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: #826000; text-decoration: none; }
.detail-link:hover { color: var(--yellow-deep); }
.detail-link .arrow-icon { width: 18px; height: 18px; }

.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.process-step { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.process-num { font: 800 28px/1 'Oswald', sans-serif; color: var(--yellow-deep); }
.process-step h3 { margin: 0; font-size: 1.05rem; }
.process-step p { margin: 0; color: var(--text-muted); line-height: 1.7; font-size: 14px; }

.detail-table { width: 100%; border-collapse: collapse; margin-top: 26px; background: #fff; box-shadow: var(--shadow); }
.detail-table th, .detail-table td { padding: 15px 18px; text-align: left; border: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.detail-table th { background: var(--dark); color: #fff; font-weight: 700; }
.detail-table tr:nth-child(even) td { background: #faf8f3; }

.about-cta { text-align: center; }
.about-cta h2 { margin-bottom: 14px; }
.about-cta p { margin: 0 auto 24px; max-width: 640px; }
.about-cta .button { margin: 0 auto; }

/* About pages: refined spacing and blocks */
.about-section { padding-block: clamp(36px, 5vw, 64px); }
.about-section .eyebrow { margin-bottom: 14px; }
.about-section h2 { margin-bottom: 22px; }

.about-section .partner-grid article {
  min-height: 0;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-section .partner-grid h3 { margin: 0; color: var(--text); }
.about-section .partner-grid p { margin: 0; color: var(--text-muted); line-height: 1.7; }
.about-section .partner-grid .feature-icon { width: 48px; height: 48px; }

.about-principles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.about-section .stats-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
.about-section .stats-strip article { border-radius: 0; }

@media (max-width: 860px) {
  .about-directory, .process-grid { grid-template-columns: 1fr; }
  .detail-table th, .detail-table td { padding: 12px 14px; font-size: 13px; }
  .about-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-section .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .about-principles { grid-template-columns: 1fr; }
  .about-section .stats-strip { grid-template-columns: 1fr; }
}

/* Breadcrumb inside dark hero */
.about-intro .breadcrumb { margin-bottom: 22px; }
.about-intro .breadcrumb a { color: rgba(255,255,255,0.72); }
.about-intro .breadcrumb a:hover { color: var(--yellow); }
.about-intro .breadcrumb-item.active { color: #f5f7f9; }
.about-intro .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* Split layout: content left, CTA right, separated by a line */
.about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(28px, 3vw, 48px); align-items: stretch; }
.about-split-left { min-width: 0; }
.about-split-right { min-width: 0; padding-left: clamp(28px, 3vw, 48px); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.about-split-right p { margin: 0; }
.about-split-right .button { align-self: flex-start; }

/* Bevels on cards/blocks */
.about-section .partner-grid article,
.process-step,
.about-directory-card { clip-path: polygon(var(--cut-corner) 0, 100% 0, 100% calc(100% - var(--cut-corner)), calc(100% - var(--cut-corner)) 100%, 0 100%, 0 var(--cut-corner)); }
.about-split-left .partner-grid { grid-template-columns: 1fr; }

/* Button and link animations */
.detail-link .arrow-icon { transition: transform 0.22s ease; }
.detail-link:hover .arrow-icon { transform: translateX(3px); }
.about-cta .button, .about-split-right .button { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.about-cta .button:hover, .about-split-right .button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(13,17,23,0.12); }

@media (max-width: 860px) {
  .about-split { grid-template-columns: 1fr; gap: 32px 0; }
  .about-split-right { padding-left: 0; border-left: 0; }
}
.news-card p { font-size: 13px; color: var(--text-muted); }
@media(min-width:1181px) { .site-header .main-nav { gap: clamp(12px,1.5vw,26px); } }
@media(max-width:1180px) { .site-header .navbar { align-items: stretch; } .site-header .topbar-actions { justify-content: flex-end; } }
@media(max-width:860px) { .catalog-products,.home-page .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .inner-content h1 { font-size: 34px; } .site-header .topbar-actions,.site-header.is-compact .topbar-actions { display: flex; gap: 12px; } }
@media(max-width:640px) { .home-page .product-grid,.news-block .news-grid { grid-template-columns: 1fr; } .subscribe-box > div { flex-basis: 100%; } .subscribe-box .button { width: 100%; } }
@media(max-width:640px) { .cookie-notice { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 18px; gap: 12px; flex-wrap: wrap; } .cookie-symbol { display: none; } .cookie-notice .button { width: 100%; padding: 10px; } .catalog-products { grid-template-columns: 1fr; } .inner-content > .container:first-child { padding-top: 28px !important; } .inner-content .card-body { padding: 20px; } .account-nav { gap: 12px; font-size: 12px; } .site-header .profile-button { display: none; } .table th,.table td { white-space: nowrap; } .footer-contact-card { overflow-wrap: anywhere; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition: none !important; animation: none !important; } }
@media(max-width:1180px) {
 .site-header .topbar { display: grid; grid-template-columns: 1fr auto; gap: 12px; min-height: 0; padding-block: 14px; }
 .site-header .topbar > .brand { grid-column: 1; grid-row: 1; }
 .site-header .topbar-actions,.site-header.is-compact .topbar-actions { grid-column: 2; grid-row: 1; width: auto; display: flex; gap: 10px; }
 .site-header .topbar-catalog { grid-column: 1 / -1; grid-row: 2; width: 100%; flex: initial; display: flex; flex-direction: row; gap: 8px; }
 .site-header .search-box,.site-header.is-compact .search-box { flex: 1 1 0; min-width: 0; padding: 10px; }
 .site-header .catalog-button { padding: 12px; font-size: 12px; }
 .site-header .brand-image { width: 112px; }
 .site-header .icon-button,.site-header .menu-toggle { width: 40px; height: 40px; margin: 0; }
 .site-header .navbar { max-height: calc(100dvh - 145px); overflow-y: auto; }
}
@media(max-width:640px) { .site-header .search-box input { font-size: 12px; } .site-header .catalog-dots,.site-header .catalog-button .chevron { display: none; } .hero-badges { position: static; margin-top: 36px; } .hero-frame { padding-bottom: 28px; } }

.main-nav .profile-nav-link { display: none; }
@media(max-width:1180px) { .main-nav .profile-nav-link { display: block; padding: 4px 0; font-weight: 600; } }

/* Stable header geometry: compacting changes only the fixed layer. */
:root { --header-expanded-height: 178px; }
body { overflow-x: clip; }
/* Bootstrap modals: keep page stable — no layout shift, no extra scrollbar */
html { scrollbar-gutter: stable; }
body.modal-open { overflow: hidden; padding-right: 0 !important; }
.page-shell { overflow: visible; }
.header-space { height: var(--header-expanded-height); }
.site-header { position: fixed; inset: 0 0 auto; width: 100%; z-index: 1030; }
.site-header.is-measuring, .site-header.is-measuring * { transition: none !important; }
html { scroll-padding-top: calc(var(--header-expanded-height) + 20px); }

/* Desktop first screen; the artwork keeps its original aspect ratio. */
.hero-section { background: #fff; }
.hero-frame {
 min-height: max(620px, calc(100svh - var(--header-expanded-height)));
 display: flex; flex-direction: column; justify-content: space-between;
 padding-top: clamp(48px, 7vh, 100px); padding-bottom: 24px;
 background: none; gap: 70px;
}
/* Hero crossfade slider: hero.png / hero2.png / hero3.png */
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
 position: absolute; inset: 0;
 width: 100%; height: 100%;
 object-fit: contain; object-position: right top;
 opacity: 0;
 transition: opacity 2s ease-in-out;
 will-change: opacity;    box-shadow: 0px 0px 15px #00000040;
}
.hero-slide.is-active { opacity: 1; }
.hero-shade {
 position: absolute; inset: 0; z-index: 1;
 background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.93) 38%, rgba(255,255,255,0.12) 58%, rgba(255,255,255,0) 100%);
 pointer-events: none;
}
.hero-copy { flex: 0 0 auto; position: relative; z-index: 2; }
.hero-badges {
 position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: flex-start !important; align-items: center;
 width: 100%; padding: 24px 0 0; margin: auto 0 0; gap: 0; row-gap: 12px;
}
.hero-stat {
 padding-inline: clamp(12px,1.8vw,30px);
 flex: 0 0 auto !important;
 text-decoration: none; color: inherit; cursor: pointer;
 transition: transform .45s ease;
}
.hero-stat:first-child { padding-left: 0 !important; }
.hero-badges .video-card { margin: 0; }
/* Hero stats: hover — icon stroke + text color (no fill / background) */
.hero-stat .ic-main { stroke: #151A20; transition: stroke .45s ease; }
.hero-stat .ic-accent { stroke: #E5AD17; transition: stroke .45s ease; }
.hero-stat strong, .hero-stat span { transition: color .45s ease; }
.hero-stat:hover { transform: translateY(-3px); }
.hero-stat:hover .ic-main { stroke: #E5AD17; }
.hero-stat:hover .ic-accent { stroke: #151A20; }
.hero-stat:hover strong { color: var(--yellow-deep); }
.hero-stat:hover span { color: var(--text); }
/* Video-card ("Подробнее о производстве") — same hover effect */
.hero-badges .video-card { transition: transform .45s ease; }
.hero-badges .video-card .play-icon { transition: border-color .45s ease; }
.hero-badges .video-card .play-icon::before { transition: border-left-color .45s ease; }
.hero-badges .video-card > span:last-child { transition: color .45s ease; }
.hero-badges .video-card:hover { transform: translateY(-3px); }
.hero-badges .video-card:hover .play-icon { border-color: #E5AD17; }
.hero-badges .video-card:hover .play-icon::before { border-left-color: #E5AD17; }
.hero-badges .video-card:hover > span:last-child { color: var(--yellow-deep); }
.hero-section::after { bottom: 0; }
.hero-stat, .video-card {
	position: relative;
    top: -20px;
}
/* Requested homepage and footer refinements. */
.home-page .product-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
.equipment-card .product-details { width: 100%; min-width: 0; min-height: 48px; height: auto; padding: 12px 14px; gap: 8px; }
.equipment-card .product-details .arrow-icon { flex-shrink: 0; }
.consultation-box { margin-top: 22px; padding: clamp(22px,2.5vw,36px); display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; background: var(--dark); color: white; clip-path: polygon(var(--cut-corner) 0, 100% 0, 100% calc(100% - var(--cut-corner)), calc(100% - var(--cut-corner)) 100%, 0 100%, 0 var(--cut-corner)); }
.consultation-copy strong { font-size: 20px; }
.consultation-copy p { margin: 12px 0 4px; color: #c4c9cf; line-height: 1.8; }
.consultation-box label { font-size: 13px; margin-bottom: -6px; }
.consultation-box input { width: 100%; min-width: 0; min-height: 52px; padding: 12px 16px; border: 1px solid #ffffff40; color: white; background: #ffffff0d; border-radius: 0; }
.consultation-box input::placeholder { color: #b3bac2; }
.consultation-box .button { width: 100%; min-width: 0; height: auto; min-height: 56px; padding: 14px 18px; margin: 0; white-space: normal; }
.footer-contact-card { clip-path: none; }
.footer-top,.footer-bottom { grid-template-columns: minmax(220px,1fr) minmax(440px,2.25fr) minmax(220px,.9fr); column-gap: clamp(28px,4vw,72px); }
.footer-bottom { display: grid; align-items: start; }
.footer-legal { grid-column: 1 / 3; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-developer { grid-column: 3; margin-left: 0; }
.footer-contact-row { overflow-wrap: anywhere; }

@media (min-width:1921px) { .hero-frame { max-width: none; } }
@media (max-width:1400px) { .home-page .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width:1180px) {
 :root { --header-expanded-height: 154px; }
 .hero-slider { position: relative; inset: auto; z-index: 0; margin-inline: calc(-1 * var(--page-gutter)); aspect-ratio: 1796 / 876; max-height: 420px; background: #f8f7f4; }
 .hero-shade { display: none; }
 .hero-frame { min-height: 0; padding-top: 0; padding-bottom: 36px; background: none; gap: 32px; }
 .hero-copy { max-width: 760px; }
 .hero-badges { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 0; margin: 0; }
 .hero-stat,.hero-stat:first-child { padding: 18px; min-height: 92px; gap: 12px; background: #f7f5ef; clip-path: polygon(var(--cut-corner) 0, 100% 0, 100% calc(100% - var(--cut-corner)), calc(100% - var(--cut-corner)) 100%, 0 100%, 0 var(--cut-corner)); }
 .hero-stat + .hero-stat { border-left: 0; }
 .hero-stat-icon { width: 38px; height: 38px; flex-basis: 38px; }
 .hero-badges .video-card { grid-column: 1 / -1; justify-content: center; padding: 14px; background: #f7f5ef; clip-path: polygon(var(--cut-corner) 0, 100% 0, 100% calc(100% - var(--cut-corner)), calc(100% - var(--cut-corner)) 100%, 0 100%, 0 var(--cut-corner)); }
 .footer-top,.footer-bottom { grid-template-columns: 1fr; }
 .footer-legal,.footer-developer { grid-column: 1; }
}
@media (max-width:640px) {
	
	.hero-slide {
		width: 112%!important;
		height: 112%!important;
		object-fit: unset!important;
		object-position: right unset!important;
	}
		
 .hero-slider { max-height: none; overflow: hidden; }
 .hero-frame { padding-top: 0; padding-bottom: 28px; gap: 28px; }
 .hero-copy h1 { font-size: clamp(29px,8vw,40px); line-height: 1.08; }
 .hero-copy .eyebrow { font-size: 10px; gap: 10px; margin-bottom: 18px; }
 .hero-copy .eyebrow::before { width: 24px; flex-shrink: 0; }
 .hero-description { font-size: 15px; line-height: 1.75; margin-top: 20px; }
 .hero-actions { margin-top: 24px; }
 .hero-actions .button { min-width: 0; min-height: 54px; padding: 14px 18px; }
 .hero-stat,.hero-stat:first-child { padding: 12px; align-items: flex-start; gap: 8px; }
 .hero-stat-icon { width: 28px; height: 28px; flex-basis: 28px; }
 .hero-stat strong { font-size: 12px; line-height: 1.45; }
 .hero-stat span { font-size: 11px; line-height: 1.55; margin-top: 4px; }
 .home-page .product-grid { grid-template-columns: 1fr; }
}

/* A slanted dark fill travels across the yellow button. */
.equipment-card .sweep-button,.category-disclosure .sweep-button {
 position: relative; isolation: isolate; overflow: hidden;
 display: flex; align-items: center; justify-content: space-between;
 width: 100%; height: auto; min-height: 48px; margin: 0; padding: 12px 14px;
 border: 0; background: var(--yellow); color: var(--dark); box-shadow: none;
 font-size: 13px; line-height: 1.4; gap: 8px; cursor: pointer;
 transition: color .35s ease;
}
.sweep-button::before {
 content: ''; position: absolute; inset: 0; z-index: -1;
 background: var(--dark); clip-path: polygon(0 0, 0 0, -25% 100%, 0 100%);
 transition: clip-path .45s cubic-bezier(.22,.61,.36,1);
}
.equipment-card .sweep-button:hover,.equipment-card .sweep-button:focus-visible,
.category-disclosure .sweep-button:hover,.category-disclosure .sweep-button:focus-visible {
 color: var(--yellow); transform: none; box-shadow: none;
}
.sweep-button:hover::before,.sweep-button:focus-visible::before {
 clip-path: polygon(0 0, 125% 0, 100% 100%, 0 100%);
}
.sweep-button .arrow-icon { flex-shrink: 0; }
.category-disclosure { position: relative; overflow: hidden; min-height: 350px; gap: 18px; }
.category-summary { display: flex; flex-direction: column; flex: 1; }
.category-summary p { margin-top: 8px; }
.category-disclosure .category-toggle { z-index: 3; margin-top: auto; flex-shrink: 0; font-size: 12px; text-align: left; }
.category-glass {
 position: absolute; inset: 0; z-index: 2; padding: 24px 18px 84px;
 display: flex; flex-direction: column; gap: 14px;
 background: rgba(255,255,255,.82); backdrop-filter: blur(16px) saturate(125%); -webkit-backdrop-filter: blur(16px) saturate(125%);
 border-top: 1px solid #fff; transform: translateY(102%); visibility: hidden;
 transition: transform .42s cubic-bezier(.22,.61,.36,1), visibility 0s .42s;
}
.category-disclosure.is-open .category-glass { transform: translateY(0); visibility: visible; transition-delay: 0s; }
.category-glass h3 { flex-shrink: 0; font-size: 16px; line-height: 1.4; }
.category-child-links { overflow-y: auto; min-height: 0; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--yellow) transparent; }
.category-child-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 1px solid #14181d18; font-size: 13px; font-weight: 600; line-height: 1.45; }
.category-child-links a span { color: #8a6400; flex-shrink: 0; }
.category-child-links a:hover,.category-child-links a:focus-visible { color: #765600; background: #f3b31520; }
.category-child-links .category-all { font-weight: 800; }
.category-child-links p { font-size: 13px; }
@media(prefers-reduced-motion:reduce) { .sweep-button::before,.category-glass { transition: none; } }

/* Keep the brand artwork clear; contrast belongs to the content panels. */
.brands-section::before { content: none; }
.brands-section { padding-top: clamp(48px,5vw,88px); }
.brands-section .section-head { margin-bottom: 32px; }
.brands-section .section-head > div {
 max-width: 900px; padding: clamp(22px,2.4vw,38px);
 background: #fff; border-left: 4px solid var(--yellow);
}
.brands-section .section-head h2 { font-size: clamp(28px,2.8vw,48px); line-height: 1.12; }
.brands-section .section-head p:not(.eyebrow) { color: #4c5661; max-width: 680px; font-size: 15px; line-height: 1.8; margin-top: 20px; }
.brands-section .brands-benefits {
 display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 24px; margin-top: 0;
}
.brands-section .brands-benefits article {
 display: grid; grid-template-columns: 52px minmax(0,1fr); grid-template-rows: auto 1fr;
 align-items: center; gap: 18px 20px; min-height: 0; margin: 0;
 padding: clamp(22px,2.2vw,34px); background: #141b23b8; color: #fff;
 border: 0; border-top: 3px solid var(--yellow); border-radius: 0;
 box-shadow: 0 16px 36px #10151b1a;
}
.brands-section .brands-benefits .feature-icon {
 grid-column: 1; grid-row: 1; width: 52px; height: 52px; flex: none;
 background: #293029; border: 1px solid #f3b31566;
}
.brands-section .brands-benefits h3 {
 grid-column: 2; grid-row: 1; margin: 0; color: #fff;
 font-size: clamp(18px,1.3vw,23px); font-weight: 800; line-height: 1.35;
}
.brands-section .brands-benefits p {
 grid-column: 2; grid-row: 2; align-self: start;
 margin: 0; color: #d6dce3; font-size: 14px; line-height: 1.85;
}
.brands-section .brands-strip { border-top: 0; margin-top: 24px; padding-top: 0; gap: 12px; }
.brands-section .brands-strip span { background: #fff; color: #14181d; border-color: #e4e4df; }
@media(max-width:1180px) {
 .brands-section .brands-benefits { gap: 16px; }
 .brands-section .brands-benefits article { padding: 24px; column-gap: 14px; }
 .brands-section .brands-benefits p { grid-column: 1 / -1; }
}
@media(max-width:860px) {
 .brands-section .brands-benefits { grid-template-columns: 1fr; }
 .brands-section .brands-benefits p { grid-column: 2; }
 .brands-section .section-head > div { max-width: none; }
}
@media(max-width:480px) {
 .brands-section .brands-benefits article { grid-template-columns: 44px minmax(0,1fr); padding: 22px; gap: 16px 14px; }
 .brands-section .brands-benefits .feature-icon { width: 44px; height: 44px; }
 .brands-section .brands-benefits p { grid-column: 1 / -1; font-size: 14px; }
 .brands-section .brands-strip { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
 .brands-section .brands-strip span { min-width: 0; }
}

/* Clip only the field's surfaces so suggestions remain outside its frame. */
.site-header .search-box,.site-header.is-compact .search-box {
 isolation: isolate; position: relative; overflow: visible; clip-path: none;
 border: 0; border-radius: 0; background: transparent;
 min-height: 58px; padding: 6px 10px 6px 20px; gap: 8px;
 transition: min-height .35s ease, padding .35s ease, flex-basis .35s ease;
}
.search-box::before,.search-box::after {
 content: ''; position: absolute; z-index: -1; pointer-events: none;
 clip-path: polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px);
 transition: background-color .2s ease;
}
.search-box:focus-visible {
	outline: none;
}
.search-box input:focus-visible {
	outline: none;
}

.search-box::before { inset: 0; background: #d1cdc3; }
.search-box::after { inset: 1px; background: #f9f9f9; }
.search-box:hover::before { background: #b3a88b; }
.search-box:focus-within::before { background: var(--yellow-deep); }
.search-box:focus-within::after { background: #fff7df; }
.site-header .search-box input { font-size: 14px; color: var(--text); }
.site-header .search-box input::placeholder { color: #646a70; opacity: 1; }
.site-header .search-submit {
 display: grid; place-items: center; width: 44px; height: 44px; padding: 10px;
 margin: 0; border: 0; background: transparent; color: var(--text); cursor: pointer;
 transition: width .35s ease, height .35s ease, background-color .2s ease;
}
.site-header .search-submit svg { display: block; width: 22px; height: 22px; color: inherit; opacity: 1; }
.site-header .search-submit:hover { background: var(--yellow); }
.site-header.is-compact .search-box { min-height: 48px; padding: 3px 8px 3px 16px; }
.site-header.is-compact .search-submit { width: 40px; height: 40px; }
.site-header .search-suggestions { top: 100%; }
@media(min-width:1181px) {
 .site-header .topbar-catalog { transition: flex-basis .35s ease,width .35s ease; }
 .site-header.is-compact .topbar-catalog { flex-basis: 600px; width: min(40vw,600px); }
}
@media(max-width:640px) {
 .site-header .search-box { min-height: 48px; padding: 3px 6px 3px 14px; }
 .site-header .search-box input { font-size: 12px; }
 .site-header .search-submit { width: 40px; height: 40px; }
 .site-header.is-compact .search-box { min-height: 44px; padding: 1px 6px 1px 12px; }
}

.site-header .catalog-button { cursor: pointer; transition: background-color .2s ease,color .2s ease; }
.site-header .catalog-button[aria-expanded="true"] { background: var(--yellow); color: var(--dark); }
.catalog-button[aria-expanded="true"] .catalog-dots { filter: brightness(0); }
.catalog-button .chevron { transition: transform .2s ease;    position: relative;
    top: -2px;
} 
.catalog-button[aria-expanded="true"] .chevron { transform: rotate(225deg); top: 0;}
.catalog-mega {
 position: absolute; top: 100%; left: 0; right: 0; z-index: 10;
 max-height: calc(100dvh - var(--header-visible-height,178px) - 12px);
 overflow-y: auto; overscroll-behavior: contain;
 background: #fbfaf7; border-top: 3px solid var(--yellow); border-bottom: 1px solid #dedbd3;
 box-shadow: 0 24px 40px #10151b26; scrollbar-width: thin; scrollbar-color: #b9ad8f #fbfaf7;
 animation: catalog-reveal .2s ease-out;
}
.catalog-mega[hidden] { display: none; }
@keyframes catalog-reveal { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.catalog-mega-heading { display: flex; align-items: center; gap: 24px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.catalog-mega-eyebrow { display: block; color: #826000; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.catalog-mega-heading h2 { margin: 0; font-size: 28px; }
.catalog-mega-all { margin-left: auto; display: flex; align-items: center; gap: 18px; padding: 13px 18px; background: var(--yellow); font-size: 13px; font-weight: 800; clip-path: polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px); }
.site-header .catalog-mega-all:hover { background: var(--dark); color: var(--yellow); }
.catalog-mega-close { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; padding: 0; border: 1px solid #dedbd3; background: white; font-size: 26px; line-height: 1; }
.catalog-mega-close:hover { background: var(--yellow); }
.catalog-mega-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 28px 40px; padding-block: 28px 36px; }
.catalog-mega-group { min-width: 0; }
.catalog-mega-group h3 { margin: 0 0 10px; padding: 0 0 12px; border-bottom: 2px solid var(--yellow); font-size: 16px; line-height: 1.4; }
.catalog-mega-group h3 a { display: flex; justify-content: space-between; gap: 14px; font-weight: 800; }
.catalog-mega-group h3 a span { color: #826000; }
.catalog-mega-group ul { list-style: none; margin: 0; padding: 0; }
.catalog-mega-group li a,.catalog-mega-empty { display: block; padding: 7px 10px; margin-inline: -10px; font-size: 13px; line-height: 1.5; color: #454d55; }
.site-header .catalog-mega-group a:hover,.catalog-mega-group a:focus-visible { background: #f3b3151a; color: #705100; }
@media(max-width:1000px) { .catalog-mega-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; } }
@media(max-width:640px) {
 .catalog-mega-heading { display: grid; grid-template-columns: minmax(0,1fr) 36px; gap: 12px; padding-block: 18px; }
 .catalog-mega-heading h2 { font-size: 24px; }
 .catalog-mega-eyebrow { font-size: 9px; }
 .catalog-mega-close { grid-column: 2; grid-row: 1; width: 36px; height: 36px; }
 .catalog-mega-all { grid-column: 1 / -1; margin-left: 0; justify-content: space-between; }
 .catalog-mega-grid { grid-template-columns: 1fr; padding-block: 20px 28px; }
}
@media(prefers-reduced-motion:reduce) { .catalog-mega { animation: none; } }


/* =====================================================================
   Catalog combined layout (index + category pages)
   ===================================================================== */
.catalog-page { padding-bottom: 24px; }
.catalog-page > .container { padding-top: 32px; }

.catalog-heading { margin-bottom: 38px; }
.catalog-heading h1 { margin-bottom: 0; }
.catalog-heading .catalog-seo {
  max-width: 920px;
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: calc(var(--header-visible-height, var(--header-expanded-height, 178px)) + 20px);
  background: #f0f2f4;
  border: 1px solid rgba(20, 24, 29, 0.06);
  box-shadow: var(--shadow);
}
.catalog-sidebar-nav { display: flex; flex-direction: column; }
.catalog-sidebar-collapse > summary,
.catalog-filters-collapse > summary { display: none; }
@media (min-width: 641px) {
  .catalog-sidebar-collapse > .catalog-sidebar-nav { display: flex !important; }
  .catalog-filters-collapse > .catalog-filters { display: flex !important; }
}

.catalog-sidebar-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line);
  border-left: 4px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.catalog-sidebar-all:hover,
.catalog-sidebar-all.is-active { background: #fff6dd; border-left-color: var(--yellow); color: #705100; }
.catalog-sidebar-all .catalog-sidebar-arrow { color: #8a6400; }

.catalog-sidebar-group { border-bottom: 1px solid var(--line); }
.catalog-sidebar-group[open] { background: #fbfbfb; }

.catalog-sidebar-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.catalog-sidebar-summary::-webkit-details-marker { display: none; }
.catalog-sidebar-summary:hover,
.catalog-sidebar-summary.is-active {    color: #ffffff;
    background: #000000;}
.catalog-sidebar-summary.is-active { border-left: 3px solid var(--yellow); }

.catalog-sidebar-chevron {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  position: relative;
}
.catalog-sidebar-chevron::before {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  color: var(--yellow-deep);
  mask: url("imgs/icons/arrow-right.svg") center / contain no-repeat;
  -webkit-mask: url("imgs/icons/arrow-right.svg") center / contain no-repeat;
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}
.catalog-sidebar-group[open] .catalog-sidebar-chevron::before { transform: rotate(-90deg); }

.catalog-sidebar-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 20px 18px;
}
.catalog-sidebar-open {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  margin-inline: -10px;
  font-size: 13px;
  font-weight: 800;
    color: #6e6e6e;
    background: #ebebeb;
}
.catalog-sidebar-open span { color: #8a6400; }
.catalog-sidebar-open:hover { color: #5f4500; }

.catalog-sidebar-children {
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.catalog-sidebar-children a {
  display: block;
  padding: 8px 10px;
  margin-inline: -10px;
  font-size: 13px;
  line-height: 1.45;
  color: #454d55;
  border-left: 3px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.catalog-sidebar-children a:hover {background: #e3e3e3;
    color: #000000;}
.catalog-sidebar-children a.is-active {
  border-left-color: var(--yellow);
    background: #000000;
    color: #ffffff;
  font-weight: 700;
}


/* Toolbar: filter + sort + view toggle */
.catalog-content { min-width: 0; }
.catalog-content .catalog-products { margin: 0; }

.catalog-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 18px;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}
.catalog-filters { display: flex; align-items: stretch; gap: 16px; flex-wrap: wrap; }
.catalog-filter-field { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.catalog-filter-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #826000;
}
.catalog-select,
.catalog-price-inputs input {
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #dcdad5;
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font-size: 14px;
}
.catalog-select { min-width: 200px; cursor: pointer; }
.catalog-select:focus,
.catalog-price-inputs input:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px #f3b31526; outline: none; }
.catalog-filter-check { flex-direction: column; align-items: flex-start; }
.catalog-check { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; cursor: pointer; }
.catalog-filter-check .catalog-check { min-height: 46px; }
.catalog-check input { width: 18px; height: 18px; accent-color: var(--yellow-deep); cursor: pointer; }
.catalog-price-inputs { display: flex; align-items: center; gap: 8px; }
.catalog-price-inputs input { width: 112px; }
.catalog-price-inputs input::-webkit-outer-spin-button,
.catalog-price-inputs input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.catalog-price-inputs input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.catalog-price-sep { color: var(--text-muted); }
.catalog-apply { min-height: 46px; padding: 12px 16px; font-size: 13px; }
.catalog-toolbar-side { display: flex; align-items: center; gap: 14px; }
.catalog-view-toggle { display: inline-flex; border: 1px solid #dcdad5; background: #fff; }
.catalog-view-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #7c8288;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.catalog-view-btn svg { width: 20px; height: 20px; fill: currentColor; }
.catalog-view-btn + .catalog-view-btn { border-left: 1px solid #dcdad5; }
.catalog-view-btn:hover { color: #705100; background: #fff6dd; }
.catalog-view-btn.is-active { background: var(--yellow); color: var(--dark); }
.catalog-reset { font-size: 13px; font-weight: 700; color: #826000; text-decoration: underline; text-underline-offset: 3px; }
.catalog-reset:hover { color: var(--yellow-deep); }

/* Dark toolbar: light labels and controls on the dark background */
.catalog-toolbar .catalog-filter-label { color: var(--yellow); }
.catalog-toolbar .catalog-select,
.catalog-toolbar .catalog-price-inputs input {
  background: var(--dark-soft);
  border-color: rgba(255, 255, 255, 0.16);
  color: #f5f6f7;
}
.catalog-toolbar .catalog-select option { color: var(--text); background: #fff; }
.catalog-toolbar .catalog-select:focus,
.catalog-toolbar .catalog-price-inputs input:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(243, 179, 21, 0.28); }
.catalog-toolbar .catalog-price-values { color: #f5f6f7; }
.catalog-toolbar .catalog-price-values .catalog-price-sep { color: #9aa2ab; }
.catalog-toolbar .catalog-price-flat { color: #f5f6f7; }
.catalog-toolbar .catalog-price-track { background: rgba(255, 255, 255, 0.18); }
.catalog-toolbar .catalog-check { color: #f5f6f7; }
.catalog-toolbar .catalog-check input { accent-color: var(--yellow); }
.catalog-toolbar .catalog-view-toggle {
  background: var(--dark-soft);
  border-color: rgba(255, 255, 255, 0.16);
}
.catalog-toolbar .catalog-view-btn { color: #9aa2ab; }
.catalog-toolbar .catalog-view-btn + .catalog-view-btn { border-left-color: rgba(255, 255, 255, 0.16); }
.catalog-toolbar .catalog-view-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.catalog-toolbar .catalog-view-btn.is-active { background: var(--yellow); color: var(--dark); }
.catalog-toolbar .catalog-reset { color: var(--yellow); }
.catalog-toolbar .catalog-reset:hover { color: #fff; }
.catalog-toolbar .catalog-filters-collapse > summary {
  background: var(--dark-soft);
  color: #f5f6f7;
  border-color: rgba(255, 255, 255, 0.16);
}
.catalog-toolbar .catalog-filters-collapse[open] .catalog-filters {
  border-top-color: rgba(255, 255, 255, 0.16);
}

/* List view */
.catalog-products.view-list { grid-template-columns: 1fr; }
.catalog-products.view-list .equipment-card { flex-direction: row; align-items: center; gap: 24px; }
.catalog-products.view-list .product-visual { flex: 0 0 220px; height: 160px; }
.catalog-products.view-list .product-visual img,
.catalog-products.view-list .product-visual .image-placeholder { width: 100%; height: 100%; object-fit: contain; }
.catalog-products.view-list .product-visual .image-placeholder { font-size: 14px; letter-spacing: 1px; }
.catalog-products.view-list .equipment-card h3 { flex: 1; margin: 0; }
.catalog-products.view-list .product-article { margin: 0; }
.catalog-products.view-list .product-footer { margin-top: 0; flex: 0 0 auto; }
.catalog-products.view-list .product-details { flex: 0 0 auto; width: auto; }

.catalog-empty {
  grid-column: 1 / -1;
  padding: 44px 24px;
  text-align: center;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed #dcdad5;
}
.catalog-empty a { color: #826000; font-weight: 700; }

.catalog-geo {
  margin-top: 44px;
  padding: 28px 32px;
  background: #fff;
  border-left: 4px solid var(--yellow);
  box-shadow: var(--shadow);
}
.catalog-geo p { margin: 0; line-height: 1.8; color: var(--text-muted); }

.catalog-faq { margin-top: clamp(40px, 5vw, 64px); }
.catalog-faq .section-head { margin-bottom: 24px; }

@media (max-width: 1080px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; }
  .catalog-filters { width: 100%; }
  .catalog-toolbar-side { margin-left: auto; }
}
@media (max-width: 640px) {
  .catalog-products.view-list .equipment-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "visual article" "visual name" "visual footer" "visual details"; align-items: center; gap: 4px 14px; }
  .catalog-products.view-list .product-visual { grid-area: visual; width: 96px; height: 96px; flex: none; }
  .catalog-products.view-list .product-article { grid-area: article; }
  .catalog-products.view-list .equipment-card h3 { grid-area: name; margin: 0; flex: none; }
  .catalog-products.view-list .product-footer { grid-area: footer; margin: 0; flex: none; }
  .catalog-products.view-list .product-details { grid-area: details; width: auto; }
  .catalog-select { width: 100%; min-width: 0; }
  .catalog-price-inputs input { width: 90px; }
  .catalog-toolbar-side { margin-left: 0; width: 100%; justify-content: space-between; }
  .catalog-toolbar { position: relative; }
  .catalog-filters-collapse { flex: 1 1 100%; }
  .catalog-filters { flex-direction: column; }
  .catalog-filter-check { flex-direction: row; align-items: center; min-height: 46px; }
  .catalog-filter-check .catalog-filter-label { display: none; }
  .catalog-sidebar-collapse > summary,
  .catalog-filters-collapse > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; font-weight: 800; font-size: 14px; color: var(--text); background: #fff; border: 1px solid var(--line); cursor: pointer; list-style: none; }
  .catalog-filters-collapse > summary { display: inline-flex; width: auto; }
  .catalog-sidebar-collapse > summary::-webkit-details-marker,
  .catalog-filters-collapse > summary::-webkit-details-marker { display: none; }
  .catalog-sidebar-collapse:not([open]) > .catalog-sidebar-nav { display: none; }
  .catalog-filters-collapse:not([open]) > .catalog-filters { display: none; }
  .catalog-sidebar-collapse[open] > summary .catalog-sidebar-chevron::before,
  .catalog-filters-collapse[open] > summary .catalog-sidebar-chevron::before { transform: rotate(-90deg); }
  .catalog-filters-collapse[open] .catalog-filters { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
  .catalog-view-field { position: absolute; top: 18px; right: 18px; margin: 0; }
  .catalog-view-toggle { width: auto; }
  .catalog-reset { flex: 1 1 100%; }
  .catalog-hero-copy { width: 100% !important; padding: 24px 20px !important; }
  .catalog-hero-copy h1 { font-size: 26px; line-height: 1.15; }
  .catalog-hero-copy .catalog-seo { font-size: 14px; line-height: 1.6; }
}


/* =====================================================================
   Catalog: section hero, toolbar polish, price slider, AJAX animation
   ===================================================================== */

/* Section hero — two columns, skewed copy panel */
.catalog-hero {
  display: block;
  margin-bottom: 40px;
  background: #fff;
  border: 1px solid rgba(20, 24, 29, 0.05);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.catalog-hero.has-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: stretch;
}
.catalog-hero-copy {
  position: relative;
    width: 117%;
  padding: 56px 200px 56px 56px;
  background: linear-gradient(150deg, #fff 0%, #fffaf0 100%);
}
.catalog-hero-copy::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 96px;
  height: 5px;
  background: var(--yellow);
}
.catalog-hero-copy .eyebrow { margin-bottom: 18px; }
.catalog-hero-copy h1 { max-width: none; margin-bottom: 0; }
.catalog-hero-copy .catalog-seo { margin-top: 20px; }
.catalog-hero-media {
  position: relative;
  min-height: 300px;
  margin-block: 0;
  clip-path: polygon(clamp(40px, 5vw, 88px) 0, 100% 0, 100% 100%, 0 100%);
}
.catalog-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Catalog blocks: cut corners (bevels) to match the template */
.catalog-hero,
.catalog-sidebar,
.catalog-toolbar,
.catalog-geo,
.catalog-section-card {
  border-radius: 0;
  clip-path: polygon(var(--cut-corner) 0, 100% 0, 100% calc(100% - var(--cut-corner)), calc(100% - var(--cut-corner)) 100%, 0 100%, 0 var(--cut-corner));
}

/* Last category card on the home page keeps a consistent bottom rhythm. */
.category-grid > .category-card:last-child {
  padding: 0 18px 22px 18px;
}
.category-grid > .category-card:last-child h3 {
  margin-top: 23px;
}

/* "Показать" button: yellow sweep, text turns yellow on hover */
.catalog-apply {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--yellow);
  color: var(--dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.35s ease, transform 0.25s ease;
}
.catalog-apply:hover,
.catalog-apply:focus-visible { color: var(--yellow); transform: none; box-shadow: none; }


/* Price range slider */
.catalog-price { display: flex; flex-direction: column; gap: 8px; min-width: 200px; }
.catalog-price-values {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.catalog-price-values .catalog-price-sep { color: var(--text-muted); font-weight: 400; }
.catalog-price-flat {
  min-height: 46px;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.catalog-price-slider { position: relative; height: 28px; }
.catalog-price-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 5px;
  transform: translateY(-50%);
  background: #faf9f5;
}
.catalog-price-range {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--yellow);
}
.catalog-price-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 28px;
  margin: 0;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.catalog-price-thumb::-webkit-slider-runnable-track { height: 28px; background: transparent; border: 0; }
.catalog-price-thumb::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: all;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--yellow-deep);
  box-shadow: 0 3px 8px rgba(13, 17, 23, 0.25);
  cursor: pointer;
}
.catalog-price-thumb::-moz-range-track { height: 28px; background: transparent; border: 0; }
.catalog-price-thumb::-moz-range-thumb {
  pointer-events: all;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--yellow-deep);
  box-shadow: 0 3px 8px rgba(13, 17, 23, 0.25);
  cursor: pointer;
}

/* AJAX transition + card entrance animation */
.catalog-content { transition: opacity 0.18s ease; }
.catalog-content.is-loading { opacity: 0.45; }
.catalog-products { transition: opacity 0.2s ease, transform 0.2s ease; }
.catalog-products.is-fading-out { opacity: 0; transform: translateY(6px); }
.equipment-card.is-entering { animation: catalog-card-in 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
@keyframes catalog-card-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1080px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; }
  .catalog-filters { width: 100%; }
}
@media (max-width: 640px) {
  .catalog-hero.has-media { grid-template-columns: 1fr; }
  .catalog-hero-media { min-height: 200px; clip-path: none; margin-block: 0; }
  .catalog-price { min-width: 100%; }
  .catalog-products.view-list .equipment-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "visual article" "visual name" "visual footer" "visual details"; align-items: center; gap: 4px 14px; }
  .catalog-products.view-list .product-visual { grid-area: visual; width: 96px; height: 96px; flex: none; }
  .catalog-products.view-list .product-article { grid-area: article; }
  .catalog-products.view-list .equipment-card h3 { grid-area: name; margin: 0; flex: none; }
  .catalog-products.view-list .product-footer { grid-area: footer; margin: 0; flex: none; }
  .catalog-products.view-list .product-details { grid-area: details; width: auto; }
  .catalog-select { min-width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-content,
  .catalog-products { transition: none; }
  .equipment-card.is-entering { animation: none; }
}

/* Toolbar alignment: fields share one bottom baseline */
.catalog-toolbar { align-items: flex-end; }
.catalog-view-field { min-width: 0; }
.catalog-reset {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #826000;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.catalog-reset:hover { color: var(--yellow-deep); }


/* =====================================================================
   Catalog FAQ: two-column split (FAQ left, manufacturer/help CTA right)
   ===================================================================== */
.catalog-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 clamp(28px, 3vw, 48px);
  align-items: stretch;
}
.catalog-faq-faq { min-width: 0; }
.catalog-faq-help {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-left: clamp(28px, 3vw, 48px);
  border-left: 1px solid var(--line);
}
.catalog-faq-help-text {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}
.catalog-faq-help-text p { margin: 0 0 14px; }
.catalog-faq-help-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.catalog-faq-help-list li {
  position: relative;
  padding-left: 20px;
  line-height: 1.6;
}
.catalog-faq-help-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--yellow);
}
.catalog-faq-help-list a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 3px;
}
.catalog-faq-help-list a:hover { color: var(--yellow-deep); }
.catalog-faq-cta { margin-top: auto; }
.catalog-faq-empty { color: var(--text-muted); line-height: 1.7; }

/* Search field highlight (triggered by "воспользуйтесь поиском" links) */
.site-header .search-box { transition: box-shadow 0.3s ease, background-color 0.3s ease; }
.search-box.search-highlight {
  background: #fffdf4;
  box-shadow: 0 0 0 3px rgba(243, 179, 21, 0.35), 0 0 30px rgba(243, 179, 21, 0.45);
}

@media (max-width: 900px) {
  .catalog-faq-grid { grid-template-columns: 1fr; gap: 32px 0; }
  .catalog-faq-help { padding-left: 0; border-left: 0; }
}


/* =====================================================================
   Buttons: beveled color-swap hover (hero + CTA)
   ===================================================================== */
.button-primary,
.button-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.35s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.button-primary::before,
.button-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  clip-path: polygon(0 0, 0 0, -25% 100%, 0 100%);
  transition: clip-path 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.button-primary::before { background: var(--dark); }
.button-dark::before { background: var(--yellow); }
.button-primary:hover::before,
.button-primary:focus-visible::before,
.button-dark:hover::before,
.button-dark:focus-visible::before {
  clip-path: polygon(0 0, 100% 0, 125% 100%, 0 100%);
}
.button-primary:hover,
.button-primary:focus-visible { color: var(--yellow); }

/* =====================================================================
   Consultation / quote popup
   ===================================================================== */
.consultation-modal .modal-dialog { max-width: 660px; }
.consultation-modal .modal-content {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 30px 80px rgba(13, 17, 23, 0.35);
  clip-path: polygon(var(--cut-corner) 0, 100% 0, 100% calc(100% - var(--cut-corner)), calc(100% - var(--cut-corner)) 100%, 0 100%, 0 var(--cut-corner));
}
.consultation-modal-content { position: relative; padding: clamp(24px, 3.5vw, 44px); }
.consultation-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 26px;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
  z-index: 5;
}
.consultation-modal-close:hover { background: var(--yellow); color: var(--dark); }
.consultation-modal .eyebrow { margin-bottom: 12px; }
.consultation-modal h2 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  margin: 0 0 12px;
  padding-right: 40px;
}
.consultation-modal-subtitle { color: var(--text-muted); line-height: 1.6; margin: 0 0 22px; }
.consultation-form { display: grid; gap: 16px; }
.crow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cfield { display: grid; gap: 8px; }
.clabel {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #826000;
}
.cinput {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #dcdad5;
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
}
.cinput:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px #f3b31526; outline: none; }
textarea.cinput { min-height: 100px; resize: vertical; }
.cinput.is-invalid { border-color: #d63b3b; box-shadow: 0 0 0 3px rgba(214, 59, 59, 0.18); }
.cconsent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  cursor: pointer;
}
.cconsent input { width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; accent-color: var(--yellow-deep); cursor: pointer; }
.cconsent a { color: var(--text); text-decoration: underline; }
.consultation-submit { width: 100%; }
.consultation-error {
  padding: 12px 14px;
  background: #fdecec;
  border: 1px solid #f3c1c1;
  color: #b3261e;
  font-size: 14px;
  line-height: 1.5;
}
.consultation-success { text-align: center; padding: 16px 8px 8px; }
.consultation-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  font-size: 30px;
  font-weight: 800;
}
.consultation-success h3 { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 26px; margin-bottom: 10px; }
.consultation-success p { color: var(--text-muted); line-height: 1.7; margin-bottom: 22px; }
.consultation-success .button { width: auto; }

/* File upload dropzone (drag & drop + browse) */
.cfile-input { display: none; }
.cfile-drop {
  border: 2px dashed #dcdad5;
  background: #faf8f3;
  padding: 22px 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.cfile-drop:hover, .cfile-drop.is-dragover { border-color: var(--yellow); background: #fff6dd; }
.cfile-drop-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cfile-icon { font-size: 26px; line-height: 1; color: var(--yellow-deep); }
.cfile-drop-text { margin: 0; font-size: 14px; color: var(--text); }
.cfile-browse { border: 0; background: none; padding: 0; color: #826000; font-weight: 700; text-decoration: underline; cursor: pointer; font: inherit; }
.cfile-browse:hover { color: var(--yellow-deep); }
.cfile-hint { margin: 0; font-size: 12px; color: var(--text-muted); }
.cfile-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
}
.cfile-item[hidden] { display: none; }
.cfile-item-icon { font-size: 18px; }
.cfile-item-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cfile-item-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-weight: 600; }
.cfile-item-size { color: var(--text-muted); font-size: 12px; }
.cfile-remove { border: 0; background: none; padding: 0 6px; font-size: 22px; line-height: 1; color: var(--text-muted); cursor: pointer; }
.cfile-remove:hover { color: #d63b3b; }
.cfile-error { padding: 10px 12px; background: #fdecec; border: 1px solid #f3c1c1; color: #b3261e; font-size: 13px; line-height: 1.5; }
.cfile-error[hidden] { display: none; }

@media (max-width: 640px) {
  .crow { grid-template-columns: 1fr; }
  .consultation-modal-content { padding: 24px 18px; }
}

/* =====================================================================
   Product detail page
   ===================================================================== */
.product-page { padding-bottom: 24px; }
.product-page > .container { padding-top: 32px; }
.product-top {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}
.product-gallery { background: #fff; border: 1px solid var(--line); padding: 24px; display: grid; gap: 18px; clip-path: polygon(var(--cut-corner) 0, 100% 0, 100% calc(100% - var(--cut-corner)), calc(100% - var(--cut-corner)) 100%, 0 100%, 0 var(--cut-corner)); }
.product-gallery-main { aspect-ratio: 1 / 1; overflow: hidden; background: #fbfaf7; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-gallery > .image-placeholder { aspect-ratio: 1 / 1; height: auto; }
.product-gallery-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.product-gallery-thumb {
  padding: 4px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.product-gallery-thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.product-gallery-thumb.is-active { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }
/* Product image lightbox */
.product-gallery-main {
  display: block;
  border: 0;
  padding: 0;
  width: 100%;
  cursor: zoom-in;
}
.image-lightbox .modal-dialog { max-width: min(960px, 92vw); }
.image-lightbox .modal-content {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 30px 80px rgba(13, 17, 23, 0.35);
  clip-path: polygon(var(--cut-corner) 0, 100% 0, 100% calc(100% - var(--cut-corner)), calc(100% - var(--cut-corner)) 100%, 0 100%, 0 var(--cut-corner));
}
.image-lightbox-content { position: relative; padding: 24px; }
.image-lightbox-img { display: block; width: 100%; max-height: 82vh; object-fit: contain; background: #fbfaf7; }
.image-lightbox-caption { display: grid; gap: 4px; margin-top: 16px; }
.image-lightbox-name { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: clamp(16px, 2vw, 22px); line-height: 1.15; letter-spacing: -0.01em; }
.image-lightbox-article { color: var(--text-muted); font-size: 0.9rem; }
.image-lightbox-article[hidden] { display: none; }

.product-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(320px, 38%);
  grid-template-areas:
    "main buy"
    "desc buy";
  column-gap: 24px;
  row-gap: 24px;
  align-items: start;
}
.product-info-main { grid-area: main; min-width: 0; }
.product-info-main h1 { margin: 0 0 14px; }
.product-buy { grid-area: buy; }
@media (max-width: 640px) {
  .product-info {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "buy"
      "desc";
  }
}
.product-meta { color: var(--text-muted); font-size: 14px; margin: 0; }
.product-meta-sep { margin: 0 10px; opacity: 0.5; }
.product-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: clamp(20px, 2.5vw, 40px);
  margin-top: 22px;
}
.product-description { grid-area: desc; color: var(--text-muted); line-height: 1.75; font-size: 15px; }
.product-description p { margin: 0 0 14px; }
.product-buy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  clip-path: polygon(var(--cut-corner) 0, 100% 0, 100% calc(100% - var(--cut-corner)), calc(100% - var(--cut-corner)) 100%, 0 100%, 0 var(--cut-corner));
}
.product-buy-price { display: flex; flex-direction: column; gap: 6px; }
.product-buy-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #826000; }
.product-buy-price strong { font-family: 'Oswald', sans-serif; font-size: clamp(26px, 2.5vw, 34px); color: var(--text); line-height: 1.1; }
.product-buy-actions { display: grid; gap: 12px; }
.product-buy-actions .button { width: 100%; }
.product-buy-actions .added-to-cart { display: block; font-size: 13px; color: var(--yellow-deep); margin-top: 8px; }
.product-buy-old { font-size: 13px; color: var(--text-muted); text-decoration: line-through; margin: 0; }

/* Tabs */
.product-tabs { margin-top: clamp(32px, 4vw, 56px); }
.product-tabs-nav { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.product-tab {
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: #f4f1ea;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.product-tab:hover { background: #fff6dd; }
.product-tab.is-active { background: var(--yellow); color: var(--dark); border-color: var(--yellow); }
.product-tabs-panels { background: #fff; border: 1px solid var(--line); border-top: 0; padding: clamp(20px, 2.5vw, 32px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%); }
.product-tab-panel { display: none; }
.product-tab-panel.is-active { display: block; }
.product-tabs-empty { color: var(--text-muted); margin: 0; }
.product-tabs-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }

.product-specs { width: 100%; }
.product-spec-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}
.product-spec-row:last-child { border-bottom: 0; }
.product-spec-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 12px 16px;
}
.product-spec-cell:first-child { border-right: 1px solid var(--line); }
.product-spec-key { color: var(--text-muted); font-weight: 600; font-size: 14px; }
.product-spec-val { color: var(--text); font-size: 14px; }

/* Footer button: readable on the dark footer */
.site-footer .button-primary::before { background: #fff; }
.site-footer .button-primary:hover,
.site-footer .button-primary:focus-visible { color: var(--dark); }

@media (max-width: 1200px) {
  .product-tabs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
  .product-top { grid-template-columns: 1fr; }
  .product-info-grid { grid-template-columns: 1fr; }
  .product-tabs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .product-tabs-grid { grid-template-columns: 1fr; }
  .product-spec-row { grid-template-columns: 1fr; }
  .product-spec-cell:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .product-gallery-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-tabs-nav { flex-wrap: nowrap; }
  .product-tab { flex: 1 1 0; min-width: 0; padding: 10px 6px; font-size: 12px; line-height: 1.3; text-align: center; }
}

/* =====================================================================
   Product cards: price color, availability hover, square previews
   ===================================================================== */
.equipment-card .product-footer strong { color: #976900; }
.equipment-card .product-footer span { color: #59674c; transition: color 0.25s ease; }
.equipment-card:hover .product-footer span { color: #1f9d44; }
.equipment-card .product-article { font-size: 12px; font-weight: 600; color: #8a919a; letter-spacing: 0.02em; }
.equipment-card .product-footer strong { font-size: 17px; font-weight: 800; }
.equipment-card .product-footer span { font-size: 13px; font-weight: 700; }

.catalog-products:not(.view-list) .equipment-card .product-visual img,
.catalog-products:not(.view-list) .equipment-card .image-placeholder {
  aspect-ratio: 1 / 1;
  height: auto;
  object-position: center;
}

/* Header CTA: yellow diagonal sweep on hover */
.header-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.header-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--yellow);
  clip-path: polygon(0 0, 0 0, -25% 100%, 0 100%);
  transition: clip-path 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.header-cta:hover::before,
.header-cta:focus-visible::before {
  clip-path: polygon(0 0, 100% 0, 125% 100%, 0 100%);
}
.site-header .header-cta:hover,
.site-header .header-cta:focus-visible { color: var(--dark); }



.button-dark:hover,
.button-dark:focus-visible { color: var(--dark); }

/* Lighter search field when the header is compact */
.site-header.is-compact .search-box::after { background: #fbfaf7; }
.site-header.is-compact .search-box::before { background: #ddd8cc; }

/* Search suggestions dropdown: above the navbar, shortened + beveled */
.site-header .topbar { position: relative; z-index: 30; }
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 14px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 100;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

/* Product FAQ: CTA right after the text (not pinned to the bottom) */
.product-faq .catalog-faq-cta { margin-top: 24px; }

/* Header: align phone + icon buttons, cut corners, hover animation, smooth collapse */
.site-header .topbar-actions { align-items: flex-start; }

.site-header .phone-link {
  min-height: 48px;
  border-radius: 0;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: background-color 0.25s ease, color 0.25s ease, padding 0.35s ease, gap 0.35s ease;
}
.site-header .phone-link:hover { color: var(--yellow); }
.site-header .phone-link:hover strong { color: var(--dark); }
.site-header .phone-link:hover small { color: #5c4a1d; }

.site-header .icon-button,
.site-header .menu-toggle {
  border-radius: 0;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, width 0.35s ease, height 0.35s ease;
}
@media (hover: hover) {
  .site-header .icon-button:hover,
  .site-header .menu-toggle:hover {
    background: var(--yellow);
    color: var(--dark);
    transform: translateY(-2px);
  }
  .site-header .icon-button:hover .cart-counter { background: var(--dark); color: var(--yellow); }
}
.site-header.is-compact .icon-button,
.site-header.is-compact .menu-toggle { border-radius: 0; }

/* Mobile header: search & catalog collapse into the menu; menu icon blink + morph */
.navbar-mobile-tools { display: none; }
@keyframes menu-blink {
  0%, 100% { background-color: rgba(245,245,245,0.9); color: var(--text); }
  50% { background-color: var(--yellow); color: var(--dark); }
}
@media (max-width: 860px) {
  .site-header.is-compact .topbar-catalog { display: none; }
  .site-header.is-compact .navbar-mobile-tools { display: flex; flex-direction: column; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .navbar-mobile-tools .search-box { flex: 1 1 100%; min-width: 0; width: 100%; }
  .mobile-catalog-button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; background: var(--yellow); color: var(--dark); font-weight: 800; border: 0; font-family: inherit; font-size: inherit; cursor: pointer; clip-path: polygon(var(--cut-corner) 0, 100% 0, 100% calc(100% - var(--cut-corner)), calc(100% - var(--cut-corner)) 100%, 0 100%, 0 var(--cut-corner)); }

  .site-header.is-header-changing .menu-toggle { animation: menu-blink 0.5s ease-in-out 1; }
  .menu-toggle span { transition: transform 0.3s ease, opacity 0.3s ease; }
  .site-header.menu-open .menu-toggle { animation: none; background: var(--yellow); color: var(--dark); }
  .site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Newsletter subscription: email + button in one row */
.subscribe-row { display: flex; gap: 12px; }
.subscribe-row input { flex: 1; width: auto; min-width: 0; }
.subscribe-row .button { flex-shrink: 0; width: auto; }


/* Search results and catalog section navigation. */
.search-page { padding-block: 36px 64px; }
.search-page-form { margin-block: 24px; }
.search-empty { padding: 28px; margin-block: 28px; background: #f4f5f6; border-left: 4px solid #f5cb32; border-radius: 8px; }
.search-empty h2 { margin-bottom: 12px; }
.search-empty p { margin-bottom: 0; }
.search-section { margin-top: 36px; }
.search-section h2 { margin-bottom: 24px; font-size: clamp(22px, 2.2vw, 30px); }
.search-section h2 span { color: #62666c; }
.search-recommendations { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.search-recommendations .product-card { min-width: 0; }
.search-recommendations .product-card h3 { font-size: 17px; overflow-wrap: anywhere; }
.search-recommendations .product-footer { flex-wrap: wrap; gap: 8px; }
.search-recommendations .product-footer strong { font-size: 18px; }
.search-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.search-post-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid #e3e5e8; border-radius: 12px; background: #fff; }
.search-post-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; }
.search-post-card h3 { font-size: 22px; margin: 0; }
.search-post-card p { margin: 0; }
.search-post-meta { font-size: 13px; color: #62666c; }
.search-post-more { margin-top: auto; font-weight: 700; }
.search-suggestion-meta { flex-wrap: wrap; }
.search-suggestion-post { background: #f8f9fa; }
.catalog-sections { margin-bottom: 32px; }
.catalog-sections h2 { margin-bottom: 20px; font-size: 26px; }
@media (max-width: 640px) { .catalog-sections { display: none; } }
.catalog-section-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.catalog-section-card { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid #e3e5e8; border-radius: 10px; color: inherit; text-decoration: none; background: #fff; font-weight: 700; }
.catalog-section-card img { width: 64px; height: 64px; object-fit: contain; }
.catalog-section-card span:first-of-type { flex: 1; }
.catalog-section-card:hover, .catalog-section-card:focus-visible { border-color: #d4ac1d; background: #fffbea; color: inherit; }
@media (max-width: 1199px) {
  .search-recommendations { display: grid; grid-template-columns: repeat(6, 220px); overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x proximity; }
  .search-recommendations .product-card { scroll-snap-align: start; }
  .catalog-section-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .search-post-grid, .catalog-section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-section-card { flex-wrap: wrap; padding: 14px; }
}
@media (max-width: 575px) {
  .search-post-grid { grid-template-columns: 1fr; }
  .search-empty { padding: 20px; }
  .search-page-form { flex-wrap: wrap; }
}

/* Desktop navigation expands to its full height without an inner scrollbar. */
@media (min-width: 1081px) {
  .catalog-sidebar {
    align-self: start;
  }
}

/* Search uses catalog navigation with a four-column product listing. */
.search-layout { grid-template-columns: minmax(200px, 240px) minmax(0, 1fr); gap: 24px; }
.search-results { min-width: 0; scroll-margin-top: calc(var(--header-visible-height, 178px) + 20px); }
.search-results .search-section { margin-top: 24px; }
.search-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.search-results .equipment-card { padding: 16px; }
.search-results .equipment-card .product-details { padding-inline: 12px; }
.search-results .search-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.search-results .search-recommendations { display: grid; grid-template-columns: repeat(6, minmax(190px, 1fr)); overflow-x: auto; padding-bottom: 16px; }
.search-suggestion-identity { display: flex; flex-direction: column; min-width: 0; flex: 1; gap: 4px; }
.search-suggestion-identity .search-suggestion-name { flex: initial; }
.search-suggestion-article { font-size: 11px; color: var(--text-muted); overflow-wrap: anywhere; }
@media (max-width: 1080px) {
  .search-layout { grid-template-columns: 1fr; }
  .search-sidebar nav { display: flex; }
  .search-sidebar nav a { flex: 1; }
}
@media (max-width: 860px) {
  .search-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .search-products-grid, .search-results .search-post-grid { grid-template-columns: 1fr; }
}

.search-results .catalog-filters-collapse { flex: 1 1 100%; min-width: 0; }
.search-results .catalog-filters { width: 100%; }
.search-results .catalog-filters > button { align-self: flex-end; }

/* Manufacturing offer and request form below all search results. */
.search-help { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(48px, 6vw, 88px); border: 1px solid var(--line); }
.search-help-copy, .search-help-request { padding: clamp(24px, 3.5vw, 56px); }
.search-help-copy { background: var(--dark); color: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.search-help-copy .eyebrow { color: var(--yellow); }
.search-help h2 { font-size: clamp(28px, 2.7vw, 40px); line-height: 1.2; margin-bottom: 24px; }
.search-help-copy h2 { color: #fff; }
.search-help-copy > p:not(.eyebrow) { color: #d0d4d8; line-height: 1.8; }
.search-help-steps { list-style: none; padding: 0; margin: 24px 0 32px; width: 100%; }
.search-help-steps li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid #ffffff26; }
.search-help-steps span { color: var(--yellow); font-weight: 800; }
.search-help-copy .button { margin-top: auto; }
.search-help-request { background: #fff; }
.search-help-request > p { color: var(--text-muted); line-height: 1.7; }
.search-help-form { display: grid; gap: 18px; margin-top: 24px; }
.search-help-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.search-help-form label:not(.search-help-consent) { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.search-help-form .form-control { min-height: 46px; }
.search-help-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--text-muted); }
.search-help-consent input { margin-top: 3px; flex-shrink: 0; accent-color: var(--yellow); }
.search-help-consent a { text-decoration: underline; }
.search-help-form button { justify-self: start; }
@media (max-width: 860px) { .search-help { grid-template-columns: 1fr; } }
@media (max-width: 575px) { .search-help-fields { grid-template-columns: 1fr; } }

/* ===== Contacts page ===== */
.about-intro-contacts { background: linear-gradient(90deg, rgba(9,13,17,0.95) 0%, rgba(9,13,17,0.8) 55%, rgba(9,13,17,0.58) 100%), url("imgs/newsblock.webp") center / cover no-repeat; }

.contacts-section { padding-block: clamp(36px, 5vw, 64px); }
.contacts-section .eyebrow { margin-bottom: 14px; }
.contacts-section h2 { margin-bottom: 22px; }

.contacts-info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.contact-info-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  clip-path: polygon(var(--cut-corner) 0, 100% 0, 100% calc(100% - var(--cut-corner)), calc(100% - var(--cut-corner)) 100%, 0 100%, 0 var(--cut-corner));
}
.contact-info-card .feature-icon { width: 48px; height: 48px; }
.contact-info-card h3 { margin: 0; font-size: 1.05rem; }
.contact-info-card a, .contact-info-card p { margin: 0; color: var(--text-muted); line-height: 1.7; font-size: 15px; word-break: break-word; }
.contact-info-card a { color: var(--text); font-weight: 700; text-decoration: none; }
.contact-info-card a:hover { color: var(--yellow-deep); }

.contacts-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: stretch; }
.contacts-map { display: flex; flex-direction: column; }
.contacts-map-frame {
  width: 100%; flex: 1; min-height: 440px;
  background: var(--bg);
  border: 0;
  outline: 0;
  box-shadow: none;
}
.contacts-map-frame.contacts-map-empty { display: flex; align-items: center; justify-content: center; text-align: center; padding: 32px; }
.contacts-map-empty p { max-width: 360px; color: var(--text-muted); }
.contacts-map-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.contacts-map-attribution { margin: 8px 0 0; font-size: 11px; line-height: 1.4; }
.contacts-map-attribution a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }

.contacts-form-card {
  padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  clip-path: polygon(var(--cut-corner) 0, 100% 0, 100% calc(100% - var(--cut-corner)), calc(100% - var(--cut-corner)) 100%, 0 100%, 0 var(--cut-corner));
  display: flex; flex-direction: column; gap: 18px;
}
.contacts-form-card h2 { margin-bottom: 0; }
.contacts-form-lead { margin: 0; color: var(--text-muted); line-height: 1.7; }
.contacts-form { display: flex; flex-direction: column; gap: 16px; }
.contacts-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field .form-label { margin: 0; }
.contacts-form .form-control { border-radius: 0; }
.contacts-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-muted); }
.contacts-consent input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--yellow-deep); cursor: pointer; margin-top: 1px; }
.contacts-consent a { color: #826000; text-decoration: underline; }
.contacts-consent a:hover { color: var(--yellow-deep); }

.contacts-requisites { max-width: 880px; }
.contacts-requisites th { width: 260px; }

.button-outline { background: #fff; color: var(--text); border: 1px solid #dcdad5; box-shadow: none; }
.button-outline:hover { background: #fff6dd; color: #705100; border-color: var(--yellow); }

@media (max-width: 860px) {
  .contacts-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contacts-split { grid-template-columns: 1fr; }
  .contacts-map-frame {
  width: 100%; flex: 1; min-height: 440px;
  background: var(--bg);
  border: 0;
  outline: 0;
  box-shadow: none;
}
}
@media (max-width: 560px) {
  .contacts-info-grid { grid-template-columns: 1fr; }
  .contacts-form-grid { grid-template-columns: 1fr; }
}

/* Departments + requisites head + map note */
.contacts-departments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.department-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  clip-path: polygon(var(--cut-corner) 0, 100% 0, 100% calc(100% - var(--cut-corner)), calc(100% - var(--cut-corner)) 100%, 0 100%, 0 var(--cut-corner));
}
.department-card .feature-icon { width: 44px; height: 44px; }
.department-card h3 { margin: 0; font-size: 1.05rem; }
.department-card a { color: var(--text); font-weight: 700; text-decoration: none; font-size: 15px; word-break: break-word; }
.department-card a:hover { color: var(--yellow-deep); }

.contacts-map-note { margin: 14px 0 0; color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* Leaflet map brand marker */
.expert-leaflet-marker {
  background: none;
  border: none;
}
.expert-map-pin {
  position: relative;
  width: 46px;
  height: 60px;
  filter: drop-shadow(0 10px 16px rgba(20, 24, 29, 0.3));
}
.expert-map-pin svg { display: block; }
.expert-map-pulse {
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 16px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(243, 179, 21, 0.4);
  animation: expert-map-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes expert-map-pulse {
  0% { transform: translateX(-50%) scale(1); opacity: 0.55; }
  70% { transform: translateX(-50%) scale(3.4); opacity: 0; }
  100% { transform: translateX(-50%) scale(3.4); opacity: 0; }
}

/* Warm brand tint for map tiles */
.contacts-map-frame .leaflet-tile-pane {
  filter: none;
}

/* Leaflet popup in site colors */
.leaflet-popup-content-wrapper {
  border-radius: 10px;
  border: 1px solid rgba(20, 24, 29, 0.06);
  box-shadow: 0 12px 28px rgba(20, 24, 29, 0.18);
}
.leaflet-popup-content { margin: 14px 18px; }
.expert-map-popup { display: flex; flex-direction: column; gap: 3px; line-height: 1.45; }
.expert-map-popup strong { font-size: 14px; font-weight: 700; color: #14181d; }
.expert-map-popup span { font-size: 12.5px; color: #6b7280; }

.contacts-requisites-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.contacts-requisites-head h2 { margin-bottom: 0; }

.contacts-top { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contacts-top .contacts-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contacts-top .contacts-requisites { max-width: none; }
.contacts-top .contacts-requisites th { width: auto; white-space: nowrap; }

@media (max-width: 860px) {
  .contacts-top { grid-template-columns: 1fr; }
  .contacts-departments { grid-template-columns: 1fr; }
  .contacts-requisites-head { flex-direction: column; align-items: flex-start; }
}


/* Branded storefront 404 page */
.not-found-hero { padding: clamp(52px, 8vw, 104px) 0; background: linear-gradient(135deg, #f9f7f2 0%, #fff 68%, #f6f3ee 100%); }
.not-found-message { max-width: 760px; margin: 0 auto; text-align: center; }
.not-found-message .eyebrow { margin-bottom: 8px; }
.not-found-message .not-found-code { color: var(--yellow); font: 700 clamp(76px, 15vw, 168px)/.9 'Oswald',sans-serif; letter-spacing: .035em; }
.not-found-message h1 { max-width: none; margin: 22px 0 14px; }
.not-found-message h1:after { margin: 18px auto 0; }
.not-found-message > p:not(.eyebrow) { max-width: 590px; margin: 0 auto; color: var(--text-muted); }
.not-found-message .hero-actions { justify-content: center; margin-top: 28px; }
.not-found-catalog { margin-top: 0; padding-top: var(--section-space); background: var(--surface-alt); }
.not-found-products { background: #fff; }
.not-found-news .news-block { padding: 0; border: 0; }
.not-found-news .news-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
@media (max-width: 860px) { .not-found-news .news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) { .not-found-news .news-grid { grid-template-columns: 1fr; } }


/* Optional consent for saving an unfinished form draft. */

.newsletter-consent { display:flex; align-items:flex-start; gap:9px; margin:0 0 12px; color:#f4f5f6; font-size:12px; line-height:1.5; }
.newsletter-consent input { width:16px; height:16px; margin:2px 0 0; flex:0 0 auto; accent-color:var(--yellow-deep); }
.newsletter-consent a { color:inherit; text-decoration:underline; }

/* Equipment finder: shared by the home page and catalogue. */
.equipment-wizard-section { padding: clamp(34px, 5vw, 68px) 0; background: #f4f5f6; }
.catalog-page > .container > .equipment-wizard-section { padding: 22px 0 36px; }
.equipment-wizard { overflow: hidden; padding: clamp(22px, 4vw, 42px); color: #f7f8fa; background: #11161c; border-radius: 2px 24px 2px 24px; }
.equipment-wizard-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.equipment-wizard-heading .eyebrow, .equipment-wizard-result-head .eyebrow { margin: 0 0 8px; color: #f0b313; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.equipment-wizard-heading h2 { margin: 0; color: #fff; font-size: clamp(23px, 3vw, 34px); line-height: 1.18; }
.equipment-wizard-heading p:not(.eyebrow) { margin: 10px 0 0; color: #b9c0c8; }
.equipment-wizard-progress { display: flex; gap: 7px; padding-top: 9px; flex: 0 0 auto; }
.equipment-wizard-progress span { width: 28px; height: 4px; border-radius: 5px; background: #3a4149; transition: background .2s ease, width .2s ease; }
.equipment-wizard-progress span.is-active { width: 42px; background: #f0b313; }
.equipment-wizard-panel { margin-top: 26px; transition: opacity .15s ease, transform .15s ease; }
.equipment-wizard-panel.is-changing { opacity: 0; transform: translateX(-12px); }
.equipment-wizard-panel.is-entering { animation: wizard-panel-enter .34s ease both; }
@keyframes wizard-panel-enter { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: translateX(0); } }
.equipment-wizard-step-title { margin: 0 0 17px; color: #fff; font-size: 20px; font-weight: 750; }
.equipment-wizard-machine-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.equipment-wizard-machine { display: flex; flex-direction: column; overflow: hidden; min-width: 0; padding: 0; color: #fff; text-align: left; background: #1a2027; border: 1px solid #333b44; border-radius: 3px 16px 3px 16px; cursor: pointer; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.equipment-wizard-machine:hover, .equipment-wizard-machine:focus-visible { transform: translateY(-3px); background: #202831; border-color: #eab016; outline: none; }
.equipment-wizard-machine img { display: block; width: 100%; aspect-ratio: 1.45; object-fit: cover; background: #e7e8e7; }
.equipment-wizard-machine span { padding: 13px 14px 15px; font-weight: 750; line-height: 1.3; }
.equipment-wizard-step-top { margin: -5px 0 14px; }
.equipment-wizard-back, .equipment-wizard-reset { padding: 0; color: #c7cdd4; font: inherit; font-size: 13px; background: none; border: 0; text-decoration: none; cursor: pointer; }
.equipment-wizard-back:hover, .equipment-wizard-reset:hover { color: #f0b313; }
.equipment-wizard-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.equipment-wizard-choice { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 14px 18px; color: #f8f9fb; font: inherit; font-size: 15px; font-weight: 700; text-align: left; background: #1a2027; border: 1px solid #333b44; border-radius: 2px 12px 2px 12px; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.equipment-wizard-choice span { color: #f0b313; font-size: 20px; }
.equipment-wizard-choice:hover, .equipment-wizard-choice:focus-visible { color: #fff; background: #252d36; border-color: #f0b313; outline: none; }
.equipment-wizard-note { margin: 19px 0 0; color: #929ba5; font-size: 12px; line-height: 1.5; }
.equipment-wizard-results { margin-top: 29px; padding-top: 25px; border-top: 1px solid #343b43; }
.equipment-wizard-result-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.equipment-wizard-result-head h3 { margin: 0; color: #fff; font-size: 21px; }
.equipment-wizard-result-head p { margin: 5px 0 0; color: #c3c9d0; }
.equipment-wizard-reset { white-space: nowrap; }
.equipment-wizard-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.equipment-wizard-more { margin-top: 17px; }
.equipment-wizard-catalog-hint, .equipment-wizard-empty { margin: 0; color: #c3c9d0; }
.catalog-sidebar .is-wizard-selected { color: #11161c !important; font-weight: 800; background: #f5c125; }
.catalog-sidebar-group.wizard-has-selection > .catalog-sidebar-summary { border-color: #eab016; }
@media (max-width: 900px) { .equipment-wizard-machine-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .equipment-wizard-section { padding: 28px 0; }
  .equipment-wizard { padding: 22px 17px; border-radius: 2px 17px 2px 17px; }
  .equipment-wizard-heading { display: block; }
  .equipment-wizard-progress { margin-top: 18px; }
  .equipment-wizard-machine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .equipment-wizard-machine span { padding: 10px; font-size: 13px; }
  .equipment-wizard-choice-grid, .equipment-wizard-product-grid { grid-template-columns: 1fr; }
  .equipment-wizard-result-head { flex-direction: column; gap: 10px; }
  .equipment-wizard-result-head h3 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .equipment-wizard *, .equipment-wizard *::before, .equipment-wizard *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Wizard product finder follows the catalogue's square cards and clipped corner language. */
.equipment-wizard { border-radius: 0; clip-path: polygon(16px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%,0 16px); }
.equipment-wizard-machine-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.equipment-wizard-machine,
.equipment-wizard-option-card { position: relative; display: flex; flex-direction: column; overflow: hidden; min-width: 0; padding: 0; color: #f8f9fb; text-align: left; background: #1a2027; border: 1px solid #3b424a; border-radius: 0; clip-path: polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px); cursor: pointer; transition: border-color .22s ease, transform .22s ease, background .22s ease; }
.equipment-wizard-machine:hover,
.equipment-wizard-machine:focus-visible,
.equipment-wizard-option-card:hover,
.equipment-wizard-option-card:focus-visible { transform: translateY(-3px); background: #222a32; border-color: #eab016; outline: 2px solid #eab016; outline-offset: 2px; }
.equipment-wizard-machine img,
.equipment-wizard-card-visual img { display: block; width: 100%; aspect-ratio: 1.28; object-fit: contain; background: #f1f1ed; }
.equipment-wizard-machine span { padding: 14px 15px 16px; color: #fff; font-weight: 800; line-height: 1.3; }
.equipment-wizard-option-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.equipment-wizard-option-card { min-height: 100%; }
.equipment-wizard-card-visual { display: block; width: 100%; overflow: hidden; background: #f1f1ed; }
.equipment-wizard-card-visual img { aspect-ratio: 1.35; transition: transform .35s ease; }
.equipment-wizard-option-card:hover .equipment-wizard-card-visual img { transform: scale(1.035); }
.equipment-wizard-card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 45px 19px 16px; }
.equipment-wizard-card-copy strong { color: #fff; font-size: 15px; line-height: 1.35; }
.equipment-wizard-card-copy small { color: #b7bec6; font-size: 12px; line-height: 1.55; }
.equipment-wizard-card-arrow { position: absolute; right: 16px; bottom: 16px; color: #f0b313; font-size: 20px; font-weight: 800; transition: transform .2s ease; }
.equipment-wizard-option-card:hover .equipment-wizard-card-arrow { transform: translate(2px,-2px); }
.equipment-wizard-trail { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; color: #f0b313; font-size: 12px; font-weight: 750; }
.equipment-wizard-trail > span:nth-child(even) { color: #717b85; font-size: 17px; }
.equipment-wizard-result-head p { max-width: 780px; line-height: 1.6; }
@media (max-width: 1050px) {
  .equipment-wizard-machine-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .equipment-wizard-option-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .equipment-wizard-machine-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .equipment-wizard-machine img { aspect-ratio: 1.1; }
  .equipment-wizard-machine span { padding: 10px; font-size: 13px; }
  .equipment-wizard-option-grid { grid-template-columns: 1fr; gap: 10px; }
  .equipment-wizard-option-card { display: grid; grid-template-columns: 112px minmax(0,1fr); align-items: stretch; min-height: 120px; }
  .equipment-wizard-card-visual, .equipment-wizard-card-visual img { height: 100%; min-height: 120px; aspect-ratio: auto; }
  .equipment-wizard-card-copy { justify-content: center; padding: 13px 35px 13px 13px; }
  .equipment-wizard-card-arrow { right: 10px; bottom: 12px; }
}

/* Full-bleed wizard photos: fill card image panels without side gutters. */
.equipment-wizard-machine img, .equipment-wizard-card-visual img { object-fit: cover; background: #11161c; }
.equipment-wizard .equipment-wizard-step-title { color: #fff; }

/* Homepage equipment selector: paper-like sketch stage with a single preview and a choice rail. */
.equipment-wizard[data-presentation="sketch"] {
  --wizard-paper: #e7e9ea;
  --wizard-pencil: #20272d;
  --wizard-amber: #d39b16;
  padding: clamp(24px, 4vw, 48px);
  color: var(--wizard-pencil);
  background: var(--wizard-paper);
  border: 1px solid #d0d4d6;
  border-radius: 0;
  box-shadow: 0 16px 38px rgba(20, 27, 33, .08);
}
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-heading h2,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-step-title { color: #171d22; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-heading p:not(.eyebrow),
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-note { color: #5c646b; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-heading .eyebrow,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-result-head .eyebrow { color: #b17d05; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-progress span { background: #c6cbce; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-progress span.is-active { background: #d5a018; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-panel { margin-top: 25px; }
.equipment-wizard-sketch-toolbar { display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:28px; margin-bottom:8px; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-back { color:#525b62; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-back:hover { color:#9a6d00; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-trail { margin:0; color:#9b710f; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-trail > span:nth-child(even) { color:#92999e; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-step-title { margin:0 0 14px; font-size:clamp(18px,2vw,22px); }
.equipment-wizard-sketch-stage {
  position:relative;
  display:grid;
  place-items:center;
  min-height:clamp(270px, 33vw, 390px);
  overflow:hidden;
  background-color:#e7e9ea;
  background-image:
    linear-gradient(rgba(61,73,82,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(61,73,82,.035) 1px,transparent 1px),
    radial-gradient(ellipse at 50% 48%,#f0f1f1 0%,#e7e9ea 70%);
  background-size:34px 34px,34px 34px,100% 100%;
  border-top:1px solid #d1d5d7;
  border-bottom:1px solid #cbd0d2;
}
.equipment-wizard-sketch-stage::before,
.equipment-wizard-sketch-stage::after { position:absolute; z-index:0; content:""; pointer-events:none; }
.equipment-wizard-sketch-stage::before { inset:18px; border:1px dashed rgba(74,84,91,.16); }
.equipment-wizard-sketch-stage::after { left:50%; top:0; bottom:0; border-left:1px dashed rgba(74,84,91,.12); }
.equipment-wizard-sketch-visual {
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  width:min(78%, 900px);
  height:clamp(235px, 30vw, 350px);
}
.equipment-wizard-sketch-art { position:relative; display:grid; place-items:center; width:100%; height:100%; }
.equipment-wizard-sketch-art::after {
  position:absolute; z-index:2; inset-inline:8%; top:0; height:2px; content:"";
  background:linear-gradient(90deg,transparent,#c39013 18%,#f1c85d 50%,#c39013 82%,transparent);
  opacity:0; box-shadow:0 0 12px rgba(195,144,19,.28); pointer-events:none;
}
.equipment-wizard-sketch-art.is-rebuilding::after { animation:wizard-pencil-scan .72s ease-out both; }
.equipment-wizard-sketch-art img { display:block; width:100%; height:100%; object-fit:contain; filter:contrast(1.06) saturate(.86); animation:wizard-pencil-rebuild .68s cubic-bezier(.18,.7,.25,1) both; }
.equipment-wizard-pencil-svg { display:block; width:min(82%, 620px); height:100%; overflow:visible; }
.pencil-main { fill:none; stroke:#252d33; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.pencil-ghost { fill:none; stroke:#47535a; stroke-width:2.25; stroke-linecap:round; stroke-linejoin:round; opacity:.3; }
.pencil-accent { fill:none; stroke:#c79419; stroke-width:2.4; stroke-linecap:round; stroke-dasharray:8 7; opacity:.72; }
.equipment-wizard-sketch-caption { position:absolute; z-index:2; left:clamp(18px,3vw,38px); bottom:20px; display:grid; gap:3px; max-width:min(36%,360px); color:#20272d; }
.equipment-wizard-sketch-caption small { color:#a97908; font-size:10px; font-weight:800; letter-spacing:.13em; }
.equipment-wizard-sketch-caption strong { font-size:clamp(16px,1.6vw,21px); line-height:1.2; }
.equipment-wizard-sketch-caption span { color:#626a70; font-size:12px; line-height:1.4; }
.equipment-wizard-sketch-rail-label { margin:19px 0 6px; color:#6a7278; font-size:11px; font-weight:800; letter-spacing:.1em; text-align:center; text-transform:uppercase; }
.equipment-wizard-sketch-rail { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); align-items:stretch; gap:8px; max-width:1280px; margin:0 auto; }
.equipment-wizard-sketch-choice {
  display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:6px;
  min-width:0; min-height:104px; padding:8px 10px 10px; color:#293137; font:inherit;
  text-align:center; background:transparent; border:0; border-bottom:2px solid transparent;
  cursor:pointer; transition:background .22s ease,border-color .22s ease,color .22s ease,transform .22s ease;
}
.equipment-wizard-sketch-choice:hover,
.equipment-wizard-sketch-choice:focus-visible,
.equipment-wizard-sketch-choice.is-previewed { color:#171d22; background:rgba(255,255,255,.52); border-bottom-color:#d4a01c; outline:none; }
.equipment-wizard-sketch-choice:hover { transform:translateY(-2px); }
.equipment-wizard-sketch-choice > span:last-child { max-width:190px; font-size:12px; font-weight:750; line-height:1.3; }
.equipment-wizard-sketch-choice-icon { display:grid; place-items:center; width:96px; height:58px; color:#2e373d; }
.equipment-wizard-machine-glyph,.equipment-wizard-pencil-glyph { display:block; width:100%; height:100%; overflow:visible; }
.equipment-wizard-sketch-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:6px; }
.equipment-wizard-sketch-summary-item { display:flex; align-items:center; gap:12px; min-width:0; padding:12px; background:rgba(255,255,255,.48); border-bottom:1px solid #cbd0d2; }
.equipment-wizard-sketch-summary-item .equipment-wizard-sketch-choice-icon { flex:0 0 82px; width:82px; height:52px; }
.equipment-wizard-sketch-summary-copy { display:grid; gap:4px; min-width:0; }
.equipment-wizard-sketch-summary-copy small { color:#9a700d; font-size:9px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.equipment-wizard-sketch-summary-copy strong { color:#20272d; font-size:12px; line-height:1.3; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-results { border-color:#cbd0d2; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-result-head h3 { color:#182026; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-result-head p,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-catalog-hint,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-empty { color:#596168; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-reset { color:#4d565d; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-reset:hover { color:#9a6d00; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-result-head .eyebrow { color:#a87809; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-product-grid .product-card { color:#182026; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-product-grid .product-card p { color:#687078; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-product-grid .product-card h3,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-product-grid .product-card h3 a { color:#11161c; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-back:focus-visible,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice:focus-visible { outline:2px solid #c79419; outline-offset:3px; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-changing { opacity:0; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-panel.is-sketch-changing { opacity:0; transform:translateY(7px); }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-panel.is-sketch-entering { animation:wizard-sketch-panel-in .38s ease both; }
@keyframes wizard-pencil-rebuild {
  0% { opacity:0; transform:translateY(12px) scale(.975); clip-path:inset(88% 0 0 0); filter:contrast(1.35) brightness(1.1); }
  35% { opacity:.72; clip-path:inset(46% 0 0 0); }
  72% { opacity:.94; clip-path:inset(10% 0 0 0); }
  100% { opacity:1; transform:none; clip-path:inset(0); filter:contrast(1.06) saturate(.86); }
}
@keyframes wizard-pencil-scan { 0% { top:90%; opacity:0; } 20% { opacity:.82; } 90% { opacity:.55; } 100% { top:4%; opacity:0; } }
@keyframes wizard-sketch-panel-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
@media (max-width:900px) {
  .equipment-wizard-sketch-stage { min-height:300px; }
  .equipment-wizard-sketch-visual { width:78%; height:270px; }
  .equipment-wizard-sketch-rail { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .equipment-wizard-sketch-summary { grid-template-columns:1fr; gap:7px; }
}
@media (max-width:600px) {
  .equipment-wizard[data-presentation="sketch"] { padding:20px 14px; }
  .equipment-wizard-sketch-toolbar { align-items:flex-start; flex-direction:column; gap:6px; margin-bottom:9px; }
  .equipment-wizard-sketch-stage { min-height:260px; }
  .equipment-wizard-sketch-stage::before { inset:10px; }
  .equipment-wizard-sketch-visual { width:96%; height:220px; }
  .equipment-wizard-pencil-svg { width:88%; }
  .equipment-wizard-sketch-caption { left:15px; bottom:13px; max-width:56%; }
  .equipment-wizard-sketch-caption small { font-size:9px; }
  .equipment-wizard-sketch-caption strong { font-size:15px; }
  .equipment-wizard-sketch-caption span { font-size:10px; }
  .equipment-wizard-sketch-rail { display:flex; overflow-x:auto; gap:7px; padding:2px 0 8px; scroll-snap-type:x mandatory; }
  .equipment-wizard-sketch-choice { flex:0 0 132px; min-height:94px; padding:7px 7px 9px; scroll-snap-align:start; }
  .equipment-wizard-sketch-choice-icon { width:84px; height:50px; }
  .equipment-wizard-sketch-choice > span:last-child { font-size:11px; }
  .equipment-wizard-sketch-summary-item .equipment-wizard-sketch-choice-icon { flex-basis:70px; width:70px; height:46px; }
}
@media (prefers-reduced-motion:reduce) {
  .equipment-wizard[data-presentation="sketch"] *,
  .equipment-wizard[data-presentation="sketch"] *::before,
  .equipment-wizard[data-presentation="sketch"] *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}

/* Refined pencil-study presentation: keep the full machine in frame and give each option a clear illustrated target. */
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-stage { min-height:410px; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-visual { width:min(70%,820px); height:320px; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-art img { width:100%; height:100%; object-fit:contain; object-position:center; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-art:has(.equipment-wizard-pencil-svg) { width:min(78%,760px); }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-pencil-svg { width:100%; height:100%; }
.equipment-wizard[data-presentation="sketch"] .pencil-guides path { fill:none; stroke:#7a848b; stroke-width:.75; stroke-dasharray:2 4; opacity:.42; }
.equipment-wizard[data-presentation="sketch"] .pencil-detail path,
.equipment-wizard[data-presentation="sketch"] .pencil-detail circle { fill:none; stroke:#68737a; stroke-width:1.15; stroke-linecap:round; stroke-linejoin:round; opacity:.76; }
.equipment-wizard[data-presentation="sketch"] .pencil-main { stroke:#293238; stroke-width:2.15; }
.equipment-wizard[data-presentation="sketch"] .pencil-ghost { stroke:#526068; stroke-width:1.35; opacity:.3; }
.equipment-wizard[data-presentation="sketch"] .pencil-accent { stroke:#c79419; stroke-width:1.8; stroke-dasharray:6 5; opacity:.83; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-rail { grid-template-columns:repeat(auto-fit,minmax(155px,1fr)); max-width:1440px; gap:10px; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice { position:relative; justify-content:center; gap:6px; min-height:150px; padding:10px 8px 12px; border:1px solid transparent; border-bottom:2px solid transparent; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice::before { position:absolute; inset:7px 7px auto; height:1px; content:""; background:linear-gradient(90deg,transparent,rgba(63,73,80,.15),transparent); }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice:hover,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice:focus-visible,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice.is-previewed { background:rgba(255,255,255,.52); border-color:rgba(123,132,138,.21); border-bottom-color:#d4a01c; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice-icon { position:relative; width:min(100%,160px); height:96px; color:#2e373d; transition:transform .32s cubic-bezier(.2,.75,.25,1),filter .32s ease; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice-icon::after { position:absolute; left:22%; right:22%; bottom:2px; height:1px; content:""; background:linear-gradient(90deg,transparent,#b58412,transparent); opacity:.5; transform:scaleX(.62); transition:transform .3s ease,opacity .3s ease; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice:hover .equipment-wizard-sketch-choice-icon,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice:focus-visible .equipment-wizard-sketch-choice-icon,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice.is-previewed .equipment-wizard-sketch-choice-icon { transform:translateY(-4px) scale(1.035); filter:drop-shadow(0 4px 3px rgba(34,43,48,.12)); }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice:hover .equipment-wizard-sketch-choice-icon::after,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice.is-previewed .equipment-wizard-sketch-choice-icon::after { opacity:1; transform:scaleX(1); }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice-icon img { display:block; width:100%; height:100%; object-fit:contain; filter:contrast(1.08) saturate(.82); }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice > span:last-child { max-width:220px; font-size:12px; line-height:1.3; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-pencil-glyph path,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-pencil-glyph circle { transition:stroke .25s ease,stroke-width .25s ease; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice:hover .equipment-wizard-pencil-glyph .pencil-main,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice.is-previewed .equipment-wizard-pencil-glyph .pencil-main { stroke:#171f24; stroke-width:2.6; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-art .equipment-wizard-pencil-svg .pencil-main,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-art .equipment-wizard-pencil-svg .pencil-ghost { stroke-dasharray:950; stroke-dashoffset:950; animation:pencil-study-draw 1.05s cubic-bezier(.25,.7,.2,1) forwards; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-art .equipment-wizard-pencil-svg .pencil-ghost { animation-delay:.06s; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-art .equipment-wizard-pencil-svg .pencil-guides { animation:pencil-study-guide .8s ease-out both; }
@keyframes pencil-study-draw { to { stroke-dashoffset:0; } }
@keyframes pencil-study-guide { from { opacity:0; } to { opacity:1; } }
@media (max-width:900px) {
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-stage { min-height:370px; }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-visual { width:min(78%,760px); height:280px; }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-rail { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice { min-height:142px; }
}
@media (max-width:600px) {
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-stage { min-height:300px; }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-visual { width:96%; height:220px; }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-art img { width:78%; }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-rail { display:flex; }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice { flex:0 0 142px; min-height:116px; }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice-icon { height:78px; }
}

/* Keep the complete pencil drawing inside the available stage; use matching artwork tiles on steps 2 and 3. */
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-stage {
  height:clamp(230px,calc(100svh - 510px),390px);
  min-height:230px;
}
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-visual {
  width:min(76%,900px);
  height:calc(100% - 46px);
  transform:translateY(-12px);
}
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-art img {
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-sprite {
  display:block;
  background-repeat:no-repeat;
  background-size:300% 300%;
  background-color:transparent;
  animation:wizard-pencil-rebuild .72s cubic-bezier(.18,.7,.25,1) both;
}
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-art > .equipment-wizard-sketch-sprite {
  flex:none;
  max-width:100%;
  max-height:100%;
  filter:contrast(1.06) saturate(.88);
}
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice-icon > .equipment-wizard-sketch-sprite {
  width:min(100%,144px);
  aspect-ratio:3 / 2;
  height:auto;
  flex:none;
}
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice-icon img {
  object-fit:contain;
  object-position:center;
}
@media (max-width:900px) {
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-stage { height:clamp(230px,calc(100svh - 470px),340px); }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-visual { width:88%; height:calc(100% - 36px); transform:translateY(-8px); }
}
@media (max-width:600px) {
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-stage { height:clamp(220px,calc(100svh - 420px),300px); }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-visual { width:96%; height:calc(100% - 32px); transform:translateY(-5px); }
}

/* Keep the full first-step machine illustration comfortably inside the sketch stage at 125% Windows zoom. */
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-art.is-machine-art img {
  width:auto;
  height:auto;
  max-width:58%;
  max-height:58%;
  object-fit:contain;
  object-position:center;
}
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-summary-item .equipment-wizard-sketch-summary-art {
  flex:0 0 150px;
  width:150px;
  height:92px;
  min-width:0;
}
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-summary-item .equipment-wizard-sketch-summary-art.is-machine-art img {
  max-width:100%;
  max-height:100%;
}
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-summary-item .equipment-wizard-sketch-summary-art > .equipment-wizard-sketch-sprite {
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
}
@media (max-width:900px) {
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-summary-item .equipment-wizard-sketch-summary-art {
    flex-basis:118px;
    width:118px;
    height:78px;
  }
}
@media (max-width:600px) {
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-summary-item .equipment-wizard-sketch-summary-art {
    flex-basis:92px;
    width:92px;
    height:64px;
  }
}

.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-summary-item { background:transparent; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice:hover,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice:focus-visible,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice.is-previewed { background:transparent; }
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-art img,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-art > .equipment-wizard-sketch-sprite,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice-icon img,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice-icon > .equipment-wizard-sketch-sprite {
  background-color:transparent;
  mix-blend-mode:multiply;
}
@media (max-width:900px) {
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-summary-item .equipment-wizard-sketch-summary-art {
    flex-basis:118px;
    width:118px;
    height:78px;
  }
}
@media (max-width:600px) {
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-summary-item .equipment-wizard-sketch-summary-art {
    flex-basis:92px;
    width:92px;
    height:64px;
  }
}

/* Wider product tiles on desktop catalog pages. */
@media (min-width:1401px) {
  .catalog-content .catalog-products:not(.view-list) { grid-template-columns:repeat(5,minmax(0,1fr)); }
}
@media (min-width:1081px) and (max-width:1400px) {
  .catalog-content .catalog-products:not(.view-list) { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (min-width:861px) and (max-width:1080px) {
  .catalog-content .catalog-products:not(.view-list) { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:860px) {
  .catalog-content .catalog-products:not(.view-list) { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px) {
  .catalog-content .catalog-products:not(.view-list) { grid-template-columns:1fr; }
}

/* Product detail: show characteristics, similar products, and related searches as stacked sections. */
.product-page .product-tab-panel { display:block; }
.product-page .product-tab-heading {
  margin:0 0 18px;
  color:var(--text);
  font-size:clamp(20px,2vw,26px);
  line-height:1.25;
}
.product-page .product-tab-panel + .product-tab-panel {
  margin-top:32px;
  padding-top:28px;
  border-top:1px solid var(--line);
}

.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-visual,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice,
.equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-summary-art {
  mix-blend-mode:multiply;
}

/* Mobile layout refinements: fit every wizard choice, keep section art below it, center hero content. */
@media (max-width:600px) {
  .equipment-wizard-section { position:relative; z-index:1; isolation:isolate; overflow:clip; padding-block:28px 56px; }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-rail {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:4px;
    width:100%;
    max-width:none;
    padding:2px 0 8px;
    overflow:visible;
    scroll-snap-type:none;
  }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice {
    flex:initial;
    width:auto;
    min-width:0;
    min-height:96px;
    padding:6px 3px 8px;
    scroll-snap-align:none;
  }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice-icon { width:100%; height:58px; }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice-icon > .equipment-wizard-sketch-sprite { width:100%; }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice > span:last-child { font-size:10px; line-height:1.2; overflow-wrap:anywhere; }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-note { position:relative; z-index:1; margin-top:12px; }
}

/* Mobile wizard: separate the drawing, its caption and the choices into clear rows. */
@media (max-width:600px) {
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-stage {
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:0;
    height:auto;
    min-height:0;
    padding:12px 12px 10px;
    overflow:hidden;
  }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-stage::after { display:none; }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-visual {
    display:grid;
    flex:0 0 auto;
    width:100%;
    height:clamp(145px,48vw,205px);
    max-height:205px;
    margin:0 auto;
    transform:none;
  }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-art,
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-art.is-machine-art { width:100%; height:100%; }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-art img,
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-art.is-machine-art img {
    width:auto;
    height:auto;
    max-width:88%;
    max-height:100%;
    object-fit:contain;
    object-position:center;
  }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-art > .equipment-wizard-sketch-sprite { max-width:92%; max-height:100%; }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-art:has(.equipment-wizard-pencil-svg) { width:100%; height:100%; }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-caption {
    position:relative;
    inset:auto;
    z-index:1;
    width:100%;
    max-width:none;
    min-width:0;
    padding:8px 2px 0;
    gap:2px;
    overflow-wrap:anywhere;
  }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-caption strong { font-size:15px; line-height:1.25; }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-caption span { font-size:11px; line-height:1.35; }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-rail-label { margin:16px 0 7px; }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-rail {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    align-items:stretch;
    gap:6px;
    width:100%;
    max-width:none;
    padding:0 0 5px;
    overflow:visible;
  }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice {
    display:flex;
    flex:initial;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    gap:4px;
    width:100%;
    min-width:0;
    min-height:104px;
    padding:6px 3px 8px;
    overflow:hidden;
    border:1px solid transparent;
    border-bottom:2px solid transparent;
    background:transparent;
  }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice-icon {
    display:grid;
    flex:0 0 54px;
    place-items:center;
    width:100%;
    height:54px;
    min-height:54px;
    overflow:hidden;
  }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice-icon img,
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice-icon > .equipment-wizard-sketch-sprite {
    display:block;
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
  }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice > span:last-child {
    display:block;
    width:100%;
    max-width:none;
    min-height:2.5em;
    color:#20272d;
    font-size:10px;
    font-weight:750;
    line-height:1.25;
    overflow-wrap:anywhere;
    word-break:normal;
  }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice:hover,
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice:focus-visible,
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice.is-previewed,
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-sketch-choice.is-selected {
    color:#171d22;
    background:rgba(255,255,255,.74);
    border-color:rgba(123,132,138,.3);
    border-bottom-color:#eab016;
    outline:none;
  }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-mobile-next {
    position:sticky;
    bottom:8px;
    z-index:3;
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:50px;
    margin:12px 0 2px;
    padding:12px 18px;
    color:#11161c;
    font:inherit;
    font-size:15px;
    font-weight:850;
    background:linear-gradient(135deg,#ffd034,#f0ae08);
    border:0;
    border-radius:0;
    clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);
    box-shadow:0 5px 16px rgba(17,22,28,.2);
    cursor:pointer;
  }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-mobile-next::after { content:"  →"; margin-left:7px; font-size:19px; }
  .equipment-wizard[data-presentation="sketch"] .equipment-wizard-mobile-next:disabled { color:#566068; background:#c5c9ca; box-shadow:none; cursor:not-allowed; }
}
