/* Decoax Gallery 3.7.0 — account, OTP and customer endpoints. */
body.dx-ui-370.woocommerce-account .dx-commerce-hero__inner{
  padding-block:30px 34px!important;
}
body.dx-ui-370.woocommerce-account .dx-commerce-hero h1{
  margin:0!important;
  font-size:clamp(38px,4.8vw,60px)!important;
  line-height:1.15!important;
}
body.dx-ui-370.woocommerce-account .dx-commerce-hero__lead{
  max-width:760px!important;
  margin-top:9px!important;
}
body.dx-ui-370.woocommerce-account .dx-commerce-content{
  width:min(calc(100% - 40px),1180px)!important;
  max-width:1180px!important;
  padding-block:30px 76px!important;
}
body.dx-ui-370.woocommerce-account .dx-commerce-entry,
body.dx-ui-370.woocommerce-account .dx-commerce-entry>.woocommerce{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}

/* Signed-in account: one horizontal application navigation, one content card. */
body.dx-ui-370.dx-account-signed-in .dx-commerce-entry>.woocommerce{
  display:block!important;
}
body.dx-ui-370.dx-account-signed-in .woocommerce-MyAccount-navigation{
  position:static!important;
  inset:auto!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 16px!important;
  padding:7px!important;
  float:none!important;
  border:1px solid var(--dx-line)!important;
  border-radius:18px!important;
  background:rgba(255,253,250,.98)!important;
  box-shadow:var(--dx-shadow-sm)!important;
  overflow:hidden!important;
}
body.dx-ui-370.dx-account-signed-in .woocommerce-MyAccount-navigation ul{
  display:flex!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:5px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow-x:auto!important;
  overscroll-behavior-inline:contain;
  scroll-snap-type:x proximity;
  scrollbar-width:none;
  list-style:none!important;
}
body.dx-ui-370.dx-account-signed-in .woocommerce-MyAccount-navigation ul::-webkit-scrollbar{display:none}
body.dx-ui-370.dx-account-signed-in .woocommerce-MyAccount-navigation li{
  flex:1 0 auto!important;
  min-width:max-content!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  scroll-snap-align:center;
}
body.dx-ui-370.dx-account-signed-in .woocommerce-MyAccount-navigation a{
  min-height:48px!important;
  padding:10px 16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:13px!important;
  color:#526063!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.4!important;
  text-align:center!important;
  white-space:nowrap!important;
  transform:none!important;
}
body.dx-ui-370.dx-account-signed-in .woocommerce-MyAccount-navigation li.is-active a,
body.dx-ui-370.dx-account-signed-in .woocommerce-MyAccount-navigation a:hover{
  background:var(--dx-deep)!important;
  color:#fff!important;
}
body.dx-ui-370.dx-account-signed-in .woocommerce-MyAccount-navigation li.is-active a::before{
  width:6px!important;
  height:6px!important;
  margin-inline-end:8px!important;
  flex:0 0 6px!important;
}
body.dx-ui-370.dx-account-signed-in .woocommerce-MyAccount-content{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:clamp(24px,3.5vw,42px)!important;
  float:none!important;
  border:1px solid var(--dx-line)!important;
  border-radius:24px!important;
  background:rgba(255,253,250,.98)!important;
  box-shadow:var(--dx-shadow-sm)!important;
  overflow:hidden!important;
}

