/* ================================================================
   JAA v0.9 — LAST PDF DETAIL PASS — STAGING ONLY
   Requires .jaa-home-v9 on the imported Elementor root container.
   All selectors stay within the v9 draft (or its native header only
   while the v9 draft is the page being displayed).  No global theme,
   WooCommerce, translation, or active header modifications.
   ================================================================ */

/* 1 — HERO: reduce dependence on the previously forced translateY shift.
   This makes the physical section padding create more breathing room
   under the transparent navigation rather than shifting widget margins. */
@media(min-width:1200px){
  .jaa-home-v9 .jaa-v4-hero{
    padding-top:190px!important;
    padding-bottom:25px!important;
  }
  .jaa-home-v9 .jaa-v4-hero-copy{transform:none!important;}
}
@media(min-width:768px) and (max-width:1199px){
  .jaa-home-v9 .jaa-v4-hero {padding-top:155px!important;padding-bottom:75px!important;}
  .jaa-home-v9 .jaa-v4-hero-copy{transform:none!important;}
}
@media(max-width:767px){
  .jaa-home-v9 .jaa-v4-hero {padding-top:135px!important;padding-bottom:72px!important;}
  .jaa-home-v9 .jaa-v4-hero-copy{transform:none!important;}
}

/* 2 — BRAND INTRO: the older .jaa-v4-brand-copy p blanket rule was
   forcing Gilroy (with !important) on the new script widget.  The name
   "Holimunt" is included because that is the name registered by the
   site owner; "Holimount" matches the licensed asset filename. */
.jaa-home-v9 .jaa-v4-brand-copy .jaa-v8-intro-script:not(.jaa-editor-unlocked) {
  width:min(420px,100%)!important;
  max-width:420px!important;
  margin:-10px 0 14px clamp(25px,5vw,78px)!important;
  align-self:flex-start!important;
  min-height:46px!important;
}
.jaa-home-v9 .jaa-v4-brand-copy .jaa-v8-intro-script:not(.jaa-editor-unlocked) .elementor-heading-title{
  font-family:'Holimunt','Holimount','Holimount_me',cursive!important;
  font-size:clamp(36px,3.4vw,50px)!important;
  font-weight:400!important;
  font-style:normal!important;
  letter-spacing:0!important;
  line-height:1.22!important;
  text-align:left!important;
  text-transform:none!important;
  white-space:nowrap!important;
}
/* Same handwritten style for PDF's Formula accent. */
.jaa-home-v9 .jaa-v4-meet-copy .jaa-v8-formula-script:not(.jaa-editor-unlocked) .elementor-heading-title{
  font-family:'Holimunt','Holimount','Holimount_me',cursive!important;
  font-size:clamp(34px,3.4vw,48px)!important;
  line-height:1.18!important;
  font-weight:400!important;
  font-style:normal!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  text-transform:none!important;
}

/* 3 — FORMULA CTA: white background/navy text, including native theme spans. */
.jaa-home-v9 .jaa-v4-meet-copy .elementor-widget-tg-btn :is(a,.btn,.tg-btn,button){
  background:#fff!important;
  background-color:#fff!important;
  border-color:#fff!important;
  color:#2B0043!important;
  box-shadow:none!important;
}
.jaa-home-v9 .jaa-v4-meet-copy .elementor-widget-tg-btn :is(a,.btn,.tg-btn,button) :is(span,i,svg){
  color:#2B0043!important;
  fill:currentColor!important;
}
.jaa-home-v9 .jaa-v4-meet-copy .elementor-widget-tg-btn :is(a,.btn,.tg-btn,button):hover,
.jaa-home-v9 .jaa-v4-meet-copy .elementor-widget-tg-btn :is(a,.btn,.tg-btn,button):focus-visible{
  background:#f7f0e7!important;
  border-color:#f7f0e7!important;
  color:#2B0043!important;
}

/* 4 — JORDAN: native Heading & Text Editor remove the theme's unwanted
   large GREEN demo icon.  Original supplied farm photo stays unchanged.
   The PDF shows a clean natural boundary after this image, not a jagged
   overlaid white divider. */
