@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/golos-text-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/golos-text-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    --ink: #20201e; --muted: #605d57; --red: #bd2726; --red-dark: #981d1e;
    --paper: #f7f5f1; --line: #dedbd4; --white: #fff;
    color-scheme: only light; font-family: "Golos Text", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink); background: var(--white); line-height: 1.48;
    font-size: 16px; -webkit-text-size-adjust: 100%; font-variant-numeric: tabular-nums;
}
* {box-sizing:border-box}
html,body,main#main {background-color:#fff;color:#20201e}
body {margin:0;min-height:100vh;display:flex;flex-direction:column}
main {flex:1}
.wrap {width:min(100% - 64px,1248px);margin-inline:auto}
a {color:inherit;text-underline-offset:.18em;text-decoration-thickness:1px}
a:hover {color:var(--red)}
img {max-width:100%;display:block}
h1,h2,h3,p {margin-top:0}
h1,h2,h3 {line-height:1.07;letter-spacing:-.04em;text-wrap:balance}
h1 {font-size:clamp(2.35rem,4.35vw,4.25rem);margin-bottom:28px}
h2 {font-size:clamp(1.55rem,2.4vw,2.35rem);margin-bottom:16px}
h3 {font-size:1.2rem;margin-bottom:8px}
p {margin-bottom:1em}
input,select,button {font:inherit;color:inherit;min-width:0}
input,select {background:white;border:1px solid #b2aea6;border-radius:4px;padding:10px 12px;width:100%;min-height:46px}
label {display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:.875rem;font-weight:600}
label input,label select {color:var(--ink);font-weight:400;font-size:1rem}
button,a {touch-action:manipulation}
button {cursor:pointer}
:focus-visible {outline:3px solid #005bb5;outline-offset:3px}
.sr,.skip:not(:focus) {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus {position:fixed;left:8px;top:8px;padding:10px;background:white;z-index:9}
.icon {width:20px;height:20px;flex-shrink:0;vertical-align:middle}
.button,.text-action {min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:700;text-decoration:none}
.button {padding:10px 22px;border:1px solid transparent;border-radius:5px}
.button .icon {width:17px;height:17px}
.primary {background:var(--red);color:white}
.primary:hover,.primary:active {background:var(--red-dark);color:white}
.secondary {background:white;border-color:#aaa69f}
.secondary:hover {color:var(--red);border-color:var(--red)}
.text-action .icon,.material-card .icon,.article-links .icon {width:16px;height:16px;color:var(--red)}
header {border-bottom:1px solid var(--line);background:white;position:relative;z-index:3}
.topbar {display:flex;align-items:center;gap:clamp(16px,2.7vw,40px);min-height:80px}
.brand {display:inline-flex;align-items:center;color:#191918;text-decoration:none;font-weight:850;font-size:1.75rem;letter-spacing:-.075em;white-space:nowrap}
.brand:hover {color:#000}
.logo-house {position:relative;margin-right:2px;display:grid;place-items:center;width:44px;height:36px;font-size:1rem;letter-spacing:-.08em}
.logo-house svg {position:absolute;inset:0;color:var(--red);width:100%;height:100%}
.logo-house b {position:relative;top:2px}
.desktop-nav,.foot nav {display:flex;align-items:center;gap:clamp(14px,2.2vw,32px)}
.desktop-nav a,.foot nav a,.header-number,.foot-phone {display:inline-flex;align-items:center;min-height:44px;font-weight:600;text-decoration:none;white-space:nowrap}
.desktop-nav [aria-current] {color:var(--red)}
.header-number {margin-left:auto;border-left:1px solid var(--line);padding-left:clamp(16px,2vw,28px)}
.mobile-nav,.mobile-call,.mobile-label,.row-call {display:none}
.hero {position:relative;isolation:isolate;overflow:hidden;background:#ede9e2;border-radius:6px;margin-block:24px 0}
.hero-photo {position:absolute;z-index:-2;inset:0 0 0 auto;width:76%;height:100%;object-fit:cover;object-position:center}
.hero::before {content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#f6f3ee 0%,#f6f3ee 28%,rgba(246,243,238,.98) 37%,rgba(246,243,238,.82) 45%,rgba(246,243,238,.25) 57%,transparent 68%)}
.hero-copy {padding:clamp(36px,4.8vw,72px);max-width:640px}
.hero h1 {font-size:clamp(2.6rem,4.4vw,4.15rem);line-height:1.01;letter-spacing:-.052em;margin-bottom:20px}
.hero p,.page-heading p {font-size:clamp(1rem,1.3vw,1.2rem)}
.actions,.search-line,.section-title,.result-meta,.callout,.callout>div,.foot {display:flex;align-items:center;gap:20px}
.actions {margin-top:28px;flex-wrap:wrap}
.hero .primary {min-width:154px}
.section-title,.callout {justify-content:space-between}
.section-title {margin-bottom:19px;flex-wrap:wrap;gap:4px 16px}
.section-title h2,.callout h2,.search-band h2 {margin:0}
.home-materials,.search-band,.callout,.prose,.article-links {margin-block:36px}
.featured {display:grid;gap:clamp(12px,1.6vw,22px)}
.grid-4 {grid-template-columns:repeat(4,minmax(0,1fr))}
.grid-3 {grid-template-columns:repeat(3,minmax(0,1fr))}
.material-card {display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:5px;background:white;text-decoration:none}
.material-card:hover {border-color:#b08f7e}
.material-card img {width:100%;height:auto;aspect-ratio:2.05;object-fit:cover;background:#eee7dc}
.material-card>span {display:flex;justify-content:space-between;align-items:center;gap:6px;padding:13px 15px;flex:1;font-size:clamp(1rem,1.5vw,1.35rem);font-weight:700;line-height:1.2;overflow-wrap:anywhere;letter-spacing:-.025em}
.material-card.text-card>span {min-height:66px}
.search-band,.callout,.empty,.calc-result,.address-block {background:var(--paper);border-radius:5px}
.search-band {display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:28px 32px;align-items:center}
.search-band h2,.callout h2 {font-size:1.45rem}
.search-band p,.callout p {margin:6px 0 0;color:var(--muted)}
.search-line {gap:8px}
.search-line .button {flex:none}
.catalog-search {max-width:650px;margin-bottom:24px}
.crumbs {display:flex;flex-wrap:wrap;align-items:center;gap:9px;color:var(--muted);font-size:.84rem;margin-block:18px 22px}
.crumbs a,.crumbs span {overflow-wrap:anywhere}
.crumbs a {padding-block:3px}
.page-heading {margin-bottom:24px}
.page-heading h1 {margin-bottom:12px}
.with-illustration {display:grid;grid-template-columns:1fr minmax(180px,26%);align-items:center;gap:24px}
.with-illustration img {width:100%;height:auto;max-height:160px;object-fit:cover;border-radius:5px}
.price-filters {display:flex;flex-wrap:wrap;align-items:end;gap:12px;background:var(--paper);padding:16px;border-radius:5px}
.price-filters label {flex:1 1 155px;max-width:100%;min-width:0}
.price-filters .grow {flex-basis:210px}
.price-filters select {text-overflow:ellipsis}
.result-meta {font-size:.9rem;color:var(--muted);margin:18px 0;justify-content:space-between}
.price-table {width:100%;border-collapse:collapse;line-height:1.3}
.price-table th,.price-table td {text-align:left;padding:14px 12px;vertical-align:top;overflow-wrap:anywhere}
.price-table thead th {font-size:.88rem;background:#efede8;color:#494640}
.price-table tbody tr:not(.group-row) {border-bottom:1px solid var(--line)}
.price-table .group-row th {background:#f8f6f3;font-size:.95rem;padding-block:10px}
.group-row a {text-decoration:none}
.cost {min-width:140px}
.position small,.cost small,.tier,.attributes span {display:block}
.position small,.cost small {font-weight:400;color:var(--muted);margin-top:6px}
.tier {font-size:.9rem;max-width:340px}
.tier+.tier {margin-top:6px}
.price-table .mobile-label {display:none}
.pagination {display:flex;gap:4px;flex-wrap:wrap;margin:20px 0}
.pagination a {padding:10px;display:grid;place-items:center;min-width:42px;text-decoration:none;border:1px solid var(--line);border-radius:3px}
.pagination a[aria-current] {color:white;background:var(--red);border-color:var(--red)}
.empty {padding:32px}
.callout {padding:24px 32px;gap:16px}
.callout>div>.icon,.contact-number>.icon,.address-block>.icon {color:var(--red)}
.callout>div>.icon {width:28px;height:28px}
.prose {max-width:75ch;line-height:1.65}
.prose p {white-space:normal;overflow-wrap:anywhere}
.contact-grid,.delivery-layout,.calculator-layout {display:grid;grid-template-columns:1.15fr 1fr;gap:clamp(20px,4vw,64px);margin:30px 0 46px;align-items:start}
.contact-data {display:grid;justify-items:start;gap:8px}
.contact-data h3 {margin-top:15px}
.contact-data p,.contact-data h2 {margin-bottom:0}
.contact-number {display:flex;align-items:center;gap:12px;min-height:46px;font-size:clamp(1.4rem,3vw,2.3rem);font-weight:750;letter-spacing:-.05em;text-decoration:none}
.address-block,.calc-result {padding:clamp(20px,3vw,40px)}
.address-block>.icon {height:28px;width:28px;margin-bottom:16px}
.delivery-layout img {width:100%;height:auto;border-radius:5px}
.article-links {display:grid;gap:8px}
.article-links a {padding:16px;background:var(--paper);border-radius:4px;text-decoration:none;font-weight:600}
.calc-select,.calc-input {display:grid;gap:14px;align-items:start;margin-bottom:22px}
.calc-input {border-top:1px solid var(--line);padding-top:22px}
.calc-input h2,.calc-input p,.calc-result h2 {margin:0}
.calc-input button,.calc-select button {justify-self:start}
.calc-result>strong {display:block;font-size:2.4rem;letter-spacing:-.04em;margin-block:16px}
.calc-result p {margin-top:14px}
#calc-error {color:var(--red-dark)}
footer {border-top:1px solid var(--line);margin-top:40px}
.foot {padding-block:24px;flex-wrap:wrap;gap:12px 30px}
.foot nav {gap:4px 20px;flex-wrap:wrap}
.foot nav a {font-size:.9rem}
.foot-phone {margin-left:auto}
@media(min-width:781px) and (max-width:1030px) {
  .header-cta {display:none}
  .topbar {gap:20px}
}
@media(max-width:780px) {
  .wrap {width:calc(100% - 36px)}
  .topbar {min-height:64px;gap:14px}
  .desktop-nav,.header-cta {display:none}
  .topbar .brand {margin-right:auto}
  .mobile-nav {display:block}
  .mobile-nav summary {display:flex;align-items:center;gap:5px;min-height:44px;cursor:pointer;list-style:none;font-weight:600}
  .mobile-nav summary::-webkit-details-marker {display:none}
  .mobile-nav nav {position:absolute;right:18px;top:calc(100% - 2px);display:grid;min-width:200px;background:white;border:1px solid var(--line);border-radius:4px;padding:6px;box-shadow:0 10px 24px #0001}
  .mobile-nav nav a {padding:10px 14px;text-decoration:none;min-height:44px}
  .hero {margin-top:16px}
  .hero-copy {padding:36px 26px}
  .hero h1 {font-size:clamp(2rem,5.6vw,3rem)}
  .hero-copy p {max-width:48%}
  .grid-4,.grid-3 {grid-template-columns:repeat(2,minmax(0,1fr))}
  .search-band {grid-template-columns:1fr;padding:22px}
  .contact-grid,.calculator-layout {gap:20px}
  .callout {padding:20px}
  .price-table th,.price-table td {padding-inline:7px}
}
@media(max-width:600px) {
  html {scroll-padding-bottom:84px}
  body {padding-bottom:calc(70px + env(safe-area-inset-bottom))}
  .wrap {width:calc(100% - 28px)}
  .brand {font-size:1.55rem}
  .logo-house {width:37px}
  .header-number {display:none}
  .hero {display:flex;flex-direction:column;margin-top:12px}
  .hero-photo {position:relative;width:100%;height:auto;aspect-ratio:2.1;order:2;object-position:center 55%;z-index:0}
  .hero::before {display:none}
  .hero-copy {max-width:none;padding:26px 18px 20px;background:#f6f3ee}
  .hero-copy h1 {font-size:clamp(2.08rem,8.5vw,3.2rem);margin-bottom:12px}
  .hero-copy p {max-width:none;margin-bottom:12px;line-height:1.35}
  .actions {gap:10px;margin-top:14px}
  .hero .primary {min-width:0}
  .hero .button {padding-inline:14px}
  .section-title h2 {font-size:1.45rem}
  .section-title .text-action {font-size:.86rem}
  .home-materials,.search-band,.callout,.prose {margin-block:24px}
  .featured {gap:10px}
  .material-card>span {padding:10px 9px;font-size:1rem}
  .material-card .icon {width:12px}
  .search-line {flex-wrap:wrap}
  .search-line input {flex:1 1 150px}
  .search-band,.empty {padding:16px}
  .crumbs {margin:12px 0 16px}
  h1 {font-size:2.2rem;margin-bottom:20px}
  .with-illustration {grid-template-columns:1fr 26%;gap:8px}
  .with-illustration h1 {font-size:clamp(1.75rem,7vw,2.2rem)}
  .price-filters {padding:12px;gap:10px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .price-filters .grow {grid-column:1/-1}
  .price-filters label,.price-filters button {font-size:.82rem}
  .price-filters .button {padding:10px}
  .price-table,.price-table tbody,.price-table tr,.price-table th,.price-table td {display:block;width:100%}
  .price-table thead,.price-table .group-row {display:none}
  .price-table tbody tr:not(.group-row) {padding:13px;border:1px solid var(--line);border-radius:5px;margin-bottom:10px}
  .price-table th,.price-table td {padding:2px 0}
  .price-table .position {font-size:1.06rem;margin-bottom:6px}
  .price-table .mobile-label {display:block}
  .price-table td[data-label]::before {content:attr(data-label) " · ";color:var(--muted);font-size:.9rem}
  .price-table .cost {margin-top:6px}
  .cost>strong {font-size:1.15rem}
  .row-call {display:inline-flex;align-items:center;min-height:44px;color:var(--red-dark);font-size:.9rem}
  .callout {flex-wrap:wrap}
  .callout>div {gap:12px}
  .contact-grid,.delivery-layout,.calculator-layout {grid-template-columns:1fr;margin:18px 0 28px}
  .delivery-layout .prose {margin:0}
  .foot {display:grid}
  .foot-phone {margin:0}
  .mobile-call {display:block;position:fixed;bottom:0;left:0;right:0;z-index:4;padding:8px 14px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}
  .mobile-call a {width:100%}
  body:has(input:focus,select:focus,textarea:focus) .mobile-call {display:none}
}
@media(prefers-reduced-motion:no-preference) {
 .button,.material-card,a {transition:background-color .15s,color .15s,border-color .15s}
}

.calc-select,.calc-input,.calculator-layout>div {min-width:0}
.calc-select select {max-width:100%;text-overflow:ellipsis}
.calculate-link {display:inline-flex;align-items:center;min-height:32px;font-size:.86rem}
.logo-mark {width:1.32em;height:1.32em;object-fit:contain;margin-right:.27em;flex:none}
.brand strong {line-height:1;font-weight:800;letter-spacing:-.055em}
.drawing {margin:0;text-align:center;width:100%;border-radius:3px;background:#faf9f6}
.drawing svg {width:100%;height:auto;max-height:150px;display:block}
.drawing figcaption {color:var(--muted);font-size:.77rem;padding-bottom:4px}
@media(max-width:600px) {
  .with-illustration:has(.drawing) {grid-template-columns:1fr}
  .drawing {max-width:230px}
}

.position-image {width:90px;height:64px;object-fit:contain;margin-bottom:6px}
.contact-map {margin-top:12px}
.contact-map summary {display:list-item;cursor:pointer;padding:12px 0;font-weight:600;min-height:44px}
.contact-map iframe {width:100%;height:280px;border:0;border-radius:4px}
.delivery-hero {overflow:hidden;border-radius:5px;margin:12px 0 32px}
.delivery-hero img {width:100%;height:clamp(170px,24vw,310px);object-fit:cover;object-position:center 55%}
.delivery-steps ol {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));counter-reset:steps;list-style:none;padding:0;gap:20px;margin-block:0 28px}
.delivery-steps li {counter-increment:steps;display:grid;grid-template-columns:32px 1fr;gap:2px 9px;align-items:start}
.delivery-steps li::before {content:counter(steps);background:var(--red);color:white;display:grid;place-items:center;outline:1px solid transparent;border-radius:50%;width:30px;height:30px;grid-row:span 2;font-size:.95rem;font-weight:700}
.delivery-steps li span,.delivery-info p {color:var(--muted)}
.delivery-info {display:grid;grid-template-columns:1fr 1fr;gap:32px;border-top:1px solid var(--line);padding-top:24px}
.delivery-info h2,.delivery-steps li strong {font-size:1.15rem;letter-spacing:-.02em}
@media(max-width:600px) {
  .delivery-steps ol,.delivery-info {grid-template-columns:1fr;gap:15px}
}

.catalog-family {margin-block:36px 48px}
.catalog-family h2 {margin-bottom:18px;font-size:clamp(1.45rem,2.4vw,2rem)}

/* The catalog uses the same three columns across selling units. */
.category-heading {padding-block:8px 18px;border-bottom:1px solid var(--line);margin-bottom:20px}
.category-heading h1 {margin-bottom:10px}
.price-table {table-layout:fixed;border-block:1px solid var(--line)}
.price-table thead th {padding-block:12px;background:#f0ede7;font-weight:600}
.price-table thead th:first-child {width:34%}
.price-table thead th:last-child {width:29%}
.price-table tbody tr:nth-child(even) {background:#faf9f7}
.price-table th.position {font-weight:600}
.spec-list {margin:0;display:grid;gap:4px}
.spec-list>div {display:flex;flex-wrap:wrap;gap:2px 8px;align-items:baseline}
.spec-list dt,.no-spec {color:var(--muted)}
.spec-list dd {margin:0;font-variant-numeric:tabular-nums}
.cost>strong {font-size:1.04rem}
.tier {display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:3px 8px}
.tier+.tier {padding-top:6px;border-top:1px dotted var(--line)}
@media(max-width:600px) {
  .price-table {border:0}
  .price-table tbody tr:not(.group-row) {padding:15px;background:#fff}
  .price-table .cost {border-top:1px solid var(--line);padding-top:10px;margin-top:10px}
  .price-table .position {font-size:1.1rem}
  .price-table .no-spec {display:none}
  .price-table .tier {max-width:none}
  .price-table .calculate-link {min-height:44px}
}
.category-heading.with-illustration {grid-template-columns:minmax(0,1fr) minmax(260px,38%)}
.product-preview {margin:0;width:100%;text-align:center}
.preview-art svg,.preview-art img {width:100%;height:clamp(170px,18vw,230px);max-height:none;object-fit:contain;display:block}
.product-preview figcaption {color:var(--muted);font-size:.875rem}
.variant-thumb {width:64px;height:46px;float:left;margin:0 12px 4px 0}
.variant-thumb svg,.variant-thumb img {width:100%;height:100%;object-fit:contain;display:block}
.variant-thumb .measure {display:none}
@media(max-width:780px){
  body > header {position:sticky;top:0;z-index:20}
  html {scroll-padding-top:76px}
}
@media(max-width:600px){
  .category-heading.with-illustration {grid-template-columns:1fr}
  .product-preview {max-width:340px;justify-self:center}
  .preview-art svg,.preview-art img {height:155px}
}
.size-key {display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin:0 auto 8px;padding:8px 0;border-top:1px solid var(--line)}
.size-key div {text-align:left}
.size-key dt {color:var(--muted);font-size:.77rem;font-weight:400}
.size-key dd {font-size:.91rem;font-weight:600;margin:0}
.price-table .position {vertical-align:top}
.variant-thumb {float:none;width:auto;height:auto;margin:0}
.variant-thumb .measured-product {display:contents}
.position:has(.variant-thumb) {position:relative;padding-left:82px}
.variant-thumb .measured-art {width:64px;height:53px;position:absolute;left:8px;top:10px}
.variant-thumb .size-key {border:0;justify-content:flex-start;gap:2px 10px;margin:4px 0 0;padding:0}
.variant-thumb .size-key div {display:inline-flex;gap:4px;align-items:baseline}
.variant-thumb .size-key dd,.variant-thumb .size-key dt {font-size:.78rem}
.position > .variant-thumb + span {display:block}
@media(max-width:600px){
  .price-table .position:has(.variant-thumb) {padding-left:70px;min-height:44px}
  .variant-thumb .measured-art {left:0;top:0}
}

/* Keep the quantity and the resulting price together at phone sizes. */
main:has(.calculator-layout) {max-width:980px}
main:has(.calculator-layout) h1 {font-size:clamp(1.7rem,3.8vw,3rem);margin-bottom:12px}
.calculator-layout {grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);margin:12px 0 24px;gap:clamp(16px,3vw,40px)}
.calc-select {margin:0 0 6px}
.calc-input {margin:0;padding:0;border:0;gap:10px}
.calc-material {display:flex;align-items:center;justify-content:space-between;gap:8px}
.calc-preview {min-width:0;flex:1}
.calc-preview .size-key {display:none}
.calc-preview svg,.calc-preview img {height:clamp(88px,17svh,148px)}
.calc-price {white-space:nowrap;font-size:1.05rem}
.calc-controls {display:flex;align-items:end;gap:10px}
.calc-controls label {flex:1;min-width:0}
.calc-input .primary {width:100%}
.calc-result {padding:clamp(14px,2.4vw,28px)}
.calc-result h2 {font-size:1.15rem}
.calc-result>strong {margin:4px 0;font-size:clamp(1.6rem,4vw,2.4rem)}
.calc-result p {margin:4px 0 0}
.calc-details {margin-top:5px;font-size:.9rem}
.calc-details summary {cursor:pointer;text-decoration:underline;text-underline-offset:.18em}
body:has(.calculator-layout) .mobile-call {display:none}
@media(max-width:600px){
  main:has(.calculator-layout) .crumbs {display:none}
  main:has(.calculator-layout) h1 {margin:10px 0}
  .calculator-layout {grid-template-columns:1fr;gap:10px;margin:0 0 12px}
  .calc-preview svg,.calc-preview img {height:clamp(68px,13svh,105px)}
  .calc-result {padding:10px 14px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 6px}
  .calc-result>strong {margin:0}
  .calc-result p,.calc-details {grid-column:1/-1}
}
@media(max-height:500px) and (min-width:601px){
  main:has(.calculator-layout) .crumbs {display:none}
  body:has(.calculator-layout) header {position:static}
  body:has(.calculator-layout) .topbar {min-height:44px}
  main:has(.calculator-layout) h1 {font-size:1.5rem;margin:5px 0}
  .calculator-layout {margin:5px 0}
  .calc-preview svg,.calc-preview img {height:56px}
  .calc-input {gap:4px}
}
@media(min-width:480px) and (max-width:600px) and (max-height:440px){
  .calculator-layout {grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
  .calc-result {display:block}
  .calc-preview svg,.calc-preview img {height:48px}
  .calc-input {gap:4px}
  body:has(.calculator-layout) .topbar {min-height:44px}
}

.about-story {margin:24px 0 36px}
.story-copy {display:grid;grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);align-items:end;gap:clamp(20px,5vw,80px);margin-bottom:24px}
.story-copy h2 {max-width:19ch;font-size:clamp(1.7rem,3vw,2.8rem);margin:0}
.story-copy em {display:block;color:var(--red);font-size:clamp(3.2rem,7vw,6.6rem);line-height:1;font-style:normal;margin-bottom:8px}
.story-copy p,.about-stock p,.guide-intro {max-width:68ch;line-height:1.55}
.story-copy p,.guide-card p {margin:0}
.about-story .story-photo {display:block;width:100%;height:clamp(170px,25vw,310px);object-fit:cover;border-radius:4px}
.catalog-shortcuts {display:flex;flex-wrap:wrap;gap:4px 16px}
.catalog-shortcuts a {display:inline-flex;align-items:center;min-height:44px;font-weight:600}
.about-stock {margin:clamp(24px,4vw,48px) 0}
.guide-intro {margin-bottom:24px}
.guide-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:40px}
.guide-card {position:relative;padding:clamp(18px,2.4vw,32px);padding-right:48px;color:var(--ink);border:1px solid var(--line);border-radius:5px;text-decoration:none}
.guide-card h2 {font-size:clamp(1.2rem,2vw,1.7rem);margin-bottom:10px;line-height:1.2}
.guide-card p {color:var(--muted)}
.guide-card .icon {position:absolute;right:16px;top:24px;color:var(--red)}
.guide-card:hover,.guide-card:focus-visible {border-color:var(--red);background:var(--paper)}
.contact-map-live {position:relative;margin-top:12px}
.contact-map-live iframe {display:block;width:100%;height:clamp(270px,32vw,420px);border:0;border-radius:4px}
@media(max-width:700px){.story-copy,.guide-grid {grid-template-columns:1fr}.about-story .story-photo {min-height:0;height:165px}.guide-grid {gap:10px}}

.contacts-layout {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(24px,6vw,80px);row-gap:22px;margin:20px 0 42px}
.contacts-panel {padding-top:18px;border-top:2px solid var(--ink);min-width:0}
.contacts-panel h2 {margin:0 0 14px;font-size:clamp(1.45rem,2.4vw,2rem)}
.contacts-phones {display:grid}
.contacts-panel .contact-number {font-size:clamp(1.22rem,2.4vw,1.75rem);letter-spacing:-.035em;min-height:42px}
.contacts-email {display:inline-flex;align-items:center;min-height:40px}
.contacts-hours {margin-top:8px}
.contacts-hours h3 {font-size:1rem;margin:0 0 4px}
.contacts-hours p {margin:0}
.contacts-address {margin:0 0 7px;font-size:1.13rem;font-weight:600}
.contacts-landmark {color:var(--muted);margin:0 0 16px}
.contacts-layout .contact-map-live {grid-column:1/-1;margin:0;overflow:hidden;border:1px solid var(--line);border-radius:5px}
.contacts-layout iframe {height:clamp(240px,32vw,390px)}
@media(max-width:620px){
  .contacts-layout {grid-template-columns:1fr;gap:18px}
  .contacts-panel {padding-top:13px}
  .contacts-panel h2 {margin-bottom:8px}
  .contacts-phones .contact-number {min-height:44px}
}

.compact-prices th.position,.compact-prices td.cost {vertical-align:middle;padding-block:6px}
.compact-prices .position:has(.variant-thumb) {padding-left:54px}
.compact-prices .variant-thumb .measured-art {width:38px;height:26px;left:8px;top:50%;transform:translateY(-50%)}
.compact-prices thead th:first-child {width:auto}
@media (max-width: 700px) {
  .price-table.compact-prices tbody tr {margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:6px 0}
  .compact-prices .position:has(.variant-thumb) {min-height:32px;margin:0;padding-left:52px}
  .price-table.compact-prices td.cost {border:0;margin:0;padding:2px 8px 4px 52px}
}
html,body {color-scheme:only light;background:#fff;color:#252421}
.price-table.compact-prices {display:table;width:100%;border-collapse:collapse;table-layout:fixed}
.compact-prices thead {display:table-header-group}
.compact-prices tbody {display:table-row-group}
.price-table.compact-prices tr {display:table-row;background:#fff;color:#252421}
.price-table.compact-prices tbody tr:nth-child(even) {background:#faf9f7}
.price-table.compact-prices td,.price-table.compact-prices th {display:table-cell;width:auto;vertical-align:middle}
.price-table.compact-prices thead th:not(:first-child) {width:19%;text-align:right}
.price-table.compact-prices td.retail-cost {text-align:right;font-variant-numeric:tabular-nums;padding:7px 12px;white-space:nowrap}
.retail-cost a {color:inherit;text-underline-offset:3px}
.retail-cost a[href^="/calculator"] {
  display:inline-block;
  color:#a52321;
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:.18em;
}
.retail-cost a[href^="/calculator"]:is(:hover,:focus-visible) {
  color:#771713;
  text-decoration-thickness:2px;
}
.retail-cost a[href^="/calculator"]:focus-visible {
  outline:2px solid currentColor;
  outline-offset:2px;
}
.retail-cost a:hover {color:#b62422;text-decoration:underline}
.retail-tiers {font-size:.8rem;font-weight:400}
@media(max-width:600px){
.price-table.compact-prices tbody tr:not(.group-row) {border:0;border-bottom:1px solid var(--line);border-radius:0}
.price-table.compact-prices th,.price-table.compact-prices td.retail-cost {padding:8px 4px;font-size:.81rem}
.price-table.compact-prices th.position {padding-left:4px}
.compact-prices .variant-thumb {display:none}
.price-table.compact-prices thead th:not(:first-child) {width:22%}
}

@media (min-width: 960px) {
  .price-table.compact-prices {
    margin-inline: auto;
    width: max-content;
    max-width: min(100%, 50rem);
    table-layout: auto;
  }
  .price-table.compact-prices thead th:not(:first-child) {
    width: 7rem;
    white-space: nowrap;
  }
  .price-table.compact-prices thead th {padding-block: 7px}
  .price-table.compact-prices th.position,
  .price-table.compact-prices td.retail-cost {padding-block: 4px}
}
