/** Shopify CDN: Minification failed

Line 709:0 Unexpected "}"

**/
/* =========================================================
   UNITED GLOBAL SOLAR - CUSTOM HEADER
   Uses Shopify page-width layout. No max-width rules.
   ========================================================= */

.header-wrapper {
  background: #eef4fb;
  color: #29313b;
}

.header.page-width {
  box-sizing: border-box;
  /* Keep Shopify/Dawn's native .page-width sizing and gutters. */
}

.section-header {
  z-index: 100;
}

/* =========================================================
   DESKTOP
   ========================================================= */

@media screen and (min-width: 990px) {

  /* Shopify page-width controls the content area */
  .header.page-width {
    position: relative;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 150px minmax(320px, 1fr) 300px;
    grid-template-rows: 104px;
    align-items: center;
    column-gap: 30px;
    height: 104px;
    min-height: 104px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: #eef4fb;
  }

  /* Logo */
  .header__heading {
    grid-column: 1;
    grid-row: 1;
    width: 145px;
    margin: 0;
    z-index: 3;
  }

  .header__heading-link,
  .header__heading-logo-wrapper,
  .header__heading-logo {
    display: block;
    width: 100%;
    height: auto;
  }

  .header__heading-logo {
    width: 145px;
  }

  /* Desktop search - visible input in the middle */
  .header > .header__search {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    display: block !important;
    width: 100%;
    height: 38px;
    margin: 0;
    z-index: 4;
  }

  .header > .header__search > details {
    display: block !important;
    width: 100%;
    height: 38px;
  }

  .header > .header__search > details > summary {
    display: none !important;
  }

  .header > .header__search .search-modal {
    position: static !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
  }

  .header > .header__search .search-modal__content {
    position: static !important;
    display: block !important;
    width: 100% !important;
    min-height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .header > .header__search predictive-search,
  .header > .header__search form.search,
  .header > .header__search .search-modal__form,
  .header > .header__search .field {
    display: block !important;
    width: 100% !important;
    height: 38px !important;
    margin: 0 !important;
  }

  .header > .header__search .field {
    position: relative;
  }

  .header > .header__search .search__input,
  .header > .header__search input[type="search"] {
    display: block !important;
    width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
    box-sizing: border-box;
    padding: 0 48px 0 16px !important;
    border: 1px solid #29313b !important;
    border-radius: 22px !important;
    background: transparent !important;
    color: #29313b !important;
    font-size: 12px !important;
    line-height: 38px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .header > .header__search .search__input::placeholder,
  .header > .header__search input[type="search"]::placeholder {
    color: #29313b !important;
    opacity: 1 !important;
  }

  .header > .header__search .search__button {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 42px !important;
    height: 38px !important;
    min-height: 38px !important;
    color: #29313b !important;
    background: transparent !important;
  }

  .header > .header__search .search__button svg {
    width: 20px;
    height: 20px;
  }

  /* Right utility area */
  .header__icons {
    grid-column: 3;
    grid-row: 1;
    position: relative;
    width: 100%;
    height: 104px;
    padding: 0 !important;
    margin: 0;
    display: block;
  }

  .desktop-localization-wrapper {
    display: none !important;
  }

  .header__icons::before {
    content: "To Speak to a U.S. Based Solar Expert";
    position: absolute;
    top: 23px;
    right: 0;
    color: #29313b;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
  }

  .header__icons::after {
    content: "1-332-291-6885";
    position: absolute;
    top: 40px;
    right: 0;
    color: #0d4698;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
  }

  .header__icon--account,
  .header__icon--cart {
    position: absolute !important;
    bottom: 12px;
    height: 20px !important;
    min-height: 20px !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center;
    color: #29313b !important;
    text-decoration: none;
  }

  .header__icon--account {
    right: 86px;
  }

  .header__icon--cart {
    right: 0;
  }

  .header__icon--account svg,
  .header__icon--cart svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }

  .header__icon--account::after {
    content: "Login / Register";
    display: inline-block;
    margin-left: 6px;
    color: #29313b;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    white-space: nowrap;
  }

  .header__icon--cart::after {
    content: "Cart";
    display: inline-block;
    margin-left: 6px;
    color: #29313b;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    white-space: nowrap;
  }

  .cart-count-bubble {
    top: -6px;
    right: -7px;
  }

  /* Full-width dark navigation background */
  .header__inline-menu {
    position: absolute;
    left: 50%;
    top: 104px;
    width: 100vw;
    height: 44px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    background: #29313b;
    z-index: 20;
  }

  /* Menu items remain inside Shopify page-width */
  .header__inline-menu > ul.page-width {
    width: 100%;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
    box-sizing: border-box;
  }

  .header__inline-menu > ul > li {
    position: relative;
  }

  .header__inline-menu .header__menu-item {
    height: 44px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
  }

  .header__inline-menu .header__menu-item span,
  .header__inline-menu .header__menu-item .header__active-menu-item,
  .header__inline-menu .header__menu-item:hover,
  .header__inline-menu .header__menu-item:hover span {
    color: #ffffff !important;
  }

  .header__inline-menu .header__menu-item svg {
    width: 10px;
    height: 10px;
    margin-left: 7px;
  }

  /* Mega menu opens on hover */
  .header__inline-menu details > .mega-menu__content,
  .header__inline-menu details > .header__submenu {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .header__inline-menu > ul > li:hover details > .mega-menu__content,
  .header__inline-menu > ul > li:hover details > .header__submenu,
  .header__inline-menu details[open] > .mega-menu__content,
  .header__inline-menu details[open] > .header__submenu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mega-menu__content {
    position: absolute !important;
    left: 50% !important;
    top: 44px;
    width: 100vw;
    box-sizing: border-box;
    padding: 28px 0 32px !important;
    background: #ffffff !important;
    border: 0;
    border-top: 1px solid #e4e7eb;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .10);
    transform: translateX(-50%) translateY(-6px);
  }

  .header__inline-menu > ul > li:hover details > .mega-menu__content,
  .header__inline-menu details[open] > .mega-menu__content {
    transform: translateX(-50%) translateY(0);
  }

  .mega-menu__list.page-width {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 28px;
  }

  .ugs-mega-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #29313b;
  }

  .ugs-mega-card__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 125px;
    background: #f6f8fa;
    border-radius: 6px;
    overflow: hidden;
  }

  .ugs-mega-card__image,
  .ugs-mega-card__image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  .ugs-mega-card__title {
    margin-top: 11px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
  }

  .ugs-mega-card:hover .ugs-mega-card__title,
  .ugs-mega-card__child-link:hover {
    color: #0d4698;
  }

  .ugs-mega-card__children {
    margin: 9px 0 0;
  }

  .ugs-mega-card__children li {
    margin: 0 0 6px;
  }

  .ugs-mega-card__child-link {
    color: #5b6570;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.35;
    text-decoration: none;
  }

  .ugs-mega-card__child-link--active {
    color: #0d4698;
  }

  .ugs-mobile-phone-bar {
    display: none;
  }

  /* Reserve the navigation row so the banner cannot sit underneath it. */
  .section-header {
    margin-bottom: 44px !important;
  }
}

