/* Decoax Gallery Production 4.0.6 — scoped presentation hardening. */
:root{
  --dxp-ink:#11191b;
  --dxp-paper:#f5f1ea;
  --dxp-copper:#c66f3b;
  --dxp-teal:#0d272b;
  --dxp-line:#ded8ce;
  --dxp-soft:#fbf8f3;
  --dxp-info:#eef8f6;
  --dxp-focus:#128f95;
  --dxp-radius:22px;
  --dxp-shadow:0 18px 50px rgba(13,29,32,.075);
}

body.dxp-production{
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
body.dxp-production.dxp-lang-fa{direction:rtl}
body.dxp-production.dxp-lang-en{direction:ltr}
body.dxp-production :where(a,button,input,select,textarea):focus-visible{
  outline:3px solid color-mix(in srgb,var(--dxp-focus) 48%,transparent);
  outline-offset:3px;
}
body.dxp-production :where(button,.button,.wp-element-button,.wc-block-components-button){min-height:44px}
body.dxp-production :where(code,.order-number,[class*="hash"],[class*="txid"],[class*="artwork-code"]){direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums}

/* Product image reliability: only activates when JS detects a collapsed gallery. */
body.dxp-production .woocommerce-product-gallery.dxp-gallery-fallback{opacity:1!important;visibility:visible!important;min-height:420px}
body.dxp-production .woocommerce-product-gallery.dxp-gallery-fallback .flex-viewport{height:auto!important;overflow:visible!important}
body.dxp-production .woocommerce-product-gallery.dxp-gallery-fallback .woocommerce-product-gallery__wrapper{width:100%!important;transform:none!important}
body.dxp-production .woocommerce-product-gallery.dxp-gallery-fallback .woocommerce-product-gallery__image{float:none!important;width:100%!important;margin:0!important}
body.dxp-production .woocommerce-product-gallery.dxp-gallery-fallback .woocommerce-product-gallery__image img{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
body.dxp-production .woocommerce-product-gallery .flex-control-thumbs img{cursor:pointer}

/* Product page hierarchy and bilingual spacing. */
body.dxp-production .dx-product-page .dx-product-info,
body.dxp-production.single-product .summary{
  border-radius:var(--dxp-radius);
}
body.dxp-production .dx-product-page .dx-product-summary__head,
body.dxp-production .dx-product-page .summary.entry-summary{min-width:0}
body.dxp-production .dx-product-page .product_title{line-height:1.08;letter-spacing:-.02em}
body.dxp-production.dxp-lang-en .dx-product-page :where(.product_title,.summary,.dx-product-info){text-align:left;direction:ltr}
body.dxp-production.dxp-lang-fa .dx-product-page :where(.product_title,.summary,.dx-product-info){text-align:right;direction:rtl}

/* Added-to-cart notice: compact, readable, consistent with product card. */
body.dxp-production .woocommerce-notices-wrapper{max-width:1280px;margin-inline:auto}
body.dxp-production .woocommerce-message{
  border:1px solid color-mix(in srgb,var(--dxp-focus) 45%,var(--dxp-line));
  border-radius:20px;
  background:#fff;
  box-shadow:0 14px 36px rgba(13,29,32,.06);
  padding:16px 18px;
  line-height:1.65;
}
body.dxp-production .woocommerce-message::before{color:var(--dxp-focus)}
body.dxp-production .woocommerce-message .button{border-radius:999px;margin-inline-start:14px}
body.dxp-production.dxp-lang-en .woocommerce-message{direction:ltr;text-align:left}
body.dxp-production.dxp-lang-fa .woocommerce-message{direction:rtl;text-align:right}

/* Cart: keep information together and reduce unused whitespace. */
body.dxp-production.dx-surface-cart .dx-commerce-hero,
body.dxp-production.woocommerce-cart .dx-commerce-hero{padding-block:clamp(34px,5vw,70px)}
body.dxp-production.woocommerce-cart .wc-block-cart,
body.dxp-production.dx-surface-cart .wc-block-cart{gap:clamp(20px,3vw,36px)}
body.dxp-production.woocommerce-cart .wc-block-cart-items__row,
body.dxp-production.dx-surface-cart .wc-block-cart-items__row{
  border:1px solid var(--dxp-line)!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 12px 34px rgba(13,29,32,.055)!important;
  overflow:hidden;
}
body.dxp-production.woocommerce-cart .wc-block-components-product-name,
body.dxp-production.dx-surface-cart .wc-block-components-product-name{font-weight:800;line-height:1.35}
body.dxp-production.woocommerce-cart .wc-block-cart__totals-title,
body.dxp-production.dx-surface-cart .wc-block-cart__totals-title{font-size:clamp(24px,2.3vw,34px);font-weight:850;line-height:1.15}

/* Checkout: alignment and summary polish only. Payment-method internals are intentionally untouched. */
body.dxp-production.dx-surface-checkout .dx-commerce-hero,
body.dxp-production.woocommerce-checkout .dx-commerce-hero{padding-block:clamp(34px,5vw,68px)}
body.dxp-production.woocommerce-checkout .wc-block-checkout__main,
body.dxp-production.dx-surface-checkout .wc-block-checkout__main{min-width:0}
body.dxp-production.woocommerce-checkout .wc-block-components-sidebar,
body.dxp-production.dx-surface-checkout .wc-block-components-sidebar{
  border-radius:var(--dxp-radius);
}
body.dxp-production.woocommerce-checkout .wc-block-components-order-summary,
body.dxp-production.dx-surface-checkout .wc-block-components-order-summary{font-variant-numeric:tabular-nums}
body.dxp-production.dxp-lang-en .wc-block-components-order-summary{direction:ltr;text-align:left}
body.dxp-production.dxp-lang-fa .wc-block-components-order-summary{direction:rtl;text-align:right}
body.dxp-production .wc-block-components-order-summary-item__image img{border-radius:12px}
body.dxp-production .wc-block-components-order-summary-item__description{min-width:0}
body.dxp-production .wc-block-components-order-summary-item__description .wc-block-components-product-name{font-weight:800;line-height:1.35}

/* My Account shell and navigation. */
body.dxp-production.woocommerce-account .woocommerce{max-width:1180px;margin-inline:auto}
body.dxp-production.woocommerce-account .woocommerce-MyAccount-navigation{
  border:1px solid var(--dxp-line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 32px rgba(13,29,32,.045);
  overflow:auto;
}
body.dxp-production.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;gap:6px;align-items:stretch;min-width:max-content;padding:7px;margin:0;list-style:none}
body.dxp-production.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0}
body.dxp-production.woocommerce-account .woocommerce-MyAccount-navigation a{
  display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 18px;border-radius:13px;text-decoration:none;font-weight:750;color:var(--dxp-ink);white-space:nowrap;
}
body.dxp-production.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{background:var(--dxp-teal);color:#fff}
body.dxp-production.woocommerce-account .woocommerce-MyAccount-content{
  margin-top:16px;border:1px solid var(--dxp-line);border-radius:var(--dxp-radius);background:#fff;box-shadow:var(--dxp-shadow);padding:clamp(22px,4vw,42px);min-width:0;
}
body.dxp-production.woocommerce-account .woocommerce-MyAccount-content :where(h2,h3){line-height:1.2}
body.dxp-production.woocommerce-account .woocommerce-MyAccount-content :where(input[type="text"],input[type="email"],input[type="tel"],input[type="password"],select,textarea){min-height:50px;border:1px solid #d8d5cf;border-radius:14px;background:#fff;padding:10px 13px;box-shadow:none}
body.dxp-production.woocommerce-account .woocommerce-MyAccount-content :where(input,select,textarea):focus{border-color:var(--dxp-focus);box-shadow:0 0 0 3px rgba(18,143,149,.10)}
body.dxp-production.woocommerce-account .woocommerce-MyAccount-content .button{border-radius:999px;padding-inline:22px}

.dxp-account-prerequisite{
  display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1180px;margin:0 auto 16px;padding:15px 17px;border:1px solid #b9ded7;border-radius:17px;background:var(--dxp-info);color:var(--dxp-ink);
}
.dxp-account-prerequisite>div{display:grid;gap:3px;min-width:0}
.dxp-account-prerequisite strong{font-size:15px}
.dxp-account-prerequisite span{font-size:13px;line-height:1.65;color:#536367}
.dxp-account-prerequisite .button{flex:0 0 auto;border-radius:999px!important}

.dxp-account-contact-fields{
  margin:26px 0 0;padding:22px;border:1px solid var(--dxp-line);border-radius:18px;background:var(--dxp-soft);
}
.dxp-account-contact-fields legend{padding-inline:8px;font-size:18px;font-weight:850;color:var(--dxp-ink)}
.dxp-account-contact-intro{margin:0 0 16px;color:#657277;line-height:1.75}
.dxp-field-help{display:block;margin-top:7px;font-size:12px;line-height:1.6;color:#718085}
.dxp-account-contact-fields input[readonly]{background:#f3f0ea!important;color:#5d696d;cursor:not-allowed}

/* Orders/downloads: card-like rows and cleaner empty states. */
body.dxp-production.woocommerce-account :where(.woocommerce-orders-table,.woocommerce-table--order-downloads,.woocommerce-MyAccount-downloads){border-collapse:separate;border-spacing:0 10px;width:100%}
body.dxp-production.woocommerce-account :where(.woocommerce-orders-table,.woocommerce-table--order-downloads,.woocommerce-MyAccount-downloads) tr{background:#fff}
body.dxp-production.woocommerce-account .woocommerce-info{border:1px solid #b9ded7;border-radius:17px;background:#fbfffe;color:var(--dxp-ink);padding:16px 18px;line-height:1.7}

/* Direction safety. */
body.dxp-production.dxp-lang-en .woocommerce-MyAccount-content,
body.dxp-production.dxp-lang-en .woocommerce-MyAccount-navigation{direction:ltr;text-align:left}
body.dxp-production.dxp-lang-fa .woocommerce-MyAccount-content,
body.dxp-production.dxp-lang-fa .woocommerce-MyAccount-navigation{direction:rtl;text-align:right}
body.dxp-production.dxp-lang-en :where(input[type="email"],input[type="tel"],code){direction:ltr;text-align:left}
body.dxp-production.dxp-lang-fa input[type="email"]{direction:ltr;text-align:left}
body.dxp-production.dxp-lang-fa input[type="tel"]{direction:ltr;text-align:left}

@media (max-width: 900px){
  body.dxp-production.woocommerce-account .woocommerce-MyAccount-content{padding:22px 18px}
  .dxp-account-prerequisite{margin-inline:14px}
}

@media (max-width: 700px){
  body.dxp-production .woocommerce-message{margin-inline:10px;padding:14px 15px}
  body.dxp-production .woocommerce-message .button{display:inline-flex;margin:10px 0 0;min-width:0;width:auto}
  body.dxp-production.woocommerce-account .woocommerce-MyAccount-navigation{margin-inline:10px}
  body.dxp-production.woocommerce-account .woocommerce-MyAccount-navigation a{min-height:44px;padding-inline:14px}
  body.dxp-production.woocommerce-account .woocommerce-MyAccount-content{margin:12px 10px 0}
  .dxp-account-prerequisite{align-items:flex-start;flex-direction:column}
  .dxp-account-prerequisite .button{width:100%;justify-content:center;text-align:center}
  .dxp-account-contact-fields{padding:17px 14px}
  body.dxp-production .woocommerce-product-gallery.dxp-gallery-fallback{min-height:280px}
}

@media (max-width: 520px){
  body.dxp-production :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){font-size:16px}
  body.dxp-production.woocommerce-account .woocommerce-MyAccount-content{border-radius:18px;padding:18px 14px}
}

@media (prefers-reduced-motion: reduce){
  body.dxp-production *,body.dxp-production *::before,body.dxp-production *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* Logged-out account entry: balance the two English cards and Persian OTP panel. */
body.dxp-production.woocommerce-account:not(.logged-in) .woocommerce{
  width:min(100% - 28px,980px);
  margin-inline:auto;
}
body.dxp-production.woocommerce-account:not(.logged-in) .u-columns.col2-set{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:26px;
  align-items:start;
}
body.dxp-production.woocommerce-account:not(.logged-in) :where(.u-column1,.u-column2){width:auto!important;float:none!important;min-width:0}
body.dxp-production.woocommerce-account:not(.logged-in) :where(.woocommerce-form-login,.woocommerce-form-register){
  border:1px solid var(--dxp-line)!important;
  border-radius:20px!important;
  padding:clamp(20px,3vw,30px)!important;
  background:#fff!important;
  box-shadow:0 14px 38px rgba(13,29,32,.055)!important;
}
body.dxp-production.woocommerce-account:not(.logged-in) :where(.woocommerce-form-login,.woocommerce-form-register) .form-row{margin-bottom:14px}
body.dxp-production.woocommerce-account:not(.logged-in) :where(.woocommerce-form-login,.woocommerce-form-register) input.input-text{min-height:52px;border-radius:14px}
body.dxp-production.woocommerce-account:not(.logged-in) :where(.woocommerce-form-login,.woocommerce-form-register) .button{min-height:46px;border-radius:999px;padding-inline:24px}
body.dxp-production .dcs-otp-login{max-width:720px;margin-inline:auto}
body.dxp-production .dcs-otp-login :where(input[type="tel"],input[type="text"]){min-height:52px;border-radius:14px}

@media (max-width:760px){
  body.dxp-production.woocommerce-account:not(.logged-in) .u-columns.col2-set{grid-template-columns:1fr;gap:18px}
}
body.dxp-production.woocommerce-account .dxp-optional-technical-field{display:none!important}


/* 4.0.1 — restrained product/cart refinement after production QA. */
body.dxp-production .dxp-pruned-benefit{display:none!important}

/* Once the secondary “continue viewing” action is removed, keep the success
   notice focused on one clear next step instead of leaving an empty action gap. */
body.dxp-production .dxp-cart-notice-refined{
  --dxp-notice-gap:clamp(14px,2vw,24px);
}
body.dxp-production .dxp-cart-notice-refined :where(.button,.wc-forward){
  min-width:clamp(148px,15vw,190px);
  justify-content:center;
  text-align:center;
  font-weight:800;
}
body.dxp-production.dxp-lang-fa .dxp-cart-notice-refined :where(.button,.wc-forward){margin-inline:var(--dxp-notice-gap) 0}
body.dxp-production.dxp-lang-en .dxp-cart-notice-refined :where(.button,.wc-forward){margin-inline:var(--dxp-notice-gap) 0}

/* License & delivery intro: preserve the parent section structure while
   tightening the oversized hero and improving the title/lead relationship. */
body.dxp-production .dxp-license-hero{
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  padding:clamp(26px,3.4vw,44px) clamp(22px,5vw,72px)!important;
  gap:clamp(10px,1.5vw,18px)!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
body.dxp-production .dxp-license-hero > *{
  width:min(100%,860px)!important;
  margin-inline:auto!important;
}
body.dxp-production .dxp-license-title{
  max-width:22ch!important;
  margin:0 auto!important;
  font-size:clamp(32px,3.2vw,52px)!important;
  line-height:1.12!important;
  letter-spacing:-.02em;
  text-align:center!important;
  text-wrap:balance;
}
body.dxp-production .dxp-license-eyebrow{
  margin:0 auto 2px!important;
  font-size:clamp(11px,.9vw,13px)!important;
  font-weight:800!important;
  color:var(--dxp-copper)!important;
  text-align:center!important;
}
body.dxp-production .dxp-license-lead{
  max-width:64ch!important;
  margin:2px auto 0!important;
  color:#687579!important;
  font-size:clamp(13px,1vw,15px)!important;
  line-height:1.85!important;
  text-align:center!important;
  text-wrap:pretty;
}

/* Product card polish: slightly calmer borders/shadows and stronger content
   hierarchy without changing the approved page composition. */
body.dxp-production.single-product .dx-product-info,
body.dxp-production.single-product .summary{
  box-shadow:0 16px 44px rgba(13,29,32,.055);
}
body.dxp-production.single-product .dx-product-info :where(p,small){text-wrap:pretty}
body.dxp-production.single-product :where(.woocommerce-product-details__short-description,.dx-product-description){color:#667377}

/* Currency and numeric values should remain visually stable in both directions. */
body.dxp-production.dxp-lang-en :where(.woocommerce-Price-amount,.wc-block-components-product-price,.wc-block-components-totals-item__value){
  direction:ltr;
  unicode-bidi:isolate;
  font-variant-numeric:tabular-nums;
}
body.dxp-production.dxp-lang-en :where(.wc-block-cart-items__row,.wc-block-cart__totals-title,.wc-block-components-totals-item){text-align:left}

/* Cart/checkout summary micro-polish. */
body.dxp-production :where(.wc-block-cart-items__row,.wc-block-components-order-summary-item){transition:box-shadow .18s ease,border-color .18s ease}
body.dxp-production .wc-block-components-order-summary-item__description :where(.wc-block-components-product-name,strong){letter-spacing:-.01em}
body.dxp-production :where(.wc-block-components-totals-item__label,.wc-block-components-totals-item__value){line-height:1.35}

@media (max-width:900px){
  body.dxp-production .dxp-license-hero{
    min-height:0!important;
    padding:26px clamp(20px,5vw,42px)!important;
  }
  body.dxp-production .dxp-license-title{max-width:20ch!important;font-size:clamp(30px,6.4vw,46px)!important}
  body.dxp-production .dxp-license-lead{max-width:60ch!important}
}

@media (max-width:700px){
  body.dxp-production .dxp-cart-notice-refined :where(.button,.wc-forward){width:100%;margin:10px 0 0!important}
  body.dxp-production .dxp-license-hero{gap:10px!important;padding:22px 18px!important}
  body.dxp-production .dxp-license-title{font-size:clamp(28px,8.5vw,38px)!important;line-height:1.14!important}
  body.dxp-production .dxp-license-lead{font-size:13px!important;line-height:1.8!important}
}


/* 4.0.2 — language/currency regression guard. Keep numeric values stable while
   leaving Persian currency output to the canonical WooCommerce/Commerce Suite layer. */
body.dxp-production.dxp-lang-en :where(.woocommerce-Price-amount,.wc-block-formatted-money-amount,.wc-block-components-formatted-money-amount){
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}


/* 4.0.3 — deterministic License & Delivery intro stack.
   The approved card grid remains untouched; only the intro presentation is
   normalized so FA and EN always render heading first and supporting copy
   directly below it. */
body.dxp-production .dxp-license-intro-host{
  min-width:0;
}
body.dxp-production .dxp-license-intro-stack{
  grid-column:1 / -1!important;
  flex:0 0 100%!important;
  width:min(100%,980px)!important;
  max-width:980px!important;
  margin:0 auto clamp(20px,2.4vw,32px)!important;
  padding:clamp(24px,2.7vw,38px) clamp(18px,4.5vw,54px) clamp(18px,2.2vw,28px)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
  text-align:center!important;
  box-sizing:border-box!important;
}
body.dxp-production .dxp-license-intro-stack .dxp-license-eyebrow{
  order:1;
  width:auto!important;
  max-width:100%!important;
  margin:0 auto 10px!important;
  color:var(--dxp-copper)!important;
  font-size:clamp(11px,.85vw,13px)!important;
  line-height:1.5!important;
  font-weight:800!important;
  text-align:center!important;
}
body.dxp-production .dxp-license-intro-stack .dxp-license-title{
  order:2;
  width:100%!important;
  max-width:900px!important;
  margin:0 auto!important;
  font-size:clamp(32px,2.75vw,46px)!important;
  line-height:1.2!important;
  letter-spacing:-.018em!important;
  text-align:center!important;
  text-wrap:balance;
}
body.dxp-production .dxp-license-intro-stack .dxp-license-lead{
  order:3;
  width:100%!important;
  max-width:760px!important;
  margin:clamp(14px,1.5vw,20px) auto 0!important;
  color:#687579!important;
  font-size:clamp(13px,.95vw,15px)!important;
  line-height:1.9!important;
  text-align:center!important;
  text-wrap:pretty;
}
body.dxp-production .dxp-license-intro-source-empty{
  display:none!important;
}
body.dxp-production.dxp-lang-fa .dxp-license-intro-stack{direction:rtl!important}
body.dxp-production.dxp-lang-en .dxp-license-intro-stack{direction:ltr!important}

@media (max-width:900px){
  body.dxp-production .dxp-license-intro-stack{
    width:min(100%,820px)!important;
    margin-bottom:22px!important;
    padding:24px clamp(18px,5vw,36px) 20px!important;
  }
  body.dxp-production .dxp-license-intro-stack .dxp-license-title{
    max-width:760px!important;
    font-size:clamp(30px,5.2vw,42px)!important;
  }
}
@media (max-width:700px){
  body.dxp-production .dxp-license-intro-stack{
    width:100%!important;
    margin-bottom:18px!important;
    padding:20px 12px 16px!important;
  }
  body.dxp-production .dxp-license-intro-stack .dxp-license-eyebrow{margin-bottom:8px!important}
  body.dxp-production .dxp-license-intro-stack .dxp-license-title{
    max-width:22ch!important;
    font-size:clamp(28px,8.2vw,36px)!important;
    line-height:1.22!important;
  }
  body.dxp-production .dxp-license-intro-stack .dxp-license-lead{
    max-width:38rem!important;
    margin-top:12px!important;
    font-size:13px!important;
    line-height:1.85!important;
  }
}


/* 4.0.4 — compact License & Delivery intro + stable product tab rail.
   This patch deliberately changes presentation only. The parent theme's
   oversized intro min-height/grid spacing is neutralized, and the four
   product tabs are given a non-sticky, overflow-safe geometry so click/scroll
   state changes cannot visually crop their rounded top edges. */
body.dxp-production .dxp-license-intro-host{
  display:block!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  padding:0!important;
  margin:0!important;
  gap:0!important;
  align-items:initial!important;
  justify-content:initial!important;
  grid-template-columns:1fr!important;
  grid-template-rows:auto!important;
  overflow:visible!important;
}
body.dxp-production .dxp-license-intro-stack{
  width:min(100%,920px)!important;
  max-width:920px!important;
  min-height:0!important;
  margin:0 auto clamp(16px,1.8vw,24px)!important;
  padding:clamp(10px,1.1vw,16px) clamp(18px,4vw,44px) clamp(14px,1.5vw,20px)!important;
  gap:0!important;
}
body.dxp-production .dxp-license-intro-stack .dxp-license-eyebrow{
  margin:0 auto 7px!important;
}
body.dxp-production .dxp-license-intro-stack .dxp-license-title{
  margin:0 auto!important;
  font-size:clamp(31px,2.55vw,44px)!important;
  line-height:1.16!important;
}
body.dxp-production .dxp-license-intro-stack .dxp-license-lead{
  max-width:720px!important;
  margin:10px auto 0!important;
  line-height:1.8!important;
}

/* Product tab navigation stability. The class is attached by production.js
   only to the four Product detail tabs, so global/site navigation is untouched. */
body.dxp-production .dxp-product-tab-shell{
  position:relative!important;
  inset:auto!important;
  top:auto!important;
  bottom:auto!important;
  z-index:8!important;
  margin:0!important;
  padding-top:4px!important;
  overflow:visible!important;
  clip:auto!important;
  clip-path:none!important;
  transform:none!important;
}
body.dxp-production .dxp-product-tab-nav{
  position:relative!important;
  inset:auto!important;
  top:auto!important;
  bottom:auto!important;
  z-index:8!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:max-content!important;
  max-width:calc(100% - 24px)!important;
  margin:0 auto 12px!important;
  padding:8px 6px 10px!important;
  overflow:visible!important;
  clip:auto!important;
  clip-path:none!important;
  transform:none!important;
  box-sizing:border-box!important;
}
body.dxp-production .dxp-product-tab-nav :where(ul,li){
  overflow:visible!important;
  clip:auto!important;
  clip-path:none!important;
}
body.dxp-production .dxp-product-tab-nav :where(ul){
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
body.dxp-production .dxp-product-tab-nav :where(li){
  margin:0!important;
  padding:0!important;
  position:relative!important;
  top:auto!important;
  transform:none!important;
}
body.dxp-production .dxp-product-tab-control{
  position:relative!important;
  inset:auto!important;
  top:auto!important;
  bottom:auto!important;
  transform:none!important;
  translate:none!important;
  clip:auto!important;
  clip-path:none!important;
  overflow:visible!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  height:auto!important;
  margin:0!important;
  padding:9px 16px!important;
  line-height:1.15!important;
  border-radius:999px!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}
body.dxp-production .dxp-product-tab-panel{
  scroll-margin-top:clamp(104px,9vw,132px)!important;
}

@media (max-width:900px){
  body.dxp-production .dxp-license-intro-stack{
    width:min(100%,780px)!important;
    margin-bottom:18px!important;
    padding:10px clamp(16px,4vw,28px) 16px!important;
  }
  body.dxp-production .dxp-license-intro-stack .dxp-license-title{
    font-size:clamp(29px,5vw,40px)!important;
  }
}
@media (max-width:700px){
  body.dxp-production .dxp-license-intro-stack{
    margin-bottom:14px!important;
    padding:8px 8px 14px!important;
  }
  body.dxp-production .dxp-license-intro-stack .dxp-license-title{
    font-size:clamp(27px,8vw,35px)!important;
    line-height:1.18!important;
  }
  body.dxp-production .dxp-license-intro-stack .dxp-license-lead{
    margin-top:8px!important;
    line-height:1.75!important;
  }
  body.dxp-production .dxp-product-tab-nav{
    width:100%!important;
    max-width:100%!important;
    gap:6px!important;
    margin-bottom:9px!important;
    padding:7px 8px 9px!important;
  }
  body.dxp-production .dxp-product-tab-nav :where(ul){gap:6px!important}
  body.dxp-production .dxp-product-tab-control{
    min-height:36px!important;
    padding:8px 12px!important;
    font-size:13px!important;
  }
}

/* 4.0.5 — License & Delivery vertical rhythm fix.
   Production screenshots confirmed that the parent tab panel itself retained
   an oversized grid/min-height/padding contract even after the intro content
   was stacked correctly. Scope the correction to this one tab only: collapse
   the parent panel to content height, remove distributed vertical space, and
   keep a deliberate compact gap between intro and the approved three-card row.
   Other product tabs are intentionally untouched. */
body.dxp-production .dxp-license-tab-panel{
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  padding:clamp(30px,3vw,42px) clamp(24px,4vw,56px) clamp(34px,3.5vw,48px)!important;
  row-gap:0!important;
  align-content:start!important;
  grid-auto-rows:auto!important;
  box-sizing:border-box!important;
}
body.dxp-production .dxp-license-tab-panel .dxp-license-intro-host{
  display:block!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
}
body.dxp-production .dxp-license-tab-panel .dxp-license-intro-stack{
  width:min(100%,900px)!important;
  max-width:900px!important;
  min-height:0!important;
  margin:0 auto clamp(24px,2.3vw,32px)!important;
  padding:0 clamp(10px,2vw,22px)!important;
}
body.dxp-production .dxp-license-tab-panel .dxp-license-intro-stack .dxp-license-eyebrow{
  margin:0 auto 7px!important;
}
body.dxp-production .dxp-license-tab-panel .dxp-license-intro-stack .dxp-license-title{
  margin:0 auto!important;
}
body.dxp-production .dxp-license-tab-panel .dxp-license-intro-stack .dxp-license-lead{
  margin:10px auto 0!important;
}
body.dxp-production .dxp-license-tab-panel .dxp-license-card-grid{
  min-height:0!important;
  height:auto!important;
  margin:0 auto!important;
  padding-top:clamp(22px,2vw,30px)!important;
  align-content:start!important;
  justify-content:initial!important;
}
body.dxp-production .dxp-license-tab-panel > hr,
body.dxp-production .dxp-license-tab-panel .dxp-license-divider{
  margin:0 auto!important;
}

@media (max-width:900px){
  body.dxp-production .dxp-license-tab-panel{
    padding:26px clamp(18px,4vw,34px) 34px!important;
  }
  body.dxp-production .dxp-license-tab-panel .dxp-license-intro-stack{
    margin-bottom:22px!important;
    padding-inline:8px!important;
  }
  body.dxp-production .dxp-license-tab-panel .dxp-license-card-grid{
    padding-top:20px!important;
  }
}
@media (max-width:700px){
  body.dxp-production .dxp-license-tab-panel{
    padding:22px 14px 28px!important;
  }
  body.dxp-production .dxp-license-tab-panel .dxp-license-intro-stack{
    margin-bottom:18px!important;
    padding-inline:4px!important;
  }
  body.dxp-production .dxp-license-tab-panel .dxp-license-card-grid{
    padding-top:16px!important;
  }
}


/* 4.0.6 — License & Delivery bilingual alignment harmonization.
   The other three product tabs already follow the storefront's natural reading
   edge. Match that approved pattern here without changing panel/card geometry:
   Persian reads from the right (RTL) and English from the left (LTR). */
body.dxp-production.dxp-lang-fa .dxp-license-tab-panel{
  direction:rtl!important;
  text-align:right!important;
}
body.dxp-production.dxp-lang-en .dxp-license-tab-panel{
  direction:ltr!important;
  text-align:left!important;
}
body.dxp-production .dxp-license-tab-panel .dxp-license-intro-stack{
  align-items:stretch!important;
  justify-content:flex-start!important;
  text-align:start!important;
}
body.dxp-production .dxp-license-tab-panel .dxp-license-intro-stack .dxp-license-eyebrow,
body.dxp-production .dxp-license-tab-panel .dxp-license-intro-stack .dxp-license-title,
body.dxp-production .dxp-license-tab-panel .dxp-license-intro-stack .dxp-license-lead{
  text-align:start!important;
}
body.dxp-production .dxp-license-tab-panel .dxp-license-intro-stack .dxp-license-eyebrow{
  width:100%!important;
  max-width:100%!important;
  align-self:stretch!important;
  margin:0 0 7px!important;
}
body.dxp-production .dxp-license-tab-panel .dxp-license-intro-stack .dxp-license-title{
  width:100%!important;
  max-width:900px!important;
  align-self:stretch!important;
  margin:0!important;
}
body.dxp-production .dxp-license-tab-panel .dxp-license-intro-stack .dxp-license-lead{
  width:100%!important;
  max-width:720px!important;
  align-self:auto!important;
  margin-top:10px!important;
  margin-bottom:0!important;
}
body.dxp-production.dxp-lang-fa .dxp-license-tab-panel .dxp-license-intro-stack .dxp-license-lead{
  margin-right:0!important;
  margin-left:auto!important;
}
body.dxp-production.dxp-lang-en .dxp-license-tab-panel .dxp-license-intro-stack .dxp-license-lead{
  margin-left:0!important;
  margin-right:auto!important;
}

@media (max-width:700px){
  body.dxp-production .dxp-license-tab-panel .dxp-license-intro-stack .dxp-license-lead{
    max-width:100%!important;
  }
}

/* 4.0.7 — License & Delivery reading-edge / lane alignment fix.
   4.0.6 corrected direction, but production screenshots showed that the parent
   theme still kept the intro inside a narrower nested grid column. That made
   the English copy begin too far to the right and the Persian copy too far to
   the left compared with Artwork details / Master file / Reviews. The JS marks
   only the intro ancestry path in this tab; expand that path across the panel,
   then keep the intro on the same 900px content lane as the three approved
   cards. Text itself remains LTR-left for English and RTL-right for Persian. */
body.dxp-production .dxp-license-tab-panel .dxp-license-intro-path,
body.dxp-production .dxp-license-tab-panel .dxp-license-intro-host{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  grid-column:1 / -1!important;
  grid-row:auto!important;
  justify-self:stretch!important;
  align-self:start!important;
  margin-inline:0!important;
  box-sizing:border-box!important;
}
body.dxp-production .dxp-license-tab-panel .dxp-license-intro-stack{
  width:min(100%,900px)!important;
  max-width:900px!important;
  min-width:0!important;
  margin-inline:auto!important;
  padding-inline:0!important;
  box-sizing:border-box!important;
}
body.dxp-production .dxp-license-tab-panel .dxp-license-intro-stack .dxp-license-eyebrow,
body.dxp-production .dxp-license-tab-panel .dxp-license-intro-stack .dxp-license-title{
  width:100%!important;
  max-width:none!important;
  margin-inline:0!important;
}
body.dxp-production.dxp-lang-fa .dxp-license-tab-panel .dxp-license-intro-stack,
body.dxp-production.dxp-lang-fa .dxp-license-tab-panel .dxp-license-intro-stack :where(.dxp-license-eyebrow,.dxp-license-title,.dxp-license-lead){
  direction:rtl!important;
  text-align:right!important;
}
body.dxp-production.dxp-lang-en .dxp-license-tab-panel .dxp-license-intro-stack,
body.dxp-production.dxp-lang-en .dxp-license-tab-panel .dxp-license-intro-stack :where(.dxp-license-eyebrow,.dxp-license-title,.dxp-license-lead){
  direction:ltr!important;
  text-align:left!important;
}
body.dxp-production.dxp-lang-fa .dxp-license-tab-panel .dxp-license-intro-stack .dxp-license-lead{
  margin-right:0!important;
  margin-left:auto!important;
}
body.dxp-production.dxp-lang-en .dxp-license-tab-panel .dxp-license-intro-stack .dxp-license-lead{
  margin-left:0!important;
  margin-right:auto!important;
}

@media (max-width:900px){
  body.dxp-production .dxp-license-tab-panel .dxp-license-intro-stack{
    width:100%!important;
    max-width:none!important;
  }
}

