/* Size the wide illustrated logo to the space left by the mobile controls. */
@media (max-width: 1024px) {
  #mobile-header .site-main-header-inner-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; align-items: center; min-height: 76px; }
  #mobile-header .site-container { width: 100%; max-width: 100%; padding-inline: 16px; }
  #mobile-header .site-header-main-section-left,
  #mobile-header .site-header-main-section-left .site-header-item { min-width: 0; max-width: 100%; }
  #mobile-header .site-header-main-section-left .site-header-item { margin: 0; }
  #mobile-header .mobile-site-branding { width: clamp(140px, 52vw, 240px); max-width: 100%; min-width: 0; }
  #mobile-header .mobile-site-branding .brand { display: block; width: 100%; max-width: 100%; }
  #mobile-header .mobile-site-branding img.custom-logo { display: block; width: 100%; max-width: 100%; height: auto; max-height: 60px; object-fit: contain; }
  #mobile-header .site-header-main-section-right { display: flex; flex: none; gap: 4px; min-width: 92px; }
  #mobile-header .site-header-main-section-right .site-header-item { flex: none; margin: 0; }
  #mobile-header .header-cart-button,
  #mobile-header .menu-toggle-open { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px; color: #292723; background: transparent; }
  #mobile-header .menu-toggle-icon,
  #mobile-header .menu-toggle-icon .kadence-svg-iconset { display: inline-flex; }
  #mobile-header .menu-toggle-icon svg { display: block; width: 26px; height: 26px; }
}
.maelys-footer-wave { width: 100%; height: clamp(48px, 7vw, 100px); margin-top: 24px; overflow: hidden; line-height: 0; }
.maelys-footer-wave svg { display: block; width: 100%; height: 100%; }
body #colophon.site-footer { border-top: 0 !important; }
/* Shared, compact navigation and a centred footer matching the portfolio structure. */
#masthead .maelys-primary-nav ul { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; list-style: none; }
#masthead .maelys-primary-nav a { display: inline-block; padding-block: 10px; color: #292723; font: 500 14px/1.5 'Helvetica Neue', Helvetica, Arial, sans-serif; text-decoration: none; }
#masthead .maelys-primary-nav a:is(:hover, [aria-current]) { color: #874127; text-decoration: underline; text-underline-offset: 6px; }
#colophon.maelys-footer { background: #fff; color: #292723; }
.maelys-footer-inner { max-width: 1000px; margin: auto; padding: 32px 20px 36px; text-align: center; font: 14px/1.6 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.maelys-footer-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; list-style: none; margin: 0; padding: 0; }
.maelys-footer-nav a { display: inline-block; padding: 8px 0; text-decoration: none; }
#colophon.maelys-footer a:hover { color: #874127; text-decoration: underline; }
.maelys-footer-socials { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 12px 0; }
.maelys-footer-socials a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
.maelys-footer-socials img { display: block; width: 20px; height: 20px; }
.maelys-footer-copyright { margin: 0; }
.maelys-footer-policies { display: flex; justify-content: center; gap: 20px; margin-top: 12px; font-size: 12px; }
