/*
 * Decoax Gallery 3.7.0 — Cart & Checkout UI hardening.
 * Scoped to WooCommerce Cart/Checkout Blocks and deliberately loaded after
 * the legacy foundation. Business rules and gateway availability stay owned
 * by WooCommerce and the Decoax commerce plugins.
 */

/* -------------------------------------------------------------------------
   Shared shell, direction and layout
   ------------------------------------------------------------------------- */
body.dx-ui-370:is(.dx-surface-cart,.dx-surface-checkout) .dx-commerce-hero{
  padding:0!important;
}
body.dx-ui-370:is(.dx-surface-cart,.dx-surface-checkout) .dx-commerce-hero__inner{
  padding-block:32px 36px!important;
}
body.dx-ui-370:is(.dx-surface-cart,.dx-surface-checkout) .dx-commerce-hero h1{
  margin:0!important;
  font-size:clamp(38px,4.7vw,62px)!important;
  line-height:1.14!important;
}
body.dx-ui-370:is(.dx-surface-cart,.dx-surface-checkout) .dx-commerce-hero__lead{
  max-width:720px!important;
  margin-top:9px!important;
}
body.dx-ui-370:is(.dx-surface-cart,.dx-surface-checkout) .dx-commerce-content{
  width:min(calc(100% - 40px),1280px)!important;
  max-width:1280px!important;
  padding-block:34px 76px!important;
}
body.dx-ui-370:is(.dx-surface-cart,.dx-surface-checkout) :where(
  .dx-commerce-entry,
  .wp-block-woocommerce-cart,
  .wp-block-woocommerce-checkout,
  .wc-block-cart,
  .wc-block-checkout,
  .wc-block-components-sidebar-layout,
  .wc-block-components-main,
  .wc-block-components-sidebar,
  .wc-block-cart__main,
  .wc-block-cart__sidebar,
  .wc-block-checkout__main,
  .wc-block-checkout__sidebar
){
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  float:none!important;
  flex-basis:auto!important;
  box-sizing:border-box!important;
}

/* The outer grid uses physical columns, but every actual interface region is
   explicitly restored to its language direction. This fixes the reversed
   product, total, country and state alignment visible in the live screenshots. */
body.dx-ui-370.dx-language-fa:is(.dx-surface-cart,.dx-surface-checkout) :where(
  .wc-block-components-main,
  .wc-block-components-sidebar,
  .wc-block-cart__main,
  .wc-block-cart__sidebar,
  .wc-block-checkout__main,
  .wc-block-checkout__sidebar,
  .wc-block-cart-items,
  .wc-block-components-order-summary
){
  direction:rtl!important;
  text-align:right!important;
}
body.dx-ui-370.dx-language-en:is(.dx-surface-cart,.dx-surface-checkout) :where(
  .wc-block-components-main,
  .wc-block-components-sidebar,
  .wc-block-cart__main,
  .wc-block-cart__sidebar,
  .wc-block-checkout__main,
  .wc-block-checkout__sidebar,
  .wc-block-cart-items,
  .wc-block-components-order-summary
){
  direction:ltr!important;
  text-align:left!important;
}