/* Dashboard. */
body.dx-ui-370 .dx-account-dashboard__welcome{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
  padding:clamp(20px,3vw,30px)!important;
  border:1px solid var(--dx-soft-line)!important;
  border-radius:19px!important;
  background:linear-gradient(145deg,#faf6ef,#fff)!important;
}
body.dx-ui-370 .dx-account-dashboard__welcome h2{
  margin:0!important;
  font-size:clamp(25px,3vw,36px)!important;
  line-height:1.35!important;
}
body.dx-ui-370 .dx-account-dashboard__welcome p:not(.eyebrow){
  max-width:720px!important;
  margin:8px 0 0!important;
  color:var(--dx-muted)!important;
  line-height:1.9!important;
}
body.dx-ui-370 .dx-account-dashboard__logout{
  flex:0 0 auto!important;
  min-height:44px!important;
  padding:10px 17px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid var(--dx-line)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:var(--dx-copper-dark)!important;
  font-size:12px!important;
  font-weight:820!important;
}

/* Empty states: remove the generic square pseudo-icon and preserve the CTA. */
body.dx-ui-370.woocommerce-account .woocommerce-info{
  position:relative!important;
  min-height:118px!important;
  margin:0!important;
  padding:24px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  border:1px solid rgba(8,169,170,.52)!important;
  border-radius:18px!important;
  background:#fff!important;
  color:var(--dx-ink)!important;
  box-shadow:none!important;
}
body.dx-ui-370.woocommerce-account .woocommerce-info::before,
body.dx-ui-370.woocommerce-account .woocommerce-info::after{
  display:none!important;
  content:none!important;
}
body.dx-ui-370.woocommerce-account .woocommerce-info .button{
  flex:0 0 auto!important;
  min-width:150px!important;
  margin:0!important;
  order:2!important;
}

/* Forms. */
body.dx-ui-370.woocommerce-account .woocommerce-MyAccount-content form{
  width:100%!important;
  max-width:none!important;
}
body.dx-ui-370.woocommerce-account .woocommerce-MyAccount-content form .form-row{
  min-width:0!important;
  margin:0 0 15px!important;
  padding:0!important;
}
body.dx-ui-370.woocommerce-account .woocommerce-MyAccount-content form .form-row-first,
body.dx-ui-370.woocommerce-account .woocommerce-MyAccount-content form .form-row-last{
  width:calc(50% - 7px)!important;
  float:none!important;
  display:inline-block!important;
  vertical-align:top!important;
}
body.dx-ui-370.woocommerce-account .woocommerce-MyAccount-content form .form-row-first{margin-inline-end:10px!important}
body.dx-ui-370.woocommerce-account .woocommerce-MyAccount-content :where(input.input-text,select,textarea){
  width:100%!important;
  min-width:0!important;
  min-height:52px!important;
  padding:11px 13px!important;
  border:1px solid rgba(16,25,27,.17)!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.dx-ui-370.woocommerce-account .woocommerce-MyAccount-content fieldset{
  margin:24px 0 0!important;
  padding:20px!important;
  border:1px solid var(--dx-line)!important;
  border-radius:17px!important;
}
body.dx-ui-370.woocommerce-account .woocommerce-MyAccount-content legend{
  padding-inline:9px!important;
  font-weight:850!important;
}

/* Addresses. */
body.dx-ui-370.woocommerce-account .woocommerce-Addresses{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
}
body.dx-ui-370.woocommerce-account .woocommerce-Addresses::before,
body.dx-ui-370.woocommerce-account .woocommerce-Addresses::after{display:none!important}
body.dx-ui-370.woocommerce-account .woocommerce-Address{
  width:100%!important;
  min-width:0!important;
  float:none!important;
  margin:0!important;
  padding:22px!important;
  border:1px solid var(--dx-line)!important;
  border-radius:18px!important;
  background:#fff!important;
}
body.dx-ui-370.woocommerce-account .woocommerce-Address-title{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
body.dx-ui-370.woocommerce-account .woocommerce-Address-title h2{margin:0!important;font-size:24px!important}
body.dx-ui-370.woocommerce-account .woocommerce-Address-title .edit{
  min-height:40px!important;
  padding:8px 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  border:1px solid var(--dx-line)!important;
  border-radius:999px!important;
  font-size:12px!important;
  font-weight:800!important;
}
body.dx-ui-370.woocommerce-account .woocommerce-Address address{
  margin:16px 0 0!important;
  line-height:1.95!important;
}

/* Tables. */
body.dx-ui-370.woocommerce-account :where(.woocommerce-orders-table,.woocommerce-table,.woocommerce table.shop_table){
  width:100%!important;
  max-width:100%!important;
  table-layout:auto!important;
  border:1px solid var(--dx-line)!important;
  border-radius:17px!important;
  background:#fff!important;
  overflow:hidden!important;
}
body.dx-ui-370.woocommerce-account :where(.woocommerce-orders-table,.woocommerce-table,.woocommerce table.shop_table) :where(th,td){
  padding:14px!important;
  text-align:start!important;
  vertical-align:middle!important;
}
body.dx-ui-370.woocommerce-account .woocommerce-orders-table__cell-order-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
}
body.dx-ui-370.woocommerce-account .dx-order-total-price,
body.dx-ui-370.woocommerce-account .dx-order-item-count{display:block!important}
body.dx-ui-370.woocommerce-account .dx-order-item-count{margin-top:3px!important;color:var(--dx-muted)!important;font-size:10px!important}

/* Guest / OTP. */
body.dx-ui-370.dx-account-guest .dx-commerce-content{width:min(calc(100% - 40px),920px)!important}
body.dx-ui-370.dx-account-guest .dx-commerce-entry>.woocommerce{display:block!important}
body.dx-ui-370.dx-account-guest .dcs-otp-login,
body.dx-ui-370.dx-account-guest .dx-account-auth-recovery{
  width:min(100%,680px)!important;
  max-width:680px!important;
  margin-inline:auto!important;
}
body.dx-ui-370.dx-account-guest:not(.dcs-otp-exclusive) #customer_login{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:22px!important;
}
body.dx-ui-370.dx-account-guest:not(.dcs-otp-exclusive) #customer_login>:where(.u-column1,.u-column2,.col-1,.col-2){
  width:100%!important;
  min-width:0!important;
  float:none!important;
  margin:0!important;
}

