/* WEAUTY Owner UI — 2026-10-03
   Product / Cart / Checkout presentation only. Commerce state remains WooCommerce-owned. */

:root{
  --weauty-owner-red:#e7353d;
  --weauty-owner-red-hover:#cc2630;
  --weauty-owner-ink:#171717;
  --weauty-owner-border:rgba(17,17,17,.11);
  --weauty-owner-soft:#f7f7f7;
}

/* ---------- Product cards: stable mother-image frame + dual CTA ---------- */
.weauty-product-card > figure .ct-media-container,
[data-products] .product.weauty-product-card > figure .ct-media-container{
  display:block!important;
  width:100%!important;
  aspect-ratio:4/5!important;
  overflow:hidden!important;
  border-radius:12px!important;
  background:#f5f5f5!important;
}
.weauty-product-card > figure .ct-media-container img,
[data-products] .product.weauty-product-card > figure .ct-media-container img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  aspect-ratio:auto!important;
}

/* ---------- PDP: fixed non-sticky gallery with thumbnails ---------- */
body.single-product .product.sticky-gallery > .product-entry-wrapper > .woocommerce-product-gallery,
body.single-product .product-entry-wrapper > .woocommerce-product-gallery{
  position:static!important;
  top:auto!important;
  inset:auto!important;
  transform:none!important;
}
body.single-product .woocommerce-product-gallery,
body.single-product .woocommerce-product-gallery .ct-product-gallery-container{
  overflow:visible!important;
}
@media (min-width:1000px){
  body.single-product .product-entry-wrapper > .woocommerce-product-gallery{
    width:430px!important;
    max-width:430px!important;
    justify-self:end!important;
    align-self:start!important;
  }
  body.single-product .woocommerce-product-gallery .ct-product-gallery-container{
    display:block!important;
    width:430px!important;
    max-width:430px!important;
    height:auto!important;
  }
  body.single-product .woocommerce-product-gallery .ct-media-container{
    width:430px!important;
    max-width:430px!important;
    height:clamp(400px,48vh,500px)!important;
    max-height:500px!important;
    aspect-ratio:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    border:1px solid rgba(17,17,17,.07)!important;
    border-radius:16px!important;
    background:#f7f7f7!important;
  }
  body.single-product .woocommerce-product-gallery .ct-media-container > img{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:center!important;
    aspect-ratio:auto!important;
    display:block!important;
  }
}
@media (max-width:999px){
  body.single-product .woocommerce-product-gallery .ct-product-gallery-container{
    width:100%!important;
    max-width:100%!important;
  }
  body.single-product .woocommerce-product-gallery .ct-media-container{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    aspect-ratio:4/5!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    border-radius:14px!important;
    background:#f7f7f7!important;
  }
  body.single-product .woocommerce-product-gallery .ct-media-container > img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
    aspect-ratio:auto!important;
  }
}
body.single-product .weauty-pdp-thumbs{
  width:100%;
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:10px;
  padding:2px 0 5px;
  overflow-x:auto;
  scrollbar-width:thin;
  direction:rtl;
}
body.single-product .weauty-pdp-thumb{
  width:66px;
  height:84px;
  min-width:66px;
  padding:0;
  display:block;
  overflow:hidden;
  border:1px solid rgba(17,17,17,.12);
  border-radius:10px;
  background:#f7f7f7;
  cursor:pointer;
}
body.single-product .weauty-pdp-thumb img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
}
body.single-product .weauty-pdp-thumb.is-active{
  border-color:#171717;
  box-shadow:0 0 0 1px #171717;
}

/* PDP add-to-cart: red for purchase, black only for notify mode. */
body.single-product .single_add_to_cart_button:not(.weauty-notify-mode){
  background:var(--weauty-owner-red)!important;
  border-color:var(--weauty-owner-red)!important;
  color:#fff!important;
}
body.single-product .single_add_to_cart_button:not(.weauty-notify-mode):hover:not(:disabled){
  background:var(--weauty-owner-red-hover)!important;
  border-color:var(--weauty-owner-red-hover)!important;
}
body.single-product .single_add_to_cart_button:not(.weauty-notify-mode):disabled,
body.single-product .single_add_to_cart_button:not(.weauty-notify-mode).disabled{
  background:var(--weauty-owner-red)!important;
  border-color:var(--weauty-owner-red)!important;
  color:#fff!important;
  opacity:.38!important;
}
body.single-product .single_add_to_cart_button.weauty-notify-mode{
  background:#171717!important;
  border-color:#171717!important;
  color:#fff!important;
  opacity:1!important;
}

