/* Header measurements observed in Chrome, 27 September 2026.
   Local navigation only. The non-official notice remains above the reference layout. */
.demo-notice {
  min-height: 26px;
  padding: 5px 12px;
  font-size: 11px;
  line-height: 16px;
}
.utility-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  min-height: 40px;
  padding: 0 max(24px, calc((100vw - 1440px) / 2 + 24px));
  border: 0;
  background: #f5f5f5 !important;
  color: #000 !important;
}
.utility-bar .utility-left,
.utility-bar .utility-links { display: flex; }
.utility-bar a { font-size: 12px; font-weight: 400; line-height: 16px; }
.utility-bar .utility-left a { text-decoration: none; }
.utility-bar .utility-links a { gap: 8px; text-decoration: underline; }
.utility-bar .utility-links .icon { width: 18px; height: 18px; fill: none; }
.utility-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  width: 100%;
  min-height: 40px;
  padding: 0 16px;
  background: #000;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-align: center;
  white-space: normal;
  overflow: visible;
}
.utility-promo p { margin: 0; }
.utility-promo a { margin: 0 0 0 5px; color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.utility-promo button { display: grid; place-items: center; width: 32px; height: 40px; padding: 0; color: #fff; font: 24px/1 Arial, sans-serif; flex-shrink: 0; }
.site-header { position: relative; }
.main-header {
  display: grid;
  grid-template-columns: 85px 164px minmax(160px, 1fr) 184px;
  grid-template-rows: 62px;
  align-items: center;
  column-gap: 14px;
  height: 62px;
  min-height: 62px;
  padding: 0 24px;
}
.main-header .brand,
.main-header .brand svg { width: 85px; }
.main-header .brand { height: 40px; min-height: 40px; align-items: center; justify-content: center; }
.main-header .brand svg { max-height: 30px; }
.header-shop-links { display: flex; align-items: center; height: 100%; font-size: 16px; font-weight: 700; line-height: 20px; }
.header-shop-links > a,
.header-shop-links > button { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 16px; border-radius: 8px; white-space: nowrap; color: #000; }
.header-shop-links > button { width: 95px; gap: 8px; }
.header-shop-links > a { width: 69px; }
.header-shop-links > a:hover,
.header-shop-links > button:hover,
.header-shop-links > button[aria-expanded="true"] { background: #f5f5f5; }
.header-shop-toggle .icon { width: 14px; height: 14px; stroke-width: 1.8; }
.main-header .search-area { grid-column: 3; grid-row: 1; margin-left: 36px; }
.main-header .search-form { height: 40px; border: 1px solid transparent; border-radius: 24px; background: #f5f5f5; box-shadow: none; }
.main-header .search-form:focus-within { border-color: #000; }
.main-header .search-form input { height: 38px; padding-left: 16px; font-size: 14px; font-weight: 400; line-height: 20px; }
.main-header .search-form input::placeholder { color: #636466; }
.main-header .search-submit { height: 38px; min-width: 44px; padding: 8px 14px; }
.main-header .search-submit .icon { width: 20px; height: 20px; }
.main-header .search-clear { height: 38px; }
.main-header .header-actions { grid-column: 4; grid-row: 1; gap: 26px; justify-content: flex-end; }
.main-header .header-action { width: auto; height: 44px; min-height: 44px; padding: 0; gap: 8px; font-size: 14px; font-weight: 400; }
.main-header .header-action .action-label { display: inline; text-decoration: none; }
.main-header .header-action .icon { width: 24px; height: 24px; stroke-width: 1.5; }
.main-header #cart-open .action-label { display: none; }
.main-header .cart-count { min-width: 16px; height: 16px; font-size: 10px; }
.nav-wrap { position: static; }
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 50px;
  min-height: 50px;
  padding: 0 24px;
  border-bottom: 1px solid #eee;
  overflow-x: auto;
  scrollbar-width: none;
  text-transform: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav > a { display: flex; align-items: center; flex-shrink: 0; min-height: 44px; padding: 0; white-space: nowrap; }
.main-nav > a:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-header .mega-menu { top: 62px; max-height: min(680px, calc(100dvh - 168px)); overflow-y: auto; overscroll-behavior: contain; }
.site-header.is-scrolled { height: 112px; }
.site-header.is-scrolled .main-header { height: 62px; }
.site-header.is-scrolled .mega-menu { top: 62px; }
.site-header.is-scrolled .menu-toggle { display: none; }
.mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 12px 32px; }
.mega-column details { border: 0; padding: 0; }
.mega-column details summary { min-height: 44px; padding: 12px 0; cursor: pointer; font-size: 16px; font-weight: 700; }
.mega-column details > div { padding-left: 12px; border-left: 1px solid #ddd; }
.mega-column > h3 a { font-size: inherit; font-weight: inherit; color: #000; padding: 0; }
.mega-column a { overflow-wrap: anywhere; }

@media (max-width: 1100px) and (min-width: 768px) {
  .main-header { grid-template-columns: 85px 164px minmax(120px, 1fr) 100px; gap: 10px; }
  .main-header .search-area { margin-left: 8px; }
  .main-header .header-actions { gap: 12px; }
  .main-header #account-open .action-label { display: none; }
  .main-nav { justify-content: flex-start; }
}
@media (max-width: 767px) {
  .utility-bar { height: 40px; min-height: 40px; padding: 0 24px; }
  .utility-bar a { font-size: 11px; }
  .utility-bar .utility-links .icon { width: 16px; height: 16px; }
  .utility-promo { gap: 4px; min-height: 40px; padding: 0 4px; font-size: 12px; line-height: 17px; }
  .utility-promo button { width: 28px; }
  .main-header { position: relative; grid-template-columns: 32px 85px minmax(0, 1fr) 64px; grid-template-rows: 60px; height: 60px; min-height: 60px; gap: 8px; padding: 0 16px; }
  .main-header .menu-toggle { display: grid; grid-column: 1; grid-row: 1; position: static; place-items: center; width: 32px; height: 44px; min-height: 44px; padding: 6px; margin: 0; }
  .main-header .menu-toggle::after { content: none; }
  .main-header .brand { grid-column: 2; grid-row: 1; justify-self: center; }
  .header-shop-links { display: none; }
  .main-header .search-area { position: static; grid-column: 3; grid-row: 1; margin: 0; width: 100%; min-width: 0; }
  .main-header .search-results { top: 60px; left: 16px; right: 16px; width: auto; }
  .main-header .search-form { height: 40px; }
  .main-header .search-form input { min-width: 0; padding-left: 12px; font-size: 13px; }
  .main-header .search-submit { min-width: 30px; padding: 8px 6px; }
  .main-header .search-submit .icon { width: 18px; height: 18px; }
  .main-header .search-clear { min-width: 22px; width: 22px; padding: 0; }
  .main-header .header-actions { grid-column: 4; grid-row: 1; gap: 0; justify-self: end; }
  .main-header .header-action { width: 32px; justify-content: center; }
  .main-header #account-open .action-label { display: none; }
  .main-nav { display: flex; height: 50px; min-height: 50px; padding: 0 24px; justify-content: flex-start; gap: 24px; font-size: 13px; }
  .main-nav > a { min-height: 44px; }
  .site-header .mega-menu { top: 60px; max-height: calc(100dvh - 176px); padding: 20px 16px; }
  .mega-grid { grid-template-columns: 1fr; gap: 0; }
  .mega-column details summary { border-bottom: 1px solid #eee; }
  .site-header.is-scrolled { height: 110px; }
  .site-header.is-scrolled .main-header { height: 60px; }
  .site-header.is-scrolled .mega-menu { top: 60px; max-height: calc(100dvh - 60px); }
  .site-header.is-scrolled .menu-toggle { display: grid; }
}
@media (max-width: 359px) {
  .main-header { grid-template-columns: 28px 70px minmax(0, 1fr) 56px; gap: 5px; padding-inline: 12px; }
  .main-header .brand, .main-header .brand svg { width: 70px; }
  .main-header .menu-toggle, .main-header .header-action { width: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .main-nav { scroll-behavior: auto; }
}
/* Current September 29 Customer Appreciation announcement treatment. */
.utility-promo, .promo-banner { background-color: #e50935; }

/* ========================================================
   GNC RIGHT-SIDE ACCOUNT FLYOUT DRAWER & LOYALTY ICON
   ======================================================== */
.main-header #account-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: transparent;
  border: none;
}
.main-header #account-open .loyalty-member-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: none;
}

dialog#account-dialog.account-flyout-drawer {
  position: fixed !important;
  inset: 0 0 0 auto !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 380px !important;
  max-width: 100vw !important;
  height: 100% !important;
  max-height: 100dvh !important;
  border: none !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.2) !important;
  transform: translateX(100%) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  z-index: 2147483647 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  color: #111 !important;
}

dialog#account-dialog.account-flyout-drawer[open] {
  transform: translateX(0) !important;
}

dialog#account-dialog.account-flyout-drawer::backdrop {
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(2px) !important;
}

.account-flyout-drawer .user-panel-content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
  box-sizing: border-box;
}

.account-flyout-drawer .user-flyout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.account-flyout-drawer .user-header {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.3px;
}

.account-flyout-drawer .account-flyout-close-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  transition: opacity 0.2s;
}

.account-flyout-drawer .account-flyout-close-icon:hover {
  opacity: 0.7;
}

.account-flyout-drawer .user-panel {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Guest View */
.account-flyout-drawer .sign-in-info {
  margin-bottom: 24px;
}

.account-flyout-drawer .sign-in-info > strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
}

.account-flyout-drawer .rewards-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-flyout-drawer .rewards-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: #222;
}

.account-flyout-drawer .rewards-benefits-list li .check-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #d31e25;
}

.account-flyout-drawer .user-cta-actions {
  margin-bottom: 16px;
}

.account-flyout-drawer .flyout-btn-signin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  background: #111;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  border-radius: 4px;
  text-transform: uppercase;
  transition: background 0.2s;
  box-sizing: border-box;
}

