/* ============================================
   VS Print Studio Header — Production Version
   Responsive + Wishlist Visible on Mobile
   ============================================ */

.vs21-header-app *,
.vs21-header-app *::before,
.vs21-header-app *::after {
  box-sizing: border-box;
}

/* HEADER BASE */

.vs21-header-app {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: rgba(6, 17, 31, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  overflow: visible;
}

/* CONTAINER */

.vs21-header-container {
  width: 100%;
  max-width: 1400px;
  min-height: 82px;
  margin: 0 auto;
  padding: 0 18px;

  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
}

/* LOGO */

.vs21-logo {
  display: flex;
  align-items: center;
}

.vs21-logo a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.vs21-logo img {
  display: block;
  width: auto;
  height: 44px;
  max-width: 150px;
  object-fit: contain;
}

/* SEARCH */

.vs21-search-form {
  position: relative;
  width: 100%;
  min-width: 0;
}

.vs21-search-input {
  width: 100%;
  height: 48px;
  padding: 0 52px 0 18px;

  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);

  background: rgba(255,255,255,0.05);
  color: #ffffff;
  font-size: 14px;

  outline: none;
  transition: all 0.25s ease;
}

.vs21-search-input::placeholder {
  color: rgba(255,255,255,0.50);
}

.vs21-search-input:focus {
  border-color: rgba(19,127,236,0.45);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 4px rgba(19,127,236,0.10);
}

.vs21-search-button {
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);

  width: 34px;
  height: 34px;

  border: none;
  border-radius: 50%;

  background: linear-gradient(135deg, #137fec 0%, #46c2ff 100%);
  color: #ffffff;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  box-shadow: 0 0 12px rgba(19,127,236,0.25);
}

/* DESKTOP NAV */

.vs21-desktop-nav {
  justify-self: end;
  min-width: 0;
}

.vs21-desktop-menu {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.vs21-desktop-menu li {
  list-style: none;
}

.vs21-desktop-menu li a {
  display: inline-flex;
  align-items: center;

  min-height: 42px;
  padding: 10px 14px;

  border-radius: 999px;
  text-decoration: none;

  color: #ffffff;
  font-size: 13px;
  font-weight: 600;

  white-space: nowrap;
  transition: all 0.25s ease;
}

.vs21-desktop-menu li a:hover,
.vs21-desktop-menu li.current-menu-item > a,
.vs21-desktop-menu li.current-menu-parent > a {
  background: rgba(255,255,255,0.06);
  color: #46c2ff;
}

/* HEADER ICONS */

.vs21-header-icons {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.vs21-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  color: #ffffff;

  transition: all 0.25s ease;
}

.vs21-icon-link:hover {
  transform: translateY(-1px);
}

/* HEART + CART BUTTON STYLE */

.vs21-icon-heart,
.vs21-icon-cart {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.vs21-icon-heart {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.vs21-icon-cart {
  background: linear-gradient(135deg, #2d9cff 0%, #6ccfff 100%);
  box-shadow: 0 0 16px rgba(45,156,255,0.28);
}

/* CART COUNTER */

.vs21-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;

  min-width: 18px;
  height: 18px;
  padding: 0 5px;

  border-radius: 999px;
  background: #ffffff;
  color: #137fec;

  font-size: 11px;
  font-weight: 800;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  line-height: 1;
}

/* REMOVE DROPDOWN VISIBILITY ISSUES */

.vs21-desktop-menu .sub-menu {
  display: none;
}

/* FIX CONTENT SPACING UNDER HEADER */

body .site-content,
body .ast-site-content,
body main {
  margin-top: 0 !important;
}

/* ============================================
   TABLET BREAKPOINT
   ============================================ */

@media (max-width: 1180px) {

  .vs21-header-container {
    grid-template-columns: auto minmax(220px, 1fr) auto auto;
    gap: 12px;
  }

  .vs21-desktop-menu li a {
    padding: 10px 10px;
    font-size: 12px;
  }

}

/* ============================================
   SMALL TABLET
   ============================================ */

@media (max-width: 980px) {

  .vs21-header-container {
    grid-template-columns: auto 1fr auto auto;
    min-height: 74px;
    gap: 10px;
    padding: 0 12px;
  }

  .vs21-logo img {
    height: 38px;
    max-width: 128px;
  }

  .vs21-search-input {
    height: 44px;
    font-size: 13px;
    padding: 0 46px 0 14px;
  }

  .vs21-search-button {
    width: 32px;
    height: 32px;
  }

  .vs21-desktop-nav {
    display: none;
  }

  .vs21-icon-heart,
  .vs21-icon-cart {
    width: 40px;
    height: 40px;
  }

}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 640px) {

  .vs21-header-container {
    min-height: 68px;
    grid-template-columns: auto 1fr auto auto;
    gap: 8px;
    padding: 0 10px;
  }

  .vs21-logo img {
    height: 32px;
    max-width: 105px;
  }

  .vs21-search-input {
    height: 40px;
    font-size: 13px;
    padding: 0 42px 0 12px;
  }

  .vs21-search-button {
    width: 30px;
    height: 30px;
    right: 5px;
  }

  .vs21-icon-heart,
  .vs21-icon-cart {
    width: 36px;
    height: 36px;
  }

  .vs21-cart-count {
    min-width: 16px;
    height: 16px;
    font-size: 10px;
  }

}