/* ============================================================
   Wag'n Tails - Shared grooming vehicle product pages
   Enqueue on all designed groom product templates.
   Scoped under body.wagn-vehicle-product. Do NOT style bare form controls.
   ============================================================ */

body.wagn-vehicle-product *,
body.wagn-vehicle-product *::before,
body.wagn-vehicle-product *::after {
  box-sizing: border-box;
}

html:has(body.wagn-vehicle-product) {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body.wagn-vehicle-product {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--wagn-atmosphere);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.wagn-vehicle-product img,
body.wagn-vehicle-product svg {
  display: block;
  max-width: 100%;
}

body.wagn-vehicle-product a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

body.wagn-vehicle-product h1,
body.wagn-vehicle-product h2,
body.wagn-vehicle-product h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--purple);
  margin: 0 0 0.75rem;
}

body.wagn-vehicle-product p {
  margin: 0 0 1rem;
}

body.wagn-vehicle-product p:last-child {
  margin-bottom: 0;
}

body.wagn-vehicle-product ul,
body.wagn-vehicle-product ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.wagn-vehicle-product :focus {
  outline: none;
}

body.wagn-vehicle-product :focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
}

body.wagn-vehicle-product .container {
  width: min(100% - (2 * var(--page-gutter)), var(--container));
  margin-inline: auto;
}

body.wagn-vehicle-product .container--narrow {
  width: min(100% - (2 * var(--page-gutter)), var(--container-narrow));
  margin-inline: auto;
}

body.wagn-vehicle-product .section {
  padding-block: var(--section-y);
  position: relative;
}

body.wagn-vehicle-product .section > .container,
body.wagn-vehicle-product .section > .container--narrow {
  position: relative;
  z-index: 1;
}

body.wagn-vehicle-product .text-gradient {
  background-image: var(--heading-gradient);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.vp-section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto clamp(1.35rem, 3vw, 1.85rem);
}

