/* Shared grey appearance for SILOVAR guest and dealer pages. */
body > .site-header, main > .transition, .home-grey-lower { background: #e3e3e3; }
body > .site-header .logo { mix-blend-mode: multiply; }

/* Visible section boundary on the experimental grey background. */
main > .transition { border-bottom: 1px solid #bfc3c0; }

/* Consistent boundaries between all home-page sections. */
body > .site-header, main > .hero, main > .transition { border-bottom: 1px solid #bfc3c0; }
main > .transition { border-top: 0; }
body > .site-footer { border-top: 1px solid #bfc3c0; }

/* Darker footer in the grey preview only. */
body > .site-footer { background: #b8b8b8; --muted: #414844; --green: #014e30; --line: #989e9a; border-top-color: #989e9a; }

/* Secondary accents, retaining the original section dimensions. */
.home-grey-lower .more-categories #all-categories {
 background: #eef3ef;
 color: #02623b;
 border: 1px solid #afc3b7;
 box-shadow: none;
 font-weight: 400;
}
.home-grey-lower .more-categories #all-categories:hover {
 background: #e1ebe4;
 border-color: #7eaa91;
}
main > .transition .brand-page-link { color: #02623b; font-weight: 400; }
.home-grey-lower #all-categories:focus-visible,
main > .transition .brand-page-link:focus-visible {
 outline: 2px solid #02623b;
 outline-offset: 4px;
}

/* Regular-weight hero actions and footer links in this variant only. */
main > .hero .actions .btn,
body > .site-footer a,
body > .site-footer nav > a,
body > .site-footer button { font-weight: 400; }

/* More visible navigation separators against the grey header. */
body > .site-header { --header-divider: #929d97; }
body > .site-header .header-tools .header-shop::before,
body > .site-header .header-tools .menu::before,
body > .site-header .nav > .header-search::after { background: var(--header-divider); }

/* A shared outline connects the category description with its catalogue action. */
.home-grey-lower .more-categories { background: transparent; border-color: var(--line); box-shadow: none; }

/* Slightly shorter brand strip; typography and logo dimensions stay intact. */
main > .transition { padding-top: 8px; padding-bottom: 8px; }

/* Guest header matches the shop's main header area, excluding its utility strip. */
html:not([data-site=shop]) body > .site-header:not(.dealer-ui-header) > .wrap { min-height: 164px; }
@media(min-width:651px) and (max-width:1050px){
 html:not([data-site=shop]) body > .site-header:not(.dealer-ui-header) > .wrap { min-height: 187px; }
}
@media(max-width:650px){
 html:not([data-site=shop]) body > .site-header:not(.dealer-ui-header) > .wrap { min-height: 174px; }
}

body > .site-header .header-tools .header-shop { font-weight: 400; }

/* Inner pages keep their original white content; only the homepage uses grey. */
html:not([data-site=shop]) body:has(.home-grey-lower) {
 background: #e3e3e3;
 --line: #909d96;
 --line-strong: #75877d;
}
html:not([data-site=shop]) .site-header { --line-strong: #929d97; }
html:not([data-site=shop]) .site-header :is(.btn,.header-tools a,.header-tools button) { font-weight: 400; }