@media (max-width:760px){
  body.dx-ui-370.woocommerce-account .dx-commerce-hero__inner{padding-block:22px 24px!important}
  body.dx-ui-370.woocommerce-account .dx-commerce-hero h1{font-size:clamp(32px,9vw,42px)!important}
  body.dx-ui-370.woocommerce-account .dx-commerce-hero__lead{font-size:12px!important;line-height:1.75!important}
  body.dx-ui-370.woocommerce-account .dx-commerce-content{
    width:calc(100% - 20px)!important;
    padding-block:18px 52px!important;
  }
  body.dx-ui-370.dx-account-signed-in .woocommerce-MyAccount-navigation{
    margin-bottom:12px!important;
    padding:6px!important;
    border-radius:16px!important;
  }
  body.dx-ui-370.dx-account-signed-in .woocommerce-MyAccount-navigation li{flex:0 0 auto!important}
  body.dx-ui-370.dx-account-signed-in .woocommerce-MyAccount-navigation a{
    min-height:46px!important;
    padding:9px 14px!important;
    font-size:12px!important;
  }
  body.dx-ui-370.dx-account-signed-in .woocommerce-MyAccount-content{
    padding:20px 15px!important;
    border-radius:19px!important;
  }
  body.dx-ui-370 .dx-account-dashboard__welcome{
    align-items:flex-start!important;
    flex-direction:column!important;
    padding:18px!important;
  }
  body.dx-ui-370 .dx-account-dashboard__logout{width:100%!important}
  body.dx-ui-370.woocommerce-account .woocommerce-info{
    min-height:0!important;
    padding:18px!important;
    flex-direction:column!important;
    align-items:stretch!important;
    text-align:start!important;
  }
  body.dx-ui-370.woocommerce-account .woocommerce-info .button{
    width:100%!important;
    min-width:0!important;
  }
  body.dx-ui-370.woocommerce-account .woocommerce-MyAccount-content form .form-row-first,
  body.dx-ui-370.woocommerce-account .woocommerce-MyAccount-content form .form-row-last{
    display:block!important;
    width:100%!important;
    margin-inline:0!important;
  }
  body.dx-ui-370.woocommerce-account .woocommerce-Addresses{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.dx-ui-370.dx-account-guest:not(.dcs-otp-exclusive) #customer_login{
    grid-template-columns:minmax(0,1fr)!important;
  }

  /* WooCommerce account tables become labelled cards. */
  body.dx-ui-370.woocommerce-account :where(.woocommerce-orders-table,.woocommerce-table--order-downloads,.woocommerce-MyAccount-downloads) thead{display:none!important}
  body.dx-ui-370.woocommerce-account :where(.woocommerce-orders-table,.woocommerce-table--order-downloads,.woocommerce-MyAccount-downloads),
  body.dx-ui-370.woocommerce-account :where(.woocommerce-orders-table,.woocommerce-table--order-downloads,.woocommerce-MyAccount-downloads) tbody{
    display:block!important;
    border:0!important;
    background:transparent!important;
  }
  body.dx-ui-370.woocommerce-account :where(.woocommerce-orders-table,.woocommerce-table--order-downloads,.woocommerce-MyAccount-downloads) tr{
    display:block!important;
    margin:0 0 12px!important;
    padding:14px!important;
    border:1px solid var(--dx-line)!important;
    border-radius:16px!important;
    background:#fff!important;
  }
  body.dx-ui-370.woocommerce-account :where(.woocommerce-orders-table,.woocommerce-table--order-downloads,.woocommerce-MyAccount-downloads) td{
    width:100%!important;
    min-height:42px!important;
    padding:9px 0!important;
    display:grid!important;
    grid-template-columns:minmax(90px,.42fr) minmax(0,1fr)!important;
    align-items:center!important;
    gap:12px!important;
    border:0!important;
    border-bottom:1px solid var(--dx-soft-line)!important;
    text-align:end!important;
    white-space:normal!important;
  }
  body.dx-ui-370.woocommerce-account :where(.woocommerce-orders-table,.woocommerce-table--order-downloads,.woocommerce-MyAccount-downloads) td:last-child{border-bottom:0!important}
  body.dx-ui-370.woocommerce-account :where(.woocommerce-orders-table,.woocommerce-table--order-downloads,.woocommerce-MyAccount-downloads) td::before{
    content:attr(data-title)!important;
    display:block!important;
    color:var(--dx-muted)!important;
    font-size:11px!important;
    font-weight:760!important;
    text-align:start!important;
  }
  body.dx-ui-370.woocommerce-account .woocommerce-orders-table__cell-order-actions{display:flex!important;justify-content:flex-end!important}
}

