/* =====================================================================
   FROST CLIENT — theme stylesheet
   1:1 replica of Frost.html layered on the shop engine.
   All selectors are prefixed (.frost-*, #snow, #frost-toast) to avoid
   collisions with the prebuilt Tailwind (built.css). Loaded after it.
   ===================================================================== */

/* ---------- palette ---------- */
:root {
  --aqua: #00c2ff;
  --aqua-deep: #0090dd;
  --cyan: #37e6ff;
  --ink: #0b2540;
  --muted: #57758a;
  --line: #dcf1fb;
  --ice: #f0faff;
  --grad: linear-gradient(120deg, #0090dd, #00e0ff);
  --radius: 18px;

  /* GUI palette (prefixed — no clashes with the site) */
  --g-panel: rgba(50, 69, 80, .94);
  --g-card: rgba(17, 32, 42, .42);
  --g-rowon: rgba(255, 255, 255, .10);
  --g-txt: #eef7f7;
  --g-muted: #9db6bd;
  --g-teal: #8fd6c9;
  --g-track: #20323d;
  --g-gold: #f2c94c;
}

/* ---------- base ---------- */
html { scroll-padding-top: 90px; }
.frost-body {
  color: var(--ink);
  background: #fff !important;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(0, 194, 255, .3); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #fff; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00c2ff, #0090dd);
  border-radius: 8px;
  border: 2px solid #fff;
}

.frost-body a { text-decoration: none; color: inherit; }
.frost-body button { font-family: inherit; cursor: pointer; }
.frost-body img, .frost-body svg { display: block; }

.frost-container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.frost-page {
  /* space for the fixed glass nav. The announcement bar takes its own space
     in normal flow above this — do NOT add its height here again. */
  padding-top: 72px;
  position: relative;
  z-index: 1;
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease var(--d, 0s), transform .7s ease var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: none;
  border-radius: 12px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 15px;
  transition: .25s;
  line-height: 1.2;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 170, 255, .35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 170, 255, .45); }
.btn-ghost { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--aqua); color: var(--aqua-deep); transform: translateY(-3px); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; border-radius: 10px; }
.btn:focus-visible { outline: 3px solid rgba(0, 180, 255, .4); outline-offset: 2px; }

/* ---------- snow canvas ---------- */
#snow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
  color: var(--ink);
}
.nav.scrolled { box-shadow: 0 8px 30px rgba(0, 120, 190, .1); }
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo svg { width: 30px; height: 30px; color: var(--aqua); }
.logo-name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .5px;
}
.logo-name span { color: var(--aqua-deep); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: width .25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.ext {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: var(--aqua-deep);
}
.nav-links a.ext::after { display: none; }
.nav-links a.ext svg { transition: transform .2s; }
.nav-links a.ext:hover svg { transform: translate(2px, -2px); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.burger {
  display: none;
  background: none;
  border: none;
  width: 34px;
  height: 34px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
}
.burger span {
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 99;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 18px 5%;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu a {
  padding: 12px 4px;
  font-weight: 500;
  border-bottom: 1px solid var(--ice);
  color: var(--ink);
}
.mobile-menu a.ext { color: var(--aqua-deep); font-weight: 600; }
.mobile-menu.open { display: flex; }

/* announcement bar — normal flow, scrolls away above the fixed glass nav */
.announcement {
  position: relative;
  z-index: 0;
}
.announcement p {
  color: #fff;
  margin: 0;
}
.announcement a {
  color: #fff;
}

/* ---------- hero ---------- */
/* 72px here + 72px page padding + announcement bar ≈ Frost.html's 180px hero
   padding-top, which already included its fixed nav. */
.hero { padding: 72px 0 100px; overflow: hidden; position: relative; }
.glow { position: absolute; border-radius: 50%; pointer-events: none; }
.g1 { width: 560px; height: 560px; top: -160px; left: -160px; background: radial-gradient(closest-side, rgba(0, 194, 255, .2), transparent); }
.g2 { width: 500px; height: 500px; bottom: -180px; right: -120px; background: radial-gradient(closest-side, rgba(55, 230, 255, .16), transparent); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ice);
  border: 1px solid var(--line);
  color: var(--aqua-deep);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(0, 194, 255, .25); } }

.frost-h1 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 4.8vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin: 0;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 520px;
  font-weight: 300;
}
.lead b { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 38px; margin-top: 46px; flex-wrap: wrap; }
.stat .num {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
}
.stat .lbl {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* hero art */
.hero-art {
  position: relative;
  height: 470px;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1.5px dashed rgba(0, 180, 255, .35);
  border-radius: 50%;
}
.r1 { width: 330px; height: 330px; animation: spin 45s linear infinite; }
.r2 { width: 452px; height: 452px; animation: spin 70s linear infinite reverse; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.flake-wrap {
  position: relative;
  z-index: 2;
  transition: transform .2s ease-out;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-16px); } }
