/* KAZIO HEADER PRO V2B - file based, no DOM manipulation */
:root {
  --kz-hp-green: #009b5a;
  --kz-hp-green-dark: #007a45;
  --kz-hp-ink: #122033;
  --kz-hp-muted: #6b7280;
  --kz-hp-border: #e5eef1;
  --kz-hp-soft: #f7fbfa;
  --kz-hp-shadow: 0 18px 48px rgba(15, 46, 34, .08);
  --kz-hp-container: min(1320px, calc(100vw - 120px));
}

body.kz-v4-theme {
  background: #fff;
}

.kz-header-pro-v2b-container {
  width: var(--kz-hp-container);
  max-width: var(--kz-hp-container);
  margin-inline: auto;
}

.kz-pro2-topbar {
  border-bottom: 1px solid var(--kz-hp-border);
  background: rgba(255,255,255,.96);
}

.kz-pro2-topbar-inner {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.kz-pro2-top-actions,
.kz-pro2-top-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kz-pro2-toplink,
.kz-pro2-credit {
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--kz-hp-ink) !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}

.kz-pro2-toplink:hover,
.kz-pro2-credit {
  background: var(--kz-hp-soft);
  border-color: var(--kz-hp-border);
}

.kz-pro2-account {
  background: #ecfff5;
  border-color: rgba(0,155,90,.18);
  color: var(--kz-hp-green-dark) !important;
}

.kz-pro2-credit {
  color: var(--kz-hp-green-dark) !important;
}

.kz-pro2-toplink i,
.kz-pro2-credit i {
  color: var(--kz-hp-green);
  font-size: 15px;
}

.kz-pro2-header {
  background:
    radial-gradient(circle at 80% 0%, rgba(0,155,90,.06), transparent 34%),
    linear-gradient(180deg, #fff, #fbfdfc);
  padding: 34px 0 28px;
}

.kz-pro2-header-grid {
  display: grid;
  grid-template-columns: 280px minmax(360px, 1fr) 280px;
  align-items: center;
  gap: 34px;
  direction: rtl;
}

.kz-pro2-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-width: 0;
}

.kz-pro2-brand a {
  display: flex;
  align-items: center;
  text-decoration: none !important;
}

.kz-pro2-brand img {
  max-height: 74px;
  max-width: 245px;
  object-fit: contain;
}

.kz-pro2-brand-text {
  display: none;
}

.kz-pro2-search {
  min-width: 0;
}

.kz-pro-search-form {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  direction: ltr;
  border: 1px solid #dfe9ed;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15,46,34,.05);
  overflow: hidden;
  height: 56px;
  max-width: 620px;
  margin-inline: auto;
}

.kz-pro-search-form .form-control,
.kz-pro-search-form input[type="text"] {
  direction: rtl;
  text-align: right;
  border: 0 !important;
  box-shadow: none !important;
  height: 56px;
  min-height: 56px;
  padding: 0 18px;
  background: transparent;
  color: var(--kz-hp-ink);
  font-weight: 700;
  font-size: 14px;
}

.kz-pro-search-form .form-control::placeholder {
  color: #94a3b8;
}

.kz-pro-search-form .btn {
  order: -1;
  width: 54px;
  border: 0 !important;
  border-left: 1px solid var(--kz-hp-border) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--kz-hp-ink) !important;
  box-shadow: none !important;
}

.kz-pro2-cart {
  min-width: 0;
  justify-self: start;
  width: 280px;
}

.kz-pro-cart-dropdown {
  width: 100%;
}

.kz-pro-cart-button {
  width: 100%;
  min-height: 74px;
  border: 1px solid #e0ebef !important;
  border-radius: 22px !important;
  background: #fff !important;
  color: var(--kz-hp-ink) !important;
  box-shadow: var(--kz-hp-shadow);
  padding: 12px 14px !important;
  display: grid !important;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 12px;
  text-align: right;
  direction: rtl;
}

.kz-pro-cart-button:after {
  display: none !important;
}

.kz-pro-cart-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--kz-hp-green), var(--kz-hp-green-dark));
  color: #fff;
  position: relative;
  box-shadow: 0 12px 26px rgba(0,155,90,.25);
}

.kz-pro-cart-icon i {
  font-size: 22px;
}

.kz-pro-cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: #fff;
  color: var(--kz-hp-green-dark);
  border: 2px solid #e9fff4;
  font-size: 12px;
  font-weight: 950;
  display: grid;
  place-items: center;
}

.kz-pro-cart-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--kz-hp-ink);
  font-size: 15px;
  font-weight: 950;
}

.kz-pro-cart-copy span {
  color: var(--kz-hp-muted);
  font-size: 13px;
  font-weight: 800;
}

.kz-pro-cart-menu {
  min-width: 420px;
  border: 1px solid var(--kz-hp-border) !important;
  border-radius: 18px !important;
  box-shadow: 0 22px 60px rgba(15,46,34,.14);
  overflow: hidden;
}

