@font-face {
  font-family:Roboto;
  src:url("fonts/roboto.0db2a8485c8f.ttf") format("truetype");
  font-weight:100 900;
  font-display:swap;
}

@font-face {
  font-family:"Roboto Condensed";
  src:url("fonts/robotocondensed.938869f81aeb.ttf") format("truetype");
  font-weight:100 900;
  font-display:swap;
}

@font-face {
  font-family:Neucha;
  src:url("fonts/neucha.019505a9b9b8.ttf") format("truetype");
  font-weight:400;
  font-display:swap;
}

:root {
  --orange:#ff6b00;
  --ink:#202226;
  --graphite:#474a50;
  --blue:#495e9b;
  --content:1440px;
  --font-body:Roboto,Arial,sans-serif;
  --font-heading:"Roboto Condensed",Arial,sans-serif;
  --section-title-size:29px;
  --product-title-size:24px;
  --card-border:#bfc1c4;
  --home-section-before:40px;
  --home-heading-gap:24px;
  --coating-swatches-gap:24px;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:20px;
}

body {
  margin:0;
  color:var(--ink);
  background:#fff;
  font:20px/1.4 var(--font-body);
}

button,a {
  -webkit-tap-highlight-color:transparent;
}

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

button {
  font:inherit;
  color:inherit;
  cursor:pointer;
}

button:disabled,[aria-disabled=true] {
  cursor:default;
}

button:disabled {
  opacity:1;
}

button {
  border:0;
}

a:hover {
  text-decoration:underline;
}

button:not(:disabled):hover {
  filter:brightness(.96);
}

:focus-visible {
  outline:3px solid currentColor;
  outline-offset:5px;
}

[hidden] {
  display:none!important;
}

h1,h2,h3,p,ul {
  margin:0;
}

ul {
  padding:0;
  list-style:none;
}

h1,h2,h3 {
  font-family:var(--font-heading);
  font-weight:700;
}

address {
  font-style:normal;
}

.container {
  width:calc(100% - 80px);
  max-width:var(--content);
  margin-inline:auto;
}

.icon-library {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
}

.icon {
  width:28px;
  height:28px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  flex-shrink:0;
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:11px 28px;
  border-radius:4px;
  background:var(--orange);
  color:#1c1c1c;
  font-size:20px;
  line-height:1.2;
  font-weight:600;
  text-decoration:none;
  white-space:nowrap;
}

.button:hover {
  text-decoration:none;
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.skip-link {
  position:fixed;
  left:20px;
  top:-100px;
  z-index:10;
  background:#fff;
  padding:16px;
}

.skip-link:focus {
  top:10px;
}

.site-header {
  border-bottom:1px solid #eee;
}

.header-top {
  height:80px;
  display:flex;
  align-items:center;
  gap:64px;
}

.brand {
  display:block;
  width:130px;
  margin-left:8px;
  margin-right:auto;
}

.brand img {
  display:block;
  width:100%;
  height:auto;
}

.header-address,.header-phone {
  display:flex;
  align-items:center;
  gap:16px;
  white-space:nowrap;
}

.header-top .icon {
  color:var(--orange);
}

.header-address,.header-phone {
  font-size:24px;
}

.callback {
  margin-left:auto;
  min-height:44px;
  font-size:18px;
  padding:10px 17px;
  color:#fff;
}

.header-nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  height:62px;
  font-size:20px;
  font-weight:600;
}

.chevron {
  display:inline-block;
  width:8px;
  height:8px;
  margin:0 0 4px 8px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg);
  vertical-align:middle;
}

.icon-button {
  position:relative;
  padding:7px;
  background:none;
  width:44px;
  height:44px;
}

.icon-button .icon {
  width:32px;
  height:32px;
}

.cart-count {
  position:absolute;
  right:-3px;
  top:0;
  background:var(--orange);
  color:#fff;
  border-radius:50%;
  min-width:21px;
  height:21px;
  font-size:13px;
  line-height:21px;
}

.hero {
  position:relative;
  height:604px;
  overflow:hidden;
  isolation:isolate;
}

.hero-factory {
  position:absolute;
  z-index:-3;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 48%;
}

.hero-veil {
  position:absolute;
  z-index:-2;
  inset:0;
  background:#fff;
  opacity:.72;
}

.hero-copy {
  position:relative;
  z-index:1;
  width:58%;
  padding:49px 0 0 77px;
}

.hero-copy h1 {
  max-width:660px;
  font-size:68px;
  line-height:1.03;
  letter-spacing:-1.4px;
}

