/* ============================================================
   dm-shell.css — shared site header + footer (client "dark glass"
   design), namespaced with .dsh- so it never collides with
   Bootstrap/WHMCS on interior pages. Two header modes:
     .dsh-header--overlay  → transparent, floats over the dark hero (homepage)
     .dsh-header--solid    → solid navy, sticky (all interior pages)
   ============================================================ */
.dsh-header, .dsh-footer, .dsh-header *, .dsh-footer * { box-sizing: border-box; }
/* text-decoration only — do NOT set `color:inherit` here: at (0,1,1) it would
   beat the (0,1,0) .dsh-navlink/.dsh-signin/.dsh-icon colour rules and make the
   whole menu + its currentColor icons render in the dark body colour. */
.dsh-header a, .dsh-footer a { text-decoration: none; }
.dsh-header { color: #fff; }              /* white default for anything that inherits */
.dsh-dd__item { color: #fff; }
.dsh-header ul, .dsh-footer ul { list-style: none; margin: 0; padding: 0; }
.dsh-header svg { display: block; }
.dsh-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- header shell ---------- */
.dsh-header { font-family: 'Helvetica Neue', Arial, sans-serif; z-index: 50; }
.dsh-header--overlay { position: absolute; top: 0; left: 0; right: 0; }
.dsh-header--solid   { position: sticky; top: 0;
  background: linear-gradient(180deg, #0c1a30 0%, #0b1526 100%); }

/* top utility bar */
.dsh-topbar { background: rgba(15,25,45,.3); border-bottom: 1px solid rgba(255,255,255,.08); }
.dsh-header--solid .dsh-topbar { background: rgba(0,0,0,.22); }
.dsh-topbar__in { display: flex; align-items: center; justify-content: flex-end; gap: 26px; height: 40px; }
.dsh-topbar__links { display: flex; align-items: center; gap: 26px; }
.dsh-topbar__links a { color: rgba(255,255,255,.65); font-size: 13px; font-weight: 500; transition: color .15s; }
.dsh-topbar__links a:hover { color: #fff; }
.dsh-signin { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85);
  font-size: 13px; font-weight: 500; border: 1px solid rgba(255,255,255,.22); border-radius: 20px; padding: 5px 13px; transition: background .15s, color .15s; }
.dsh-signin:hover { background: rgba(255,255,255,.1); color: #fff; }
.dsh-signin svg { width: 14px; height: 14px; }

/* main bar */
.dsh-main { background: linear-gradient(180deg, rgba(15,25,48,.45) 0%, rgba(15,25,48,.25) 100%);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.dsh-header--solid .dsh-main { background: transparent; backdrop-filter: none; border-bottom-color: rgba(255,255,255,.06); }
.dsh-main__in { display: flex; align-items: center; height: 74px; gap: 24px; }
.dsh-logo { display: flex; align-items: center; flex-shrink: 0; }
.dsh-logo img { height: 40px; width: auto; display: block; filter: brightness(0) invert(1); }

/* primary nav pill */
.dsh-nav { flex: 1; display: flex; justify-content: center; }
.dsh-pill { display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1); border-radius: 30px; padding: 6px; }
.dsh-navlink { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85);
  font-size: 14.5px; font-weight: 600; padding: 9px 18px; border-radius: 24px; white-space: nowrap;
  transition: background .15s, color .15s; cursor: pointer; }
.dsh-navlink:hover, .dsh-has-dd:hover > .dsh-navlink { background: rgba(255,255,255,.12); color: #fff; }
.dsh-navlink.is-active { background: var(--dsh-blue,#2f6bff); color: #fff; box-shadow: 0 6px 16px -6px rgba(47,107,255,.6); }
.dsh-navlink svg { width: 9px; height: 9px; opacity: .7; transition: transform .2s; }
.dsh-has-dd:hover > .dsh-navlink svg { transform: rotate(180deg); }

/* dropdown mega-menus */
.dsh-has-dd { position: relative; }
.dsh-has-dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.dsh-dd { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 300px; background: #0e1c34; border: 1px solid rgba(255,255,255,.12); border-radius: 18px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); padding: 8px; opacity: 0; visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 60; }
.dsh-dd--wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dsh-has-dd:hover > .dsh-dd, .dsh-has-dd:focus-within > .dsh-dd { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dsh-dd__item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; transition: background .15s; }
.dsh-dd__item:hover { background: rgba(255,255,255,.07); }
.dsh-dd__ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(47,107,255,.16); color: #7ba2ff; border: 1px solid rgba(255,255,255,.08); }
.dsh-dd__ic svg { width: 18px; height: 18px; }
.dsh-dd__tx { display: grid; gap: 2px; }
.dsh-dd__tx b { color: #fff; font-size: 14px; font-weight: 600; }
.dsh-dd__tx small { color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.35; }

/* right cluster: cart + buttons */
.dsh-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.dsh-icon { position: relative; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .15s; }
.dsh-icon:hover { background: rgba(255,255,255,.16); }
.dsh-icon svg { width: 18px; height: 18px; }
.dsh-cart-badge { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; border-radius: 50%;
  background: #2f6bff; color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #0b1220; }
.dsh-btn { padding: 10px 22px; border-radius: 24px; font-size: 14.5px; font-weight: 700; white-space: nowrap;
  border: 1px solid transparent; transition: all .15s; line-height: 1.2; display: inline-flex; align-items: center; }
.dsh-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.dsh-btn--ghost:hover { background: rgba(255,255,255,.1); }
.dsh-btn--blue { background: linear-gradient(135deg,#3d72ff 0%,#2f6bff 100%); color: #fff;
  box-shadow: 0 8px 22px rgba(47,107,255,.4), inset 0 1px 0 rgba(255,255,255,.18); }
.dsh-btn--blue:hover { background: linear-gradient(135deg,#3367f5 0%,#2659e0 100%); transform: translateY(-1px); }

/* mobile toggle */
.dsh-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18); color: #fff; align-items: center; justify-content: center; cursor: pointer; margin-left: auto; }
.dsh-toggle svg { width: 22px; height: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .dsh-wrap { padding: 0 18px; }
  .dsh-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 12px 18px 18px; }
  .dsh-header--overlay .dsh-nav, .dsh-header--solid .dsh-nav { background: #0c1a30; border-bottom: 1px solid rgba(255,255,255,.1); }
  .dsh-nav.is-open { display: block; }
  .dsh-pill { flex-direction: column; align-items: stretch; background: transparent; border: 0; border-radius: 0; padding: 0; gap: 2px; }
  .dsh-navlink { justify-content: space-between; padding: 12px 14px; border-radius: 10px; font-size: 15px; }
  .dsh-has-dd { position: static; }
  .dsh-dd, .dsh-dd--wide { position: static; transform: none; opacity: 1; visibility: visible; display: none;
    min-width: 0; grid-template-columns: 1fr; box-shadow: none; background: rgba(255,255,255,.04); border: 0; margin: 2px 0 6px; }
  /* override the desktop hover/focus-within transform so the panel doesn't shift off-screen */
  .dsh-has-dd:hover > .dsh-dd, .dsh-has-dd:focus-within > .dsh-dd { transform: none; }
  .dsh-has-dd.is-open .dsh-dd { display: block; }
  .dsh-toggle { display: inline-flex; }
  .dsh-right .dsh-btn { padding: 9px 16px; }
  .dsh-topbar__links { display: none; }
  .dsh-topbar__in { justify-content: space-between; }
}
@media (max-width: 560px){
  .dsh-right .dsh-btn--ghost { display: none; }
}

/* ============================================================
   Footer
   ============================================================ */
.dsh-footer { background: #0d1424; color: #aab4d4; padding: 62px 0 24px; font-size: 13.5px;
  font-family: 'Helvetica Neue', Arial, sans-serif; }
.dsh-footer a { color: #aab4d4; transition: color .15s; }
.dsh-footer a:hover { color: #fff; }
.dsh-foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 42px; }
.dsh-foot-grid h5 { color: #fff; font-size: 14px; margin: 0 0 14px; }
.dsh-foot-grid li { margin-bottom: 9px; }
.dsh-foot-brand p { margin: 14px 0 0; max-width: 300px; line-height: 1.6; color: #97a2c4; }
.dsh-foot-logo img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.dsh-foot-socials { display: flex; gap: 10px; margin-top: 18px; }
.dsh-foot-socials a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center; color: #cbd3ec; transition: background .15s, color .15s; }
.dsh-foot-socials a:hover { background: #2f6bff; color: #fff; }
.dsh-foot-socials svg { width: 16px; height: 16px; }
.dsh-foot-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; color: #8b96ba; }
.dsh-pay { display: flex; gap: 8px; }
.dsh-pay span { background: #fff; border-radius: 5px; padding: 4px 8px; font-size: 11px; color: #0d1424; font-weight: 700; }
@media (max-width: 1024px){ .dsh-foot-grid { grid-template-columns: repeat(3,1fr); } .dsh-foot-brand { grid-column: 1 / -1; } }
@media (max-width: 640px){ .dsh-foot-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 420px){ .dsh-foot-grid { grid-template-columns: 1fr; } }