.jaa-home-v9 .jaa-v4-jordan::after{content:none!important;display:none!important;}
.jaa-home-v9 .jaa-v4-jordan-copy{gap:14px!important;}
.jaa-home-v9 .jaa-v9-jordan-heading{width:100%!important;}
.jaa-home-v9 .jaa-v9-jordan-heading .elementor-heading-title{
  color:#2B0043!important;
  font-family:Oswald,Impact,sans-serif!important;
  font-size:clamp(42px,4.1vw,66px)!important;
  font-weight:600!important;
  line-height:1.02!important;
  text-transform:uppercase!important;
  text-align:left!important;
  max-width:430px!important;
}
.jaa-home-v9 .jaa-v9-jordan-description,
.jaa-home-v9 .jaa-v9-jordan-description p{
  font-family:Gilroy,Arial,sans-serif!important;
  color:#2B0043!important;
  font-size:16px!important;
  line-height:1.6!important;
  font-weight:300!important;
  text-align:left!important;
}
.jaa-home-v9 .jaa-v9-jordan-description p{margin:0 0 8px!important;}
.jaa-home-v9 .jaa-v4-jordan-picture img{
  object-fit:cover!important;
  object-position:50% 38%!important;
  border-radius:0 0 0 115px!important;
}

/* 5 — PRODUCT CUTOUT: reinforce the natural supplied image sizing
   for Elementor image containers that use --width/flex basis. */
@media(min-width:768px){
 .jaa-home-v9 .jaa-v4-product-visual>.jaa-v4-product-roots{
   position:absolute!important;right:-58px!important;left:auto!important;
   bottom:-42px!important;width:180px!important;--width:180px!important;
   max-width:180px!important;flex:0 0 180px!important;z-index:8!important;
 }
 .jaa-home-v9 .jaa-v4-product-visual>.jaa-v4-product-roots .elementor-widget-container,
 .jaa-home-v9 .jaa-v4-product-visual>.jaa-v4-product-roots img{
    width:180px!important;max-width:none!important;height:auto!important;
 }
}

/* 6 — INGREDIENTS: rebuild only the two content areas with simple editable
   Elementor titles and descriptions: no TG placeholder or dead spacing. */
