/* v1.3.40 – strictly aligned to Figma frames 11437:23849, 11423:11053,
   11431:11900 and 11075:42511. Loaded after legacy v139 logo rules. */

/* Figma 11437:23849, 1440×469 app panel; full-bleed pale-blue background. */
@media (min-width:900px) {
 .kl-elementor-widget--app .design-desktop .section-app {
   background:#e6eefa !important; margin-top:49px; height:469px !important;
   min-height:469px !important; overflow:hidden !important;
 }
 .kl-elementor-widget--app .design-desktop .section-app > .content-stretch[data-content-stretch="true"] {
   width:min(1280px,calc(100% - 160px)); max-width:1280px; overflow:visible;
 }
 .kl-elementor-widget--app .design-desktop .section-app .section-inner {
   position:relative; overflow:hidden; width:100%; max-width:none; left:0;
   height:469px !important; margin:0 auto;
 }
 .kl-elementor-widget--app .design-desktop .section-app .section-inner > [data-name="Header"] {
   position:absolute; top:64px !important; left:50% !important;
   transform:translateX(-50%); width:100%; max-width:100%;
   gap:8px; overflow:visible; text-align:center;
 }
 .kl-elementor-widget--app .design-desktop .section-app .section-inner > [data-name="Header"] > :first-child {
   white-space:normal; line-height:1.65; text-align:center; font-size:32px; font-weight:700;
 }
 .kl-elementor-widget--app .design-desktop .section-app .section-inner > [data-name="Header"] > :nth-child(2) {
   white-space:normal; line-height:26px; text-align:center;
 }
 .kl-elementor-widget--app .design-desktop .section-app [data-name="Store Buttons"] {
   margin:0 auto; justify-content:center; align-items:center; flex-direction:row;
 }
 /* The updated desktop Figma frame has one web-app CTA only. Do not delete
    old Elementor controls, hide their old buttons on desktop only. */
 .kl-elementor-widget--app .design-desktop .section-app [data-kl-link-key="app_myket"],
 .kl-elementor-widget--app .design-desktop .section-app [data-kl-link-key="app_bazaar"] { display:none !important; }
 .kl-elementor-widget--app .design-desktop .section-app [data-kl-link-key="app_web"] {
   width:170px; height:54px; flex:0 0 170px; border-radius:12px;
 }
 /* Original five phone assets are retained as editable Elementor images. */
 .kl-elementor-widget--app .design-desktop .section-app [data-node-id="10220:10552"],
 .kl-elementor-widget--app .design-desktop .section-app [data-node-id="10220:10554"],
 .kl-elementor-widget--app .design-desktop .section-app [data-node-id="10220:10556"],
 .kl-elementor-widget--app .design-desktop .section-app [data-node-id="10220:10558"],
 .kl-elementor-widget--app .design-desktop .section-app [data-node-id="10220:10560"] {
   translate:0 -70px;
 }
}