.hero-copy h1 span {
  display:block;
  color:var(--orange);
}

.hero-benefits {
  margin-top:34px;
  font-size:23px;
  line-height:1.55;
}

.hero-benefits li {
  display:flex;
  align-items:center;
  gap:13px;
}

.hero-benefits li:before {
  content:"✓";
  display:grid;
  place-items:center;
  width:23px;
  height:23px;
  border:2px solid var(--orange);
  border-radius:50%;
  color:var(--orange);
  font-size:16px;
  font-weight:700;
}

.hero-artwork-slot {
  position:absolute;
  z-index:2;
  right:28px;
  top:-20px;
  width:570px;
  pointer-events:none;
}

.hero-artwork {
  display:block;
  width:100%;
  height:auto;
}

.hero-actions {
  position:absolute;
  z-index:1;
  right:0;
  bottom:0;
  left:0;
  height:92px;
  display:flex;
  align-items:center;
  gap:22px;
  padding-left:77px;
  background:#000;
}

.hero-write,.hero-calculator {
  display:inline-flex;
  min-height:49px;
  align-items:center;
  justify-content:center;
  padding:10px 28px;
  border:2px solid var(--orange);
  border-radius:4px;
  font-size:19px;
  font-weight:700;
  line-height:1.1;
}

.hero-write {
  background:var(--orange);
  color:#fff;
}

.hero-calculator {
  background:#000;
  color:var(--orange);
}

/* One visible gap on each side of regular Home section headings. */
.catalog,.featured,.coatings {
  padding-top:var(--home-section-before);
}

.catalog h2,.featured h2,.custom h2,.coatings h2 {
  font-size:var(--section-title-size);
  line-height:1.15;
}

.catalog>h2,.featured>h2,.coatings>.container>h2 {
  margin-bottom:var(--home-heading-gap);
}

.catalog h2 {
  margin-inline:10px;
}

/* Keep the existing banner transition when Featured has no public products. */
.catalog+.custom {
  margin-top:31px;
}

.category-list {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  justify-content:center;
  gap:30px 18px;
}

.category {
  text-align:center;
}

.category-art {
  height:443px;
  border:1px solid #f2f2f2;
  box-shadow:0 2px 9px #2022260b;
  background:white;
  padding:8px 8px 15px;
}

.category-art>img {
  display:block;
  width:100%;
  height:205px;
  object-fit:contain;
}

.category-sketch {
  height:206px;
  margin-top:8px;
  display:flex;
  align-items:center;
  flex-direction:column;
  justify-content:center;
}

.category-sketch svg {
  width:180px;
  height:172px;
  fill:none;
  stroke:#252525;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.sketch-guide {
  stroke-width:1;
}

.sketch-arc {
  stroke:#777;
  stroke-width:.8;
}

.category h3 {
  font-size:29px;
  line-height:1.2;
  margin:20px 8px 0;
  min-height:70px;
}

.reveal-button {
  display:flex;
  margin:24px auto 0;
  min-width:238px;
  min-height:50px;
  color:#fff;
}

