/* Guarded by the Arabic frontend enqueue; do not alter the LTR design. */
@media (min-width:1024px) {
  html[lang^="ar"] body.rtl #wrapper > .goldsmith-header-mobile-top-height {
    display:none !important;
  }
}
/* Match the measured 120px EN quantity control; the cart CTA owns remaining space. */
html[lang^="ar"] body.rtl.single-product .goldsmith-product-summary form.cart .quantity {
  flex:0 0 120px !important;
  width:120px !important;
  min-width:0 !important;
  max-width:120px;
  box-sizing:border-box;
}
html[lang^="ar"] body.rtl.single-product .goldsmith-product-summary form.cart .quantity input.qty {
  min-width:0;
  max-width:100%;
  flex:1 1 auto;
}
html[lang^="ar"] body.rtl.single-product .goldsmith-product-summary form.cart .single_add_to_cart_button {
  flex:1 1 0 !important;
  min-width:0;
}
html[lang^="ar"] body.rtl.single-product .goldsmith-product-summary form.cart .goldsmith-btn-buynow {
  flex:1 1 100% !important;
  min-width:0;
}
@media (max-width:479px) {
  html[lang^="ar"] body.rtl.single-product .goldsmith-product-summary form.cart .quantity {
    flex-basis:106px !important;
    width:106px !important;
    max-width:106px;
  }
}
html[lang^="ar"] .pfmx-fl-product-tab .pfmx-fl-notes-list {
  direction:rtl;
}
/* Match actual EN Goldsmith PDP variable-CTA geometry: 10px flex gap;
 * quantity 120px, CTA expands, both 38px high. Do not alter the form values. */
html[lang^="ar"] body.rtl.single-product .goldsmith-product-summary form.cart .woocommerce-variation-add-to-cart {
  gap:10px !important;
}
html[lang^="ar"] body.rtl.single-product .goldsmith-product-summary form.cart .woocommerce-variation-add-to-cart .quantity {
  margin:0 !important;
}
html[lang^="ar"] body.rtl.single-product .goldsmith-terms[data-attribute="pa_sizes"] .goldsmith-term[data-term="50-ml-ar"] {
  min-width:69px;
  box-sizing:border-box;
}
html[lang^="ar"] body.rtl.single-product .goldsmith-terms[data-attribute="pa_sizes"] .goldsmith-term[data-term="90-ml-ar"] {
  min-width:70px;
  box-sizing:border-box;
}

/* R7: give native Arabic variant choices 12px of additional breathing room.
 * The measured existing gap is 16px; only the main Arabic PDP form is changed.
 * WooCommerce variation values, price, selected state, quantity and CTA sizes
 * remain native; logical margin works the same in RTL and responsive layouts. */
html[lang^="ar"] body.rtl.single-product .goldsmith-product-summary form.variations_form > .goldsmith-variations.variations {
  margin-block-end:12px !important;
}

/* Arabic homepage banner type: preserve the reflected artwork and place the
 * longer RTL headline in the measured empty area instead of over the jars.
 * Do not change the English documents, images, links or mobile image art. */
html[lang^="ar"] body.rtl [data-elementor-id="22354"] .elementor-element-4f38809 {
  max-inline-size:min(100%, 440px) !important;
}
html[lang^="ar"] body.rtl [data-elementor-id="22354"] :is(.elementor-element-4f38809,.elementor-element-a754b74) .elementor-heading-title {
  text-align:start !important;
  text-wrap:balance;
}
html[lang^="ar"] body.rtl [data-elementor-id="22354"] :is(.elementor-element-019a6be,.elementor-element-1cf81c2) .elementor-heading-title {
  text-align:start !important;
}
@media (min-width:1024px) {
  html[lang^="ar"] body.rtl [data-elementor-id="22354"] .elementor-element-4f38809 .elementor-heading-title {
    font-size:clamp(40px,3.8vw,52px) !important;
    line-height:1.18 !important;
  }
}