.vp-section-header h2 {
  font-family: var(--font-fun);
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.vp-section-header p {
  color: var(--ink-muted);
  font-size: 1.05rem;
}

/* Buttons on this page: white text on purple */
body.wagn-vehicle-product a.btn--primary,
body.wagn-vehicle-product a.btn--primary:link,
body.wagn-vehicle-product a.btn--primary:visited,
body.wagn-vehicle-product .btn--primary {
  color: var(--white) !important;
}

body.wagn-vehicle-product .btn--large {
  padding: 0.95rem 1.55rem;
  font-size: 1.05rem;
}

/* Tile icons */
body.wagn-vehicle-product .tile-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  background-color: var(--aqua);
  -webkit-mask: var(--tile-icon) center / contain no-repeat;
  mask: var(--tile-icon) center / contain no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

body.wagn-vehicle-product .tile-icon--bolt { --tile-icon: url("images/icons/bolt.svg"); }
body.wagn-vehicle-product .tile-icon--user { --tile-icon: url("images/icons/user.svg"); }
body.wagn-vehicle-product .tile-icon--star { --tile-icon: url("images/icons/star.svg"); }
body.wagn-vehicle-product .tile-icon--table { --tile-icon: url("images/icons/table.svg"); }
body.wagn-vehicle-product .tile-icon--scissors { --tile-icon: url("images/icons/scissors.svg"); }
body.wagn-vehicle-product .tile-icon--shield { --tile-icon: url("images/icons/shield.svg"); }
body.wagn-vehicle-product .tile-icon--paw { --tile-icon: url("images/icons/paw.svg"); }
body.wagn-vehicle-product .tile-icon--heart { --tile-icon: url("images/icons/heart.svg"); }
body.wagn-vehicle-product .tile-icon--dollar { --tile-icon: url("images/icons/dollar.svg"); }
body.wagn-vehicle-product .tile-icon--vehicle { --tile-icon: url("images/icons/grooming-van-icon.png"); }

/* Doodles */
body.wagn-vehicle-product .doodles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

body.wagn-vehicle-product .doodle {
  position: absolute;
  color: var(--purple);
  opacity: 0.14;
  line-height: 0;
}

body.wagn-vehicle-product .doodle--icon {
  display: block;
  background-color: currentColor;
  -webkit-mask: var(--doodle-icon) center / contain no-repeat;
  mask: var(--doodle-icon) center / contain no-repeat;
  aspect-ratio: 1;
  height: auto;
}

body.wagn-vehicle-product .doodle--icon-paw { --doodle-icon: url("images/icons/paw.svg"); }
body.wagn-vehicle-product .doodle--icon-star { --doodle-icon: url("images/icons/star.svg"); }
body.wagn-vehicle-product .doodle--icon-heart { --doodle-icon: url("images/icons/heart.svg"); }
body.wagn-vehicle-product .doodle--icon-bolt { --doodle-icon: url("images/icons/bolt.svg"); }
body.wagn-vehicle-product .doodle--icon-leaf { --doodle-icon: url("images/icons/leaf.svg"); }
body.wagn-vehicle-product .doodle--icon-vehicle { --doodle-icon: url("images/icons/grooming-van-doodle.svg"); }
body.wagn-vehicle-product .doodle--icon-user { --doodle-icon: url("images/icons/user.svg"); }
body.wagn-vehicle-product .doodle--icon-dollar { --doodle-icon: url("images/icons/dollar.svg"); }
body.wagn-vehicle-product .doodle--icon-key { --doodle-icon: url("images/icons/key.svg"); }
body.wagn-vehicle-product .doodle--icon-pin { --doodle-icon: url("images/icons/pin.svg"); }
body.wagn-vehicle-product .doodle--icon-diamond { --doodle-icon: url("images/icons/diamond.svg"); }

body.wagn-vehicle-product .doodle--teal { color: var(--aqua); opacity: 0.22; }
body.wagn-vehicle-product .doodle--soft { opacity: 0.11; }

body.wagn-vehicle-product .doodle--vp-1 { width: 2.1rem; top: 12%; left: 5%; transform: rotate(-16deg); }
body.wagn-vehicle-product .doodle--vp-2 { width: 1.5rem; top: 18%; right: 7%; transform: rotate(14deg); }
body.wagn-vehicle-product .doodle--vp-3 { width: 1.85rem; top: 48%; left: 6%; transform: rotate(12deg); }
body.wagn-vehicle-product .doodle--vp-4 { width: 1.4rem; bottom: 16%; right: 8%; transform: rotate(-10deg); }
body.wagn-vehicle-product .doodle--vp-5 { width: 1.6rem; top: 12%; left: 6%; transform: rotate(-14deg); }
body.wagn-vehicle-product .doodle--vp-6 { width: 1.9rem; bottom: 14%; right: 7%; transform: rotate(10deg); }
body.wagn-vehicle-product .doodle--vp-7 { width: 1.45rem; top: 12%; right: 8%; transform: rotate(-12deg); }
body.wagn-vehicle-product .doodle--vp-8 { width: 1.7rem; bottom: 12%; left: 5%; transform: rotate(16deg); }
body.wagn-vehicle-product .doodle--vp-9 { width: 1.55rem; top: 10%; left: 7%; transform: rotate(-18deg); }
body.wagn-vehicle-product .doodle--vp-10 { width: 1.35rem; top: 16%; right: 6%; transform: rotate(12deg); }
body.wagn-vehicle-product .doodle--vp-11 { width: 1.7rem; top: 12%; left: 5%; transform: rotate(-12deg); }
body.wagn-vehicle-product .doodle--vp-12 { width: 1.5rem; bottom: 16%; right: 7%; transform: rotate(10deg); }
body.wagn-vehicle-product .doodle--vp-13 { width: 1.55rem; top: 14%; left: 8%; transform: rotate(-8deg); }
body.wagn-vehicle-product .doodle--vp-14 { width: 1.4rem; bottom: 18%; right: 9%; transform: rotate(14deg); }
body.wagn-vehicle-product .doodle--vp-15 { width: 1.9rem; top: 12%; right: 8%; transform: rotate(-14deg); }
body.wagn-vehicle-product .doodle--vp-16 { width: 1.55rem; bottom: 14%; left: 7%; transform: rotate(12deg); }
body.wagn-vehicle-product .doodle--vp-17 { width: 1.65rem; top: 16%; left: 8%; transform: rotate(-12deg); }
body.wagn-vehicle-product .doodle--vp-18 { width: 1.4rem; bottom: 18%; right: 9%; transform: rotate(16deg); }
body.wagn-vehicle-product .doodle--vp-19 { width: 1.8rem; top: 14%; left: 8%; transform: rotate(-10deg); }
body.wagn-vehicle-product .doodle--vp-20 { width: 1.45rem; bottom: 20%; right: 8%; transform: rotate(12deg); }

@media (max-width: 700px) {
  body.wagn-vehicle-product .doodle--vp-3,
  body.wagn-vehicle-product .doodle--vp-5,
  body.wagn-vehicle-product .doodle--vp-9,
  body.wagn-vehicle-product .doodle--vp-15 {
    opacity: 0.08;
  }

  .vp-hero__title {
    font-size: clamp(1.85rem, 8vw, 2.55rem);
    padding-inline: 0.15rem;
  }

  .vp-hero__lede {
    font-size: 0.98rem;
    padding-inline: 0.2rem;
  }

  .vp-hero__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 22rem;
    margin-inline: auto;
  }

  .vp-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Reveals ---------- */
html.js body.wagn-vehicle-product [data-reveal] {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition:
    opacity var(--reveal-duration) var(--ease-editorial),
    transform var(--reveal-duration) var(--ease-editorial);
  transition-delay: var(--reveal-delay, 0ms);
}

html.js body.wagn-vehicle-product [data-reveal].is-inview,
html.js body.wagn-vehicle-product [data-reveal="title"].is-inview,
html:not(.js) body.wagn-vehicle-product [data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js body.wagn-vehicle-product [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .vp-hero__art img,
  .vp-stats li {
    transition: none !important;
    transform: none !important;
    filter: none;
  }
}

/* ---------- Hero ---------- */
.vp-hero {
  position: relative;
  width: 100%;
  padding-top: calc(var(--header-h) + var(--header-gap));
  padding-bottom: clamp(1.25rem, 2.5vw, 1.85rem);
  text-align: center;
  overflow: hidden;
  background: var(--wagn-hero-atmosphere);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.vp-hero__glow {
  position: absolute;
  inset: 0;
  height: auto;
  background: var(--wagn-hero-glow);
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
}

.vp-brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-fun);
  font-size: clamp(1.75rem, 4.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--purple);
}

.vp-hero__eyebrow {
  margin: 0 auto 0.65rem;
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border-radius: 0.55rem 0.85rem 0.5rem 0.75rem;
  background: var(--aqua-soft);
  border: 1px solid rgba(96, 51, 135, 0.14);
  color: var(--purple);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vp-hero__title {
  font-family: var(--font-fun);
  font-size: clamp(1.85rem, 4.4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.vp-hero__lede {
  max-width: 38rem;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.vp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.vp-hero__art {
  position: relative;
  margin: 1.65rem auto 0;
  max-width: min(100%, 52rem);
  padding: 0.35rem;
  filter: none;
}

.vp-hero__art::before {
  content: "";
  position: absolute;
  inset: 8% 6% auto;
  height: 55%;
  z-index: 0;
  background: var(--wagn-hero-glow);
  pointer-events: none;
}

.vp-hero__art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  margin-inline: auto;
  /* Drop-shadow lives on .vp-hero__art (desktop only) — filter+scroll blurs on mobile */
  transition: transform 0.55s var(--ease-editorial);
}

@media (min-width: 900px) and (pointer: fine) {
  .vp-hero__art {
    filter: drop-shadow(0 22px 36px rgba(58, 48, 72, 0.16));
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .vp-hero__art:hover img {
    transform: translateY(-4px) scale(1.01);
  }
}

/* Desktop media settle: see wagn-motion.css (.is-media-enter / .is-media-settled) */

@media (max-width: 899px), (pointer: coarse) {
  .vp-feature__media img,
  .vp-hero__art img,
  .vp-tour__facade img {
    transform: none !important;
    will-change: auto;
    filter: none;
  }
}

.vp-wave {
  line-height: 0;
  margin-top: -0.5rem;
}

.vp-wave svg {
  width: 100%;
  height: clamp(2.5rem, 6vw, 4.5rem);
}

.vp-wave__fill {
  fill: var(--lavender);
}

/* ---------- Size ---------- */
.vp-size {
  background: linear-gradient(180deg, var(--lavender) 0%, var(--white) 70%);
}

.vp-scale-stage {
  position: relative;
  margin: 0 auto 1.75rem;
  max-width: 48rem;
}

.vp-scale {
  margin: 0;
  padding: 1.15rem 1.25rem 1.35rem;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(243, 236, 251, 0.45)),
    var(--white);
  border: 1px solid var(--line);
  border-radius: 1.25rem 1.5rem 1.15rem 1.35rem;
  box-shadow:
    12px 14px 0 -4px rgba(138, 214, 204, 0.28),
    0 16px 34px rgba(58, 48, 72, 0.08);
}

.vp-scale img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Reserve space before decode (matches authored width/height on scale assets) */
.vp-scale img[height="682"] {
  aspect-ratio: 1024 / 682;
}

.vp-scale img[height="220"] {
  aspect-ratio: 720 / 220;
}

.vp-callouts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.vp-callout {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-muted);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(58, 48, 72, 0.06);
}

.vp-callout span {
  color: var(--purple);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.vp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.vp-stats li {
  text-align: center;
  padding: 1.1rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem 1.2rem 0.9rem 1.1rem;
  transition: transform var(--motion-fast) var(--ease-editorial), border-color var(--motion-fast) var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .vp-stats li:hover {
    transform: translateY(-3px);
    border-color: rgba(96, 51, 135, 0.26);
  }
}

@media (min-width: 800px) {
  .vp-stats li:nth-child(2) { transform: translateY(0.35rem); }
  .vp-stats li:nth-child(3) { transform: translateY(0.15rem); }
  .vp-stats li:nth-child(4) { transform: translateY(0.45rem); }

  .vp-stats li:nth-child(2):hover { transform: translateY(calc(0.35rem - 3px)); }
  .vp-stats li:nth-child(3):hover { transform: translateY(calc(0.15rem - 3px)); }
  .vp-stats li:nth-child(4):hover { transform: translateY(calc(0.45rem - 3px)); }
}

.vp-stats__value {
  margin: 0;
  font-family: var(--font-fun);
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.02em;
}

.vp-stats__label {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-weight: 600;
}

@media (max-width: 700px) {
  .vp-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Why tiles ---------- */
.vp-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.vp-tile {
  height: 100%;
  padding: 1.35rem 1.25rem 1.45rem;
  background:
    linear-gradient(160deg, rgba(243, 236, 251, 0.85), rgba(255, 255, 255, 0.95) 45%),
    var(--white);
  border: 1px solid var(--line);
  border-radius: 1.25rem 1.45rem 1.1rem 1.3rem;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.vp-tile h3 {
  margin: 0.85rem 0 0.45rem;
  font-size: 1.15rem;
}

.vp-tile p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

@media (hover: hover) and (pointer: fine) {
  .vp-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(96, 51, 135, 0.28);
  }

  .vp-tile:hover .tile-icon {
    transform: scale(1.06);
    background-color: var(--purple);
  }
}

@media (max-width: 700px) {
  .vp-tiles {
    grid-template-columns: 1fr;
  }
}

/* ---------- 3D tour ---------- */
.vp-tour {
  background:
    radial-gradient(ellipse 55% 40% at 15% 20%, rgba(243, 236, 251, 0.9), transparent 55%),
    var(--white);
}

.vp-tour__shell {
  position: relative;
  max-width: 52rem;
  margin-inline: auto;
  border-radius: 1.25rem 1.45rem 1.15rem 1.35rem;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--lavender);
  box-shadow: 0 14px 32px rgba(58, 48, 72, 0.07);
}

.vp-tour__facade {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: inherit;
  text-align: center;
}

.vp-tour__facade img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: brightness(0.92);
}

.vp-tour__facade-label {
  position: absolute;
  inset: auto 50% 1.25rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(58, 48, 72, 0.22);
}

.vp-tour__play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.45rem 0 0.45rem 0.75rem;
  border-color: transparent transparent transparent var(--white);
}

.vp-tour__shell.is-loaded .vp-tour__facade {
  display: none;
}

.vp-tour__frame {
  position: relative;
  width: 100%;
  min-height: 22rem;
  aspect-ratio: 16 / 9;
  background: #0f0a16;
}

.vp-tour__frame .wpvr-cardboard,
.vp-tour__frame #master-container,
.vp-tour__frame .pano-wrap {
  max-width: 100% !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 22rem;
  border: 0 !important;
  border-radius: 0 !important;
}

.vp-tour__frame .pnlm-container,
.vp-tour__frame .pnlm-render-container,
.vp-tour__frame canvas {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
}

.vp-tour__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vp-tour__fallback {
  margin: 0;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--ink-muted);
}

.vp-tour__fallback a {
  color: var(--purple);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .vp-tour__facade img {
    filter: none;
  }
}

/* ---------- Gallery ---------- */
.vp-gallery {
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(226, 243, 241, 0.7), transparent 55%),
    var(--mint);
}