/* Empty merchandising rail must never leave an empty box behind. */
body.single-product .weauty-style-with:not(:has(.weauty-style-card)),
body.single-product .weauty-style-with.is-empty{
  display:none!important;
}

/* Unified 4-installment promo: SnappPay / DigiPay / TorobPay. */
body.single-product #torobpay-variation-widget-container{
  display:none!important;
}
body.single-product .digipay-widget.weauty-installment-combo{
  position:relative!important;
  display:grid!important;
  grid-template-columns:82px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  min-height:74px!important;
  margin-top:14px!important;
  padding:12px 14px!important;
  border:1px solid rgba(17,17,17,.10)!important;
  border-radius:14px!important;
  background:#fafafa!important;
  color:#242424!important;
  cursor:pointer!important;
  transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease!important;
}
body.single-product .digipay-widget.weauty-installment-combo:hover{
  border-color:rgba(17,17,17,.24)!important;
  box-shadow:0 8px 24px rgba(17,17,17,.055)!important;
  transform:translateY(-1px)!important;
}
body.single-product .weauty-installment-logos{
  width:82px;
  height:45px;
  position:relative;
  display:block;
  direction:ltr;
}
body.single-product .weauty-installment-logo{
  position:absolute;
  top:4px;
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border:2px solid #fff;
  border-radius:12px;
  background:#fff;
  box-shadow:0 3px 10px rgba(0,0,0,.10);
}
body.single-product .weauty-installment-logo img{
  width:100%!important;
  height:100%!important;
  padding:3px!important;
  object-fit:contain!important;
}
body.single-product .weauty-installment-logo--torob{left:0;z-index:1}
body.single-product .weauty-installment-logo--digipay{left:21px;z-index:2}
body.single-product .weauty-installment-logo--snapp{left:42px;z-index:3}
body.single-product .weauty-installment-copy{
  min-width:0;
  text-align:right;
  direction:rtl;
}
body.single-product .weauty-installment-copy strong{
  display:block;
  color:#222;
  font-size:12.5px;
  line-height:1.9;
  font-weight:750;
}
body.single-product .weauty-installment-copy small{
  display:block;
  margin-top:2px;
  color:#777;
  font-size:10.5px;
  line-height:1.7;
}
body.single-product .weauty-installment-quarter{
  min-width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:var(--weauty-owner-red);
  color:#fff;
  font-size:13px;
  font-weight:800;
  direction:rtl;
}
body.single-product .weauty-installment-hint{
  grid-column:1/-1;
  margin-top:-2px;
  color:#b42318;
  font-size:11px;
  line-height:1.7;
  text-align:right;
}
body.single-product form.weauty-needs-selection{
  outline:2px solid rgba(231,53,61,.16);
  outline-offset:8px;
  border-radius:12px;
}
@media(max-width:520px){
  body.single-product .digipay-widget.weauty-installment-combo{
    grid-template-columns:74px minmax(0,1fr)!important;
    padding:11px!important;
  }
  body.single-product .weauty-installment-copy strong{font-size:11.5px}
}

