/* Namespaced to coexist with Store, quote, product, checkout and Local themes. */
/* A stable scrollbar and reserved header slots prevent content/auth/font loads
   from moving navigation controls. Width changes only at explicit breakpoints. */
html { overflow-y: scroll; scrollbar-gutter: stable; }
.ph-navbar-wrap .ph-navbar {
  display: grid !important; grid-template-columns: 160px minmax(0, 1fr) 364px;
  gap: 20px !important; height: 84px !important; min-height: 84px !important;
}
.ph-navbar-wrap .ph-brand-logo { width: 160px; min-width: 0; height: 42px; }
.ph-navbar-wrap .ph-nav-links { min-width: 0; justify-content: center; }
.ph-navbar-wrap .ph-nav-actions {
  display: grid !important; grid-template-columns: 96px 124px 128px;
  width: 364px !important; min-width: 364px; justify-self: end;
  gap: 8px !important; margin: 0 !important; align-items: center !important;
}
.ph-navbar-wrap .ph-nav-actions > [data-admin-link] { grid-column: 1; grid-row: 1; }
.ph-navbar-wrap .ph-nav-actions > [data-account-link] { grid-column: 2; grid-row: 1; }
.ph-navbar-wrap .ph-nav-actions > .ph-btn-kakao-nav { grid-column: 3; grid-row: 1; }
.ph-navbar-wrap .ph-nav-actions > :is([data-account-link],[data-admin-link],.ph-btn-kakao-nav) {
  width: 100% !important; min-width: 0; max-width: 100%; height: 40px !important;
  padding-inline: 10px !important; box-sizing: border-box; font-size: 12px !important;
  line-height: 38px !important; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.ph-navbar-wrap .ph-nav-actions > [data-account-link] { display: block; text-align: center; }
.ph-navbar-wrap [data-admin-slot][hidden] { display: inline-flex !important; visibility: hidden; pointer-events: none; }
.ph-navbar-wrap .ph-nav-actions > .ph-hamburger-btn { display: none !important; }
.ph-navbar-wrap .ph-mobile-drawer {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 101;
  max-height: calc(100dvh - 86px); overflow-y: auto; overscroll-behavior: contain;
  background: #f7f3ed; box-shadow: 0 12px 24px rgba(37,39,34,.12);
}
@media (max-width: 1180px) {
  .ph-navbar-wrap .ph-navbar { grid-template-columns: 160px minmax(0,1fr); }
  .ph-navbar-wrap .ph-nav-links { display: none !important; }
  .ph-navbar-wrap .ph-nav-actions { grid-template-columns: 96px 124px 128px 44px; width: 416px !important; min-width: 416px; }
  .ph-navbar-wrap .ph-nav-actions > .ph-btn-kakao-nav { display: inline-flex !important; }
  .ph-navbar-wrap .ph-nav-actions > .ph-hamburger-btn { display: inline-flex !important; grid-column: 4; grid-row: 1; width: 44px; height: 44px; }
  .ph-navbar-wrap .ph-mobile-drawer.open { display: grid; }
}
@media (max-width: 768px) {
  .ph-navbar-wrap .ph-brand-logo { height: 36px; }
  .ph-navbar-wrap .ph-brand-symbol { width: 36px !important; height: 36px !important; flex-basis: 36px !important; }
  .ph-navbar-wrap .ph-navbar { grid-template-columns: 160px 44px; height: 68px !important; min-height: 68px !important; justify-content: space-between !important; }
  .ph-navbar-wrap .ph-nav-actions { grid-template-columns: 44px; width: 44px !important; min-width: 44px; }
  .ph-navbar-wrap .ph-nav-actions > :is([data-account-link],[data-admin-link],.ph-btn-kakao-nav) { display: none !important; }
  .ph-navbar-wrap .ph-nav-actions > .ph-hamburger-btn { grid-column: 1; }
  .ph-navbar-wrap .ph-mobile-drawer { max-height: calc(100dvh - 70px); }
}
#cube-service-nav {
  display: block; position: relative; z-index: 5; width: 100%; margin: 0;
  padding: 0; border: 0; border-bottom: 1px solid #dce4df;
  background: #f6f9f7; color: #213c30; font-family: "Gowun Dodum", "DM Sans", sans-serif;
}
#cube-service-nav .csn-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
  max-width: 1320px; margin: 0 auto; padding: 10px 20px; box-sizing: border-box;
}
#cube-service-nav .csn-links { display: grid; flex: 0 0 auto; grid-template-columns: 94px 82px 82px 100px 100px 90px; gap: 5px; min-width: 0; }
#cube-service-nav a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px;
  padding: 8px 12px; box-sizing: border-box; border: 1px solid transparent;
  border-radius: 10px; background: transparent; color: #334f41;
  font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: 0;
  text-decoration: none; white-space: nowrap; scroll-margin-block: 120px 24px;
}
#cube-service-nav .csn-home { color: #64776c; font-size: 12px; width: 76px; flex: 0 0 76px; }
#cube-service-nav .csn-links a { width: 100%; height: 40px; padding-inline: 4px; }
#cube-service-nav a:hover { background: #e8f0eb; }
#cube-service-nav a[aria-current="page"] { color: #fff; background: #245b43; }
#cube-service-nav a:focus-visible { outline: 3px solid #3c8a65; outline-offset: 2px; }
@media (max-width: 640px) {
  #cube-service-nav .csn-inner { gap: 4px; padding: 8px 12px; }
  #cube-service-nav .csn-home { padding: 4px 8px; min-height: 32px; }
  #cube-service-nav .csn-links { flex-basis: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #cube-service-nav a { padding: 8px 4px; font-size: 12px; min-height: 42px; }
}
.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; }
