/* Global theme navigation back control: change these variables once for all pages. */
:root {
  --pc-back-height:40px;
  --pc-back-pad-start:9px;
  --pc-back-pad-end:15px;
  --pc-back-gap:7px;
  --pc-back-font-size:13px;
  --pc-back-icon-size:24px;
  --pc-back-icon-font:16px;
  --pc-back-radius:999px;
  --pc-back-bg:#ffffff;
  --pc-back-text:#192450;
  --pc-back-border:#aebad3;
  --pc-back-icon-bg:#e3e9ff;
  --pc-back-icon-text:#2944c7;
  --pc-back-hover-bg:#f7f9ff;
}
html[data-pc-theme="dark"] {
  --pc-back-bg:#263147;
  --pc-back-text:#ffffff;
  --pc-back-border:#91a4c2;
  --pc-back-icon-bg:#405276;
  --pc-back-icon-text:#ffffff;
  --pc-back-hover-bg:#34425c;
}
/* Specificity beats historical page-specific !important styles; only the shared
   properties above need editing to resize/restyle all of these buttons. */
body .pc-global-back.pc-global-back.pc-global-back.pc-global-back {
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  box-sizing:border-box !important; width:auto !important; min-width:0 !important;
  height:var(--pc-back-height) !important; min-height:var(--pc-back-height) !important;
  padding:0 var(--pc-back-pad-end) 0 var(--pc-back-pad-start) !important;
  gap:var(--pc-back-gap) !important; border:1px solid var(--pc-back-border) !important;
  border-radius:var(--pc-back-radius) !important; background:var(--pc-back-bg) !important;
  color:var(--pc-back-text) !important; font-size:var(--pc-back-font-size) !important;
  font-weight:700 !important; line-height:1 !important; text-decoration:none !important;
  white-space:nowrap !important; cursor:pointer; flex:0 0 auto;
  box-shadow:0 4px 12px -9px rgba(25,36,80,.5) !important;
}
body .pc-global-back.pc-global-back.pc-global-back.pc-global-back:hover {
  background:var(--pc-back-hover-bg) !important; color:var(--pc-back-text) !important;
  border-color:var(--pc-back-border) !important;
}
body .pc-global-back.pc-global-back.pc-global-back.pc-global-back:focus-visible {
  outline:3px solid #6b91ff !important; outline-offset:2px !important;
}
body .pc-global-back.pc-global-back.pc-global-back.pc-global-back .pc-back-arrow {
  display:grid !important; place-items:center !important;
  width:var(--pc-back-icon-size) !important; height:var(--pc-back-icon-size) !important;
  flex:0 0 var(--pc-back-icon-size) !important; border-radius:50% !important;
  padding:0 !important; margin:0 !important; line-height:1 !important;
  font-size:var(--pc-back-icon-font) !important; color:var(--pc-back-icon-text) !important;
  background:var(--pc-back-icon-bg) !important;
}
body .pc-global-back.pc-global-back.pc-global-back.pc-global-back .pc-back-label { color:inherit !important; }
/* The context button already has a real, translatable label; suppress its old pseudo label. */
body .pc-context-back-btn.pc-global-back::after { content:none !important; }
/* Shop, category, tag and any other use of the shared catalog renderer. */
body .pc-catalog.pc-catalog { padding-top:6px !important; }
body .pc-catalog.pc-catalog .pc-catalog-topbar {
  display:flex; align-items:center; justify-content:flex-start; flex-wrap:wrap;
  gap:12px !important; margin:4px 0 12px !important;
}
body .pc-catalog.pc-catalog .pc-catalog-crumb { min-width:0; overflow-wrap:anywhere; }
/* Context bars no longer reserve a 64px row for the compact control. */
body .pc-context-bar.pc-context-bar { min-height:52px !important; padding:6px 0 !important; }
@media (max-width:820px) {
  body .pc-catalog.pc-catalog { padding-top:4px !important; }
  body .pc-catalog.pc-catalog .pc-catalog-topbar { margin-top:2px !important; }
}
@media (max-width:600px) {
  body .pc-catalog.pc-catalog .pc-catalog-topbar { gap:8px !important; }
  body .pc-catalog.pc-catalog .pc-catalog-crumb { width:100%; }
}