.kz-pro-cart-empty {
  padding: 24px;
  text-align: center;
  color: var(--kz-hp-muted);
  font-weight: 800;
}

.kz-pro-cart-table {
  margin: 0 !important;
}

.kz-pro-cart-table td {
  vertical-align: middle;
  border-color: #eef4f6 !important;
}

.kz-pro-cart-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 10px 0 0;
}

.kz-pro-cart-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-radius: 12px;
  text-decoration: none !important;
  font-weight: 900;
}

.kz-pro-cart-actions a:first-child {
  background: #f3f8f6;
  color: var(--kz-hp-ink);
}

.kz-pro-cart-actions a:last-child {
  background: var(--kz-hp-green);
  color: #fff;
}

.kz-pro2-menu-band {
  background: linear-gradient(180deg, rgba(241,249,246,.9), rgba(255,255,255,0));
  padding: 0 0 24px;
}

.kz-pro-menu-wrap {
  width: var(--kz-hp-container) !important;
  max-width: var(--kz-hp-container) !important;
  margin: 0 auto !important;
}

.kz-pro-mega-menu {
  min-height: 68px;
  border: 1px solid rgba(0,155,90,.16);
  border-radius: 18px;
  background: linear-gradient(135deg, #00a966, #00874f);
  box-shadow: 0 20px 48px rgba(0,135,79,.18);
  padding: 0 18px;
}

.kz-pro-mega-menu .navbar-collapse {
  justify-content: center;
}

.kz-pro-menu-list {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.kz-pro-mega-menu .nav-link {
  min-height: 66px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px !important;
  color: #fff !important;
  font-weight: 950;
  font-size: 14px;
  border-radius: 14px;
  opacity: .98;
}

.kz-pro-mega-menu .nav-link:hover,
.kz-pro-mega-menu .nav-item:hover > .nav-link {
  background: rgba(255,255,255,.12);
}

.kz-pro-mega-menu .dropdown-menu {
  right: 0;
  left: auto;
  margin-top: 12px !important;
  border: 1px solid var(--kz-hp-border);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(15,46,34,.16);
  padding: 18px;
  min-width: min(760px, calc(100vw - 80px));
  background:
    radial-gradient(circle at 0% 0%, rgba(0,155,90,.08), transparent 36%),
    #fff;
  direction: rtl;
}

.kz-pro-menu-mega-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 0 12px;
  margin: 0 0 12px;
  border-bottom: 1px solid #edf3f5;
}

.kz-pro-menu-mega-head strong {
  font-size: 16px;
  font-weight: 950;
  color: var(--kz-hp-ink);
}

.kz-pro-menu-mega-head a {
  color: var(--kz-hp-green-dark) !important;
  font-weight: 900;
  text-decoration: none !important;
}

.kz-pro-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.kz-pro-menu-grid a,
.kz-pro-mega-menu .dropdown-item {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  color: var(--kz-hp-ink) !important;
  font-weight: 800;
  text-decoration: none !important;
  padding: 0 12px !important;
}

.kz-pro-menu-grid a:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--kz-hp-green);
  opacity: .75;
}

.kz-pro-menu-grid a:hover,
.kz-pro-mega-menu .dropdown-item:hover {
  background: #f1fbf6;
  color: var(--kz-hp-green-dark) !important;
}

.kz-pro-mega-menu .dropdown:hover > .dropdown-menu {
  display: block;
}

@media (max-width: 1200px) {
  :root { --kz-hp-container: min(1120px, calc(100vw - 48px)); }
  .kz-pro2-header-grid {
    grid-template-columns: 230px minmax(320px, 1fr) 240px;
    gap: 22px;
  }
  .kz-pro2-cart { width: 240px; }
  .kz-pro-mega-menu .nav-link { padding: 0 12px !important; font-size: 13px; }
}

@media (max-width: 992px) {
  :root { --kz-hp-container: calc(100vw - 32px); }
  .kz-pro2-topbar-inner,
  .kz-pro2-top-actions,
  .kz-pro2-top-meta {
    flex-wrap: wrap;
    justify-content: center;
  }
  .kz-pro2-header-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .kz-pro2-brand,
  .kz-pro2-cart {
    justify-self: center;
    width: min(360px, 100%);
  }
  .kz-pro-search-form {
    max-width: 100%;
  }
  .kz-pro-mega-menu {
    padding: 10px;
  }
  .kz-pro-mega-menu .navbar-toggler {
    color: #fff;
    border-color: rgba(255,255,255,.35);
  }
  .kz-pro-menu-list {
    display: block;
  }
  .kz-pro-mega-menu .nav-link {
    min-height: 48px;
  }
  .kz-pro-mega-menu .dropdown-menu {
    position: static !important;
    min-width: 100%;
    box-shadow: none;
    margin: 0 0 10px !important;
  }
  .kz-pro-menu-grid {
    grid-template-columns: 1fr;
  }
}