.vp-gallery__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.85rem;
}

.vp-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 1.2rem 1.4rem 1.1rem 1.3rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.vp-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.vp-gallery__item--wide {
  grid-column: 1 / 2;
}

.vp-gallery__item--wide:first-child {
  grid-row: 1 / 3;
}

.vp-gallery__item--wide:first-child img {
  aspect-ratio: 3 / 4;
  min-height: 100%;
}

.vp-gallery__item--wide:not(:first-child) {
  grid-column: 1 / -1;
}

.vp-gallery__item--wide:not(:first-child) img {
  aspect-ratio: 21 / 9;
}

@media (max-width: 800px) {
  .vp-gallery__grid {
    grid-template-columns: 1fr 1fr;
  }

  .vp-gallery__item--wide:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .vp-gallery__item--wide:first-child img {
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Features ---------- */
.vp-feature-rows {
  display: grid;
  gap: 2rem;
}

.vp-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.vp-feature--flip .vp-feature__media {
  order: 2;
}

.vp-feature--flip .vp-feature__copy {
  order: 1;
}

.vp-feature__media {
  margin: 0;
  overflow: hidden;
  border-radius: 1.35rem 1.55rem 1.25rem 1.45rem;
  border: 1px solid var(--line);
  background: var(--lavender);
}

.vp-feature__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.vp-feature__copy h3 {
  font-family: var(--font-fun);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 800;
}

.vp-feature__copy ul {
  display: grid;
  gap: 0.65rem;
}

.vp-feature__copy li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.vp-feature__copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--aqua);
}

