.account-nav-brand{display:flex;align-items:center;gap:10px;min-width:0}.customer-nav .account-nav-brand{flex:1 1 auto}.customer-nav .account-nav-brand>a{min-width:0;overflow:hidden}.editor-menu-trigger,.editor-menu-close,.account-menu-avatar-trigger{display:inline-grid;place-items:center;flex:0 0 auto;width:44px;height:44px;min-width:44px;padding:0;border:1px solid #cfdae4;border-radius:13px;background:#fff;color:#173a60;box-shadow:0 8px 22px rgba(23,58,96,.09);cursor:pointer}.account-menu-avatar-trigger{border-radius:50%;box-shadow:none}.account-menu-avatar-trigger .avatar{display:grid;place-items:center;width:40px;height:40px;overflow:hidden;border-radius:50%;background:linear-gradient(135deg,#173a60,#2f7ebd);color:#fff;font-size:12px;font-weight:900;line-height:1}.editor-menu-trigger svg,.editor-menu-close svg,.editor-menu-links svg,.editor-menu-signout svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.editor-menu-backdrop{position:fixed;inset:0;z-index:380;visibility:hidden;pointer-events:none;background:rgba(10,26,43,.48);opacity:0;transition:opacity .2s ease,visibility .2s ease;backdrop-filter:blur(3px)}.editor-menu-drawer{position:fixed;inset:0 auto 0 0;z-index:390;display:flex;flex-direction:column;width:min(390px,calc(100vw - 28px));padding:22px;box-sizing:border-box;overflow-y:auto;background:linear-gradient(180deg,#fff,#f5f9fc);color:#173a60;box-shadow:24px 0 70px rgba(10,26,43,.25);transform:translateX(-105%);transition:transform .24s ease;overscroll-behavior:contain;font-family:Inter,Arial,sans-serif}body.editor-menu-open{overflow:hidden}.editor-menu-open .editor-menu-backdrop{visibility:visible;pointer-events:auto;opacity:1}.editor-menu-open .editor-menu-drawer{transform:translateX(0)}.editor-menu-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.editor-menu-header>div{display:grid;gap:3px}.editor-menu-header small{color:#718295;font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.editor-menu-header strong{font-size:21px}.editor-menu-account{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:13px;margin:22px 0 18px;padding:15px;border:1px solid #d3e1ea;border-radius:17px;background:#fff}.editor-menu-avatar{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:linear-gradient(135deg,#173a60,#2f7ebd);color:#fff;font-size:15px;font-weight:900}.editor-menu-account>span:last-child{display:grid;gap:4px;min-width:0}.editor-menu-account strong,.editor-menu-account small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-menu-account strong{font-size:15px}.editor-menu-account small{color:#65788b;font-size:11px}.editor-menu-links{display:grid;gap:6px}.editor-menu-links a{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:11px;min-height:58px;padding:9px 11px;box-sizing:border-box;border:1px solid transparent;border-radius:14px;color:#294864;text-decoration:none}.editor-menu-links a:hover{border-color:#d3e5ef;background:#eaf5fb;color:#185777}.editor-menu-links>a>svg{width:20px;height:20px;margin:auto;padding:9px;border-radius:11px;background:#fff;box-shadow:0 3px 12px rgba(23,58,96,.08)}.editor-menu-links span{display:grid;gap:3px}.editor-menu-links strong{font-size:13px}.editor-menu-links small{color:#718295;font-size:11px;line-height:1.3}.editor-menu-signout{display:flex;align-items:center;justify-content:center;gap:9px;min-height:50px;margin-top:auto;padding-top:18px;border-top:1px solid #d7e1e8;color:#8c3340;font-size:13px;font-weight:850;text-decoration:none}@media(max-width:560px){.editor-menu-drawer{width:min(360px,calc(100vw - 18px));padding:18px 16px max(18px,env(safe-area-inset-bottom))}.editor-menu-trigger,.account-menu-avatar-trigger{width:38px;height:38px;min-width:38px}.account-menu-avatar-trigger .avatar{width:34px;height:34px}}

/* Shared authenticated header: page-specific legacy header rules must not alter it. */
.customer-nav{
  position:sticky!important;
  top:0;
  z-index:20;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:10px 20px!important;
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid #d5dbe5;
  box-shadow:0 10px 30px rgba(15,23,42,.08);
}
.customer-nav>.account-nav-brand{flex:1 1 auto;min-width:0}
.customer-nav>.account-nav-brand>a{display:block;min-width:0}
.customer-nav .brand-logo{display:block;width:auto;height:50px;max-width:min(320px,45vw);object-fit:contain}
.customer-nav>nav{display:flex!important;flex:0 0 auto;align-items:center!important;gap:9px!important;flex-wrap:nowrap!important}
.customer-nav .cart-link{min-height:42px}
@media(max-width:560px){
  .customer-nav{padding:8px 10px!important;gap:8px!important}
  .customer-nav .account-nav-brand{gap:7px}
  .customer-nav .brand-logo{height:42px;max-width:37vw}
  .customer-nav>nav{gap:6px!important}
  .customer-nav .cart-link{min-height:38px;padding:0 9px}
}

/* The same authenticated navigation is rendered on every customer page. */
.editor-nav{
  position:sticky;
  top:0;
  z-index:150;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  min-height:83px;
  padding:10px clamp(14px,2.2vw,28px);
  box-sizing:border-box;
  border-bottom:1px solid rgba(23,58,96,.12);
  background:#fff;
  box-shadow:0 18px 44px rgba(23,58,96,.10);
  backdrop-filter:blur(14px);
}
.editor-nav .account-nav-brand{flex:1 1 auto;min-width:0}
.editor-nav .editor-brand{display:inline-flex;align-items:center;min-width:0;overflow:hidden;color:#111827;text-decoration:none}
.editor-nav .brand-logo{display:block;width:auto;height:62px;max-width:480px;object-fit:contain}
.editor-nav-actions{display:flex;flex:0 0 auto;align-items:center;gap:10px;padding:5px;border:0;border-radius:999px;background:transparent;font-size:13px;font-weight:800}
.editor-nav-actions a{color:#334155;text-decoration:none}
.editor-nav .cart-menu{position:relative}
.editor-nav .cart-link{display:inline-grid;grid-template-columns:auto auto;align-items:center;gap:8px;height:40px;padding:0 12px;border:1px solid transparent;border-radius:999px;background:#fff;color:#173a60;text-decoration:none;box-shadow:0 8px 22px rgba(246,185,67,.16)}
.editor-nav .tool-icon{display:inline-grid;place-items:center;width:16px;height:16px;line-height:0}
.editor-nav .tool-icon svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.editor-nav .cart-count{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#eef2ff;color:#1d4ed8;font-size:12px;font-weight:900;line-height:1}
.editor-nav .cart-menu{position:relative}
.editor-nav .cart-menu::after{content:"";position:absolute;right:0;top:100%;width:340px;height:14px}
.editor-nav .cart-menu:hover .cart-dropdown,.editor-nav .cart-menu:focus-within .cart-dropdown{display:grid}
.editor-nav .cart-dropdown{position:absolute;right:0;top:50px;z-index:60;display:none;width:350px;padding:14px;gap:12px;border:1px solid rgba(47,126,189,.28);border-radius:12px;background:#fff;box-shadow:0 24px 60px rgba(15,23,42,.20);color:#111827}
.editor-nav .cart-dropdown h3{margin:0;color:#173a60;font-size:15px}
.editor-nav .cart-mini-items{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.editor-nav .cart-mini-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:8px;border:1px solid #edf2f7;border-radius:8px;background:#f8fafc}
.editor-nav .cart-mini-item img{display:block;width:42px;aspect-ratio:1600/2228;object-fit:contain;border-radius:5px;background:#e2e8f0}
.editor-nav .cart-mini-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#475569;font-size:12px;font-weight:800}
.editor-nav .cart-mini-amount{color:#173a60;font-size:12px;font-weight:900;text-align:right}
.editor-nav .cart-mini-remove{display:inline-grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #fecaca;border-radius:7px;background:#fff1f2;color:#991b1b;cursor:pointer}
.editor-nav .cart-mini-remove svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.editor-nav .cart-mini-pricing{display:grid;gap:7px;padding:11px 0 2px;border-top:1px solid #e2e8f0;font-size:13px}
.editor-nav .cart-price-row{display:flex;justify-content:space-between;gap:16px;color:#475569;font-weight:800}
.editor-nav .cart-price-row strong{color:#173a60;text-align:right}
.editor-nav .cart-gift-callout{display:grid;gap:3px;padding:10px;border:1px solid rgba(246,185,67,.32);border-radius:9px;background:linear-gradient(135deg,#fff8df,#fff)}
.editor-nav .cart-gift-callout strong{color:#173a60;font-size:12px}
.editor-nav .cart-gift-callout span{color:#64748b;font-size:11px;line-height:1.35}
.editor-nav .cart-mini-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.editor-nav .cart-mini-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border:0;border-radius:8px;background:#173a60;color:#fff;text-decoration:none}
.editor-nav .cart-mini-actions a:last-child{background:#f6b943;color:#173a60}
.editor-menu-links>a>svg{display:block;box-sizing:content-box;color:#173a60;visibility:visible!important;opacity:1!important;fill:none!important;stroke:currentColor!important}
@media(max-width:720px){
  .editor-nav{gap:10px;min-height:62px;padding:8px 10px}
  .editor-nav .account-nav-brand{gap:7px}
  .editor-nav .brand-logo{height:42px;max-width:min(210px,48vw)}
  .editor-nav-actions{gap:6px;padding:0}
  .editor-nav .cart-menu::after{display:none}
  .editor-nav .cart-menu:hover .cart-dropdown,.editor-nav .cart-menu:focus-within .cart-dropdown{display:none}
}

.editor-menu-links .editor-menu-cart-link{grid-template-columns:40px minmax(0,1fr) auto}.editor-menu-link-count{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 8px;box-sizing:border-box;border-radius:999px;background:#173a60;color:#fff;font-size:12px;font-weight:900;font-style:normal}
