/* Mason8z storefront identity; parent theme and other stores stay independent. */
.announcement,
.site-header {
 background: #000 !important;
 color: #fff;
 border-color: #000;
}
.announcement { --announcement-bg: #000; }
.site-header .header-inner { min-height: 166px; }
.site-header .site-brand .custom-logo-link {
 display: flex;
 align-items: center;
 justify-content: center;
 margin-inline: auto;
 width: 130px;
 max-width: 100%;
 background: #000;
}
.site-header .site-brand .custom-logo {
 display: block;
 width: 130px;
 height: 132px;
 max-width: 100%;
 max-height: none;
 object-fit: contain;
}
.site-header .primary-navigation > ul > li > a,
.site-header .header-commerce > a,
.site-header .header-tools > button,
.site-header .header-search > summary {
 color: #fff;
}
.site-header .primary-navigation > ul > li > .submenu-toggle { color: #fff; }
.site-header .primary-navigation > ul > li > a:is(:hover, :focus-visible) { color: #efb7b7; }
.site-header .header-icon,
.site-header .menu-toggle::before { filter: brightness(0) invert(1); }
.site-header :is(.header-search > summary, .header-commerce > a, .menu-toggle):hover { background: #242424; }
.site-header :is(a, button, summary):focus-visible { outline-color: #ed5858; }
/* Search and collection panels retain the parent theme's readable light surface. */
.site-header .search-panel { color: #24211e; }
@media (max-width: 1023px) {
 body .site-header .header-inner { min-height: 112px !important; height: 112px !important; }
 .site-header .site-brand .custom-logo-link { width: 90px; }
 .site-header .site-brand .custom-logo { width: 90px; height: 92px; }
 .site-header .header-inner .header-tools .header-search { top: 34px; }
 .site-header .header-inner .header-search .search-panel { top: calc(var(--vh-header-top, 0px) + var(--vh-announcement-height, 36px) + 112px); }
}
.woocommerce-checkout .site-header .header-inner { min-height: 100px; }
.woocommerce-checkout .site-header .site-brand .custom-logo { width: 82px; height: 84px; }

.home-content .mason-collection { margin: 48px auto 56px; max-width: 1320px; }
.mason-collection-heading { text-align: center; margin-bottom: 26px; }
.mason-collection-heading::before { content: ""; display: block; width: 150px; height: 2px; background: #211816; margin: 0 auto 16px; }
.mason-collection-heading h2 { font-size: clamp(23px, 2vw, 30px); font-weight: 600; line-height: 1.3; margin: 0; }
.mason-collection-action { display: flex; justify-content: center; margin-top: 24px; }
.mason-collection-action a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 26px; border-radius: 6px; background: #170d0c; color: #fff; font-size: 14px; text-decoration: none; }
.mason-collection-action a:is(:hover, :focus-visible) { background: #3a2220; }
.mason-collection-empty { min-height: 100px; display: grid; place-items: center; color: #746d66; font-size: 14px; border: 1px solid #e5dfd7; border-radius: 14px; background: #fffdfa; }
.mason-collection-empty p { margin: 0; }
.home-content .mason-collection--rail .woocommerce ul.products { display: flex; flex-wrap: nowrap; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 12px 4px 20px; }
.home-content .mason-collection--rail .woocommerce ul.products li.product { flex: 0 0 calc((100% - 80px) / 6); width: calc((100% - 80px) / 6); min-width: 160px; margin: 0; scroll-snap-align: start; }
@media (max-width: 767px) {
 .home-content .mason-collection { margin-block: 32px 40px; }
 .mason-collection-heading { margin-bottom: 20px; }
 .mason-collection-heading::before { width: 100px; }
 .home-content .mason-collection--rail .woocommerce ul.products li.product { flex-basis: 46%; width: 46%; min-width: 0; }
}