.custom {
  position:relative;
  max-width:1474px;
  width:calc(100% - 64px);
  height:475px;
  border:1px solid #aeb3b9;
  background-color:#fff;
  background-image:linear-gradient(#e4e8ec99 1px,transparent 1px),linear-gradient(90deg,#e4e8ec99 1px,transparent 1px);
  background-size:20px 20px;
  overflow:hidden;
  margin-bottom:0;
}

.custom-intro {
  position:relative;
  height:100%;
}

.custom h2 {
  margin:24px 0 0 56px;
}

.custom-ivan {
  position:absolute;
  z-index:2;
  bottom:-67px;
  left:20px;
  width:480px;
  height:auto;
}

.custom-writer-artwork {
  position:absolute;
  z-index:1;
  top:-80px;
  right:40px;
  width:560px;
  aspect-ratio:1;
}

.custom-writer {
  display:block;
  width:100%;
  height:auto;
  pointer-events:none;
}

.custom-contact-link {
  position:absolute;
  z-index:1;
  border-radius:4px;
}

.custom-contact-link:focus-visible {
  outline:3px solid var(--orange);
  outline-offset:3px;
}

.custom-max-link { left:1.8%; top:41.1%; width:41.7%; height:15.9%; }
.custom-vk-link { left:1.8%; top:57.1%; width:43.9%; height:15%; }
.custom-avito-link { left:3%; top:72.2%; width:40.7%; height:11.8%; }

.custom-phone-link {
  left:46.5%;
  top:42.5%;
  width:51%;
  height:15%;
}

.custom-email-link {
  left:46.5%;
  top:59.5%;
  width:51%;
  height:11%;
}

.custom-address-link {
  left:47.5%;
  top:71.5%;
  width:51%;
  height:13%;
}

.coatings {
  background:#f7f7f5;
  padding-bottom:62px;
}

.section-subtitle {
  font-size:22px;
  color:#727781;
  margin-top:18px;
}

.coating-tabs {
  display:flex;
  gap:28px;
  justify-content:space-between;
  margin-bottom:var(--coating-swatches-gap);
}

.coating-tab {
  background:#fff;
  font-size:19px;
  font-weight:600;
  min-height:51px;
  border-radius:4px;
  flex:1;
  padding:12px 24px;
  white-space:nowrap;
  position:relative;
}

.coating-tab[aria-pressed=true] {
  background:transparent;
}

.coating-tab[aria-pressed=true]:after {
  content:"";
  height:3px;
  background:var(--ink);
  position:absolute;
  bottom:0;
  left:12px;
  right:12px;
}

.shade-heading {
  font-size:29px;
  margin:31px 0 27px;
}

.swatches {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:28px;
}

.swatch {
  min-height:203px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  border:1px solid #d1d3d7;
  background:#fff;
  border-radius:4px;
  padding:13px;
  font-size:18px;
}

.swatch[aria-pressed=true] {
  outline:2px solid #474a50;
  outline-offset:-2px;
}

.sample-row {
  display:flex;
  gap:14px;
  font-size:17px;
  line-height:1.4;
}

.color-sample {
  width:76px;
  height:76px;
  border:1px solid #92979e;
  display:grid;
  place-items:center;
  font:28px Roboto,sans-serif;
  color:#fff;
}

.ral-7024 {
  background:#474a50;
}

.ral-8017 {
  background:#513528;
}

.ral-9003 {
  background:#f7f7f5;
  color:#202226;
}

.ral-6005 {
  background:#204d3c;
}

.sample-check {
  visibility:hidden;
}

.swatch[aria-pressed=true] .sample-check {
  visibility:visible;
}

.ral-code {
  font-size:15px;
  color:#747c89;
  margin:17px 0 10px;
}

.swatch strong {
  font-size:20px;
}

.coating-pending {
  min-height:203px;
  padding:48px 20px;
  background:#fff;
  border:1px solid #d1d3d7;
}

.coating-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:40px;
  gap:20px;
}

.color-note {
  font-size:14px;
  color:#6c7179;
}

.button-white {
  background:#fff;
  min-width:238px;
  min-height:56px;
}

.site-footer {
  background:var(--graphite);
  color:#e8e8e8;
  padding:77px 0 64px;
  position:relative;
}

.site-footer>.container {
  position:relative;
}

.site-footer>.container:before {
  content:"";
  height:4px;
  width:76px;
  background:var(--orange);
  position:absolute;
  top:-77px;
  left:0;
}

.footer-grid {
  display:grid;
  grid-template-columns:1.52fr .9fr .9fr 1.08fr;
  gap:66px;
}

.site-footer h2 {
  font-size:29px;
  line-height:1.3;
  color:#fff;
  margin-bottom:24px;
}

.site-footer p,.site-footer a,.site-footer [role=link] {
  font-size:19px;
}

.site-footer .small {
  font-size:17px;
}

.muted {
  color:#c2c3c5;
}

.footer-discuss {
  margin-top:54px;
  margin-bottom:40px;
}

.footer-social {
  display:flex;
  justify-content:space-between;
  gap:15px;
  margin-bottom:33px;
}

.footer-grid nav>a,.footer-grid nav>[role=link] {
  display:block;
  margin-top:37px;
}

.underlined:after {
  content:"";
  display:block;
  width:38px;
  height:2px;
  background:var(--orange);
  margin-top:12px;
}

.footer-contact address {
  display:flex;
  flex-direction:column;
  gap:6px;
  margin:16px 0 24px;
}

.footer-contact address span,.footer-contact address a {
  font-size:17px;
}

.footer-contact .button {
  width:100%;
  margin:12px 0 33px;
}

.footer-sites {
  display:flex;
  justify-content:space-between;
  margin-top:33px;
}

