/* ---------- Top contact / social strip ---------- */
.kspl-topbar{
  position: relative;
  background: var(--kspl-black);
  color: #d8d2c6;
  font-size: 13.5px;
  overflow: hidden;
}
.kspl-topbar__accent{
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 42%;
  background: linear-gradient(115deg, var(--kspl-flame-2), var(--kspl-gold));
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0% 100%);
  z-index: 0;
}
@media (max-width: 700px){
  .kspl-topbar__accent{ width: 78%; clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%); }
}
.kspl-topbar__inner{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 9px 0;
}
.kspl-topbar__contact{
  display: flex;
  align-items: center;
  gap: 24px;
}
.kspl-topbar__contact a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--kspl-black);
  font-weight: 600;
}
.kspl-topbar__contact a:hover{ color: #241a0f; }
.kspl-icon{
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.kspl-icon--phone{
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.8 21 3 13.2 3 3.9c0-.6.4-1 1-1h3.4c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1L6.6 10.8Z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.8 21 3 13.2 3 3.9c0-.6.4-1 1-1h3.4c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1L6.6 10.8Z'/%3E%3C/svg%3E") no-repeat center / contain;
  background-color: currentColor;
}
.kspl-icon--mail{
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Zm1.4 2 7.1 5.6a1 1 0 0 0 1 0L19.6 7H4.4Z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Zm1.4 2 7.1 5.6a1 1 0 0 0 1 0L19.6 7H4.4Z'/%3E%3C/svg%3E") no-repeat center / contain;
  background-color: currentColor;
}
.kspl-topbar__right{
  display: flex;
  align-items: center;
  gap: 16px;
}
.kspl-topbar__welcome{ color: #cfc7ba; }
.kspl-topbar__divider{
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.2);
}
.kspl-social{ display: flex; align-items: center; gap: 14px; }
.kspl-social a{
  color: #cfc7ba;
  display: inline-flex;
}
.kspl-social a:hover{ color: var(--kspl-gold); }

@media (max-width: 700px){
  .kspl-topbar__inner{ justify-content: center; text-align: center; }
  .kspl-topbar__welcome{ display: none; }
}

/* ---------- Main header bar ---------- */
.kspl-header{
  background: var(--kspl-white);
  border-bottom: 1px solid rgba(201,150,62,0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}
.kspl-header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
}
.kspl-header__logo img{
  height: 80px;
  width: auto;
}
.kspl-nav{ flex: 1; display: flex; justify-content: center; }
.kspl-nav ul{
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}
.kspl-nav a{
  color: var(--kspl-black);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 13.5px;
}
.kspl-nav a:hover{ color: var(--kspl-flame-2); }
.kspl-header__actions{
  display: flex;
  align-items: center;
  gap: 10px;
}
.kspl-icon-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--kspl-black);
  background: none;
  color: var(--kspl-black);
  cursor: pointer;
}
.kspl-icon-btn:hover{
  background: var(--kspl-black);
  color: var(--kspl-white);
}
.kspl-menu-toggle{ display: none; }

@media (max-width: 860px){
  .kspl-nav{
    display: none;
    width: 100%;
    order: 3;
    justify-content: flex-start;
  }
  .kspl-nav.is-open{ display: flex; }
  .kspl-nav ul{ flex-direction: column; gap: 14px; padding: 16px 0; width: 100%; }
  .kspl-header__inner{ flex-wrap: wrap; }
  .kspl-menu-toggle{ display: inline-flex; }
}

/* ---------- Dropdown (Products) ---------- */
.kspl-nav li{ position: relative; }

.kspl-dropdown,
.kspl-nav .sub-menu{
  list-style: none;
  margin: 0;
  display: block;  
  padding: 10px 0;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 240px;
  background: var(--kspl-white);
  border: 1px solid rgba(201,150,62,0.25);
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(13,11,9,0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 50;
}
.kspl-has-dropdown:hover > .kspl-dropdown,
.menu-item-has-children:hover > .sub-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.kspl-dropdown li,
.kspl-nav .sub-menu li{
  display: block;
}
.kspl-dropdown a,
.kspl-nav .sub-menu a{
  display: block;
  padding: 10px 20px;
  font-size: 13.5px;
  text-transform: none;
  font-weight: 500;
  color: var(--kspl-black);
  white-space: nowrap;
}
.kspl-dropdown a:hover,
.kspl-nav .sub-menu a:hover{
  background: rgba(201,150,62,0.1);
  color: var(--kspl-flame-2);
}

/* small caret on parent items with a dropdown */
.kspl-has-dropdown > a::after,
.menu-item-has-children > a::after{
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

/* ---------- Mobile: tap-to-expand instead of hover ---------- */
@media (max-width: 860px){
  .kspl-dropdown,
  .kspl-nav .sub-menu{
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(201,150,62,0.06);
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height .25s ease;
  }
  .kspl-has-dropdown.is-open > .kspl-dropdown,
  .menu-item-has-children.is-open > .sub-menu{
    max-height: 400px;
    padding: 8px 0;
  }
  .kspl-dropdown a,
  .kspl-nav .sub-menu a{
    padding-left: 34px;
  }
}