/* ---------- Cart: native coupon state + red completion CTA ---------- */
body.weauty-wxp04-cart .wc-block-cart__submit-button{
  background:var(--weauty-owner-red)!important;
  border-color:var(--weauty-owner-red)!important;
  color:#fff!important;
}
body.weauty-wxp04-cart .wc-block-cart__submit-button:hover{
  background:var(--weauty-owner-red-hover)!important;
  border-color:var(--weauty-owner-red-hover)!important;
}
body.weauty-wxp04-cart .wp-block-woocommerce-cart-order-summary-coupon-form-block{
  margin:2px 0 14px!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
}
body.weauty-wxp04-cart .wp-block-woocommerce-cart-order-summary-coupon-form-block.wc-block-components-totals-wrapper{
  border-top:0!important;
  border-bottom:0!important;
}
body.weauty-wxp04-cart .wc-block-components-totals-coupon{
  margin:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
}
body.weauty-wxp04-cart .wc-block-components-totals-coupon > .wc-block-components-panel__button{
  width:100%!important;
  min-height:44px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:9px 12px!important;
  border:1px solid rgba(17,17,17,.12)!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#2a2a2a!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:750!important;
}
body.weauty-wxp04-cart .wc-block-components-totals-coupon__form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:stretch!important;
  gap:8px!important;
  margin:10px 0 0!important;
  padding:0!important;
  border:0!important;
}
body.weauty-wxp04-cart .wc-block-components-totals-coupon__input{margin:0!important}
body.weauty-wxp04-cart .wc-block-components-totals-coupon__input input{
  min-height:44px!important;
  border:1px solid rgba(17,17,17,.15)!important;
  border-radius:10px!important;
  box-shadow:none!important;
}
body.weauty-wxp04-cart .wc-block-components-totals-coupon__button{
  min-height:44px!important;
  margin:0!important;
  padding:7px 14px!important;
  border:1px solid #171717!important;
  border-radius:10px!important;
  background:#171717!important;
  color:#fff!important;
  white-space:nowrap!important;
}
body.weauty-wxp04-cart .wxp04-mobile-cart-bar__cta{
  background:var(--weauty-owner-red)!important;
  color:#fff!important;
}

/* ---------- Checkout: method rows with clean radios + brand marks ---------- */
body.weauty-wxp04-checkout .wp-block-woocommerce-checkout-shipping-methods-block
  .wc-block-components-radio-control__option,
body.weauty-wxp04-checkout .wp-block-woocommerce-checkout-payment-block
  .wc-block-components-radio-control-accordion-option > .wc-block-components-radio-control__option{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) 20px!important;
  grid-template-rows:auto!important;
  align-items:center!important;
  column-gap:12px!important;
  direction:ltr!important;
}
body.weauty-wxp04-checkout .wp-block-woocommerce-checkout-shipping-methods-block
  .wc-block-components-radio-control__input,
body.weauty-wxp04-checkout .wp-block-woocommerce-checkout-payment-block
  .wc-block-components-radio-control__input{
  grid-column:3!important;
  grid-row:1!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  margin:0!important;
  padding:0!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  border:1.5px solid #777!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.weauty-wxp04-checkout .wp-block-woocommerce-checkout-shipping-methods-block
  .wc-block-components-radio-control__input:checked,
body.weauty-wxp04-checkout .wp-block-woocommerce-checkout-payment-block
  .wc-block-components-radio-control__input:checked{
  border-color:#171717!important;
  background:radial-gradient(circle at center,#171717 0 4px,#fff 4.5px)!important;
}
body.weauty-wxp04-checkout .wp-block-woocommerce-checkout-shipping-methods-block
  .wc-block-components-radio-control__option-layout,
body.weauty-wxp04-checkout .wp-block-woocommerce-checkout-payment-block
  .wc-block-components-radio-control-accordion-option > .wc-block-components-radio-control__option
  .wc-block-components-radio-control__option-layout{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  width:100%!important;
  direction:rtl!important;
}

body.weauty-wxp04-checkout .wp-block-woocommerce-checkout-shipping-methods-block
  .wc-block-components-radio-control__label-group,
body.weauty-wxp04-checkout .wp-block-woocommerce-checkout-payment-block
  .wc-block-components-radio-control__label-group,
body.weauty-wxp04-checkout .wp-block-woocommerce-checkout-payment-block
  .wc-block-components-radio-control__label,
body.weauty-wxp04-checkout .wp-block-woocommerce-checkout-payment-block
  .wc-block-components-radio-control-accordion-option__label{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  direction:rtl!important;
  text-align:right!important;
  margin:0!important;
}
body.weauty-wxp04-checkout .weauty-method-logo{
  grid-column:1!important;
  grid-row:1!important;
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border:1px solid rgba(17,17,17,.08);
  border-radius:10px;
  background:#fff;
}
body.weauty-wxp04-checkout .weauty-method-logo img{
  width:30px!important;
  height:30px!important;
  max-width:30px!important;
  max-height:30px!important;
  display:block!important;
  object-fit:contain!important;
}
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="tipax"]{
  background:#6b2c91;
  border-color:#6b2c91;
}
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="tipax"] img{
  width:31px!important;
  height:24px!important;
}
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="post"] img{
  width:32px!important;
  height:32px!important;
  border-radius:7px;
}
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="courier"] img{
  width:30px!important;
  height:30px!important;
}
body.weauty-wxp04-checkout .wc-block-components-radio-control__label-group{
  width:100%!important;
}
@media(max-width:560px){
  body.weauty-wxp04-checkout .wp-block-woocommerce-checkout-shipping-methods-block
    .wc-block-components-radio-control__option,
  body.weauty-wxp04-checkout .wp-block-woocommerce-checkout-payment-block
    .wc-block-components-radio-control-accordion-option > .wc-block-components-radio-control__option{
    grid-template-columns:34px minmax(0,1fr) 18px!important;
    column-gap:9px!important;
  }
  body.weauty-wxp04-checkout .weauty-method-logo{
    width:32px;height:32px;border-radius:9px;
  }
  body.weauty-wxp04-checkout .weauty-method-logo img{
    width:27px!important;height:27px!important;
  }
}