.footer-bottom {
  display:grid;
  grid-template-columns:1.6fr 1.4fr 1.7fr;
  gap:40px;
  border-top:1px solid #818388;
  margin-top:44px;
  padding-top:43px;
}

.footer-bottom span,.site-footer .footer-bottom [role=link] {
  font-size:17px;
}

@media(min-width:1500px) {
  .container {
    transform:translateX(12px);
  }
  .coatings .container,.site-footer .container {
    transform:none;
    max-width:1418px;
  }
  .custom.container {
    transform:translateX(6px);
  }
}

@media(max-width:1499px) {
  .header-top {
    gap:35px;
  }
  .header-address,.header-phone {
    font-size:18px;
  }
  .header-nav {
    font-size:18px;
    gap:20px;
  }
  .category-list {
    column-gap:18px;
  }
  .custom h2 {
    margin-left:35px;
  }
  .custom-ivan { left:0; width:460px; bottom:-62px; }
  .custom-writer-artwork { top:-70px; right:35px; width:530px; }
  .custom-phone-link { left:46.5%; top:42.5%; width:51%; height:15%; }
  .custom-email-link { left:46.5%; top:59.5%; width:51%; height:11%; }
  .custom-address-link { left:47.5%; top:71.5%; width:51%; height:13%; }
  .footer-grid {
    gap:40px;
  }
  .coating-tab {
    padding-inline:14px;
    font-size:17px;
  }
}

@media(max-width:1100px) {
  .header-top {
    gap:20px;
  }
  .header-address {
    max-width:220px;
    white-space:normal;
  }
  .header-nav {
    gap:14px;
    font-size:16px;
  }
  .hero-copy { padding-left:42px; }
  .hero-copy h1 { font-size:52px; }
  .hero-actions { padding-left:42px; }
  .hero-artwork-slot { right:18px; top:-18px; }
  .custom { height:440px; }
  .custom h2 {
    margin-left:20px;
  }
  .custom-ivan { left:-30px; width:500px; bottom:-96px; }
  .custom-writer-artwork { top:-60px; right:20px; width:500px; }
  .custom-phone-link { left:46.5%; top:42.5%; width:51%; height:15%; }
  .custom-email-link { left:46.5%; top:59.5%; width:51%; height:11%; }
  .custom-address-link { left:47.5%; top:71.5%; width:51%; height:13%; }
  .coating-tabs {
    flex-wrap:wrap;
    gap:12px;
  }
  .swatches {
    grid-template-columns:repeat(2,1fr);
  }
  .footer-grid {
    grid-template-columns:repeat(2,1fr);
    gap:45px;
  }
  .footer-bottom {
    grid-template-columns:1fr 1.5fr 1fr;
  }
}

