/* Loaded only on interior pages. The completed portal is independent. */
body #page .compact-catalog[data-october6-catalog] h1.catalog-title { grid-column:1 / calc(-1 - var(--filter-count)); min-width:0; }
body #page .compact-catalog[data-october6-catalog] .catalog-status { grid-column:1 / -1; grid-row:2; }
body #page .compact-catalog[data-october6-catalog] .catalog-status:not(:has(.reset-filters:not([hidden]),[data-all-accessories]:not([hidden]))) { display:contents; }
body #page .compact-catalog[data-october6-catalog] #products-container .material-heading { margin:12px 0; padding:0; }
@media(max-width:1399px) {
 body #page .compact-catalog[data-october6-catalog] h1.catalog-title { grid-column:1 / -1; }
 body #page .compact-catalog[data-october6-catalog] .catalog-status { grid-row:3; }
}
/* Remove the obsolete icon-fitting offsets and balance the shorter Contact form. */
body #page .contact-visit-layout { margin-block:18px 40px; width:100%; }
body #page .visit-information { padding-top:46px; padding-right:20px; border-right:1px solid #575552; align-self:start; }
body #page .visit-map { padding-top:46px; }
body #page .visit-map iframe { height:350px; }
body #page #visit-form .floating-field textarea { height:var(--contact-message-height,160px); }
body #page .visit-information .gallery-heading-slot { height:auto; margin-bottom:28px; }
body #page .visit-information .gallery-heading-slot h2 { position:static; width:auto; max-width:100%; margin:0; font-size:clamp(22px,1.65vw,28px); line-height:1.25; text-align:center; }
body #page .visit-information .contact-details::before { content:none; }
body #page #primary.contact-visit-page .visit-information p a,
body #page #colophon.standard-footer .footer-information-pair a { font-family:'Manrope',sans-serif; font-weight:400; }
@media(max-width:1000px) {
 body #page .visit-map { padding-top:0; }
 body #page .visit-map iframe { height:280px; }
}
@media(max-width:650px) {
 body #page .contact-visit-layout { margin-block:10px 20px; }
 body #page .visit-information { padding:0; border:0; }
 body #page .visit-information .gallery-heading-slot h2 { font-size:28px; }
}
body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom { width:100%; max-width:none; }
/* A full-width dark bottom bar, with socials centered independently of copyright. */
body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom .columns-container {
 display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center;
 width:100%; max-width:none; margin:0; padding:8px 1.5vw; gap:14px; min-height:44px;
 background:var(--cactus-content-background); box-sizing:border-box;
}
body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom .columns-container::before,
body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom .columns-container::after { content:none; }
body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom .column { width:auto; min-width:0; padding:0; margin:0; }
body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom .social-networks { grid-column:2; justify-self:center; }
body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom .social-networks ul { display:flex; align-items:center; gap:8px; padding:0; margin:0; }
body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom .social-networks li { margin:0; padding:0; }
body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom .social-networks a { display:flex; align-items:center; justify-content:center; width:28px; min-width:28px; height:28px; min-height:28px; padding:0; font-size:18px; }
body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom .social-networks i { font-size:18px; }
body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom .copyright { grid-column:3; text-align:right; }
body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom .copyright :is(p,a) { font-size:12px; line-height:1.5; }
body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom .copyright p { margin:0; }
body #page #colophon.contact-bottom-only { background:var(--cactus-content-background)!important; }
@media(max-width:1279px) {
 body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom .columns-container { grid-template-columns:1fr; gap:8px; padding:12px 4%; }
 body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom .offset { display:none; }
 body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom .social-networks { grid-column:1; grid-row:1; }
 body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom .copyright { grid-column:1; grid-row:2; text-align:center; }
 body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom .social-networks a { width:36px; min-width:36px; height:36px; min-height:36px; }
}
@media(max-width:599px) {
 body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom .columns-container { padding:14px 16px; }
 body #page #colophon:is(.standard-footer,.contact-bottom-only) .footer-bottom .social-networks a { width:44px; min-width:44px; height:44px; min-height:44px; }
}

/* Catalog-only top rhythm; keep the approved material separators independent. */
body #page .compact-catalog .catalog-toolbar,
body #page .compact-catalog[data-october6-catalog] .catalog-toolbar { min-height:0; row-gap:12px; }
@media(min-width:1400px) {
 body #page .compact-catalog .catalog-filters { align-items:center; }
 body #page .compact-catalog .choices__inner { min-height:36px; padding-block:2px; }
 body #page .compact-catalog .choices__list--single { padding-block:1px; }
}
body #page .compact-catalog .catalog-status:not(:has(.reset-filters:not([hidden]),[data-all-accessories]:not([hidden]))) { display:contents; }
