/* ===== Mini header (row + columns) ===== */
.kb-row-layout-wrap.lp-mini-header{
  margin:0 !important;
  padding-block:4px;
  border-bottom:1px solid rgba(0,0,0,.06);
  overflow:visible;
}
.kb-row-layout-wrap.lp-mini-header+*,
*+.kb-row-layout-wrap.lp-mini-header{ margin-top:0 !important; }

.kb-row-layout-wrap.lp-mini-header .kt-row-column-wrap{ align-items:center; }
.kb-row-layout-wrap.lp-mini-header .kadence-column:nth-child(1) .kt-inside-inner-col{ justify-content:flex-start; }
.kb-row-layout-wrap.lp-mini-header .kadence-column:nth-child(2) .kt-inside-inner-col{ justify-content:center; }
.kb-row-layout-wrap.lp-mini-header .kadence-column:nth-child(3) .kt-inside-inner-col{
  justify-content:flex-end;
  gap:12px;
  padding-right:clamp(8px,1.8vw,18px);
}
/* Ensure flex alignment works */
.kb-row-layout-wrap.lp-mini-header .kt-inside-inner-col{ display:flex; }

/* logo size */
.kb-row-layout-wrap.lp-mini-header .wp-block-site-logo img{ max-height:36px; height:auto; width:auto; }

/* WhatsApp btn + socials */
.kb-row-layout-wrap.lp-mini-header .kb-buttons-wrap,
.kb-row-layout-wrap.lp-mini-header .kb-btn-wrap{ margin:0 !important; }
.kb-row-layout-wrap.lp-mini-header .kb-button[href*="wa.me"]{
  background:#0e7a60 !important; color:#fff !important;
  border-radius:10px !important; padding:.55rem 1rem !important; font-weight:700;
  box-shadow:0 2px 10px rgba(0,0,0,.08);
}
.kb-row-layout-wrap.lp-mini-header .wp-block-social-links{ margin:0 !important; gap:10px; }
.kb-row-layout-wrap.lp-mini-header .wp-block-social-links svg{ width:18px; height:18px; }
.kb-row-layout-wrap.lp-mini-header .wp-block-social-links.is-style-logos-only .wp-social-link a,
.kb-row-layout-wrap.lp-mini-header .wp-block-social-links.is-style-logos-only .wp-social-link svg{
  color:currentColor; fill:currentColor;
}
.kb-row-layout-wrap.lp-mini-header .wp-block-social-links.is-style-logos-only .wp-social-link{
  background:transparent !important; border-radius:0 !important; padding:0 !important;
}

/* brand colors */
.kb-row-layout-wrap.lp-mini-header .wp-social-link-youtube{ color:#ff0000; }
.kb-row-layout-wrap.lp-mini-header .wp-social-link-facebook{ color:#1877f2; }
.kb-row-layout-wrap.lp-mini-header .wp-social-link-twitter{ color:#1da1f2; }
.kb-row-layout-wrap.lp-mini-header .wp-social-link-linkedin{ color:#0a66c2; }
.kb-row-layout-wrap.lp-mini-header .wp-social-link-instagram{ color:#e1306c; }
.kb-row-layout-wrap.lp-mini-header .wp-social-link-youtube,
.kb-row-layout-wrap.lp-mini-header .wp-social-link-youtube a,
.kb-row-layout-wrap.lp-mini-header .wp-social-link-youtube svg{
  color:#ff0000 !important; fill:#ff0000 !important;
}

/* ===== Language pill ===== */
.kb-row-layout-wrap.lp-mini-header .lp-lang{ position:relative; display:inline-block; margin-right:6px; }
.kb-row-layout-wrap.lp-mini-header .lp-lang__btn{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 10px; border-radius:10px;
  border:1px solid rgba(0,0,0,.18);
  background:#fff; color:#0f172a;
  font-weight:600; line-height:1; cursor:pointer;
  white-space:nowrap;
}
.kb-row-layout-wrap.lp-mini-header .lp-lang__btn:focus-visible{
  outline:3px solid rgba(33,83,135,.35); outline-offset:2px;
}
.kb-row-layout-wrap.lp-mini-header .lp-lang__icon,
.kb-row-layout-wrap.lp-mini-header .lp-lang__caret{ font-size:.9em; opacity:.85; line-height:1; }
.kb-row-layout-wrap.lp-mini-header .lp-lang__caret{ opacity:.7; }

/* dropdown */
.kb-row-layout-wrap.lp-mini-header .lp-lang__menu{
  position:absolute;
  top:calc(100% + 6px);
  right:0;
  min-width:140px; padding:6px; margin:0; list-style:none;
  border:1px solid rgba(0,0,0,.12); border-radius:8px;
  background:#fff; box-shadow:0 8px 22px rgba(0,0,0,.12);
  z-index:9999;
}
.kb-row-layout-wrap.lp-mini-header .lp-lang__menu li{ margin:0; }
.kb-row-layout-wrap.lp-mini-header .lp-lang__link{
  display:block; padding:8px 10px; border-radius:6px;
  color:#0f172a; text-decoration:none; white-space:nowrap;
}
.kb-row-layout-wrap.lp-mini-header .lp-lang__link:hover,
.kb-row-layout-wrap.lp-mini-header .lp-lang__link:focus{ background:#f1f5f9; }

/* mobile centering for the right cluster */
@media (max-width:640px){
  .kb-row-layout-wrap.lp-mini-header .kt-row-column-wrap{ row-gap:8px; }
  .kb-row-layout-wrap.lp-mini-header .kadence-column:nth-child(3) .kt-inside-inner-col{
    justify-content:center; flex-wrap:wrap; gap:8px; padding-right:clamp(10px,4vw,24px);
  }
}

/* Inset the last column in ANY row inside the mini header */
.kb-row-layout-wrap.lp-mini-header .kt-row-column-wrap > [class*="kadence-column"]:last-child > .kt-inside-inner-col{
  padding-right:clamp(12px,2vw,28px) !important;
}

/* Inset the nested 2-col row inside the right cluster */
.kb-row-layout-wrap.lp-mini-header .kb-row-layout-wrap .kt-row-column-wrap{
  padding-right:clamp(14px,2.2vw,32px) !important;
}

/* Also pad the outer full-width row */
.kb-row-layout-wrap.lp-mini-header.alignfull{
  padding-right:clamp(10px,2vw,24px) !important;
}
