@font-face {
  font-family: Manrope;
  src: url('./fonts/manrope-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --accent: #D93A1E;
  --brand-dark: #641c30;
  --accent-hover: #C8321A;
  --accent-soft: #FDECE8;
  --ink: #18181B;
  --ink-2: #52525B;
  --line: #E4E4E7;
  --surface: #FFFFFF;
  --surface-2: #F4F4F5;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 10px;
  --muted: var(--ink-2);
  --paper: var(--surface);
  --soft: var(--surface);
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-section: 72px;
  --container: 1440px;
  --gutter: 48px;
  --brand-width: calc(var(--space-xl) * 6);
  --body: 16px;
  --small: 14px;
  --heading-lg: 44px;
  --heading-md: 36px;
  --heading-sm: 30px;
  --lead: 18px;
  --radius: var(--r-sm);
  --control-height: var(--space-xl);
  --icon-size: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sticky-header-offset, 72px) + var(--space-sm)); }
body { margin: 0; background: var(--paper); color: var(--ink); font: var(--body)/1.55 Manrope, Arial, sans-serif; }
button, input, textarea, select { font: inherit; color: inherit; }
input:where(:not([type="checkbox"], [type="radio"])), textarea, select { border: 1px solid var(--line); border-radius: var(--r-sm); }
textarea { resize: vertical; min-height: 120px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .35; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { hyphens: none; overflow-wrap: anywhere; font-weight: 600; line-height: 1.16; letter-spacing: -.02em; }
h1 { font-size: var(--heading-lg); }
h2 { font-size: var(--heading-md); margin-bottom: var(--space-lg); }
h3 { font-size: 18px; line-height: 1.5; letter-spacing: -.025em; }
p + p { margin-top: var(--space-sm); }
button:focus-visible, a:focus-visible, input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 0; left: var(--space-sm); z-index: 100; background: var(--paper); padding: var(--space-sm); width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link:focus { top: var(--space-sm); width: auto; height: auto; overflow: visible; clip-path: none; }
.brand { display: block; width: min(100%, var(--brand-width)); flex-shrink: 0; }
.brand > svg { display: block; width: 100%; height: auto; overflow: hidden; }
.search { display: flex; background: var(--soft); border: 1px solid transparent; border-radius: var(--radius); }
.search { min-height: var(--control-height); }
.search input { min-width: 0; width: 100%; border: 0; padding: 12px var(--space-sm); background: transparent; font-size: var(--body); }
.search button { display: grid; place-items: center; flex: 0 0 48px; background: transparent; border: 0; }
.basket-link { min-width: var(--control-height); min-height: var(--control-height); display: flex; justify-content: flex-end; align-items: center; gap: var(--space-xs); font-size: var(--small); }
[data-cart-count] { font-variant-numeric: tabular-nums; }
.header-nav { border-bottom: 1px solid var(--line); }
.navigation { display: flex; align-items: center; gap: var(--space-lg); font-size: var(--small); }
.navigation a { display: inline-flex; align-items: center; min-height: var(--control-height); padding-block: var(--space-xs); }
.navigation-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }
.header-control { display: none; width: var(--control-height); height: var(--control-height); padding: 0; border: 0; border-radius: var(--radius); background: transparent; align-items: center; justify-content: center; }
@media (hover: hover) { .header-control:hover { background: var(--soft); } }
.menu-icon-close, .menu-toggle[aria-expanded="true"] .menu-icon-lines { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon-close { display: block; }
.navigation .catalog-link { color: var(--ink); font-weight: 700; display: flex; gap: var(--space-xs); flex-shrink: 0; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { background: var(--ink); color: var(--paper); display: inline-flex; align-items: center; justify-content: space-between; gap: var(--space-sm); border: 1px solid transparent; border-radius: var(--radius); min-height: var(--control-height); padding: 12px var(--space-md); font-size: var(--small); font-weight: 700; text-decoration: none; }
.search input { appearance: none; -webkit-appearance: none; }
.search input::-webkit-search-cancel-button, .search input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.search-suggestions { position: fixed; z-index: 120; max-height: 360px; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 var(--space-xs) var(--space-lg) #20212426; }
.search-suggestion-status { padding: var(--space-sm); font-size: var(--small); color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.search-option { display: flex; align-items: center; gap: var(--space-sm); padding: 12px 20px; min-height: 44px; text-decoration: none; }
.search-option:hover, .search-option[aria-selected="true"] { background: var(--soft); text-decoration: none; }
.search-option[aria-selected="true"] { box-shadow: inset 3px 0 var(--ink); }
.search-option-image { width: 48px; height: 48px; object-fit: contain; border-radius: var(--space-xs); flex-shrink: 0; }
.search-option-copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.search-option-name { display: block; font-size: var(--small); font-weight: 600; }
.search-option-meta { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.search-option-price { font-size: var(--small); white-space: nowrap; font-variant-numeric: tabular-nums; }
.search-option-heading { padding: 12px 20px 4px; font-size: 13px; color: var(--ink-2); }
.search-option-category { height: 44px; padding: 0 20px; }
.search-option-category .search-option-name { font-size: 16px; font-weight: 400; }
.search-option-all { padding: 0 20px; color: var(--ink); border-top: 1px solid var(--line); }
.search-option-all .search-option-name { font-size: 15px; font-weight: 600; }
@media (max-width: 600px) {
  .search-option-product { flex-wrap: wrap; gap: var(--space-xs) var(--space-sm); }
  .search-option-product .search-option-copy { flex-basis: calc(100% - 48px - var(--space-sm)); }
  .search-option-price { margin-left: calc(48px + var(--space-sm)); }
}
.action-arrow, .search svg, .basket-link svg { width: var(--icon-size); height: var(--icon-size); flex-shrink: 0; }
.button { max-width: 100%; }
.button:hover { background: var(--ink-2); text-decoration: none; }
.button-secondary { color: var(--ink); background: var(--paper); border-color: var(--line); }
.button-secondary:hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.section-heading .button { gap: var(--space-xs); min-height: var(--space-xl); padding: 12px var(--space-sm); flex-shrink: 0; }
.button-light { color: var(--ink); background: var(--paper); }
.button-light:hover { color: var(--ink); background: var(--soft); }
.button span { font-size: 20px; }
.hero { padding-block: var(--space-xl); background: var(--soft); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; gap: var(--space-lg) var(--space-xl); }
.hero-copy { min-width: 0; grid-column: 1; grid-row: 1; }
.hero h1 { font-size: var(--heading-md); text-wrap: balance; }
.hero-intro { padding-top: var(--space-md); }
.hero-intro p { max-width: 66ch; font-size: var(--body); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.hero-actions .button-secondary { padding-inline: 0; border-color: transparent; background: transparent; text-decoration: underline; text-underline-offset: 5px; }
.hero-actions .button-secondary:hover { color: var(--ink); }
.hero-gallery { display: contents; }
.hero-direction { display: block; min-width: 0; }
.hero-direction-main { grid-column: 2; grid-row: 1 / span 2; }
.hero-direction-secondary { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; gap: var(--space-md); }
.hero-direction img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: var(--radius); }
.hero-direction > span { min-height: var(--control-height); padding-top: var(--space-xs); display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); font-size: var(--body); font-weight: 600; }
.hero-direction-secondary > span { padding-top: 0; }
.hero-direction:hover { text-decoration: none; }
.hero-direction:hover > span { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-lg); }
.section-heading h2 { margin: 0; }
.text-link { font-size: var(--small); display: inline-block; text-decoration: underline; text-underline-offset: 6px; }
.text-link span { margin-left: var(--space-sm); }
.product-grid { display: grid; align-items: stretch; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--space-md); }
.product-card { position: relative; isolation: isolate; min-width: 0; display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; background: var(--surface); border-radius: var(--r-md); }
.product-photo { display: block; aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden; border-radius: var(--r-md); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-photo-contain { background: var(--surface-2); padding: 12%; }
.product-photo-contain img { object-fit: contain; mix-blend-mode: multiply; }
.product-photo-placeholder { display: grid; place-items: center; height: 100%; background: var(--soft); color: var(--muted); font-size: var(--small); }
.product-photo-cover img, .product-photo-stage img { object-fit: cover; }
/* Only the byte-matched stage photo: remove surrounding sky/pavement, retain the structure. */
.product-photo-stage img { transform: scale(1.1); transform-origin: center 60%; }
.card-body { display: contents; }
.product-card .meta { font-size: var(--small); margin: var(--space-sm) 0 0; }
.product-card .meta + h3 { padding-top: var(--space-xs); }
.product-card h3 { padding-block: var(--space-sm); }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-md); }
.product-card .product-purchase { position: relative; z-index: 2; }
.product-card h3 a:hover { text-decoration: none; }
.meta { font-size: 12px; color: var(--muted); margin-bottom: var(--space-xs); }
.card-bottom { padding-bottom: var(--space-sm); }
.product-card .unit { font-size: var(--small); margin-top: var(--space-xs); }
.price { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.3; }
.unit { display: block; font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: 0; margin-top: 4px; line-height: 1.55; }
.add-button { align-self: end; border-radius: var(--radius); width: 100%; min-height: var(--space-xl); padding: 12px var(--space-sm); display: flex; justify-content: space-between; align-items: center; gap: var(--space-xs); background: var(--ink); color: var(--paper); border: 1px solid transparent; font-size: var(--small); font-weight: 600; }
.add-button > span { font-size: 24px; line-height: 1; font-weight: 400; }
.add-button:hover { background: var(--ink-2); }
.product-card .add-button { color: var(--accent); background: var(--accent-soft); border-color: transparent; justify-content: center; }
.product-card .add-button > span { color: inherit; }
.product-card .add-button:hover { background: var(--accent); color: var(--surface); border-color: transparent; }
.product-purchase { align-self: start; min-width: 0; }
.purchase-selected { display: grid; gap: var(--space-xs); }
.purchase-cart { width: 100%; padding-inline: var(--space-sm); font-size: var(--body); }
.purchase-cart .action-arrow { flex-shrink: 0; }
.purchase-stepper { display: grid; grid-template-columns: var(--control-height) minmax(0, 1fr) var(--control-height); align-items: center; min-height: var(--control-height); background: var(--soft); border-radius: var(--radius); }
.purchase-stepper button { display: grid; place-items: center; width: var(--control-height); height: var(--control-height); padding: 0; border: 0; border-radius: var(--space-xs); background: transparent; font-size: var(--heading-sm); line-height: 1; }
.purchase-stepper button:hover:not(:disabled), .quantity button:hover:not(:disabled) { background: rgba(217,58,30,.12); }
.purchase-stepper svg, .quantity svg { width: 18px; height: 18px; }
.purchase-stepper output { text-align: center; font-size: var(--body); font-weight: 600; font-variant-numeric: tabular-nums; }
.detail-content .product-purchase { margin-bottom: var(--space-md); }
.detail-content .add-button { font-size: var(--body); }
.note { font-size: var(--small); color: var(--muted); max-width: 66ch; }
.price-note { margin-top: var(--space-lg); }
.directions { background: var(--paper); padding-bottom: var(--space-xl); }
.direction-primary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.direction-tile { display: flex; flex-direction: column; min-width: 0; background: var(--soft); border-radius: var(--radius); }
.direction-photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.direction-photo img { width: 100%; height: 100%; }
.direction-label { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: var(--space-sm); padding: var(--space-sm); font-size: var(--lead); font-weight: 600; line-height: 1.4; }
.direction-label > span:first-child { min-width: 0; }
.direction-arrow { width: var(--control-height); height: var(--control-height); flex: 0 0 var(--control-height); display: grid; place-items: center; background: var(--paper); color: var(--ink); border-radius: 50%; }
.direction-tile:hover, .direction-tile:focus-visible { text-decoration: none; color: var(--ink); }
.direction-tile:hover .direction-arrow, .direction-tile:focus-visible .direction-arrow { background: var(--ink); color: var(--paper); }
.direction-tile:hover .direction-label > span:first-child { text-decoration: underline; text-underline-offset: 5px; }
.direction-secondary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-sm) var(--space-md); margin-top: var(--space-md); }
.direction-shortcut { display: flex; align-items: center; gap: var(--space-sm); min-width: 0; min-height: calc(var(--space-lg) * 2); padding: var(--space-sm); background: var(--soft); border-radius: var(--radius); font-size: var(--body); font-weight: 600; line-height: 1.4; }
.direction-shortcut > span { flex: 1; min-width: 0; }
.direction-shortcut .action-arrow { color: var(--ink); }
.direction-shortcut:hover, .direction-shortcut:focus-visible { color: var(--ink); outline: 2px solid var(--ink); outline-offset: 2px; text-decoration: none; }
.direction-shortcut:hover > span { text-decoration: underline; text-underline-offset: 5px; }
.home-page .section { padding-block: var(--space-md); }

