/* Shop-style public catalogue. Every override stays inside this page. */
.catalog-shop {
  --catalog-line: #e5e5e5;
  --catalog-muted: #70756d;
  color: #252824;
  background: #fff;
}
.catalog-shop .catalog-shop__wrap { width: 100%; max-width: 1400px; margin-inline: auto; padding: 24px clamp(30px, 3vw, 40px) 64px; }
.catalog-shop .catalog-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 19px; color: #70756d; font-size: 12px; line-height: 1.5; }
.catalog-shop .catalog-breadcrumbs a { color: #70756d; }
.catalog-shop .catalog-breadcrumbs [aria-current] { color: #252824; }
.catalog-shop .catalog-breadcrumbs > svg { flex: none; }
.catalog-shop .catalog-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.catalog-shop .catalog-heading > div { min-width: 0; }
.catalog-shop .catalog-heading h1 { margin: 0; font-size: clamp(25px, 2.5vw, 32px); font-weight: 650; line-height: 1.25; letter-spacing: -.035em; text-wrap: initial; }
.catalog-shop .catalog-heading p { margin-top: 9px; color: var(--catalog-muted); font-size: 14px; line-height: 1.6; }
.catalog-shop .catalog-heading__help { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 10px 15px; color: #252824; border: 1px solid #c8c8c8; border-radius: 5px; font-size: 13px; font-weight: 550; white-space: nowrap; }
.catalog-shop .catalog-heading__help:hover { border-color: #252824; background: #f7f7f7; text-decoration: none; }

.catalog-shop .catalog-roof-tabs { display: flex; align-items: stretch; gap: 30px; margin-bottom: 28px; border-bottom: 1px solid var(--catalog-line); }
.catalog-shop .catalog-roof-tab { position: relative; display: flex; flex: none; align-items: center; gap: 9px; min-height: 47px; padding: 0 0 15px; color: #70756d; font-size: 14px; font-weight: 500; white-space: nowrap; }
.catalog-shop .catalog-roof-tab > span { color: #70756d; font-size: 12px; font-weight: 400; }
.catalog-shop .catalog-roof-tab::after { content: ''; position: absolute; inset: auto 0 -1px; height: 2px; background: transparent; }
.catalog-shop .catalog-roof-tab:hover { color: #252824; text-decoration: none; }
.catalog-shop .catalog-roof-tab.is-active { color: #252824; font-weight: 600; }
.catalog-shop .catalog-roof-tab.is-active::after { background: var(--accent-600); }

.catalog-shop .catalog-shop__layout { display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: 30px; align-items: start; }
.catalog-shop .catalog-shop__main { min-width: 0; }
.catalog-shop .catalog-sidebar { position: sticky; top: calc(var(--site-header-height) + 24px); min-width: 0; max-height: calc(100vh - var(--site-header-height) - 48px); overflow-y: auto; scrollbar-width: thin; }
.catalog-shop .catalog-filters > summary { display: none; }
.catalog-shop .catalog-sidebar__body { padding-right: 16px; }
.catalog-shop .catalog-sidebar__heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 17px; }
.catalog-shop .catalog-sidebar h2 { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: -.015em; line-height: 1.4; }
.catalog-shop .catalog-sidebar__heading > a { color: #70756d; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.catalog-shop .catalog-filter-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 34px; padding: 7px 0; color: #70756d; font-size: 14px; line-height: 1.5; }
.catalog-shop .catalog-filter-link > span:last-child:not(:first-child) { flex: none; color: #70756d; font-size: 12px; }
.catalog-shop .catalog-filter-link:hover { color: #252824; text-decoration: none; }
.catalog-shop .catalog-filter-link.is-active { color: #252824; font-weight: 550; }
.catalog-shop .catalog-filter-link--all { padding-bottom: 15px; border-bottom: 1px solid var(--catalog-line); }
.catalog-shop .catalog-category { border-bottom: 1px solid var(--catalog-line); }
.catalog-shop .catalog-category > summary { display: flex; align-items: center; gap: 9px; min-height: 47px; color: #252824; font-size: 14px; font-weight: 550; list-style: none; cursor: pointer; }
.catalog-shop summary::-webkit-details-marker { display: none; }
.catalog-shop .catalog-category > summary > span:first-child { flex: 1; }
.catalog-shop .catalog-category__count { color: #70756d; font-size: 12px; font-weight: 400; }
.catalog-shop .catalog-category > summary > svg { flex: none; color: #70756d; transition: transform .16s ease; }
.catalog-shop .catalog-category[open] > summary > svg { transform: rotate(180deg); }
.catalog-shop .catalog-category__links { padding: 0 0 14px; }
.catalog-shop .catalog-category__links .catalog-filter-link:not(.catalog-filter-link--roof) { display: grid; grid-template-columns: 14px minmax(0, 1fr) 18px; gap: 8px; align-items: start; padding-block: 8px; }
.catalog-shop .catalog-filter-link--roof { min-height: 30px; padding: 0 0 6px 22px; font-size: 13px; }
.catalog-shop .catalog-filter-link__mark { display: grid; place-items: center; width: 13px; height: 13px; margin-top: 3px; border: 1px solid #c8c8c8; border-radius: 2px; }
.catalog-shop .catalog-filter-link.is-active .catalog-filter-link__mark { color: #fff; background: #252824; border-color: #252824; }
.catalog-shop .catalog-filter-link__count { text-align: right; }
.catalog-shop .catalog-sidebar__other { margin-top: 21px; }
.catalog-shop .catalog-sidebar__other h2 { margin-bottom: 10px; }
.catalog-shop .catalog-sidebar__service { display: flex; align-items: start; gap: 10px; margin-top: 27px; padding: 17px 0; border-top: 1px solid var(--catalog-line); color: #70756d; }
.catalog-shop .catalog-sidebar__service > svg { flex: none; margin-top: 2px; color: #70756d; }
.catalog-shop .catalog-sidebar__service strong { display: block; color: #252824; font-size: 12px; font-weight: 550; }
.catalog-shop .catalog-sidebar__service p { margin-top: 5px; font-size: 12px; line-height: 1.6; }

.catalog-shop .catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 21px; padding: 0; border: 0; }
.catalog-shop .catalog-toolbar > p { color: #70756d; font-size: 14px; }
.catalog-shop .catalog-toolbar > p strong { color: #252824; font-weight: 600; }
.catalog-shop .catalog-sort { display: flex; align-items: center; gap: 9px; }
.catalog-shop .catalog-sort label { color: #70756d; font-size: 13px; }
.catalog-shop .catalog-sort select { min-height: 36px; min-width: 170px; padding: 6px 29px 6px 10px; color: #252824; background-color: #fff; border: 1px solid #e5e5e5; border-radius: 4px; font-size: 13px; cursor: pointer; }
.catalog-shop .catalog-sort__submit { min-height: 34px; padding: 6px 10px; color: #fff; background: #252824; border-radius: 4px; font-size: 13px; }
html.js .catalog-shop .catalog-sort__submit { display: none; }
.catalog-shop .catalog-selected { display: flex; flex-wrap: wrap; gap: 8px; margin: -3px 0 18px; }
.catalog-shop .catalog-selected > a { display: inline-flex; align-items: center; gap: 10px; padding: 5px 9px; color: #252824; background: #f7f7f7; border: 1px solid #e5e5e5; border-radius: 4px; font-size: 12px; line-height: 1.5; }
.catalog-shop .catalog-selected > a:hover { color: #252824; border-color: #c8c8c8; text-decoration: none; }
.catalog-shop .catalog-selected > a > svg { flex: none; }

.catalog-shop .catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 18px; align-items: start; }
/* Override the older horizontal product row at every site.css breakpoint. */
.catalog-shop .catalog-row.catalog-product { display: flex; flex-direction: column; grid-template-columns: none; align-items: stretch; gap: 0; min-width: 0; padding: 0; background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 2px rgb(25 25 25 / 3%); transform: none; transition: border-color .16s ease, box-shadow .16s ease; }
.catalog-shop .catalog-row.catalog-product:hover, .catalog-shop .catalog-row.catalog-product:focus-within { border-color: #c8c8c8; box-shadow: 0 2px 7px rgb(25 25 25 / 7%); transform: none; }
.catalog-shop .catalog-product__media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #f7f7f7; border-bottom: 1px solid #e5e5e5; }
.catalog-shop .catalog-product__media > img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.catalog-shop .catalog-product__badge { position: absolute; top: 11px; left: 11px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; color: #252824; background: rgb(255 255 255 / 95%); border-radius: 3px; font-size: 11px; font-weight: 500; line-height: 1.4; }
.catalog-shop .catalog-product__media .img-ph { background: #f7f7f7; }
.catalog-shop .catalog-product__media .img-ph__grid, .catalog-shop .catalog-product__media .img-ph__rule, .catalog-shop .catalog-product__media .img-ph__glow { display: none; }
.catalog-shop .catalog-product__media .img-ph__icon { color: #70756d; background: transparent; border: 0; border-radius: 0; }
.catalog-shop .catalog-product__media .img-ph__label { color: #70756d; font-size: 12px; font-weight: 400; }
.catalog-shop .catalog-product__body { display: flex; flex-direction: column; min-width: 0; padding: 16px; }
.catalog-shop .catalog-product__category { margin: 0 0 7px; color: #70756d; font-size: 11px; font-weight: 500; letter-spacing: .045em; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-shop .catalog-product__body h3 { margin: 0 0 7px; min-height: 46px; font-size: 17px; font-weight: 550; line-height: 1.35; letter-spacing: -.017em; text-wrap: initial; }
.catalog-shop .catalog-product__body h3 a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: #252824; }
.catalog-shop .catalog-product__body h3 a:hover { color: var(--accent-700); text-decoration: none; }
.catalog-shop .catalog-product__description { min-height: 17px; margin: 0; color: #70756d; font-size: 13px; line-height: 1.7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-shop .catalog-product__choices { display: flex; flex-wrap: wrap; gap: 5px; min-height: 22px; color: #555d53; font-size: 11px; line-height: 1.5; }
.catalog-shop .catalog-product__choices span { padding: 3px 7px; border: 1px solid #e6e9e2; border-radius: 5px; background: #fafbf8; }
.catalog-shop .catalog-product__price-block { display: grid; gap: 3px; min-height: 79px; margin-top: 17px; margin-bottom: 16px; }
.catalog-shop .catalog-product__price-label { color: #70756d; font-size: 11px; line-height: 1.4; }
.catalog-shop .catalog-product__price { color: #252824; font-size: 24px; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; font-variant-numeric: tabular-nums; }
.catalog-shop .catalog-product__price sup { margin-left: 2px; font-size: 9px; }
.catalog-shop .catalog-product__price--request { font-size: 19px; }
.catalog-shop .catalog-product__price-note { color: #70756d; font-size: 12px; line-height: 1.5; }
.catalog-shop .catalog-product__view { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 10px 12px; color: #fff; background: #252824; border-radius: 4px; font-size: 13px; font-weight: 500; line-height: 1.4; }
.catalog-shop .catalog-product__view:hover { color: #fff; background: #252824; text-decoration: none; }
.catalog-shop .catalog-product__view > svg { flex: none; }

/* Existing size links stay available in a compact expandable card footer. */
.catalog-shop .catalog-product__sizes { min-width: 0; }
.catalog-shop .variant-select { gap: 0; }
.catalog-shop .variant-toggle { gap: 10px; padding: 11px 16px; color: #252824; background: #f7f7f7; border: 0; border-top: 1px solid #e5e5e5; border-radius: 0; }
.catalog-shop .variant-toggle:hover { color: #252824; background: #f7f7f7; }
.catalog-shop .variant-toggle__text { gap: 3px; min-width: 0; }
.catalog-shop .variant-toggle__text strong { font-size: 13px; font-weight: 500; line-height: 1.4; }
.catalog-shop .variant-toggle__text > span { font-size: 11px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-shop .variant-toggle__chevron { width: 20px; height: 20px; color: #70756d; background: transparent; border: 0; border-radius: 0; }
.catalog-shop .variant-range-note { margin: 0; padding: 11px 16px; color: #70756d; background: #f7f7f7; font-size: 11px; line-height: 1.5; }
html.js .catalog-shop .variant-range-note { display: none; }
html.js .catalog-shop .variant-select.is-open .variant-range-note { display: block; }
.catalog-shop .variant-rows { margin: 0; padding: 0 12px 8px; border: 0; }
.catalog-shop .variant-rows .model-row { gap: 8px; padding: 11px 4px; color: #70756d; border-bottom-color: #e5e5e5; }
.catalog-shop .variant-rows .model-row:nth-child(n) { opacity: 1; }
.catalog-shop .variant-rows .model-row__no { display: none; }
.catalog-shop .variant-rows .model-row__main { display: grid; gap: 3px; }
.catalog-shop .variant-rows .model-row__main strong { color: #252824; font-size: 12px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
.catalog-shop .variant-rows .model-row__main > span:not(.model-row__meta) { color: #70756d; font-size: 12px; line-height: 1.5; }
.catalog-shop .variant-rows .model-row__meta { gap: 4px; font-size: 11px; line-height: 1.5; }
.catalog-shop .variant-rows .variant-swatch { width: 10px; height: 10px; }
.catalog-shop .variant-size__image { width: 42px; height: 34px; border-radius: 3px; }
.catalog-shop .variant-rows .model-row__go { width: 16px; height: 22px; color: #70756d; background: transparent; border-radius: 0; }
.catalog-shop .variant-rows .model-row--custom { margin: 5px 0 0; padding: 11px 8px; border: 1px solid #e5e5e5; border-radius: 4px; }
.catalog-shop .variant-rows .model-row:hover .model-row__go { color: #252824; background: transparent; }
.catalog-shop .variant-rows .model-row:hover .model-row__go .icon { transform: none; }

.catalog-shop .catalog-pagination { margin-top: 28px; padding-top: 20px; border-top-color: var(--catalog-line); }
.catalog-shop .catalog-pagination__summary { color: #70756d; font-size: 12px; }
.catalog-shop .catalog-pagination__link { min-width: 36px; min-height: 36px; padding: 6px; border-color: #e5e5e5; border-radius: 4px; font-size: 13px; }
.catalog-shop .catalog-pagination__link.is-active { background: #252824; border-color: #252824; }
.catalog-shop .catalog-help { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 32px; padding: 20px; background: #f7f7f7; border: 1px solid #e5e5e5; border-radius: 6px; }
.catalog-shop .catalog-help p { color: #252824; font-size: 14px; font-weight: 500; line-height: 1.5; }
.catalog-shop .catalog-help span { display: block; margin-top: 3px; color: #70756d; font-size: 12px; line-height: 1.6; }
.catalog-shop .catalog-help > a { display: flex; flex: none; align-items: center; gap: 12px; color: #252824; font-size: 13px; font-weight: 550; }
.catalog-shop .catalog-footnote { margin-top: 22px; color: #70756d; font-size: 11px; line-height: 1.7; }
.catalog-shop .catalog-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; min-height: 285px; padding: 35px 24px; background: #f7f7f7; border: 1px solid #e5e5e5; border-radius: 6px; text-align: center; }
.catalog-shop .catalog-empty > svg { color: #70756d; }
.catalog-shop .catalog-empty h2 { margin: 0; color: #252824; font-size: 18px; font-weight: 550; line-height: 1.4; }
.catalog-shop .catalog-empty p { max-width: 45ch; margin: 0; color: #70756d; font-size: 13px; line-height: 1.7; }
.catalog-shop .catalog-empty__reset { display: inline-flex; align-items: center; gap: 8px; margin-top: 5px; color: #70756d; font-size: 13px; font-weight: 500; }
.catalog-shop :is(a, button, select, summary):focus-visible { outline: 2px solid var(--accent-600); outline-offset: 3px; }

@media (min-width: 1200px) {
  .catalog-shop .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1199px) and (min-width: 900px) {
  .catalog-shop .catalog-shop__layout { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
  .catalog-shop .catalog-sidebar__body { padding-right: 9px; }
}
@media (max-width: 899px) {
  .catalog-shop .catalog-shop__wrap { padding: 23px 24px 48px; }
  .catalog-shop .catalog-heading { gap: 18px; }
  .catalog-shop .catalog-roof-tabs { gap: 25px; margin-bottom: 21px; overflow-x: auto; scrollbar-width: none; }
  .catalog-shop .catalog-roof-tabs::-webkit-scrollbar { display: none; }
  .catalog-shop .catalog-shop__layout { grid-template-columns: minmax(0, 1fr); gap: 21px; }
  .catalog-shop .catalog-sidebar { position: static; max-height: none; overflow: visible; }
  .catalog-shop .catalog-filters { border: 1px solid #e5e5e5; border-radius: 5px; }
  .catalog-shop .catalog-filters > summary { display: flex; align-items: center; gap: 9px; min-height: 43px; padding: 11px 14px; color: #252824; font-size: 14px; font-weight: 500; list-style: none; cursor: pointer; }
  .catalog-shop .catalog-filters > summary > span { flex: 1; }
  .catalog-shop .catalog-filters > summary > svg:last-child { color: #70756d; transition: transform .16s ease; }
  .catalog-shop .catalog-filters[open] > summary > svg:last-child { transform: rotate(180deg); }
  .catalog-shop .catalog-sidebar__body { padding: 17px 15px 0; border-top: 1px solid #e5e5e5; }
  .catalog-shop .catalog-sidebar__service { margin-top: 20px; }
  .catalog-shop .catalog-category__links .catalog-filter-link:not(.catalog-filter-link--roof) { grid-template-columns: 15px minmax(0, 1fr) 24px; }
  .catalog-shop .catalog-filter-link { font-size: 14px; min-height: 38px; }
  .catalog-shop .catalog-filter-link--roof { min-height: 34px; font-size: 13px; }
  .catalog-shop .catalog-toolbar { margin-bottom: 18px; }
}
@media (max-width: 639px) {
  .catalog-shop .catalog-shop__wrap { padding-inline: 20px; }
  .catalog-shop .catalog-heading { display: block; margin-bottom: 20px; }
  .catalog-shop .catalog-heading h1 { font-size: 27px; }
  .catalog-shop .catalog-heading p { max-width: 42ch; font-size: 14px; }
  .catalog-shop .catalog-heading__help { min-height: 36px; margin-top: 15px; padding: 8px 11px; font-size: 13px; }
  .catalog-shop .catalog-roof-tabs { gap: 23px; }
  .catalog-shop .catalog-roof-tab { gap: 6px; font-size: 14px; }
  .catalog-shop .catalog-roof-tab > span { font-size: 12px; }
  .catalog-shop .catalog-grid { gap: 20px 12px; }
  .catalog-shop .catalog-product__body { padding: 13px; }
  .catalog-shop .catalog-product__body h3 { font-size: 17px; min-height: 46px; }
  .catalog-shop .catalog-product__category { font-size: 11px; }
  .catalog-shop .catalog-product__price { font-size: 22px; }
  .catalog-shop .catalog-product__price--request { font-size: 16px; }
  .catalog-shop .catalog-sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .catalog-shop .catalog-sort select { min-width: 160px; font-size: 13px; }
  .catalog-shop .catalog-help { align-items: start; flex-direction: column; gap: 12px; padding: 17px; }
}
@media (max-width: 479px) {
  .catalog-shop .catalog-shop__wrap { padding: 19px 16px 38px; }
  .catalog-shop .catalog-breadcrumbs { gap: 6px; margin-bottom: 14px; font-size: 12px; }
  .catalog-shop .catalog-heading h1 { font-size: 26px; }
  .catalog-shop .catalog-heading p { max-width: 34ch; font-size: 14px; }
  .catalog-shop .catalog-roof-tabs { margin-bottom: 18px; }
  .catalog-shop .catalog-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .catalog-shop .catalog-product__body { padding: 17px; }
  .catalog-shop .catalog-product__body h3 { min-height: 46px; font-size: 17px; }
  .catalog-shop .catalog-product__category { font-size: 11px; }
  .catalog-shop .catalog-product__description { font-size: 13px; }
  .catalog-shop .catalog-product__price { font-size: 26px; }
  .catalog-shop .catalog-product__price--request { font-size: 20px; }
  .catalog-shop .catalog-product__view { min-height: 44px; font-size: 13px; }
  .catalog-shop .catalog-toolbar { gap: 10px; }
  .catalog-shop .catalog-sort { gap: 5px; }
  .catalog-shop .catalog-sort select { min-width: 145px; max-width: 166px; }
  .catalog-shop .catalog-pagination { flex-direction: column; align-items: start; gap: 12px; }
  .catalog-shop .catalog-selected { margin-bottom: 16px; }
  .catalog-shop .catalog-selected > a { max-width: 100%; font-size: 12px; }
  .catalog-shop .variant-toggle { padding: 12px 17px; }
  .catalog-shop .variant-toggle__text strong { font-size: 13px; }
  .catalog-shop .variant-toggle__text > span { font-size: 11px; }
  .catalog-shop .variant-rows .model-row__main strong { font-size: 12px; }
  .catalog-shop .variant-rows .model-row__meta { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-shop *, .catalog-shop *::before, .catalog-shop *::after { transition: none !important; animation: none !important; }
  html.js .catalog-shop .variant-rows .variant-size { translate: none; }
}