.vp-feature__note {
  margin-top: 1rem !important;
  font-size: 0.95rem;
}

.vp-feature__note a {
  color: var(--purple);
  font-weight: 700;
}

@media (max-width: 800px) {
  .vp-feature,
  .vp-feature--flip {
    grid-template-columns: 1fr;
  }

  .vp-feature--flip .vp-feature__media,
  .vp-feature--flip .vp-feature__copy {
    order: initial;
  }
}

/* ---------- Pricing ---------- */
.vp-pricing {
  background: linear-gradient(180deg, var(--lavender) 0%, var(--white) 85%);
}

.vp-price {
  max-width: 28rem;
  margin: 0 auto 1.25rem;
  padding: 1.5rem 1.4rem 1.35rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.35rem 1.55rem 1.25rem 1.45rem;
  box-shadow: 0 14px 32px rgba(58, 48, 72, 0.07);
}

.vp-price__label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.vp-price__value {
  margin: 0.35rem 0 1rem;
  font-family: var(--font-fun);
  font-size: clamp(2.1rem, 5vw, 2.85rem);
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.03em;
}

.vp-price__breakdown {
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.vp-price__breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 0.98rem;
  color: var(--ink-muted);
}

.vp-price__total {
  margin-top: 0.35rem;
  padding-top: 0.65rem !important;
  border-top: 1px solid var(--line);
  font-weight: 700;
  color: var(--purple) !important;
}

