/* ==========================================================================
   X-PORT ACCOUNT UI — FINAL SYSTEM
   ========================================================================== */

body.woocommerce-account{
  background:#f5f6f8!important;
}

/* ===================== COMMON ===================== */

body.woocommerce-account *,
body.woocommerce-account *::before,
body.woocommerce-account *::after{
  box-sizing:border-box;
}

body.woocommerce-account input:-webkit-autofill{
  -webkit-box-shadow:0 0 0 1000px #fff inset!important;
  -webkit-text-fill-color:#111827!important;
}

body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info{
  width:min(100%,1220px)!important;
  margin:0 auto 18px!important;
  border:0!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 14px 36px rgba(15,23,42,.06)!important;
  color:#111827!important;
}

/* ===================== LOGGED-IN LAYOUT ===================== */

body.woocommerce-account.logged-in .woocommerce{
  width:min(100%,1220px)!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:252px minmax(0,1fr)!important;
  gap:24px!important;
  align-items:start!important;
}

/* ===================== SIDEBAR ===================== */

body.woocommerce-account .woocommerce-MyAccount-navigation{
  float:none!important;
  width:auto!important;
  padding:12px!important;
  background:#fff!important;
  border:1px solid #e7e9ee!important;
  border-radius:24px!important;
  box-shadow:0 16px 38px rgba(15,23,42,.055)!important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li{
  margin:0!important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a{
  display:flex!important;
  align-items:center!important;
  min-height:46px!important;
  padding:0 14px!important;
  border-radius:15px!important;
  color:#111827!important;
  text-decoration:none!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:650!important;
  background:transparent!important;
  transition:background .18s ease,color .18s ease,transform .18s ease!important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{
  background:#eefbf2!important;
  color:#14883a!important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover{
  background:#f4f6f7!important;
  color:#071120!important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:hover{
  background:#e7f8ec!important;
  color:#14883a!important;
}

/* ===================== CONTENT WRAPPER ===================== */

body.woocommerce-account.logged-in .woocommerce-MyAccount-content{
  float:none!important;
  width:auto!important;
  min-width:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}

/* ===================== ACCOUNT SECTIONS ===================== */

.xp-edit-account-form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:24px!important;
  padding:0!important;
  margin:0!important;
  min-width:0!important;
}

.xp-account-section{
  min-width:0!important;
  background:#fff!important;
  border:1px solid #e7e9ee!important;
  border-radius:26px!important;
  padding:30px!important;
  box-shadow:0 16px 38px rgba(15,23,42,.055)!important;
}

.xp-section-head{
  margin:0 0 20px!important;
}

.xp-section-head h2{
  margin:0 0 8px!important;
  font-size:32px!important;
  line-height:1.08!important;
  font-weight:600!important;
  letter-spacing:-.035em!important;
  color:#111827!important;
}

.xp-section-head p{
  margin:0!important;
  font-size:15px!important;
  line-height:1.42!important;
  color:#667085!important;
}

.xp-form-grid,
.xp-password-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:16px!important;
}

.xp-edit-account-form p{
  margin:0!important;
}

.xp-edit-account-form label,
.xp-auth-field label{
  display:block!important;
  margin:0 0 7px!important;
  font-size:14px!important;
  line-height:1.2!important;
  font-weight:700!important;
  color:#111827!important;
}

.xp-edit-account-form input.input-text,
.xp-auth-field input[type="text"],
.xp-auth-field input[type="email"],
.xp-auth-field input[type="password"]{
  width:100%!important;
  height:48px!important;
  padding:0 15px!important;
  background:#fff!important;
  border:1px solid #d8dde5!important;
  border-radius:14px!important;
  box-shadow:none!important;
  outline:none!important;
  font-size:15px!important;
  line-height:48px!important;
  color:#111827!important;
  transition:border-color .16s ease,box-shadow .16s ease!important;
}

.xp-edit-account-form input.input-text:focus,
.xp-auth-field input:focus{
  border-color:#26b24a!important;
  box-shadow:0 0 0 4px rgba(38,178,74,.11)!important;
}

.xp-account-actions{
  grid-column:1 / -1!important;
  margin:0!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:10px!important;
}

/* ===================== GREEN BUTTONS ===================== */

.xp-order-view,
.xp-account-btn,
.xp-page-btn,
.xp-auth-submit button,
body.woocommerce-account .woocommerce-MyAccount-content button.button{
  display:inline-flex!important;
  justify-content:center!important;
  align-items:center!important;
  min-height:46px!important;
  padding:0 22px!important;
  background:#26b24a!important;
  color:#fff!important;
  border:0!important;
  border-radius:15px!important;
  text-decoration:none!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:800!important;
  cursor:pointer!important;
  white-space:nowrap!important;
  box-shadow:0 12px 24px rgba(38,178,74,.20)!important;
  transition:background .18s ease,transform .18s ease,box-shadow .18s ease!important;
}

.xp-order-view:hover,
.xp-account-btn:hover,
.xp-page-btn:hover,
.xp-auth-submit button:hover,
body.woocommerce-account .woocommerce-MyAccount-content button.button:hover{
  background:#209d40!important;
  color:#fff!important;
  transform:translateY(-1px)!important;
  box-shadow:0 16px 28px rgba(38,178,74,.25)!important;
}

/* ===================== ORDERS ===================== */

.xp-account-orders{
  padding:0!important;
  margin:0!important;
}

.xp-account-orders-head{
  margin:0 0 20px!important;
  padding:0 2px!important;
}

.xp-account-orders-head h2{
  margin:0 0 8px!important;
  font-size:32px!important;
  line-height:1.08!important;
  font-weight:600!important;
  letter-spacing:-.035em!important;
  color:#111827!important;
}

.xp-account-orders-head p{
  margin:0!important;
  font-size:15px!important;
  line-height:1.42!important;
  color:#667085!important;
}

.xp-orders-list{
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
}

.xp-order-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 122px!important;
  gap:18px!important;
  align-items:center!important;
  min-width:0!important;
  padding:18px!important;
  background:#fff!important;
  border:1px solid #e7e9ee!important;
  border-radius:22px!important;
  box-shadow:0 14px 34px rgba(15,23,42,.05)!important;
}

