.psp-account-tab-shell{
  display:block!important;
  width:100%!important;
  clear:both!important;
  margin:0 0 22px!important;
}
.psp-account-tab-shell .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-navigation{
  display:block!important;
  float:none!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 22px!important;
  padding:0!important;
  visibility:visible!important;
  opacity:1!important;
}
.psp-account-tab-shell .woocommerce-MyAccount-navigation ul,
.woocommerce-account .woocommerce-MyAccount-navigation ul{
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:8px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  list-style:none!important;
  margin:0!important;
  padding:0 0 8px!important;
  scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;
}
.psp-account-tab-shell .woocommerce-MyAccount-navigation li,
.woocommerce-account .woocommerce-MyAccount-navigation li{
  display:block!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:0!important;
}
.psp-account-tab-shell .woocommerce-MyAccount-navigation a,
.woocommerce-account .woocommerce-MyAccount-navigation a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
  padding:10px 16px!important;
  border:1px solid #ddd!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#111!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  line-height:1.2!important;
}
.psp-account-tab-shell .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{
  border-color:#111!important;
  background:#111!important;
  color:#fff!important;
}
.woocommerce-account .woocommerce-MyAccount-content{
  float:none!important;
  width:100%!important;
  max-width:none!important;
  clear:both!important;
}
.psp-account-loading{opacity:.55;pointer-events:none}
@media(min-width:768px){
  .psp-account-tab-shell .woocommerce-MyAccount-navigation a,
  .woocommerce-account .woocommerce-MyAccount-navigation a{min-width:120px!important}
}