/* Woo failed-order screen recovery button. */
.weauty-failed-payment-actions{
  margin:0 0 14px;
}
.weauty-failed-payment-actions .weauty-failed-shop-button{
  min-height:44px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:9px 16px!important;
  border-radius:10px!important;
  background:#171717!important;
  border-color:#171717!important;
  color:#fff!important;
}

/* QA correction 2026-10-03: neutralize legacy product-badge image rules. */
.weauty-product-card > .torobpay-product-badge{
  display:none!important;
}

/* QA correction: Woo/theme pseudo-elements were drawing a second stray dot. */
body.weauty-wxp04-checkout
  .wc-block-components-radio-control__input::before,
body.weauty-wxp04-checkout
  .wc-block-components-radio-control__input::after{
  content:none!important;
  display:none!important;
  width:0!important;
  height:0!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  background:none!important;
  box-shadow:none!important;
}

/* We render one canonical brand mark at the left edge of each method row. */
body.weauty-wxp04-checkout .wp-block-woocommerce-checkout-payment-block
  .wc-block-components-radio-control__label img,
body.weauty-wxp04-checkout .wp-block-woocommerce-checkout-payment-block
  .wc-block-components-radio-control-accordion-option__label img{
  display:none!important;
}

/* Final PDP CTA ownership: purchase is red; notify mode alone is black. */
html body.single-product .entry-summary .ct-product-add-to-cart
  form.cart .single_add_to_cart_button:not(.weauty-notify-mode),
html body.single-product .entry-summary
  form.cart .single_add_to_cart_button:not(.weauty-notify-mode){
  background:#e7353d!important;
  background-color:#e7353d!important;
  border-color:#e7353d!important;
  color:#fff!important;
}
html body.single-product .entry-summary .ct-product-add-to-cart
  form.cart .single_add_to_cart_button:not(.weauty-notify-mode):hover:not(:disabled),
html body.single-product .entry-summary
  form.cart .single_add_to_cart_button:not(.weauty-notify-mode):hover:not(:disabled){
  background:#cc2630!important;
  background-color:#cc2630!important;
  border-color:#cc2630!important;
  color:#fff!important;
}
html body.single-product .entry-summary .ct-product-add-to-cart
  form.cart .single_add_to_cart_button.weauty-notify-mode,
html body.single-product .entry-summary
  form.cart .single_add_to_cart_button.weauty-notify-mode{
  background:#171717!important;
  background-color:#171717!important;
  border-color:#171717!important;
  color:#fff!important;
  opacity:1!important;
}

