/* The active provider retains WordPress menu and WooCommerce behavior. */
.htw-site-header { --ys-ink:#292645; color:var(--ys-ink); background:#fff; font-family:Arial,sans-serif; position:relative; }
.htw-site-header__announcement { background:#292645; color:#fff; min-height:47px; padding:14px 40px; font-size:15px; line-height:19px; }
.htw-site-header__main { position:relative; max-width:1440px; margin:0 auto; min-height:120px; padding:40px 64px 0; grid-template-columns:minmax(200px,1fr) auto minmax(150px,1fr); gap:24px; }
.htw-site-header__main:before { content:'Shop Yarns, Free Patterns & More'; position:absolute; top:0; left:54px; right:54px; height:40px; display:flex; align-items:center; border-bottom:1px solid #eee; font-size:13px; line-height:1; }
.htw-site-header__logo { width:200px; }
.htw-site-header__logo a, .htw-site-header__logo a.htw-site-header__text-logo { display:block; width:200px; height:31px; max-height:none; overflow:hidden; background:url('logo.svg') center/contain no-repeat; font-size:0; line-height:0; }
.htw-site-header__logo img { opacity:0; }
.htw-site-header__primary-list { gap:22px; }
.htw-site-header__menu li > a { font-size:15px; font-weight:400; }
.htw-site-header__menu li > a:hover { color:#8641b6; text-decoration:none; }
.htw-site-header__actions { gap:18px; }
.htw-site-header__account-label, .htw-site-header__search-toggle > span { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.htw-site-header__account-icon { display:block; }
.htw-site-header__icon { width:25px; height:25px; stroke-width:1.4; }
.htw-site-header.is-ready .htw-site-header__cart-link { position:absolute; width:1px; height:1px; min-height:0; overflow:hidden; clip:rect(0,0,0,0); }
.htw-site-header__panel { color:#292645; background:#fff; }
@media (min-width:1101px) {
 .htw-site-header__desktop-nav .htw-site-header__mega-root > .sub-menu:not([hidden]) { padding:36px 64px; grid-template-columns:repeat(5,minmax(0,1fr)); box-shadow:0 12px 18px #0002; }
 .htw-site-header__desktop-nav .sub-menu li > a { font-size:14px; min-height:34px; }
}
@media (max-width:1100px) {
 .htw-site-header__announcement { min-height:60px; display:flex; align-items:center; justify-content:center; padding:10px 36px; font-size:14px; line-height:20px; }
 .htw-site-header__main { min-height:67px; padding:0 16px; grid-template-columns:44px minmax(0,1fr) auto; gap:4px; }
 .htw-site-header__main:before { display:none; }
 .htw-site-header__logo { width:160px; }
 .htw-site-header__logo a, .htw-site-header__logo a.htw-site-header__text-logo { width:160px; height:28px; }
 .htw-site-header__actions { gap:12px; }
 .htw-site-header__account { display:none !important; }
 .htw-site-header.is-ready .htw-site-header__mobile-nav { top:60px; width:100%; max-height:calc(100vh - 60px); box-shadow:none; }
 .htw-site-header__drawer-bar { min-height:67px; }
 .htw-site-header__drawer-title { height:28px; background:url('logo.svg') center/160px auto no-repeat; font-size:0; }
 .htw-site-header__mobile-nav .htw-site-header__drawer-viewport { padding:0; }
 .htw-site-header__mobile-nav .htw-site-header__drawer-viewport li { padding:0 20px; border-bottom:1px solid #eee; }
 .htw-site-header__mobile-nav .htw-site-header__drawer-viewport li > a { min-height:56px; font-size:15px; }
}
/* Override the existing provider's text-logo placeholder at its actual specificity. */
.htw-site-header .htw-site-header__logo a.htw-site-header__text-logo { display:block; width:200px; height:31px; max-height:none; background:url('logo.svg') center/contain no-repeat; }
.htw-site-header .htw-site-header__logo a.htw-site-header__text-logo::before { display:none; content:none; }
@media(max-width:1100px) {
 .htw-site-header .htw-site-header__logo:has(.htw-site-header__text-logo) { width:160px; }
 .htw-site-header .htw-site-header__logo a.htw-site-header__text-logo { width:160px; height:28px; }
}