.flake-wrap svg {
  width: 230px;
  height: 230px;
  color: #00b4ff;
  filter: drop-shadow(0 0 32px rgba(0, 190, 255, .45));
  animation: spinF 90s linear infinite;
}
@keyframes spinF { to { transform: rotate(360deg); } }
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(0, 140, 210, .14);
  animation: float 5s ease-in-out infinite;
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
.c1 { top: 14%; left: 4%; animation-delay: .6s; }
.c2 { top: 40%; right: 0; animation-delay: 1.4s; }
.c3 { bottom: 9%; left: 16%; animation-delay: 2.2s; }
.scroll-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: rgba(240, 250, 255, .65);
  padding: 24px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.m-track {
  display: flex;
  width: max-content;
  animation: slide 32s linear infinite;
}
.marquee:hover .m-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.m-set {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  white-space: nowrap;
  padding-right: 20px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 170, 230, .4);
}
.m-set b { color: var(--aqua); -webkit-text-stroke: 0; font-weight: 800; }

/* ---------- section headers ---------- */
.sec-head { text-align: center; margin-bottom: 52px; }
.overline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--aqua-deep);
}
.sec-head h2, .sec-head h1 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-top: 12px;
  letter-spacing: -.5px;
  color: var(--ink);
}
.sec-head p {
  margin: 16px auto 0;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.7;
  font-weight: 300;
  font-size: 16px;
}