.category-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
.category-list a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); min-height: var(--space-section); padding: var(--space-sm) var(--space-md); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); font-size: 18px; font-weight: 600; text-decoration: none; }
.category-list a span { min-width: 0; }
.category-list a svg { flex: 0 0 var(--space-md); }
.category-list a:hover, .category-list a:focus-visible { color: var(--ink); border-color: var(--ink); }
.category-list a:active { color: var(--paper); background: var(--ink); }
.about { padding-top: var(--space-lg); }
.about-layout { display: grid; grid-template-columns: 1.485fr 1fr; gap: var(--space-lg); align-items: start; }
.about-content { grid-column: 1 / -1; grid-row: 1; min-width: 0; }
.about-copy { max-width: 66ch; }
.about-copy p { font-size: var(--lead); }
.about-copy p:first-child { font-weight: 600; }
.about-copy p + p { margin-top: var(--space-sm); }
.about-content > .button { margin-top: var(--space-md); }
.about-photo { grid-column: 1; grid-row: 2; min-width: 0; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 1203 / 542; object-fit: contain; }
.about-activity { grid-column: 2; grid-row: 2; min-width: 0; }
.about-activity img { width: 100%; height: auto; aspect-ratio: 1013 / 677; object-fit: contain; }
.about-task img { border-radius: var(--radius); }
.about-task > span { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); min-height: var(--control-height); padding-top: var(--space-xs); font-size: var(--lead); font-weight: 600; }
.about-task:hover { text-decoration: none; }
.about-task:hover > span { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.about-layout-single { grid-template-columns: 1fr; }
.about-layout-single .about-photo { grid-column: 1; grid-row: 2; }
.rental-note { margin-top: var(--space-lg); }
.rental-note h3 { margin-bottom: var(--space-sm); }
.rental-note p { max-width: 66ch; }
.rental-note a { text-decoration: underline; text-underline-offset: 4px; }
.rental-note a:hover { color: var(--ink); }
.contact-section { background: var(--paper); padding-block: var(--space-xl); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "primary form" "info form"; grid-template-rows: auto 1fr; gap: var(--space-lg) var(--space-xl); align-items: start; }
.contact-primary { min-width: 0; grid-area: primary; }
.contact-phone { display: inline-block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.phone-contact > p { max-width: 66ch; }
.contact-description { margin-top: var(--space-md); }
.contact-feedback { min-width: 0; grid-area: form; padding: var(--space-lg); background: var(--surface-2); border-radius: var(--r-md); }
.contact-feedback .request-form { max-width: none; }
.contact-feedback .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.contact-feedback .field-wide { grid-column: 1 / -1; }
.contact-feedback .field input, .contact-feedback .field textarea { background: var(--paper); }
.contact-feedback .form-unavailable { padding: 0; }
.feedback-footer { display: grid; gap: var(--space-md); margin-top: var(--space-md); }
.feedback-footer .consent-field { margin: 0; }
.feedback-footer > .button { justify-self: start; }
.site-footer { padding-block: var(--space-lg); border-top: 1px solid var(--line); }
.footer-content { display: grid; grid-template-columns: 1fr 1fr auto; gap: var(--space-lg); align-items: start; font-size: var(--small); }
.footer-brand p { margin-top: var(--space-sm); color: var(--muted); }
.footer-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px var(--space-md); }
.footer-navigation a { display: flex; align-items: center; min-height: 0; }
.footer-contact { display: grid; gap: var(--space-sm); }
.footer-contact > a { display: flex; align-items: center; font-weight: 600; white-space: nowrap; }
.footer-contact > span { color: var(--muted); }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: var(--space-xs); padding-top: var(--space-lg); color: var(--muted); font-size: 12px; }
.page-heading { padding-block: var(--space-lg) var(--space-xl); }
.page-heading p { margin-top: var(--space-md); max-width: 66ch; }
.catalog-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--space-xl); padding-bottom: var(--space-section); }
.category-menu summary { font-weight: 600; padding-bottom: var(--space-sm); cursor: pointer; }
.category-menu nav { display: grid; gap: 4px; }
.category-menu nav a { font-size: var(--small); padding: 12px 0; }
.category-menu a[aria-current] { color: var(--ink); font-weight: 600; }
.sidebar-phone { display: block; margin-top: var(--space-xl); font-size: var(--small); line-height: 1.8; }
.catalog-results .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.result-count { font-size: var(--small); color: var(--muted); margin-bottom: var(--space-md); }
.page-heading.search-page-heading { padding-bottom: var(--space-md); }
.search-query { overflow-wrap: anywhere; }
.search-results-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-sm); margin-bottom: var(--space-md); }
.search-results-toolbar p { font-size: var(--small); }
.search-category-links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); align-items: baseline; margin-bottom: var(--space-md); }
.search-category-links > span { font-size: var(--small); color: var(--muted); }
.empty-state { padding-block: var(--space-xl); }
.empty-state p { max-width: 66ch; margin-block: var(--space-md); }
.product-page > .page-heading { padding-bottom: var(--space-lg); }
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl); align-items: start; }
.detail-photo { aspect-ratio: 4 / 3; max-height: calc(var(--space-xl) * 10); }
.detail-photo img { width: 100%; height: 100%; object-fit: contain; }
.detail-content { min-width: 0; }
.product-detail-no-photo { grid-template-columns: minmax(0, 1fr); }
.product-detail-no-photo .detail-content { max-width: 66ch; }
.detail-content > .button { width: 100%; }
.description { font-size: 18px; max-width: 66ch; }
.detail-price { font-size: var(--heading-sm); font-weight: 600; margin-block: var(--space-md); font-variant-numeric: tabular-nums; }
.detail-price .unit { font-size: var(--small); }
.detail-questions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); margin-top: var(--space-sm); font-size: 15px; }
.detail-questions p > a { white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.detail-messenger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.detail-messenger:hover { color: var(--accent); border-color: var(--accent); }
.detail-messenger svg { width: var(--icon-size); height: var(--icon-size); }
.specifications { margin-top: var(--space-lg); }
.specifications h2 { font-size: var(--lead); line-height: 1.5; letter-spacing: normal; margin-bottom: var(--space-sm); }
.specifications ul { list-style: none; padding: 0; margin: 0; }
.specifications li { font-size: var(--body); font-variant-numeric: tabular-nums; padding: 10px 0; border-bottom: 1px solid var(--line); }
.detail-terms { margin-block: var(--space-lg) var(--space-section); }
.cart-page { padding-bottom: var(--space-section); min-height: 65vh; }
/* Cart rows and the request total share one container. */
.cart-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--space-md); align-items: start; }
.cart-items { min-width: 0; }
.cart-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-xs); margin-bottom: var(--space-sm); }
.cart-toolbar > a { display: inline-flex; align-items: center; min-height: 40px; font-size: var(--small); }
.cart-continue:hover { color: var(--accent); }
.cart-row { position: relative; display: grid; grid-template-columns: 128px minmax(0, 1fr) 160px 120px; align-items: center; gap: var(--space-md); padding-block: 20px; border-bottom: 1px solid var(--line); }
.cart-row img, .cart-photo-placeholder { width: 128px; height: 96px; object-fit: cover; border-radius: var(--space-xs); }
.cart-photo-placeholder { display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); font-size: var(--small); }
.cart-product-info { min-width: 0; }
.cart-row h2 { font-size: 17px; font-weight: 600; line-height: 1.3; margin: 0; }
.cart-product-info .unit { margin-top: 4px; font-size: var(--small); color: var(--ink-2); }
.quantity { display: grid; grid-template-columns: repeat(3, var(--control-height)); align-items: center; background: var(--accent-soft); border-radius: var(--radius); }
.quantity button { display: grid; place-items: center; width: var(--control-height); height: var(--control-height); padding: 0; background: transparent; border: 0; border-radius: var(--space-xs); font-size: var(--heading-sm); line-height: 1; }
.quantity input { width: var(--control-height); height: var(--control-height); padding: 0; background: transparent; border: 0; border-radius: var(--radius); text-align: center; font-size: var(--body); font-weight: 600; font-variant-numeric: tabular-nums; appearance: textfield; }
.quantity input::-webkit-inner-spin-button { appearance: none; }
.cart-row .quantity { width: 160px; justify-self: center; grid-template-columns: 40px minmax(0, 1fr) 40px; }
.cart-row .quantity button, .cart-row .quantity input { width: 100%; height: 40px; }
.cart-price { font-size: 17px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-price-unpriced { font-size: 15px; font-weight: 400; color: var(--ink-2); }
.remove { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); border: 0; border-radius: var(--radius); background: transparent; color: var(--ink-2); font-size: var(--small); font-weight: 400; min-height: 40px; padding: 0; white-space: nowrap; }
.remove svg { width: var(--icon-size); height: var(--icon-size); flex-shrink: 0; }
.remove:hover { color: var(--accent); }
.cart-undo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm); padding: var(--space-sm); margin-bottom: var(--space-md); background: var(--soft); border-radius: var(--radius); }
.cart-undo p { min-width: 0; max-width: 66ch; overflow-wrap: anywhere; }
.cart-undo button { flex-shrink: 0; }
.cart-summary { position: sticky; top: 96px; background: var(--surface-2); border-radius: var(--r-lg); padding: 28px; }
.cart-total { display: grid; gap: var(--space-xs); }
.cart-total > p:first-child { font-size: var(--small); color: var(--ink-2); }
.cart-total strong { font-size: 32px; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cart-total .note { margin: 0; }
.cart-estimate { font-size: var(--lead); }
.cart-item-count { margin-block: var(--space-md); font-variant-numeric: tabular-nums; font-size: var(--body); }
.cart-summary > .button { width: 100%; justify-content: center; margin-top: var(--space-md); min-height: 52px; }
.cart-price-note { margin-top: var(--space-sm); font-size: 13px; color: var(--ink-2); }
.cart-mobile-bar { display: none; }
.empty-cart-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.cart-empty { padding: 0 0 var(--space-xl); }
.cart-empty p { margin-top: 0; }
.cart-popular { margin-top: var(--space-lg); }
.has-request-dialog { overflow: hidden; }
.request-dialog { position: fixed; inset: 0; width: calc(100% - var(--space-lg)); max-width: 640px; max-height: 90vh; max-height: 90dvh; margin: auto; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--paper); overflow: hidden; }
.request-dialog[open] { display: flex; flex-direction: column; }
.request-dialog-content { display: flex; flex-direction: column; min-height: 0; }
.request-dialog-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--space-lg) var(--space-lg); scroll-padding-block: var(--space-sm); }
.request-dialog::backdrop { background: rgb(32 33 36 / 55%); }
.request-dialog-header { display: flex; flex-shrink: 0; justify-content: space-between; align-items: center; gap: var(--space-sm); padding: var(--space-lg); background: var(--paper); }
.request-dialog-header h2 { font-size: 22px; margin: 0; }
.dialog-close { display: grid; place-items: center; width: var(--control-height); height: var(--control-height); flex-shrink: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.dialog-close:hover { background: var(--surface-2); }
.request-dialog .dialog-close { width: 40px; height: 40px; border: 0; }
.request-dialog .request-form { margin-top: var(--space-md); }
.request-summary { font-size: var(--small); color: var(--ink-2); }
.request-summary p + p { margin-top: 4px; }
.request-form[data-request-form="cart"] textarea { height: 96px; min-height: 96px; }
.request-form[data-request-form="cart"] .field-error { color: var(--accent); font-size: 13px; font-weight: 400; }
.request-form[data-request-form="cart"] .form-policy { font-size: 13px; }
.request-form[data-request-form="cart"] .request-footer { display: flex; flex-direction: column; }
.request-form[data-request-form="cart"] .form-message[data-state="success"] { padding: 0; margin: 0; background: transparent; }
.request-form[data-request-form="cart"] .form-message[data-state="success"] h2 { font-size: 22px; margin-bottom: var(--space-sm); }
.request-form[data-request-form="cart"] .form-message[data-state="success"] .button { margin-top: var(--space-md); }
.request-dialog-content.is-complete .request-summary, .request-dialog-content.is-complete .request-dialog-header h2 { display: none; }
.request-dialog-content.is-complete .request-dialog-header { justify-content: flex-end; padding-bottom: 0; }
.request-dialog-content.is-complete .request-dialog-body { padding-top: var(--space-sm); }

.request-dialog .request-form .button { width: 100%; justify-content: center; }
.request-dialog .field input, .request-dialog .field textarea { background: var(--paper); }
.status { position: fixed; bottom: var(--space-md); left: var(--space-md); right: var(--space-md); margin-inline: auto; width: fit-content; max-width: calc(100% - var(--space-xl)); padding: 12px 24px; background: var(--ink); color: var(--paper); z-index: 50; font-size: var(--small); }
.status { pointer-events: none; }
.status.sr-only { width: 1px; height: 1px; padding: 0; }
.status:empty { display: none; }
.request-form { max-width: 66ch; margin-top: var(--space-md); }
.form-intro { font-size: var(--small); color: var(--muted); margin-bottom: var(--space-md); }
.form-fields { padding: 0; margin: 0; border: 0; min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.field { min-width: 0; display: flex; flex-direction: column; gap: var(--space-xs); }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: var(--small); }
.optional { color: var(--muted); margin-left: var(--space-xs); font-size: 12px; }
.field input, .field textarea { background: var(--soft); padding: 12px var(--space-sm); border: 1px solid var(--line); width: 100%; min-width: 0; min-height: 48px; border-radius: var(--radius); }
.field textarea { resize: vertical; }
.field-error { color: var(--ink); font-size: var(--small); font-weight: 600; }
.field-error:empty, .form-message:empty { display: none; }
.consent-field { margin-block: var(--space-md); font-size: var(--small); }
.consent-field label { display: flex; align-items: flex-start; gap: var(--space-sm); cursor: pointer; }
.consent-field input { accent-color: var(--ink); width: 20px; height: 20px; flex-shrink: 0; margin: 0; }
.consent-field p { margin-top: var(--space-sm); }
.consent-field a, .form-unavailable a { text-decoration: underline; text-underline-offset: 3px; }
.form-unavailable { font-size: var(--small); margin-bottom: var(--space-md); padding: var(--space-sm); background: var(--soft); }
.form-unavailable a { white-space: nowrap; }
.request-form .button:disabled { opacity: 1; color: var(--muted); background: var(--line); border-color: var(--line); }
.form-message { margin-bottom: var(--space-md); }
.form-message[data-state="error"] { color: var(--ink); background: var(--soft); padding: var(--space-sm); font-weight: 600; }
.form-message[data-state="success"] { font-weight: 700; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-again { border: 0; background: transparent; padding: 0; }
.test-notice { padding-block: var(--space-sm); font-size: var(--small); font-weight: 700; }
.footer-legal { display: flex; gap: var(--space-xs) var(--space-md); flex-wrap: wrap; margin-top: var(--space-md); font-size: var(--small); }
.footer-legal a { display: flex; align-items: center; min-height: var(--control-height); text-decoration: underline; text-underline-offset: 4px; }
.legal-copy { margin-top: var(--space-lg); max-width: 66ch; overflow-wrap: anywhere; }
.legal-document h1 { font-size: var(--heading-lg); }
.legal-document > p { margin-top: var(--space-lg); }
.legal-copy h2 { margin-block: var(--space-lg) var(--space-sm); font-size: var(--lead); line-height: 1.55; letter-spacing: normal; }
.legal-document > .legal-draft { max-width: 66ch; margin-top: 0; margin-bottom: var(--space-lg); padding: var(--space-sm); border-radius: var(--radius); background: var(--surface-2); }
@media (max-width: 1200px) {
  :root { --gutter: var(--space-lg); --brand-width: calc(var(--space-xl) * 5); }
  .basket-link > span:not([data-cart-count]) { display: none; }
  .navigation { gap: var(--space-sm); flex-wrap: wrap; justify-content: flex-start; }
  .navigation-links { gap: var(--space-sm); }
  .catalog-layout { grid-template-columns: 220px minmax(0, 1fr); gap: var(--space-lg); }
  .catalog-results .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { gap: var(--space-lg) var(--space-md); }
  .product-detail { gap: var(--space-lg); }
  .hero-layout { column-gap: var(--space-lg); }
}
@media (max-width: 900px) {
  .about-layout { gap: var(--space-md); }
  .about-content { grid-column: 1 / -1; grid-row: 1; }
  .about-photo { grid-column: 1; grid-row: 2; }
  .about-activity { grid-column: 2; grid-row: 2; }
  .about-activity img { aspect-ratio: 1013 / 677; }
  .about-layout-single .about-photo { grid-column: 1 / -1; grid-row: 2; }
  .hero-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-lg); }
  .hero-copy { grid-column: 1 / -1; }
  .hero-direction-main { grid-column: 1; grid-row: 2; }
  .hero-direction-secondary { grid-column: 2; grid-row: 2; display: block; align-self: end; }
  .hero-direction-secondary > span { padding-top: var(--space-xs); }
  .hero-actions { margin-top: var(--space-md); }
  .direction-primary, .direction-secondary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "primary" "form" "info"; grid-template-rows: auto; gap: var(--space-lg); }
  .contact-feedback .field-wide { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-layout { grid-template-columns: 1fr; }
  .category-menu nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-menu nav a { margin-left: 0; }
  .sidebar-phone { display: none; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }
  .cart-layout { grid-template-columns: 1fr; gap: var(--space-lg); }
  .cart-summary { position: static; }
}
@media (max-width: 600px) {
  :root { --gutter: var(--space-sm); --space-section: var(--space-xl); }
  .navigation { gap: 0 var(--space-sm); font-size: var(--small); }
  .navigation a { margin: 0; }
  .navigation { justify-content: space-between; }
  .navigation .catalog-link { font-size: var(--small); }
  .navigation-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-sm); flex-basis: 100%; padding-bottom: var(--space-sm); }
  .hero { padding-block: var(--space-lg); }
  .hero h1 { font-size: var(--heading-sm); }
  .hero-intro p { font-size: var(--body); }
  .hero-actions { flex-direction: column; gap: var(--space-xs); }
  .hero-actions .button { justify-content: center; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .hero-direction-main { grid-column: 1; grid-row: 2; }
  .hero-direction-secondary { grid-column: 1; grid-row: 3; display: grid; gap: var(--space-sm); }
  .hero-direction > span { font-size: var(--small); }
  .hero-direction-secondary > span { padding-top: 0; }
  .section-heading { align-items: center; }
  .section-heading .text-link { font-size: 12px; }
  .section-heading .text-link span { margin-left: 4px; }
  .product-grid, .catalog-results .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-sm); }
  .product-card h3 { font-size: var(--body); }
  .direction-primary { gap: var(--space-sm); }
  .direction-label { padding: var(--space-xs); font-size: var(--body); gap: var(--space-xs); }
  .direction-arrow { width: var(--icon-size); height: var(--heading-sm); flex-basis: var(--icon-size); background: transparent; }
  .direction-tile:hover .direction-arrow, .direction-tile:focus-visible .direction-arrow { background: transparent; color: var(--ink); }
  .direction-secondary { gap: var(--space-xs); }
  .direction-shortcut { font-size: var(--small); gap: var(--space-xs); min-height: calc(var(--space-lg) * 2); padding: var(--space-xs); }
  .product-card .price { font-size: 18px; }
  .add-button { padding: var(--space-xs); font-size: var(--small); gap: var(--space-xs); }
  .product-card .add-button > span { display: none; }
  .product-card .purchase-cart { padding-inline: var(--space-xs); font-size: var(--small); }
  .category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
  .category-list a { font-size: var(--small); gap: var(--space-xs); padding: var(--space-sm); }
  .category-list a svg { flex-basis: var(--space-sm); width: var(--space-sm); height: var(--space-sm); }
  .footer-content { grid-template-columns: 1fr; gap: var(--space-md); }
  .footer-contact { display: grid; gap: var(--space-xs); }
  .about-layout { grid-template-columns: 1fr; }
  .about-photo, .about-layout-single .about-photo { grid-column: 1; grid-row: 2; }
  .about-activity { grid-column: 1; grid-row: 3; }
  .about-copy p { font-size: var(--body); }
  .contact-feedback { padding: var(--space-sm); }
  .contact-feedback .form-grid { grid-template-columns: minmax(0, 1fr); }
  .feedback-footer > .button { width: 100%; justify-content: center; }
  .category-menu nav { grid-template-columns: 1fr; }
  .breadcrumbs { padding-top: var(--space-md); }
  .page-heading { padding-block: var(--space-md) var(--space-lg); }
  .product-detail { grid-template-columns: 1fr; gap: var(--space-md); }
  .request-dialog-header { padding: var(--space-sm); }
  .request-dialog-body { padding: 0 var(--space-sm) var(--space-sm); }
  .request-dialog .consent-field { margin-block: var(--space-sm); }
  .empty-state { padding-block: var(--space-md); }
  .form-grid { grid-template-columns: 1fr; }
}
/* Below 360px two columns leave too little room for a complete category name and its arrow. */
@media (max-width: 360px) {
  .direction-primary, .direction-secondary { grid-template-columns: 1fr; }
  .direction-label { padding: var(--space-sm); }
  .direction-shortcut { min-height: var(--control-height); padding: var(--space-sm); font-size: var(--body); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Hierarchy uses the same spacing, type and controls as the catalog. */
.category-menu nav { display: block; }
.category-menu nav a { display: block; padding: var(--space-xs) var(--space-sm); min-height: var(--space-xl); overflow-wrap: anywhere; }
.category-menu nav > a { font-weight: 600; }
.category-menu a[aria-current] { background: var(--soft); }
.category-tree { list-style: none; margin: 0; padding: 0; }
.category-tree .category-tree { margin-left: var(--space-sm); }
.category-tree:empty { display: none; }
.subcategory-list { margin-bottom: var(--space-xl); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.subcategory-list a { font-size: var(--small); padding: var(--space-sm); }
.content-links { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-block: var(--space-lg); }
.information-page { padding-bottom: var(--space-section); }
.information-copy { max-width: 66ch; overflow-wrap: anywhere; }
.information-copy img { margin-top: var(--space-lg); height: auto; }
:root { --news-title-mobile: 28px; --news-copy-width: 800px; }
.news-page { padding-bottom: var(--space-section); }
.news-page h1 { hyphens: none; font-size: var(--heading-lg); line-height: 1.15; }
.news-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--space-xl); align-items: start; padding-top: var(--space-lg); }
.news-article { min-width: 0; width: 100%; max-width: var(--news-copy-width); display: grid; gap: var(--space-lg); }
.news-heading time { display: block; margin-top: var(--space-sm); color: var(--muted); font-size: var(--small); }
.news-main-photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); }
.news-main-photo img { width: 100%; height: 100%; object-fit: cover; }
.news-copy { line-height: 1.7; overflow-wrap: anywhere; }
.news-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
.news-gallery a { min-width: 0; }
.news-gallery img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.news-back { justify-self: start; }
.news-sidebar { min-width: 0; align-self: stretch; }
.news-sidebar-sticky { position: sticky; top: var(--space-md); display: grid; gap: var(--space-lg); padding: var(--space-xs); }
.news-products { display: grid; gap: var(--space-md); }
.news-products h2, .news-contact h2 { font-size: var(--lead); margin-bottom: 0; letter-spacing: normal; }
.news-contact { display: grid; gap: var(--space-sm); padding: var(--space-md); background: var(--soft); }
.news-phone { font-size: var(--lead); font-weight: 600; }
.news-contact .button { justify-content: center; }
.social-links { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.social-links .button { font-size: var(--small); }
.other-news { margin-top: var(--space-section); }
.news-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
.news-preview { min-width: 0; }
.news-preview-link { display: flex; flex-direction: column; height: 100%; gap: var(--space-sm); border-radius: var(--r-md); }
.news-preview-link:hover { text-decoration: none; }
.news-preview-photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-md); background: var(--surface-2); }
.news-preview-photo img { width: 100%; height: 100%; object-fit: cover; }
.news-preview h3 { font-size: 20px; font-weight: 600; hyphens: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.news-preview time { color: var(--muted); font-size: var(--small); }
.news-preview p { font-size: 16px; color: var(--ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.news-preview-link:hover h3 { color: var(--accent); }
.has-news-lightbox { overflow: hidden; }
.news-lightbox { position: fixed; inset: 0; width: calc(100% - var(--space-lg)); max-width: 1200px; max-height: calc(100dvh - var(--space-lg)); margin: auto; padding: var(--space-sm); border: 0; background: var(--paper); color: var(--ink); }
.news-lightbox[open] { display: grid; gap: var(--space-sm); }
.news-lightbox::backdrop { background: rgb(0 0 0 / 80%); }
.news-lightbox > .dialog-close { justify-self: end; }
.news-lightbox > img { width: 100%; height: min(65dvh, 800px); object-fit: contain; }
.lightbox-controls { display: flex; align-items: center; justify-content: center; gap: var(--space-md); }
.lightbox-controls button { width: var(--control-height); height: var(--control-height); background: var(--soft); border: 0; font-size: var(--lead); }
.footer-requisites { display: grid; gap: var(--space-xs); margin-top: var(--space-md); font-size: 13px; color: var(--muted); }
.footer-requisites p + p { margin: 0; }
.footer-privacy-links { display: flex; align-items: center; gap: var(--space-xs) var(--space-md); font-size: var(--small); }
.footer-privacy-links > * { display: flex; align-items: center; min-height: var(--control-height); min-width: 0; }
@media (max-width: 767px) {
  .footer-privacy-links { flex-direction: column; align-items: stretch; }
}
.footer-navigation a[aria-current] { color: var(--ink); }
@media (max-width: 900px) {
  .news-layout { grid-template-columns: 1fr; gap: var(--space-xl); }
  .news-sidebar-sticky { position: static; max-height: none; overflow: visible; padding: 0; }
  .news-sidebar .product-photo { max-height: none; }
}
@media (max-width: 600px) {
  .news-page h1 { font-size: var(--heading-lg); }
  .news-layout { padding-top: var(--space-md); }
  .news-gallery { gap: var(--space-xs); }
  .news-preview-grid { grid-template-columns: 1fr; }
}
.information-action { margin-top: var(--space-lg); }
.navigation a[aria-current] { color: var(--ink); }
@media (max-width: 900px) {
  .category-menu summary { padding: var(--space-sm); background: var(--soft); }
  .category-menu nav { padding-block: var(--space-sm); }
}
@media (max-width: 600px) {
  .subcategory-list { grid-template-columns: 1fr; gap: var(--space-xs); }
}

.subcategory-picker { margin-bottom: var(--space-lg); }
.subcategory-picker > summary { display: list-item; cursor: pointer; font-weight: 600; padding: var(--space-sm); background: var(--soft); }
.subcategory-picker .subcategory-list { margin-top: var(--space-sm); }
@media (max-width: 900px) {
  .subcategory-picker > summary { display: list-item; cursor: pointer; font-weight: 600; padding: var(--space-sm); background: var(--soft); }
  .subcategory-picker .subcategory-list { margin-top: var(--space-sm); }
}

/* Catalogue entry follows the CMS tree and remains visible without JavaScript. */
.navigation { padding-block: var(--space-xs); }
.navigation .catalog-link, .navigation .catalog-link[aria-current] { position: relative; width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; border-radius: var(--r-sm); color: var(--ink); background: var(--surface-2); }
@media (hover: hover) { .navigation .catalog-link:hover { background: var(--line); text-decoration: none; } }
.navigation .catalog-link[aria-expanded="true"] { color: var(--surface); background: var(--ink); }
.catalog-link::after { content: attr(data-tooltip); position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 5; padding: 4px 8px; border-radius: var(--r-sm); background: var(--ink); color: var(--surface); font-size: 13px; opacity: 0; visibility: hidden; pointer-events: none; }
@media (hover: hover) { .catalog-link:not([aria-expanded="true"]):hover::after { opacity: 1; visibility: visible; } }
.catalog-link svg { flex-shrink: 0; }
.catalog-hero { padding-block: var(--space-lg) var(--space-xl); }
.catalog-hero-intro { display: flex; flex-direction: column; align-items: start; justify-content: start; gap: var(--space-lg); margin-bottom: var(--space-lg); }
.catalog-hero-intro > div:first-child { min-width: 0; }
.catalog-hero h1 { font-size: var(--heading-md); max-width: 24ch; hyphens: none; overflow-wrap: normal; }
.catalog-hero p { max-width: 66ch; margin-top: var(--space-sm); }
.catalog-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }
.catalog-hero-actions .text-link { text-align: center; }
.catalog-hero .direction-label { font-size: var(--body); }
.catalog-hero .direction-label .action-arrow { color: var(--ink); }
.directions { padding-top: var(--space-lg); }
.category-directory { display: grid; gap: var(--space-xl); }
.category-group-title { margin-bottom: var(--space-md); font-size: var(--heading-sm); font-weight: 600; line-height: 1.25; }
.category-group-title a { display: inline-flex; align-items: center; gap: var(--space-sm); }
.category-group-title .action-arrow { color: var(--ink); }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(var(--space-xl) * 5 + var(--space-sm))), 1fr)); gap: var(--space-sm); }
.category-tile { display: flex; align-items: center; gap: var(--space-sm); min-height: calc(var(--space-xl) * 2); min-width: 0; padding: var(--space-sm); border-radius: var(--radius); background: var(--soft); font-size: var(--body); font-weight: 600; line-height: 1.4; }
.category-tile > span { min-width: 0; overflow-wrap: anywhere; }
.category-tile .category-icon { color: var(--ink); width: var(--heading-sm); height: var(--heading-sm); flex-shrink: 0; }
.category-tile:hover { color: var(--ink); text-decoration: none; background: var(--line); }
.category-tile:focus-visible { outline-offset: 2px; }
.catalog-entry-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-md); margin-bottom: var(--space-lg); }
.catalog-entry-actions .text-link { display: inline-flex; align-items: center; gap: var(--space-xs); }
.catalog-layout.catalog-layout-directory { display: block; }
.catalog-layout-directory .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.catalog-layout-directory .category-subsections { margin-bottom: var(--space-lg); }
.category-directory + .catalog-layout { margin-top: var(--space-section); }
.equipment-heading { scroll-margin-top: var(--space-md); }
.equipment-heading:empty { height: 0; }
@media (max-width: 1200px) {
  .catalog-hero-intro { align-items: start; }
}
@media (max-width: 900px) {
  .catalog-layout-directory .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-hero-intro { flex-direction: column; }
  .catalog-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }
  .category-group-title { font-size: var(--heading-sm); }
}
@media (max-width: 600px) {
  .catalog-hero { padding-block: var(--space-md) var(--space-lg); }
  .catalog-hero h1 { font-size: var(--heading-sm); }
  .catalog-hero-intro { gap: var(--space-md); margin-bottom: var(--space-md); }
  .catalog-hero-actions .button { justify-content: center; }
  .catalog-hero-actions { width: 100%; }
  .catalog-hero .direction-label { font-size: var(--small); align-items: start; }
  .catalog-hero .direction-label .action-arrow { display: none; }
  .category-grid { gap: var(--space-xs); }
  .category-tile { min-height: calc(var(--control-height) + var(--space-sm)); font-size: var(--small); }
  .category-directory { gap: var(--space-lg); }
  .category-group-title { font-size: var(--heading-sm); margin-bottom: var(--space-sm); }
  .directions .section-heading { align-items: flex-start; flex-direction: column; }
}