@media (max-width:400px){
  body.dx-ui-370.woocommerce-account .dx-commerce-content{width:calc(100% - 16px)!important}
  body.dx-ui-370.dx-account-signed-in .woocommerce-MyAccount-content{padding:17px 12px!important}
  body.dx-ui-370.dx-account-signed-in .woocommerce-MyAccount-navigation a{padding-inline:12px!important}
  body.dx-ui-370.woocommerce-account .woocommerce-Address{padding:17px 14px!important}
}

/* 3.7.0 — the unused saved-payment endpoint is removed in PHP. If cached
   markup survives briefly, keep it out of the navigation without affecting
   orders or gateway selection at checkout. */
body.dx-ui-370.woocommerce-account .woocommerce-MyAccount-navigation-link--payment-methods,
body.dx-ui-370.woocommerce-account .woocommerce-MyAccount-navigation-link--add-payment-method{
  display:none!important;
}

/* Decoax Gallery 3.7.1 — keep the order-number cell visually consistent. */
body.dx-ui-370.woocommerce-account .woocommerce-orders-table :where(th,td),
body.dx-ui-370.woocommerce-account .woocommerce-orders-table__cell-order-number,
body.dx-ui-370.woocommerce-account .woocommerce-orders-table__header-order-number{
  background:transparent!important;
}
body.dx-ui-370.woocommerce-account .woocommerce-orders-table__cell-order-number a,
body.dx-ui-370.woocommerce-account .dx-order-number{
  display:inline-flex!important;
  align-items:center!important;
  min-height:32px!important;
  padding:4px 8px!important;
  border-radius:8px!important;
  background:transparent!important;
  color:var(--dx-copper-dark)!important;
  box-shadow:none!important;
}

/* Decoax Gallery 3.7.2 — digital-account addresses: billing only. */
body.dx-ui-370.woocommerce-account .woocommerce-Addresses{
  grid-template-columns:minmax(0,1fr)!important;
  max-width:820px!important;
  margin-inline:auto!important;
}
body.dx-ui-370.woocommerce-account .woocommerce-Address--shipping,
body.dx-ui-370.woocommerce-account .u-column2.woocommerce-Address{
  display:none!important;
}
body.dx-ui-370.woocommerce-account .woocommerce-Address--billing,
body.dx-ui-370.woocommerce-account .u-column1.woocommerce-Address{
  width:100%!important;
  max-width:100%!important;
}
@media (max-width:767px){
  body.dx-ui-370.woocommerce-account .woocommerce-Addresses{max-width:none!important}
  body.dx-ui-370.woocommerce-account .woocommerce-Address{padding:17px!important}
  body.dx-ui-370.woocommerce-account .woocommerce-Address-title{align-items:flex-start!important}
  body.dx-ui-370.woocommerce-account .woocommerce-Address-title h2{font-size:21px!important}
}


/* -------------------------------------------------------------------------
   Decoax Gallery 3.7.3 — address-card title/action alignment
   ------------------------------------------------------------------------- */
body.dx-ui-370.woocommerce-account .woocommerce-Address-title{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  float:none!important;
  clear:both!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  direction:inherit!important;
  box-sizing:border-box!important;
}
body.dx-ui-370.dx-language-fa.woocommerce-account .woocommerce-Address-title{direction:rtl!important}
body.dx-ui-370.dx-language-en.woocommerce-account .woocommerce-Address-title{direction:ltr!important}
body.dx-ui-370.woocommerce-account .woocommerce-Address-title h2{
  flex:1 1 auto!important;
  min-width:0!important;
  margin:0!important;
  text-align:start!important;
  overflow-wrap:anywhere!important;
}
body.dx-ui-370.woocommerce-account .woocommerce-Address-title .edit{
  flex:0 0 auto!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  white-space:nowrap!important;
  text-align:center!important;
  justify-content:center!important;
}
body.dx-ui-370.woocommerce-account .woocommerce-Address address{
  width:100%!important;
  text-align:start!important;
}
@media (max-width:420px){
  body.dx-ui-370.woocommerce-account .woocommerce-Address-title{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px!important;
  }
  body.dx-ui-370.woocommerce-account .woocommerce-Address-title .edit{
    width:100%!important;
  }
}
body.dx-ui-370.woocommerce-account .woocommerce-Address-title .edit{
  box-sizing:border-box!important;
}