/* ---------- generic Frost section ---------- */
.frost-section { padding: 96px 0; position: relative; z-index: 1; }
.frost-section.alt { background: linear-gradient(180deg, #fff 0%, var(--ice) 100%); }

/* ---------- feature cards ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: .3s;
  color: var(--ink);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 255, .55);
  box-shadow: 0 22px 44px rgba(0, 150, 220, .13);
}
.card .ic {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--ice);
  color: var(--aqua-deep);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 20px;
}
.card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 9px; color: var(--ink); }
.card p { font-size: 14.5px; line-height: 1.7; color: var(--muted); margin: 0; }

/* =====================================================
   LIVE GUI — Dashboard mockup (interactive)
===================================================== */
.gui-tip {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.gui-tip b { color: var(--aqua-deep); }
.gui-stage {
  position: relative;
  height: clamp(520px, 74vh, 680px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 12%, rgba(255, 255, 255, .9), transparent 45%),
    linear-gradient(0deg, rgba(0, 180, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 255, .05) 1px, transparent 1px),
    linear-gradient(180deg, #dcf3ff 0%, #f4fcff 55%, #e9f9ff 100%);
  background-size: auto, 42px 42px, 42px 42px, auto;
  box-shadow: 0 30px 70px rgba(0, 130, 200, .18);
  user-select: none;
  -webkit-user-select: none;
}
.gui-view {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ----- dashboard ----- */
.dash {
  width: min(1024px, 100%);
  height: 100%;
  max-height: 660px;
  display: grid;
  grid-template-columns: 212px 1fr;
  background: var(--g-panel);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  overflow: hidden;
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  box-shadow: 0 40px 90px rgba(10, 60, 100, .3);
  color: var(--g-txt);
}
.side {
  padding: 18px 12px 14px;
  border-right: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 0;
  overflow-y: auto;
}
.brand { display: flex; gap: 10px; align-items: center; padding: 4px 8px 18px; }
.brand .flake { color: var(--g-teal); filter: drop-shadow(0 0 8px rgba(127, 212, 200, .5)); }
.b-name { font-weight: 700; font-size: 15px; color: #f4fcfc; line-height: 1.1; }
.b-sub { font-size: 11.5px; color: var(--g-muted); margin-top: 2px; }
.side-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  flex: none;
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  transition: .15s;
  text-align: left;
  border: none;
  background: none;
  color: #c3d7dc;
}
.side-item:hover { background: rgba(255, 255, 255, .07); color: #eef7f7; }
.side-item.active { background: rgba(255, 255, 255, .11); color: #fff; }
.side-item.active::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 22%;
  height: 56%;
  width: 3.5px;
  background: #fff;
  border-radius: 0 4px 4px 0;
}
.side-spacer { flex: 1; }
.side-foot { font-size: 10.5px; color: #6d8b95; padding: 10px 12px 2px; line-height: 1.5; flex: none; }
.dash-main { padding: 24px 28px; overflow-y: auto; min-width: 0; }
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.dash-head h2 {
  font-size: 19px;
  font-weight: 700;
  color: #f6fdfd;
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
  margin: 0;
}
.dash-head h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2.5px;
  width: 76%;
  background: #fff;
  border-radius: 2px;
}
.mod-count-sub { margin-top: 8px; font-size: 12.5px; color: var(--g-muted); }
.search { position: relative; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #7d99a3; pointer-events: none; }
.gui-stage .search input {
  width: 250px;
  padding: 10px 14px 10px 36px;
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--g-txt);
  background: rgba(12, 28, 38, .45);
  border: 1px solid rgba(255, 255, 255, .12);
  outline: none;
  transition: .2s;
}
.gui-stage .search input::placeholder { color: #77939d; }
.gui-stage .search input:focus { border-color: rgba(143, 214, 201, .6); box-shadow: 0 0 0 3px rgba(143, 214, 201, .12); }

/* light search (products page) */
.psearch {
  position: relative;
  max-width: 520px;
  margin: 0 auto 26px;
}
.psearch svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.psearch input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  outline: none;
  transition: .2s;
  font-family: inherit;
}
.psearch input::placeholder { color: var(--muted); }
.psearch input:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(0, 180, 255, .15); }
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 20px;
  align-content: start;
}
.gcard { position: relative; background: var(--g-card); border-radius: 14px; transition: .18s; }
.gcard:hover { background: rgba(30, 50, 62, .55); }
.gcard.is-on { background: var(--g-rowon); }
.gcard.is-on::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16%;
  bottom: 16%;
  width: 3.5px;
  background: #fff;
  border-radius: 0 3px 3px 0;
}
.card-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  cursor: pointer;
}
.star {
  color: #cfe0e4;
  display: grid;
  place-items: center;
  padding: 2px;
  transition: .15s;
  background: none;
  border: none;
}
.star:hover { color: #fff; transform: scale(1.12); }
.star.fav { color: var(--g-gold); }
.gcard .nm {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #f0fafa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plus-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .6px;
  color: #ffd76a;
  flex: none;
  background: rgba(242, 201, 76, .12);
  border: 1px solid rgba(242, 201, 76, .35);
  padding: 2.5px 8px;
  border-radius: 999px;
}
.qbtn {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(8, 22, 30, .35);
  color: #9fbcc4;
  font-weight: 700;
  font-size: 12.5px;
  transition: .15s;
  border: none;
}
.qbtn:hover { color: #fff; background: rgba(8, 22, 30, .55); }
.card-desc {
  font-size: 12.8px;
  color: var(--g-muted);
  padding: 0 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
  line-height: 1.5;
  margin: 0;
}
.gcard.open .card-desc { max-height: 60px; padding: 0 14px 12px; }
.empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #8fa9b1;
  padding: 46px 0;
  font-size: 14px;
}

/* ----- toggle ----- */
.tgl {
  flex: none;
  width: 46px;
  height: 25px;
  border-radius: 999px;
  background: var(--g-track);
  position: relative;
  transition: .2s;
  border: 1px solid rgba(255, 255, 255, .07);
  cursor: pointer;
  padding: 0;
}
.tgl::after {
  content: '';
  position: absolute;
  top: 2.5px;
  left: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #e8f2f4;
  transition: .2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .4);
}
.tgl.on { background: linear-gradient(90deg, #8fd6c9, #a9ded2); border-color: rgba(255, 255, 255, .2); }
.tgl.on::after { transform: translateX(21px); background: #fff; }

/* ----- right-click settings popup ----- */
#ctxMenu {
  position: fixed;
  z-index: 400;
  width: 252px;
  display: none;
  background: rgba(22, 37, 47, .97);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 15px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .45);
  color: var(--g-txt);
}
#ctxMenu.show { display: block; animation: pop .16s ease; }
@keyframes pop { from { opacity: 0; transform: scale(.95); } }
.ctx-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ctx-head b { font-size: 14.5px; color: #fff; }
.ctx-head span { font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #7fa0ab; }
.ctx-desc { font-size: 12.3px; color: var(--g-muted); line-height: 1.5; margin: 8px 0 13px; }
.ctx-set { display: flex; align-items: center; gap: 10px; }
.ctx-set label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: #7fa0ab;
  width: 52px;
  flex: none;
}
.ctx-set input { flex: 1; accent-color: var(--g-teal); height: 3px; cursor: pointer; }
.ctx-val { width: 34px; text-align: right; font-size: 12.5px; font-weight: 700; color: #dff5f1; }
.ctx-bind { display: flex; justify-content: space-between; align-items: center; margin-top: 13px; }
.ctx-bind label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: #7fa0ab;
}
.bind-btn {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .13);
  color: #e8f4f4;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  min-width: 76px;
}
.bind-btn:hover { background: rgba(255, 255, 255, .14); }
.ctx-hint { margin-top: 13px; font-size: 10.5px; color: #5f7f8b; }

/* ---------- pricing (buy buttons / product cards) ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 780px;
  margin-inline: auto;
}
.price-card { position: relative; padding: 36px 32px; }
.price-card.hot { border: 2px solid var(--aqua); box-shadow: 0 24px 54px rgba(0, 160, 235, .18); }
.pop {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.price {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 36px;
  margin: 14px 0 4px;
  color: var(--ink);
}
.price small { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 500; color: var(--muted); }
.price-card ul { list-style: none; margin: 22px 0 26px; padding: 0; }
.price-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  margin-bottom: 11px;
  line-height: 1.5;
}
.price-card li svg { flex: none; width: 18px; height: 18px; color: var(--aqua-deep); margin-top: 2px; }
.price-card .btn { width: 100%; justify-content: center; }
.price-note {
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 20px;
}
.price-note b { color: var(--ink); }

/* ---------- shop-grid product cards (engine-driven) ---------- */
/* centered flex grid: rows fill 4-up on desktop, and odd/low product counts
   stay centered (Frost.html pricing behaviour) */
.pgrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.pgrid > * {
  width: calc((100% - 66px) / 4);
}
.pcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: .3s;
  color: var(--ink);
  display: block;
  height: 100%;
}
.pcard:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 255, .55);
  box-shadow: 0 22px 44px rgba(0, 150, 220, .13);
}
.pcard h3 {
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 9px;
  color: var(--ink);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pcard .pcard-img {
  width: 100%;
  aspect-ratio: var(--product-card-image-aspect-ratio, 16/9);
  object-fit: var(--product-image-fit, cover);
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--ice);
  margin-bottom: 14px;
}
.pcard .pcard-ph {
  width: 100%;
  aspect-ratio: var(--product-card-image-aspect-ratio, 16/9);
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--ice);
  display: grid;
  place-items: center;
  color: var(--aqua);
  margin-bottom: 14px;
}
.pcard .pcard-ph svg { width: 64px; height: 64px; }
.pcard .pcard-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}
.pcard .pcard-price .pval { color: var(--aqua-deep); }
.pcard .pcard-price .slash { color: var(--muted); font-weight: 500; font-size: 13px; text-decoration: line-through; }
.pcard .pcard-price .pstock { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.pcard .pcard-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 10px; }
.pcard .pcard-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
}
.pcard .pcard-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--aqua-deep);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 10px 18px;
  transition: .25s;
  width: 100%;
}
.pcard:hover .pcard-cta {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 170, 255, .35);
}