.directory-shortcuts { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.directory-shortcuts a { display: inline-flex; align-items: center; min-height: var(--control-height); padding: var(--space-xs) var(--space-sm); border: 1px solid var(--line); border-radius: var(--radius); font-size: var(--small); }
.directory-shortcuts a:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }

.directory-shortcuts .directory-new { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.category-group-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); margin-bottom: var(--space-md); }
.category-group-heading .category-group-title { margin-bottom: 0; }
.category-group-heading > .text-link { display: inline-flex; align-items: center; min-height: var(--control-height); color: var(--ink); font-size: var(--small); font-weight: 600; }

/* Existing editorial pages: source copy and pictures remain editable in Bitrix. */
.legacy-page h1 { hyphens: none; overflow-wrap: anywhere; }
.legacy-content { overflow-wrap: anywhere; }
.legacy-content p, .legacy-content > div > div { margin-block: var(--space-sm); }
.legacy-content h2, .legacy-content h3, .legacy-content h4 { margin-block: var(--space-lg) var(--space-sm); hyphens: none; }
.legacy-content h2 { font-size: var(--heading-sm); }
.legacy-content h3, .legacy-content h4 { font-size: var(--lead); }
.legacy-content a { text-decoration: underline; text-underline-offset: .2em; }
.legacy-content img { max-width: 100%; height: auto; margin-block: var(--space-sm); }
.legacy-content table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-block: var(--space-md); }
.legacy-content td, .legacy-content th { padding: var(--space-xs); vertical-align: top; text-align: left; }
.legacy-content iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; margin-block: var(--space-md); }
.legacy-directory-section { margin-bottom: var(--space-xl); }
.legacy-directory details { margin-bottom: var(--space-xs); }
.legacy-directory summary { cursor: pointer; padding-block: var(--space-xs); font-size: var(--lead); font-weight: 600; line-height: 1.5; }
.legacy-directory ul { columns: 3; column-gap: var(--space-xl); padding-left: var(--space-md); }
.legacy-directory li { padding-block: var(--space-xs); break-inside: avoid; overflow-wrap: anywhere; }
@media (max-width: 900px) { .legacy-directory ul { columns: 2; } }
@media (max-width: 600px) {
  .legacy-directory ul { columns: 1; }
  .legacy-content table, .legacy-content tbody, .legacy-content thead, .legacy-content tfoot, .legacy-content tr, .legacy-content td, .legacy-content th { display: block; width: 100%; }
  .legacy-content td, .legacy-content th { padding-inline: 0; }
}

