.dcnc-myaccount-wrap,
.stanki-myaccount-wrap{
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  gap:24px;
  width:100%;
  max-width:1320px;
  margin:0 auto;
  align-items:start;
}

.dcnc-myaccount-nav,
.stanki-myaccount-nav{
  background:#fff;
  border:1px solid var(--dcnc-border,#dbe6ef);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(15,23,42,.05);
  position:sticky;
  top:108px;
}

.stanki-myaccount-nav__profile{
  display:flex;
  align-items:center;
  gap:14px;
  padding:20px;
  background:linear-gradient(180deg,#f7fbff,#f2f7fd);
  border-bottom:1px solid #e7eff7;
}
.stanki-myaccount-nav__avatar{
  flex:0 0 48px;
  width:48px;height:48px;
  border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#2f6fb7,#4f90d8);
  color:#fff;font-weight:800;font-size:18px;
}
.stanki-myaccount-nav__name{font-size:14px;font-weight:800;color:#10243e;line-height:1.2}
.stanki-myaccount-nav__email{font-size:12px;color:#6a7f97;margin-top:4px;word-break:break-word}
.stanki-myaccount-nav__menu{padding:10px}
.stanki-myaccount-nav__link{
  display:flex;align-items:center;gap:10px;
  min-height:46px;padding:0 14px;margin-bottom:6px;
  border-radius:14px;text-decoration:none;color:#24415f;font-weight:700;
  border:1px solid transparent;transition:.18s ease;
}
.stanki-myaccount-nav__link:hover{background:#eef5fc;color:#1e5d9f;border-color:#d6e5f4}
.stanki-myaccount-nav__link.is-active{background:#e8f1fb;color:#1e5d9f;border-color:#c9dcf0}
.stanki-ep-customer-logout{color:#cf4e39}
.stanki-ep-customer-logout:hover{background:#fff1ef;border-color:#ffd8d2;color:#b83d29}
.stanki-myaccount-nav__footer{padding:14px 16px;border-top:1px solid #edf3f9}
.stanki-myaccount-nav__back{display:flex;justify-content:center;align-items:center;min-height:42px;border-radius:14px;border:1px solid #d7e4f0;color:#395878;font-weight:700;text-decoration:none;background:#fff}
.stanki-myaccount-nav__back:hover{background:#f8fbff}

.dcnc-myaccount-content,
.stanki-myaccount-content,
.woocommerce-account .woocommerce-MyAccount-content{
  min-width:0 !important;
  width:100% !important;
  max-width:none !important;
  display:block !important;
  background:#fff;
  border:1px solid var(--dcnc-border,#dbe6ef);
  border-radius:22px;
  padding:28px 30px;
  box-shadow:0 10px 30px rgba(15,23,42,.05);
}

.stanki-myaccount-content > *,
.woocommerce-account .woocommerce-MyAccount-content > *{
  max-width:100% !important;
}

.woocommerce-account .woocommerce,
.woocommerce-account .entry-content,
.woocommerce-account #primary,
.woocommerce-account .site-main,
.page-slug-my-account .dcnc-page-wrap,
.page-slug-my-account .dcnc-content-card{
  width:100%;
  max-width:none;
}

.woocommerce-account .woocommerce-MyAccount-navigation{
  display:none !important;
}

.stanki-myaccount-content p,
.woocommerce-account .woocommerce-MyAccount-content p{line-height:1.7;color:#405a79}
.stanki-myaccount-content h2,
.stanki-myaccount-content h3,
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3{color:#10243e;letter-spacing:-.02em}

.stanki-myaccount-content .woocommerce-orders-table,
.stanki-myaccount-content .woocommerce-table,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table{
  width:100%;border-collapse:separate;border-spacing:0;border:1px solid #dbe6ef;border-radius:16px;overflow:hidden
}
.stanki-myaccount-content .woocommerce-orders-table th,
.stanki-myaccount-content .woocommerce-orders-table td,
.stanki-myaccount-content .woocommerce-table th,
.stanki-myaccount-content .woocommerce-table td,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table th,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table td,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table th,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table td{padding:14px 16px;border-bottom:1px solid #edf3f8}

.stanki-myaccount-content input[type=text],
.stanki-myaccount-content input[type=email],
.stanki-myaccount-content input[type=password],
.stanki-myaccount-content input[type=tel],
.stanki-myaccount-content select,
.woocommerce-account .woocommerce-MyAccount-content input[type=text],
.woocommerce-account .woocommerce-MyAccount-content input[type=email],
.woocommerce-account .woocommerce-MyAccount-content input[type=password],
.woocommerce-account .woocommerce-MyAccount-content input[type=tel],
.woocommerce-account .woocommerce-MyAccount-content select{
  width:100%;min-height:48px;padding:11px 14px;border:1px solid #d0ddeb;border-radius:14px;background:#f8fbfe
}

.stanki-myaccount-content .button,
.stanki-myaccount-content button,
.stanki-myaccount-content input[type=submit],
.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content button,
.woocommerce-account .woocommerce-MyAccount-content input[type=submit]{
  background:linear-gradient(135deg,#2f6fb7,#4f90d8)!important;color:#fff!important;border:none!important;border-radius:14px!important;padding:12px 18px!important;font-weight:800!important;box-shadow:0 12px 22px rgba(47,111,183,.18)
}

.woocommerce-account .woocommerce-MyAccount-content > p:first-child,
.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type,
.woocommerce-account .woocommerce-MyAccount-content p.woocommerce-account-dashboard__intro,
.stanki-myaccount-content > p:first-child,
.stanki-myaccount-content > p:first-of-type,
.stanki-myaccount-content p.woocommerce-account-dashboard__intro{
  display:none !important;
}

@media (max-width: 980px){
  .dcnc-myaccount-wrap,
  .stanki-myaccount-wrap{grid-template-columns:1fr}
  .dcnc-myaccount-nav,
  .stanki-myaccount-nav{position:static}
}


/* 2026 account hard-fix */
.woocommerce-account .dcnc-page-wrap--woo{max-width:1400px}
.woocommerce-account .dcnc-woo-surface{width:100%}
.woocommerce-account .stanki-myaccount-wrap,
.woocommerce-account .dcnc-myaccount-wrap{
  display:grid;
  grid-template-columns:260px minmax(0,1fr)!important;
  gap:24px;
  width:100%;
  max-width:none!important;
  align-items:start;
}
.woocommerce-account .stanki-myaccount-nav{position:sticky;top:110px}
.woocommerce-account .stanki-myaccount-content,
.woocommerce-account .dcnc-myaccount-content{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  background:#fff!important;
  border:1px solid #dbe6ef!important;
  border-radius:22px!important;
  padding:24px!important;
  box-shadow:0 10px 30px rgba(15,23,42,.05)!important;
  overflow:visible!important;
}
.woocommerce-account .stanki-myaccount-content>*{max-width:100%!important}
.woocommerce-account .stanki-myaccount-content .stanki-dash{max-width:none!important;margin:0!important;padding:0!important}
.woocommerce-account .stanki-myaccount-content .stanki-dash-profile,
.woocommerce-account .stanki-myaccount-content .stanki-dash-stats,
.woocommerce-account .stanki-myaccount-content .stanki-dash-plans,
.woocommerce-account .stanki-myaccount-content .stanki-dash-section{width:100%!important}
.woocommerce-account .woocommerce-MyAccount-navigation{display:none!important}
.woocommerce-account .woocommerce-MyAccount-content{float:none!important;width:100%!important;max-width:none!important;margin:0!important}
.woocommerce-account .site-main,
.woocommerce-account #primary,
.woocommerce-account .entry-content,
.woocommerce-account .woocommerce{max-width:none!important;width:100%!important}
.woocommerce-account .stanki-myaccount-content p.woocommerce-account-dashboard__intro,
.woocommerce-account .stanki-myaccount-content>p:first-child{display:none!important}
@media (max-width:980px){
  .woocommerce-account .stanki-myaccount-wrap,
  .woocommerce-account .dcnc-myaccount-wrap{grid-template-columns:1fr!important}
  .woocommerce-account .stanki-myaccount-nav{position:static}
}