@media(max-width:700px) {
  :root {
    --section-title-size:28px;
    --home-section-before:32px;
    --home-heading-gap:20px;
    --coating-swatches-gap:20px;
  }
  body {
    font-size:17px;
  }
  .container,.custom {
    width:calc(100% - 32px);
  }
  .header-top {
    height:auto;
    min-height:120px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    padding-block:12px;
  }
  .header-address {
    font-size:14px;
    max-width:none;
    grid-row:2;
  }
  .header-phone {
    font-size:15px;
    gap:7px;
    justify-self:end;
    grid-column:2;
    grid-row:1;
  }
  .header-top .icon {
    width:20px;
    height:20px;
  }
  .callback {
    grid-column:2;
    font-size:14px;
    min-height:40px;
    padding:10px;
  }
  .header-nav {
    height:auto;
    min-height:88px;
    flex-wrap:wrap;
    gap:12px 18px;
    justify-content:flex-start;
    padding-block:10px;
    font-size:15px;
  }
  .header-nav .icon-button {
    width:34px;
    height:34px;
    padding:3px;
  }
  .hero {
    height:510px;
  }
  .hero-copy {
    width:100%;
    padding:32px 22px 0;
  }
  .hero-copy h1 {
    max-width:390px;
    font-size:40px;
    letter-spacing:-.5px;
  }
  .hero-benefits {
    margin-top:18px;
    font-size:17px;
  }
  .hero-benefits li:before {
    width:19px;
    height:19px;
    font-size:13px;
  }
  .hero-artwork-slot {
    top:158px;
    right:-110px;
    width:440px;
  }
  .hero-actions {
    bottom:0;
    height:78px;
    gap:10px;
    padding:12px 16px;
  }
  .hero-write,.hero-calculator {
    min-height:43px;
    padding:9px 13px;
    font-size:15px;
  }
  .catalog h2 {
    margin-inline:0;
  }
  .category-list {
    gap:24px 16px;
  }
  .category {
    min-width:0;
  }
  .category-art {
    height:320px;
    padding:5px;
  }
  .category-art>img {
    height:148px;
  }
  .category-sketch {
    height:145px;
    margin-top:0;
  }
  .category-sketch svg {
    width:120px;
    height:130px;
  }
  .category h3 {
    font-size:22px;
    margin:12px 0 0;
    min-height:54px;
  }
  .reveal-button {
    font-size:17px;
  }
  .custom {
    height:500px;
  }
  .custom h2 {
    margin:24px 16px 0;
  }
  .custom-ivan { bottom:-77px; left:50%; width:400px; transform:translateX(-50%); }
  .custom-writer-artwork { top:42px; right:-155px; width:500px; }
  .custom-phone-link { left:46.5%; top:42.5%; width:51%; height:15%; }
  .custom-email-link { left:46.5%; top:59.5%; width:51%; height:11%; }
  .custom-address-link { left:47.5%; top:71.5%; width:51%; height:13%; }
  .coatings {
    padding-bottom:40px;
  }
  .section-subtitle {
    font-size:17px;
  }
  .coating-tabs {
    gap:10px;
  }
  .coating-tab {
    font-size:14px;
    min-height:44px;
    padding:10px;
  }
  .shade-heading {
    font-size:25px;
  }
  .swatches {
    gap:14px;
  }
  .swatch {
    padding:10px;
    min-height:210px;
  }
  .sample-row {
    font-size:12px;
    gap:8px;
  }
  .color-sample {
    width:44px;
    height:44px;
  }
  .swatch strong {
    font-size:16px;
  }
  .ral-code {
    font-size:13px;
  }
  .coating-bottom {
    flex-direction:column;
    align-items:flex-start;
    margin-top:24px;
  }
  .button-white {
    min-width:180px;
  }
  .site-footer {
    padding:45px 0;
  }
  .site-footer>.container:before {
    top:-45px;
  }
  .footer-grid {
    gap:32px 22px;
  }
  .site-footer h2 {
    font-size:23px;
  }
  .site-footer p,.site-footer a,.site-footer [role=link] {
    font-size:16px;
  }
  .footer-brand,.footer-contact {
    grid-column:1 / -1;
  }
  .footer-discuss {
    margin-top:25px;
    margin-bottom:20px;
  }
  .footer-social {
    max-width:350px;
    margin-bottom:20px;
  }
  .footer-grid nav>a,.footer-grid nav>[role=link] {
    margin-top:24px;
  }
  .footer-contact .button {
    max-width:350px;
  }
  .footer-sites {
    max-width:350px;
  }
  .footer-bottom {
    grid-template-columns:1fr;
    gap:20px;
    margin-top:32px;
    padding-top:28px;
  }
  .footer-bottom span,.site-footer .footer-bottom [role=link] {
    font-size:14px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
}

/* B11 customer corrections: a stable first-row sticky header and paper frame. */
html { scroll-padding-top:0; }
section[id],footer[id] { scroll-margin-top:100px; }
body { max-width:1600px; margin-inline:auto; box-shadow:0 0 18px #20222612; border-inline:1px solid #e4e4e4; }
html { background:#f3f3f1; }
.site-header { position:sticky; top:0; z-index:20; background:var(--graphite); color:#fff; }
.header-top-shell { position:relative; z-index:2; background:#fff; color:var(--ink); }
.header-top { gap:24px; }
.header-top .header-tools .icon { color:var(--ink); }
.header-tools { display:flex; gap:12px; margin-left:auto; }
.header-tools .icon-button { display:grid; place-items:center; }
.header-burger-slot { flex:0 0 44px; width:44px; }
.header-burger { flex-shrink:0; }
.header-nav-shell { background:var(--graphite); }
.header-nav { position:relative; }
.site-header.is-compact { top:0; background:#fff; }
.is-compact .header-top-shell { top:0; }
.is-compact .header-nav-shell { position:absolute; top:80px; left:0; right:0; box-shadow:0 5px 8px #0002; }
/* The header keeps the same document height across the scroll threshold. */
.site-header.is-compact { margin-bottom:var(--nav-height,62px); }
.container,.custom.container { transform:none; }
.hero { height:550px; }
.hero-artwork-slot { top:-20px; }
.review-note { font-size:16px; color:#62666c; padding:12px 0; }
.featured { padding-bottom:48px; }
.featured-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:18px; }
.featured-grid li { display:flex; flex-direction:column; gap:12px; min-width:0; border:1px solid var(--card-border); padding:16px; background:#fff; }
.featured-grid img { width:100%; height:180px; object-fit:contain; }
.featured-grid h3 { font:700 var(--product-title-size)/1.2 var(--font-heading); margin-top:16px; overflow-wrap:anywhere; }
.featured-grid p { font-size:14px; color:#62666c; margin-top:12px; }
.custom-sketch { position:absolute; left:120px; top:90px; width:480px; height:auto; opacity:.55; pointer-events:none; }
.swatch { min-height:180px; }
.sample-row { font-size:14px; gap:10px; }
.color-sample { width:54px; height:54px; flex-shrink:0; }
.swatch strong { font-size:18px; }
@media(min-width:1500px) { .container { transform:none; } .custom.container { transform:none; } }
@media(max-width:1100px) {
  .category-list,.featured-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .swatches { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .header-address { font-size:15px; }
  .header-phone { font-size:16px; }
  .header-tools { gap:2px; }
  .brand { flex-shrink:0; }
}
@media(max-width:700px) {
  .site-header { top:0; }
  .header-top-shell { top:0; }
  .header-top { display:flex; flex-wrap:wrap; min-height:80px; gap:8px; }
  .brand { width:90px; margin:0 auto 0 0; }
  .header-address { display:none; }
  .header-phone { font-size:13px; margin-left:auto; }
  .header-phone .icon { display:none; }
  .header-tools { margin-left:0; }
  .header-tools .icon-button { width:34px; }
  .header-nav { margin-top:0; }

  .is-compact .header-nav-shell { top:100%; }
  .hero { height:510px; }
  .category-list { grid-template-columns:1fr; }
  .featured-grid,.swatches { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .custom-sketch { left:-70px; top:140px; width:360px; }
}
@media(max-width:420px) {
  .featured-grid li { padding:10px; }
}

.ral-9005 { background:#202020; }
.ral-3005 { background:#632936; }
.ral-5005 { background:#275b94; }
.ral-1014 { background:#d8c79e; }
.ral-3009 { background:#80413b; }
.ral-3011 { background:#84362f; }
.ral-6002 { background:#457041; }
.ral-7004 { background:#989b9b; }
.ral-7035 { background:#c7cbca; }
.ral-9010 { background:#f3f1e7; }
.ral-5010 { background:#245580; }
/* Narrow-width resilience only; final Mobile Home awaits Desktop acceptance. */
@media(max-width:700px) {
  .hero { height:660px; }
  .hero-artwork-slot { top:250px; right:-50px; width:340px; }
  .custom { height:650px; }
  .custom-writer-artwork { top:70px; right:8px; width:calc(100% - 16px); }
  .custom-ivan { width:360px; bottom:-60px; }
  .custom-sketch { top:320px; }
}

.category-link { display: block; color: inherit; text-decoration: none; }
.category-link:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.category-sketch img { width: 100%; height: 100%; object-fit: contain; }

/* Whole-color links retain matching labels and contrast. */
.swatch {
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:flex-start;
  min-height:120px;
  padding:16px;
  color:#fff;
  text-decoration:none;
  border:1px solid #777;
}
.swatch .ral-code,.swatch strong { color:inherit; font:500 16px/1.35 var(--font-body); text-align:left; }
.swatch.ral-9003,.swatch.ral-1014,.swatch.ral-7004,.swatch.ral-7035,.swatch.ral-9010 { color:#202226; }
.swatch:focus-visible { outline:3px solid #111; outline-offset:3px; box-shadow:0 0 0 6px #fff; }
.site-footer>.container:before,.site-footer .underlined:after { content:none; }

/* SSR presents every active coating group; JS keeps the original single-panel layout. */
.is-enhanced ~ [data-coating-panel] .coating-group-heading { display:none; }
[data-coating-panel][hidden] { display:none; }
.coating-group-heading { margin:24px 0; }
.ral-neutral { background:#e0e0e0; color:#202226; }
.swatch { position:relative; isolation:isolate; }
/* The absolute containing block is inside the 1px border; clip the image to
   its 3px inner radius so it cannot paint across the rounded border corners. */
.swatch-image { position:absolute; inset:0; width:100%; height:100%; border-radius:3px; object-fit:cover; z-index:-1; }
.swatch.swatch-dark-text { color:#202226; }
.swatch.swatch-light-text { color:#fff; }
