/* Visidea Glass Header. Every class is prefixed vsdtk-gh- so nothing collides with
   Breakdance or theme styles. */

.vsdtk-gh-root {
  --gh-accent: #D4AB3B;
  --gh-accent-dark: color-mix(in srgb, var(--gh-accent) 72%, #000);
  --gh-ink: #15130f;
  --gh-ink-soft: rgba(21,19,15,0.62);
}
.vsdtk-gh-root *, .vsdtk-gh-root *::before, .vsdtk-gh-root *::after { box-sizing: border-box; }
.vsdtk-gh-root ul { list-style: none; margin: 0; padding: 0; }
.vsdtk-gh-root li { margin: 0; padding: 0; }
.vsdtk-gh-root a { color: inherit; text-decoration: none; }
/* Typeface only: a `font` shorthand here would outrank and wipe the size/weight set on
   .vsdtk-gh-link (made the Shop button look un-bold next to the other links). */
.vsdtk-gh-root button { font-family: inherit; color: inherit; background: none; border: 0; margin: 0; cursor: pointer; }
.vsdtk-gh-root h4 { margin: 0; }

/* ================= LIQUID GLASS, SHARED ================= */
/* Chromium: the SVG lens runs on the BACKDROP (backdrop-filter: url(#lens)), map
   generated per element by the script. The backdrop layer lives on ::before, never on
   the element itself, or dropdowns inside the header could only see the header.
   Never put opacity, clip-path or mask on a glass element: it isolates it and the blur
   stops seeing the page. Animate its layers instead. */
.vsdtk-gh-glass { isolation: isolate; }
.vsdtk-gh-glass::before,
.vsdtk-gh-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
}
.vsdtk-gh-glass::before {
  -webkit-backdrop-filter: blur(14px) saturate(1.7);
  backdrop-filter: var(--gh-lens, blur(14px) saturate(1.7));
}
.vsdtk-gh-glass::after {
  background: var(--gh-tint, rgba(255,255,255,0.10));
  box-shadow:
    inset 1.5px 1.5px 0 rgba(255,255,255,0.70),
    inset -1px -1px 0 rgba(255,255,255,0.28),
    inset 0 0 22px rgba(255,255,255,0.16);
  transition: background .45s cubic-bezier(.22,1,.36,1);
}

/* Safari / Firefox: premium thick glass without bending (Safari can't bend the
   backdrop smoothly). A second backdrop layer masked to a soft rim band, plus a top
   sheen. GPU-only, scrolls at full speed. html gets .vsdtk-gh-no-lens from the script. */
