/* The editable header keeps its existing blocks. WooCommerce inserts account and mini-cart beside navigation. */
.nv-site-header .nv-announcement{min-height:26px;padding:4px 18px;font-size:9px;line-height:1.35;letter-spacing:.1em}
.nv-site-header .nv-header-main{display:grid!important;grid-template-columns:clamp(155px,14vw,190px) minmax(0,1fr) repeat(3,40px) auto;align-items:center!important;column-gap:clamp(8px,1vw,17px);min-height:68px;padding:8px clamp(18px,3vw,48px);margin:0!important}
.nv-site-header .nv-header-main>.nv-header-brand{grid-column:1;grid-row:1;justify-self:start;min-width:0}
.nv-site-header .nv-header-brand .wp-block-site-logo{width:auto!important;max-width:100%}
.nv-site-header .nv-header-brand .wp-block-site-logo img{display:block;width:100%!important;max-width:190px;max-height:57px!important;height:auto;object-fit:contain}
.nv-site-header .nv-header-main>.nv-primary-nav{grid-column:2;grid-row:1;justify-self:center;min-width:0;max-width:100%;margin:0!important;font-size:11px;letter-spacing:.045em}
.nv-site-header .nv-primary-nav .wp-block-navigation__container{gap:clamp(9px,1vw,18px)!important;flex-wrap:nowrap}
.nv-site-header .nv-primary-nav .wp-block-navigation-item__content{min-height:40px}
.nv-site-header .nv-header-main>.nv-header-actions{display:contents!important}
.nv-site-header .nv-header-search{grid-column:3;grid-row:1;justify-self:center;position:relative;display:block;width:40px;max-width:none;margin:0!important}
.nv-site-header .nv-header-search .wp-block-search__inside-wrapper{display:block;overflow:visible;border:0;border-radius:0;background:transparent}
.nv-site-header .nv-header-search .wp-block-search__button{display:grid;place-items:center;width:40px;min-width:40px;height:40px;margin:0;padding:9px;border:0;border-radius:50%;background:transparent;color:var(--green);cursor:pointer}
.nv-site-header .nv-header-search .wp-block-search__button:hover,.nv-site-header .wc-block-customer-account__link:hover,.nv-site-header .wc-block-mini-cart__button:hover{background:#143d2b0d}
.nv-site-header .nv-header-search .wp-block-search__button svg{width:21px;height:21px}
.nv-site-header.nv-search-ready .nv-header-search .wp-block-search__input{display:none}
.nv-site-header.nv-search-ready .nv-header-search.nv-search-open .wp-block-search__input{display:block;position:absolute;right:0;top:calc(100% + 9px);z-index:1005;width:min(320px,calc(100vw - 32px));height:44px;padding:10px 14px;border:1px solid #d8cbb6;border-radius:9px;background:#fffdf7;box-shadow:0 9px 24px #12322521;color:var(--ink);font-size:14px}
.nv-site-header .nv-header-main>.wp-block-woocommerce-customer-account{grid-column:4;grid-row:1;justify-self:center;margin:0}
.nv-site-header .wc-block-customer-account__link{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;color:var(--green)}
.nv-site-header .wc-block-customer-account__visual,.nv-site-header .wc-block-customer-account__account-icon{display:block;width:22px;height:22px}
.nv-site-header .nv-header-main>.wc-block-mini-cart{grid-column:5;grid-row:1;justify-self:center;margin:0}
.nv-site-header .wc-block-mini-cart__button{position:relative;display:grid;place-items:center;width:40px;height:40px;padding:0;border-radius:50%;color:var(--green)}
.nv-site-header .wc-block-mini-cart__icon{width:23px;height:23px}
.nv-site-header .wc-block-mini-cart__badge:not([hidden]){position:absolute;top:1px;right:0;min-width:16px;height:16px;padding:0 3px;border-radius:99px;background:var(--red);color:#fff;font-size:10px;line-height:16px;text-align:center}
.nv-site-header .nv-header-actions>.wp-block-buttons{grid-column:6;grid-row:1;justify-self:end;margin:0}
.nv-site-header .nv-header-cta .wp-block-button__link{min-height:40px;padding:11px 17px;border-radius:9px;font-size:10px;line-height:1.35;letter-spacing:.075em;box-shadow:none}
.nv-site-header .nv-header-cta .wp-block-button__link:hover{transform:none;box-shadow:0 5px 14px #a92c2324}
.nv-site-header .nv-header-search:focus-within .wp-block-search__inside-wrapper{outline:0}
.nv-site-header .nv-header-search .wp-block-search__button:focus-visible,.nv-site-header .nv-header-search .wp-block-search__input:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

/* Design 2 retains its dark overlay treatment while using the same compact row. */
.nv-design-2 .nv-site-header .nv-header-main{min-height:72px;padding-top:9px;padding-bottom:9px}
.nv-design-2 .nv-site-header .nv-header-brand .wp-block-site-logo img{max-height:57px!important}
.nv-design-2 .nv-site-header .nv-header-search .wp-block-search__button,.nv-design-2 .nv-site-header .wc-block-customer-account__link,.nv-design-2 .nv-site-header .wc-block-mini-cart__button{color:#fff7e8}
.nv-design-2 .nv-site-header .nv-header-search .wp-block-search__button:hover,.nv-design-2 .nv-site-header .wc-block-customer-account__link:hover,.nv-design-2 .nv-site-header .wc-block-mini-cart__button:hover{background:#ffffff1b}

@media(max-width:1199px){
  .nv-site-header .nv-header-main,.nv-design-2 .nv-site-header .nv-header-main{grid-template-columns:minmax(0,1fr) repeat(4,40px)!important;column-gap:8px;min-height:66px;padding:8px 18px}
  .nv-site-header .nv-header-main>.nv-primary-nav{grid-column:5;grid-row:1;justify-self:center}
  .nv-site-header .nv-header-search{grid-column:2}
  .nv-site-header .nv-header-main>.wp-block-woocommerce-customer-account{grid-column:3}
  .nv-site-header .nv-header-main>.wc-block-mini-cart{grid-column:4}
  .nv-site-header .nv-header-actions>.wp-block-buttons{display:none!important}
  .nv-site-header .nv-primary-nav .wp-block-navigation__responsive-container-open{display:grid!important;place-items:center;width:40px;height:40px;padding:0}
  .nv-site-header .nv-primary-nav .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
  .nv-site-header .nv-header-brand .wp-block-site-logo img{max-width:170px;max-height:52px!important}
  .nv-site-header.nv-search-ready .nv-header-search.nv-search-open .wp-block-search__input{position:absolute;top:calc(100% + 4px);right:18px;left:18px;width:auto}
  .nv-site-header .nv-header-main{position:relative}
  .nv-site-header .nv-header-search{position:static}
}
@media(max-width:480px){
  .nv-site-header .nv-announcement{min-height:26px;padding:4px 12px;font-size:8px}
  .nv-site-header .nv-header-main,.nv-design-2 .nv-site-header .nv-header-main{grid-template-columns:minmax(0,1fr) repeat(4,36px)!important;column-gap:4px;min-height:62px;padding:7px 12px}
  .nv-site-header .nv-header-brand .wp-block-site-logo img{max-width:min(155px,39vw);max-height:47px!important}
  .nv-site-header .nv-header-search,.nv-site-header .nv-header-search .wp-block-search__button,.nv-site-header .wc-block-customer-account__link,.nv-site-header .wc-block-mini-cart__button,.nv-site-header .nv-primary-nav .wp-block-navigation__responsive-container-open{width:36px;min-width:36px;height:36px}
  .nv-site-header.nv-search-ready .nv-header-search.nv-search-open .wp-block-search__input{left:12px;right:12px}
}
