/* Customer-header contract: independent of each page's typography and CSS.
   Slot widths/order do not depend on active state, login text or React mounts. */
html { overflow-y: scroll; scrollbar-gutter: stable; }
body[data-cube-shell] { min-width: 0 !important; }
body[data-cube-shell] .ph-navbar-wrap:not(#cube-site-header),
body[data-cube-shell] [data-cube-legacy-header] { display: none !important; }
#cube-site-header, #cube-site-header * { box-sizing: border-box; }
#cube-site-header {
  position: sticky !important; top: 0 !important; inset-inline: 0 !important; z-index: 110 !important;
  width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; border-bottom: 1px solid rgba(37,39,34,.14) !important;
  background: rgba(247,243,237,.98) !important; color: #252722 !important;
  box-shadow: none !important; font: 400 14px/1.5 "Noto Sans KR","DM Sans",sans-serif !important;
  backdrop-filter: blur(12px);
}
#cube-site-header > .ph-container { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 clamp(18px,3.8vw,68px) !important; }
#cube-site-header .ph-navbar { display: grid !important; grid-template-columns: 160px minmax(0,1fr) 404px !important; gap: 16px !important; align-items: center !important; min-height: 84px !important; height: 84px !important; padding: 0 !important; margin: 0 !important; }
#cube-site-header a, #cube-site-header button { margin: 0; color: inherit; font: inherit; letter-spacing: 0; text-decoration: none; cursor: pointer; }
#cube-site-header .ph-brand-logo { display: flex !important; align-items: center !important; width: 160px !important; height: 42px !important; gap: 10px !important; margin: 0 !important; padding: 0 !important; white-space: nowrap; }
#cube-site-header .ph-brand-symbol { display: grid !important; place-items: center; width: 42px !important; height: 42px !important; flex: 0 0 42px !important; border: 1px solid rgba(83,103,90,.16); border-radius: 50%; background: #eef5ef; }
#cube-site-header .ph-brand-mark { width: 32px !important; height: 32px !important; display: block; }
#cube-site-header .ph-brand-titles { display: flex !important; flex-direction: column; gap: 3px; line-height: 1.3; }
#cube-site-header .ph-brand-name { font: 700 13px/1.3 "Noto Sans KR",sans-serif !important; letter-spacing: .08em !important; }
#cube-site-header .ph-brand-sub { display: block !important; margin: 0 !important; color: #90948d; font: 400 9px/1.3 "Noto Sans KR",sans-serif !important; letter-spacing: .12em !important; }
/* The long product label has its own slot; all four short labels, including FAQ,
   share 80px. Intrinsic grid width avoids a leftover slot after menu renames. */
