/* The installed header provider supplies the actual menu, controls and WooCommerce actions. */
.htw-site-header {font-family:Arial, sans-serif; color:#161616; top:-40px;}
.htw-site-header__announcement {height:40px; display:flex; justify-content:center; align-items:center; padding:0 20px; background:#471721; color:#fff; font-size:13px; line-height:1.2;}
.htw-site-header__main {background:#fff;}
.htw-site-header__logo img {width:100%; height:auto;}
.htw-site-header__actions .htw-site-header__account-icon {display:block;}
.htw-site-header__actions .htw-site-header__account-label {order:2;}
.htw-site-header__actions .htw-site-header__search-toggle {order:-2;}
.htw-site-header__actions .htw-site-header__account {order:-1;}
.htw-site-header__actions .htw-site-header__cart-link {font-size:0;}
.htw-site-header__actions .htw-site-header__cart-count {font-size:10px;}
.htw-site-header__actions .htw-site-header__icon {width:24px;height:24px;}
@media (min-width:1101px) {
 .htw-site-header--two-row .htw-site-header__main {grid-template-rows:66px 49px;padding:0 32px;}
 .htw-site-header--two-row .htw-site-header__logo {width:320px;max-width:35vw;}
 .htw-site-header--two-row .htw-site-header__desktop-nav {border:0;margin:0 -32px;padding:0 32px;}
 .htw-site-header--two-row .htw-site-header__primary-list {justify-content:flex-start;gap:25px;min-height:49px;}
 .htw-site-header__primary-list > li > a {font-size:16px;font-weight:400;text-transform:none;}
 .htw-site-header__search-toggle {width:250px;justify-content:space-between!important;border-bottom:1px solid #999!important;color:#637083!important;}
 .htw-site-header__search-toggle span {font-size:0;}
 .htw-site-header__search-toggle span:after {content:'Search Cozy Earth';font-size:13px;}
 .htw-site-header__desktop-nav .htw-site-header__mega-root > .sub-menu:not([hidden]) {width:min(684px,70vw);right:auto;min-height:calc(100vh - 155px);max-height:calc(100vh - 155px);grid-template-columns:repeat(3,minmax(0,1fr));padding:20px 32px;gap:20px 30px;box-shadow:0 0 0 100vmax rgba(0,0,0,.12);}
 .htw-site-header__desktop-nav .htw-site-header__mega-root > .sub-menu li > a {font-size:14px;line-height:1.3;min-height:34px;font-weight:400;}
}
@media (max-width:1100px) {
 .htw-site-header {top:-36px;}
 .htw-site-header__announcement {height:36px;font-size:12px;}
 .htw-site-header__main {grid-template-columns:minmax(0,1fr) auto auto;gap:8px;min-height:54px;padding:0 16px;}
 .htw-site-header__logo {grid-column:1;grid-row:1;justify-self:start;width:114px;}
 .htw-site-header__actions {grid-column:2;grid-row:1;gap:14px;}
 .htw-site-header__actions .htw-site-header__icon {width:22px;height:22px;}
 .htw-site-header__mobile-toggle {grid-column:3;grid-row:1;min-width:24px;min-height:44px;}
 .htw-site-header.is-ready .htw-site-header__mobile-nav {inset:90px 0 0 0;width:100%;max-height:calc(100vh - 90px);box-shadow:none;}
 .htw-site-header.is-ready .htw-site-header__drawer-backdrop {background:#fff;}
 .htw-site-header__drawer-bar {min-height:0;padding:0;border:0;}
 .htw-site-header__drawer-title {display:none;}
 .htw-site-header__drawer-back:not([hidden]) {margin:0 20px;}
 .htw-site-header__drawer-close {position:fixed;right:12px;top:40px;z-index:205;min-width:44px;min-height:44px;background:#fff!important;}
 .htw-site-header__drawer-viewport {padding:0;}
 .htw-site-header__mobile-nav .htw-site-header__drawer-viewport li {padding:0 28px;border-bottom:1px solid #ccc;}
 .htw-site-header__mobile-nav .htw-site-header__drawer-viewport li > a {min-height:56px;font-size:16px;font-weight:400;}
 .htw-site-header__mobile-nav .htw-site-header__submenu-toggle {font-size:18px;}
}
/* The slot wrapper, rather than its only child, must own stickiness. */
[data-htw-header-slot-root] {position:sticky;top:-40px;z-index:100;}
[data-htw-header-slot-root] .htw-site-header {position:relative;top:auto;}
@media (max-width:1100px) {[data-htw-header-slot-root] {top:-36px;}}
@media (min-width:783px) {body.admin-bar [data-htw-header-slot-root] {top:-8px;}}
@media (min-width:601px) and (max-width:782px) {body.admin-bar [data-htw-header-slot-root] {top:10px;}}
/* Keep the header visible above the mobile menu's white backdrop. */
@media (min-width:1101px) {.htw-site-header--two-row .htw-site-header__logo img {max-width:none;width:100%;}}
@media (max-width:1100px) {
 .htw-site-header .htw-site-header__announcement {font-size:10px;line-height:1;white-space:nowrap;}
 .htw-site-header.is-ready .htw-site-header__drawer-backdrop {inset:90px 0 0;}
}
@media (max-width:1100px) {
 .htw-site-header__mobile-nav .htw-site-header__drawer-viewport li > .sub-menu:not([hidden]) {position:static;display:block;flex:0 0 calc(100% + 56px);width:calc(100% + 56px);margin:0 -28px;padding:0 0 0 16px;box-shadow:none;}
}
@media (max-width:1100px) {
 .htw-site-header__drawer-bar .htw-site-header__drawer-close {right:14px;min-width:30px;width:30px;}
}
@media (min-width:1101px) {.htw-site-header--two-row .htw-site-header__logo a {width:100%;}}
[data-htw-header-slot-root].cozy-nav-pinned {position:fixed;left:0;right:0;width:100%;top:-40px;z-index:100;}
@media (max-width:1100px) {[data-htw-header-slot-root].cozy-nav-pinned {top:-36px;}}
/* The slot plugin uses display:contents by default, which has no sticky/fixed box. */
[data-htw-header-slot-root] {display:block;}