.xp-order-main{
  display:grid!important;
  grid-template-columns:94px 110px 140px minmax(0,1fr)!important;
  gap:18px!important;
  align-items:center!important;
  min-width:0!important;
}

.xp-order-number{
  min-width:0!important;
  font-size:15px!important;
  font-weight:800!important;
  color:#111827!important;
}

.xp-order-date{
  min-width:0!important;
  font-size:14px!important;
  color:#667085!important;
}

.xp-order-status{
  min-width:0!important;
  font-size:14px!important;
  font-weight:800!important;
  color:#14883a!important;
}

.xp-order-status span{
  display:inline-block!important;
  width:7px!important;
  height:7px!important;
  margin-right:7px!important;
  border-radius:50%!important;
  background:#26b24a!important;
  vertical-align:middle!important;
}

.xp-order-total{
  min-width:0!important;
  color:#4b5563!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.xp-order-total strong{
  display:inline-block!important;
  margin-right:4px!important;
  font-size:15px!important;
  color:#111827!important;
}

.xp-order-total small{
  font-size:14px!important;
  color:#667085!important;
}

.xp-orders-pagination{
  display:flex!important;
  justify-content:flex-end!important;
  gap:10px!important;
  margin-top:18px!important;
}

.xp-account-empty{
  padding:28px!important;
  background:#fff!important;
  border:1px solid #e7e9ee!important;
  border-radius:24px!important;
  box-shadow:0 14px 34px rgba(15,23,42,.05)!important;
}