#cube-site-header .ph-nav-links { display: grid !important; grid-template-columns: 96px repeat(4, 80px) !important; gap: 4px !important; justify-self: center; align-items: center; width: max-content !important; margin: 0 !important; padding: 0 !important; list-style: none; }
#cube-site-header .ph-nav-links::before, #cube-site-header .ph-nav-link-btn::before { display: none !important; }
#cube-site-header .ph-nav-links li { width: 100% !important; margin: 0 !important; padding: 0 !important; }
#cube-site-header .ph-nav-link-btn { display: flex !important; align-items: center; justify-content: center; width: 100% !important; height: 40px !important; min-height: 40px; padding: 0 4px !important; border: 1px solid transparent; border-radius: 999px; font: 500 12px/1.5 "Noto Sans KR",sans-serif !important; white-space: nowrap; }
#cube-site-header .ph-nav-link-btn[aria-current="page"] { background: #d7e5db !important; color: #252722 !important; }
#cube-site-header .ph-nav-actions { display: grid !important; grid-template-columns: 84px 124px 128px 44px !important; gap: 8px !important; align-items: center; width: 404px !important; height: 44px !important; margin: 0 !important; }
#cube-site-header .ph-nav-actions > * { min-width: 0; min-height: 40px; grid-column: auto !important; grid-row: 1 !important; }
#cube-site-header .ph-account-button, #cube-site-header .ph-btn-kakao-nav { display: block !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100% !important; height: 40px !important; padding: 0 8px !important; border: 1px solid rgba(37,39,34,.24); border-radius: 999px; font: 500 11px/38px "Noto Sans KR",sans-serif !important; text-align: center; background: #fffdf8; }
#cube-site-header [data-admin-slot][hidden] { display: block !important; visibility: hidden !important; pointer-events: none; }
#cube-site-header .cube-header-cart, #cube-site-header .ph-hamburger-btn { display: inline-flex !important; align-items: center; justify-content: center; width: 44px !important; height: 44px !important; padding: 0 !important; border: 1px solid rgba(37,39,34,.14); border-radius: 50%; background: transparent; }
#cube-site-header .ph-hamburger-btn { display: none !important; }
#cube-site-header .cube-header-cart { position: relative; }
#cube-site-header #detail-bag-count { position: absolute; top: -3px; right: -3px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px; border: 1px solid #fffdf8; border-radius: 999px; background: #53675a; color: #fffdf8; font: 600 11px/1 "Noto Sans KR",sans-serif; pointer-events: none; }
#cube-site-header #detail-bag-count[hidden] { display: none; }
#cube-site-header .cube-header-activity { position: relative; width: 84px; height: 40px; }
#cube-site-header .cube-activity-toggle { display: flex; align-items: center; justify-content: center; gap: 5px; width: 84px; height: 40px; padding: 0 6px; border: 1px solid rgba(37,39,34,.24); border-radius: 999px; background: #fffdf8; font: 500 11px/1.5 "Noto Sans KR",sans-serif; white-space: nowrap; }
#cube-site-header .cube-activity-toggle[aria-expanded="true"] { background: #d7e5db; }
#cube-site-header .cube-activity-toggle svg { flex: 0 0 12px; }
#cube-site-header .cube-activity-panel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 120; width: 204px; padding: 8px; border: 1px solid #dce1d8; border-radius: 12px; background: #fffdf8; box-shadow: 0 12px 28px #2527221a; }
#cube-site-header .cube-activity-panel[hidden] { display: none !important; }
#cube-site-header .cube-activity-panel nav { display: grid; gap: 2px; }
#cube-site-header .cube-activity-panel a { display: flex !important; align-items: center; min-height: 44px; width: 100%; padding: 10px 12px !important; border: 0; border-radius: 8px; text-align: left; font: 500 13px/1.5 "Noto Sans KR",sans-serif !important; }
#cube-site-header .cube-activity-panel [data-admin-slot][hidden] { display: none !important; }
#cube-site-header :is(.cube-activity-panel,.cube-header-mobile-extra) a[aria-current="page"] { background: #d7e5db; }
#cube-site-header .cube-header-cart svg, #cube-site-header .ph-hamburger-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
#cube-site-header a:hover, #cube-site-header button:hover { color: #252722; background-color: #e6eee7; }
#cube-site-header a:focus-visible, #cube-site-header button:focus-visible { outline: 3px solid #53675a; outline-offset: 2px; }
#cube-site-header #cube-header-mobile { position: absolute; top: 100%; inset-inline: 0; max-height: calc(100dvh - 88px); overflow-y: auto; padding: 12px clamp(18px,3.8vw,68px) 20px; background: #f7f3ed; border-bottom: 1px solid #dce1d8; box-shadow: 0 12px 20px #25272218; }
#cube-site-header #cube-header-mobile[hidden] { display: none !important; }
#cube-site-header #cube-header-mobile:not([hidden]) { display: block !important; }
#cube-site-header .cube-header-mobile-primary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
#cube-site-header .cube-header-mobile-primary a, #cube-site-header .cube-header-mobile-extra a { display: flex; align-items: center; min-height: 44px; padding: 10px 8px; border: 0; border-radius: 8px; font: 500 13px/1.5 "Noto Sans KR",sans-serif; }
#cube-site-header .cube-header-mobile-extra { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid #dce1d8; margin-top: 8px; padding-top: 8px; }
#cube-site-header .cube-header-mobile-account { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 12px; }
@media (max-width:1280px) {
  #cube-site-header .ph-navbar { grid-template-columns: 160px 1fr !important; }
  #cube-site-header .ph-nav-links { display: none !important; }
  #cube-site-header .ph-nav-actions { grid-template-columns: 84px 124px 128px 44px 44px !important; width: 456px !important; justify-self: end; }
  #cube-site-header .ph-hamburger-btn { display: inline-flex !important; }
}
@media (max-width:768px) {
  #cube-site-header > .ph-container { padding-inline: 16px !important; }
  #cube-site-header .ph-navbar { min-height: 68px !important; height: 68px !important; gap: 8px !important; }
  #cube-site-header .ph-brand-logo { height: 36px !important; }
  #cube-site-header .ph-brand-symbol { width: 36px !important; height: 36px !important; flex-basis: 36px !important; }
  #cube-site-header .ph-brand-mark { width: 28px !important; height: 28px !important; }
  #cube-site-header .ph-brand-sub { display: none !important; }
  #cube-site-header .ph-nav-actions { grid-template-columns: 44px 44px !important; width: 96px !important; }
  #cube-site-header .ph-nav-actions > .ph-account-button, #cube-site-header .ph-nav-actions > .ph-btn-kakao-nav, #cube-site-header .ph-nav-actions > .cube-header-activity { display: none !important; }
  #cube-site-header #cube-header-mobile { max-height: calc(100dvh - 72px); padding-inline: 16px; }
}
/* Supporting quote handoff styles remain after removing the duplicate bar. */
.cube-local-bridge { margin: 18px 0; padding: 18px; border: 1px solid #cbded1; border-radius: 14px; background: #f0f7f2; color: #234736; }
.cube-local-bridge p { margin: 6px 0 12px; font-size: 13px; line-height: 1.7; }
.cube-local-bridge a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 9px; color: #fff; background: #245b43; text-decoration: none; font-size: 14px; }
.cube-local-bridge a:focus-visible { outline: 3px solid #3c8a65; outline-offset: 3px; }