.vsdtk-gh-rim { display: none; }
.vsdtk-gh-no-lens .vsdtk-gh-glass::before {
  -webkit-backdrop-filter: blur(var(--gh-core-blur, 16px)) saturate(1.8);
  backdrop-filter: blur(var(--gh-core-blur, 16px)) saturate(1.8);
}
.vsdtk-gh-no-lens .vsdtk-gh-rim {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  -webkit-backdrop-filter: blur(var(--gh-rim-blur, 10px)) saturate(1.35) brightness(1.12);
  backdrop-filter: blur(var(--gh-rim-blur, 10px)) saturate(1.35) brightness(1.12);
  -webkit-mask-image:
    linear-gradient(to right, #000 0, transparent var(--gh-rim, 18px), transparent calc(100% - var(--gh-rim, 18px)), #000 100%),
    linear-gradient(to bottom, #000 0, transparent var(--gh-rim, 18px), transparent calc(100% - var(--gh-rim, 18px)), #000 100%);
  mask-image:
    linear-gradient(to right, #000 0, transparent var(--gh-rim, 18px), transparent calc(100% - var(--gh-rim, 18px)), #000 100%),
    linear-gradient(to bottom, #000 0, transparent var(--gh-rim, 18px), transparent calc(100% - var(--gh-rim, 18px)), #000 100%);
}
.vsdtk-gh-no-lens .vsdtk-gh-glass::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.05) 38%, rgba(255,255,255,0) 60%),
    var(--gh-tint, rgba(255,255,255,0.10));
  box-shadow:
    inset 1.5px 1.5px 0 rgba(255,255,255,0.75),
    inset -1px -1px 0 rgba(255,255,255,0.32),
    inset 0 0 14px rgba(255,255,255,0.22),
    inset 0 -8px 16px -10px rgba(0,0,0,0.18);
}
.vsdtk-gh-no-lens .vsdtk-gh-mega { --gh-rim: 26px; --gh-rim-blur: 14px; --gh-core-blur: 22px; }

/* ================= HEADER ================= */
.vsdtk-gh-header {
  --gh-hdr-ink: var(--gh-ink);
  position: fixed;
  top: 14px; left: 14px; right: 14px;
  max-width: 1240px;
  margin: 0 auto;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 10px 10px 26px;
  border-radius: 999px;
  color: var(--gh-hdr-ink);
  font-family: inherit;
  line-height: 1.3;
  box-shadow: 0 10px 34px rgba(0,0,0,0.16);
  transition: color .35s ease;
}
.admin-bar .vsdtk-gh-header { top: 46px; }
@media (max-width: 782px) { .admin-bar .vsdtk-gh-header { top: 56px; } }

/* Over a dark section (class vsdtk-gh-dark): near-clear glass, white text. Otherwise
   milkier glass, dark text. */
.vsdtk-gh-header.vsdtk-gh-on-dark { --gh-hdr-ink: #fff; --gh-tint: rgba(255,255,255,0.06); }
.vsdtk-gh-header:not(.vsdtk-gh-on-dark) { --gh-tint: rgba(255,255,255,0.42); }
/* text-shadow only on the nav links: a filter on the nav would trap the mega menu. */
.vsdtk-gh-on-dark .vsdtk-gh-logo,
.vsdtk-gh-on-dark .vsdtk-gh-nav > .vsdtk-gh-link,
.vsdtk-gh-on-dark .vsdtk-gh-item > .vsdtk-gh-link { text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
.vsdtk-gh-on-dark .vsdtk-gh-logo img,
.vsdtk-gh-on-dark .vsdtk-gh-link--icon svg,
.vsdtk-gh-on-dark .vsdtk-gh-actions > .vsdtk-gh-icon svg { filter: drop-shadow(0 1px 5px rgba(0,0,0,0.35)); }

.vsdtk-gh-logo {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .01em;
  white-space: nowrap;
  color: var(--gh-hdr-ink);
}
.vsdtk-gh-logo img { display: block; max-width: none; }

.vsdtk-gh-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.vsdtk-gh-item { position: relative; }
/* The mega menu anchors to the whole header, not its button. */
.vsdtk-gh-item--mega { position: static; }
.vsdtk-gh-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gh-hdr-ink);
  transition: background .2s ease;
}
.vsdtk-gh-link:hover, .vsdtk-gh-item.is-open > .vsdtk-gh-link { background: rgba(127,127,127,0.18); }
.vsdtk-gh-chev { width: 10px; height: 10px; transition: transform .2s ease; opacity: .6; flex: none; }
.vsdtk-gh-item.is-open > .vsdtk-gh-link .vsdtk-gh-chev { transform: rotate(180deg); }

.vsdtk-gh-actions { display: flex; align-items: center; gap: 6px; }
.vsdtk-gh-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  padding: 0;
  border-radius: 999px;
  color: var(--gh-hdr-ink);
  transition: background .2s ease;
}
.vsdtk-gh-icon:hover, .vsdtk-gh-item.is-open > .vsdtk-gh-icon { background: rgba(127,127,127,0.18); }
.vsdtk-gh-icon svg { width: 20px; height: 20px; }
.vsdtk-gh-burger { display: none; }

/* ================= MEGA MENU / DROPDOWNS ================= */
.vsdtk-gh-mega, .vsdtk-gh-drop {
  --gh-tint: rgba(255,255,255,0.62);
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  color: var(--gh-ink);
  border-radius: 28px;
  text-shadow: none;
  /* Reveal (from the reference): the glass layers grow down from the top, then the
     content fades in. The panel itself only moves; see the warning at the top. */
  transform: translateX(-50%) translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0);
  pointer-events: none;
  visibility: hidden;
  transition: transform .22s ease, box-shadow .22s ease, visibility 0s linear .24s;
}
.vsdtk-gh-item.is-open > .vsdtk-gh-mega,
.vsdtk-gh-item.is-open > .vsdtk-gh-drop {
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
  transition: transform .38s cubic-bezier(.22,1,.36,1), box-shadow .38s ease, visibility 0s;
}
.vsdtk-gh-mega::before, .vsdtk-gh-mega::after, .vsdtk-gh-mega > .vsdtk-gh-rim,
.vsdtk-gh-drop::before, .vsdtk-gh-drop::after, .vsdtk-gh-drop > .vsdtk-gh-rim {
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform .22s cubic-bezier(.4,0,1,1);
}
.vsdtk-gh-item.is-open > .vsdtk-gh-mega::before, .vsdtk-gh-item.is-open > .vsdtk-gh-mega::after, .vsdtk-gh-item.is-open > .vsdtk-gh-mega > .vsdtk-gh-rim,
.vsdtk-gh-item.is-open > .vsdtk-gh-drop::before, .vsdtk-gh-item.is-open > .vsdtk-gh-drop::after, .vsdtk-gh-item.is-open > .vsdtk-gh-drop > .vsdtk-gh-rim {
  transform: scaleY(1);
  transition: transform .38s cubic-bezier(.22,1,.36,1);
}
/* Panel content arrives after the glass, column by column. */
.vsdtk-gh-mega-inner > *, .vsdtk-gh-drop > ul, .vsdtk-gh-drop > form {
  opacity: 0; transform: translateY(8px);
  transition: opacity .12s ease, transform .12s ease;
}
.vsdtk-gh-item.is-open .vsdtk-gh-mega-inner > *,
.vsdtk-gh-item.is-open > .vsdtk-gh-drop > ul,
.vsdtk-gh-item.is-open > .vsdtk-gh-drop > form {
  opacity: 1; transform: none;
  transition: opacity .32s ease, transform .42s cubic-bezier(.22,1,.36,1);
  transition-delay: calc(140ms + var(--col, 0) * 70ms);
}
.vsdtk-gh-mega-inner > :nth-child(2) { --col: 1; }
.vsdtk-gh-mega-inner > :nth-child(3) { --col: 2; }
.vsdtk-gh-mega-inner > :nth-child(4) { --col: 3; }