@media screen and (max-width: 989px) {

  /* Native Shopify page-width controls the mobile content gutters. */
  .header.page-width {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 96px;
    align-items: center;
    width: 100%;
    height: 96px;
    min-height: 96px;
    box-sizing: border-box;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: #eef4fb;
  }

  /* Center logo exactly in the header, independent of icon widths. */
  .header__heading {
    position: absolute !important;
    left: 50%;
    top: 50%;
    width: 150px;
    margin: 0 !important;
    transform: translate(-50%, -50%);
    z-index: 2;
  }

  .header__heading-link,
  .header__heading-logo-wrapper,
  .header__heading-logo {
    display: block;
    width: 100%;
    height: auto;
  }

  .header__heading-logo {
    width: 150px;
  }

  /* Hamburger */
  header-drawer {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
    margin: 0 !important;
    z-index: 5;
  }

  .header__icon--menu {
    width: 36px;
    height: 36px;
  }

  .header__icon--menu svg {
    width: 23px;
    height: 23px;
    color: #171d24;
  }

  /* Mobile search icon: sits beside hamburger, never under the logo. */
  .header > .header__search {
    position: absolute !important;
    left: 48px;
    top: 50%;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    transform: translateY(-50%);
    z-index: 6;
  }

  .header > .header__search > details {
    width: 36px;
    height: 36px;
  }

  .header > .header__search > details > summary {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #171d24 !important;
    cursor: pointer;
  }

  .header > .header__search > details > summary svg {
    width: 25px;
    height: 25px;
  }

  .header > .header__search .search-modal {
    display: none !important;
  }

  .header > .header__search details[open] .search-modal {
    display: block !important;
  }

  /* Account + cart */
  .header__icons {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    justify-self: end;
    align-self: center;
    height: auto;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    z-index: 5;
  }

  .desktop-localization-wrapper {
    display: none !important;
  }

  .header__icons > details-modal,
  .header__icons > predictive-search {
    display: none !important;
  }

  .header__icon--account,
  .header__icon--cart {
    position: relative !important;
    color: #171d24 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    height: 36px !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .header__icon--account svg,
  .header__icon--cart svg {
    width: 29px;
    height: 29px;
    stroke-width: 1.8;
  }

  .header__icons::before,
  .header__icons::after,
  .header__icon--account::after,
  .header__icon--cart::after {
    display: none !important;
  }

  .header__inline-menu {
    display: none !important;
  }

  /* Compact phone bar */
  .ugs-mobile-phone-bar {
    display: flex;
    width: 100%;
    height: 56px;
    min-height: 56px;
    box-sizing: border-box;
    background: #0d4698;
    align-items: center;
    justify-content: center;
  }

  .ugs-mobile-phone-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 21px;
    font-weight: 500;
    line-height: 1;
  }

  .ugs-mobile-phone-icon,
  .ugs-mobile-phone-icon svg {
    width: 27px;
    height: 27px;
    display: block;
    color: #ffffff !important;
    fill: none;
    stroke: #ffffff !important;
  }

  .ugs-mobile-phone-icon svg * {
    stroke: #ffffff !important;
  }

  /* Mobile drawer */
  .menu-drawer {
    width: 100%;
    background: #ffffff;
  }

  .menu-drawer__inner-container {
    padding: 14px 18px 24px;
  }

  .menu-drawer__menu-item {
    min-height: 50px;
    padding: 14px 0 !important;
    border-bottom: 1px solid #e5e7eb;
    color: #29313b;
    font-size: 15px;
    font-weight: 500;
  }

  .menu-drawer__submenu .menu-drawer__menu-item {
    font-size: 13px;
    font-weight: 400;
  }

  /* Mobile visual menu cards */
  .ugs-mobile-menu-item {
    padding: 0;
  }

  .ugs-mobile-menu-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
    color: #29313b;
    border: 1px solid #e1e5ea;
    border-radius: 7px;
    overflow: hidden;
    background: #ffffff;
  }

  .ugs-mobile-menu-card__image-wrap {
    display: block;
    width: 100%;
    height: 120px;
    background: #f6f8fa;
  }

  .ugs-mobile-menu-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .ugs-mobile-menu-card__title {
    display: block;
    padding: 10px 11px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */


}