/* Header: Figma 11075:42511 closed state. One CTA on the far left. */
@media (max-width:899px) {
 #mobile-header .kl-mobile-topbar {justify-content:space-between; flex-wrap:nowrap;
   background:#fff; height:60px; padding:0 16px;}
 #mobile-header .kl-mobile-identity {flex:0 0 158px; gap:12px;}
 #mobile-header .kl-header-mobile-actions {flex:0 0 auto;justify-content:flex-start;margin-inline-start:auto;}
 #mobile-header .kl-header-mobile-actions .kl-mobile-header-button--app {
   display:inline-flex; width:auto;min-width:108px;max-width:130px;
   height:32px;min-height:32px;padding:0 10px;
   border-radius:4px;white-space:nowrap;font-size:13px;line-height:24px;
 }
 #mobile-header .kl-header-mobile-actions .kl-mobile-header-button--join {display:none !important;}
 #kl-mobile-menu-panel .kl-drawer-nav-list {gap:4px;}
 #kl-mobile-menu-panel .kl-drawer-nav-item {margin:0;}
 #kl-mobile-menu-panel .kl-drawer-nav-row {height:48px;display:flex;align-items:center;
   border-radius:12px;position:relative;color:#303030;}
 #kl-mobile-menu-panel .kl-drawer-nav-row.is-current,
 #kl-mobile-menu-panel .kl-drawer-nav-row:focus-within,
 #kl-mobile-menu-panel .kl-drawer-nav-row:hover {background:#e9f1fd;color:#0158cc;}
 #kl-mobile-menu-panel .kl-drawer-nav-link {display:flex;flex:1 1 auto;
   justify-content:flex-start;align-items:center;padding:0 12px !important;height:48px;
   min-width:0;gap:10px;color:inherit !important;text-decoration:none;}
 #kl-mobile-menu-panel .kl-drawer-nav-link > .kl-drawer-item-icon {flex:0 0 22px;}
 #kl-mobile-menu-panel .kl-drawer-nav-link > span {min-width:0;flex:1;}
 #kl-mobile-menu-panel .kl-drawer-sub-toggle {width:38px;height:44px;flex:0 0 38px;
   border:0;display:flex;align-items:center;justify-content:center;
   color:#aab4c2;background:transparent;cursor:pointer;}
 #kl-mobile-menu-panel .kl-drawer-sub-toggle[aria-expanded="true"] svg {transform:rotate(-90deg);}
 #kl-mobile-menu-panel .kl-drawer-sub[hidden] {display:none !important;}
 #kl-mobile-menu-panel .kl-drawer-sub-list {padding:4px 10px 6px 0;margin:0;
   border-right:1px solid #e6eefa;}
 #kl-mobile-menu-panel .kl-drawer-sub-list .kl-drawer-nav-row {height:43px;}
 #kl-mobile-menu-panel .kl-drawer-sub-list .kl-drawer-nav-link {height:43px;font-size:13px;}
 #kl-mobile-menu-panel .kl-drawer-sub-list .kl-drawer-item-icon {width:18px;height:18px;flex-basis:18px;}
}

/* Footer: stop cropping the uploaded SVG at the top. Visual content must stay
   inside the exact Figma slot; cover/zoom are intentionally disabled here. */
.klf .klf-main-logo,.klf .kl-brand-logo-area,.klf .kl-brand-logo-widget {
  overflow:visible !important;
}
.klf .klf-main-logo {width:201.6px;height:32px;min-height:32px;
  display:flex;align-items:center;justify-content:flex-start;}
.klf .kl-brand-logo-area .kl-brand-logo-link {
  overflow:visible !important;justify-content:center;align-items:center;
}
.klf .kl-brand-logo-area .kl-brand-logo-link .kl-brand-logo-image,
.klf .kl-brand-logo-area .kl-brand-logo-link[data-kl-logo-fit="cover"] .kl-brand-logo-image,
.klf .kl-brand-logo-area .kl-brand-logo-link[data-kl-logo-fit="auto"][data-kl-logo-svg="1"] .kl-brand-logo-image {
  object-fit:contain !important;
  transform:none !important;
  max-height:32px !important;
  height:32px !important;
  object-position:center;
}
.klf .kl-brand-logo-area :is(.widget_media_image,.wp-block-image) img[src*=".svg"] {
  object-fit:contain !important;
  width:100% !important;height:32px !important;max-height:32px !important;
}
/* Desktop Figma footer visual rails: first band 90px, main row 186px,
   company family 98px, and centred copyright under it. */
@media (min-width:900px) {
 .kl-footer--desktop.klf {min-height:536px !important;background:#fff;}
 .klf .klf-top {height:90px;}
 .klf .klf-middle {height:186px;}
 .klf .klf-family {height:98px;min-height:98px;}
 .klf .klf-copyright {min-height:45px;}
}
/* Mobile Figma footer 390×1100: 20px side rails; use real content heights,
   keeping original 84/453/547/795px section start positions at width 390. */
@media (max-width:899px) {
 .kl-footer--mobile.klf {background:#fff; min-height:1100px;}
 .klf-mobile-inner {width:calc(100% - 40px);max-width:350px;padding-top:32px;}
 .klf-mobile-inner .klf-main-logo {margin-bottom:20px;min-height:32px;}
 .klf-mobile-contact {background:#f4f7fc;}
 .klf-mobile-navigation .klf-mobile-accordion > summary {height:57px;min-height:57px;}
 .klf-mobile-inner .klf-family {min-height:209px;}
 .klf-mobile-inner .klf-family-head {flex:0 0 53px;}
 .klf-mobile-inner .klf-family-logos {grid-template-columns:repeat(3,minmax(0,1fr));}
}
