/* The home toolbar persists on shop and product routes without restyling their content. */
.global-storefront body.theme-beclean.cast-store-header { --cast-content-width: 1280px; --cast-home-gutter: 40px; }
.global-storefront .cast-store-header .page-shell { overflow: visible; }
.global-storefront .cast-store-header .gp-utility-strip { display: none; }
.global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar { background: #fff; border-bottom: 1px solid #eee; backdrop-filter: none; -webkit-backdrop-filter: none; }
.global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar .topbar-inner { width: min(var(--cast-content-width),calc(100% - var(--cast-home-gutter)*2)); max-width: var(--cast-content-width); grid-template-columns: minmax(0,1fr) min(510px,calc(100% - 660px)) minmax(0,1fr) !important; grid-template-rows: 82px !important; gap: 24px; }
.global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar .header-brand { grid-area: 1 / 1 !important; justify-self: start; min-width: 0; max-width: 100%; }
.global-storefront .cast-store-header .gp-wordmark { width: auto; height: 31px; }
.global-storefront .cast-store-header .gp-app-leading { grid-area: 1 / 2; justify-content: center; gap: 12px; }
.global-storefront .cast-store-header .gp-app-gift { display: none; }
.global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar .gp-search { display: flex; flex: 1; width: 100%; max-width: 510px; height: 44px; padding-inline: 14px 4px; border: 0; border-radius: 4px; background: #f6f7f9; }
.global-storefront .cast-store-header .gp-search input { position: static; width: 100%; opacity: 1; padding: 0; pointer-events: auto; font-size: 14px; }
.global-storefront .cast-store-header .gp-search button { flex: 0 0 36px; width: 36px; height: 42px; }
.global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar .utility-nav { justify-self: end; gap: 10px; }
.global-storefront .cast-store-header .topbar .utility-nav > * { flex-shrink: 0; }
.global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar .header-icon-btn { box-sizing: border-box; width: 40px; height: 44px; color: #373737; }
.global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar #authTrigger { width: 40px; min-width: 40px; }
.global-storefront .cast-store-header .topbar #authTrigger :is(.utility-nav-label,.account-info) { display: none !important; }
.global-storefront .cast-store-header .topbar #authTrigger .cast-app-icon { display: inline-block !important; }
.global-storefront .cast-store-header .topbar .cast-app-icon { width: 23px; height: 23px; font-size: 23px !important; }
.global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar .language-switcher--dropdown { margin: 0; padding: 0; width: auto; min-width: 0; height: 44px; min-height: 44px; }
.global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar .language-switcher-trigger { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; min-height: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #181d21; font-size: 14px; font-weight: 500; gap: 8px; line-height: 1; box-shadow: none; }
.global-storefront .cast-store-header .language-switcher-globe { flex: 0 0 20px; width: 20px; height: 20px; }
.global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar .language-switcher-panel { top: calc(100% + 12px); bottom: auto; inset-inline-end: auto; inset-inline-start: 0; width: 74px; min-width: 74px; max-width: 74px; max-height: min(456px,calc(100dvh - 96px)); padding: 8px 0; overflow-y: auto; border: 0; border-radius: 4px; background: #fff; box-shadow: 0 8px 24px #0000001f; }
.global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar .language-switcher-option { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #999; font-size: 16px; font-weight: 500; line-height: 20px; text-align: center; }
.global-storefront .cast-store-header .language-switcher-option::before { content: attr(data-language-code); }
.global-storefront .cast-store-header .language-switcher-option__label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar .language-switcher-option:is(:hover,:focus-visible) { background: #f3f3f3; color: #111; }
.global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar .language-switcher-option.is-active { color: #111; }
.global-storefront .cast-store-header .app-home-navigation { display: flex; width: min(var(--cast-content-width),calc(100% - var(--cast-home-gutter)*2)); margin-inline: auto; overflow-x: auto; scrollbar-width: none; }
.global-storefront .cast-store-header .shop-main-nav { display: flex; align-items: stretch; flex: 1 1 auto; min-width: 0; gap: 26px; min-height: 52px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.global-storefront .cast-store-header .shop-main-nav > a { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 56px; padding-block: 16px; border: 0; background: none; color: #565656; font: 500 13px/1.2 Pretendard,sans-serif; text-decoration: none; white-space: nowrap; }
.global-storefront .cast-store-header .shop-main-nav > .shop-category-trigger { position: relative; gap: 8px; margin-inline-end: 4px; padding-inline-end: 22px; color: #111; font-weight: 700; }
.global-storefront .cast-store-header .shop-category-trigger::after { content: ''; position: absolute; inset-inline-end: 0; width: 1px; height: 18px; background: #e8eaed; }
.global-storefront .cast-store-header .shop-category-trigger .cast-app-icon { width: 18px; height: 18px; font-size: 18px !important; }
.global-storefront .cast-store-header .shop-main-nav > [aria-current='page'] { color: #111; font-weight: 700; box-shadow: inset 0 -2px #111; }
.global-storefront .cast-store-header .shop-category-nav-skeleton { flex: 0 0 58px; height: 14px; margin-block: 21px; border-radius: 4px; background: #f1f2f4; }
.global-storefront .cast-store-header .topbar :is(a,button):focus-visible { outline: 2px solid #111; outline-offset: 3px; }
.global-storefront body.theme-beclean .product-detail-expand-btn { color: #333; }

@media (min-width: 761px) and (max-width: 1100px) {
  .global-storefront body.theme-beclean.cast-store-header { --cast-home-gutter: 24px; }
  .global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar .topbar-inner { grid-template-columns: minmax(0,1fr) calc(100% - 520px) minmax(0,1fr) !important; column-gap: 16px; }
  .global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar .utility-nav { gap: 4px; }
  .global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar .header-icon-btn { width: 32px; flex-basis: 32px; }
  .global-storefront .cast-store-header .topbar .gp-b2b-suffix { display: none; }
}
@media (max-width: 760px) {
  .global-storefront body.theme-beclean.cast-store-header { --cast-home-gutter: 20px; }
  .global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar .topbar-inner { grid-template-columns: auto minmax(0,1fr) auto !important; grid-template-rows: 56px !important; gap: 6px; }
  .global-storefront .cast-store-header .gp-wordmark { width: 96px; height: auto; }
  .global-storefront .cast-store-header .gp-app-leading { justify-content: flex-end; }
  .global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar .gp-search { flex: 0 0 36px; width: 36px; max-width: 36px; height: 44px; padding: 0; background: transparent; }
  .global-storefront .cast-store-header .gp-search input { position: absolute; width: 0; opacity: 0; pointer-events: none; }
  .global-storefront .cast-store-header .gp-app-notices { display: none !important; }
  .global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar .utility-nav { gap: 2px; }
  .global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar :is(.header-icon-btn,#authTrigger) { width: 32px; min-width: 32px; }
  .global-storefront body.theme-beclean.gp-app-ui.cast-store-header .topbar .language-switcher-trigger { min-width: 44px; font-size: 12px; gap: 4px; }
  .global-storefront .cast-store-header .language-switcher-globe { flex-basis: 16px; width: 16px; height: 16px; }
  .global-storefront .cast-store-header .app-home-navigation { width: 100%; padding-inline: 20px; box-sizing: border-box; }
  .global-storefront .cast-store-header .shop-main-nav { min-height: 44px; gap: 22px; }
  .global-storefront .cast-store-header .shop-main-nav > a { min-height: 44px; padding-block: 13px; font-size: 12px; }
  .global-storefront .cast-store-header .shop-main-nav > .shop-category-trigger { padding-inline-end: 16px; }
}

/* Persistent shortcuts stay visible while the category list scrolls. */
.global-storefront .app-home-navigation .shop-quick-nav { display: flex; flex: 0 0 auto; align-items: stretch; gap: 22px; padding-inline-start: 22px; background: #fff; }
.global-storefront .app-home-navigation .shop-quick-nav a { display: inline-flex; align-items: center; min-height: 48px; color: #111; font: 700 14px/1.2 Pretendard, sans-serif; text-decoration: none; white-space: nowrap; }
.global-storefront .app-home-navigation .shop-quick-nav a:focus-visible { outline: 2px solid #111; outline-offset: -3px; }
@media (max-width: 760px) { .global-storefront .app-home-navigation .shop-quick-nav { gap: 14px; padding-inline-start: 14px; } .global-storefront .app-home-navigation .shop-quick-nav a { font-size: 12px; } }