.xp-account-empty h3{
  margin:0 0 8px!important;
  font-size:24px!important;
  font-weight:600!important;
  letter-spacing:-.025em!important;
  color:#111827!important;
}

.xp-account-empty p{
  margin:0!important;
  font-size:15px!important;
  color:#667085!important;
}

/* ===================== AUTH ===================== */

body.woocommerce-account:not(.logged-in) .woocommerce{
  width:min(100%,980px)!important;
  margin:34px auto!important;
  padding:0 16px!important;
  display:block!important;
}

body.woocommerce-account:not(.logged-in) .woocommerce > .u-columns,
body.woocommerce-account:not(.logged-in) .woocommerce > h2{
  display:none!important;
}

.xp-auth-shell{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:24px!important;
  align-items:start!important;
}

.xp-auth-panel{
  min-width:0!important;
  background:#fff!important;
  border:1px solid #e7e9ee!important;
  border-radius:26px!important;
  padding:30px!important;
  box-shadow:0 16px 38px rgba(15,23,42,.055)!important;
}

.xp-auth-head{
  margin:0 0 20px!important;
}

.xp-auth-head h2{
  margin:0 0 8px!important;
  font-size:32px!important;
  line-height:1.08!important;
  font-weight:600!important;
  letter-spacing:-.035em!important;
  color:#111827!important;
}

.xp-auth-head p{
  margin:0!important;
  max-width:390px!important;
  font-size:15px!important;
  line-height:1.42!important;
  color:#667085!important;
}

