/* ColorPop43 v3.2 HEADER HOTFIX 2026-11-10
   No changes to product/cart/checkout controllers or Twig behavior. */
@media (min-width: 1025px) {
  .ec-layoutRole__header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    min-height: 84px !important;
    height: auto !important;
    padding: 15px clamp(22px, 3vw, 64px) !important;
    gap: clamp(14px, 2vw, 32px) !important;
  }
  .ec-layoutRole__header > .ec-headerRole {
    display: flex !important;
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .ec-layoutRole__header .cp-logo-role {
    display: flex !important;
    width: 100% !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: clamp(16px, 2vw, 38px) !important;
  }
  .ec-layoutRole__header .ec-headerRole__title { flex: 0 0 auto !important; }
  .ec-layoutRole__header .cp-primary-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: clamp(12px, 1.4vw, 24px) !important;
  }
  .ec-layoutRole__header .cp-primary-nav a { white-space: nowrap !important; }
  .ec-layoutRole__header > .ec-headerNaviRole {
    display: flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(12px, 1.6vw, 25px) !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .ec-layoutRole__header .ec-headerNaviRole__left,
  .ec-layoutRole__header .ec-headerNaviRole__right,
  .ec-layoutRole__header .ec-headerNav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .ec-layoutRole__header .ec-headerNav { gap: 12px !important; }
  .ec-layoutRole__header .ec-headerNav__item { width: auto !important; white-space: nowrap !important; }
  .ec-layoutRole__header .ec-headerNaviRole__search { margin: 0 !important; display: block !important; }
  /* Original category menu is duplicated by the new SHOP/COLLECTIONS nav in the header.
     Hide it only in header; category links on other pages remain intact. */
  .ec-layoutRole__header > .ec-categoryNaviRole,
  .ec-layoutRole__header > .ec-itemNav { display: none !important; }
}
@media (min-width: 1025px) and (max-width: 1399px) {
  .ec-layoutRole__header .cp-primary-nav { gap: 13px !important; }
  .ec-layoutRole__header .ec-headerNaviRole__nav { display: none !important; }
  .ec-layoutRole__header .ec-headerSearch__keyword { width: 145px !important; }
}
@media (max-width: 1024px) {
  .ec-layoutRole__header {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 64px !important;
    height: auto !important;
    padding: 12px 4% !important;
    gap: 10px !important;
  }
  .ec-layoutRole__header > .ec-headerRole {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .ec-layoutRole__header .cp-logo-role { display: flex !important; align-items: center !important; }
  .ec-layoutRole__header .cp-primary-nav { display: none !important; }
  .ec-layoutRole__header > .ec-headerNaviRole {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
  }
  .ec-layoutRole__header .ec-headerNaviRole__right { width: auto !important; }
  .ec-layoutRole__header .ec-headerNaviRole__search,
  .ec-layoutRole__header .ec-headerNaviRole__nav { display: none !important; }
  .ec-layoutRole__header > .ec-categoryNaviRole,
  .ec-layoutRole__header > .ec-itemNav { display: none !important; }
}