.vp-price__note {
  margin-top: 1rem !important;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.vp-price__note a {
  color: var(--purple);
  font-weight: 700;
}

.vp-luxe {
  max-width: 36rem;
  margin: 0 auto;
  padding: 1.25rem 1.35rem;
  text-align: center;
  background: var(--aqua-soft);
  border: 1px solid rgba(138, 214, 204, 0.55);
  border-radius: 1.15rem 1.35rem 1.05rem 1.25rem;
}

.vp-luxe h3 {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}

.vp-luxe p {
  margin: 0;
  color: var(--ink-muted);
}

/* ---------- Specs ---------- */
.vp-specs__grid {
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.2rem 1.4rem 1.1rem 1.3rem;
  margin-bottom: 1.35rem;
}

.vp-specs__grid dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.25rem;
  margin: 0;
}

.vp-specs__grid div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(96, 51, 135, 0.08);
}

.vp-specs__grid dt {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.vp-specs__grid dd {
  margin: 0;
  font-weight: 700;
  color: var(--purple);
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-align: right;
}

.vp-floorplan {
  margin: 0;
  text-align: center;
}

.vp-floorplan img {
  width: 100%;
  height: auto;
  border-radius: 1rem 1.2rem 0.9rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.vp-floorplan figcaption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

@media (max-width: 600px) {
  .vp-specs__grid dl {
    grid-template-columns: 1fr;
  }
}

/* ---------- Finance ---------- */
.vp-finance {
  background:
    radial-gradient(ellipse 70% 45% at 20% 0%, rgba(243, 236, 251, 0.9), transparent 55%),
    var(--mint);
}

.vp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
  counter-reset: none;
}

.vp-steps li {
  padding: 1.25rem 1.15rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.2rem 1.4rem 1.1rem 1.3rem;
  text-align: center;
}

.vp-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.65rem;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-fun);
  font-weight: 800;
  font-size: 0.95rem;
}