.xp-auth-form{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

.xp-auth-field{
  margin:0 0 14px!important;
}

.xp-auth-row{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin:2px 0 16px!important;
}

.xp-auth-remember{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
  color:#667085!important;
  font-size:14px!important;
  line-height:1.2!important;
  font-weight:600!important;
}

.xp-auth-remember input{
  width:16px!important;
  height:16px!important;
  margin:0!important;
  accent-color:#26b24a!important;
}

.xp-auth-lost{
  color:#667085!important;
  font-size:14px!important;
  line-height:1.2!important;
  font-weight:650!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}

.xp-auth-lost:hover{
  color:#26b24a!important;
}

.xp-auth-submit{
  margin:0!important;
}

.xp-auth-submit button{
  width:100%!important;
}

.xp-auth-note,
.xp-auth-panel .woocommerce-privacy-policy-text,
.xp-auth-panel .woocommerce-privacy-policy-text p{
  margin:10px 0 0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  font-size:12px!important;
  line-height:1.35!important;
  color:#8a94a3!important;
}

.xp-auth-panel .woocommerce-privacy-policy-text a,
.xp-auth-note a{
  color:#667085!important;
  text-decoration:underline!important;
  text-underline-offset:2px!important;
}

.xp-auth-panel .woocommerce-privacy-policy-text a:hover,
.xp-auth-note a:hover{
  color:#26b24a!important;
}

.xp-auth-panel .woocommerce-form-row,
.xp-auth-panel p{
  margin:0!important;
}

.xp-auth-panel .woocommerce-form-row + .woocommerce-form-row{
  margin-top:14px!important;
}

.xp-auth-panel .g-recaptcha,
.xp-auth-panel .cf-turnstile,
.xp-auth-panel iframe{
  max-width:100%!important;
}

.xp-auth-panel .woocommerce-form-login__submit,
.xp-auth-panel .woocommerce-form-register__submit{
  margin:0!important;
}

/* ===================== RESPONSIVE ===================== */

@media(max-width:1100px){
  body.woocommerce-account.logged-in .woocommerce{
    grid-template-columns:236px minmax(0,1fr)!important;
    gap:20px!important;
  }

  .xp-edit-account-form{
    gap:20px!important;
  }

  .xp-account-section,
  .xp-auth-panel{
    padding:26px!important;
  }

  .xp-order-main{
    grid-template-columns:88px 104px 132px minmax(0,1fr)!important;
    gap:14px!important;
  }
}

@media(max-width:900px){
  body.woocommerce-account.logged-in .woocommerce{
    grid-template-columns:1fr!important;
    gap:20px!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation ul{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }

  .xp-edit-account-form,
  .xp-auth-shell{
    grid-template-columns:1fr!important;
  }

  .xp-order-main{
    grid-template-columns:90px 108px minmax(0,1fr)!important;
  }

  .xp-order-status{
    display:none!important;
  }
}

@media(max-width:768px){
  body.woocommerce-account:not(.logged-in) .woocommerce{
    margin:22px auto!important;
    padding:0!important;
  }

  .xp-account-section,
  .xp-auth-panel{
    padding:22px!important;
    border-radius:22px!important;
  }

  .xp-section-head h2,
  .xp-auth-head h2,
  .xp-account-orders-head h2{
    font-size:27px!important;
  }

  .xp-order-card{
    grid-template-columns:1fr!important;
    gap:14px!important;
    padding:16px!important;
    border-radius:20px!important;
  }

  .xp-order-main{
    grid-template-columns:1fr!important;
    gap:7px!important;
  }

  .xp-order-status{
    display:block!important;
  }

  .xp-order-total{
    white-space:normal!important;
  }

  .xp-order-view{
    width:100%!important;
  }

  .xp-account-actions{
    justify-content:stretch!important;
  }

  .xp-account-actions button{
    width:100%!important;
  }

  .xp-auth-row{
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:10px!important;
  }
}

@media(max-width:520px){
  body.woocommerce-account .woocommerce-MyAccount-navigation ul{
    grid-template-columns:1fr!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation a{
    min-height:44px!important;
  }
}

/* XPORT ACCOUNT WIDE LAYOUT START */

/*
 * ЛК занимает всю ширину родительского контейнера Breakdance.
 * Ширину страницы определяет внешний контейнер сайта,
 * поэтому края ЛК совпадают с каталогом и прокладками.
 */
body.woocommerce-account.logged-in .woocommerce{
  width:100%!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/*
 * Системные сообщения также не выходят
 * за пределы родительского контейнера.
 */
body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info{
  width:100%!important;
  max-width:none!important;
}

/*
 * На планшете и мобильном сначала отображается
 * карточка навигации ЛК, затем содержимое.
 */
@media(max-width:900px){
  body.woocommerce-account.logged-in .woocommerce{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    gap:20px!important;
  }

  body.woocommerce-account
  .woocommerce-MyAccount-navigation{
    order:1!important;
  }

  body.woocommerce-account
  .woocommerce-MyAccount-content{
    order:2!important;
  }
}

@media(max-width:767px){
  body.woocommerce-account.logged-in .woocommerce{
    width:100%!important;
    gap:18px!important;
  }

  body.woocommerce-account .woocommerce-error,
  body.woocommerce-account .woocommerce-message,
  body.woocommerce-account .woocommerce-info{
    width:100%!important;
  }
}

/* XPORT ACCOUNT WIDE LAYOUT END */

/* XPORT MOBILE ACCOUNT CONTENT COMPACT START */

@media(max-width:767px){

  /*
   * На мобильном активный раздел уже виден в верхнем меню ЛК,
   * поэтому внешний заголовок Заказов и Избранного не дублируем.
   */
  body.woocommerce-account
  .woocommerce-MyAccount-content
  > .xp-account-orders
  > .xp-account-orders-head,

  body.woocommerce-account
  .woocommerce-MyAccount-content
  > .xport-favorites-page
  > .xport-favorites-head{
    display:none!important;
  }

  /*
   * Аккуратный зазор между карточкой меню
   * и первым содержимым раздела.
   */
  body.woocommerce-account
  .woocommerce-MyAccount-content
  > .xp-account-orders,

  body.woocommerce-account
  .woocommerce-MyAccount-content
  > .xport-favorites-page{
    margin-top:16px!important;
  }
}

/* XPORT MOBILE ACCOUNT CONTENT COMPACT END */

/* XPORT MOBILE EDIT ACCOUNT GAP START */

@media(max-width:767px){
  body.woocommerce-account
  .woocommerce-MyAccount-content
  > .xp-edit-account-form{
    margin-top:16px!important;
  }
}

/* XPORT MOBILE EDIT ACCOUNT GAP END */

/* XPORT ACCOUNT GLOBAL PAGE HEADING START */

/*
 * Главный заголовок текущего раздела занимает всю ширину ЛК.
 * Ниже начинается самостоятельная сетка: меню слева, контент справа.
 */
body.woocommerce-account.logged-in
.woocommerce:has(> .xp-account-page-head){
  grid-template-columns:252px minmax(0,1fr)!important;
  column-gap:24px!important;
  row-gap:20px!important;
  align-items:start!important;
}

body.woocommerce-account.logged-in
.woocommerce > .xp-account-page-head{
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0 2px!important;
}

body.woocommerce-account.logged-in
.woocommerce > .xp-account-page-head.xp-account-orders-head{
  margin:0!important;
}

body.woocommerce-account.logged-in
.woocommerce > .xp-account-page-head.xport-favorites-head--orders{
  margin:0!important;
}

body.woocommerce-account.logged-in
.woocommerce > .xp-account-page-head
.xp-account-orders-head{
  margin:0!important;
  padding:0!important;
}

body.woocommerce-account.logged-in
.woocommerce > .xp-account-page-head h2{
  margin:0 0 8px!important;
  font-size:32px!important;
  line-height:1.08!important;
  font-weight:600!important;
  letter-spacing:-.035em!important;
  color:#111827!important;
}

body.woocommerce-account.logged-in
.woocommerce > .xp-account-page-head p{
  margin:0!important;
  font-size:15px!important;
  line-height:1.42!important;
  color:#667085!important;
}

body.woocommerce-account.logged-in
.woocommerce:has(> .xp-account-page-head)
> .woocommerce-MyAccount-navigation{
  grid-column:1!important;
}

body.woocommerce-account.logged-in
.woocommerce:has(> .xp-account-page-head)
> .woocommerce-MyAccount-content{
  grid-column:2!important;
}

/*
 * На мобильном сохраняется утверждённая последовательность:
 * сначала меню, затем заголовок, затем содержимое раздела.
 */
@media(max-width:900px){
  body.woocommerce-account.logged-in
  .woocommerce:has(> .xp-account-page-head){
    grid-template-columns:minmax(0,1fr)!important;
    row-gap:16px!important;
  }

  body.woocommerce-account.logged-in
  .woocommerce:has(> .xp-account-page-head)
  > .woocommerce-MyAccount-navigation{
    grid-column:1!important;
    order:1!important;
  }

  body.woocommerce-account.logged-in
  .woocommerce > .xp-account-page-head{
    grid-column:1!important;
    order:2!important;
  }

  body.woocommerce-account.logged-in
  .woocommerce:has(> .xp-account-page-head)
  > .woocommerce-MyAccount-content{
    grid-column:1!important;
    order:3!important;
  }
}

@media(max-width:767px){
  body.woocommerce-account.logged-in
  .woocommerce > .xp-account-page-head h2{
    font-size:27px!important;
  }
}

/* XPORT ACCOUNT GLOBAL PAGE HEADING END */

/* XPORT MOBILE ACCOUNT NAVIGATION RAIL START */

@media(max-width:900px){
  body.woocommerce-account.logged-in
  .woocommerce:has(> .xp-account-page-head)
  > .xp-account-page-head{
    order:2!important;
  }

  body.woocommerce-account.logged-in
  .woocommerce:has(> .xp-account-page-head)
  > .woocommerce-MyAccount-navigation{
    order:1!important;
  }

  body.woocommerce-account.logged-in
  .woocommerce:has(> .xp-account-page-head)
  > .woocommerce-MyAccount-content{
    order:3!important;
  }

  /* On mobile the account menu is a compact navigation rail, not a content card. */
  body.woocommerce-account
  .woocommerce-MyAccount-navigation{
    width:100%!important;
    min-width:0!important;
    padding:6px!important;
    overflow:hidden!important;
    border:1px solid rgba(215,221,230,.8)!important;
    border-radius:16px!important;
    background:rgba(255,255,255,.58)!important;
    box-shadow:none!important;
    backdrop-filter:blur(14px)!important;
    -webkit-backdrop-filter:blur(14px)!important;
  }

  body.woocommerce-account
  .woocommerce-MyAccount-navigation ul{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    align-items:center!important;
    gap:4px!important;
    width:100%!important;
    overflow:visible!important;
  }

  body.woocommerce-account
  .woocommerce-MyAccount-navigation ul::-webkit-scrollbar{
    display:none!important;
  }

  body.woocommerce-account
  .woocommerce-MyAccount-navigation li{
    min-width:0!important;
  }

  body.woocommerce-account
  .woocommerce-MyAccount-navigation a{
    justify-content:center!important;
    width:100%!important;
    min-height:40px!important;
    padding:0 13px!important;
    border-radius:11px!important;
    white-space:nowrap!important;
    font-size:14px!important;
    line-height:1!important;
  }

  body.woocommerce-account
  .woocommerce-MyAccount-navigation li.is-active a{
    background:rgba(223,247,230,.9)!important;
  }

  /* Keep all three primary destinations fully visible on narrow phones. */
  body.woocommerce-account
  .woocommerce-MyAccount-navigation-link--edit-account a{
    font-size:0!important;
  }

  body.woocommerce-account
  .woocommerce-MyAccount-navigation-link--edit-account a::after{
    content:"Аккаунт";
    font-size:14px!important;
    line-height:1!important;
  }

  body.woocommerce-account
  .woocommerce-MyAccount-content
  > .xp-account-orders,
  body.woocommerce-account
  .woocommerce-MyAccount-content
  > .xport-favorites-page,
  body.woocommerce-account
  .woocommerce-MyAccount-content
  > .xp-edit-account-form{
    margin-top:0!important;
  }

  body.woocommerce-account.logged-in
  .woocommerce:has(> .xp-account-page-head)
  > .woocommerce-MyAccount-content{
    margin-top:0!important;
  }
}

/* XPORT MOBILE ACCOUNT NAVIGATION RAIL END */

/* XPORT ACCOUNT INLINE LOGOUT START */

body.woocommerce-account.logged-in .xp-account-inline-logout{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:0 18px!important;
  border:1px solid rgba(215,221,230,.88)!important;
  border-radius:13px!important;
  background:rgba(241,243,246,.72)!important;
  color:#667085!important;
  text-decoration:none!important;
  font-size:14px!important;
  line-height:1!important;
  font-weight:650!important;
  box-shadow:none!important;
  transition:background .18s ease,color .18s ease,border-color .18s ease!important;
}

/* XPORT ACCOUNT DASHBOARD START */

body.woocommerce-account.logged-in .xp-dashboard{
  display:grid;
  gap:18px;
  min-width:0;
  color:var(--xui-color-text,#111827);
  font-family:var(--xui-font-family,inherit);
}

body.woocommerce-account.logged-in .xp-dashboard-welcome,
body.woocommerce-account.logged-in .xp-dashboard-card,
body.woocommerce-account.logged-in .xp-dashboard-latest,
body.woocommerce-account.logged-in .xp-dashboard-empty{
  border:1px solid var(--xui-color-border,#dbe4ee);
  border-radius:var(--xui-radius-surface,18px);
  background:var(--xui-color-surface,#fff);
  box-shadow:var(--xui-shadow-control,0 1px 2px rgba(15,23,42,.04));
}

body.woocommerce-account.logged-in .xp-dashboard-welcome{
  display:flex;
  align-items:center;
  gap:16px;
  padding:20px;
}

body.woocommerce-account.logged-in .xp-dashboard-avatar{
  display:grid;
  flex:0 0 48px;
  width:48px;
  height:48px;
  place-items:center;
  border-radius:50%;
  color:var(--xui-color-primary-hover,#188f3b);
  background:var(--xui-color-primary-soft,#eefbf2);
  font-size:22px;
  line-height:1;
  font-weight:600;
}

body.woocommerce-account.logged-in .xp-dashboard-welcome h1{
  margin:0 0 5px;
  color:var(--xui-color-heading,#071120);
  font-family:inherit;
  font-size:28px;
  line-height:1.12;
  font-weight:700;
  letter-spacing:-.025em;
}

body.woocommerce-account.logged-in .xp-dashboard-welcome p,
body.woocommerce-account.logged-in .xp-dashboard-empty p{
  margin:0;
  color:var(--xui-color-muted,#64748b);
  font-size:14px;
  line-height:1.45;
}

body.woocommerce-account.logged-in .xp-dashboard-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

body.woocommerce-account.logged-in .xp-dashboard-card{
  display:flex;
  min-width:0;
  min-height:150px;
  flex-direction:column;
  align-items:flex-start;
  padding:18px;
}

body.woocommerce-account.logged-in .xp-dashboard-card__label{
  color:var(--xui-color-text,#111827);
  font-size:15px;
  line-height:1.3;
  font-weight:600;
}

body.woocommerce-account.logged-in .xp-dashboard-card > strong{
  margin-top:10px;
  color:var(--xui-color-heading,#071120);
  font-size:26px;
  line-height:1;
  font-weight:700;
}

body.woocommerce-account.logged-in .xp-dashboard-card--profile > strong{
  overflow:hidden;
  max-width:100%;
  font-size:18px;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}

body.woocommerce-account.logged-in .xp-dashboard-card small,
body.woocommerce-account.logged-in .xp-dashboard-latest small{
  color:var(--xui-color-muted,#64748b);
  font-size:13px;
  line-height:1.4;
}

body.woocommerce-account.logged-in .xp-dashboard-card a{
  margin-top:auto;
  color:var(--xui-color-primary-hover,#188f3b);
  font-size:14px;
  line-height:1.3;
  font-weight:600;
  text-decoration:none;
}

body.woocommerce-account.logged-in .xp-dashboard-card a:hover{
  color:var(--xui-color-primary,#26b24a);
}

body.woocommerce-account.logged-in .xp-dashboard-latest{
  display:grid;
  grid-template-columns:minmax(180px,1fr) auto minmax(140px,.7fr) auto;
  align-items:center;
  gap:20px;
  padding:18px 20px;
}

body.woocommerce-account.logged-in .xp-dashboard-latest__identity,
body.woocommerce-account.logged-in .xp-dashboard-latest__meta{
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:3px;
}

body.woocommerce-account.logged-in .xp-dashboard-latest__identity > span{
  color:var(--xui-color-muted,#64748b);
  font-size:12px;
  line-height:1.3;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.04em;
}

body.woocommerce-account.logged-in .xp-dashboard-latest strong{
  color:var(--xui-color-heading,#071120);
  font-size:16px;
  line-height:1.3;
  font-weight:700;
}

body.woocommerce-account.logged-in .xp-dashboard-status{
  padding:7px 10px;
  border-radius:999px;
  color:var(--xui-color-primary-hover,#188f3b);
  background:var(--xui-color-primary-soft,#eefbf2);
  font-size:13px;
  line-height:1;
  font-weight:600;
  white-space:nowrap;
}

body.woocommerce-account.logged-in .xp-dashboard-order-link,
body.woocommerce-account.logged-in .xp-dashboard-empty > a{
  display:inline-flex;
  min-height:42px;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border:1px solid var(--xui-glass-primary-border,rgba(38,178,74,.38));
  border-radius:var(--xui-radius-control,12px);
  color:#fff;
  background:var(--xui-glass-primary-bg,#26b24a);
  font-size:14px;
  line-height:1;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}

body.woocommerce-account.logged-in .xp-dashboard-order-link:hover,
body.woocommerce-account.logged-in .xp-dashboard-empty > a:hover{
  color:#fff;
  background:var(--xui-glass-primary-hover,#188f3b);
}

body.woocommerce-account.logged-in .xp-dashboard-empty{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:20px;
}

body.woocommerce-account.logged-in .xp-dashboard-empty h2{
  margin:0 0 5px;
  color:var(--xui-color-heading,#071120);
  font-size:18px;
  line-height:1.25;
  font-weight:700;
}

@media(max-width:1100px){
  body.woocommerce-account.logged-in .xp-dashboard-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  body.woocommerce-account.logged-in .xp-dashboard-card--profile{
    grid-column:1 / -1;
  }

  body.woocommerce-account.logged-in .xp-dashboard-latest{
    grid-template-columns:minmax(180px,1fr) auto auto;
  }

  body.woocommerce-account.logged-in .xp-dashboard-latest__meta{
    display:none;
  }
}

@media(max-width:767px){
  body.woocommerce-account.logged-in .xp-dashboard{
    gap:14px;
    margin-top:16px;
  }

  body.woocommerce-account.logged-in .xp-dashboard-welcome{
    align-items:flex-start;
    padding:16px;
  }

  body.woocommerce-account.logged-in .xp-dashboard-avatar{
    flex-basis:42px;
    width:42px;
    height:42px;
    font-size:19px;
  }

  body.woocommerce-account.logged-in .xp-dashboard-welcome h1{
    font-size:23px;
  }

  body.woocommerce-account.logged-in .xp-dashboard-summary{
    grid-template-columns:1fr;
    gap:12px;
  }

  body.woocommerce-account.logged-in .xp-dashboard-card,
  body.woocommerce-account.logged-in .xp-dashboard-card--profile{
    grid-column:auto;
    min-height:128px;
    padding:16px;
  }

  body.woocommerce-account.logged-in .xp-dashboard-latest{
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
    padding:16px;
  }

  body.woocommerce-account.logged-in .xp-dashboard-status{
    justify-self:end;
  }

  body.woocommerce-account.logged-in .xp-dashboard-order-link{
    grid-column:1 / -1;
    width:100%;
  }

  body.woocommerce-account.logged-in .xp-dashboard-empty{
    align-items:stretch;
    flex-direction:column;
    padding:16px;
  }

  body.woocommerce-account.logged-in .xp-dashboard-empty > a{
    width:100%;
  }
}

/* XPORT ACCOUNT DASHBOARD END */

body.woocommerce-account.logged-in .xp-account-inline-logout:hover{
  border-color:rgba(199,205,214,.95)!important;
  background:rgba(229,232,236,.9)!important;
  color:#111827!important;
}

body.woocommerce-account.logged-in .xp-account-inline-logout{
  min-height:46px!important;
}

@media(max-width:768px){
  body.woocommerce-account.logged-in .xp-account-actions{
    flex-direction:column!important;
    gap:8px!important;
  }

  body.woocommerce-account.logged-in .xp-account-inline-logout{
    width:100%!important;
  }
}

/* XPORT ACCOUNT INLINE LOGOUT END */

/* XPORT ACCOUNT MOBILE HEADER RHYTHM START */

@media(max-width:767px){
  body.xport-ui-system-active.woocommerce-account.logged-in
  .woocommerce:has(> .xp-account-page-head)
  > .woocommerce-MyAccount-navigation{
    margin-bottom:16px!important;
  }

  body.xport-ui-system-active.woocommerce-account.logged-in
  .woocommerce > .xp-account-page-head{
    margin:0 0 16px!important;
  }
}

/* XPORT ACCOUNT MOBILE HEADER RHYTHM END */