/* Canonical card actions: independent of Blocksy's auto-hide action container. */
html body .weauty-product-card .ct-woo-card-actions.weauty-owner-native-actions-hidden{
  display:none!important;
}
html body .weauty-product-card .weauty-owner-card-actions{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:7px!important;
  align-items:stretch!important;
  margin-top:10px!important;
  direction:rtl!important;
}
html body .weauty-product-card .weauty-owner-card-actions > a{
  min-width:0!important;
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:8px 7px!important;
  border-radius:10px!important;
  font-size:11px!important;
  line-height:1.45!important;
  font-weight:700!important;
  text-align:center!important;
  text-decoration:none!important;
  white-space:normal!important;
}
html body .weauty-product-card .weauty-owner-card-choice{
  background:#fff!important;
  color:#262626!important;
  border:1px solid rgba(17,17,17,.14)!important;
}
html body .weauty-product-card .weauty-owner-card-order{
  background:#e7353d!important;
  color:#fff!important;
  border:1px solid #e7353d!important;
}
html body .weauty-product-card .weauty-owner-card-order:hover{
  background:#cc2630!important;
  color:#fff!important;
  border-color:#cc2630!important;
}

/* Incomplete variation stays visibly red-but-disabled; black is reserved for Notify. */
html body.single-product .entry-summary .ct-product-add-to-cart
  form.cart .single_add_to_cart_button:not(.weauty-notify-mode):disabled,
html body.single-product .entry-summary .ct-product-add-to-cart
  form.cart .single_add_to_cart_button:not(.weauty-notify-mode).disabled,
html body.single-product .entry-summary
  form.cart .single_add_to_cart_button:not(.weauty-notify-mode):disabled,
html body.single-product .entry-summary
  form.cart .single_add_to_cart_button:not(.weauty-notify-mode).disabled{
  background:#e7353d!important;
  background-color:#e7353d!important;
  border-color:#e7353d!important;
  color:#fff!important;
  opacity:.48!important;
  cursor:not-allowed!important;
}



/* PDP gallery source items: keep only the main frame visible; custom rail owns thumbnails. */
body.single-product .woocommerce-product-gallery
  .ct-product-gallery-container > .ct-media-container:not(:first-of-type){
  display:none!important;
}

body.single-product .weauty-pdp-thumbs{
  flex-wrap:nowrap!important;
  max-width:100%!important;
}

body.single-product .weauty-pdp-thumb{
  flex:0 0 66px!important;
}


/* PDP custom gallery rail owns navigation; suppress Blocksy duplicate slider UI. */
body.single-product .woocommerce-product-gallery
  .flexy-items > .flexy-item:not(:first-child){
  display:none!important;
}

body.single-product .woocommerce-product-gallery .flexy-pills,
body.single-product .woocommerce-product-gallery .flexy-arrow-prev,
body.single-product .woocommerce-product-gallery .flexy-arrow-next{
  display:none!important;
}


/*
 * Keep the WEAUTY desktop PDP main photo visible when Blocksy's native Flexy
 * slider recalculates its height from an inactive/hidden slide on pointer
 * hover. The original image frame is already 400–500px tall; without this
 * guard Flexy can set the view to 1px, collapsing the entire photo above our
 * separate thumbnail rail. Do not change the mobile gallery geometry.
 */
@media(min-width:1000px){
  body.single-product .woocommerce-product-gallery
    .ct-product-gallery-container .flexy-view{
    min-height:clamp(400px,48vh,500px)!important;
  }
}

