/* ===== vSeeBox Custom Header ===== */

.sb-nav {
  position: relative;
  z-index: 999;
  padding: 10px 24px;
}

.sb-nav__pill {
  background: rgba(26, 21, 39, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 40px rgba(26, 21, 39, 0.30);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 16px 0 20px;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Sticky pill — JS adds .is-sticky when nav scrolls out of view */
.sb-nav.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 10px 24px;
}
.sb-nav.is-sticky .sb-nav__pill {
  box-shadow: 0 4px 24px rgba(26, 21, 39, 0.50);
}

/* ---- Logo ---- */
.sb-nav__logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.sb-nav__logo-link:hover { text-decoration: none; }
.sb-nav__logo-img {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
.sb-nav__logo-text {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff !important;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

/* ---- Desktop nav links ---- */
.sb-nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.sb-nav__link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  padding: 8px 14px;
  border-radius: 100px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.sb-nav__link:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff !important;
  text-decoration: none !important;
}

/* ---- Right icons ---- */
.sb-nav__actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.sb-nav__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.sb-nav__icon-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff !important;
  text-decoration: none !important;
}
.sb-nav__icon-btn svg {
  stroke: currentColor;
}
.sb-nav__cart-count {
  position: absolute;
  top: 3px;
  right: 3px;
  background: linear-gradient(135deg, #8B5CF6, #3B82F6);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* ---- Hamburger (hidden on desktop) ---- */
.sb-nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.15s;
  margin-left: 4px;
}
.sb-nav__burger:hover { background: rgba(255, 255, 255, 0.08); }
.sb-nav__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

/* ---- Mobile overlay ---- */
.sb-nav__mobile {
  position: fixed;
  inset: 0;
  background: rgba(26, 21, 39, 0.98);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.sb-nav__mobile.is-open {
  transform: translateX(0);
}
.sb-nav__mobile-inner {
  padding: 20px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 100%;
}
.sb-nav__mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sb-nav__mobile-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: rgba(255, 255, 255, 0.88);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}
.sb-nav__mobile-close:hover { background: rgba(255, 255, 255, 0.15); }
.sb-nav__mobile-links {
  display: flex;
  flex-direction: column;
}
.sb-nav__mobile-links a {
  color: rgba(255, 255, 255, 0.90) !important;
  font-size: 28px;
  font-weight: 700;
  text-decoration: none !important;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  letter-spacing: -0.02em;
  transition: color 0.15s;
}
.sb-nav__mobile-links a:hover { color: #ffffff !important; text-decoration: none !important; }
.sb-nav__mobile-footer {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: auto;
}
.sb-nav__mobile-util {
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: color 0.15s;
}
.sb-nav__mobile-util:hover { color: rgba(255, 255, 255, 0.80) !important; text-decoration: none !important; }

/* ---- Responsive ---- */
@media (max-width: 1023px) {
  .sb-nav__links { gap: 0; }
  .sb-nav__link { padding: 7px 10px; font-size: 13px; }
}
@media (max-width: 767px) {
  .sb-nav { padding: 8px 12px; }
  .sb-nav__pill { height: 56px; padding: 0 12px 0 16px; }
  .sb-nav__links { display: none; }
  .sb-nav__burger { display: flex; }
  .sb-nav__icon-btn:not(.sb-nav__cart-btn) { display: none; }
}
@media (max-width: 479px) {
  .sb-nav { padding: 8px 8px; }
  .sb-nav__logo-text { font-size: 13px; }
  .sb-nav__mobile-links a { font-size: 22px; }
}
