/* ==========================================================================
   Template demo shell — exploredemo.css
   Prefix: exp-demo- / exp-vp-
   ========================================================================== */

.exp-demo-body {
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #e9e5e1;
  font-family: 'Manrope', sans-serif;
  overflow: hidden;
}

/* ---- Toolbar ---- */

.exp-demo-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  background: #1d1b1a;
  color: #f2edea;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.exp-demo-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f2edea;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.exp-demo-back:hover { color: #d9b9a0; }
.exp-demo-back .material-symbols-outlined { font-size: 18px; }

.exp-demo-slug {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a89f97;
  white-space: nowrap;
}

/* ---- Viewport switch ---- */

.exp-demo-switch {
  display: inline-flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 4px;
}

.exp-vp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #cfc8c1;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.exp-vp-btn:hover { color: #fff; }
.exp-vp-btn.is-active { background: #f2edea; color: #1d1b1a; }
.exp-vp-btn .material-symbols-outlined { font-size: 18px; }

@media (max-width: 640px) {
  .exp-vp-label { display: none; }
  .exp-demo-slug { display: none; }
}

/* ---- Stage + iframe ---- */

.exp-demo-main {
  flex: 1 1 auto;
  overflow: auto;
  display: flex;
  justify-content: center;
  padding: 24px;
}

.exp-demo-stage {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0 auto;
  transition: max-width 0.3s ease;
}

.exp-demo-stage[data-vp="tablet"],
.exp-demo-stage[data-vp="phone"] {
  border-radius: 22px;
  padding: 14px;
  background: #1d1b1a;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  height: auto;
  min-height: 100%;
}

#demo-frame {
  width: 100%;
  height: 100%;
  min-height: 70vh;
  border: 0;
  background: #fff;
  display: block;
}

.exp-demo-stage[data-vp="tablet"] #demo-frame,
.exp-demo-stage[data-vp="phone"] #demo-frame {
  border-radius: 10px;
  height: 78vh;
}
