/* ================================================================
   JAA v0.7 — PDF POLISH — NEW STAGING DRAFT ONLY
   Requires both jaa-home-v4 and jaa-home-v7 on the root Elementor container.
   Does NOT change shared header, other pages, WooCommerce or translations.
   ================================================================ */

/* Transparent menu: make only the CURRENT TranslatePress control transparent.
   Dropdown list items are deliberately not recolored. */
@media(min-width:1200px){
 body:has(.jaa-home-v7) #sticky-header:not(.sticky-menu)
 :is(.trp-language-switcher,.trp-shortcode-switcher,.trp-ls-shortcode-current-language,
     .trp-language-item__current,.trp-language-switcher-container) {
   background:transparent!important;background-color:transparent!important;
   border-color:transparent!important;box-shadow:none!important;
 }
 body:has(.jaa-home-v7) #sticky-header:not(.sticky-menu)
 :is(.trp-shortcode-switcher,.trp-ls-shortcode-current-language,.trp-language-item__current) > a,
 body:has(.jaa-home-v7) #sticky-header:not(.sticky-menu)
 .trp-language-item__current :is(a,span) {color:#fff!important;}
 body:has(.jaa-home-v7) #sticky-header:not(.sticky-menu)
 .trp-language-switcher .trp-switcher-arrow,
 body:has(.jaa-home-v7) #sticky-header:not(.sticky-menu)
 .trp-shortcode-switcher .trp-switcher-arrow,
 body:has(.jaa-home-v7) #sticky-header:not(.sticky-menu)
 .trp-language-switcher .ls-arrow {color:#fff!important;stroke:#fff!important;}
 /* Increase breathing space between the overlay navigation and hero copy. */
 .jaa-home-v7 .jaa-v4-hero-copy{transform:translateY(38px)!important;}
}

/* 04 — PDF feature composition: one circular core and close side stories. */
@media (min-width:1025px){
 .jaa-home-v7 .jaa-v4-features-row{
   max-width:1120px!important;gap:6px!important;justify-content:center!important;
 }
 .jaa-home-v7 :is(.jaa-v4-features-left,.jaa-v4-features-right){
   width:29%!important;--width:29%!important;flex:0 1 29%!important;
   gap:26px!important;
 }
 .jaa-home-v7 .jaa-v4-features-center{
   width:40%!important;--width:40%!important;flex:0 1 40%!important;
   position:relative!important;padding:18px!important;
 }
 .jaa-home-v7 .jaa-v4-features-center::before,
 .jaa-home-v7 .jaa-v4-features-center::after{
   content:'';position:absolute;inset:0;border-radius:50%;
   pointer-events:none;border:1px solid rgba(191,166,106,.70);z-index:0;
 }
 .jaa-home-v7 .jaa-v4-features-center::after{inset:10px;border-color:rgba(255,255,255,.75);border-width:7px;}
 .jaa-home-v7 .jaa-v4-features-center .elementor-widget-image{position:relative;z-index:1;}
 .jaa-home-v7 .jaa-v4-feature-photo img{width:100%!important;max-width:410px!important;}
}

/* 05 — PDF-inspired rooted-in-Jordan landscape symbol (no demo icon). */
.jaa-home-v7 .jaa-v4-jordan-mark{width:54px!important;max-width:54px!important;align-self:flex-start!important;}
.jaa-home-v7 .jaa-v4-jordan-mark img{width:54px!important;height:54px!important;object-fit:contain!important;}
.jaa-home-v7 .jaa-v4-jordan-copy .elementor-widget-tg-iconbox :is(.tg-iconbox-icon,.icon-box-icon,.icon-wrap,.icon-box-number,.number,.count){display:none!important;}
.jaa-home-v7 .jaa-v4-jordan-copy .elementor-widget-tg-iconbox i.genix{display:none!important;}
.jaa-home-v7 .jaa-v4-jordan-root{margin-top:0!important;}

/* 06 — PDF product stage. Real JOD price and existing product link retained. */
.jaa-home-v7 .jaa-v4-product-visual{position:relative!important;}
.jaa-home-v7 .jaa-v4-product-visual > .elementor-widget-image:first-child{z-index:1;}
.jaa-home-v7 .jaa-v4-product-visual > .elementor-widget-image:first-child img{
   border-radius:22px!important;object-fit:cover!important;}
.jaa-home-v7 .jaa-v7-product-tag{
   position:absolute!important;top:15px!important;left:15px!important;
   z-index:4!important;width:112px!important;max-width:112px!important;
 }
.jaa-home-v7 .jaa-v7-product-tag img{width:100%!important;max-width:100%!important;height:auto!important;}
.jaa-home-v7 .jaa-v4-product-roots{
   left:auto!important;right:-44px!important;bottom:-34px!important;
   width:195px!important;max-width:195px!important;z-index:3!important;
 }
.jaa-home-v7 .jaa-v4-product-copy > .elementor-widget-heading:nth-child(2) .elementor-heading-title{
   color:#2B0043!important;font:600 19px/1.4 Gilroy,Arial,sans-serif!important;
 }
.jaa-home-v7 .jaa-v4-product-cta{gap:16px!important;}

/* 07 — Gold plus connects BOTH ingredient cards; closing text stays editable. */
.jaa-home-v7 .jaa-v4-ingredient-grid{position:relative!important;gap:26px!important;}
.jaa-home-v7 .jaa-v4-ingredient-card{width:calc(50% - 13px)!important;flex-basis:calc(50% - 13px)!important;--width:calc(50% - 13px);}
.jaa-home-v7 .jaa-v4-ingredient-grid::after{
   content:'+';position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);
   width:62px;height:62px;display:flex;align-items:center;justify-content:center;
   background:#BFA66A;color:white;font:bold 36px/1 Arial,sans-serif;
   border-radius:100%;z-index:6;box-shadow:0 5px 15px rgba(43,0,67,.14);
   pointer-events:none;
 }
.jaa-home-v7 .jaa-v7-ingredients-closing{
   width:min(880px,100%)!important;max-width:880px!important;
   text-align:center!important;align-self:center!important;color:#2B0043!important;
 }
.jaa-home-v7 .jaa-v7-ingredients-closing p{
   color:#2B0043!important;text-align:center!important;
   font:500 16px/1.55 Gilroy,Arial,sans-serif!important;margin:0!important;
 }

/* 08 — PDF round plum check with gold tick, not green demo arrows.
   Original eight Elementor icon-list entries remain fully editable. */
.jaa-home-v7 .jaa-v4-why-copy .elementor-icon-list-item{
   align-items:center!important;gap:12px!important;
 }
.jaa-home-v7 .jaa-v4-why-copy .elementor-icon-list-item .elementor-icon-list-icon{
   display:none!important;
 }
.jaa-home-v7 .jaa-v4-why-copy .elementor-icon-list-item::before{
   content:'✓';display:inline-flex;align-items:center;justify-content:center;
   flex:0 0 24px;width:24px;height:24px;border-radius:50%;
   background:#2B0043;color:#BFA66A;font:700 15px/1 Arial,sans-serif;
 }

/* Tablet and mobile: no desktop width lock, no overlapping card plus. */
@media(max-width:1024px){
 .jaa-home-v7 .jaa-v4-features-center::before,
 .jaa-home-v7 .jaa-v4-features-center::after{display:none!important;}
 .jaa-home-v7 .jaa-v4-product-roots{width:110px!important;right:-16px!important;bottom:-15px!important;}
 .jaa-home-v7 .jaa-v4-jordan-mark{width:45px!important;}
}
@media(max-width:767px){
 .jaa-home-v7 .jaa-v4-hero-copy{transform:none!important;}
 .jaa-home-v7 .jaa-v4-features-center{order:-1!important;}
 .jaa-home-v7 .jaa-v4-feature-photo img{width:min(310px,100%)!important;}
 .jaa-home-v7 .jaa-v4-product-roots{width:90px!important;right:0!important;bottom:-12px!important;}
 .jaa-home-v7 .jaa-v7-product-tag{top:8px!important;left:8px!important;width:83px!important;}
 .jaa-home-v7 .jaa-v4-ingredient-grid::after{top:50%;left:50%;width:48px;height:48px;font-size:29px;}
 .jaa-home-v7 .jaa-v4-ingredient-card{width:100%!important;--width:100%!important;flex-basis:100%!important;}
 .jaa-home-v7 .jaa-v7-ingredients-closing p{font-size:14px!important;}
 .jaa-home-v7 .jaa-v4-why-copy .elementor-icon-list-item::before{flex-basis:22px;width:22px;height:22px;}
}

/* Arabic: retain Elementor widgets and TranslatePress translations; correct
   alignment but never force an English font or hardcoded English copy. */
html[dir='rtl'] .jaa-home-v7 :is(.jaa-v4-brand-copy,.jaa-v4-meet-copy,.jaa-v4-jordan-copy,
  .jaa-v4-product-copy,.jaa-v4-why-copy){align-items:flex-start!important;}
html[dir='rtl'] .jaa-home-v7 :is(.jaa-v4-hero-copy,.jaa-v4-brand-copy,.jaa-v4-jordan-copy,
 .jaa-v4-meet-copy,.jaa-v4-product-copy,.jaa-v4-why-copy) .elementor-heading-title{
 text-align:right!important;}
html[dir='rtl'] .jaa-home-v7 .jaa-v4-product-roots{right:auto!important;left:-20px!important;}
html[dir='rtl'] .jaa-home-v7 .jaa-v7-product-tag{left:auto!important;right:15px!important;}
html[dir='rtl'] .jaa-home-v7 .jaa-v4-jordan-mark{align-self:flex-start!important;}
html[lang^='ar'] .jaa-home-v7 .jaa-v7-ingredients-closing p{font-family:'Alexandria',sans-serif!important;}