@media screen and (max-width: 480px) {

  .header.page-width {
    grid-template-rows: 92px;
    height: 92px;
    min-height: 92px;
  }

  .header__heading {
    width: 145px;
  }

  .header__heading-logo {
    width: 145px;
  }

  header-drawer {
    margin-left: 0 !important;
  }

  .header__icon--menu {
    width: 34px;
    height: 34px;
  }

  .header__icon--menu svg {
    width: 24px;
    height: 24px;
  }

  .header > .header__search {
    left: 45px;
    width: 34px !important;
    height: 34px !important;
  }

  .header > .header__search > details,
  .header > .header__search > details > summary {
    width: 34px !important;
    height: 34px !important;
  }

  .header > .header__search > details > summary svg {
    width: 24px;
    height: 24px;
  }

  .header__icon--account svg,
  .header__icon--cart svg {
    width: 27px;
    height: 27px;
  }

  .header__icons {
    gap: 7px;
  }

  .ugs-mobile-phone-bar {
    height: 54px;
    min-height: 54px;
  }

  .ugs-mobile-phone-bar a {
    font-size: 20px;
  }

  .ugs-mobile-phone-icon,
  .ugs-mobile-phone-icon svg {
    width: 24px;
    height: 24px;
  }
}


/* =========================================================
   FINAL HEADER OVERRIDES
   Desktop nav background = full viewport.
   Nav links = Shopify page-width.
   Desktop search = real Shopify search form.
   Mobile controls = compact and separated from centered logo.
   ========================================================= */

.header-wrapper,
.header-wrapper > .header,
.section-header {
  overflow: visible !important;
}

