/* === STIKLIUS.LT HEADER FIXED MOBILE PRO === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #f4f8fb 0%, #ffffff 60%);
  color: #172033;
  font-family: Arial, sans-serif;
}

.top-header {
  border-bottom: 0 !important;
  background: rgba(244,248,251,.72) !important;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-header-inner {
  max-width: 1280px !important;
  min-height: 70px !important;
  margin: 0 auto;
  padding: 0 30px;
  border-radius: 26px !important;
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(218,231,242,.95) !important;
  box-shadow: 0 18px 55px rgba(15,33,70,.10) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.site-logo img {
  height: 52px;
  width: auto;
  display: block;
}

.top-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.top-nav a {
  font-size: 13px;
  padding: 9px 10px;
  letter-spacing: -.1px;
  white-space: nowrap;
  text-decoration: none;
  color: #24354a;
  font-weight: 800;
  border-radius: 999px;
  transition: .18s ease;
}

.top-nav a:hover,
.top-nav a.active {
  color: #0876d8;
  background: #eaf4ff;
}

.top-nav a.nav-cta {
  padding: 11px 18px;
  background: linear-gradient(135deg, #07162d, #101827);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(7,22,45,.12);
}

.top-nav a.nav-cta:hover,
.top-nav a.nav-cta.active {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #000, #222);
}

.menu-toggle {
  display: none;
  border: 0;
  background: linear-gradient(135deg, #0d77d8, #0aa5ff);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 12px 25px rgba(13,119,216,.25);
}
.menu-toggle span {
  width: 24px;
  height: 3px;
  border-radius: 99px;
  background: #fff;
  display: block;
  transition: .2s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Account dropdown */
.account-menu { position: relative; }
.account-btn,
.user-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px !important;
  border: 1px solid #e0ebf4 !important;
  background: #f5f8fc !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d77d8, #061b3d);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
}
.avatar.big { width: 44px; height: 44px; font-size: 16px; }
.account-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 58px;
  width: 270px;
  background: rgba(255,255,255,.98);
  border: 1px solid #e6edf5;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0,0,0,.16);
  padding: 12px;
  z-index: 9999;
}
.account-dropdown.show { display: block; }
.account-dropdown::before {
  content: "";
  position: absolute;
  right: 22px;
  top: -9px;
  width: 18px;
  height: 18px;
  background: #fff;
  transform: rotate(45deg);
  border-left: 1px solid #e6edf5;
  border-top: 1px solid #e6edf5;
}
.account-head {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #edf2f7;
  margin-bottom: 8px;
}
.account-head small {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}
.account-dropdown a {
  display: block;
  padding: 12px 13px;
  border-radius: 12px;
  color: #071833;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}
.account-dropdown a:hover { background: #f3f7fb; }
.account-dropdown .logout { color: #d93025; }

.cart-btn { display: none !important; }
.mobile-menu-backdrop { display:none; }

@media (max-width: 980px) {
  body.menu-open { overflow: hidden; }
  .top-header { padding: 8px 10px; }
  .top-header-inner {
    border-radius: 20px !important;
    min-height: 68px !important;
    padding: 0 14px 0 18px;
  }
  .site-logo img { height: 42px !important; max-width: 230px; }
  .menu-toggle { display: flex; }

  .mobile-menu-backdrop.show {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(7,22,45,.28);
    z-index: 998;
  }

  .top-nav {
    display: none;
    position: fixed;
    top: 88px;
    left: 18px;
    right: 18px;
    max-height: calc(100vh - 115px);
    overflow-y: auto;
    background: rgba(255,255,255,.98);
    border: 1px solid #e3e8ef;
    box-shadow: 0 24px 70px rgba(15,33,70,.18);
    border-radius: 26px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    z-index: 1001;
  }

  .top-nav.open { display: flex; }

  .top-nav a {
    width: 100%;
    padding: 15px 18px;
    border-radius: 18px;
    border: 1px solid #edf2f7;
    background: #fff;
    text-align: center;
    font-size: 15px !important;
    color: #263548;
  }

  .top-nav a:hover,
  .top-nav a.active {
    background: #eaf4ff;
    border-color: #cfe5ff;
    color: #0876d8;
  }

  .top-nav a.nav-cta {
    background: #07162d;
    color: #fff !important;
    border-color: #07162d;
  }

  .account-menu {
    width: 100%;
    order: 20;
  }
  .account-btn {
    width: 100%;
    height: auto;
    padding: 12px;
    border-radius: 18px !important;
    justify-content: center;
    background: #f8fbff !important;
  }
  .account-dropdown {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
    border-radius: 18px;
  }
  .account-dropdown::before { display:none; }
}

@media (max-width: 420px) {
  .site-logo img { height: 36px !important; max-width: 205px; }
  .menu-toggle { width: 48px; height: 48px; }
  .top-nav { left: 12px; right: 12px; top: 82px; }
}
