/* Vape Velocity — responsive layout */

.vv-site {
  overflow-x: clip;
}
.vv-site img {
  max-width: 100%;
  height: auto;
}
image-slot {
  display: block;
  max-width: 100%;
}

/* ── Mobile nav ── */
.vv-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  flex-shrink: 0;
  margin-left: auto;
}
.vv-menu-icon {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: background 0.2s ease;
}
.vv-menu-icon::before,
.vv-menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s ease, top 0.2s ease;
}
.vv-menu-icon::before { top: -6px; }
.vv-menu-icon::after { top: 6px; }
.vv-nav-open .vv-menu-icon { background: transparent; }
.vv-nav-open .vv-menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.vv-nav-open .vv-menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}
.vv-header-cta {
  flex-shrink: 0;
}

@media (min-width: 769px) {
  .vv-menu-btn {
    display: none !important;
  }
  .vv-header {
    display: flex;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
    box-sizing: border-box;
    height: 76px;
  }
  .vv-header-inner {
    flex: 0 0 auto;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 76px !important;
    position: static;
  }
  .vv-mobile-panel {
    flex: 1;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    position: static;
    max-height: none;
    background: none;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    overflow: visible;
    padding: 0;
  }
  .vv-nav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    width: auto;
  }
  .vv-nav button {
    width: auto;
    text-align: center;
    padding: 8px 11px !important;
    border-bottom: none;
    white-space: nowrap !important;
  }
  .vv-header-cta {
    display: block !important;
    width: auto;
    margin-top: 0;
  }
}
@media (max-width: 1024px) {
  .vv-grid-4,
  .vv-metrics {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .vv-grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .vv-venues-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .vv-footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
  }
}