/* PDP native hover zoom is disabled; custom mother-image + thumbnail rail owns gallery interaction. */
body.single-product .woocommerce-product-gallery .zoomImg{
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
body.single-product .woocommerce-product-gallery .flexy-items,
body.single-product .woocommerce-product-gallery .flexy-items > .flexy-item:first-child,
body.single-product .woocommerce-product-gallery .flexy-items > .flexy-item:first-child .ct-media-container{
  transform:none!important;
}
body.single-product .weauty-installment-quarter{
  display:none!important;
}


/* PDP mother frame is static; custom thumbs own gallery navigation. */
body.single-product .woocommerce-product-gallery .weauty-pdp-main-static,
body.single-product .woocommerce-product-gallery .weauty-pdp-main-static > img{
  cursor:default!important;
  user-select:none!important;
  -webkit-user-select:none!important;
  -webkit-user-drag:none!important;
  touch-action:pan-y!important;
}

/* Mouse affordance only when the PDP mother frame can navigate multiple images. */
@media (min-width:1000px) and (hover:hover) and (pointer:fine){
  body.single-product .woocommerce-product-gallery .weauty-pdp-main-static.weauty-pdp-draggable,
  body.single-product .woocommerce-product-gallery .weauty-pdp-main-static.weauty-pdp-draggable > img{
    cursor:grab!important;
  }
  body.single-product .woocommerce-product-gallery .weauty-pdp-main-static.weauty-pdp-draggable:active,
  body.single-product .woocommerce-product-gallery .weauty-pdp-main-static.weauty-pdp-draggable:active > img{
    cursor:grabbing!important;
  }
}

@media(min-width:1000px){
  body.single-product .weauty-pdp-thumbs{
    width:430px!important;
    max-width:430px!important;
    box-sizing:border-box!important;
  }
}
@media(max-width:999px){
  body.single-product .weauty-pdp-thumbs{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}


/* PDP r4 centered installment copy */
body.single-product .weauty-installment-copy,
body.single-product .weauty-installment-copy strong,
body.single-product .weauty-installment-copy small{
  text-align:center!important;
}

/* PDP fullscreen: captions/attribution are intentionally suppressed on every viewport. */
body.single-product .pswp__caption,
body.single-product .pswp__caption__center{
  display:none!important;
}
@media(max-width:999px){
  body.single-product .woocommerce-product-gallery .weauty-pdp-main-static,
  body.single-product .woocommerce-product-gallery .weauty-pdp-main-static > img{
    cursor:zoom-in!important;
  }
}


/* WEAUTY: postpaid shipping methods (Post / local courier) never show an online numeric amount. */
body.weauty-wxp04-checkout
  .wp-block-woocommerce-checkout-shipping-methods-block
  .wc-block-components-radio-control__option.weauty-shipping-postpay
  .wc-block-components-radio-control__secondary-label{
  display:inline!important;
  color:#6b6b6b!important;
  font-size:11px!important;
  font-weight:650!important;
}
body.weauty-wxp04-checkout.weauty-postpay-selected
  .wc-block-components-totals-shipping
  .wc-block-formatted-money-amount{
  display:none!important;
}
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="sadad"] img,
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="mellat"] img,
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="asanpardakht"] img,
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="post"] img{
  width:31px!important;
  height:31px!important;
  max-width:31px!important;
  max-height:31px!important;
  object-fit:contain!important;
}


/* Owner-supplied icon-only marks — 2026-10-06 */
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="post"] img,
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="mellat"] img,
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="asanpardakht"] img,
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="sadad"] img{
  width:32px!important;
  height:32px!important;
  max-width:32px!important;
  max-height:32px!important;
  object-fit:contain!important;
  border-radius:0!important;
}


/* Payment/shipping mark cleanup — 2026-10-06 */
body.weauty-wxp04-checkout .weauty-method-logo{
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
  border-radius:10px!important;
  background:#fff!important;
}
body.weauty-wxp04-checkout .weauty-method-logo img{
  width:34px!important;
  height:34px!important;
  max-width:34px!important;
  max-height:34px!important;
  object-fit:contain!important;
  object-position:center!important;
  opacity:1!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  border-radius:0!important;
}
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="mellat"] img{
  width:35px!important;
  height:35px!important;
}
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="asanpardakht"] img{
  width:34px!important;
  height:34px!important;
}
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="sadad"] img{
  width:35px!important;
  height:30px!important;
}
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="post"] img{
  width:33px!important;
  height:33px!important;
}
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="courier"] img{
  width:33px!important;
  height:33px!important;
  opacity:1!important;
  filter:none!important;
}
@media(max-width:560px){
  body.weauty-wxp04-checkout .weauty-method-logo{
    width:34px!important;
    height:34px!important;
    flex-basis:34px!important;
  }
  body.weauty-wxp04-checkout .weauty-method-logo img{
    width:30px!important;
    height:30px!important;
    max-width:30px!important;
    max-height:30px!important;
  }
  body.weauty-wxp04-checkout .weauty-method-logo[data-brand="mellat"] img{width:31px!important;height:31px!important;}
  body.weauty-wxp04-checkout .weauty-method-logo[data-brand="sadad"] img{width:31px!important;height:27px!important;}
}