/* Homepage product selection and CMS-managed editorial sections. */
.featured-item { min-width: 0; display: grid; grid-template-rows: subgrid; grid-row: span 5; }
.featured-controls { display: grid; gap: var(--space-sm); margin-bottom: var(--space-md); }
.featured-filters { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.featured-filters button { min-height: var(--control-height); padding: var(--space-xs) var(--space-sm); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); font-size: var(--small); }
.featured-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.featured-section [data-featured-link-label] { font-size: inherit; }
.home-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
.home-case-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; height: auto; margin-bottom: var(--space-sm); }
.home-case-grid h3 { margin-bottom: var(--space-sm); }
.home-case-grid dl, .company-facts { display: grid; gap: var(--space-sm); margin-block: var(--space-md); }
.home-case-grid dt, .company-facts dt { font-weight: 600; }
.home-case-grid dd, .company-facts dd { margin: 0; }
.client-review { margin-block: var(--space-lg); max-width: 66ch; }
.client-review blockquote { margin: 0 0 var(--space-sm); }
.client-review figcaption { font-weight: 600; }
.client-logos { list-style: none; margin: var(--space-lg) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.client-logos img { object-fit: contain; }
@media (max-width: 900px) {
  .home-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .home-case-grid { grid-template-columns: 1fr; }
  .featured-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: var(--space-xs); }
  .featured-filters button { flex-shrink: 0; }
}