/* Enhanced My Account Orders */
.woocommerce-account table.my_account_orders td.woocommerce-orders-table__cell-order-status,
.woocommerce-account table.shop_table td[data-title="Status"]{
  font-weight:600;
}
.psp-status-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:6px 10px;
  border:1px solid #d8d8d8;
  border-radius:999px;
  background:#f7f7f7;
  line-height:1;
  white-space:nowrap;
}
.psp-status-badge::before{
  content:"";
  width:8px;height:8px;border-radius:50%;
  background:#777;flex:0 0 8px;
}
.psp-status-processing::before,.psp-status-shipped::before{background:#2271b1}
.psp-status-completed::before,.psp-status-delivered::before{background:#1f8f4e}
.psp-status-cancelled::before,.psp-status-failed::before{background:#b32d2e}
.psp-status-refunded::before,.psp-status-partially-refunded::before{background:#8a5a00}
.psp-status-on-hold::before,.psp-status-pending::before,.psp-status-pending-payment::before{background:#c98b00}

.woocommerce-account .woocommerce-orders-table__cell-order-actions{
  min-width:190px;
}
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button,
.woocommerce-account .my_account_orders .woocommerce-button{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:36px!important;
  margin:3px 4px 3px 0!important;
  padding:8px 11px!important;
  white-space:nowrap!important;
}
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button::before,
.woocommerce-account .my_account_orders .woocommerce-button::before{
  display:inline-block;
  width:16px;height:16px;
  font-size:15px;
  line-height:16px;
  text-align:center;
}
.woocommerce-account .woocommerce-button--view::before{content:"◉"}
.woocommerce-account .woocommerce-button--order-again::before,
.woocommerce-account .woocommerce-button--buy-again::before{content:"↻"}
.woocommerce-account .woocommerce-button--psp-track::before{content:"⌖"}
.woocommerce-account .woocommerce-button--psp-contact::before{content:"◇"}
.woocommerce-account [class*="invoice"]::before{content:"▤"}

.psp-order-tracking{
  min-width:170px;
  max-width:260px;
}
.psp-shipment-state{
  display:flex;
  align-items:center;
  gap:7px;
  line-height:1.25;
}
.psp-shipment-none{color:#666}
.psp-order-icon{
  position:relative;
  display:inline-block;
  width:17px;height:17px;
  flex:0 0 17px;
}
.psp-icon-truck::before{content:"🚚";font-size:15px;position:absolute;inset:0}
.psp-icon-package::before{content:"□";font-size:17px;position:absolute;inset:-2px 0 0}
.psp-tracking-meta,
.psp-tracking-note{
  margin-top:5px;
  font-size:.88em;
  color:#555;
}
.psp-tracking-meta{display:flex;flex-wrap:wrap;gap:4px 8px}
.psp-tracking-meta a{text-decoration:underline}
.psp-tracking-progress{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:3px;
  margin-top:9px;
}
.psp-track-step{
  height:4px;
  border-radius:999px;
  background:#ddd;
}
.psp-track-step.is-active{background:#111}

@media(max-width:767px){
  .woocommerce-account .woocommerce-orders-table__cell-order-actions .button,
  .woocommerce-account .my_account_orders .woocommerce-button{
    width:auto!important;
    font-size:13px!important;
  }
}


/* v1.4 — Icon tabs and icon action buttons */
.woocommerce-account .woocommerce-MyAccount-navigation ul{
  gap:10px!important;
  padding:4px 2px 10px!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation li{
  border:0!important;
  background:transparent!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation a{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  min-height:54px!important;
  min-width:138px!important;
  padding:11px 16px!important;
  border:1px solid #dedede!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#151515!important;
  box-shadow:0 1px 0 rgba(0,0,0,.02)!important;
  font-weight:600!important;
  transition:background-color .16s ease,color .16s ease,border-color .16s ease,transform .16s ease!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible{
  border-color:#111!important;
  transform:translateY(-1px);
  outline:none!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{
  background:#111!important;
  border-color:#111!important;
  color:#fff!important;
}
.psp-account-tab-icon{
  width:20px!important;
  height:20px!important;
  flex:0 0 20px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.psp-account-tab-icon svg{
  width:20px!important;
  height:20px!important;
  display:block!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.psp-account-tab-label{
  display:inline-block!important;
  line-height:1.1!important;
}

/* Orders action buttons */
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button,
.woocommerce-account .my_account_orders .woocommerce-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-height:38px!important;
  padding:8px 12px!important;
  border-radius:6px!important;
  text-decoration:none!important;
  line-height:1!important;
}
.psp-order-action-icon{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
  display:inline-flex!important;
}
.psp-order-action-icon svg{
  width:16px!important;
  height:16px!important;
  display:block!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
/* Hide older pseudo-icon fallbacks once real SVGs are injected */
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button.psp-svg-ready::before,
.woocommerce-account .my_account_orders .woocommerce-button.psp-svg-ready::before{
  display:none!important;
  content:none!important;
}

@media(max-width:767px){
  .woocommerce-account .woocommerce-MyAccount-navigation ul{
    gap:8px!important;
    padding-bottom:10px!important;
    scroll-snap-type:x proximity;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation li{
    scroll-snap-align:start;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation a{
    flex-direction:column!important;
    gap:5px!important;
    min-width:92px!important;
    min-height:76px!important;
    padding:9px 10px!important;
    font-size:12px!important;
    text-align:center!important;
  }
  .psp-account-tab-icon{
    width:22px!important;
    height:22px!important;
    flex-basis:22px!important;
  }
  .psp-account-tab-icon svg{
    width:22px!important;
    height:22px!important;
  }
  .woocommerce-account .woocommerce-orders-table__cell-order-actions .button,
  .woocommerce-account .my_account_orders .woocommerce-button{
    min-height:38px!important;
    padding:8px 10px!important;
  }
}


/* v1.5 — Clean underline-style account tabs */
.woocommerce-account .psp-account-tab-shell{
  border-bottom:1px solid #e7e7e7!important;
  margin-bottom:26px!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation{
  margin-bottom:0!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul{
  gap:24px!important;
  padding:0 2px!important;
  border:0!important;
  align-items:flex-end!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation li{
  border:0!important;
  background:transparent!important;
  padding:0!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation a{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-width:86px!important;
  min-height:74px!important;
  padding:8px 6px 14px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#555!important;
  font-weight:600!important;
  transform:none!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation a::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  bottom:-1px!important;
  width:0!important;
  height:3px!important;
  border-radius:3px 3px 0 0!important;
  background:#111!important;
  transform:translateX(-50%)!important;
  transition:width .16s ease!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible{
  color:#111!important;
  background:transparent!important;
  border:0!important;
  transform:none!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover::after,
.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible::after{
  width:34px!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{
  background:transparent!important;
  color:#111!important;
  border:0!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a::after{
  width:44px!important;
}
.woocommerce-account .psp-account-tab-icon{
  width:24px!important;
  height:24px!important;
  flex-basis:24px!important;
}
.woocommerce-account .psp-account-tab-icon svg{
  width:24px!important;
  height:24px!important;
  stroke-width:1.7!important;
}
.woocommerce-account .psp-account-tab-label{
  font-size:13px!important;
  line-height:1.15!important;
  text-align:center!important;
  white-space:nowrap!important;
}

@media(max-width:767px){
  .woocommerce-account .psp-account-tab-shell{
    margin-left:-2px!important;
    margin-right:-2px!important;
    margin-bottom:20px!important;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation ul{
    gap:18px!important;
    padding:0 8px!important;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation a{
    min-width:72px!important;
    min-height:68px!important;
    padding:7px 4px 12px!important;
  }
  .woocommerce-account .psp-account-tab-icon{
    width:22px!important;
    height:22px!important;
    flex-basis:22px!important;
  }
  .woocommerce-account .psp-account-tab-icon svg{
    width:22px!important;
    height:22px!important;
  }
  .woocommerce-account .psp-account-tab-label{
    font-size:11px!important;
  }
}


/* v1.6 — More breathing room between account tabs */
@media(min-width:768px){
  .woocommerce-account .psp-account-tab-shell{
    margin-bottom:36px!important;
    padding-top:8px!important;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation ul{
    gap:38px!important;
    padding:0 14px!important;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation a{
    min-width:108px!important;
    min-height:88px!important;
    padding:12px 10px 18px!important;
    gap:10px!important;
  }
  .woocommerce-account .psp-account-tab-icon{
    width:26px!important;
    height:26px!important;
    flex-basis:26px!important;
  }
  .woocommerce-account .psp-account-tab-icon svg{
    width:26px!important;
    height:26px!important;
  }
  .woocommerce-account .psp-account-tab-label{
    font-size:13px!important;
  }
}
@media(max-width:767px){
  .woocommerce-account .psp-account-tab-shell{
    margin-bottom:26px!important;
    padding-top:4px!important;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation ul{
    gap:24px!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation a{
    min-width:78px!important;
    min-height:74px!important;
    gap:7px!important;
    padding:8px 5px 14px!important;
  }
}


/* v1.7 — Design 2: spacious account dashboard */
.woocommerce-account .psp-account-tab-shell{
  background:#fff!important;
  border:1px solid #e8e8e8!important;
  border-radius:14px!important;
  padding:16px 18px 8px!important;
  margin:0 0 30px!important;
  box-shadow:0 4px 18px rgba(0,0,0,.025)!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation{
  overflow:hidden!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  gap:28px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:0 4px 12px!important;
  scrollbar-width:auto!important;
  scrollbar-color:#c9c9c9 #f1f1f1!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar{height:8px!important}
.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar-track{
  background:#f1f1f1!important;border-radius:999px!important
}
.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar-thumb{
  background:#c9c9c9!important;border-radius:999px!important
}
.woocommerce-account .woocommerce-MyAccount-navigation li{
  flex:1 0 112px!important;
  min-width:112px!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation a{
  position:relative!important;
  min-width:112px!important;
  min-height:88px!important;
  padding:10px 8px 18px!important;
  gap:9px!important;
  color:#161616!important;
  background:#fff!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation a::after{
  bottom:0!important;
  height:4px!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a::after{width:58px!important}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover::after{width:42px!important}
.woocommerce-account .psp-account-tab-icon,
.woocommerce-account .psp-account-tab-icon svg{
  width:27px!important;height:27px!important
}
.woocommerce-account .psp-account-tab-label{
  font-size:13px!important;
  font-weight:600!important;
}

/* Main account content becomes its own separated white card */
.woocommerce-account .woocommerce-MyAccount-content{
  box-sizing:border-box!important;
  background:#fff!important;
  border:1px solid #e8e8e8!important;
  border-radius:14px!important;
  padding:24px!important;
  box-shadow:0 4px 18px rgba(0,0,0,.025)!important;
}

/* Email verification banner */
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message{
  display:flex!important;
  align-items:center!important;
  gap:16px!important;
  min-height:72px!important;
  margin:0 0 28px!important;
  padding:18px 20px!important;
  border:1px solid #ededed!important;
  border-radius:12px!important;
  background:#fcfcfc!important;
}
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info .button,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message .button{
  margin-left:auto!important;
  min-height:44px!important;
  border-radius:6px!important;
}

/* Orders table/card */
.woocommerce-account .woocommerce-orders-table,
.woocommerce-account table.my_account_orders{
  border:1px solid #e5e5e5!important;
  border-radius:12px!important;
  overflow:hidden!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  background:#fff!important;
}
.woocommerce-account .woocommerce-orders-table thead th,
.woocommerce-account table.my_account_orders thead th{
  padding:18px 16px!important;
  background:#fcfcfc!important;
  border-bottom:1px solid #e5e5e5!important;
  font-size:12px!important;
  font-weight:700!important;
  text-transform:uppercase!important;
  letter-spacing:.03em!important;
}
.woocommerce-account .woocommerce-orders-table tbody td,
.woocommerce-account table.my_account_orders tbody td{
  padding:18px 16px!important;
  vertical-align:middle!important;
  border-bottom:1px solid #ededed!important;
}
.woocommerce-account .woocommerce-orders-table tbody tr:last-child td,
.woocommerce-account table.my_account_orders tbody tr:last-child td{
  border-bottom:0!important;
}

/* Icon-square actions with label below, matching Design 2 */
.woocommerce-account .woocommerce-orders-table__cell-order-actions{
  min-width:300px!important;
  white-space:normal!important;
}
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button,
.woocommerce-account .my_account_orders .woocommerce-button{
  position:relative!important;
  display:inline-flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  width:64px!important;
  min-width:64px!important;
  height:62px!important;
  min-height:62px!important;
  padding:7px 5px!important;
  margin:3px 5px 3px 0!important;
  border:1px solid #e1e1e1!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#111!important;
  box-shadow:none!important;
  font-size:11px!important;
  line-height:1.05!important;
  text-align:center!important;
}
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button:hover,
.woocommerce-account .my_account_orders .woocommerce-button:hover{
  border-color:#111!important;
  background:#fafafa!important;
}
.woocommerce-account .psp-order-action-icon{
  width:20px!important;height:20px!important;flex-basis:20px!important
}
.woocommerce-account .psp-order-action-icon svg{
  width:20px!important;height:20px!important
}

/* Shipment/status refinement */
.woocommerce-account .psp-status-badge{
  min-height:28px!important;
  padding:6px 10px!important;
  border-radius:7px!important;
}
.woocommerce-account .psp-order-tracking{
  padding:10px 12px!important;
  border-radius:8px!important;
  background:#fafafa!important;
}

/* Mobile/tablet: retain the design, with intentional horizontal scrolling */
@media(max-width:767px){
  .woocommerce-account .psp-account-tab-shell{
    padding:12px 10px 6px!important;
    margin-bottom:20px!important;
    border-radius:10px!important;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation ul{
    gap:18px!important;
    padding:0 6px 10px!important;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation li{
    flex:0 0 88px!important;
    min-width:88px!important;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation a{
    min-width:88px!important;
    min-height:76px!important;
    padding:8px 4px 14px!important;
  }
  .woocommerce-account .woocommerce-MyAccount-content{
    padding:14px!important;
    border-radius:10px!important;
  }
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info,
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message{
    align-items:flex-start!important;
    flex-direction:column!important;
    padding:15px!important;
  }
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info .button,
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message .button{
    margin-left:0!important;
    width:100%!important;
  }
  .woocommerce-account .woocommerce-orders-table__cell-order-actions{
    min-width:0!important;
  }
}


/* v1.8 — self-rendered PSP tab bar (theme-independent) */
.woocommerce-account .woocommerce-MyAccount-navigation{
  display:none!important;
}
.psp-rendered-account-tabs{
  display:block!important;
  width:100%!important;
  box-sizing:border-box!important;
  background:#fff!important;
  border:1px solid #e8e8e8!important;
  border-radius:14px!important;
  padding:16px 18px 8px!important;
  margin:0 0 30px!important;
  box-shadow:0 4px 18px rgba(0,0,0,.025)!important;
}
.psp-rendered-account-tabs__scroll{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  gap:28px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:0 4px 12px!important;
  scrollbar-width:auto!important;
  scrollbar-color:#c9c9c9 #f1f1f1!important;
  -webkit-overflow-scrolling:touch;
}
.psp-rendered-account-tabs__scroll::-webkit-scrollbar{height:8px!important}
.psp-rendered-account-tabs__scroll::-webkit-scrollbar-track{
  background:#f1f1f1!important;border-radius:999px!important
}
.psp-rendered-account-tabs__scroll::-webkit-scrollbar-thumb{
  background:#c9c9c9!important;border-radius:999px!important
}
.psp-rendered-account-tab{
  position:relative!important;
  display:flex!important;
  flex:1 0 112px!important;
  min-width:112px!important;
  min-height:88px!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  padding:10px 8px 18px!important;
  color:#161616!important;
  background:#fff!important;
  border:0!important;
  text-decoration:none!important;
  font-weight:600!important;
  box-sizing:border-box!important;
}
.psp-rendered-account-tab::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  bottom:0!important;
  width:0!important;
  height:4px!important;
  border-radius:4px 4px 0 0!important;
  background:#111!important;
  transform:translateX(-50%)!important;
  transition:width .16s ease!important;
}
.psp-rendered-account-tab:hover::after,
.psp-rendered-account-tab:focus-visible::after{width:42px!important}
.psp-rendered-account-tab.is-active::after{width:58px!important}
.psp-rendered-account-tab .psp-account-tab-icon,
.psp-rendered-account-tab .psp-account-tab-icon svg{
  width:27px!important;height:27px!important
}
.psp-rendered-account-tab .psp-account-tab-label{
  font-size:13px!important;
  line-height:1.15!important;
  text-align:center!important;
  white-space:nowrap!important;
}
@media(max-width:767px){
  .psp-rendered-account-tabs{
    padding:12px 10px 6px!important;
    margin-bottom:20px!important;
    border-radius:10px!important;
  }
  .psp-rendered-account-tabs__scroll{
    gap:18px!important;
    padding:0 6px 10px!important;
  }
  .psp-rendered-account-tab{
    flex:0 0 88px!important;
    min-width:88px!important;
    min-height:76px!important;
    padding:8px 4px 14px!important;
  }
  .psp-rendered-account-tab .psp-account-tab-label{
    font-size:11px!important;
  }
}


/* v1.9 — Final dashboard navigation: dark active card, NO underline */
.psp-rendered-account-tabs{
  background:#fff!important;
  border:1px solid #e7e7e7!important;
  border-radius:14px!important;
  padding:14px!important;
  margin:0 0 28px!important;
  box-shadow:0 3px 14px rgba(0,0,0,.025)!important;
  overflow:hidden!important;
}
.psp-rendered-account-tabs__scroll{
  display:flex!important;
  align-items:stretch!important;
  gap:14px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:0!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
.psp-rendered-account-tabs__scroll::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
}
.psp-rendered-account-tab{
  flex:1 0 108px!important;
  min-width:108px!important;
  min-height:108px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  padding:14px 10px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#111!important;
  text-decoration:none!important;
  box-shadow:none!important;
  transition:background .15s ease,color .15s ease,border-color .15s ease,box-shadow .15s ease!important;
}
/* Remove every legacy underline treatment */
.psp-rendered-account-tab::before,
.psp-rendered-account-tab::after,
.psp-rendered-account-tab:hover::after,
.psp-rendered-account-tab:focus-visible::after,
.psp-rendered-account-tab.is-active::after{
  content:none!important;
  display:none!important;
  width:0!important;
  height:0!important;
}
.psp-rendered-account-tab:hover,
.psp-rendered-account-tab:focus-visible{
  background:#fafafa!important;
  border-color:#e4e4e4!important;
  outline:none!important;
}
.psp-rendered-account-tab.is-active{
  background:#0d0d0d!important;
  color:#fff!important;
  border-color:#0d0d0d!important;
  box-shadow:0 5px 14px rgba(0,0,0,.14)!important;
}
.psp-rendered-account-tab.is-active .psp-account-tab-icon svg{
  stroke:#fff!important;
}
.psp-rendered-account-tab .psp-account-tab-icon,
.psp-rendered-account-tab .psp-account-tab-icon svg{
  width:28px!important;
  height:28px!important;
}
.psp-rendered-account-tab .psp-account-tab-label{
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:600!important;
  white-space:nowrap!important;
  text-align:center!important;
}

/* Consistent content card shared by every AJAX-loaded account endpoint */
.woocommerce-account .woocommerce-MyAccount-content{
  background:#fff!important;
  border:1px solid #e7e7e7!important;
  border-radius:14px!important;
  padding:28px!important;
  box-shadow:0 3px 14px rgba(0,0,0,.025)!important;
  box-sizing:border-box!important;
}
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3{
  margin-top:0;
}
.woocommerce-account .woocommerce-MyAccount-content form,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm{
  box-sizing:border-box!important;
}

/* Consistent form controls across Addresses / Account Details / other endpoints */
.woocommerce-account .woocommerce-MyAccount-content input.input-text,
.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,
.woocommerce-account .woocommerce-MyAccount-content textarea{
  min-height:46px!important;
  border:1px solid #dedede!important;
  border-radius:8px!important;
  background:#fff!important;
  padding:10px 12px!important;
  box-sizing:border-box!important;
}
.woocommerce-account .woocommerce-MyAccount-content textarea{
  min-height:110px!important;
}
.woocommerce-account .woocommerce-MyAccount-content button.button,
.woocommerce-account .woocommerce-MyAccount-content a.button{
  border-radius:8px!important;
}

/* Address cards */
.woocommerce-account .woocommerce-Addresses .woocommerce-Address{
  border:1px solid #e8e8e8!important;
  border-radius:12px!important;
  padding:22px!important;
  background:#fff!important;
}

/* Mobile/tablet keeps swipe navigation but never shows a scrollbar */
@media(max-width:767px){
  .psp-rendered-account-tabs{
    padding:10px!important;
    border-radius:10px!important;
    margin-bottom:18px!important;
  }
  .psp-rendered-account-tabs__scroll{
    gap:10px!important;
  }
  .psp-rendered-account-tab{
    flex:0 0 86px!important;
    min-width:86px!important;
    min-height:86px!important;
    padding:10px 6px!important;
    gap:7px!important;
  }
  .psp-rendered-account-tab .psp-account-tab-icon,
  .psp-rendered-account-tab .psp-account-tab-icon svg{
    width:23px!important;
    height:23px!important;
  }
  .psp-rendered-account-tab .psp-account-tab-label{
    font-size:11px!important;
  }
  .woocommerce-account .woocommerce-MyAccount-content{
    padding:16px!important;
    border-radius:10px!important;
  }
}


/* v2.0 — Inline expandable order details */
.woocommerce-account .psp-order-expanded-row > td{
  padding:0!important;
  border-top:0!important;
  background:#fff!important;
}
.psp-order-expanded{
  display:none;
  border-top:1px solid #ededed;
  background:#fff;
}
.psp-order-expanded.is-open{
  display:block;
}
.psp-order-expanded__inner{
  padding:24px 28px 28px;
}
.psp-order-expanded__loading{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:72px;
  color:#666;
}
.psp-order-expanded__spinner{
  width:18px;
  height:18px;
  border:2px solid #ddd;
  border-top-color:#111;
  border-radius:50%;
  animation:pspOrderSpin .7s linear infinite;
}
@keyframes pspOrderSpin{to{transform:rotate(360deg)}}
.psp-order-expanded__error{
  padding:14px 16px;
  border:1px solid #efc7c7;
  border-radius:8px;
  background:#fff7f7;
  color:#8a1f1f;
}
.psp-order-expanded__content{
  display:grid;
  gap:22px;
}
.psp-order-expanded__content .woocommerce-order-details,
.psp-order-expanded__content .woocommerce-customer-details,
.psp-order-expanded__content .woocommerce-order-downloads,
.psp-order-expanded__content .woocommerce-order-overview,
.psp-order-expanded__content .woocommerce-OrderUpdates{
  margin:0!important;
  padding:0!important;
  background:#fff!important;
}
.psp-order-expanded__content .woocommerce-order-details__title,
.psp-order-expanded__content .woocommerce-column__title,
.psp-order-expanded__content h2,
.psp-order-expanded__content h3{
  margin:0 0 14px!important;
  font-size:15px!important;
  font-weight:700!important;
  letter-spacing:.02em!important;
}
.psp-order-expanded__content table{
  width:100%!important;
  border:1px solid #e8e8e8!important;
  border-radius:10px!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  overflow:hidden!important;
}
.psp-order-expanded__content table th,
.psp-order-expanded__content table td{
  padding:12px 14px!important;
  border-bottom:1px solid #ededed!important;
}
.psp-order-expanded__content table tr:last-child th,
.psp-order-expanded__content table tr:last-child td{
  border-bottom:0!important;
}
.psp-order-expanded__content address{
  padding:16px!important;
  border:1px solid #e8e8e8!important;
  border-radius:10px!important;
  line-height:1.65!important;
  background:#fafafa!important;
}
.woocommerce-account .woocommerce-button--view.psp-order-view-open{
  background:#111!important;
  color:#fff!important;
  border-color:#111!important;
}
.woocommerce-account .woocommerce-button--view.psp-order-view-open .psp-order-action-icon svg{
  stroke:#fff!important;
}
@media(max-width:767px){
  .psp-order-expanded__inner{
    padding:16px;
  }
  .psp-order-expanded__content{
    gap:16px;
  }
}


/* v2.1 — Customer Overview dashboard */
.psp-account-overview{
  display:grid;
  gap:22px;
}
.psp-account-overview__hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:4px 2px 8px;
}
.psp-account-overview__eyebrow{
  display:block;
  margin-bottom:5px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#777;
}
.psp-account-overview__hero h2{
  margin:0 0 6px!important;
  font-size:28px!important;
  line-height:1.15!important;
}
.psp-account-overview__hero p{
  margin:0!important;
  color:#666;
  max-width:660px;
}
.psp-account-recent-order{
  padding:22px;
  border:1px solid #e6e6e6;
  border-radius:12px;
  background:#fff;
}
.psp-account-recent-order__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.psp-account-recent-order__top h3{
  margin:0!important;
  font-size:20px!important;
}
.psp-account-recent-order__status{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  background:#f2f2f2;
  font-size:12px;
  font-weight:700;
}
.psp-account-recent-order__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 20px;
  margin-top:14px;
  color:#555;
  font-size:13px;
}
.psp-account-recent-order__tracking{
  margin-top:14px;
  padding:12px 14px;
  border-radius:8px;
  background:#fafafa;
  font-size:13px;
}
.psp-account-recent-order__actions{
  margin-top:16px;
}
.psp-account-overview-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.psp-account-overview-card{
  position:relative;
  display:flex;
  align-items:flex-start;
  gap:14px;
  min-height:128px;
  padding:20px;
  border:1px solid #e6e6e6;
  border-radius:12px;
  background:#fff;
  color:#111!important;
  text-decoration:none!important;
  transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.psp-account-overview-card:hover,
.psp-account-overview-card:focus-visible{
  transform:translateY(-1px);
  border-color:#cfcfcf;
  box-shadow:0 5px 16px rgba(0,0,0,.04);
  outline:none;
}
.psp-account-overview-card__icon{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  flex:0 0 40px;
  border-radius:10px;
  background:#f5f5f5;
}
.psp-account-overview-card__icon::before{
  font-size:20px;
  line-height:1;
}
.psp-account-overview-card--rewards .psp-account-overview-card__icon::before{content:"★"}
.psp-account-overview-card--wishlist .psp-account-overview-card__icon::before{content:"♡"}
.psp-account-overview-card--piercings .psp-account-overview-card__icon::before{content:"◌"}
.psp-account-overview-card--chat .psp-account-overview-card__icon::before{content:"◇"}
.psp-account-overview-card--address .psp-account-overview-card__icon::before{content:"⌖"}
.psp-account-overview-card--payment .psp-account-overview-card__icon::before{content:"▭"}
.psp-account-overview-card--account .psp-account-overview-card__icon::before{content:"○"}
.psp-account-overview-card__body{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}
.psp-account-overview-card__title{
  font-size:13px;
  font-weight:700;
}
.psp-account-overview-card__value{
  margin-top:2px;
  font-size:23px;
  line-height:1.1;
}
.psp-account-overview-card__text{
  color:#666;
  font-size:12px;
  line-height:1.45;
}
.psp-account-overview-card__arrow{
  margin-left:auto;
  color:#777;
  font-size:18px;
}
@media(max-width:980px){
  .psp-account-overview-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:600px){
  .psp-account-overview__hero h2{
    font-size:23px!important;
  }
  .psp-account-recent-order{
    padding:16px;
  }
  .psp-account-overview-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
  .psp-account-overview-card{
    min-height:104px;
    padding:16px;
  }
}


/* v2.2 — Compact navigation tabs; dashboard cards remain large */
.psp-rendered-account-tabs{
  background:#fff!important;
  border:1px solid #e9e9e9!important;
  border-radius:12px!important;
  padding:10px 12px!important;
  margin:0 0 28px!important;
  box-shadow:0 2px 10px rgba(0,0,0,.02)!important;
  overflow:hidden!important;
}
.psp-rendered-account-tabs__scroll{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:8px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:0!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  -webkit-overflow-scrolling:touch!important;
}
.psp-rendered-account-tabs__scroll::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
}
.psp-rendered-account-tab{
  flex:0 0 auto!important;
  min-width:0!important;
  min-height:44px!important;
  height:44px!important;
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  padding:0 12px!important;
  border:1px solid transparent!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#333!important;
  text-decoration:none!important;
  box-shadow:none!important;
  font-weight:600!important;
  transition:background .15s ease,color .15s ease,border-color .15s ease!important;
}
.psp-rendered-account-tab::before,
.psp-rendered-account-tab::after,
.psp-rendered-account-tab:hover::after,
.psp-rendered-account-tab:focus-visible::after,
.psp-rendered-account-tab.is-active::after{
  content:none!important;
  display:none!important;
}
.psp-rendered-account-tab:hover,
.psp-rendered-account-tab:focus-visible{
  background:#f6f6f6!important;
  color:#111!important;
  border-color:#ededed!important;
  outline:none!important;
}
.psp-rendered-account-tab.is-active{
  background:#111!important;
  color:#fff!important;
  border-color:#111!important;
  box-shadow:none!important;
}
.psp-rendered-account-tab .psp-account-tab-icon{
  width:18px!important;
  height:18px!important;
  flex:0 0 18px!important;
}
.psp-rendered-account-tab .psp-account-tab-icon svg{
  width:18px!important;
  height:18px!important;
  stroke:currentColor!important;
}
.psp-rendered-account-tab .psp-account-tab-label{
  font-size:12px!important;
  line-height:1!important;
  font-weight:600!important;
  white-space:nowrap!important;
}
@media(max-width:767px){
  .psp-rendered-account-tabs{
    padding:8px!important;
    margin-bottom:18px!important;
    border-radius:10px!important;
  }
  .psp-rendered-account-tabs__scroll{
    gap:6px!important;
  }
  .psp-rendered-account-tab{
    min-height:42px!important;
    height:42px!important;
    padding:0 10px!important;
    gap:6px!important;
  }
  .psp-rendered-account-tab .psp-account-tab-icon,
  .psp-rendered-account-tab .psp-account-tab-icon svg{
    width:17px!important;
    height:17px!important;
  }
  .psp-rendered-account-tab .psp-account-tab-label{
    font-size:11px!important;
  }
}


/* v2.3 — Dashboard first; tabs only after selecting a section */
body.psp-account-dashboard-home .psp-rendered-account-tabs{
  display:none!important;
}
body.psp-account-section-view .psp-rendered-account-tabs{
  display:block!important;
}

/* Keep sub-page navigation lightweight */
body.psp-account-section-view .psp-rendered-account-tabs{
  padding:8px 10px!important;
  margin-bottom:22px!important;
  border-radius:10px!important;
}
body.psp-account-section-view .psp-rendered-account-tabs__scroll{
  gap:6px!important;
}
body.psp-account-section-view .psp-rendered-account-tab{
  height:40px!important;
  min-height:40px!important;
  padding:0 10px!important;
  border-radius:7px!important;
}
body.psp-account-section-view .psp-rendered-account-tab.is-active{
  background:#111!important;
  color:#fff!important;
}
body.psp-account-section-view .psp-rendered-account-tab .psp-account-tab-icon,
body.psp-account-section-view .psp-rendered-account-tab .psp-account-tab-icon svg{
  width:16px!important;
  height:16px!important;
}
body.psp-account-section-view .psp-rendered-account-tab .psp-account-tab-label{
  font-size:11px!important;
}

/* Dashboard card navigation remains the visual focus */
body.psp-account-dashboard-home .woocommerce-MyAccount-content{
  margin-top:0!important;
}
body.psp-account-dashboard-home .psp-account-overview-grid{
  margin-top:2px;
}


/* v2.4 — Mobile rendering hints */
.woocommerce-account .woocommerce-MyAccount-content,
.psp-rendered-account-tabs{
  contain:layout style;
}
.psp-account-overview-card,
.psp-account-recent-order,
.psp-order-expanded__content{
  content-visibility:auto;
  contain-intrinsic-size:1px 160px;
}
@media(max-width:767px){
  .psp-account-overview-card{
    contain-intrinsic-size:1px 104px;
  }
}


/* v2.5 — Active-order-only dashboard polish */
.psp-account-recent-order--empty{
  background:#fcfcfc;
}
.psp-account-recent-order__empty-text{
  margin:12px 0 0;
  color:#666;
  font-size:13px;
}
.psp-account-overview__active-note{
  margin:2px 0 0!important;
  padding-top:2px;
  text-align:center;
  color:#777;
  font-size:12px;
}
@media(max-width:600px){
  .psp-account-overview__active-note{
    text-align:left;
    line-height:1.5;
  }
}


/* v2.6 — Dashboard cleanup */
body.psp-account-dashboard-home .psp-rendered-account-tabs,
body.psp-account-dashboard-home .psp-account-tab-shell,
body.psp-account-dashboard-home .woocommerce-MyAccount-navigation,
body.psp-account-dashboard-home nav.woocommerce-MyAccount-navigation{
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body.psp-account-dashboard-home .woocommerce-MyAccount-content{
  margin-top:0!important;
  padding-top:28px!important;
}


/* v2.7 — Expanded dashboard section icons */
.psp-account-overview-card--orders .psp-account-overview-card__icon::before{content:"□"}
.psp-account-overview-card--downloads .psp-account-overview-card__icon::before{content:"↓"}
.psp-account-overview-card--buyagain .psp-account-overview-card__icon::before{content:"↻"}
.psp-account-overview-card--referrals .psp-account-overview-card__icon::before{content:"♧"}
.psp-account-overview-card--business .psp-account-overview-card__icon::before{content:"◇"}
.psp-account-overview-card--generic .psp-account-overview-card__icon::before{content:"→"}


/* v2.8 — Independent compact rounded-square tabs */
body.psp-account-section-view .psp-rendered-account-tabs{
  display:block!important;
  width:100%!important;
  margin:0 0 24px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.psp-account-section-view .psp-rendered-account-tabs__scroll{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
  overflow:visible!important;
  scrollbar-width:none!important;
}
body.psp-account-section-view .psp-rendered-account-tabs__scroll::-webkit-scrollbar{
  display:none!important;
}
body.psp-account-section-view .psp-rendered-account-tab{
  display:inline-flex!important;
  flex:0 0 auto!important;
  min-width:0!important;
  min-height:46px!important;
  height:46px!important;
  padding:0 14px!important;
  gap:7px!important;
  border:1px solid #e0e0e0!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#222!important;
  box-shadow:0 1px 2px rgba(0,0,0,.02)!important;
  text-decoration:none!important;
  font-weight:600!important;
}
body.psp-account-section-view .psp-rendered-account-tab:hover,
body.psp-account-section-view .psp-rendered-account-tab:focus-visible{
  border-color:#bdbdbd!important;
  background:#fafafa!important;
  color:#111!important;
  outline:none!important;
}
body.psp-account-section-view .psp-rendered-account-tab.is-active{
  background:#111!important;
  color:#fff!important;
  border-color:#111!important;
  box-shadow:none!important;
}
body.psp-account-section-view .psp-rendered-account-tab::before,
body.psp-account-section-view .psp-rendered-account-tab::after{
  content:none!important;
  display:none!important;
}
body.psp-account-section-view .psp-rendered-account-tab .psp-account-tab-icon,
body.psp-account-section-view .psp-rendered-account-tab .psp-account-tab-icon svg{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
}
body.psp-account-section-view .psp-rendered-account-tab .psp-account-tab-label{
  font-size:12px!important;
  line-height:1!important;
  white-space:nowrap!important;
}

/* Mobile: keep independent tabs, allow horizontal swipe instead of wrapping too tall */
@media(max-width:767px){
  body.psp-account-section-view .psp-rendered-account-tabs{
    overflow:hidden!important;
    margin-bottom:18px!important;
  }
  body.psp-account-section-view .psp-rendered-account-tabs__scroll{
    flex-wrap:nowrap!important;
    gap:8px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.psp-account-section-view .psp-rendered-account-tab{
    min-height:42px!important;
    height:42px!important;
    padding:0 11px!important;
    border-radius:7px!important;
  }
  body.psp-account-section-view .psp-rendered-account-tab .psp-account-tab-label{
    font-size:11px!important;
  }
}


/* v2.9 — Square rounded icon tabs */
body.psp-account-section-view .psp-rendered-account-tabs{
  display:block!important;
  width:100%!important;
  margin:0 0 28px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.psp-account-section-view .psp-rendered-account-tabs__scroll{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(112px,126px))!important;
  justify-content:start!important;
  align-items:stretch!important;
  gap:18px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  scrollbar-width:none!important;
}
body.psp-account-section-view .psp-rendered-account-tabs__scroll::-webkit-scrollbar{
  display:none!important;
}
body.psp-account-section-view .psp-rendered-account-tab{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:11px!important;
  width:126px!important;
  height:126px!important;
  min-width:126px!important;
  min-height:126px!important;
  max-width:126px!important;
  padding:14px 10px!important;
  border:1px solid #dedede!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#111!important;
  box-shadow:0 2px 7px rgba(0,0,0,.025)!important;
  text-align:center!important;
  text-decoration:none!important;
}
body.psp-account-section-view .psp-rendered-account-tab:hover,
body.psp-account-section-view .psp-rendered-account-tab:focus-visible{
  border-color:#bdbdbd!important;
  background:#fafafa!important;
  color:#111!important;
  transform:translateY(-1px)!important;
  outline:none!important;
}
body.psp-account-section-view .psp-rendered-account-tab.is-active{
  background:#101010!important;
  color:#fff!important;
  border-color:#101010!important;
  box-shadow:0 5px 14px rgba(0,0,0,.14)!important;
  transform:none!important;
}
body.psp-account-section-view .psp-rendered-account-tab::before,
body.psp-account-section-view .psp-rendered-account-tab::after{
  content:none!important;
  display:none!important;
}
body.psp-account-section-view .psp-rendered-account-tab .psp-account-tab-icon,
body.psp-account-section-view .psp-rendered-account-tab .psp-account-tab-icon svg{
  width:30px!important;
  height:30px!important;
}
body.psp-account-section-view .psp-rendered-account-tab .psp-account-tab-label{
  max-width:100%!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:700!important;
  white-space:normal!important;
  text-align:center!important;
}
@media(max-width:767px){
  body.psp-account-section-view .psp-rendered-account-tabs{
    overflow:hidden!important;
    margin-bottom:20px!important;
  }
  body.psp-account-section-view .psp-rendered-account-tabs__scroll{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:12px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:0 2px 4px!important;
    -webkit-overflow-scrolling:touch!important;
    scroll-snap-type:x proximity!important;
  }
  body.psp-account-section-view .psp-rendered-account-tab{
    flex:0 0 92px!important;
    width:92px!important;
    height:92px!important;
    min-width:92px!important;
    min-height:92px!important;
    max-width:92px!important;
    padding:10px 6px!important;
    gap:7px!important;
    border-radius:10px!important;
    scroll-snap-align:start!important;
  }
  body.psp-account-section-view .psp-rendered-account-tab .psp-account-tab-icon,
  body.psp-account-section-view .psp-rendered-account-tab .psp-account-tab-icon svg{
    width:24px!important;
    height:24px!important;
  }
  body.psp-account-section-view .psp-rendered-account-tab .psp-account-tab-label{
    font-size:11px!important;
    line-height:1.15!important;
  }
}

/* v3.0 cleanup */
.woocommerce-account .skip-link,
.woocommerce-account a.skip-link,
.woocommerce-account .screen-reader-text.skip-link,
.woocommerce-account a[href="#content"].skip-link,
.woocommerce-account a[href="#main"].skip-link,
.woocommerce-account a[href="#primary"].skip-link{
  display:none!important;
}
.woocommerce-account .psp-account-tab-shell,
.woocommerce-account .psp-account-empty-bar,
.woocommerce-account .psp-account-legacy-bar,
.woocommerce-account [data-psp-empty-account-bar="1"]{
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation:empty,
.woocommerce-account nav.woocommerce-MyAccount-navigation:empty,
.woocommerce-account .psp-rendered-account-tabs:empty{
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
}


/* v3.1 — Mobile/tablet account menu replaces horizontal tile scrolling */
.psp-account-mobile-menu{
  display:none;
}

@media(max-width:1024px){
  body.psp-account-section-view .psp-rendered-account-tabs{
    display:none!important;
  }

  .psp-account-mobile-menu{
    display:block!important;
    width:100%;
    margin:0 0 18px;
  }

  .psp-account-mobile-menu__toggle{
    width:100%;
    min-height:50px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:0 15px;
    border:1px solid #dedede;
    border-radius:10px;
    background:#fff;
    color:#111;
    font:inherit;
    font-weight:700;
    text-align:left;
  }

  .psp-account-mobile-menu__toggle-main{
    display:flex;
    align-items:center;
    gap:9px;
    min-width:0;
  }

  .psp-account-mobile-menu__toggle-icon,
  .psp-account-mobile-menu__item-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
  }

  .psp-account-mobile-menu__toggle-icon,
  .psp-account-mobile-menu__toggle-icon svg{
    width:19px;
    height:19px;
  }

  .psp-account-mobile-menu__chevron{
    font-size:18px;
    line-height:1;
    transition:transform .16s ease;
  }

  .psp-account-mobile-menu.is-open .psp-account-mobile-menu__chevron{
    transform:rotate(180deg);
  }

  .psp-account-mobile-menu__panel{
    display:none;
    margin-top:8px;
    padding:8px;
    border:1px solid #dedede;
    border-radius:10px;
    background:#fff;
    box-shadow:0 10px 28px rgba(0,0,0,.08);
  }

  .psp-account-mobile-menu.is-open .psp-account-mobile-menu__panel{
    display:grid;
    grid-template-columns:1fr;
    gap:4px;
  }

  .psp-account-mobile-menu__item{
    display:flex;
    align-items:center;
    gap:10px;
    min-height:46px;
    padding:0 11px;
    border-radius:8px;
    color:#111!important;
    text-decoration:none!important;
    font-weight:600;
  }

  .psp-account-mobile-menu__item:hover,
  .psp-account-mobile-menu__item:focus-visible{
    background:#f5f5f5;
    outline:none;
  }

  .psp-account-mobile-menu__item.is-active{
    background:#111;
    color:#fff!important;
  }

  .psp-account-mobile-menu__item-icon,
  .psp-account-mobile-menu__item-icon svg{
    width:18px;
    height:18px;
  }

  .psp-account-mobile-menu__item-label{
    flex:1;
    min-width:0;
  }
}
