/* v1.0.9: presentation only; never replace account endpoint links or forms. */
.hp-account-nav-polish .woocommerce-MyAccount-navigation {
  --hp-nav-green:#28563e; --hp-nav-border:#dce5de; --hp-nav-light:#edf4ef;
  box-sizing:border-box;
  border:1px solid var(--hp-nav-border); border-radius:8px; padding:8px;
  background:#fff;
}
.hp-account-nav-polish .woocommerce-MyAccount-navigation ul {
  list-style:none; margin:0; padding:0;
}
.hp-account-nav-polish .woocommerce-MyAccount-navigation li {
  border:0; margin:0; padding:0;
}
.hp-account-nav-polish .woocommerce-MyAccount-navigation li a {
  box-sizing:border-box; display:block; padding:11px 12px; min-height:44px;
  border:1px solid transparent; border-radius:5px; line-height:1.45;
  color:var(--hp-nav-green); text-decoration:none; overflow-wrap:anywhere;
}
.hp-account-nav-polish .woocommerce-MyAccount-navigation li a:hover {
  background:var(--hp-nav-light); border-color:var(--hp-nav-border);
}
.hp-account-nav-polish .woocommerce-MyAccount-navigation li.is-active a,
.hp-account-nav-polish .woocommerce-MyAccount-navigation a[aria-current="page"] {
  background:var(--hp-nav-light); border-color:#adc4b4; font-weight:600;
  color:var(--hp-nav-green);
}
.hp-account-nav-polish .woocommerce-MyAccount-navigation li.is-active a::before {
  opacity:1; color:var(--hp-nav-green);
}
.hp-account-nav-polish .woocommerce-MyAccount-navigation li a:focus-visible,
.hp-account-spacing .woocommerce-MyAccount-content a:focus-visible,
.hp-account-spacing .woocommerce-MyAccount-content button:focus-visible {
  outline:2px solid #28563e; outline-offset:2px;
}
.hp-account-nav-polish .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
  border-top:1px solid var(--hp-nav-border); margin-top:4px; padding-top:4px;
}
/* Keep Storefront's native column widths and existing sticky toggle. */
.hp-account-spacing .site-main {padding-top:0}
.hp-account-spacing .storefront-breadcrumb {margin-bottom:18px}
.hp-account-spacing .site-main article.page > .entry-header {
  padding-top:0; padding-bottom:12px; margin-bottom:18px;
}
.hp-account-spacing .site-main article.page > .entry-header h1 {
  font-size:clamp(1.65rem,3vw,1.9rem); line-height:1.25; margin-bottom:0;
}
.hp-account-spacing .woocommerce-MyAccount-content {min-width:0}
.hp-account-spacing .woocommerce-MyAccount-content :is(.hp-account-hero,.hp-order-page-hero,.hp-address-hero,.hp-settings-hero) h2 {
  font-size:1.4rem; line-height:1.3; margin-bottom:8px;
}
.hp-account-spacing .woocommerce-MyAccount-content :is(.hp-account-hero,.hp-order-page-hero,.hp-address-hero,.hp-settings-hero) p:last-child {margin-bottom:0}
.hp-account-spacing .woocommerce-MyAccount-content .hp-account-orders .hp-order-total bdi,
.hp-account-spacing .woocommerce-MyAccount-content .woocommerce-Price-amount bdi {white-space:nowrap}
@media(max-width:767px) {
  .hp-account-mobile-polish .woocommerce-MyAccount-navigation {padding:6px; margin-bottom:18px!important}
  .hp-account-mobile-polish .woocommerce-MyAccount-navigation ul {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px;
  }
  .hp-account-mobile-polish .woocommerce-MyAccount-navigation li {min-width:0; margin:0; padding:0; border:0}
  .hp-account-mobile-polish .woocommerce-MyAccount-navigation li a {
    display:flex; align-items:center; min-height:44px; height:100%; padding:9px!important;
    line-height:1.35; font-size:.9rem; overflow-wrap:anywhere;
  }
  .hp-account-mobile-polish.hp-account-nav-polish .woocommerce-MyAccount-navigation li a {border-color:#dce5de}
  .hp-account-mobile-polish.hp-account-nav-polish .woocommerce-MyAccount-navigation li.is-active a {border-color:#adc4b4}
  .hp-account-mobile-polish .woocommerce-MyAccount-content .hp-account-card {min-height:44px}
  .hp-account-mobile-polish .woocommerce-MyAccount-content :is(.hp-order-help,.hp-address-help,.hp-settings-help) .button {min-height:44px; white-space:normal; max-width:100%; box-sizing:border-box}
  .hp-account-spacing .site-main article.page > .entry-header {margin-bottom:12px}
  .hp-account-spacing .storefront-breadcrumb {margin-bottom:12px}
}
@media(max-width:340px) {
  .hp-account-mobile-polish .woocommerce-MyAccount-navigation ul {grid-template-columns:1fr}
}