@media (min-width:1100px){
  body.dx-ui-370.dx-surface-cart .wc-block-components-sidebar-layout{
    display:grid!important;
    grid-template-columns:minmax(330px,.62fr) minmax(0,1.38fr)!important;
    grid-template-areas:"sidebar main"!important;
    gap:30px!important;
    align-items:start!important;
    direction:ltr!important;
  }
  body.dx-ui-370.dx-surface-cart.dx-language-en .wc-block-components-sidebar-layout{
    grid-template-columns:minmax(0,1.38fr) minmax(330px,.62fr)!important;
    grid-template-areas:"main sidebar"!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-sidebar-layout{
    display:grid!important;
    grid-template-columns:minmax(390px,.78fr) minmax(0,1.22fr)!important;
    grid-template-areas:"sidebar main"!important;
    gap:32px!important;
    align-items:start!important;
    direction:ltr!important;
  }
  body.dx-ui-370.dx-surface-checkout.dx-language-en .wc-block-components-sidebar-layout{
    grid-template-columns:minmax(0,1.22fr) minmax(390px,.78fr)!important;
    grid-template-areas:"main sidebar"!important;
  }
  body.dx-ui-370:is(.dx-surface-cart,.dx-surface-checkout) .wc-block-components-sidebar-layout>:where(
    .wc-block-components-main,.wc-block-cart__main,.wc-block-checkout__main
  ){
    grid-area:main!important;
  }
  body.dx-ui-370:is(.dx-surface-cart,.dx-surface-checkout) .wc-block-components-sidebar-layout>:where(
    .wc-block-components-sidebar,.wc-block-cart__sidebar,.wc-block-checkout__sidebar
  ){
    grid-area:sidebar!important;
    position:static!important;
    inset:auto!important;
    align-self:start!important;
  }
}

@media (max-width:1099px){
  body.dx-ui-370:is(.dx-surface-cart,.dx-surface-checkout) .wc-block-components-sidebar-layout{
    display:flex!important;
    flex-direction:column!important;
    gap:18px!important;
    align-items:stretch!important;
  }
  body.dx-ui-370.dx-surface-cart .wc-block-components-sidebar-layout>:where(
    .wc-block-components-main,.wc-block-cart__main
  ){order:1!important}
  body.dx-ui-370.dx-surface-cart .wc-block-components-sidebar-layout>:where(
    .wc-block-components-sidebar,.wc-block-cart__sidebar
  ){order:2!important}
  body.dx-ui-370.dx-surface-checkout .wc-block-components-sidebar-layout>:where(
    .wc-block-components-sidebar,.wc-block-checkout__sidebar
  ){order:1!important}
  body.dx-ui-370.dx-surface-checkout .wc-block-components-sidebar-layout>:where(
    .wc-block-components-main,.wc-block-checkout__main
  ){order:2!important}
}

/* -------------------------------------------------------------------------
   Cart — compact, readable line-item cards instead of an empty wide table
   ------------------------------------------------------------------------- */
body.dx-ui-370.dx-surface-cart .wc-block-cart-items{
  display:block!important;
  width:100%!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  border-spacing:0!important;
  overflow:visible!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-items thead{
  display:none!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-items tbody{
  display:grid!important;
  gap:14px!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-items__row{
  display:grid!important;
  grid-template-columns:82px minmax(0,1fr) minmax(120px,auto)!important;
  grid-template-areas:"image product total"!important;
  align-items:center!important;
  gap:16px!important;
  width:100%!important;
  min-height:122px!important;
  padding:18px!important;
  border:1px solid var(--dx-line)!important;
  border-radius:20px!important;
  background:#fffdfa!important;
  box-shadow:0 10px 28px rgba(8,28,31,.05)!important;
  overflow:hidden!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-items__row>td{
  display:block!important;
  width:auto!important;
  min-width:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__image{
  grid-area:image!important;
  width:82px!important;
  min-width:82px!important;
  margin:0!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__image img{
  display:block!important;
  width:82px!important;
  height:82px!important;
  max-width:none!important;
  border-radius:14px!important;
  object-fit:cover!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__product{
  grid-area:product!important;
  min-width:0!important;
  align-self:center!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__total{
  grid-area:total!important;
  min-width:120px!important;
  align-self:center!important;
  text-align:end!important;
  white-space:nowrap!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-components-product-name{
  display:block!important;
  margin:0 0 4px!important;
  color:var(--dx-ink)!important;
  font-size:15px!important;
  font-weight:850!important;
  line-height:1.55!important;
  overflow-wrap:anywhere!important;
}
body.dx-ui-370.dx-surface-cart :where(
  .wc-block-components-product-metadata,
  .wc-block-cart-item__prices,
  .wc-block-components-product-price
){
  font-size:12px!important;
  line-height:1.75!important;
  color:var(--dx-muted)!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-components-product-metadata__description{
  display:-webkit-box!important;
  max-width:46ch!important;
  overflow:hidden!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__remove-link{
  display:inline-flex!important;
  align-items:center!important;
  min-height:34px!important;
  margin-top:7px!important;
  color:#9b3d38!important;
  text-decoration:none!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart__sidebar,
body.dx-ui-370.dx-surface-cart .wc-block-components-sidebar{
  padding:22px!important;
  border:1px solid var(--dx-line)!important;
  border-radius:22px!important;
  background:#fffdfa!important;
  box-shadow:var(--dx-shadow-sm)!important;
}
body.dx-ui-370.dx-surface-cart :where(
  .wc-block-cart__totals-title,
  .wc-block-components-sidebar>h2
){
  margin:0 0 18px!important;
  font-size:clamp(24px,2.2vw,32px)!important;
  line-height:1.3!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-components-totals-coupon__form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px!important;
  align-items:stretch!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-components-totals-coupon__input{
  min-width:0!important;
  margin:0!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-components-totals-coupon__button{
  min-width:112px!important;
  min-height:50px!important;
  margin:0!important;
  border-radius:14px!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart__submit-button{
  width:100%!important;
  min-height:56px!important;
  margin-top:18px!important;
  border-radius:16px!important;
  font-size:15px!important;
  font-weight:850!important;
  white-space:normal!important;
}

/* -------------------------------------------------------------------------
   Checkout — order summary, contact and billing fields
   ------------------------------------------------------------------------- */
body.dx-ui-370.dx-surface-checkout .wc-block-checkout__sidebar,
body.dx-ui-370.dx-surface-checkout .wc-block-components-sidebar{
  padding:20px!important;
  border:1px solid var(--dx-line)!important;
  border-radius:22px!important;
  background:#fffdfa!important;
  box-shadow:var(--dx-shadow-sm)!important;
}
body.dx-ui-370.dx-surface-checkout :where(
  .wc-block-components-checkout-order-summary__title,
  .wc-block-checkout__sidebar>h2,
  .wc-block-components-sidebar>h2
){
  margin:0 0 18px!important;
  font-size:clamp(24px,2.2vw,32px)!important;
  line-height:1.3!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item{
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr) minmax(105px,auto)!important;
  grid-template-areas:"image description price"!important;
  align-items:center!important;
  gap:12px!important;
  min-width:0!important;
  padding:14px 0!important;
  border-bottom:1px solid var(--dx-soft-line)!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item:last-child{
  border-bottom:0!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__image{
  grid-area:image!important;
  width:64px!important;
  min-width:64px!important;
  margin:0!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__image img{
  display:block!important;
  width:64px!important;
  height:64px!important;
  max-width:none!important;
  border-radius:12px!important;
  object-fit:cover!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__quantity{
  inset-block-start:-6px!important;
  inset-inline-start:-6px!important;
  inset-inline-end:auto!important;
  min-width:20px!important;
  height:20px!important;
  padding-inline:5px!important;
  border-radius:999px!important;
  font-size:10px!important;
  line-height:20px!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__description{
  grid-area:description!important;
  min-width:0!important;
  margin:0!important;
  text-align:start!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name{
  display:block!important;
  margin:0 0 4px!important;
  font-size:14px!important;
  font-weight:850!important;
  line-height:1.55!important;
  overflow-wrap:anywhere!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__description :where(
  .wc-block-components-product-metadata,
  .wc-block-components-product-price
){
  color:var(--dx-muted)!important;
  font-size:11px!important;
  line-height:1.7!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__total-price{
  grid-area:price!important;
  min-width:105px!important;
  margin:0!important;
  text-align:end!important;
  white-space:nowrap!important;
  font-size:12px!important;
}

body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-step{
  width:100%!important;
  margin:0 0 18px!important;
  padding:22px!important;
  border:1px solid var(--dx-line)!important;
  border-radius:22px!important;
  background:#fffdfa!important;
  box-shadow:0 12px 32px rgba(8,28,31,.05)!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-step__heading{
  margin:0 0 18px!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-step__title{
  margin:0!important;
  font-size:clamp(26px,2.4vw,36px)!important;
  line-height:1.3!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-step__description{
  margin-top:6px!important;
  color:var(--dx-muted)!important;
  font-size:12px!important;
  line-height:1.8!important;
}

/* Contact is a single-field section and must not inherit the two-column
   billing grid. */
body.dx-ui-370.dx-surface-checkout :where(
  .wc-block-checkout__contact-fields,
  .wc-block-checkout__contact-fields .wc-block-components-address-form
){
  display:block!important;
  width:100%!important;
  max-width:none!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-checkout__contact-fields :where(
  .wc-block-components-text-input,
  .wc-block-components-combobox,
  .wc-block-components-select
){
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

body.dx-ui-370.dx-surface-checkout .wc-block-checkout__billing-fields .wc-block-components-address-form,
body.dx-ui-370.dx-surface-checkout .wc-block-checkout__shipping-fields .wc-block-components-address-form,
body.dx-ui-370.dx-surface-checkout .wc-block-components-address-form{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px 16px!important;
  width:100%!important;
  max-width:none!important;
  align-items:start!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-address-form>*{
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
}
/* Email/contact, address line 1/2 and company notes read better full-width. */
body.dx-ui-370.dx-surface-checkout :where(
  .wc-block-components-address-form__email,
  .wc-block-components-address-form__address_1,
  .wc-block-components-address-form__address_2,
  .wc-block-components-address-form__company
){
  grid-column:1/-1!important;
}

body.dx-ui-370.dx-surface-checkout :where(
  .wc-block-components-text-input,
  .wc-block-components-combobox,
  .wc-block-components-select
){
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  direction:inherit!important;
  text-align:start!important;
}
body.dx-ui-370.dx-surface-checkout :where(
  .wc-block-components-text-input input,
  .wc-block-components-combobox input,
  .wc-block-components-select select,
  .wc-block-components-textarea
){
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:54px!important;
  margin:0!important;
  padding:18px 14px 8px!important;
  border:1px solid rgba(16,25,27,.17)!important;
  border-radius:14px!important;
  background:#fff!important;
  color:var(--dx-ink)!important;
  direction:inherit!important;
  text-align:start!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
body.dx-ui-370.dx-language-fa.dx-surface-checkout :where(
  .wc-block-components-text-input input,
  .wc-block-components-combobox input,
  .wc-block-components-select select,
  .wc-block-components-textarea
){
  direction:rtl!important;
  text-align:right!important;
}
body.dx-ui-370.dx-language-en.dx-surface-checkout :where(
  .wc-block-components-text-input input,
  .wc-block-components-combobox input,
  .wc-block-components-select select,
  .wc-block-components-textarea
){
  direction:ltr!important;
  text-align:left!important;
}
body.dx-ui-370.dx-surface-checkout :where(
  .wc-block-components-text-input label,
  .wc-block-components-combobox label,
  .wc-block-components-select label
){
  position:absolute!important;
  z-index:2!important;
  inset-block-start:7px!important;
  inset-inline-start:14px!important;
  inset-inline-end:auto!important;
  max-width:calc(100% - 28px)!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  color:#566164!important;
  font-size:10px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  pointer-events:none!important;
  transform:none!important;
  transform-origin:top start!important;
  background:transparent!important;
  direction:inherit!important;
  text-align:start!important;
}
body.dx-ui-370.dx-language-fa.dx-surface-checkout :where(
  .wc-block-components-text-input label,
  .wc-block-components-combobox label,
  .wc-block-components-select label
){
  inset-inline-start:auto!important;
  inset-inline-end:14px!important;
  text-align:right!important;
}
body.dx-ui-370.dx-surface-checkout :where(
  .wc-block-components-text-input input,
  .wc-block-components-combobox input,
  .wc-block-components-select select,
  .wc-block-components-textarea
):focus{
  border-color:rgba(8,169,170,.85)!important;
  box-shadow:var(--dx-focus-ring)!important;
  outline:0!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-validation-error{
  width:100%!important;
  margin:6px 0 0!important;
  color:#c82929!important;
  font-size:11px!important;
  line-height:1.65!important;
  text-align:start!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-validation-error p{
  margin:0!important;
}

/* -------------------------------------------------------------------------
   Payment options — one radio, one logo, one accessible state indicator
   ------------------------------------------------------------------------- */
body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control-accordion-option{
  width:100%!important;
  margin:0 0 12px!important;
  border:1px solid rgba(16,35,39,.14)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body.dx-ui-370.dx-surface-checkout :where(
  .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
  .wc-block-components-radio-control-accordion-option.is-checked
){
  border-color:rgba(8,169,170,.66)!important;
  box-shadow:0 0 0 3px rgba(8,169,170,.10)!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control__option{
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  min-height:58px!important;
  padding:14px 16px!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  direction:inherit!important;
  box-sizing:border-box!important;
}
/* Own the radio completely. WooCommerce renders the selected dot on the
   input itself; moving the native input without resetting that pseudo element
   caused the detached black dots shown in the screenshots. */
body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control__input{
  -webkit-appearance:none!important;
  appearance:none!important;
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  flex:0 0 21px!important;
  display:grid!important;
  place-items:center!important;
  width:21px!important;
  height:21px!important;
  min-width:21px!important;
  margin:0!important;
  padding:0!important;
  border:1.5px solid #839092!important;
  border-radius:50%!important;
  background:#fff!important;
  opacity:1!important;
  clip:auto!important;
  clip-path:none!important;
  box-shadow:none!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control__input::before{
  content:""!important;
  display:block!important;
  position:static!important;
  width:9px!important;
  height:9px!important;
  margin:0!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  transform:none!important;
  box-shadow:none!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control__input:checked{
  border-color:var(--dx-teal)!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control__input:checked::before{
  background:var(--dx-teal)!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control__input:focus-visible{
  box-shadow:var(--dx-focus-ring)!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control__label{
  position:relative!important;
  flex:1 1 auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  color:var(--dx-ink)!important;
  font-size:14px!important;
  font-weight:830!important;
  line-height:1.6!important;
  overflow-wrap:anywhere!important;
  text-align:start!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control__label::before,
body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control__label::after,
body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control__option::before,
body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control__option::after{
  content:none!important;
  display:none!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control__label>img{
  flex:0 0 auto!important;
  width:auto!important;
  max-width:58px!important;
  height:auto!important;
  max-height:24px!important;
  margin-inline-start:auto!important;
  object-fit:contain!important;
  object-position:center!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control-accordion-content{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0 16px 16px!important;
  box-sizing:border-box!important;
}

/* Card-to-card and USDT share the same information architecture. */
body.dx-ui-370.dx-surface-checkout :where(
  .dcs-card-transfer-block,
  .dcs-usdt-transfer-block
){
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:14px!important;
  border-radius:15px!important;
  background:#f8f4ed!important;
  box-sizing:border-box!important;
}
body.dx-ui-370.dx-surface-checkout :where(
  .dcs-card-transfer-block__intro,
  .dcs-usdt-transfer-block__intro,
  .dcs-card-transfer-block>p,
  .dcs-usdt-transfer-block>p
){
  margin:0 0 10px!important;
  padding:11px 12px!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#526063!important;
  font-size:12px!important;
  line-height:1.85!important;
}
body.dx-ui-370.dx-surface-checkout :where(
  .dcs-card-transfer-block__details,
  .dcs-usdt-transfer-block__details
){
  display:grid!important;
  gap:9px!important;
}
body.dx-ui-370.dx-surface-checkout :where(
  .dcs-card-transfer-block__row,
  .dcs-usdt-transfer-block__row
){
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:minmax(90px,.32fr) minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  margin:0!important;
  padding:10px 12px!important;
  border:1px solid var(--dx-soft-line)!important;
  border-radius:13px!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
body.dx-ui-370.dx-surface-checkout :where(
  .dcs-card-transfer-block__label,
  .dcs-usdt-transfer-block__label
){
  min-width:0!important;
  font-size:12px!important;
  font-weight:820!important;
  text-align:start!important;
}
body.dx-ui-370.dx-surface-checkout :where(
  .dcs-card-transfer-block__value,
  .dcs-usdt-transfer-block__value,
  .dcs-usdt-wallet,
  .dcs-usdt-hash,
  .dcs-usdt-network
){
  min-width:0!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}
body.dx-ui-370.dx-surface-checkout :where(
  .dcs-card-transfer-block__copy,
  .dcs-usdt-transfer-block__copy
){
  min-width:44px!important;
  min-height:38px!important;
  margin:0!important;
  padding:7px 10px!important;
  border-radius:999px!important;
}

/* Rebuild the details summary visually around one theme-owned indicator. */
body.dx-ui-370.dx-surface-checkout .dcs-payment-guide{
  width:100%!important;
  margin-top:10px!important;
  border:1px solid rgba(16,35,39,.10)!important;
  border-radius:14px!important;
  background:#fff!important;
  overflow:hidden!important;
}
body.dx-ui-370.dx-surface-checkout .dcs-payment-guide>summary{
  position:relative!important;
  width:100%!important;
  min-height:48px!important;
  padding:10px 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  color:#21383c!important;
  font-size:12px!important;
  font-weight:840!important;
  line-height:1.5!important;
  cursor:pointer!important;
  text-align:start!important;
  box-sizing:border-box!important;
}
body.dx-ui-370.dx-surface-checkout .dcs-payment-guide>summary::before,
body.dx-ui-370.dx-surface-checkout .dcs-payment-guide>summary::after{
  content:none!important;
  display:none!important;
}
body.dx-ui-370.dx-surface-checkout .dcs-payment-guide>summary>.dx-payment-guide-label{
  flex:1 1 auto!important;
  min-width:0!important;
  text-align:start!important;
}
body.dx-ui-370.dx-surface-checkout .dcs-payment-guide>summary>.dx-payment-guide-indicator{
  flex:0 0 27px!important;
  width:27px!important;
  height:27px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:#e8f2f1!important;
  color:#0d5e61!important;
  font-family:Arial,sans-serif!important;
  font-size:18px!important;
  font-weight:700!important;
  line-height:1!important;
}
body.dx-ui-370.dx-surface-checkout .dcs-payment-guide__content{
  padding:12px 14px 14px!important;
  border-top:1px solid var(--dx-soft-line)!important;
}
body.dx-ui-370.dx-surface-checkout .dcs-payment-guide__content :where(p,li){
  margin-block:0 8px!important;
  color:#596669!important;
  font-size:12px!important;
  line-height:1.95!important;
}

/* Notes, terms and final action are a compact, aligned action stack. */
body.dx-ui-370.dx-surface-checkout :where(
  .wc-block-checkout__add-note,
  .wc-block-components-checkout-step--with-step-number.wc-block-checkout__add-note
){
  width:100%!important;
  margin:0 0 14px!important;
  padding:16px 18px!important;
  border:1px solid var(--dx-line)!important;
  border-radius:18px!important;
  background:#fffdfa!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-checkout__add-note .wc-block-components-checkbox{
  margin:0!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-checkout__add-note textarea{
  width:100%!important;
  min-height:92px!important;
  margin-top:12px!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-checkout__terms{
  width:100%!important;
  margin:0!important;
  padding:17px 0 12px!important;
  border-top:1px solid rgba(16,35,39,.14)!important;
  color:#526063!important;
  font-size:12px!important;
  line-height:1.9!important;
  text-align:start!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-place-order-button{
  width:100%!important;
  min-height:56px!important;
  margin-top:0!important;
  padding:13px 22px!important;
  border-radius:16px!important;
  font-size:15px!important;
  font-weight:850!important;
  line-height:1.4!important;
  white-space:normal!important;
}

/* Classic checkout fallback remains deterministic. */
body.dx-ui-370.dx-surface-checkout form.checkout.woocommerce-checkout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(360px,.72fr)!important;
  gap:30px!important;
  align-items:start!important;
}
body.dx-ui-370.dx-surface-checkout form.checkout :where(#customer_details,#order_review_heading,#order_review){
  float:none!important;
  width:100%!important;
  min-width:0!important;
}

/* -------------------------------------------------------------------------
   Tablet and mobile
   ------------------------------------------------------------------------- */
@media (max-width:820px){
  body.dx-ui-370:is(.dx-surface-cart,.dx-surface-checkout) .dx-commerce-hero__inner{
    padding-block:22px 24px!important;
  }
  body.dx-ui-370:is(.dx-surface-cart,.dx-surface-checkout) .dx-commerce-hero h1{
    font-size:clamp(32px,8.5vw,42px)!important;
  }
  body.dx-ui-370:is(.dx-surface-cart,.dx-surface-checkout) .dx-commerce-content{
    width:calc(100% - 22px)!important;
    padding-block:20px 54px!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-step,
  body.dx-ui-370.dx-surface-checkout .wc-block-checkout__sidebar,
  body.dx-ui-370.dx-surface-checkout .wc-block-components-sidebar,
  body.dx-ui-370.dx-surface-cart .wc-block-cart__sidebar,
  body.dx-ui-370.dx-surface-cart .wc-block-components-sidebar{
    padding:16px!important;
    border-radius:18px!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-step__title{
    font-size:24px!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-address-form,
  body.dx-ui-370.dx-surface-checkout .wc-block-checkout__billing-fields .wc-block-components-address-form,
  body.dx-ui-370.dx-surface-checkout .wc-block-checkout__shipping-fields .wc-block-components-address-form{
    grid-template-columns:minmax(0,1fr)!important;
    gap:11px!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-address-form>*{
    grid-column:1/-1!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item{
    grid-template-columns:54px minmax(0,1fr) auto!important;
    gap:10px!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__image,
  body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__image img{
    width:54px!important;
    height:54px!important;
    min-width:54px!important;
  }
  body.dx-ui-370.dx-surface-checkout form.checkout.woocommerce-checkout{
    grid-template-columns:1fr!important;
  }
}

@media (max-width:620px){
  body.dx-ui-370.dx-surface-cart .wc-block-cart-items__row{
    grid-template-columns:64px minmax(0,1fr)!important;
    grid-template-areas:"image product" "image total"!important;
    align-items:start!important;
    min-height:0!important;
    padding:13px!important;
    gap:8px 12px!important;
  }
  body.dx-ui-370.dx-surface-cart .wc-block-cart-item__image,
  body.dx-ui-370.dx-surface-cart .wc-block-cart-item__image img{
    width:62px!important;
    height:62px!important;
    min-width:62px!important;
  }
  body.dx-ui-370.dx-surface-cart .wc-block-cart-item__total{
    min-width:0!important;
    margin-top:4px!important;
    text-align:start!important;
  }
  body.dx-ui-370.dx-surface-cart .wc-block-components-totals-coupon__form{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.dx-ui-370.dx-surface-cart .wc-block-components-totals-coupon__button{
    width:100%!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control__option{
    min-height:54px!important;
    padding:12px 13px!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control-accordion-content{
    padding:0 12px 13px!important;
  }
  body.dx-ui-370.dx-surface-checkout :where(
    .dcs-card-transfer-block__row,
    .dcs-usdt-transfer-block__row
  ){
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"label copy" "value value"!important;
    gap:6px 10px!important;
  }
  body.dx-ui-370.dx-surface-checkout :where(
    .dcs-card-transfer-block__label,
    .dcs-usdt-transfer-block__label
  ){grid-area:label!important}
  body.dx-ui-370.dx-surface-checkout :where(
    .dcs-card-transfer-block__value,
    .dcs-usdt-transfer-block__value
  ){grid-area:value!important}
  body.dx-ui-370.dx-surface-checkout :where(
    .dcs-card-transfer-block__copy,
    .dcs-usdt-transfer-block__copy
  ){grid-area:copy!important}
  body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item{
    grid-template-columns:50px minmax(0,1fr)!important;
    grid-template-areas:"image description" "image price"!important;
    align-items:start!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__total-price{
    min-width:0!important;
    text-align:start!important;
  }
}

@media (max-width:420px){
  body.dx-ui-370:is(.dx-surface-cart,.dx-surface-checkout) .dx-commerce-content{
    width:calc(100% - 14px)!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-step,
  body.dx-ui-370.dx-surface-checkout .wc-block-checkout__sidebar,
  body.dx-ui-370.dx-surface-checkout .wc-block-components-sidebar,
  body.dx-ui-370.dx-surface-cart .wc-block-cart__sidebar,
  body.dx-ui-370.dx-surface-cart .wc-block-components-sidebar{
    padding:13px 11px!important;
    border-radius:16px!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-step__title{
    font-size:21px!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control__option{
    padding:11px!important;
    gap:9px!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control__label{
    font-size:12px!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control__label>img{
    max-width:44px!important;
    max-height:21px!important;
  }
  body.dx-ui-370.dx-surface-checkout :where(
    .wc-block-components-text-input input,
    .wc-block-components-combobox input,
    .wc-block-components-select select,
    .wc-block-components-textarea
  ){
    min-height:50px!important;
    font-size:16px!important;
  }
  body.dx-ui-370.dx-surface-cart .wc-block-cart-items__row{
    grid-template-columns:56px minmax(0,1fr)!important;
    padding:11px!important;
    gap:7px 10px!important;
  }
  body.dx-ui-370.dx-surface-cart .wc-block-cart-item__image,
  body.dx-ui-370.dx-surface-cart .wc-block-cart-item__image img{
    width:54px!important;
    height:54px!important;
    min-width:54px!important;
  }
  body.dx-ui-370.dx-surface-checkout .dcs-payment-guide>summary{
    padding-inline:10px!important;
    font-size:11px!important;
  }
}

/* -------------------------------------------------------------------------
   3.7.0 — digital-only customer details and richer cart metadata
   ------------------------------------------------------------------------- */
body.dx-ui-370.dx-surface-cart .wc-block-components-product-details{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px 10px!important;
  max-width:620px!important;
  margin:10px 0 0!important;
  padding:0!important;
  list-style:none!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-components-product-details li{
  min-width:0!important;
  margin:0!important;
  padding:7px 9px!important;
  border:1px solid var(--dx-soft-line)!important;
  border-radius:10px!important;
  background:#f8f6f1!important;
  color:#536164!important;
  font-size:10px!important;
  line-height:1.6!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-components-product-details__name{
  display:block!important;
  margin-bottom:2px!important;
  color:#697477!important;
  font-size:9px!important;
  font-weight:750!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-components-product-details__value{
  display:block!important;
  color:var(--dx-ink)!important;
  font-weight:800!important;
  overflow-wrap:anywhere!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__product{
  padding-block:4px!important;
}

/* The Checkout Block must retain Country for locale resolution, while the
   address fields themselves are removed by PHP for virtual-only carts. */
body.dx-ui-370.dx-surface-checkout.dx-digital-checkout .wc-block-checkout__billing-fields .wc-block-components-address-form{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:auto auto auto!important;
  gap:14px 16px!important;
}
body.dx-ui-370.dx-surface-checkout.dx-digital-checkout .wc-block-components-address-form__first_name{
  grid-column:1!important;
  grid-row:1!important;
}
body.dx-ui-370.dx-surface-checkout.dx-digital-checkout .wc-block-components-address-form__last_name{
  grid-column:2!important;
  grid-row:1!important;
}
body.dx-ui-370.dx-surface-checkout.dx-digital-checkout .wc-block-components-address-form__phone{
  grid-column:1/-1!important;
  grid-row:2!important;
}
body.dx-ui-370.dx-surface-checkout.dx-digital-checkout .wc-block-components-address-form__country{
  grid-column:1/-1!important;
  grid-row:3!important;
}
body.dx-ui-370.dx-surface-checkout.dx-digital-checkout .wc-block-checkout__billing-fields .wc-block-components-checkout-step__description::after{
  content:""!important;
}
body.dx-ui-370.dx-surface-checkout.dx-digital-checkout .dx-digital-contact-step{
  position:relative!important;
}
body.dx-ui-370.dx-surface-checkout.dx-digital-checkout .dx-digital-contact-note{
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  margin:-5px 0 17px!important;
  padding:11px 13px!important;
  border-radius:13px!important;
  background:#eef8f6!important;
  color:#416466!important;
  font-size:11.5px!important;
  line-height:1.8!important;
}
body.dx-ui-370.dx-surface-checkout.dx-digital-checkout .dx-digital-contact-note::before{
  content:"i"!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 22px!important;
  width:22px!important;
  height:22px!important;
  border-radius:999px!important;
  background:var(--dx-teal)!important;
  color:#fff!important;
  font-weight:900!important;
  font-style:normal!important;
  font-family:Georgia,'Times New Roman',serif!important;
}
body.dx-ui-370.dx-surface-checkout.dx-digital-checkout .wc-block-components-address-form__phone input{
  direction:ltr!important;
  text-align:left!important;
  font-variant-numeric:tabular-nums!important;
}
body.dx-ui-370.dx-language-fa.dx-surface-checkout.dx-digital-checkout .wc-block-components-address-form__phone label{
  inset-inline-start:14px!important;
  inset-inline-end:auto!important;
  text-align:left!important;
}
body.dx-ui-370.dx-surface-checkout.dx-digital-checkout .wc-block-components-address-form__country select{
  background-color:#fafbf9!important;
}
body.dx-ui-370.dx-surface-checkout.dx-digital-checkout .wc-block-checkout__contact-fields,
body.dx-ui-370.dx-surface-checkout.dx-digital-checkout .wc-block-checkout__billing-fields{
  overflow:visible!important;
}

/* Classic checkout fallback mirrors the Block layout. */
body.dx-ui-370.dx-surface-checkout.dx-digital-checkout form.checkout .woocommerce-billing-fields__field-wrapper{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px 16px!important;
}
body.dx-ui-370.dx-surface-checkout.dx-digital-checkout form.checkout :where(#billing_email_field,#billing_phone_field,#billing_country_field){
  grid-column:1/-1!important;
}

@media (max-width:760px){
  body.dx-ui-370.dx-surface-cart .wc-block-components-product-details{grid-template-columns:1fr!important}
  body.dx-ui-370.dx-surface-checkout.dx-digital-checkout .wc-block-checkout__billing-fields .wc-block-components-address-form,
  body.dx-ui-370.dx-surface-checkout.dx-digital-checkout form.checkout .woocommerce-billing-fields__field-wrapper{
    grid-template-columns:1fr!important;
    grid-template-rows:auto!important;
  }
  body.dx-ui-370.dx-surface-checkout.dx-digital-checkout :where(
    .wc-block-components-address-form__first_name,
    .wc-block-components-address-form__last_name,
    .wc-block-components-address-form__phone,
    .wc-block-components-address-form__country
  ){
    grid-column:1!important;
    grid-row:auto!important;
  }
}

/* Match the desktop placement selector specificity so the one-column digital
   customer form wins on phones. */
@media (max-width:760px){
  body.dx-ui-370.dx-surface-checkout.dx-digital-checkout .wc-block-checkout__billing-fields .wc-block-components-address-form{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:none!important;
  }
  body.dx-ui-370.dx-surface-checkout.dx-digital-checkout .wc-block-checkout__billing-fields .wc-block-components-address-form__first_name,
  body.dx-ui-370.dx-surface-checkout.dx-digital-checkout .wc-block-checkout__billing-fields .wc-block-components-address-form__last_name,
  body.dx-ui-370.dx-surface-checkout.dx-digital-checkout .wc-block-checkout__billing-fields .wc-block-components-address-form__phone,
  body.dx-ui-370.dx-surface-checkout.dx-digital-checkout .wc-block-checkout__billing-fields .wc-block-components-address-form__country{
    grid-column:1/-1!important;
    grid-row:auto!important;
    width:100%!important;
  }
}

/* Decoax Gallery 3.7.1 — concise product facts, email direction and country search. */
body.dx-ui-370 :where(.wc-block-components-product-details,.wc-block-cart-item__product .wc-block-components-product-details){
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:6px!important;
  margin-top:8px!important;
}
body.dx-ui-370 :where(.wc-block-components-product-details,.wc-block-cart-item__product .wc-block-components-product-details) li{
  display:grid!important;
  grid-template-columns:max-content minmax(0,1fr)!important;
  align-items:baseline!important;
  gap:8px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  font-size:11px!important;
  line-height:1.65!important;
}
body.dx-ui-370 .wc-block-components-product-details__name{
  margin:0!important;
  color:var(--dx-muted)!important;
  font-size:10px!important;
  font-weight:750!important;
}
body.dx-ui-370 .wc-block-components-product-details__value{
  margin:0!important;
  color:var(--dx-ink)!important;
  font-size:11px!important;
  font-weight:820!important;
}
body.dx-ui-370 .dx-item-price :where(.woocommerce-Price-amount,.woocommerce-Price-currencySymbol){
  direction:inherit!important;
  unicode-bidi:isolate!important;
}
/* Remove duplicated prose/short-description from item summaries; requested facts are title, price, and artwork code only. */
body.dx-ui-370 :where(.wc-block-cart-item__product,.wc-block-components-order-summary-item__description) > :where(p,.wc-block-components-product-metadata__description){
  display:none!important;
}

body.dx-ui-370.dx-surface-checkout .dx-email-input,
body.dx-ui-370.dx-surface-checkout :where(input[type="email"],input[name="billing_email"],#email){
  direction:ltr!important;
  text-align:left!important;
  unicode-bidi:plaintext!important;
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  letter-spacing:.01em!important;
}
body.dx-ui-370.dx-surface-checkout .dx-email-input::placeholder,
body.dx-ui-370.dx-surface-checkout :where(input[type="email"],input[name="billing_email"],#email)::placeholder{
  direction:ltr!important;
  text-align:left!important;
}

body.dx-ui-370.dx-surface-checkout .dx-country-search{
  width:100%!important;
  margin:0 0 8px!important;
}
body.dx-ui-370.dx-surface-checkout .dx-country-search__input{
  width:100%!important;
  min-height:44px!important;
  padding:10px 13px!important;
  border:1px solid rgba(16,25,27,.16)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--dx-ink)!important;
  box-shadow:none!important;
  font:inherit!important;
}
body.dx-ui-370.dx-language-fa.dx-surface-checkout .dx-country-search__input{
  direction:rtl!important;
  text-align:right!important;
}
body.dx-ui-370.dx-language-en.dx-surface-checkout .dx-country-search__input{
  direction:ltr!important;
  text-align:left!important;
}
body.dx-ui-370.dx-surface-checkout .dx-country-search__input:focus{
  outline:2px solid rgba(8,169,170,.22)!important;
  border-color:var(--dx-teal)!important;
}

@media (max-width: 767px){
  body.dx-ui-370 :where(.wc-block-components-product-details,.wc-block-cart-item__product .wc-block-components-product-details) li{
    grid-template-columns:1fr!important;
    gap:1px!important;
  }
}

/* -------------------------------------------------------------------------
   Decoax Gallery 3.7.2 — final digital cart, order summary and country UX
   ------------------------------------------------------------------------- */

/* Cart items: thumbnail + three deliberate rows (artwork name, code, price). */
body.dx-ui-370.dx-surface-cart .wc-block-cart-items__row{
  grid-template-columns:84px minmax(0,1fr)!important;
  grid-template-areas:
    "image product"
    "image total"!important;
  align-items:start!important;
  gap:6px 16px!important;
  min-height:0!important;
  padding:18px!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__image{
  width:84px!important;
  min-width:84px!important;
  align-self:start!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__image img{
  width:84px!important;
  height:84px!important;
  border-radius:15px!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__product{
  display:grid!important;
  gap:7px!important;
  padding:0!important;
  align-self:start!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__product > .wc-block-components-product-name{
  margin:0!important;
  font-size:16px!important;
  line-height:1.55!important;
}
body.dx-ui-370.dx-language-fa.dx-surface-cart .wc-block-cart-item__product > .wc-block-components-product-name::before{
  content:"نام اثر";
}
body.dx-ui-370.dx-language-en.dx-surface-cart .wc-block-cart-item__product > .wc-block-components-product-name::before{
  content:"Artwork";
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__product > .wc-block-components-product-name::before{
  display:block!important;
  margin-bottom:2px!important;
  color:var(--dx-muted)!important;
  font-size:10px!important;
  font-weight:750!important;
  line-height:1.3!important;
}
body.dx-ui-370.dx-surface-cart :where(
  .wc-block-cart-item__prices,
  .wc-block-cart-item__product > .wc-block-components-product-price,
  .wc-block-cart-item__product > .wc-block-components-product-metadata__description,
  .wc-block-cart-item__product > p
){display:none!important}
body.dx-ui-370.dx-surface-cart .wc-block-components-product-details{
  display:block!important;
  margin:0!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-components-product-details li{
  display:flex!important;
  align-items:baseline!important;
  gap:8px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  font-size:12px!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-components-product-details__name{
  flex:0 0 auto!important;
  font-size:10px!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-components-product-details__value{
  min-width:0!important;
  font-size:12px!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__total{
  display:flex!important;
  align-items:baseline!important;
  justify-content:flex-start!important;
  gap:8px!important;
  min-width:0!important;
  padding:0!important;
  text-align:start!important;
  white-space:normal!important;
}
body.dx-ui-370.dx-language-fa.dx-surface-cart .wc-block-cart-item__total::before{content:"قیمت"}
body.dx-ui-370.dx-language-en.dx-surface-cart .wc-block-cart-item__total::before{content:"Price"}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__total::before{
  color:var(--dx-muted)!important;
  font-size:10px!important;
  font-weight:750!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__total :where(.wc-block-components-product-price,.wc-block-formatted-money-amount){
  color:var(--dx-ink)!important;
  font-size:14px!important;
  font-weight:850!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__remove-link{
  margin-top:2px!important;
  min-height:30px!important;
  font-size:11px!important;
}

/* Checkout summary mirrors the same information architecture. */
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item{
  grid-template-columns:68px minmax(0,1fr)!important;
  grid-template-areas:
    "image description"
    "image price"!important;
  align-items:start!important;
  gap:6px 14px!important;
  padding:16px 0!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__image,
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__image img{
  width:68px!important;
  min-width:68px!important;
  height:68px!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__description{
  display:grid!important;
  gap:7px!important;
  align-self:start!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name{
  margin:0!important;
  font-size:15px!important;
}
body.dx-ui-370.dx-language-fa.dx-surface-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name::before{
  content:"نام اثر";
}
body.dx-ui-370.dx-language-en.dx-surface-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name::before{
  content:"Artwork";
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name::before{
  display:block!important;
  margin-bottom:2px!important;
  color:var(--dx-muted)!important;
  font-size:10px!important;
  font-weight:750!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__description :where(
  .wc-block-components-product-price,
  .wc-block-components-product-metadata__description,
  p
){display:none!important}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details{
  display:block!important;
  margin:0!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details li{
  display:flex!important;
  align-items:baseline!important;
  gap:8px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  font-size:11px!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__total-price{
  display:flex!important;
  align-items:baseline!important;
  justify-content:flex-start!important;
  gap:8px!important;
  min-width:0!important;
  text-align:start!important;
  white-space:normal!important;
  font-size:13px!important;
  font-weight:850!important;
}
body.dx-ui-370.dx-language-fa.dx-surface-checkout .wc-block-components-order-summary-item__total-price::before{content:"قیمت"}
body.dx-ui-370.dx-language-en.dx-surface-checkout .wc-block-components-order-summary-item__total-price::before{content:"Price"}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__total-price::before{
  color:var(--dx-muted)!important;
  font-size:10px!important;
  font-weight:750!important;
}

/* Country: one immutable Iran card in Persian; one searchable combobox in English. */
body.dx-ui-370.dx-surface-checkout .dx-country-field{
  position:relative!important;
  grid-column:1/-1!important;
  min-width:0!important;
}
body.dx-ui-370.dx-surface-checkout .dx-country-field--fixed > :not(.dx-country-fixed),
body.dx-ui-370.dx-surface-checkout .dx-country-field--searchable > :not(.dx-country-picker):not(.wc-block-components-validation-error){
  display:none!important;
}
body.dx-ui-370.dx-surface-checkout .dx-country-fixed,
body.dx-ui-370.dx-surface-checkout .dx-country-picker__input{
  width:100%!important;
  min-height:54px!important;
  box-sizing:border-box!important;
  border:1px solid rgba(16,25,27,.17)!important;
  border-radius:14px!important;
  background:#fff!important;
  color:var(--dx-ink)!important;
  box-shadow:none!important;
}
body.dx-ui-370.dx-surface-checkout .dx-country-fixed{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:10px 14px!important;
  direction:rtl!important;
}
body.dx-ui-370.dx-surface-checkout .dx-country-fixed__label{
  color:var(--dx-muted)!important;
  font-size:10px!important;
  font-weight:750!important;
}
body.dx-ui-370.dx-surface-checkout .dx-country-fixed__value{
  font-size:14px!important;
  font-weight:850!important;
}
body.dx-ui-370.dx-surface-checkout .dx-country-fixed::after{
  content:"✓";
  display:grid!important;
  place-items:center!important;
  width:26px!important;
  height:26px!important;
  margin-inline-start:auto!important;
  border-radius:999px!important;
  background:#e7f6f3!important;
  color:#087f7f!important;
  font-size:13px!important;
  font-weight:900!important;
}
body.dx-ui-370.dx-surface-checkout .dx-country-picker{
  position:relative!important;
  width:100%!important;
  direction:ltr!important;
}
body.dx-ui-370.dx-surface-checkout .dx-country-picker__input{
  padding:12px 44px 12px 14px!important;
  direction:ltr!important;
  text-align:left!important;
  font:inherit!important;
}
body.dx-ui-370.dx-surface-checkout .dx-country-picker::after{
  content:"⌄";
  position:absolute!important;
  inset-inline-end:15px!important;
  inset-block-start:14px!important;
  color:var(--dx-muted)!important;
  pointer-events:none!important;
}
body.dx-ui-370.dx-surface-checkout .dx-country-picker__input:focus{
  outline:2px solid rgba(8,169,170,.22)!important;
  border-color:var(--dx-teal)!important;
}
body.dx-ui-370.dx-surface-checkout .dx-country-picker__list{
  position:absolute!important;
  z-index:50!important;
  inset-inline:0!important;
  inset-block-start:calc(100% + 7px)!important;
  max-height:260px!important;
  overflow:auto!important;
  padding:7px!important;
  border:1px solid var(--dx-line)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 18px 45px rgba(8,28,31,.16)!important;
}
body.dx-ui-370.dx-surface-checkout .dx-country-picker__option{
  display:block!important;
  width:100%!important;
  min-height:40px!important;
  padding:9px 10px!important;
  border:0!important;
  border-radius:9px!important;
  background:transparent!important;
  color:var(--dx-ink)!important;
  text-align:left!important;
  font:inherit!important;
  cursor:pointer!important;
}
body.dx-ui-370.dx-surface-checkout .dx-country-picker__option:hover,
body.dx-ui-370.dx-surface-checkout .dx-country-picker__option.is-active,
body.dx-ui-370.dx-surface-checkout .dx-country-picker__option[aria-selected="true"]{
  background:#eef8f6!important;
}
body.dx-ui-370.dx-surface-checkout .dx-country-picker__empty{
  padding:12px!important;
  color:var(--dx-muted)!important;
  text-align:center!important;
  font-size:12px!important;
}

@media (max-width:767px){
  body.dx-ui-370.dx-surface-cart .wc-block-cart-items__row{
    grid-template-columns:72px minmax(0,1fr)!important;
    gap:5px 12px!important;
    padding:14px!important;
    border-radius:16px!important;
  }
  body.dx-ui-370.dx-surface-cart .wc-block-cart-item__image,
  body.dx-ui-370.dx-surface-cart .wc-block-cart-item__image img{
    width:72px!important;
    min-width:72px!important;
    height:72px!important;
  }
  body.dx-ui-370.dx-surface-cart .wc-block-cart-item__product > .wc-block-components-product-name{font-size:14px!important}
  body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item{
    grid-template-columns:58px minmax(0,1fr)!important;
    gap:5px 11px!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__image,
  body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__image img{
    width:58px!important;
    min-width:58px!important;
    height:58px!important;
  }
  body.dx-ui-370.dx-surface-checkout .dx-country-picker__list{max-height:220px!important}
}

/* Sold-individually digital art does not need a quantity badge in the summary. */
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__quantity{
  display:none!important;
}


/* -------------------------------------------------------------------------
   Decoax Gallery 3.7.3 — precise cart, summary and payment alignment
   ------------------------------------------------------------------------- */

/* WooCommerce nests the short description inside metadata on the live Block
   markup. Remove it at any depth so only artwork name, code, thumbnail and
   price remain visible. */
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__product .wc-block-components-product-metadata__description,
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-metadata__description{
  display:none!important;
}

/* Keep the line price as one compact logical row beside the product facts.
   Reset Block wrappers that otherwise expand to the full card width. */
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__total{
  width:max-content!important;
  max-width:100%!important;
  min-width:0!important;
  justify-self:start!important;
  align-self:start!important;
  display:inline-flex!important;
  align-items:baseline!important;
  justify-content:flex-start!important;
  gap:7px!important;
  margin:0!important;
  padding:0!important;
  white-space:normal!important;
  text-align:start!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__total > *,
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__total :where(
  .wc-block-cart-item__total-price-and-sale-badge-wrapper,
  .wc-block-components-product-price,
  .wc-block-formatted-money-amount
){
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:baseline!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__product{
  max-width:560px!important;
  justify-self:start!important;
  text-align:start!important;
}

/* Normalize the order-summary heading. The Block may render it as a button or
   a heading; both variants now align to the language start edge. */
body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-order-summary__title{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0 0 14px!important;
  padding:0 0 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  border:0!important;
  border-bottom:1px solid var(--dx-soft-line)!important;
  background:transparent!important;
  box-shadow:none!important;
  text-align:start!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-order-summary__title-text,
body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-order-summary__title > span:first-child{
  flex:1 1 auto!important;
  min-width:0!important;
  margin:0!important;
  text-align:start!important;
}

/* Keep checkout line price directly below the artwork code instead of letting
   an internal full-width wrapper split the label and amount across the card. */
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__description{
  max-width:560px!important;
  justify-self:start!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__total-price{
  width:max-content!important;
  max-width:100%!important;
  min-width:0!important;
  justify-self:start!important;
  align-self:start!important;
  display:inline-flex!important;
  align-items:baseline!important;
  justify-content:flex-start!important;
  gap:7px!important;
  margin:0!important;
  padding:0!important;
  text-align:start!important;
  white-space:normal!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__total-price > *,
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__total-price :where(
  .wc-block-components-product-price,
  .wc-block-formatted-money-amount
){
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:baseline!important;
}

/* Remove only the redundant wrapper border around the complete gateway group.
   Individual gateway cards and their checked state remain intact. */
body.dx-ui-370.dx-surface-checkout .wc-block-checkout__payment-method :where(
  fieldset.wc-block-components-radio-control,
  .wc-block-components-radio-control-accordion-options,
  .wc-block-components-radio-control-accordion-options__container
),
body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-step--with-step-number.wc-block-checkout__payment-method :where(
  fieldset.wc-block-components-radio-control,
  .wc-block-components-radio-control-accordion-options,
  .wc-block-components-radio-control-accordion-options__container
){
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:last-child{
  margin-bottom:0!important;
}

@media (max-width:620px){
  body.dx-ui-370.dx-surface-cart .wc-block-cart-item__product,
  body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__description{
    max-width:none!important;
  }
  body.dx-ui-370.dx-surface-cart .wc-block-cart-item__total,
  body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__total-price{
    width:auto!important;
    justify-self:stretch!important;
  }
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-items__row > td.wc-block-cart-item__total{
  display:inline-flex!important;
}

/* -------------------------------------------------------------------------
   Decoax Gallery 3.7.4 — final cart action, summary balance and payment shell
   ------------------------------------------------------------------------- */

/* CART: turn the tiny legacy remove marker into a real, accessible action and
   give the item card a balanced three-zone structure. Logical properties make
   the same component mirror correctly in Persian RTL and English LTR. */
body.dx-ui-370.dx-surface-cart .wc-block-cart-items__row{
  position:relative!important;
  grid-template-columns:88px minmax(0,1fr) minmax(150px,.34fr)!important;
  grid-template-areas:"image product total"!important;
  min-height:142px!important;
  gap:18px!important;
  padding:20px!important;
  border-color:rgba(16,35,39,.12)!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,#fffdfa 0%,#ffffff 72%)!important;
  box-shadow:0 16px 38px rgba(8,28,31,.07)!important;
  overflow:visible!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__image,
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__image img{
  width:88px!important;
  min-width:88px!important;
  height:88px!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__image img{
  border:1px solid rgba(16,35,39,.10)!important;
  border-radius:16px!important;
  box-shadow:0 8px 22px rgba(8,28,31,.08)!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__product{
  max-width:none!important;
  align-self:center!important;
  justify-self:stretch!important;
  display:grid!important;
  align-content:center!important;
  gap:5px!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__total{
  width:100%!important;
  max-width:none!important;
  min-width:150px!important;
  min-height:74px!important;
  justify-self:stretch!important;
  align-self:center!important;
  display:grid!important;
  align-content:center!important;
  justify-items:start!important;
  gap:4px!important;
  margin:0!important;
  padding:12px 18px!important;
  border-inline-start:1px solid rgba(16,35,39,.12)!important;
  border-radius:0!important;
  background:transparent!important;
  white-space:normal!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__total::before{
  margin:0!important;
  font-size:10px!important;
  line-height:1.3!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__total :where(
  .wc-block-cart-item__total-price-and-sale-badge-wrapper,
  .wc-block-components-product-price,
  .wc-block-formatted-money-amount
){
  display:inline-flex!important;
  width:auto!important;
  margin:0!important;
  font-size:15px!important;
  line-height:1.55!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__remove-link{
  position:absolute!important;
  z-index:5!important;
  inset-block-start:14px!important;
  inset-inline-end:14px!important;
  display:grid!important;
  place-items:center!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(153,55,50,.20)!important;
  border-radius:999px!important;
  background:#fff7f5!important;
  color:#9b3d38!important;
  font-size:0!important;
  line-height:0!important;
  text-indent:-9999px!important;
  overflow:hidden!important;
  box-shadow:0 7px 18px rgba(98,34,30,.08)!important;
  transition:transform .18s ease,background-color .18s ease,border-color .18s ease!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__remove-link::before{
  content:""!important;
  display:block!important;
  width:18px!important;
  height:18px!important;
  background:currentColor!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6l1 2h4v2H4V5h4l1-2Zm-2 6h10l-1 11H8L7 9Zm3 2v7h2v-7h-2Zm4 0v7h2v-7h-2Z'/%3E%3C/svg%3E") center/contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6l1 2h4v2H4V5h4l1-2Zm-2 6h10l-1 11H8L7 9Zm3 2v7h2v-7h-2Zm4 0v7h2v-7h-2Z'/%3E%3C/svg%3E") center/contain no-repeat!important;
  text-indent:0!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__remove-link:hover{
  border-color:rgba(153,55,50,.38)!important;
  background:#fff0ed!important;
  transform:translateY(-1px)!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__remove-link:focus-visible{
  outline:0!important;
  box-shadow:0 0 0 4px rgba(155,61,56,.14)!important;
}

/* CHECKOUT SUMMARY: a true header row, then a single horizontal line item on
   desktop/tablet: artwork identity at the language start, price at the far
   opposite edge. */
body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-order-summary__title{
  min-height:auto!important;
  margin:0!important;
  padding:2px 0 16px!important;
  border:0!important;
  border-bottom:1px solid rgba(16,35,39,.12)!important;
  border-radius:0!important;
  background:transparent!important;
  justify-content:flex-start!important;
  text-align:start!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-order-summary__title-text,
body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-order-summary__title > span:first-child{
  width:auto!important;
  flex:1 1 auto!important;
  font-size:clamp(22px,2vw,28px)!important;
  font-weight:850!important;
  line-height:1.35!important;
  text-align:start!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item{
  grid-template-columns:72px minmax(0,1fr) minmax(128px,auto)!important;
  grid-template-areas:"image description price"!important;
  align-items:center!important;
  gap:14px!important;
  padding:20px 0!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__image,
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__image img{
  width:72px!important;
  min-width:72px!important;
  height:72px!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__description{
  max-width:none!important;
  justify-self:stretch!important;
  align-self:center!important;
  gap:5px!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__total-price{
  width:100%!important;
  max-width:none!important;
  min-width:128px!important;
  min-height:64px!important;
  justify-self:end!important;
  align-self:center!important;
  display:grid!important;
  align-content:center!important;
  justify-items:end!important;
  gap:3px!important;
  margin:0!important;
  padding:10px 0 10px 18px!important;
  border-inline-start:1px solid rgba(16,35,39,.12)!important;
  text-align:end!important;
  white-space:normal!important;
}
body.dx-ui-370.dx-language-fa.dx-surface-checkout .wc-block-components-order-summary-item__total-price{
  text-align:left!important;
}
body.dx-ui-370.dx-language-en.dx-surface-checkout .wc-block-components-order-summary-item__total-price{
  text-align:right!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__total-price::before{
  margin:0!important;
  font-size:10px!important;
  line-height:1.3!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__total-price :where(
  .wc-block-components-product-price,
  .wc-block-formatted-money-amount
){
  display:inline-flex!important;
  width:auto!important;
  margin:0!important;
  font-size:14px!important;
  font-weight:850!important;
  line-height:1.5!important;
}

/* PAYMENT: WooCommerce Blocks may render the radio group as a div instead of
   a fieldset. Remove every possible outer shell hairline, while preserving the
   border on each individual gateway card. */
body.dx-ui-370.dx-surface-checkout .wc-block-checkout__payment-method :where(
  .wc-block-components-radio-control,
  .wc-block-components-radio-control--highlight-checked,
  .wc-block-components-radio-control-accordion,
  .wc-block-components-radio-control-accordion-options,
  .wc-block-components-radio-control-accordion-options__container,
  .wc-block-components-radio-control__option-layout
),
body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-step--with-step-number.wc-block-checkout__payment-method :where(
  .wc-block-components-radio-control,
  .wc-block-components-radio-control--highlight-checked,
  .wc-block-components-radio-control-accordion,
  .wc-block-components-radio-control-accordion-options,
  .wc-block-components-radio-control-accordion-options__container,
  .wc-block-components-radio-control__option-layout
){
  margin:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

@media (max-width:767px){
  body.dx-ui-370.dx-surface-cart .wc-block-cart-items__row{
    grid-template-columns:72px minmax(0,1fr)!important;
    grid-template-areas:
      "image product"
      "total total"!important;
    min-height:0!important;
    gap:12px!important;
    padding:16px!important;
  }
  body.dx-ui-370.dx-surface-cart .wc-block-cart-item__image,
  body.dx-ui-370.dx-surface-cart .wc-block-cart-item__image img{
    width:72px!important;
    min-width:72px!important;
    height:72px!important;
  }
  body.dx-ui-370.dx-surface-cart .wc-block-cart-item__product{
    padding-inline-end:44px!important;
  }
  body.dx-ui-370.dx-surface-cart .wc-block-cart-item__total{
    min-width:0!important;
    min-height:0!important;
    padding:12px 0 0!important;
    border-inline-start:0!important;
    border-top:1px solid rgba(16,35,39,.10)!important;
    display:flex!important;
    align-items:baseline!important;
    justify-content:space-between!important;
    justify-items:stretch!important;
  }
  body.dx-ui-370.dx-surface-cart .wc-block-cart-item__remove-link{
    inset-block-start:12px!important;
    inset-inline-end:12px!important;
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    min-height:36px!important;
  }

  body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-order-summary__title{
    padding-bottom:13px!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item{
    grid-template-columns:58px minmax(0,1fr)!important;
    grid-template-areas:
      "image description"
      "price price"!important;
    gap:10px 12px!important;
    padding:16px 0!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__image,
  body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__image img{
    width:58px!important;
    min-width:58px!important;
    height:58px!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__total-price{
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    justify-self:stretch!important;
    padding:10px 0 0!important;
    border-inline-start:0!important;
    border-top:1px solid rgba(16,35,39,.10)!important;
    display:flex!important;
    align-items:baseline!important;
    justify-content:space-between!important;
    justify-items:stretch!important;
    text-align:start!important;
  }
}

@media (min-width:768px) and (max-width:1099px){
  body.dx-ui-370.dx-surface-cart .wc-block-cart-items__row{
    grid-template-columns:82px minmax(0,1fr) minmax(140px,.32fr)!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item{
    grid-template-columns:66px minmax(0,1fr) minmax(120px,auto)!important;
  }
}

/* -------------------------------------------------------------------------
   Decoax Gallery 3.7.5 — cart delete, summary alignment and clean gateways
   ------------------------------------------------------------------------- */

/* CART — WooCommerce Blocks can render a native SVG/icon inside the remove
   control. Hide every native visual and keep exactly one theme-owned trash
   glyph, positioned in a stable action zone away from the price. */
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__remove-link{
  inset-block-start:16px!important;
  inset-inline-end:16px!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  padding:0!important;
  border:0!important;
  background:#fff5f2!important;
  color:#9b3d38!important;
  text-indent:-9999px!important;
  font-size:0!important;
  line-height:0!important;
  box-shadow:0 0 0 1px rgba(155,61,56,.18),0 7px 18px rgba(98,34,30,.08)!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__remove-link > :where(svg,span,i),
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__remove-link .wc-block-components-button__text{
  display:none!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__remove-link::after{
  content:none!important;
  display:none!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__remove-link::before{
  content:""!important;
  display:block!important;
  width:17px!important;
  height:17px!important;
  background:#9b3d38!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6l1 2h4v2H4V5h4l1-2Zm-2 6h10l-1 11H8L7 9Zm3 2v7h2v-7h-2Zm4 0v7h2v-7h-2Z'/%3E%3C/svg%3E") center/contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6l1 2h4v2H4V5h4l1-2Zm-2 6h10l-1 11H8L7 9Zm3 2v7h2v-7h-2Zm4 0v7h2v-7h-2Z'/%3E%3C/svg%3E") center/contain no-repeat!important;
  text-indent:0!important;
}
body.dx-ui-370.dx-surface-cart .wc-block-cart-item__remove-link:hover{
  background:#ffece7!important;
  box-shadow:0 0 0 1px rgba(155,61,56,.32),0 9px 20px rgba(98,34,30,.10)!important;
}

/* CHECKOUT SUMMARY — give the title a real header band with balanced inset,
   then place the artwork identity and the line price in explicit physical
   columns. This avoids RTL logical-edge ambiguity on desktop/tablet. */
body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-order-summary__title{
  width:100%!important;
  min-height:62px!important;
  margin:0!important;
  padding:14px 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  border:0!important;
  border-bottom:1px solid rgba(16,35,39,.12)!important;
  border-radius:0!important;
  background:transparent!important;
  box-sizing:border-box!important;
  text-align:start!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-order-summary__title-text,
body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-order-summary__title > span:first-child{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  align-self:center!important;
  line-height:1.35!important;
  text-align:start!important;
}

body.dx-ui-370.dx-language-fa.dx-surface-checkout .wc-block-components-order-summary-item,
body.dx-ui-370.dx-language-en.dx-surface-checkout .wc-block-components-order-summary-item{
  grid-template-columns:72px minmax(0,1fr) minmax(132px,150px)!important;
  grid-template-areas:"image description price"!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item{
  align-items:center!important;
  gap:16px!important;
  padding:18px!important;
  box-sizing:border-box!important;
}
body.dx-ui-370.dx-language-fa.dx-surface-checkout .wc-block-components-order-summary-item__description{
  direction:rtl!important;
  text-align:right!important;
  justify-self:stretch!important;
}
body.dx-ui-370.dx-language-en.dx-surface-checkout .wc-block-components-order-summary-item__description{
  direction:ltr!important;
  text-align:left!important;
  justify-self:stretch!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__total-price{
  width:100%!important;
  max-width:150px!important;
  min-width:0!important;
  min-height:72px!important;
  margin:0!important;
  padding:10px 14px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  justify-self:stretch!important;
  align-self:center!important;
  gap:3px!important;
  border:0!important;
  border-radius:14px!important;
  background:#fbf8f2!important;
  box-sizing:border-box!important;
  text-align:left!important;
  white-space:normal!important;
}
body.dx-ui-370.dx-language-fa.dx-surface-checkout .wc-block-components-order-summary-item__total-price{
  direction:rtl!important;
  text-align:left!important;
}
body.dx-ui-370.dx-language-en.dx-surface-checkout .wc-block-components-order-summary-item__total-price{
  direction:ltr!important;
  text-align:right!important;
  align-items:flex-end!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__total-price::before{
  display:block!important;
  width:100%!important;
  margin:0!important;
  color:var(--dx-muted)!important;
  font-size:10px!important;
  font-weight:750!important;
  line-height:1.3!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__total-price :where(
  .wc-block-components-product-price,
  .wc-block-formatted-money-amount
){
  display:block!important;
  width:100%!important;
  margin:0!important;
  font-size:15px!important;
  font-weight:850!important;
  line-height:1.45!important;
}

/* PAYMENT — the highlighted WooCommerce accordion option supplied the thin
   frame the screenshots identify. Use surface contrast and a soft selected
   state instead of any hairline border around gateway options or their group. */
body.dx-ui-370.dx-surface-checkout .wc-block-checkout__payment-method :where(
  .wc-block-components-radio-control,
  .wc-block-components-radio-control--highlight-checked,
  .wc-block-components-radio-control-accordion,
  .wc-block-components-radio-control-accordion-options,
  .wc-block-components-radio-control-accordion-options__container,
  .wc-block-components-radio-control__option-layout
),
body.dx-ui-370.dx-surface-checkout .wc-block-checkout__payment-method :where(
  .wc-block-components-radio-control,
  .wc-block-components-radio-control--highlight-checked,
  .wc-block-components-radio-control-accordion,
  .wc-block-components-radio-control-accordion-options,
  .wc-block-components-radio-control-accordion-options__container,
  .wc-block-components-radio-control__option-layout
)::before,
body.dx-ui-370.dx-surface-checkout .wc-block-checkout__payment-method :where(
  .wc-block-components-radio-control,
  .wc-block-components-radio-control--highlight-checked,
  .wc-block-components-radio-control-accordion,
  .wc-block-components-radio-control-accordion-options,
  .wc-block-components-radio-control-accordion-options__container,
  .wc-block-components-radio-control__option-layout
)::after{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
body.dx-ui-370.dx-surface-checkout .wc-block-components-radio-control-accordion-option{
  margin:0 0 12px!important;
  border:0!important;
  outline:0!important;
  border-radius:17px!important;
  background:#fbfaf7!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body.dx-ui-370.dx-surface-checkout :where(
  .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
  .wc-block-components-radio-control-accordion-option.is-checked
){
  border:0!important;
  outline:0!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(8,28,31,.07),0 0 0 2px rgba(8,169,170,.12)!important;
}

@media (max-width:767px){
  body.dx-ui-370.dx-surface-cart .wc-block-cart-item__remove-link{
    inset-block-start:12px!important;
    inset-inline-end:12px!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-checkout-order-summary__title{
    min-height:54px!important;
    padding:12px 14px!important;
  }
  body.dx-ui-370.dx-language-fa.dx-surface-checkout .wc-block-components-order-summary-item,
  body.dx-ui-370.dx-language-en.dx-surface-checkout .wc-block-components-order-summary-item{
    grid-template-columns:58px minmax(0,1fr)!important;
    grid-template-areas:
      "image description"
      "price price"!important;
    gap:11px 12px!important;
    padding:14px!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__total-price{
    max-width:none!important;
    min-height:0!important;
    padding:10px 12px!important;
    flex-direction:row!important;
    align-items:baseline!important;
    justify-content:space-between!important;
    border-radius:12px!important;
  }
  body.dx-ui-370.dx-language-en.dx-surface-checkout .wc-block-components-order-summary-item__total-price{
    align-items:baseline!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__total-price::before,
  body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__total-price :where(
    .wc-block-components-product-price,
    .wc-block-formatted-money-amount
  ){
    width:auto!important;
  }
}

@media (min-width:768px) and (max-width:1099px){
  body.dx-ui-370.dx-language-fa.dx-surface-checkout .wc-block-components-order-summary-item,
  body.dx-ui-370.dx-language-en.dx-surface-checkout .wc-block-components-order-summary-item{
    grid-template-columns:66px minmax(0,1fr) minmax(120px,136px)!important;
  }
  body.dx-ui-370.dx-surface-checkout .wc-block-components-order-summary-item__total-price{
    max-width:136px!important;
    padding:10px 12px!important;
  }
}


/* ===== 3.8.0 — staging-verified Cart/Checkout corrections ===== */

/* WooCommerce Blocks renders empty totals wrappers (shipping/fees) for
   digital-only carts; each one showed as a blank bordered row between the
   subtotal and the total in the order summary. */
body.dx-ui-370 .wc-block-components-totals-wrapper:empty{
  display:none!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  min-height:0!important;
}

/* Isolated, single-line artwork codes wrapped by commerce.js. Keeps DX- codes
   in correct visual order inside Persian text and prevents mid-code breaks. */
body.dx-ui-370 .dx-inline-artwork-code{
  direction:ltr!important;
  unicode-bidi:isolate!important;
  display:inline-block!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  word-break:keep-all!important;
  max-width:100%!important;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-variant-numeric:tabular-nums!important;
  letter-spacing:.03em!important;
}
