.vkm-store, .vkm-store * { box-sizing: border-box; }
.vkm-store {
  width: 100vw;
  min-height: 100vh;
  margin-left: calc(50% - 50vw);
  background: var(--bg);
  color: var(--black);
  font-family: "Nunito Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.4;
}
.vkm-store button, .vkm-store input { font: inherit; }
.vkm-store button { color: inherit; }
.vkm-store a { color: inherit; text-decoration: none; }
.vkm-store [hidden] { display: none !important; }
.vkm-store .screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Header */
.vkm-header {
  position: sticky;
  top: 0;
  z-index: 300;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(390px, .9fr) minmax(360px, 520px) auto;
  align-items: center;
  gap: 26px;
  padding: 12px 28px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(15, 23, 42, .04);
}
.admin-bar .vkm-header { top: 32px; }
.vkm-header-left { display: flex; align-items: center; gap: 20px; min-width: 0; }
.vkm-menu-toggle {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 7px 14px 7px 7px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #f8fafc;
  color: #334155;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.vkm-menu-icon {
  width: 42px; height: 42px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 10px;
  background: var(--white);
  border: 1px solid #cdd7e5;
  border-radius: 14px;
  box-shadow: 0 2px 5px rgba(15, 23, 42, .05);
}
.vkm-menu-icon i { display: block; height: 2px; border-radius: 2px; background: #475569; }
.vkm-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.vkm-brand img { width: auto; max-width: 210px; object-fit: contain; }
.vkm-brand strong { max-width: 220px; font-size: 20px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vkm-store-pill {
  padding: 7px 11px;
  border-radius: 9px;
  background: var(--brand);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 24%, transparent);
}
.vkm-search-wrap, .vkm-category-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  background: var(--white);
  border: 1.5px solid #d6dbe3;
  border-radius: 999px;
}
.vkm-search-wrap { height: 56px; padding: 0 17px; }
.vkm-search-wrap:focus-within, .vkm-category-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent);
}
.vkm-search-wrap svg, .vkm-category-search svg {
  width: 20px; height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: #8a96a8;
  stroke-width: 2;
  stroke-linecap: round;
}
.vkm-search-wrap::after {
  content: "⌕";
  color: var(--brand);
  font-size: 25px;
  line-height: 1;
}
.vkm-search-wrap input, .vkm-category-search input {
  width: 100%; min-width: 0;
  padding: 0;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--black);
}
.vkm-search-wrap input { font-size: 17px; font-weight: 600; }
.vkm-search-wrap input::placeholder, .vkm-category-search input::placeholder { color: #a3aab5; opacity: 1; }
.vkm-quote-button {
  height: 58px;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px 10px 6px 8px;
  border: 2px solid color-mix(in srgb, var(--brand) 22%, white);
  border-radius: 999px;
  background: var(--brand-lt);
  color: #8d2633;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}
.vkm-quote-button > span { align-self: center; justify-self: center; margin: 0; }
.vkm-cart-icon {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-size: 17px;
}
.vkm-cart-badge {
  min-width: 30px; height: 30px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: #dfe5ed;
  color: #475569;
  font-size: 13px;
}

/* Menu drawer */
.vkm-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(1px);
}
.vkm-menu-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 610;
  width: min(390px, 100%);
  background: var(--white);
  box-shadow: 12px 0 36px rgba(15, 23, 42, .18);
  transform: translateX(-102%);
  transition: transform .25s ease;
  overflow-y: auto;
}
.vkm-menu-drawer.open { transform: translateX(0); }
.vkm-menu-head {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 16px 28px;
  background: #0f172a;
  color: var(--white);
}
.vkm-menu-shield {
  width: 34px; height: 40px;
  display: grid; place-items: center;
  background: var(--brand);
  color: #0f172a;
  font-size: 18px; font-weight: 900;
  clip-path: polygon(50% 0, 100% 16%, 88% 78%, 50% 100%, 12% 78%, 0 16%);
}
.vkm-menu-favicon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: var(--white);
}
.vkm-menu-favicon img { width: 100%; height: 100%; display: block; object-fit: contain; }
.vkm-menu-head > div { display: flex; flex-direction: column; }
.vkm-menu-head strong { font-size: 20px; font-weight: 900; letter-spacing: .02em; }
.vkm-menu-head span { color: #94a3b8; font-size: 13px; font-weight: 700; }
.vkm-drawer-close {
  width: 44px; height: 44px;
  border: 0;
  border-radius: 12px;
  background: #253047;
  color: #aab5c7 !important;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.vkm-menu-body { padding: 28px 22px; }
.vkm-menu-kicker { margin: 0 10px 18px; color: #91a0b5; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.vkm-menu-list, .vkm-menu-list ul { list-style: none; padding: 0; margin: 0; }
.vkm-menu-list > li { margin: 0 0 10px; }
.vkm-menu-list > li > a {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 13px 46px 13px 82px;
  border: 1px solid #e4eaf2;
  border-radius: 16px;
  background: #f8fafc;
  color: #334155;
  font-size: 17px;
  font-weight: 800;
}
.vkm-menu-list > li > a::before {
  content: "⌂";
  position: absolute;
  left: 20px; top: 50%;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  transform: translateY(-50%);
  border-radius: 13px;
  background: var(--brand-lt);
  color: var(--brand);
  font-size: 22px;
}
.vkm-menu-list > li > a::after {
  content: "›";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  color: #c0cad8;
  font-size: 25px;
}
.vkm-menu-list > li.current-menu-item > a, .vkm-menu-list > li.current_page_item > a {
  border-color: var(--brand);
  background: var(--white);
  color: var(--brand-dk);
}
.vkm-menu-list .sub-menu { margin: 6px 12px 0 32px; }
.vkm-menu-list .sub-menu a { display: block; padding: 9px 12px; color: #526075; font-size: 14px; font-weight: 700; }
.vkm-help-card {
  margin-top: 62px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 5px 18px rgba(15, 23, 42, .05);
}
.vkm-help-card > strong { font-size: 16px; font-weight: 900; }
.vkm-help-card p { margin: 8px 0 14px; color: var(--muted); font-size: 14px; }
.vkm-help-card a {
  min-height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(90deg, #20d66c, #0eb578);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(14, 181, 120, .2);
}