.vsdtk-gh-mega { width: min(960px, 100%); padding: 28px 30px; }
.vsdtk-gh-mega-inner { display: grid; gap: 30px; }
.vsdtk-gh-col h4 {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gh-ink-soft);
}
.vsdtk-gh-col ul li a, .vsdtk-gh-drop ul li a {
  display: block;
  padding: 7px 0;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gh-ink);
  transition: color .15s ease, padding-left .15s ease, background .15s ease;
}
.vsdtk-gh-col ul li a:hover { color: var(--gh-accent-dark); padding-left: 4px; }

.vsdtk-gh-col .vsdtk-gh-cats li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; margin: 0 -12px; border-radius: 10px;
}
.vsdtk-gh-cats li a::after { content: "\203A"; font-size: 18px; line-height: 1; opacity: .35; }
.vsdtk-gh-col .vsdtk-gh-cats li a:hover { padding-left: 12px; }
.vsdtk-gh-col .vsdtk-gh-cats li.is-active a { background: rgba(21,19,15,0.07); color: var(--gh-ink); }
.vsdtk-gh-col--subs { padding-left: 30px; border-left: 1px solid rgba(21,19,15,0.10); }
.vsdtk-gh-sub[hidden] { display: none; }
.vsdtk-gh-sub h4, .vsdtk-gh-sub li { animation: vsdtkGhSubIn .32s cubic-bezier(.22,1,.36,1) both; }
.vsdtk-gh-sub li { animation-delay: calc(40ms + var(--n, 0) * 32ms); }
.vsdtk-gh-sub li:nth-child(2) { --n: 1; } .vsdtk-gh-sub li:nth-child(3) { --n: 2; }
.vsdtk-gh-sub li:nth-child(4) { --n: 3; } .vsdtk-gh-sub li:nth-child(5) { --n: 4; }
.vsdtk-gh-sub li:nth-child(6) { --n: 5; } .vsdtk-gh-sub li:nth-child(7) { --n: 6; }
.vsdtk-gh-sub li:nth-child(n+8) { --n: 7; }
.vsdtk-gh-col .vsdtk-gh-all a { margin-top: 6px; font-weight: 700; color: var(--gh-accent-dark); }
@keyframes vsdtkGhSubIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

.vsdtk-gh-featured {
  background: rgba(255,255,255,0.5);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.6);
}
.vsdtk-gh-featured-img { width: 100%; height: 110px; border-radius: 10px; margin-bottom: 12px; background: center / cover no-repeat; }
.vsdtk-gh-featured-title { margin: 0 0 4px; font-weight: 700; font-size: 14px; }
.vsdtk-gh-featured-text { margin: 0 0 10px; font-size: 12.5px; color: var(--gh-ink-soft); line-height: 1.4; }
.vsdtk-gh-root .vsdtk-gh-featured-link { font-size: 13px; font-weight: 700; color: var(--gh-accent-dark); }

.vsdtk-gh-drop { width: 230px; padding: 14px; }
.vsdtk-gh-drop ul li a { padding: 9px 12px; border-radius: 10px; }
.vsdtk-gh-drop ul li a:hover { background: rgba(21,19,15,0.06); }
.vsdtk-gh-drop--search { width: 320px; left: auto; right: -10px; transform: translateY(-6px); padding: 10px; }
.vsdtk-gh-item.is-open > .vsdtk-gh-drop--search { transform: none; }