/* ── Mobile ≤768px ── */
@media (max-width: 768px) {
  /* Header — fixed bar height, menu overlays content */
  .vv-header {
    position: sticky;
    top: 0;
  }
  .vv-header-inner {
    padding: 0 16px !important;
    height: 64px !important;
    min-height: 64px;
    flex-wrap: nowrap !important;
    gap: 12px !important;
  }
  .vv-header-inner > button:first-child img {
    height: 36px !important;
  }
  .vv-menu-btn {
    display: flex;
  }
  .vv-mobile-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 29;
    flex-direction: column;
    max-height: calc(100dvh - 64px);
    background: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    padding: 12px 16px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .vv-nav-open .vv-mobile-panel {
    display: flex;
  }
  .vv-nav {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    margin: 0 !important;
    padding: 0;
    gap: 0 !important;
  }
  .vv-nav button {
    width: 100%;
    text-align: left;
    padding: 14px 4px !important;
    font-size: 12px !important;
    white-space: normal !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .vv-nav button:last-child {
    border-bottom: none;
  }
  .vv-header-cta {
    display: block !important;
    width: 100%;
    margin-top: 16px;
    text-align: center;
    padding: 14px 16px !important;
    flex-shrink: 0;
  }

  /* Section padding */
  .vv-site main section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .vv-hero {
    padding-top: 36px !important;
    padding-bottom: 28px !important;
  }
  .vv-site main section[style*="padding:74px"],
  .vv-site main section[style*="padding:80px"],
  .vv-site main section[style*="padding:90px"] {
    padding-top: 40px !important;
    padding-bottom: 36px !important;
  }
  .vv-site main section > div[style*="padding:64px"],
  .vv-site main section > div[style*="padding:80px"] {
    padding-top: 40px !important;
    padding-bottom: 36px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Grids → stack */
  .vv-grid-2,
  .vv-grid-3,
  .vv-grid-4,
  .vv-hero,
  .vv-machine-detail,
  .vv-reach,
  .vv-contact,
  .vv-mobile-unit,
  .vv-profit-box,
  .vv-footer-grid,
  .vv-metrics {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .vv-venues-grid {
    grid-template-columns: 1fr !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Hero */
  .vv-hero h1 {
    max-width: none !important;
    font-size: clamp(30px, 8.5vw, 48px) !important;
    line-height: 0.95 !important;
  }
  .vv-hero-image {
    min-height: auto !important;
    order: -1;
    padding-top: 8px;
  }
  .vv-hero-image img {
    max-height: 340px !important;
  }
  .vv-hero-tag {
    flex-wrap: wrap;
    gap: 8px !important;
    margin-bottom: 18px !important;
  }
  .vv-hero-tag span:last-child {
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
    line-height: 1.45;
  }

  /* Stat & value strips */
  .vv-stat-strip {
    padding: 0 16px !important;
  }
  .vv-stat-strip [style*="border-right"],
  .vv-values [style*="border-right"] {
    border-right: none !important;
    border-bottom: 1px solid var(--line);
    padding: 22px 16px !important;
  }
  .vv-values [style*="min-height"] {
    min-height: auto !important;
  }

  /* Cards */
  .vv-path-card {
    padding: 26px 20px !important;
  }

  /* Machine tabs */
  .vv-machine-tabs {
    grid-template-columns: 1fr !important;
    border: none !important;
    gap: 8px !important;
  }
  .vv-machine-tabs button {
    border: 1px solid var(--line) !important;
  }
  .vv-machine-image {
    min-height: 300px !important;
    padding: 16px !important;
  }
  .vv-machine-image image-slot,
  .vv-machine-image [style*="height:500px"] {
    height: 260px !important;
    max-height: 260px !important;
  }

  /* Comparison chart */
  .vv-chart-row {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }
  .vv-chart-row > span:last-child {
    text-align: left !important;
  }
  .vv-chart-row > div {
    width: 100%;
  }

  /* Spec / table rows */
  .vv-spec-row {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }
  .vv-spec-row > span:last-child {
    text-align: left !important;
    word-break: break-word;
  }
  .vv-machine-specs > div {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }
  .vv-machine-specs > div > span:last-child {
    text-align: left !important;
  }

  /* Host steps */
  .vv-step-row {
    grid-template-columns: 64px 1fr !important;
    gap: 16px !important;
    padding: 28px 0 !important;
  }
  .vv-step-row > div:first-child {
    font-size: 44px !important;
  }
  .vv-step-row > div:last-child {
    max-width: none !important;
  }

  /* Profit share */
  .vv-profit-box {
    padding: 24px 20px !important;
  }
  .vv-profit-tiers > div {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    padding: 16px !important;
  }

  /* Addons */
  .vv-addon-row {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 20px !important;
  }
  .vv-addon-row > span {
    white-space: normal !important;
  }
  .vv-titan-title {
    font-size: 36px !important;
  }

  /* Venues */
  .vv-venues-grid [style*="border-right"] {
    border-right: none !important;
    padding: 28px 16px !important;
    min-height: auto !important;
  }
  .vv-mobile-unit > div:last-child {
    border-left: none !important;
    border-top: 1px solid var(--line);
    padding: 24px 16px !important;
  }
  .vv-mobile-unit > div:first-child {
    padding: 28px 20px !important;
  }
  .vv-mobile-unit img {
    max-height: 280px !important;
  }

  /* Contact */
  .vv-contact {
    gap: 32px !important;
    padding-bottom: 48px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .vv-contact-form {
    grid-template-columns: 1fr !important;
  }
  .vv-contact-form label[style*="grid-column"] {
    grid-column: 1 !important;
  }
  .vv-contact-form > div[style*="display:flex"] {
    flex-direction: column !important;
  }
  .vv-contact-aside {
    border-left: none !important;
    border-top: 1px solid var(--line);
    padding-left: 0 !important;
    padding-top: 28px;
  }
  .vv-contact-aside > div:nth-child(2) {
    font-size: 48px !important;
  }

  /* Tier cards */
  .vv-tier-card {
    min-height: auto !important;
  }

  /* Ad close banner */
  .vv-ad-close {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 20px !important;
    gap: 16px !important;
  }
  .vv-ad-close button {
    width: 100%;
    text-align: center;
  }

  /* Card padding reduction */
  .vv-site [style*="padding:40px"],
  .vv-site [style*="padding:44px"],
  .vv-site [style*="padding:48px"] {
    padding: 24px 20px !important;
  }
  .vv-site [style*="padding:38px"] {
    padding: 24px 20px !important;
  }
  .vv-site [style*="padding:34px"] {
    padding: 22px 18px !important;
  }
  .vv-site [style*="padding:32px"] {
    padding: 20px 16px !important;
  }

  /* CTA buttons */
  .vv-hero-btns,
  .vv-cta-btns {
    flex-direction: column;
    width: 100%;
  }
  .vv-hero-btns button,
  .vv-cta-btns button {
    width: 100%;
    text-align: center;
  }

  /* Footer */
  .vv-footer-grid {
    padding: 40px 16px 28px !important;
    gap: 28px !important;
  }
  .vv-footer-bottom {
    padding: 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .vv-footer-bottom > span:last-child {
    flex-wrap: wrap;
    line-height: 1.5;
  }

  /* Headings */
  .vv-site h1,
  .vv-site h2 {
    max-width: none !important;
  }

  /* Includes */
  .vv-includes-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Metrics grid with gap:1px */
  .vv-metrics {
    gap: 1px !important;
  }
}

/* ── Small phones ≤480px ── */
@media (max-width: 480px) {
  .vv-grid-4,
  .vv-stat-strip,
  .vv-values,
  .vv-metrics {
    grid-template-columns: 1fr !important;
  }
  .vv-hero h1 {
    font-size: clamp(26px, 8vw, 36px) !important;
  }
  .vv-step-row {
    grid-template-columns: 1fr !important;
  }
  .vv-step-row > div:first-child {
    font-size: 36px !important;
  }
  .vv-footer-grid {
    grid-template-columns: 1fr !important;
  }
}