@media screen and (min-width: 990px) {
  .header.page-width {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 150px minmax(300px, 1fr) 300px !important;
    column-gap: 28px !important;
    height: 104px !important;
    min-height: 104px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .ugs-desktop-search {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 50 !important;
  }

  .ugs-search-form {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 38px !important;
    margin: 0 !important;
  }

  .ugs-search-input {
    display: block !important;
    width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 46px 0 15px !important;
    margin: 0 !important;
    border: 1px solid #29313b !important;
    border-radius: 22px !important;
    outline: none !important;
    background: transparent !important;
    color: #29313b !important;
    font-size: 12px !important;
    line-height: 38px !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
  }

  .ugs-search-input::placeholder {
    color: #29313b !important;
    opacity: 1 !important;
  }

  .ugs-search-submit {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #29313b !important;
    cursor: pointer !important;
  }

  .ugs-search-submit svg {
    width: 20px !important;
    height: 20px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7 !important;
    stroke-linecap: round !important;
  }

  /* Do not render Dawn's modal search in the desktop icon group. */
  .header__icons > .header__search,
  .header__icons > details-modal.header__search {
    display: none !important;
  }

  /* Full viewport navigation background. */
  .header__inline-menu {
    position: absolute !important;
    left: 50% !important;
    top: 104px !important;
    width: 100vw !important;
    height: 44px !important;
    margin-left: -50vw !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    background: #29313b !important;
    z-index: 100 !important;
  }

  /* The menu links/content use Shopify's actual page-width class. */
  .header__inline-menu > ul.page-width {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
  }

  .header__inline-menu > ul.page-width > li {
    flex: 0 0 auto;
  }

  /* Prevent the navigation from covering the first banner pixels. */
  .section-header {
    margin-bottom: 44px !important;
  }
}

@media screen and (max-width: 989px) {
  .header.page-width {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 70px 1fr 70px !important;
    height: 92px !important;
    min-height: 92px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
  }

  /* True viewport-centering; icons cannot move the logo. */
  .header__heading {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 142px !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
    z-index: 2 !important;
  }

  .header__heading-logo {
    width: 142px !important;
    max-width: 142px !important;
  }

  header-drawer {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    margin: 0 !important;
    z-index: 10 !important;
  }

  .header__icon--menu {
    width: 34px !important;
    height: 34px !important;
  }

  .header__icon--menu svg {
    width: 23px !important;
    height: 23px !important;
  }

  /* Compact search icon immediately beside hamburger. */
  .ugs-mobile-search {
    position: absolute !important;
    left: 42px !important;
    top: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    transform: translateY(-50%) !important;
    color: #171d24 !important;
    text-decoration: none !important;
    z-index: 10 !important;
  }

  .ugs-mobile-search svg {
    width: 22px !important;
    height: 22px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7 !important;
    stroke-linecap: round !important;
  }

  .header__search {
    display: none !important;
  }

  .header__icons {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 2px !important;
    width: auto !important;
    z-index: 10 !important;
  }

  .header__icon--account,
  .header__icon--cart {
    width: 30px !important;
    min-width: 30px !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .header__icon--account svg,
  .header__icon--cart svg {
    width: 25px !important;
    height: 25px !important;
  }

  .ugs-mobile-phone-bar {
    height: 54px !important;
    min-height: 54px !important;
  }
}

@media screen and (max-width: 480px) {
  .header.page-width {
    height: 88px !important;
    min-height: 88px !important;
    grid-template-columns: 66px 1fr 66px !important;
  }

  .header__heading {
    width: 136px !important;
  }

  .header__heading-logo {
    width: 136px !important;
    max-width: 136px !important;
  }

  .ugs-mobile-search {
    left: 40px !important;
  }

  .header__icons {
    gap: 0 !important;
  }

  .header__icon--account,
  .header__icon--cart {
    width: 29px !important;
    min-width: 29px !important;
  }

  .ugs-mobile-phone-bar {
    height: 52px !important;
    min-height: 52px !important;
  }
}

/* =========================================================
   FINAL HEADER FIXES
   ========================================================= */

/* Keep the header content inside Shopify's native page-width. */
.header.page-width {
  box-sizing: border-box;
}

/* Prevent the header/nav from creating a dark strip below the header. */
.section-header {
  position: sticky !important;
  overflow: visible !important;
  z-index: 100;
}

.header-wrapper {
  position: relative;
  overflow: visible !important;
}

@media screen and (min-width: 990px) {

  /* Desktop header itself stays inside native Shopify page-width. */
  .header.page-width {
    position: relative !important;
    height: 104px !important;
    min-height: 104px !important;
    display: grid !important;
    grid-template-columns: 145px minmax(0, 1fr) 300px !important;
    column-gap: 28px !important;
    align-items: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
  }

  /* Desktop search: custom search form only. */
  .ugs-desktop-search {
    display: flex !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .ugs-search-form {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 38px !important;
    margin: 0 !important;
  }

  .ugs-search-input {
    display: block !important;
    width: 100% !important;
    height: 38px !important;
    box-sizing: border-box !important;
    padding: 0 46px 0 15px !important;
    margin: 0 !important;
    border: 1px solid #29313b !important;
    border-radius: 22px !important;
    background: transparent !important;
    color: #29313b !important;
    font-size: 12px !important;
    outline: none !important;
    -webkit-appearance: none !important;
  }

  .ugs-search-submit {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 42px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #29313b !important;
    cursor: pointer !important;
  }

  .ugs-search-submit svg {
    width: 20px !important;
    height: 20px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7 !important;
    stroke-linecap: round !important;
  }

  /* The desktop nav itself is page-width; only its background bleeds to viewport edges. */
  .header__inline-menu {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 104px !important;
    width: auto !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    background: transparent !important;
    z-index: 100 !important;
  }

  /* Full-screen background without changing the page-width of menu items. */
  .header__inline-menu::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 63%;
    width: 100vw;
    transform: translateX(-50%);
    background: #29313b;
    z-index: -1;
  }

  .header__inline-menu > ul.page-width {
    width: 100% !important;
    margin: 0 auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
    box-sizing: border-box !important;
  }

  .header__inline-menu > ul.page-width > li {
    flex: 0 0 auto !important;
    position: relative !important;
  }

  /* Mega menu: full viewport panel, page-width content inside it. */
  .header__inline-menu .mega-menu__content {
    position: absolute !important;
    top: 44px !important;
    left: 50% !important;
    width: 100vw !important;
    margin: 0 0 0 -50vw !important;
    padding: 28px 0 32px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 0 !important;
    border-top: 1px solid #e4e7eb !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .10) !important;
  }

  .header__inline-menu .mega-menu__list.page-width {
    width: 100% !important;
    margin: 0 auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
  }

  /* Reserve exactly the navigation row; no extra dark area. */
  .section-header {
    margin-bottom: 44px !important;
  }

  .header__icons {
    min-width: 0 !important;
  }
}

@media screen and (max-width: 989px) {

  /* Mobile: native page-width controls the content area. */
  .header.page-width {
    position: relative !important;
    width: auto !important;
    height: 88px !important;
    min-height: 88px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
  }

  /* Never show the desktop search bar on mobile. */
  .ugs-desktop-search,
  .header > .header__search,
  .header__search {
    display: none !important;
    visibility: hidden !important;
  }

  /* Left: hamburger + search icon, tightly grouped. */
  header-drawer {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    z-index: 10 !important;
  }

  .header__icon--menu {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .header__icon--menu svg {
    width: 22px !important;
    height: 22px !important;
    color: #1d2329 !important;
  }

  .ugs-mobile-search {
    position: absolute !important;
    left: 36px !important;
    top: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%) !important;
    color: #1d2329 !important;
    z-index: 11 !important;
  }

  .ugs-mobile-search svg {
    width: 21px !important;
    height: 21px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7 !important;
    stroke-linecap: round !important;
  }

  /* Center logo exactly in the mobile viewport. */
  .header__heading {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 136px !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
    z-index: 5 !important;
  }

  .header__heading-link,
  .header__heading-logo-wrapper,
  .header__heading-logo {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width:max-content;
  }

  .header__heading-logo {
    width: 136px !important;
  }

  /* Right: account + cart with almost no gap. */
  .header__icons {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10 !important;
  }

  .header__icon--account,
  .header__icon--cart {
    width: 29px !important;
    min-width: 29px !important;
    height: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #1d2329 !important;
  }

  .header__icon--account svg,
  .header__icon--cart svg {
    width: 24px !important;
    height: 24px !important;
  }

  /* Hide desktop navigation completely on mobile. */
  .header__inline-menu {
    display: none !important;
  }

  /* Compact phone strip. */
  .ugs-mobile-phone-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;
    background: #0d4698 !important;
  }

  .ugs-mobile-phone-bar a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
  }

  .ugs-mobile-phone-icon,
  .ugs-mobile-phone-icon svg {
    width: 25px !important;
    height: 25px !important;
    color: #ffffff !important;
    flex: 0 0 25px !important;
  }

  .ugs-mobile-phone-icon svg * {
    stroke: #ffffff !important;
  }
}

@media screen and (max-width: 480px) {
  .header.page-width {
    height: 84px !important;
    min-height: 84px !important;
  }

  .header__heading,
  .header__heading-logo {
    width: 130px !important;
  }

  .ugs-mobile-search {
    left: 35px !important;
  }

  .ugs-mobile-phone-bar {
    height: 52px !important;
    min-height: 52px !important;
  }

  .ugs-mobile-phone-bar a {
    font-size: 20px !important;
  }
}