.vsdtk-gh-search-form { display: flex; align-items: center; gap: 6px; }
.vsdtk-gh-search-form input[type=search] {
  flex: 1; min-width: 0;
  height: 42px; padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(21,19,15,0.12);
  background: rgba(255,255,255,0.7);
  color: var(--gh-ink);
  font: inherit; font-size: 15px;
  outline: none;
}
.vsdtk-gh-search-form input[type=search]:focus { border-color: var(--gh-accent); }
.vsdtk-gh-search-form button { width: 42px; height: 42px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--gh-accent); color: #fff; }
.vsdtk-gh-search-form button svg { width: 18px; height: 18px; }
.vsdtk-gh-search-form--dark input[type=search] { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.18); color: #fff; }
.vsdtk-gh-search-form--dark input[type=search]::placeholder { color: rgba(255,255,255,0.55); }

/* ================= PHONE MENU ================= */
.vsdtk-gh-mobile {
  position: fixed; inset: 0; z-index: 9995;
  color: #fff;
  display: flex; flex-direction: column;
  background: rgba(21,19,15,0.72);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .5s cubic-bezier(.34,1.2,.4,1), visibility 0s linear .5s;
  font-family: inherit;
}
.vsdtk-gh-mobile.is-open { transform: none; visibility: visible; transition: transform .5s cubic-bezier(.34,1.2,.4,1), visibility 0s; }
.vsdtk-gh-mobile .vsdtk-gh-logo { color: #fff; }
.vsdtk-gh-mobile-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.admin-bar .vsdtk-gh-mobile-top { padding-top: 62px; }
.vsdtk-gh-close {
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(255,255,255,0.1) !important;
  display: flex; align-items: center; justify-content: center;
}
.vsdtk-gh-mobile-search { padding: 14px 20px 4px; }
.vsdtk-gh-mobile-body { flex: 1; overflow: hidden; position: relative; }
/* Drill-down: the next level slides in from the right, the current one out to the
   left (reversed on Back), then its rows cascade in. */
.vsdtk-gh-view {
  position: absolute; inset: 0; padding: 10px 12px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(40px);
  transition: transform .42s cubic-bezier(.22,1,.36,1), opacity .25s ease, visibility 0s linear .42s;
}
.vsdtk-gh-view.is-left { transform: translateX(-40px); }
.vsdtk-gh-view.is-current {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  transition: transform .42s cubic-bezier(.22,1,.36,1), opacity .3s ease .05s, visibility 0s;
}
.vsdtk-gh-view.is-entering > * { animation: vsdtkGhRowIn .45s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(60ms + var(--k, 0) * 35ms); }
@keyframes vsdtkGhRowIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.vsdtk-gh-back {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 10px; margin-bottom: 4px;
  color: rgba(255,255,255,0.65) !important;
  font-size: 13px; font-weight: 600;
  width: 100%; text-align: left;
}
.vsdtk-gh-mrow {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 12px;
  font-size: 17px; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
}
.vsdtk-gh-mrow a { display: block; flex: 1; margin: -16px -12px; padding: 16px 12px; color: #fff; }
.vsdtk-gh-mrow .vsdtk-gh-chev { width: 14px; height: 14px; opacity: .5; }
.vsdtk-gh-mrow--all a { color: var(--gh-accent); font-weight: 700; }
.vsdtk-gh-mobile-footer { padding: 18px 20px 26px; border-top: 1px solid rgba(255,255,255,0.12); }
.vsdtk-gh-btn { display: block; text-align: center; padding: 13px; border-radius: 999px; font-weight: 700; font-size: 14.5px; background: var(--gh-accent); color: #fff !important; }

@media (max-width: 1100px) {
  .vsdtk-gh-mega-inner { grid-template-columns: 1fr 1.1fr 1fr !important; }
  .vsdtk-gh-col--brands { display: none; }
}
@media (max-width: 880px) {
  .vsdtk-gh-nav, .vsdtk-gh-item--search { display: none; }
  .vsdtk-gh-burger { display: inline-flex; }
  .vsdtk-gh-header { top: 10px; left: 10px; right: 10px; padding: 8px 8px 8px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .vsdtk-gh-root *, .vsdtk-gh-root *::before, .vsdtk-gh-root *::after {
    animation-duration: 1ms !important; animation-delay: 0s !important;
    transition-duration: 1ms !important; transition-delay: 0s !important;
  }
}