.account-flyout-drawer .flyout-btn-signin:hover {
  background: #333;
}

.account-flyout-drawer .create-account-wrap {
  text-align: center;
  font-size: 14px;
  color: #444;
  margin-bottom: 24px;
}

.account-flyout-drawer .create-account-wrap a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.account-flyout-drawer .flyout-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 16px 0;
  width: 100%;
}

.account-flyout-drawer .flyout-rewards-banner {
  display: flex;
  justify-content: center;
  padding: 12px 0;
}

.account-flyout-drawer .guest-rewards-join-logo {
  max-width: 100%;
  height: auto;
  display: block;
}

.account-flyout-drawer .user-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.account-flyout-drawer .user-links li a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  transition: color 0.2s;
}

.account-flyout-drawer .user-links li a:hover {
  color: #d31e25;
}

.account-flyout-drawer .user-links li.divider {
  border-bottom: 1px solid #eee;
  padding: 0;
}

/* Authenticated View */
.account-flyout-drawer .drawer-user-greeting {
  font-size: 22px;
  font-weight: 800;
  color: #111;
  margin: 0 0 20px;
}

.account-flyout-drawer .drawer-rewards-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 16px 14px;
  margin-bottom: 20px;
  background: #fff;
}

.account-flyout-drawer .ribbon-tag {
  background: #d31e25;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 6px 12px;
  display: inline-block;
  clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%, 8% 50%);
}

.account-flyout-drawer .drawer-rewards-metrics {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-flyout-drawer .rewards-counter {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.account-flyout-drawer .rewards-counter .pipe {
  margin: 0 4px;
  color: #999;
}

.account-flyout-drawer .manage-rewards-link {
  font-size: 12px;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.account-flyout-drawer .manage-rewards-link:hover {
  color: #d31e25;
}

