.rwc-header{background:#fff!important;color:#2e2f38!important;border-bottom:1px solid #e5e8ef;margin:0!important;padding:0!important;font-family:Roboto,sans-serif}
.rwc-header-inner{max-width:1320px;margin:auto;padding:18px 24px;display:flex;align-items:center;gap:30px}
.rwc-header .rwc-brand{display:flex;flex-shrink:0}.rwc-header .rwc-brand img{width:170px;height:58px;object-fit:contain;display:block}
.rwc-header .rwc-main-nav{display:flex;align-items:center;gap:6px;margin-left:auto}
.rwc-header a{font-family:Roboto,sans-serif!important;color:#2e2f38!important;text-transform:none!important;text-decoration:none!important;letter-spacing:normal!important}
.rwc-header .rwc-main-nav a{font-size:15px!important;font-weight:500;line-height:1.4;padding:12px 10px;border-radius:8px;white-space:nowrap}
.rwc-header .rwc-main-nav a:hover{color:var(--wp--preset--color--rockwalls-blue,#3f5da3)!important;background:#f2f5fb}
.rwc-header .rwc-cart-link{display:flex;align-items:center;gap:8px;border:1px solid #dce2ee;border-radius:10px;padding:11px 14px;font-size:15px!important;font-weight:500;min-height:44px;box-sizing:border-box}
.rwc-header svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rwc-header .rwc-menu-toggle{display:none;width:44px;height:44px;padding:10px;background:var(--wp--preset--color--rockwalls-blue,#3f5da3);border:0;border-radius:10px;color:#fff;cursor:pointer}
.rwc-header .rwc-mobile-menu[hidden]{display:none!important}.rwc-header .rwc-mobile-menu{border-top:1px solid #e5e8ef;padding:12px 24px 24px;background:#fff}
.rwc-mobile-menu nav{display:grid;gap:4px}.rwc-header .rwc-mobile-menu nav a{padding:13px 12px;font-size:16px!important;border-radius:8px;background:#f7f8fc;font-weight:500}
.rwc-mobile-menu form{margin:18px 0!important}.rwc-mobile-menu label{display:block;font-size:14px;margin-bottom:8px}.rwc-mobile-menu form>div{display:flex;gap:8px}.rwc-mobile-menu input[type=search]{min-width:0;flex:1;width:100%;border:1px solid #dce2ee;border-radius:8px;padding:12px;font:16px Roboto,sans-serif}
.rwc-mobile-menu button[type=submit]{background:var(--wp--preset--color--rockwalls-blue,#3f5da3);color:#fff;border:0;border-radius:8px;padding:10px 16px;font:500 14px Roboto,sans-serif}.rwc-contact-link{display:block;font-size:17px!important;font-weight:500;padding:8px 0}
.rwc-header a:focus-visible,.rwc-header button:focus-visible{outline:3px solid #849ed7;outline-offset:3px}
footer.wp-block-template-part{background:#111827!important;color:#e5eaf3!important}
footer.wp-block-template-part>.wp-block-group{background:#111827!important;color:#e5eaf3!important}
footer.wp-block-template-part p,footer.wp-block-template-part a,footer.wp-block-template-part li{color:#dbe3f0!important}
footer.wp-block-template-part h2,footer.wp-block-template-part h3,footer.wp-block-template-part h4,footer.wp-block-template-part .wp-block-site-title{color:#fff!important}
footer.wp-block-template-part a:hover{color:#fff!important;text-decoration:underline!important}
footer.wp-block-template-part .wp-block-columns{max-width:1320px;margin-left:auto!important;margin-right:auto!important;padding:0 24px!important}
footer.wp-block-template-part p{line-height:1.7!important}footer.wp-block-template-part a{display:inline-block;padding:3px 0;font-size:15px!important}footer.wp-block-template-part .wp-block-social-links a{padding:0}
@media(max-width:1050px){.rwc-header-inner{gap:16px}.rwc-header .rwc-main-nav{display:none}.rwc-header .rwc-cart-link{margin-left:auto}.rwc-header .rwc-menu-toggle{display:flex;align-items:center;justify-content:center}}
@media(max-width:600px){.rwc-header-inner{padding:12px 16px;gap:10px}.rwc-header .rwc-brand img{width:140px;height:48px}.rwc-header .rwc-cart-link{padding:10px;min-height:44px}.rwc-cart-link span{display:none}.rwc-header .rwc-mobile-menu{padding:12px 16px 20px}.single-product #content div.product{padding:0!important}footer.wp-block-template-part>.wp-block-group{padding-top:36px!important;padding-bottom:36px!important}footer.wp-block-template-part .wp-block-columns{padding:0 20px!important;gap:28px!important}}

/* Stable header controls on pages with and without the catalogue stylesheet. */
body:not(.wp-admin) .rwc-header .rwc-header-inner>a.rwc-cart-link{width:120px;flex:0 0 120px;height:48px;min-height:48px;padding:0 14px!important;justify-content:center;box-sizing:border-box;font:500 14px/20px Roboto,Arial,sans-serif!important}
body:not(.wp-admin) .rwc-header .rwc-main-nav>a{font-size:14px!important;line-height:20px!important}
.rwc-main-nav{position:relative;isolation:isolate}
.rwc-main-nav .rwc-nav-indicator{position:absolute;z-index:0;left:0;top:5px;height:calc(100% - 10px);border-radius:9px;background:var(--wp--preset--color--rockwalls-blue,#3f5da3);box-shadow:0 3px 10px #3f5da31a;pointer-events:none;opacity:0;transition:transform .24s cubic-bezier(.22,.61,.36,1),width .24s cubic-bezier(.22,.61,.36,1),opacity .16s ease;will-change:transform,width}
.rwc-main-nav .rwc-nav-indicator.rwc-no-transition{transition:none!important}
.rwc-main-nav.rwc-nav-ready>a{position:relative;z-index:1;background:transparent!important;box-shadow:none!important;transition:color .18s ease}
.rwc-header .rwc-main-nav.rwc-nav-ready>a:not(.rwc-is-highlighted){color:#2e2f38!important}
.rwc-header .rwc-main-nav.rwc-nav-ready>a.rwc-is-highlighted{color:#fff!important}
@media(max-width:600px){body:not(.wp-admin) .rwc-header .rwc-header-inner>a.rwc-cart-link{width:48px;flex:0 0 48px;padding:0!important}}
@media(prefers-reduced-motion:reduce){.rwc-main-nav .rwc-nav-indicator{transition:none!important}.rwc-main-nav.rwc-nav-ready>a{transition:none!important}}


/* Navigation stays at the top while scrolling; offsets keep it below the WordPress admin bar. */
body:not(.wp-admin) .rwc-header{position:sticky;top:0;z-index:500;box-shadow:0 1px 0 #e5e8ef,0 6px 18px rgba(23,35,52,.06)}
body.admin-bar:not(.wp-admin) .rwc-header{top:32px}
@media(max-width:782px){body.admin-bar:not(.wp-admin) .rwc-header{top:46px}}
@media(max-width:600px){body.admin-bar:not(.wp-admin) .rwc-header{top:0}}
html{scroll-padding-top:84px}
/* Phone number: plain text next to the cart on wide screens, a square call button like the cart on narrower ones. */
.rwc-header .rwc-header-phone{display:flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;height:48px;font:500 15px/20px Roboto,Arial,sans-serif!important;white-space:nowrap;border-radius:10px;transition:color .18s ease,background-color .18s ease}
.rwc-header .rwc-header-phone svg{width:18px;height:18px;color:var(--wp--preset--color--rockwalls-blue,#3f5da3)}
.rwc-header .rwc-header-phone:hover{color:var(--wp--preset--color--rockwalls-blue,#3f5da3)!important}
@media(max-width:1239px){.rwc-header .rwc-header-phone{width:48px;border:1px solid #dce2ee;box-sizing:border-box}.rwc-header .rwc-header-phone span{display:none}.rwc-header .rwc-header-phone svg{width:20px;height:20px}.rwc-header .rwc-header-phone:hover{background:#f2f5fb}}
@media(max-width:1050px){.rwc-header .rwc-header-phone{margin-left:auto}.rwc-header .rwc-header-phone+.rwc-cart-link{margin-left:0!important}}
@media(max-width:600px){.rwc-header .rwc-header-phone{width:44px;height:44px}}
/* Phone in landscape: the open menu scrolls inside instead of running off the screen. */
.rwc-header .rwc-mobile-menu:not([hidden]){max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain}