/* category cards */
.ccard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .3s;
  color: var(--ink);
  display: block;
}
.ccard:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 255, .55);
  box-shadow: 0 22px 44px rgba(0, 150, 220, .13);
}
.ccard .ccard-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.ccard .ccard-ph {
  width: 100%;
  aspect-ratio: 16/9;
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--aqua);
  background: var(--ice);
}
.ccard .ccard-ph svg { width: 64px; height: 64px; }
.ccard .ccard-body { padding: 20px; }
.ccard h3 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; margin: 0 0 6px; color: var(--ink); }
.ccard p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ccard .ccard-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--aqua-deep);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ---------- stats strip ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stat-card { text-align: center; padding: 18px 8px; }
.stat-card .num {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
}
.stat-card .lbl {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; margin-inline: auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: .25s;
  color: var(--ink);
}
.faq-item.open { border-color: rgba(0, 194, 255, .6); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 19px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}
.faq-q svg { flex: none; width: 18px; height: 18px; color: var(--aqua-deep); transition: transform .3s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.75; color: var(--muted); margin: 0; }

/* ---------- reviews (feedback cards) ---------- */
.rev-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.rev-grid > * {
  width: calc((100% - 66px) / 4);
}
.rev-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: .3s;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.rev-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 255, .55);
  box-shadow: 0 22px 44px rgba(0, 150, 220, .13);
}
.rev-card .stars { display: flex; gap: 3px; color: #ffb02e; margin-bottom: 12px; }
.rev-card .stars svg { width: 17px; height: 17px; }
.rev-card .msg { font-size: 14.5px; line-height: 1.7; color: var(--muted); margin: 0 0 14px; flex: 1; }
.rev-card .meta {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.rev-card .meta .who { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rev-card .rev-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

/* ---------- footer ---------- */
.frost-footer {
  background: #0a2540;
  color: #bfe6f7;
  padding: 74px 0 32px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin-top: 40px;
}
.foot-flake {
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 340px;
  height: 340px;
  color: #7fd8ff;
  opacity: .07;
  pointer-events: none;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
}
.foot-brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #8fc3da;
  max-width: 300px;
  font-weight: 300;
}
.frost-footer .logo svg { color: var(--cyan); }
.frost-footer .logo-name { color: #fff; }
.foot-col h4 {
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 18px;
}
.foot-col a {
  display: block;
  font-size: 14.5px;
  color: #8fc3da;
  margin-bottom: 11px;
  transition: .2s;
}
.foot-col a:hover { color: #fff; transform: translateX(3px); }
.foot-bottom {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid rgba(140, 210, 240, .15);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}
.foot-bottom .copy { font-size: 13.5px; color: #7fb3cc; }
.foot-bottom .legal { font-size: 12.5px; color: #5f93ac; max-width: 620px; line-height: 1.6; }
.foot-socials { display: flex; gap: 14px; margin-top: 18px; }
.foot-socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(140, 210, 240, .25);
  color: #8fc3da;
  transition: .2s;
  margin: 0;
}
.foot-socials a:hover { color: #fff; border-color: var(--cyan); transform: translateY(-3px); }
.foot-socials svg { width: 16px; height: 16px; }

/* ---------- toast ---------- */
#frost-toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #0a2540;
  color: #fff;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 16px 40px rgba(0, 40, 80, .35);
  opacity: 0;
  pointer-events: none;
  transition: .35s;
  z-index: 500;
  display: flex;
  gap: 9px;
  align-items: center;
}
#frost-toast.show { opacity: 1; transform: translate(-50%, 0); }
#frost-toast svg { width: 17px; height: 17px; color: var(--cyan); }

/* ---------- engine page restyling (cart / checkout / product / dashboard…) ----------
   Engine templates keep their Tailwind utility classes. We remap their look to the
   Frost palette below without touching functionality. */

/* light "ice" inputs & selects for engine forms */
.frost-body input:not([type='checkbox']):not([type='radio']):not([type='range']),
.frost-body select,
.frost-body textarea {
  border-radius: 10px !important;
  border-color: var(--line) !important;
}
.frost-body input:focus,
.frost-body select:focus,
.frost-body textarea:focus {
  border-color: var(--aqua) !important;
  box-shadow: 0 0 0 3px rgba(0, 180, 255, .15) !important;
}

/* engine page headings adopt the Frost look (overline-style underline) */
.frost-body h1 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  letter-spacing: -.5px;
}
.frost-body hr.border-accent-500 {
  width: 64px !important;
  height: 3px;
  border: none;
  border-radius: 2px;
  background: var(--grad);
  margin: 14px auto 0;
}

/* engine accent buttons adopt the frost gradient (scoped to links/buttons so
   product badges with inline colors are untouched) */
.frost-body a.bg-accent-500,
.frost-body button.bg-accent-500 {
  background-image: var(--grad);
  background-color: transparent;
  border: none;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 170, 255, .3);
}
.frost-body a.bg-accent-500:hover,
.frost-body button.bg-accent-500:hover { filter: brightness(1.06); transform: translateY(-2px); }
.frost-body .border-accent-500:not(.bg-accent-500) { border-radius: 12px; }

/* product page / cart cards look like Frost cards */
.frost-body .bg-card {
  background-color: #fff !important;
  border-radius: var(--radius);
  border: 1px solid var(--line) !important;
}
.frost-body .bg-card\/75,
.frost-body .bg-card\/50 {
  background-color: rgba(255, 255, 255, .85) !important;
  border-radius: var(--radius);
}
.frost-body .border-white\/5 { border-color: var(--line) !important; }
.frost-body .bg-white\/5 { background-color: var(--ice) !important; border-radius: 10px; }
.frost-body .bg-white\/\[0\.025\],
.frost-body .bg-white\/\[0\.03\] { background-color: var(--ice) !important; border-radius: 10px; }

/* engine text tints readable on white */
.frost-body .text-t-primary\/50,
.frost-body .text-t-primary\/60 { color: var(--muted) !important; }
.frost-body .text-t-primary\/75,
.frost-body .text-t-primary\/80 { color: #3d5b72 !important; }
.frost-body .text-t-primary { color: var(--ink) !important; }
.frost-body .text-accent-500 { color: var(--aqua-deep) !important; }
.frost-body .text-accent-400 { color: var(--aqua) !important; }

/* modals & dropdown panels keep frost styling */
.frost-body .bg-background {
  background-color: #fff !important;
  border-radius: 18px;
  border: 1px solid var(--line) !important;
}
.frost-body .bg-black\/75 { background-color: rgba(11, 37, 64, .55) !important; }

/* customer dashboard cards */
.frost-body .grid > .bg-card\/75 {
  background-color: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(0, 140, 210, .08);
}

/* maintenance page */
.frost-body .min-h-\[calc\(100vh-2rem\)\] { background: transparent; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 400px; order: -1; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .pgrid > *,
  .rev-grid > * { width: calc((100% - 22px) / 2); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links,
  .nav .btn { display: none; }
  .burger { display: flex; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .dash { grid-template-columns: 64px 1fr; }
  .side-item span,
  .b-name,
  .b-sub,
  .side-foot { display: none; }
  .brand { justify-content: center; padding-left: 0; padding-right: 0; }
  .side-item { justify-content: center; padding: 11px 0; }
}
@media (max-width: 640px) {
  .frost-section { padding: 72px 0; }
  .hero { padding: 48px 0 72px; }
  .feat-grid,
  .price-grid { grid-template-columns: 1fr; }
  .pgrid > *,
  .rev-grid > * { width: 100%; }
  .hero-stats { gap: 24px; }
  .m-set { font-size: 1.25rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .gui-stage .search input { width: 100%; }
  .gui-stage { height: 560px; }
  .gui-tip { display: none; }
}