/* Final icon normalization — owner review 2026-10-06 */
body.weauty-wxp04-checkout .weauty-method-logo{
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid rgba(17,17,17,.08)!important;
  border-radius:10px!important;
  opacity:1!important;
  filter:none!important;
}
body.weauty-wxp04-checkout .weauty-method-logo img,
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="mellat"] img,
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="asanpardakht"] img,
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="sadad"] img,
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="post"] img,
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="courier"] img{
  width:32px!important;
  height:32px!important;
  max-width:32px!important;
  max-height:32px!important;
  object-fit:contain!important;
  object-position:center!important;
  opacity:1!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
@media(max-width:560px){
  body.weauty-wxp04-checkout .weauty-method-logo{
    width:34px!important;
    height:34px!important;
    flex-basis:34px!important;
  }
  body.weauty-wxp04-checkout .weauty-method-logo img,
  body.weauty-wxp04-checkout .weauty-method-logo[data-brand="mellat"] img,
  body.weauty-wxp04-checkout .weauty-method-logo[data-brand="asanpardakht"] img,
  body.weauty-wxp04-checkout .weauty-method-logo[data-brand="sadad"] img,
  body.weauty-wxp04-checkout .weauty-method-logo[data-brand="post"] img,
  body.weauty-wxp04-checkout .weauty-method-logo[data-brand="courier"] img{
    width:29px!important;
    height:29px!important;
    max-width:29px!important;
    max-height:29px!important;
  }
}

/* Logo polish r3 — vivid, complete, uncropped owner-approved marks */
body.weauty-wxp04-checkout .weauty-method-logo{
  overflow:visible!important;
}
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="mellat"] img{
  width:35px!important;height:35px!important;
}
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="asanpardakht"] img{
  width:35px!important;height:35px!important;
  opacity:1!important;
  filter:saturate(1.18) contrast(1.04)!important;
}
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="sadad"] img{
  width:35px!important;height:29px!important;
}
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="post"] img,
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="courier"] img{
  width:34px!important;height:34px!important;
}
@media(max-width:560px){
  body.weauty-wxp04-checkout .weauty-method-logo[data-brand="mellat"] img,
  body.weauty-wxp04-checkout .weauty-method-logo[data-brand="asanpardakht"] img{
    width:31px!important;height:31px!important;
  }
  body.weauty-wxp04-checkout .weauty-method-logo[data-brand="sadad"] img{
    width:31px!important;height:26px!important;
  }
  body.weauty-wxp04-checkout .weauty-method-logo[data-brand="post"] img,
  body.weauty-wxp04-checkout .weauty-method-logo[data-brand="courier"] img{
    width:30px!important;height:30px!important;
  }
}


/* Shipping/payment brand corrections r4 — 2026-10-06 */
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="tipax"]{
  background:#6b2c91!important;
  border-color:#6b2c91!important;
  overflow:hidden!important;
}
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="tipax"] img{
  width:34px!important;
  height:auto!important;
  max-width:34px!important;
  max-height:18px!important;
  object-fit:contain!important;
  opacity:1!important;
  filter:none!important;
}
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="sadad"]{
  overflow:visible!important;
}
body.weauty-wxp04-checkout .weauty-method-logo[data-brand="sadad"] img{
  width:36px!important;
  height:auto!important;
  max-width:36px!important;
  max-height:24px!important;
  object-fit:contain!important;
  opacity:1!important;
  filter:none!important;
}
@media(max-width:560px){
  body.weauty-wxp04-checkout .weauty-method-logo[data-brand="tipax"] img{
    width:30px!important;
    max-width:30px!important;
    max-height:16px!important;
  }
  body.weauty-wxp04-checkout .weauty-method-logo[data-brand="sadad"] img{
    width:31px!important;
    max-width:31px!important;
    max-height:21px!important;
  }
}