/* Contacts: primary phone, editable messenger placeholders, lightweight enquiry form. */
.hero-help { border-color: var(--ink); color: var(--ink); }
.hero-help:hover { background: var(--soft); color: var(--ink-2); border-color: var(--ink-2); }
.contact-messengers { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-sm); }
.contact-messenger { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: var(--control-height); padding: var(--space-xs) var(--space-sm); border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: var(--small); }
.contact-messenger:hover { border-color: var(--ink); color: var(--ink); }
.contact-messenger:disabled { opacity: 1; cursor: default; color: var(--muted); border-color: var(--line); }
.contact-todo { font-size: 13px; }
.phone-contact .contact-response { margin-top: var(--space-sm); color: var(--muted); font-size: var(--small); }
.contact-info { grid-area: info; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-md); margin: 0; }
.contact-info > div { min-width: 0; }
.contact-info dt { margin-bottom: var(--space-xs); color: var(--muted); font-size: 13px; }
.contact-info dd { margin: 0; overflow-wrap: anywhere; }
.contact-info a { text-decoration: underline; text-underline-offset: 3px; }
.phone-mask-field { display: flex; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.phone-mask-field > span { padding-left: var(--space-sm); flex-shrink: 0; }
.request-form .phone-mask-field input { padding-left: var(--space-xs); border: 0; background: transparent; outline: none; }
.contact-feedback .form-message { margin: var(--space-sm) 0 0; }
.contact-feedback .form-message[data-state="error"] { padding: 0; font-weight: 400; }
.contact-feedback .consent-field label { gap: var(--space-xs); }
.contact-feedback .feedback-footer { gap: var(--space-sm); }
@media (max-width: 600px) {
  .contact-info { column-gap: var(--space-sm); }
  .contact-messengers { gap: calc(var(--space-xs) / 2); }
  .contact-messenger { padding-inline: var(--space-xs); gap: calc(var(--space-xs) / 2); font-size: 13px; }
  .catalog-hero-actions .hero-help { justify-content: center; }
}

/* Catalogue navigation: one CMS tree, a compact picker on phones. */
.catalog-layout-browse { grid-template-columns: calc(var(--space-xl) * 5) minmax(0, 1fr); gap: var(--space-lg); }
.catalog-layout-browse .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-results, .catalog-sidebar { min-width: 0; }
.catalog-picker > summary { cursor: pointer; font-weight: 600; padding-bottom: var(--space-sm); }
.catalog-tree-navigation a, .catalog-branch > summary { display: flex; align-items: baseline; gap: var(--space-xs); min-height: var(--control-height); padding: var(--space-xs) var(--space-sm); font-size: var(--small); line-height: 1.5; }
.catalog-tree-navigation a { justify-content: space-between; border-radius: var(--radius); }
.catalog-tree-navigation a:hover { background: var(--soft); text-decoration: none; }
.catalog-tree-navigation a[aria-current] { color: var(--ink); background: var(--soft); font-weight: 600; }
.catalog-count { color: var(--muted); font-size: var(--small); font-weight: 400; font-variant-numeric: tabular-nums; }
.catalog-branch > summary { cursor: pointer; list-style: none; justify-content: space-between; font-weight: 600; }
.catalog-branch > summary::-webkit-details-marker { display: none; }
.catalog-branch > summary::after { content: '+'; flex-shrink: 0; font-weight: 400; color: var(--muted); }
.catalog-branch[open] > summary::after { content: '−'; }
.catalog-branch-links { padding-left: var(--space-sm); }
.catalog-branch-links > a { color: var(--muted); }
.catalog-branch-links > a:hover { color: var(--ink); }
.catalog-subsections { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-md); }
.catalog-subsections a { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: var(--control-height); padding: var(--space-xs) var(--space-sm); border-radius: var(--radius); background: var(--soft); font-size: var(--small); }
.catalog-subsections a:hover { color: var(--ink); text-decoration: none; }
@media (min-width: 901px) { .catalog-picker > summary { list-style: none; } .catalog-picker > summary::-webkit-details-marker { display: none; } }
@media (max-width: 900px) {
  .catalog-layout-browse { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .catalog-layout-browse .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-picker > summary { padding: var(--space-sm); background: var(--soft); border-radius: var(--radius); }
  .catalog-picker[open] > nav { margin-top: var(--space-xs); }
}
@media (max-width: 374px) { .catalog-layout-browse .product-grid { grid-template-columns: minmax(0, 1fr); } }

/* Homepage sections use only catalogue and completed company content. */
.home-block-heading { display: block; margin-bottom: var(--space-lg); }
.home-block-heading-top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-sm); }
.home-block-heading-top > h1, .home-block-heading-top > h2 { flex: 1; min-width: 0; margin: 0; font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.home-heading-actions { display: flex; align-items: center; gap: var(--space-sm); flex-shrink: 0; }
.home-section-link { font-size: 16px; line-height: 1.2; font-weight: 400; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.home-section-subtitle { margin: var(--space-xs) 0 0; max-width: 66ch; font-size: 16px; line-height: 1.5; color: #707070; }
.home-catalog-rows { display: grid; gap: 64px; }
.product-new-label { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; pointer-events: none; }
.product-card.product-card-home-category h3 { grid-row: 2; padding-bottom: var(--space-xs); }
.card-section-link { position: relative; z-index: 2; justify-self: start; grid-row: 3; padding-bottom: 12px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.card-section-link:hover { color: var(--accent); }
.home-news-arrows { display: flex; gap: var(--space-xs); }
.home-news-arrows button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.home-news-arrows button:hover:not(:disabled) { background: var(--surface-2); }
.home-news-arrows svg { width: var(--icon-size); height: var(--icon-size); }
.home-news-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--space-lg) * 2) / 3); gap: var(--space-lg); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 4px; }
.home-news-track::-webkit-scrollbar { display: none; }
.home-news-track .news-preview { scroll-snap-align: start; }
.home-news-track .news-preview-link:focus-visible { outline-offset: -2px; }
.home-company-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; padding: 40px 56px; border-radius: 16px; background: #f7f7f7; }
.home-company-copy { min-width: 0; }
.home-company-copy h2 { margin: 0 0 12px; font-size: 32px; font-weight: 700; line-height: 1.2; }
.home-company-copy p { margin: 0; max-width: none; font-size: 16px; line-height: 1.5; color: #555; }
.home-company-button { height: 48px; min-height: 48px; padding: 0 28px; border: 0; border-radius: 24px; background: #191919; color: #fff; white-space: nowrap; justify-content: center; }
.home-company-button:hover { background: #333; color: #fff; }
.home-company-figures { display: flex; flex-wrap: wrap; gap: var(--space-md); margin: var(--space-lg) 0 0; }
.home-company-figures > div { display: flex; flex-direction: column; }
.home-company-figures dt { font-size: var(--small); color: var(--ink-2); }
.home-company-figures dd { order: -1; margin: 0 0 var(--space-xs); font-size: 32px; font-weight: 600; line-height: 1.15; }
@media (max-width: 767px) {
  .home-catalog-rows { gap: 40px; }
  .home-block-heading-top > h1, .home-block-heading-top > h2 { font-size: 22px; }
  .home-heading-stacked { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
  .home-heading-stacked .home-block-heading-top { display: contents; }
  .home-heading-stacked .home-block-heading-top > h1, .home-heading-stacked .home-block-heading-top > h2 { order: 0; }
  .home-heading-stacked .home-section-subtitle { order: 1; }
  .home-heading-stacked .home-heading-actions { order: 2; margin-top: 8px; }
  .home-company-panel { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 24px; }
  .home-company-button { width: 100%; }
  .product-new-label { top: var(--space-xs); left: var(--space-xs); }
  .home-news-arrows { display: none; }
  .home-news-track { grid-auto-columns: min(85vw, 100%); gap: var(--space-sm); }
}
.company-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-lg); margin: 0; }
.company-figures > div { display: flex; flex-direction: column; min-width: 0; }
.company-figures dt { color: var(--ink-2); font-size: 14px; }
.company-figures dd { order: -1; margin: 0 0 var(--space-xs); font-size: 36px; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.company-event-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-sm); }
.company-event-grid a { display: block; overflow: hidden; border-radius: var(--r-md); cursor: zoom-in; }
.company-event-grid img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.company-logo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-lg); align-items: center; }
.company-logo-grid img { width: 100%; height: 96px; object-fit: contain; }
.company-rich-text { max-width: 60ch; overflow-wrap: anywhere; }
.company-rich-text > * + * { margin-top: var(--space-md); }
.company-rich-text a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .company-event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .company-figures, .company-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md) var(--space-sm); }
}
.product-gallery { min-width: 0; }
.product-gallery .detail-photo { display: block; position: relative; border-radius: var(--r-md); background: var(--soft); }
.photo-zoom-label { position: absolute; bottom: var(--space-sm); right: var(--space-sm); padding: var(--space-xs) var(--space-sm); border-radius: var(--radius); background: var(--paper); color: var(--ink); font-size: var(--small); }
.product-gallery-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xs); margin-top: var(--space-sm); }
.product-gallery-thumbs a { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.product-gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.related-equipment { padding-bottom: var(--space-section); }
@media (max-width: 600px) { .product-gallery-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }


/* Homepage composition and action hierarchy, customer brief 26 October. */
.button-accent, .request-form button[type="submit"], .add-button { background: var(--accent); color: var(--surface); border-color: transparent; justify-content: center; }
.button-accent:hover, .request-form button[type="submit"]:hover, .add-button:hover { background: var(--accent-hover); color: var(--surface); border-color: transparent; }
.purchase-cart, .purchase-stepper { background: var(--accent-soft); color: var(--accent); }
.purchase-cart { justify-content: center; }
.purchase-cart:hover { background: var(--accent-soft); color: var(--accent-hover); text-decoration: underline; }
.basket-copy { display: grid; gap: 2px; }
.basket-copy small { font-size: 11px; color: var(--muted); white-space: nowrap; }
[data-cart-count] { display: grid; place-items: center; min-width: 24px; height: 24px; padding-inline: 5px; border-radius: var(--r-sm); background: var(--accent); color: var(--surface); font-size: 12px; font-weight: 700; }
.product-card-no-category { grid-row: span 4; }
.home-products-footer { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); margin-top: var(--space-lg); }
.home-products-footer .price-note { max-width: 60ch; margin: 0; font-size: var(--small); color: var(--ink-2); }
.home-products-footer .button { flex-shrink: 0; }
@media (max-width: 767px) {
  .home-products-footer { flex-direction: column; align-items: stretch; gap: var(--space-sm); }
  .home-products-footer .button { width: 100%; justify-content: center; gap: var(--space-xs); }
}
.company-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl); align-items: center; }
.company-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.company-facts { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-lg); margin-top: var(--space-lg); }
.company-facts > div { min-width: 0; }
.company-facts dt { color: var(--muted); font-size: var(--small); }
.company-facts dd { margin: 4px 0 0; font-size: var(--body); font-weight: 600; overflow-wrap: anywhere; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.site-footer a[aria-current] { color: var(--ink); font-weight: 700; }
@media (hover: hover) {
  .product-card:hover h3 a { color: var(--accent); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .product-card .product-photo img { transition: transform .3s; }
  .product-card:hover .product-photo img { transform: scale(1.03); }
}
@media (max-width: 900px) {
  .company-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
}
@media (max-width: 600px) {
  .basket-copy small { display: none; }
  .company-facts { grid-template-columns: minmax(0, 1fr); }
  .contact-phone { font-size: 28px; }
}

/* Neutral controls retain a visible boundary on the white surface. */
.search { border-color: var(--line); }
.catalog-subsections a { border: 1px solid var(--line); }
.catalog-tree-navigation a[aria-current] { box-shadow: inset 3px 0 var(--ink); }
@media (max-width: 900px) { .catalog-picker > summary { border: 1px solid var(--line); } }

.product-card > .product-photo { grid-row: 1; }
.product-card .meta { grid-row: 2; }
.product-card h3 { grid-row: 3; }
.product-card .card-bottom { grid-row: 4; }
.product-card .product-purchase { grid-row: 5; margin-top: auto; align-self: end; }
.product-card-no-category h3 { grid-row: 2; }
.product-card-no-category .card-bottom { grid-row: 3; }
.product-card-no-category .product-purchase { grid-row: 4; }

/* Purchase controls retain exactly one button row before and after selection. */
.product-purchase { min-height: var(--control-height); }
.product-purchase .add-button { height: var(--control-height); }
.purchase-selected { display: grid; grid-template-columns: clamp(96px, 38%, 120px) minmax(0, 1fr); gap: var(--space-xs); height: var(--control-height); }
.purchase-stepper { grid-template-columns: 36px minmax(0, 1fr) 36px; height: var(--control-height); min-width: 0; }
.purchase-stepper button { width: 36px; height: var(--control-height); font-size: 24px; }
.purchase-cart { min-width: 0; min-height: var(--control-height); height: var(--control-height); padding: 4px var(--space-xs); font-size: var(--small); line-height: 1.25; text-align: center; }
.purchase-cart:hover { background: color-mix(in srgb, var(--accent-soft), var(--accent) 8%); text-decoration: none; }
.product-card .meta { margin: var(--space-sm) 0 0; }
.product-card h3 { padding-top: var(--space-sm); padding-bottom: 12px; }
.product-card .meta + h3 { padding-top: 4px; }
.product-card .unit { margin-top: 2px; }
.product-card .card-bottom { padding-bottom: 16px; }
.product-gallery .detail-photo { aspect-ratio: 4 / 3; max-height: none; overflow: hidden; cursor: zoom-in; }
.product-gallery .detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-zoom-icon { position: absolute; bottom: 12px; right: 12px; width: 32px; height: 32px; padding: 6px; border-radius: var(--r-sm); background: var(--surface); color: var(--ink); fill: none; stroke: currentColor; stroke-width: 1.5; pointer-events: none; }
.product-gallery-thumbs { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.product-gallery-thumbs a { width: 64px; height: 48px; border: 2px solid transparent; border-radius: var(--r-md); overflow: hidden; }
.product-gallery-thumbs a[aria-current="true"] { border-color: var(--ink); }
.product-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.news-lightbox > img { touch-action: pan-y pinch-zoom; }
.detail-content .detail-terms { margin-block: var(--space-md) 0; font-size: var(--small); color: var(--ink-2); }
.cart-summary [data-open-request] { background: var(--accent); color: var(--surface); }
.cart-summary [data-open-request]:hover { background: var(--accent-hover); }
.purchase-toast { position: fixed; z-index: 80; right: var(--space-md); bottom: var(--space-md); display: grid; grid-template-columns: 64px minmax(0, 1fr) 24px; gap: var(--space-sm); width: min(440px, calc(100% - 32px)); padding: var(--space-sm); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 8px 24px rgb(24 24 27 / .12); }
.purchase-toast > img { width: 64px; height: 48px; object-fit: cover; border-radius: var(--r-sm); }
.purchase-toast > p { grid-column: 2; margin: 0; font-size: var(--small); overflow-wrap: anywhere; }
.toast-close { grid-column: 3; grid-row: 1; align-self: start; border: 0; background: transparent; font-size: 24px; line-height: 1; padding: 0; width: 24px; height: 24px; }
.toast-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--space-sm); }
.toast-actions .button { padding-inline: var(--space-sm); justify-content: center; }
.toast-actions .text-link { background: transparent; border: 0; padding: 0; min-height: var(--control-height); font-size: var(--small); }
.cart-clear-dialog { position: fixed; width: min(480px, calc(100% - 32px)); max-width: none; border: 0; border-radius: var(--r-lg); padding: var(--space-lg); color: var(--ink); background: var(--surface); }
.cart-clear-dialog h2 { font-size: 24px; margin-bottom: var(--space-sm); }
.cart-clear-dialog::backdrop { background: rgb(24 24 27 / .45); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }
.has-cart-clear-dialog { overflow: hidden; }
.mobile-purchase { display: none; }
@media (max-width: 600px) {
  .product-grid, .catalog-layout-browse .product-grid { grid-template-columns: minmax(0, 1fr); }
  .purchase-toast { inset: auto 0 0; width: 100%; max-width: none; border-radius: var(--r-md) var(--r-md) 0 0; padding-bottom: max(var(--space-sm), env(safe-area-inset-bottom)); }
  .toast-actions { gap: var(--space-xs); }
  .toast-actions .button { padding-inline: 12px; }
  .mobile-purchase { position: fixed; z-index: 45; inset: auto 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; gap: var(--space-sm); padding: 12px var(--gutter) max(12px, env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
  .mobile-purchase p { font-weight: 600; font-size: var(--lead); line-height: 1.25; }
  .mobile-purchase .unit { font-size: 12px; }
  .mobile-purchase .add-button { justify-content: center; }
  .has-mobile-purchase { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

.related-equipment { margin-top: var(--space-xl); }

/* Recovery routes and shared footer accessibility. */
.recovery-search { max-width: 760px; margin-block: var(--space-lg); border-color: var(--line); }
.recovery-categories { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-block: var(--space-md); }
.company-layout-no-photo { grid-template-columns: minmax(0, 1fr); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Keep contact channels in the left column, separate from the request form. */
.contact-messengers { flex-direction: column; align-items: flex-start; }

/* Home sections with an explicit Bitrix picture; remaining directions are links. */
.form-policy { margin-top: var(--space-sm); color: var(--ink-2); font-size: var(--small); }
.form-policy a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner { position: fixed; z-index: 70; inset: auto 0 0; padding-block: var(--space-sm); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 24px rgb(24 24 27 / .08); }
.cookie-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.cookie-banner-copy { min-width: 0; }
.cookie-banner h2 { margin: 0 0 var(--space-xs); font-size: var(--body); font-weight: 600; line-height: 1.4; letter-spacing: normal; }
.cookie-banner p { font-size: var(--small); color: var(--ink-2); line-height: 1.4; }
.cookie-banner a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xs); flex-shrink: 0; }
.cookie-actions .button { justify-content: center; }
.footer-cookie-settings { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; }
.footer-cookie-settings:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 900px) {
  .cookie-banner-inner { align-items: flex-start; flex-wrap: wrap; gap: var(--space-sm); }
}
@media (max-width: 600px) {
  .cookie-actions { width: 100%; }
  .cookie-actions .button { flex: 1; padding-inline: var(--space-sm); }
}

/* Catalog-first home and a persistent, data-driven section strip. */
.site-header { position: sticky; top: 0; z-index: 55; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; gap: var(--space-md); padding-top: var(--space-md); padding-bottom: var(--space-sm); min-height: 88px; }
.header-main > .brand { width: 264px; }
.header-main > .header-search { flex: 1; min-width: 0; }
.catalog-trigger-label { display: none; }
.header-main > .catalog-link { display: flex; align-items: center; gap: 8px; flex-shrink: 0; font-size: 14px; font-weight: 500; }

.header-main > .catalog-link::after { display: none; }
.catalog-strip a.nav-new { background: #f2f2f2; border-radius: 20px; padding: 8px 16px; }
.header-company-links { display: flex; align-items: center; gap: 28px; padding-left: var(--space-md); border-left: 1px solid var(--line); white-space: nowrap; font-size: 16px; font-weight: 500; color: var(--ink); }
.header-company-links a:hover { color: var(--accent); text-decoration: none; }
.header-company-links a[aria-current] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.header-contact { font-size: 18px; font-weight: 600; white-space: nowrap; }
.header-main > .basket-link { position: relative; justify-content: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
.basket-link svg { width: 32px; height: 32px; }
.site-header [data-cart-count] { position: absolute; right: -4px; top: -2px; min-width: 20px; height: 20px; padding-inline: 4px; background: var(--accent); color: var(--surface); border-radius: 999px; font-size: 12px; line-height: 20px; text-align: center; }
.header-socials, .messenger-links { display: flex; align-items: center; gap: var(--space-xs); }
.messenger-item { display: inline-flex; align-items: center; gap: var(--space-xs); border-radius: var(--r-sm); }
.messenger-item svg { display: block; width: 28px; height: 28px; flex-shrink: 0; }
.messenger-item { color: #191919; }
.messenger-item[aria-disabled="true"] { cursor: default; }
.messenger-links { flex-wrap: wrap; gap: var(--space-md); }
.messenger-links .messenger-item { min-height: var(--control-height); }
@media (hover: hover) { .messenger-telegram:hover { color: #279ad1; text-decoration: none; } .messenger-max:hover { color: #5b54ff; text-decoration: none; } }
/* Header search: the field and the submit action have separate outlines. */
.header-search { display: flex; align-items: start; gap: var(--space-sm); }
.header-search-field { display: flex; align-items: center; min-width: 0; flex: 1; height: 48px; border: 2px solid #191919; border-radius: 24px; background: var(--surface); padding-left: var(--space-sm); }
.header-search-icon { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 40px; padding: 0; border: 0; border-radius: 20px; background: transparent; color: var(--ink); }
.header-search-field input { min-width: 0; flex: 1; width: 100%; height: 44px; border: 0; background: transparent; padding: 0 var(--space-xs); font-size: 16px; }
.header-search-field input::placeholder { color: var(--ink-2); opacity: 1; }
.header-search-field input::-webkit-search-cancel-button, .header-search-field input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.header-search-field .search-clear { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 999px; background: transparent; }
.header-search .header-search-submit { display: grid; place-items: center; flex: 0 0 56px; width: 56px; height: 48px; padding: 0; border: 0; border-radius: 24px; font-size: 16px; font-weight: 700; background: var(--accent); color: var(--surface); }
.search-scope { flex: 0 0 164px; min-width: 0; padding-right: var(--space-sm); border-left: 1px solid var(--line); }
.search-scope-toggle { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); width: 100%; min-height: 32px; padding: 0 0 0 var(--space-sm); border: 0; border-radius: 0 24px 24px 0; background: transparent; text-align: left; font-size: 13px; line-height: 1.2; }
.search-scope-toggle span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-scope-toggle svg { flex: 0 0 16px; }
.search-scope select { width: 100%; border: 0; padding: 0 var(--space-xs); font-size: 13px; background: transparent; }
.search-scope-panel { position: fixed; z-index: 120; width: max-content; padding: 8px 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: 0 var(--space-xs) var(--space-lg) #20212426; outline: none; }
.search-scope-option { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; height: 40px; padding: 0 16px; border: 0; border-radius: 0; background: transparent; color: var(--ink); text-align: left; white-space: nowrap; font-size: 15px; }
.search-scope-option[aria-selected="true"] { font-weight: 700; color: var(--ink); }
.search-scope-check { visibility: hidden; }
.search-scope-option[aria-selected="true"] .search-scope-check { visibility: visible; }
.search-scope-option.is-highlighted { outline: 2px solid var(--ink); outline-offset: -2px; }
@media (hover: hover) { .search-scope-option:hover { background: #f2f2f2; } }
@media (min-width: 1024px) and (max-width: 1279px) {
  .header-main { flex-wrap: nowrap; }
  .header-main > .header-search { order: 0; flex: 1; }
}
@media (max-width: 767px) {
  .header-search-field { height: 44px; border-radius: 22px; padding-left: 0; }
  .header-search-icon { flex-basis: 40px; width: 40px; }
  .header-search-field input { height: 40px; padding-left: 0; font-size: 16px; }
  .header-search .header-search-submit, .search-scope { display: none; }
}
/* Reserve the section strip before the deferred bundle starts: row + padding + border. */
.js .site-header { --header-nav-height: calc(var(--control-height) + var(--space-sm) + 5px); margin-bottom: var(--header-nav-height); }
.js .site-header .header-main { position: relative; z-index: 1; background: var(--surface); }
.js .site-header .header-nav { position: absolute; top: 100%; left: 0; width: 100%; background: var(--surface); border-bottom: 1px solid var(--line); transform: translateY(0); transition: transform .2s, visibility 0s; }
.js .site-header.is-compact .header-nav { transform: translateY(-100%); visibility: hidden; pointer-events: none; transition: transform .2s, visibility 0s .2s; }
.site-header .navigation { display: flex; flex-wrap: nowrap; gap: var(--space-md); padding-block: var(--space-xs); }
@media (max-width: 1279px) and (min-width: 1024px) {
  .header-main { gap: var(--space-sm); }
  .header-main > .brand { width: 220px; }
  .header-contact { font-size: 16px; }
  .header-company-links { gap: var(--space-sm); padding-left: var(--space-sm); }
}
@media (max-width: 1023px) {
  .js .site-header { --header-nav-height: 61px; }
  .header-main, .site-header.is-compact .header-main { display: grid; grid-template-columns: minmax(0, 1fr) 44px 44px; gap: var(--space-xs); padding-block: var(--space-xs); min-height: 0; }
  .header-main > .brand { grid-column: 1; grid-row: 1; width: min(240px, 100%); }
  .header-main > .header-search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .header-main > .basket-link { grid-column: 2; grid-row: 1; }
  .js .site-header .menu-toggle { display: flex; grid-column: 3; grid-row: 1; width: 44px; height: 44px; }
  .header-contact, .header-socials, .header-company-links { display: none; }
  .site-header .navigation { gap: var(--space-sm); }
}
.has-site-menu { overflow: hidden; }
.mobile-site-menu { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(400px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; padding: var(--space-md); border: 0; background: var(--surface); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.mobile-site-menu[open] { animation: site-menu-enter .2s ease-out; }
.mobile-site-menu::backdrop { background: rgb(24 24 27 / .45); }
.mobile-menu-top { display: flex; justify-content: flex-end; margin-bottom: var(--space-sm); }
.mobile-menu-top .header-control { display: inline-flex; width: 44px; height: 44px; }
.mobile-menu-links { display: flex; flex-direction: column; }
.mobile-menu-links a { display: flex; align-items: center; min-height: 52px; font-size: 20px; font-weight: 600; border-radius: var(--r-sm); text-decoration: none; }
.mobile-menu-links a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.mobile-site-menu[data-pointer-focus] :focus-visible { outline: none; }
.mobile-menu-links a[aria-current] { color: var(--accent); text-decoration: none; }
@media (hover: hover) { .mobile-menu-links a:hover { color: var(--accent); text-decoration: none; } }
.mobile-menu-contacts { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--line); }
.mobile-menu-phone { font-size: 20px; font-weight: 600; }
.mobile-menu-contacts .social-links { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
@keyframes site-menu-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .mobile-site-menu[open] { animation: none; }
  .js .site-header .header-nav, .js .site-header.is-compact .header-nav { transition: none; }
}
.catalog-strip-wrap { position: relative; display: flex; min-width: 0; flex: 1; align-items: center; gap: 0; }
.catalog-strip { display: flex; min-width: 0; width: 100%; gap: var(--space-md); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; padding: 2px; }
.catalog-strip::-webkit-scrollbar { display: none; }
.catalog-strip a { flex: 0 0 auto; white-space: nowrap; border-bottom: 2px solid transparent; }
.catalog-strip a[aria-current] { border-bottom-color: var(--accent); }
.catalog-strip-arrow { position: absolute; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 999px; background: var(--surface-2); }
.catalog-strip-prev { left: 0; }
.catalog-strip-next { right: 0; }
.catalog-strip-wrap.has-previous { padding-left: 40px; }
.catalog-strip-wrap.has-next { padding-right: 40px; }
@media (max-width: 600px) {
  .catalog-strip { gap: var(--space-sm); }
  .catalog-strip-arrow { flex-basis: 32px; width: 32px; height: 32px; }
}

/* Compact catalogue on the homepage. */
.home-slider-section { padding-top: var(--space-md); }
.home-slider { position: relative; overflow: hidden; border-radius: 0; background: var(--surface-2); touch-action: pan-y pinch-zoom; }
.home-slider-track { display: grid; overflow: hidden; isolation: isolate; }
.home-slide { grid-area: 1 / 1; min-width: 0; background: var(--surface-2); position: relative; height: clamp(360px, calc(16.6667vw + 120px), 440px); color: var(--surface); }
.home-slide > picture, .home-slide > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-slide-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 60%); }
.home-slider-ready .home-slide { visibility: hidden; pointer-events: none; }
.home-slider-ready .home-slide.is-active, .home-slider-ready .home-slide.is-transitioning { visibility: visible; }
.home-slider-ready .home-slide.is-active { pointer-events: auto; }
.home-slide-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; height: 100%; max-width: 700px; padding: 32px 64px 72px; }
.home-slide-copy h2 { margin: 0 0 var(--space-sm); font-size: 40px; font-weight: 700; line-height: 1.15; }
.home-slide-copy p { max-width: 40ch; font-size: 18px; line-height: 1.4; margin: 0 0 var(--space-md); }
.home-slide-copy .button { justify-content: center; height: 48px; min-height: 48px; padding: 0 24px; border: 0; border-radius: 24px; background: #fff; color: var(--ink); font-size: 16px; font-weight: 700; }
.slider-actions { position: absolute; z-index: 2; bottom: 20px; right: 24px; display: flex; gap: 8px; }
.slider-arrow { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; background: #fff; color: var(--ink); border: 0; border-radius: 999px; }
.slider-arrow svg { width: 24px; height: 24px; }
.slider-pause .slider-play-icon, .slider-pause[aria-pressed="true"] .slider-pause-icon { display: none; }
.slider-pause[aria-pressed="true"] .slider-play-icon { display: block; }
.slider-pause:disabled { opacity: .6; cursor: default; }
.slider-bottom { position: absolute; z-index: 2; bottom: 20px; inset-inline: 176px; display: flex; justify-content: center; align-items: center; pointer-events: none; }
.slider-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; pointer-events: auto; }
.slider-dots button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; border-radius: 999px; }
.slider-dots button::after { content: ''; width: 8px; height: 8px; border: 1px solid #fff; background: transparent; border-radius: 999px; }
.slider-dots button[aria-current="true"]::after { background: #fff; }
.home-slider button:focus-visible, .home-slide-copy a:focus-visible { outline-color: var(--surface); }
@media (max-width: 767px) {
  .home-slider-section { padding-top: var(--space-xs); }
  .home-slide { height: 320px; min-height: 320px; }
  .home-slide-photo .home-slide-copy { min-height: 100%; }
  .home-slide-copy { min-height: 0; padding: 20px 20px 64px; justify-content: flex-end; }
  .home-slide-photo::after { background: linear-gradient(to top, rgba(0,0,0,.65), transparent 70%); }
  .home-slide-copy h2 { font-size: 28px; margin-bottom: 12px; }
  .home-slide-copy p { margin-bottom: 16px; }
  .slider-actions { bottom: 12px; right: 20px; }
  .slider-actions .slider-prev, .slider-actions .slider-next { display: none; }
  .slider-bottom { bottom: 20px; inset-inline: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-section-tile, .catalog-expand svg, .catalog-children { transition: none; }
}
.home-page .home-catalog-sections { padding-top: var(--space-lg); }
.home-section-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-sm); }
.home-section-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; padding: 0; background: transparent; border: 0; }
.home-tile-visual { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 16px; background: #f7f7f7; }
.home-tile-visual > .section-icon { display: block; width: 55%; height: 55%; mix-blend-mode: multiply; }
.home-tile-visual img { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-tile-label { min-width: 0; font-size: 15px; font-weight: 500; line-height: 1.35; overflow-wrap: normal; }
.home-tile-icon { flex: 0 0 64px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r-md); background: var(--surface-2); }
.home-tile-arrow { font-size: var(--body); }
@media (hover: hover) { .home-section-tile:hover { text-decoration: none; }
.home-section-tile:hover .home-tile-label { text-decoration: underline; } }
@media (max-width: 1279px) { .home-section-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .home-section-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Catalogue dropdown and unobscured section scrolling. */
.catalog-icon-close, .catalog-link[aria-expanded="true"] .catalog-icon-grid { display: none; }
.catalog-link[aria-expanded="true"] .catalog-icon-close { display: block; }
.catalog-link .catalog-icon-grid { display: block; }
.catalog-strip-viewport { position: relative; min-width: 0; flex: 1; }
.catalog-strip-viewport::before, .catalog-strip-viewport::after { content: ''; position: absolute; z-index: 1; inset-block: 0; width: 48px; pointer-events: none; opacity: 0; }
.catalog-strip-viewport::before { left: 0; background: linear-gradient(90deg, var(--surface), transparent); }
.catalog-strip-viewport::after { right: 0; background: linear-gradient(270deg, var(--surface), transparent); }
.has-previous .catalog-strip-viewport::before, .has-next .catalog-strip-viewport::after { opacity: 1; }
.catalog-strip { scroll-padding-inline: 48px; }
.has-catalog-menu { overflow: hidden; }
.catalog-overlay { position: fixed; inset: 0; z-index: 85; pointer-events: none; }
.catalog-scrim { position: absolute; inset: var(--catalog-top, 0px) 0 0; background: rgb(0 0 0 / .3); pointer-events: auto; }
.catalog-dropdown { position: fixed; overflow-y: auto; overscroll-behavior: contain; padding: var(--space-md); background: var(--surface); border: 0; border-radius: var(--r-lg); box-shadow: 0 12px 32px rgb(24 24 27 / .16); pointer-events: auto; }
.catalog-dropdown-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: var(--space-xs) var(--space-md); }
.catalog-menu-column { display: flex; flex-direction: column; gap: var(--space-xs); min-width: 0; }
.catalog-dropdown a { display: flex; align-items: center; min-height: 44px; padding: var(--space-xs); line-height: 1.5; font-size: 16px; font-weight: 500; border-radius: var(--r-sm); text-decoration: none; }
.catalog-dropdown a[aria-current] { color: var(--accent); text-decoration: none; }
.catalog-menu-heading { display: flex; align-items: center; border-radius: var(--r-sm); }
@media (hover: hover) {
  .catalog-dropdown a:hover { color: var(--accent); text-decoration: none; }
  .catalog-menu-heading:hover { background: var(--surface-2); }
  .catalog-dropdown .category-tree a:hover { background: var(--surface-2); }
}
.catalog-menu-heading > a { flex: 1; gap: 12px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.catalog-menu-heading .section-icon, .catalog-menu-heading img { flex: 0 0 24px; width: 24px; height: 24px; object-fit: contain; }
.catalog-expand { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: transparent; }
.catalog-expand svg { transition: transform .2s; }
.catalog-expand[aria-expanded="true"] svg { transform: rotate(180deg); }
.catalog-children { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .2s, visibility 0s .2s; }
.catalog-children > div { min-height: 0; overflow: hidden; }
.catalog-children.is-expanded { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .2s; }
.catalog-panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-sm); }
.catalog-panel-top > a { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.catalog-all { gap: var(--space-xs); margin-top: var(--space-sm); border-top: 1px solid var(--line); }
.catalog-dropdown[data-pointer-focus] :focus-visible { outline: none; }
.catalog-results-full { padding-bottom: var(--space-section); }
.catalog-results-full .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.catalog-subsections { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-lg); }
.catalog-subsections a { border-radius: 999px; background: var(--surface); }
.catalog-subsections a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.contact-email { display: block; margin-top: var(--space-sm); text-decoration: underline; text-underline-offset: 3px; }
.contact-messengers { flex-direction: row; flex-wrap: wrap; }
.contact-hours { margin-top: var(--space-md); }
.contact-hours > span { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: var(--space-xs); }
.request-dialog, .news-lightbox { border-radius: var(--r-lg); }
.about-task img, .news-main-photo, .news-preview img, .news-gallery img { border-radius: var(--r-md); }
@media (max-width: 900px) {
  .catalog-dropdown-links { gap: var(--space-sm); }
  .catalog-results-full .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .catalog-dropdown { padding: var(--space-sm); }
  .catalog-results-full .product-grid { grid-template-columns: minmax(0, 1fr); }
}
.company-team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.company-team-member { min-width: 0; }
.company-team-member img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-md); margin-bottom: var(--space-sm); }
.company-team-member h3 { font-size: var(--lead); margin: 0 0 var(--space-xs); }
.company-team-member p { color: var(--ink-2); }
@media (max-width: 900px) { .company-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.about-page { padding-bottom: var(--space-section); }
.about-blocks { display: grid; gap: var(--space-section); margin-top: var(--space-lg); }
.about-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; gap: var(--space-xl); }
.about-intro-no-photo { grid-template-columns: 1fr; }
.about-intro-copy { min-width: 0; }
.about-intro-copy h1 { margin: 0 0 var(--space-lg); font-size: var(--heading-lg); }
.about-intro-copy p { max-width: 60ch; margin: 0; font-size: var(--lead); }
.about-intro-copy p + p { margin-top: var(--space-md); }
.about-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 12px; }
.about-mosaic-cell { position: relative; min-width: 0; min-height: 0; overflow: hidden; border-radius: var(--r-md); }
.about-mosaic img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.about-intro-copy .about-order-note { margin: var(--space-md) 0 0; color: var(--ink-2); font-size: 15px; }
.about-contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-xl); padding: var(--space-xl); background: var(--brand-dark); color: var(--surface); border-radius: var(--r-lg); }
.about-contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-xs); min-width: 0; }
.about-contact h2 { margin: 0 0 var(--space-sm); font-size: 28px; }
.about-phone { font-size: 24px; line-height: 1.2; font-weight: 600; white-space: nowrap; }
.about-email { font-size: var(--body); overflow-wrap: anywhere; }
.about-actions { display: flex; align-items: center; gap: var(--space-sm); }
.about-actions .button { min-height: var(--control-height); height: var(--control-height); white-space: nowrap; }
.about-catalog-button { background: var(--surface); color: var(--brand-dark); border-color: var(--surface); }
.about-catalog-button:hover { background: var(--surface); color: var(--brand-dark); text-decoration: underline; text-underline-offset: 4px; }
.about-contact :focus-visible { outline-color: var(--surface); }
@media (max-width: 1100px) {
  .about-contact { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
}
@media (max-width: 900px) {
  .about-intro { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .about-mosaic { grid-auto-rows: 204px; }
}
@media (max-width: 767px) {
  .about-intro-copy h1 { margin-bottom: var(--space-md); }
  .about-mosaic { min-height: 0; grid-auto-rows: 140px; }
  .about-contact { padding: 28px; }
  .about-actions { align-items: stretch; flex-direction: column; }
  .about-actions .button { width: 100%; }
}

.purchase-cart-compact { display: none; }
.purchase-cart > span { font-size: inherit; }

/* Mobile catalogue: two compact cards and direct access to phone and basket. */
@media (max-width: 767px) {
  :root { --gutter: var(--space-sm); --heading-lg: 28px; --heading-md: 26px; --space-section: 48px; }
  h1, h2 { line-height: 1.15; letter-spacing: -.02em; }
  .section { padding-block: calc(var(--space-section) / 2); }
  .about-page { padding-bottom: var(--space-xl); }
  .about-blocks { gap: var(--space-xl); }

  .site-header .navigation .catalog-link { height: 44px; min-height: 44px; padding: 0; }
  .catalog-icon-lines { display: none; }
  .catalog-icon-grid { display: block; }
  .catalog-link[aria-expanded="true"] .catalog-icon-grid { display: none; }
  .catalog-strip-arrow { display: none; }
  .catalog-strip-wrap.has-previous, .catalog-strip-wrap.has-next { padding-inline: 0; }
  .catalog-strip-viewport::before, .catalog-strip-viewport::after { width: 24px; }
  .catalog-strip { scroll-padding-inline: 24px; }
  .catalog-dropdown { padding: var(--space-sm); height: 100dvh; border-radius: 0; }
  .catalog-dropdown-links { grid-template-columns: minmax(0, 1fr); }
  .catalog-panel-top { position: sticky; top: -16px; z-index: 1; background: var(--surface); padding-block: var(--space-xs); }

  .product-grid, .catalog-results .product-grid, .catalog-layout-browse .product-grid, .catalog-layout-directory .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .news-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .news-products > h2 { grid-column: 1 / -1; font-size: var(--heading-md); letter-spacing: -.02em; }
  .product-card .product-photo { aspect-ratio: 4 / 3; border-radius: var(--r-md); }
  .product-card { display: flex; flex-direction: column; grid-row: auto; }
  .product-card > .product-photo { flex-shrink: 0; }
  .product-card h3 { font-size: 15px; line-height: 1.3; letter-spacing: normal; padding: 12px 0 8px; }
  .product-card h3 a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .product-card .price { font-size: 17px; font-weight: 600; }
  .product-card .unit { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .product-card .card-bottom { min-width: 0; padding-bottom: 12px; }
  /* Reserve the second line before adding, so neighbouring cards never jump. */
  .product-card .product-purchase { min-height: 68px; margin-top: auto; align-self: stretch; }
  .product-card .add-button { min-height: 40px; height: 40px; padding: 0 8px; font-size: 14px; }
  .product-card .purchase-selected { grid-template-columns: minmax(0, 1fr); grid-template-rows: 40px 24px; gap: 4px; height: 68px; }
  .product-card .purchase-stepper { grid-template-columns: 40px minmax(0, 1fr) 40px; height: 40px; min-height: 40px; }
  .product-card .purchase-stepper button { width: 40px; height: 40px; }
  .product-card .purchase-cart { min-height: 24px; height: 24px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--accent); font-size: 13px; line-height: 1.4; }
  .product-card .purchase-cart:hover { background: transparent; color: var(--accent-hover); text-decoration: underline; }
  .product-card .purchase-cart-full { display: none; }
  .product-card .purchase-cart-compact { display: inline; }

  .home-section-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .home-section-tile { gap: 10px; }
  .home-tile-label { width: 100%; font-size: 14px; font-weight: 500; letter-spacing: -.01em; text-align: left; }
  .catalog-page .page-heading { padding-top: 16px; padding-bottom: 20px; }
  .catalog-page .page-heading:has(+ .catalog-subsections) { padding-bottom: 16px; }
  .catalog-subsections { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; gap: 8px; padding-block: 4px; }
  .catalog-subsections::-webkit-scrollbar { display: none; }
  .catalog-subsections a { flex: 0 0 auto; height: 36px; min-height: 36px; padding: 0 14px; font-size: 14px; white-space: nowrap; }

  .contact-layout { grid-template-areas: "primary" "info" "form"; gap: 0; }
  .phone-contact { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
  .phone-contact .contact-phone { order: 0; font-size: 32px; }
  .phone-contact .contact-messengers { order: 1; margin: 0; }
  .phone-contact .contact-email { order: 2; margin: 0; }
  .phone-contact .contact-hours, .phone-contact .contact-response { display: none; }
  .contact-info { display: block; margin-block: var(--space-sm) var(--space-md); }
  .contact-info > div:not(:first-child) { display: none; }
  .contact-info dt, .contact-info dd { display: inline; font-size: var(--body); margin: 0; color: var(--ink); }
  .contact-info dt::after { content: ': '; }
  .contact-feedback { padding: var(--space-sm); }
  .contact-feedback .form-grid { grid-template-columns: minmax(0, 1fr); }
  .information-page:has(.contact-layout) > .content-links { display: none; }
  .footer-brand > p { display: none; }

  .cookie-banner { padding-block: 16px; }
  .cookie-banner p { font-size: 14px; }
  .cookie-banner-inner { gap: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .button { flex: 1; min-height: 44px; height: 44px; padding: 0 16px; font-size: 14px; background: var(--surface); color: var(--ink); border: 1px solid var(--ink); }
  .cookie-actions .button:hover { background: var(--surface-2); color: var(--ink); border-color: var(--ink); }
}

/* A quiet, branded recovery screen; shared navigation stays on content pages. */
.error-page { min-height: 100svh; display: flex; flex-direction: column; }
.error-header { padding-block: var(--space-lg); }
.error-header .container { display: flex; justify-content: center; }
.error-header .brand { width: min(100%, calc(var(--space-xl) * 7)); }
.error-page > main { flex: 1; display: flex; align-items: center; }
.not-found-page { padding-block: var(--space-xl); text-align: center; }
.not-found-code { font-size: calc(var(--space-xl) * 4); line-height: 1; font-weight: 600; letter-spacing: -.04em; color: var(--ink); margin-bottom: var(--space-md); }
.not-found-page h1 { margin-bottom: var(--space-sm); }
.not-found-description { color: var(--ink-2); font-size: var(--lead); text-wrap: balance; }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); margin-top: var(--space-lg); }
.not-found-actions .button { min-width: calc(var(--space-xl) * 3); justify-content: center; }
.not-found-search { width: min(100%, calc(var(--space-xl) * 10)); margin: var(--space-lg) auto 0; background: var(--surface-2); border-color: var(--line); }
.not-found-search input { padding-inline: var(--space-sm); }
.not-found-search button { flex-basis: var(--control-height); border-radius: var(--r-sm); }
.not-found-search button:hover { background: var(--line); }
@media (max-width: 767px) {
  .error-header { padding-block: var(--space-md); }
  .error-header .brand { width: min(100%, calc(var(--space-xl) * 6)); }
  .not-found-page { padding-block: var(--space-lg); }
  .not-found-code { font-size: calc(var(--space-xl) * 3); }
  .not-found-description { font-size: var(--body); }
  .not-found-actions { gap: var(--space-xs); margin-top: var(--space-md); }
  .not-found-search { margin-top: var(--space-md); }
}

/* Enquiries for directions awaiting their first equipment cards. */
/* Empty categories, collections and news share one editable state. */
.catalog-empty { padding: var(--space-lg); border-radius: var(--r-lg); background: var(--surface-2); }
.catalog-empty h2 { margin: 0; font-size: 22px; }
.catalog-empty p { margin-top: var(--space-sm); font-size: var(--body); color: var(--ink-2); max-width: 60ch; }
.catalog-empty-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }
.category-popular .home-catalog-action { margin-top: var(--space-md); }
.category-popular { margin-top: var(--space-xl); margin-bottom: var(--space-section); }
.catalog-results:has(.catalog-empty) { padding-bottom: 0; }
.catalog-menu-group { break-inside: avoid; margin-bottom: var(--space-sm); }
.catalog-dropdown .category-tree { list-style: none; margin: 0; padding-left: var(--space-sm); }
.catalog-dropdown .category-tree a { font-weight: 400; }
.contact-location { margin-top: var(--space-xl); }
.contact-location h2 { font-size: var(--lead); margin-bottom: var(--space-xs); }
.contact-location .button { margin-top: var(--space-sm); }
.contact-map { display: block; width: 100%; height: calc(var(--space-xl) * 8); margin-top: var(--space-sm); border: 0; border-radius: var(--r-md); }
@media (max-width: 767px) {
    .catalog-empty-actions { flex-direction: column; }
    .catalog-empty-actions .button { width: 100%; justify-content: center; }
}

.contacts-page { padding-bottom: calc(var(--space-xl) * 2); }
.contacts-page .page-heading { padding-block: var(--space-lg); }
.contacts-page h1 { font-size: var(--heading-lg); }
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-sm); }
.contact-card { min-width: 0; padding: var(--space-md); border-radius: var(--r-md); background: var(--surface-2); }
.contact-card-label { margin: 0 0 var(--space-xs); font-size: 13px; font-weight: 400; line-height: 1.4; letter-spacing: normal; color: var(--ink-2); }
.contact-label-mobile, .contact-email-mobile { display: none; }
.contact-card-value { display: block; font-size: var(--lead); font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.contact-card-phone > .contact-card-value { font-size: 24px; font-weight: 600; }
.contact-card-note { margin-top: var(--space-xs); font-size: var(--small); color: var(--ink-2); }
.contact-card .contact-messengers { margin-top: var(--space-sm); gap: var(--space-xs); }
.contact-card-legal > p { font-size: 15px; font-weight: 400; overflow-wrap: anywhere; }
.contact-card-legal > p + p { margin-top: 4px; }
.contact-panel > .question-panel { margin-top: var(--space-xl); }
.question-panel { min-width: 0; padding: 40px; border-radius: var(--r-lg); background: var(--surface-2); container-type: inline-size; }
.question-panel > .question-heading { margin: 0; font-size: 22px; line-height: 1.3; letter-spacing: -.02em; }
.question-intro { margin-top: var(--space-xs); max-width: 90ch; font-size: 15px; color: var(--ink-2); }
.question-panel .request-form { max-width: none; margin-top: var(--space-md); }
.question-panel .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.question-panel .field input, .question-panel .field textarea { background: var(--surface); }
.question-panel .field textarea { height: 120px; min-height: 120px; }
.question-panel .feedback-footer { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-md); align-items: center; }
.question-panel .feedback-footer > .button { justify-self: end; width: auto; }
.question-panel .form-message { margin: var(--space-md) 0 0; }
.question-panel .form-message[data-state="error"] { padding: 0; font-weight: 400; }
.question-panel .form-message[data-state="success"] { font-size: var(--lead); }
@container (max-width: 639px) {
  .category-enquiry-card .feedback-footer { grid-template-columns: minmax(0, 1fr); }
  .category-enquiry-card .feedback-footer > .button { width: 100%; }
}
@container (max-width: 420px) {
  .question-panel .form-grid, .question-panel .feedback-footer { grid-template-columns: minmax(0, 1fr); }
  .question-panel .feedback-footer > .button { width: 100%; }
}
@media (max-width: 1100px) {
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .contacts-page { padding-bottom: var(--space-section); }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .contact-cards { gap: 12px; }
  .contact-card { padding: var(--space-sm); }
  .contact-card-label { margin-bottom: 6px; }
  .contact-label-desktop, .contact-card-email-separate { display: none; }
  .contact-label-mobile { display: inline; }
  .contact-card-phone > .contact-card-value { font-size: 20px; font-weight: 600; }
  .contact-email-mobile { display: block; margin-top: 6px; font-size: 16px; font-weight: 400; overflow-wrap: anywhere; }
  .question-panel { padding: var(--space-md); }
  .question-panel > .question-heading { font-size: var(--heading-md); line-height: 1.15; }
  .question-panel .form-grid, .question-panel .feedback-footer { grid-template-columns: minmax(0, 1fr); }
  .question-panel .feedback-footer > .button { width: 100%; }
}

/* One focus ring per field; composite inputs draw it on their outer frame. */
input:where(:not([type="checkbox"], [type="radio"])):focus,
input:where(:not([type="checkbox"], [type="radio"])):focus-visible,
textarea:focus, textarea:focus-visible, select:focus, select:focus-visible {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(24,24,27,.12);
}
input:where(:not([type="checkbox"], [type="radio"])).is-invalid, textarea.is-invalid, select.is-invalid {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217,58,30,.15);
}
.search, .phone-mask-field { border: 1px solid var(--line); border-radius: var(--r-sm); }
.search:focus-within, .header-search-field:focus-within, .phone-mask-field:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(24,24,27,.12);
}
.phone-mask-field:has(input.is-invalid) { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217,58,30,.15); }
.search input:focus, .search input:focus-visible,
.header-search-field input:focus, .header-search-field input:focus-visible,
.phone-mask-field input:focus, .phone-mask-field input:focus-visible, .phone-mask-field input.is-invalid {
  outline: none; box-shadow: none; border: 0;
}