.jaa-home-v9 .jaa-v4-ingredients{
  gap:27px!important;
  padding-top:90px!important;
  padding-bottom:95px!important;
}
.jaa-home-v9 .jaa-v4-ingredient-header{gap:6px!important;}
.jaa-home-v9 .jaa-v4-ingredient-header>.elementor-widget-heading:first-child .elementor-heading-title{
  color:#2B0043!important;letter-spacing:.14em!important;
  text-align:center!important;
}
.jaa-home-v9 .jaa-v4-ingredient-header>.elementor-widget-heading:nth-child(2) .elementor-heading-title{
  font-size:clamp(40px,4.2vw,60px)!important;
  line-height:1.05!important;
}
.jaa-home-v9 .jaa-v4-ingredient-grid{align-items:stretch!important;gap:26px!important;}
.jaa-home-v9 .jaa-v4-ingredient-grid::after{top:240px!important;}
.jaa-home-v9 .jaa-v4-ingredient-card{
  min-height:0!important;gap:0!important;
  justify-content:flex-start!important;
}
.jaa-home-v9 .jaa-v4-ingredient-img{
  height:240px!important;min-height:240px!important;
  flex:0 0 240px!important;
  margin:0!important;
}
.jaa-home-v9 .jaa-v9-ingredient-copy{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  width:100%!important;--width:100%!important;
  min-height:170px!important;flex:1 1 auto!important;
  padding:24px 24px 28px!important;gap:10px!important;
  background:#f7f0e7!important;
}
.jaa-home-v9 .jaa-v9-ingredient-mag{background:#eee4fa!important;}
.jaa-home-v9 .jaa-v9-ingredient-copy>.elementor-widget{width:100%!important;}
.jaa-home-v9 .jaa-v9-ingredient-name .elementor-heading-title{
  font-family:Gilroy,Arial,sans-serif!important;
  font-size:20px!important;font-weight:600!important;
  line-height:1.3!important;text-align:left!important;
  color:#2B0043!important;
  display:flex;align-items:center;gap:10px;
}
.jaa-home-v9 .jaa-v9-ingredient-name .elementor-heading-title::before{
  content:'';display:inline-block;flex:0 0 24px;width:24px;height:24px;
  background-image:url('../assets/icon-ashwa.png');
  background-position:center;background-repeat:no-repeat;background-size:contain;
}
.jaa-home-v9 .jaa-v9-ingredient-mag .jaa-v9-ingredient-name .elementor-heading-title::before{
  background-image:url('../assets/icon-mag.png');
}
.jaa-home-v9 .jaa-v9-ingredient-description,
.jaa-home-v9 .jaa-v9-ingredient-description p{
  font-family:Gilroy,Arial,sans-serif!important;
  font-size:15px!important;line-height:1.55!important;
  font-weight:300!important;color:#2B0043!important;
  text-align:left!important;
}
.jaa-home-v9 .jaa-v9-ingredient-description p{margin:0 0 7px!important;}
.jaa-home-v9 .jaa-v7-ingredients-closing{margin-top:8px!important;}

/* Tablet and mobile: no one-line script overflow, natural stack order. */
@media(max-width:1024px){
 .jaa-home-v9 .jaa-v4-brand-copy .jaa-v8-intro-script{margin:0 0 12px 15px!important;width:100%!important;}
 .jaa-home-v9 .jaa-v4-brand-copy .jaa-v8-intro-script:not(.jaa-editor-unlocked) .elementor-heading-title{
   font-size:clamp(31px,4.6vw,44px)!important;white-space:normal!important;
 }
 .jaa-home-v9 .jaa-v8-formula-script .elementor-heading-title{white-space:normal!important;}
 .jaa-home-v9 .jaa-v4-jordan-picture img{height:auto!important;max-height:640px!important;}
}
@media(max-width:767px){
 .jaa-home-v9 .jaa-v4-ingredient-card {width:100%!important;--width:100%!important;flex-basis:100%!important;}
 .jaa-home-v9 .jaa-v4-ingredient-grid::after{top:50%!important;}
 .jaa-home-v9 .jaa-v9-ingredient-copy{min-height:0!important;padding:18px 20px 24px!important;}
 .jaa-home-v9 .jaa-v4-ingredient-header>.elementor-widget-heading:nth-child(2) .elementor-heading-title{
   font-size:36px!important;
 }
 .jaa-home-v9 .jaa-v9-jordan-heading .elementor-heading-title{font-size:42px!important;}
 .jaa-home-v9 .jaa-v9-jordan-description p{font-size:15px!important;}
}
/* RTL safety: respect Arabic type and right-hand reading order. */
html[dir=rtl] .jaa-home-v9 :is(.jaa-v8-intro-script,.jaa-v9-jordan-heading,
 .jaa-v9-jordan-description,.jaa-v9-ingredient-name,.jaa-v9-ingredient-description) .elementor-heading-title,
html[dir=rtl] .jaa-home-v9 :is(.jaa-v8-intro-script,.jaa-v9-jordan-heading,
 .jaa-v9-jordan-description,.jaa-v9-ingredient-name,.jaa-v9-ingredient-description) p{
  text-align:right!important;direction:rtl!important;
}
html[dir=rtl] .jaa-home-v9 .jaa-v4-brand-copy .jaa-v8-intro-script{
  align-self:flex-start!important;margin:0 clamp(25px,5vw,78px) 14px 0!important;
}
html[lang^=ar] .jaa-home-v9 :is(.jaa-v8-intro-script,.jaa-v8-formula-script,
 .jaa-v9-jordan-heading,.jaa-v9-jordan-description,.jaa-v9-ingredient-copy) :is(.elementor-heading-title,p){
  font-family:Alexandria,sans-serif!important;
}

/* v0.9.2 — remove Suxnix padding below staging homepage only.
   Leave the top spacing and all other pages / WooCommerce untouched. */
body:has(.jaa-home-v9) .tg-page-area {
  padding-bottom:0!important;
}

/* Note: the v4 badge/root position defaults are now conditional on NOT
   having .jaa-editor-unlocked. This allows Elementor Advanced > Position
   and offsets to control these image widgets after deliberate opt-in. */


/* ================================================================
   JAA v0.9.3 — EDITOR-FRIENDLY FINAL LABELS + SECTION JOIN
   Requires the staging v9 root marker. Does not add/alter user text,
   navigation, translation records, products, or WooCommerce settings.
   ================================================================ */

/* Existing native Elementor label was present, but rendered dark on plum.
   Preserve its real HTML and translation; change its initial presentation only.
   Opt out for Elementor Style control with jaa-editor-unlocked on the widget. */
.jaa-home-v9 .jaa-v4-meet-label:not(.jaa-editor-unlocked) .elementor-heading-title {
    color:#BFA66A!important;
    font-family: Gilroy, Arial, sans-serif!important;
    font-size:13px!important;
    font-weight:600!important;
    line-height:1.5!important;
    letter-spacing:.20em!important;
    text-transform:uppercase!important;
    text-align:start!important;
}
.jaa-home-v9 .jaa-v4-meet-copy > .jaa-v4-meet-label:not(.jaa-editor-unlocked) {
    width:100%!important;
    opacity:1!important;
    visibility:visible!important;
}

/* A new 'WHO WE ARE' heading must be inserted as a real Elementor widget;
   the old blanket heading rule in v4 was narrowed to the ORIGINAL intro.
   No ::before text: it must remain editable & translatable. */

/* The final lilac block should join the existing dark-purple footer with
   a plum torn edge, rather than the old WHITE edge on the staging page. */
.jaa-home-v9 .jaa-v4-why::after {
    background-image:url('../assets/edge-plum.png')!important;
}
/* This is the Suxnix page wrapper, already changed in 0.9.2. Ensure it
   doesn't reserve vertical whitespace after the end of the staging content. */
body:has(.jaa-home-v9) .tg-page-area {
    padding-bottom:0!important;
    margin-bottom:0!important;
}
/* Keep the final dark transition color behind any fractional gap at the
   bottom, without changing the site's shared footer. */
body:has(.jaa-home-v9) .tg-page-area > .container:last-child {
    margin-bottom:0!important;
    padding-bottom:0!important;
}
/* Arabic text remains managed by TranslatePress and Alexandria. */
html[dir='rtl'] .jaa-home-v9 .jaa-v4-meet-label .elementor-heading-title {
    text-align:right!important;
}

html[lang^='ar'] .jaa-home-v9 .jaa-v4-meet-label:not(.jaa-editor-unlocked) .elementor-heading-title {
    font-family:Alexandria,sans-serif!important;
    letter-spacing:normal!important;
}


/* ================================================================
   v0.9.4 — HOMEPAGE / SHARED FOOTER EDGE JOIN (STAGING ONLY)

   The homepage's last lilac section contains a plum torn divider,
   while the shared Suxnix footer paints a second torn divider.
   The two create a narrow white band at their boundary.

   Extend the HOMEPAGE's own existing divider downward as solid plum.
   It covers the white band without editing the footer template,
   page content, translation, navigation, or WooCommerce.

   Keep original top-edge position: H = edgeH + overlapH, with
   bottom = -overlapH.  The brush image stays edgeH tall; the
   extra part is solid plum.  Both are pointer-events:none.
   ================================================================ */
.jaa-home-v9 .jaa-v4-why {
  position:relative!important;
  z-index:2!important;
}
.jaa-home-v9 .jaa-v4-why::after {
  height:80px!important;
  bottom:-42px!important;
  background-image:
    url('../assets/edge-plum.png'),
    linear-gradient(#2B0043,#2B0043)!important;
  background-size:100% 38px,100% 42px!important;
  background-position:center top,center bottom!important;
  background-repeat:no-repeat,no-repeat!important;
  pointer-events:none!important;
  z-index:10!important;
}
@media(max-width:767px) {
  .jaa-home-v9 .jaa-v4-why::after {
    height:50px!important;
    bottom:-28px!important;
    background-size:100% 22px,100% 28px!important;
  }
}
