/* KISONIS shared language selector + landing compatibility – 4.1.23.299 */
body.kisonis-language-homepage .kisonis-language-holder{display:inline-flex!important;align-items:center!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
body.kisonis-language-homepage .kisonis-site-language-select{appearance:auto;min-height:38px;max-width:165px;padding:7px 28px 7px 11px;border:1px solid #dfddd7;border-radius:999px;background:#f4f2ec;color:#111;font:700 13px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;box-shadow:none}
body.kisonis-language-homepage .kisonis-site-language-select:focus{outline:2px solid #111;outline-offset:2px}
body.kisonis-language-homepage .kisonis-language-holder-floating{position:fixed;right:18px;top:18px;z-index:9999;background:#f4f2ec!important;border-radius:999px!important;box-shadow:0 8px 30px rgba(0,0,0,.08)}
@media(max-width:600px){body.kisonis-language-homepage .kisonis-site-language-select{max-width:128px;font-size:12px}}


/* 4.1.23.302 — public-site language bridge + TT25 header/footer compatibility. */
body.kisonis-language-site .kisonis-open-app-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  inline-size:auto!important;
  width:auto!important;
  min-inline-size:max-content!important;
  min-width:max-content!important;
  max-inline-size:calc(100vw - 32px)!important;
  max-width:calc(100vw - 32px)!important;
  block-size:auto!important;
  height:auto!important;
  min-height:44px!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  padding:11px 18px!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  writing-mode:horizontal-tb!important;
  text-orientation:mixed!important;
  line-height:1.2!important;
}
body.kisonis-language-site .kisonis-open-app-holder{min-width:0!important;max-width:100%!important}
@media(max-width:680px){
  body.kisonis-language-homepage .kisonis-open-app-holder{
    grid-column:1 / -1!important;
    flex:0 0 100%!important;
    width:100%!important;
    max-width:100%!important;
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
  }
  body.kisonis-language-homepage .kisonis-landing-control-row{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    grid-template-columns:minmax(0,1fr)!important;
    flex-wrap:wrap!important;
  }
  body.kisonis-language-homepage .kisonis-open-app-button{
    font-size:clamp(14px,4vw,17px)!important;
    letter-spacing:normal!important;
  }
}

/* 4.1.23.299 — Twenty Twenty-Five landing isolation.
 * Primary behavior removes the core/template-part server-side. These selectors
 * are a fallback for customized Site Editor templates that inline the header. */
body.kisonis-language-homepage.kisonis-theme-twentytwentyfive.kisonis-hide-theme-header > .wp-site-blocks > header:first-child{
  display:none!important;
  margin:0!important;
  padding:0!important;
  min-height:0!important;
}
body.kisonis-language-homepage.kisonis-theme-twentytwentyfive.kisonis-hide-theme-header > .wp-site-blocks > main:first-of-type{
  margin-block-start:0!important;
}

/* With the TT25 theme header removed, the KISONIS mark inside the app landing
 * surface becomes the primary brand and must remain visible. */
body.kisonis-language-homepage.kisonis-theme-twentytwentyfive .kisonis-duplicate-landing-brand,
body.kisonis-language-homepage.kisonis-theme-twentytwentyfive .kisonis-duplicate-landing-brand-wrap{
  display:revert!important;
}

/* Storefront already owns the primary KISONIS brand. Any duplicate KISONIS logo
 * inside the landing content/action row is suppressed; the theme header remains
 * untouched because it lives outside the entry-content/action row. */
body.kisonis-language-homepage:not(.kisonis-theme-twentytwentyfive) .kisonis-duplicate-landing-brand,
body.kisonis-language-homepage:not(.kisonis-theme-twentytwentyfive) .kisonis-duplicate-landing-brand-wrap{display:none!important}

body.kisonis-language-homepage .kisonis-landing-claim{
  font-size:clamp(44px,12vw,72px)!important;
  line-height:.98!important;
  letter-spacing:-.035em!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}

body.kisonis-language-homepage .kisonis-leading-spacer{
  min-height:0!important;
  height:clamp(14px,3.5vw,28px)!important;
}

body.kisonis-language-site .kisonis-open-app-button::before{
  content:"↗";
  display:inline-block;
  margin-inline-end:.5em;
  font-size:1em;
  line-height:1;
  font-weight:800;
}

@media(max-width:680px){
  body.kisonis-language-homepage .kisonis-landing-control-row{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:12px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.kisonis-language-homepage .kisonis-language-holder,
  body.kisonis-language-homepage .kisonis-open-app-holder{
    width:100%!important;
    max-width:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  body.kisonis-language-homepage .kisonis-site-language-select,
  body.kisonis-language-homepage .kisonis-open-app-button{
    box-sizing:border-box!important;
    width:min(260px,calc(100vw - 48px))!important;
    max-width:calc(100vw - 48px)!important;
  }
  body.kisonis-language-homepage .kisonis-open-app-button{
    min-width:min(220px,calc(100vw - 48px))!important;
  }
}

/* 4.1.23.302 — Twenty Twenty-Five footer isolation on KISONIS surfaces.
 * The PHP block filter is authoritative. This is only a fallback for customized
 * TT25 templates that render a footer wrapper directly under .wp-site-blocks.
 * It deliberately cannot match KISONIS navigation nested inside page content. */
body.kisonis-tt25-hide-theme-footer > .wp-site-blocks > footer.wp-block-template-part,
body.kisonis-tt25-hide-theme-footer > .wp-site-blocks > footer[class*="wp-block-"]{
  display:none!important;
}

