/* Nav fix */
.nav { background: var(--steel-dark) !important; padding: 14px 0 !important; box-shadow: 0 2px 20px rgba(0,0,0,0.25) !important; }
.nav-links a { color: var(--cream) !important; opacity: 0.85; }
.nav-links a:hover { opacity: 1 !important; }

.vpage { background: var(--cream); padding-top: 80px; min-height: 100vh; }

.vhero { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 80px); align-items: start; }

/* ── Gallery panel (left) ─────────────────────────────────── */
.vhero-photos {
  position: sticky; top: 80px;
  height: calc(100vh - 80px);
  background: #1a2030;
  display: flex; flex-direction: column; overflow: hidden;
}

.vphoto-main {
  flex: 1; position: relative; overflow: hidden;
  cursor: zoom-in; background: #1a2030;
}

.vphoto-main img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  display: block; background: #1a2030;
  transition: opacity 0.2s ease;
}

.vphoto-zoom-hint {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(26,39,68,0.7); color: rgba(250,243,224,0.75);
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px;
  padding: 5px 11px; border-radius: 20px; backdrop-filter: blur(4px);
  display: flex; align-items: center; gap: 5px;
  pointer-events: none; transition: opacity 0.3s;
}
.vphoto-main:hover .vphoto-zoom-hint { opacity: 0; }

.vphoto-counter {
  position: absolute; top: 12px; left: 12px;
  background: rgba(26,39,68,0.7); color: rgba(250,243,224,0.8);
  font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px; backdrop-filter: blur(4px);
}

.vphoto-prev, .vphoto-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(26,39,68,0.65); border: 1px solid rgba(255,255,255,0.15);
  color: white; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s; backdrop-filter: blur(4px); z-index: 2;
}
.vphoto-prev { left: 10px; }
.vphoto-next { right: 10px; }
.vphoto-prev:hover, .vphoto-next:hover { background: var(--mesa); border-color: transparent; }

/* ── Thumbnail grid ───────────────────────────────────────── */
.vphoto-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px; padding: 3px;
  background: rgba(0,0,0,0.5);
  flex-shrink: 0;
}

.vthumb {
  aspect-ratio: 4/3; cursor: pointer; overflow: hidden;
  border-radius: 3px; border: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.5; background: #1a2030;
}
.vthumb:hover { opacity: 0.8; }
.vthumb.active { border-color: var(--mesa); opacity: 1; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* ── Right: info ──────────────────────────────────────────── */
.vhero-info {
  padding: 48px 48px 64px;
  display: flex; flex-direction: column; gap: 28px;
}

.vbreadcrumb {
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  color: var(--steel-light);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.vbreadcrumb a { color: var(--steel-light); transition: color 0.2s; }
.vbreadcrumb a:hover { color: var(--mesa); }

.vbadge {
  display: inline-flex; align-items: center;
  background: rgba(168,64,44,0.1); border: 1px solid rgba(168,64,44,0.25);
  color: var(--mesa); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--radius); width: fit-content;
}

.vname {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px); font-weight: 800;
  text-transform: uppercase; color: var(--steel-dark);
  line-height: 1.05; margin: 8px 0 4px;
}

.vtrim { font-size: 13px; color: var(--steel-light); font-weight: 500; letter-spacing: 0.5px; }

.vtagline {
  font-size: 16px; color: var(--steel); line-height: 1.7;
  border-left: 3px solid var(--mesa); padding-left: 16px;
}

.vspecs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(74,107,124,0.12);
  border-radius: 10px; overflow: hidden;
}
.vspec { background: white; padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; }
.vspec-label { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--steel-light); }
.vspec-value { font-family: var(--font-display); font-size: 18px; font-weight: 700; text-transform: uppercase; color: var(--steel-dark); line-height: 1.1; }

.vfeatures-title {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: var(--steel-dark);
  margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(74,107,124,0.1);
}

.vfeatures-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.vfeature { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--navy); line-height: 1.4; }
.vfeature-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mesa); flex-shrink: 0; margin-top: 4px; }

.vpricing { background: white; border-radius: 12px; padding: 22px; box-shadow: var(--shadow-card); }

.vprice-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.vprice-main { display: flex; flex-direction: column; gap: 2px; }
.vprice-from { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--steel-light); }
.vprice-amount { font-family: var(--font-display); font-size: 44px; font-weight: 800; color: var(--steel-dark); line-height: 1; }
.vprice-unit { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--steel-light); }
.vprice-discounts { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.vprice-disc { font-size: 12px; font-weight: 700; color: #2D7A4F; background: rgba(45,122,79,0.08); padding: 4px 12px; border-radius: 20px; white-space: nowrap; }
.vprice-divider { height: 1px; background: rgba(74,107,124,0.1); margin: 0 0 14px; }
.vprice-includes { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.vprice-include { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--steel); }
.vprice-include svg { color: var(--steel-light); flex-shrink: 0; }
.vprice-actions { display: flex; gap: 10px; }
.vprice-actions .btn { flex: 1; text-align: center; }

.vpolicies { display: flex; flex-direction: column; gap: 10px; }
.vpolicy { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--steel); line-height: 1.5; }
.vpolicy svg { color: var(--steel-light); flex-shrink: 0; margin-top: 1px; }

/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; background: rgba(10,15,30,0.96);
  z-index: 9999; display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; animation: lbIn 0.2s ease; }
@keyframes lbIn { from { opacity:0; } to { opacity:1; } }

.lightbox-img-wrap { max-width: 90vw; max-height: 88vh; display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }

.lightbox-close {
  position: fixed; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: white; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.lightbox-close:hover { background: var(--mesa); }

.lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: white; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--mesa); }
.lightbox-counter { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 600; }

/* ── Scroll to top ────────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 900;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--steel-dark); border: 2px solid rgba(250,243,224,0.15);
  color: var(--cream); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  transform: translateY(10px); box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.scroll-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top:hover { background: var(--mesa); }
.wrangler-icon { width: 28px; height: 16px; }
.scroll-top-label { font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(250,243,224,0.6); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .vhero { grid-template-columns: 1fr; min-height: auto; }
  .vhero-photos { position: relative; top: 0; height: auto; }
  .vphoto-main { height: 55vw; min-height: 240px; max-height: 400px; }
  .vhero-info { padding: 32px 20px 48px; }
  .vfeatures-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .vspecs { grid-template-columns: 1fr 1fr; }
  .vprice-row { flex-direction: column; align-items: flex-start; }
  .vprice-discounts { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .vprice-actions { flex-direction: column; }
  .lightbox-prev, .lightbox-next { display: none; }
}