.vp-steps h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.vp-steps p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.vp-inline-cta,
.vp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (max-width: 800px) {
  .vp-steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Support + CTA ---------- */
.vp-support__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  justify-content: center;
}

.vp-support__links a {
  color: var(--purple);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
}

.vp-cta {
  text-align: center;
  padding-bottom: clamp(3rem, 6vw, 4.25rem);
}

.vp-cta h2 {
  font-family: var(--font-fun);
  font-size: clamp(1.85rem, 3.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin-inline: auto;
}

.vp-cta p {
  max-width: 34rem;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
}


/* Compact feature tiles for vet product pages */
.vp-feature-grid {
  display: grid;
  gap: 0.95rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 800px) {
  .vp-feature-grid { grid-template-columns: repeat(3, 1fr); }
}
.vp-feature-grid .vp-feature {
  display: block;
  padding: 1.25rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--lavender);
  text-align: left;
}
.vp-feature-grid .vp-feature h3 {
  font-family: var(--font-fun);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
}
.vp-feature-grid .vp-feature p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.vp-cta__title {
  font-family: var(--font-fun);
  font-size: clamp(1.85rem, 3.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin: 0 auto 0.75rem;
}
.vp-cta__lede {
  max-width: 34rem;
  margin: 0 auto 1.5rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
}