/* Cart mobile rows keep the amount beside the quantity, below the product name. */
@media (min-width: 901px) and (max-width: 1199px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .cart-summary { position: static; }
}
@media (max-width: 767px) {
  .cart-row { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; }
  .cart-row img, .cart-photo-placeholder { width: 72px; height: 54px; grid-column: 1; grid-row: 1; }
  .cart-product-info { grid-column: 2; grid-row: 1; }
  .cart-row .quantity { width: 120px; grid-template-columns: repeat(3, 40px); grid-column: 2; grid-row: 2; justify-self: start; align-self: center; }
  .cart-price { grid-column: 2; grid-row: 2; align-self: center; justify-self: end; max-width: calc(100% - 128px); white-space: normal; overflow-wrap: anywhere; }
  .cart-summary { padding: 28px; }
  .cart-mobile-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); position: fixed; z-index: 45; inset: auto 0 0; min-height: 64px; padding: 8px var(--gutter); padding-bottom: max(8px, env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
  .cart-mobile-bar p { min-width: 0; font-size: 17px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
  .cart-mobile-bar .cart-mobile-estimate { font-size: 13px; font-weight: 400; }
  .cart-mobile-bar .button { flex-shrink: 0; padding-inline: var(--space-sm); font-size: var(--small); }
  .has-cart-mobile-bar { padding-bottom: 64px; }
  .has-request-dialog .cart-mobile-bar { visibility: hidden; }
  .request-dialog { width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .request-dialog-content { height: 100%; }
  .request-dialog-body { flex: 1; padding-bottom: var(--space-sm); }
  .request-dialog .form-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
  .request-form[data-request-form="cart"] .request-footer { display: contents; }
  .request-form[data-request-form="cart"] button[type="submit"] { position: sticky; bottom: 0; z-index: 1; margin-bottom: var(--space-sm); box-shadow: 0 8px 0 8px var(--surface); }
  .request-form[data-request-form="cart"] .form-policy { margin-top: 0; padding-bottom: env(safe-area-inset-bottom); }
}

/* Customer-uploaded logos keep their own proportions; the original remains the fallback. */
.brand picture { display: block; }
.brand img { display: block; width: 100%; height: auto; max-height: 54px; object-fit: contain; object-position: left center; }
.product-extra-block p + p { margin-top: var(--space-sm); }
.product-extra-photo { display: block; width: 100%; height: auto; border-radius: 12px; margin-top: var(--space-sm); }
.product-extra-property { padding: 10px 0; border-bottom: 1px solid var(--line); }
.product-extra-property p { margin-top: var(--space-xs); }
@media (min-width: 901px) {
  .product-layout-right .product-gallery { grid-column: 2; grid-row: 1; }
  .product-layout-right .detail-content { grid-column: 1; grid-row: 1; }
  .product-layout-top { grid-template-columns: minmax(0, 1fr); }
  .product-layout-top .product-gallery { max-width: 900px; width: 100%; }
  .product-layout-top .detail-content { max-width: 66ch; }
}
@media (max-width: 1023px) {
  .js .site-header .brand img { height: 28px; }
}

@media (max-width: 767px) {
  .site-header .brand img { height: 28px; }
  .site-footer .brand { width: 100%; }
  .site-footer .brand img { height: 32px; }
}

/* Homepage deals; catalogue cards retain their purchase controls. */
.home-deals { position: relative; }
.home-deals-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 100px) / 5.35); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.home-deals-track::-webkit-scrollbar { display: none; }
.home-deal-card.product-card { display: flex; flex-direction: column; position: relative; min-width: 0; gap: 0; scroll-snap-align: start; }
.home-deal-card.product-card .product-photo { width: 100%; aspect-ratio: 1; background: #f7f7f7; border-radius: 16px; flex-shrink: 0; }
.home-deal-card .card-body { display: block; padding-top: 12px; }
.home-deal-card.product-card h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 0; padding: 0; margin: 0 0 4px; font-size: 16px; line-height: 1.35; font-weight: 500; }
.home-deal-card .card-section-link { display: block; padding: 0; margin: 0 0 4px; font-size: 14px; line-height: 1.4; }
.home-deal-card.product-card .card-bottom { padding: 0; margin: 0; }
.home-deal-card.product-card .price { margin: 0; font-size: 20px; font-weight: 700; }
.home-deal-card.product-card .unit { margin-top: 2px; font-size: 14px; color: var(--ink-2); }
.home-quick-add { position: absolute; z-index: 3; top: 10px; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 1px 5px rgb(0 0 0 / .12); }
.home-quick-add svg { width: 22px; height: 22px; }
.home-quick-add .quick-check, .home-quick-add.is-in-cart .quick-basket { display: none; }
.home-quick-add.is-in-cart .quick-check { display: block; }
.home-quick-add:disabled { opacity: .5; }
.deals-arrow { position: absolute; z-index: 4; top: calc(var(--deal-photo-size) / 2 - 20px); display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgb(0 0 0 / .18); font-size: 28px; line-height: 1; }
.deals-prev { left: -20px; }.deals-next { right: -20px; }
.deals-arrow:disabled { visibility: hidden; pointer-events: none; }
.catalog-dropdown { display: flex; flex-direction: column; overflow: hidden; }
.catalog-panel-top { flex-shrink: 0; }
.catalog-dropdown-links { overflow-y: auto; min-height: 0; overscroll-behavior: contain; }
.catalog-dropdown .catalog-all { flex-shrink: 0; background: var(--surface); }
.catalog-children > div > .category-tree { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8px; }
@media (max-width: 1023px) and (min-width: 768px) { .home-deals-track { grid-auto-columns: calc((100% - 60px) / 3.35); } }
@media (max-width: 767px) {
  .home-deals-track { grid-auto-columns: 44%; gap: 12px; }
  .home-deal-card .card-section-link { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .home-deal-card.product-card h3 { min-height: 2.7em; }
  .deals-arrow { display: none; }
}

/* Header icon actions, with the same catalogue trigger moved in compact mode. */
.site-header [data-open-catalog] { display: grid; place-items: center; width: 44px; height: 44px; min-width: 44px; padding: 0; }
@media (min-width: 768px) { .header-search-icon { display: none; } }
@media (max-width: 1023px) {
  .site-header.is-compact .header-main > [data-open-catalog] { grid-column: 1; grid-row: 2; justify-self: start; }
  .site-header.is-compact .header-main > .header-search { width: calc(100% - 52px); margin-left: 52px; }
}
