/* Happy Days Vehicles: front end. Uses the site's colour and font variables, with fallbacks. */
.hdv-grid,.hdv-detail,.hdv-hero,.hdv-empty,.hdv-related,.hdv-lightbox{
  --hdv-navy:var(--navy,#071f39);--hdv-navy2:var(--navy-2,#0d2b4d);--hdv-blue:var(--blue,#1c8ac0);
  --hdv-light:var(--blue-light,#6ec4f0);--hdv-pale:#e8f2f8;--hdv-ink:var(--ink,#16243a);--hdv-muted:var(--muted,#556275);
  --hdv-head:var(--head,'Archivo',system-ui,sans-serif);--hdv-body:var(--body,'Figtree',system-ui,sans-serif);
  font-family:var(--hdv-body)
}
.hdv-grid *,.hdv-detail *,.hdv-hero *,.hdv-empty *,.hdv-lightbox *{box-sizing:border-box}
.hdv-grid svg,.hdv-detail svg,.hdv-hero svg,.hdv-empty svg{flex:none}

/* ---------- grid + cards ---------- */
.hdv-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.hdv-grid.hdv-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.hdv-grid.hdv-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.hdv-card{display:flex;flex-direction:column;background:#fff;border-radius:20px;overflow:hidden;border:1px solid #dfe7ee;box-shadow:0 22px 44px -32px rgba(7,31,57,.45);transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
.hdv-card:hover{transform:translateY(-4px);box-shadow:0 30px 56px -30px rgba(7,31,57,.55);border-color:#b9d3e4}
.hdv-media{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:var(--hdv-pale)}
.hdv-media .hdv-img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s ease}
.hdv-card:hover .hdv-media .hdv-img{transform:scale(1.04)}
.hdv-type{position:absolute;left:14px;top:14px;z-index:2;background:var(--hdv-navy);color:#fff;font-family:var(--hdv-head);font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;padding:6px 12px;border-radius:999px}
.hdv-badge{position:absolute;right:14px;top:14px;z-index:2;font-family:var(--hdv-head);font-weight:800;font-size:12.5px;letter-spacing:.1em;text-transform:uppercase;padding:6px 13px;border-radius:999px;color:#fff;box-shadow:0 8px 18px -8px rgba(0,0,0,.5)}
.hdv-badge-reserved{background:#d9822b}
.hdv-badge-sold{background:#c0392b}
.hdv-count{position:absolute;right:14px;bottom:14px;z-index:2;display:inline-flex;align-items:center;gap:6px;background:rgba(7,31,57,.78);color:#fff;font-weight:700;font-size:13px;padding:5px 10px;border-radius:999px}
.hdv-count svg{width:15px;height:15px}
.hdv-body{display:flex;flex-direction:column;flex:1;padding:22px 24px 24px}
.hdv-title{font-family:var(--hdv-head);font-size:21px;line-height:1.25;font-weight:800;color:var(--hdv-navy);margin:0}
.hdv-title a{color:inherit;text-decoration:none}
.hdv-title a:hover{color:var(--hdv-blue)}
.hdv-price{font-family:var(--hdv-head);font-size:27px;font-weight:900;color:var(--hdv-blue);margin:8px 0 0;line-height:1.1}
.hdv-chips{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0;padding:0;list-style:none}
.hdv-chips li{display:inline-flex;align-items:center;gap:7px;margin:0;padding:7px 12px;border-radius:999px;background:var(--hdv-pale);color:var(--hdv-navy);font-size:14px;font-weight:600;line-height:1.2}
.hdv-chips li svg{width:16px;height:16px;color:var(--hdv-blue)}
.hdv-actions{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:22px}
.hdv-actions .hdv-view{flex:1;padding:11px 20px}
.hdv-call{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;border:2px solid #cfdce6;color:var(--hdv-navy);transition:border-color .25s,background .25s,color .25s}
.hdv-call svg{width:19px;height:19px}
.hdv-call:hover{background:var(--hdv-navy);border-color:var(--hdv-navy);color:#fff}
.hdv-card.hdv-sold .hdv-media{filter:grayscale(.6)}
.hdv-card.hdv-sold .hdv-price{color:var(--hdv-muted);text-decoration:line-through;text-decoration-thickness:2px}

/* ---------- placeholder ---------- */
.hdv-ph{position:relative;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;overflow:hidden;
  background:radial-gradient(120% 90% at 85% 0%,#ffffff 0%,rgba(255,255,255,0) 55%),linear-gradient(160deg,#eaf4fa 0%,#d3e7f3 100%);color:var(--hdv-blue)}
.hdv-ph::before{content:"";position:absolute;left:-10%;right:-10%;bottom:16%;height:2px;background:repeating-linear-gradient(90deg,rgba(28,138,192,.28) 0 26px,transparent 26px 46px)}
.hdv-ph::after{content:"";position:absolute;right:-60px;top:-60px;width:200px;height:200px;border-radius:50%;border:2px solid rgba(28,138,192,.14)}
.hdv-ph-ic{position:relative;z-index:1;width:46%;max-width:190px;opacity:.75}
.hdv-ph-ic svg{width:100%;height:auto;display:block}
.hdv-ph-t{position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px;background:#fff;color:var(--hdv-navy);font-family:var(--hdv-head);font-weight:700;font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;padding:7px 13px;border-radius:999px;box-shadow:0 8px 18px -12px rgba(7,31,57,.5)}
.hdv-ph-t svg{width:15px;height:15px;color:var(--hdv-blue)}
.hdv-ph-large .hdv-ph-ic{max-width:300px;width:40%}
.hdv-ph-large .hdv-ph-t{font-size:14px;padding:9px 16px}

/* ---------- empty state ---------- */
.hdv-empty{display:flex;align-items:center;gap:28px;padding:30px 34px;border-radius:22px;background:#fff;border:2px dashed #b9d3e4}
.hdv-empty-ic{flex:none;display:grid;place-items:center;width:120px;height:84px;border-radius:18px;background:var(--hdv-pale);color:var(--hdv-blue)}
.hdv-empty-ic svg{width:78px;height:auto}
.hdv-empty p{margin:0;font-size:18px;line-height:1.6;color:var(--hdv-ink);font-weight:500}
.hdv-empty p a{color:var(--hdv-blue);font-weight:700;text-decoration:none;white-space:nowrap}
.hdv-empty-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.hdv-empty .hdv-wa{border-color:#cfdce6}
.hdv-empty .hdv-wa svg{color:#25a244}

/* ---------- detail: hero ---------- */
.hdv-hero{color:#fff}
.hdv-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14.5px;font-weight:600;color:#9fb6cc;margin-bottom:22px}
.hdv-crumbs a{color:#c9d8e6;text-decoration:none}
.hdv-crumbs a:hover{color:var(--hdv-light)}
.hdv-crumbs span{opacity:.5}
.hdv-hero-row{display:flex;align-items:flex-end;justify-content:space-between;gap:40px}
.hdv-hero-copy{min-width:0}
.hdv-hero .kicker{color:var(--hdv-light)}
.hdv-hero .kicker svg{width:30px;height:12px}
.hdv-h1{font-family:var(--hdv-head);font-size:clamp(34px,4vw,56px);line-height:1.05;font-weight:900;letter-spacing:-.01em;color:#fff;margin:0;white-space:normal}
.hdv-chips-light{margin-top:20px}
.hdv-chips-light li{background:rgba(255,255,255,.09);color:#fff;border:1px solid rgba(255,255,255,.14)}
.hdv-chips-light li svg{color:var(--hdv-light)}
.hdv-hero-price{flex:none;text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.hdv-hero-price strong{font-family:var(--hdv-head);font-size:clamp(34px,3.6vw,50px);font-weight:900;line-height:1}
.hdv-pill-s{display:inline-flex;align-items:center;gap:7px;font-family:var(--hdv-head);font-weight:700;font-size:12.5px;letter-spacing:.1em;text-transform:uppercase;padding:6px 12px;border-radius:999px}
.hdv-pill-s::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
.hdv-pill-s.hdv-available{background:rgba(52,199,89,.14);color:#7ee08f}
.hdv-pill-s.hdv-reserved{background:rgba(217,130,43,.18);color:#f3b46a}
.hdv-pill-s.hdv-sold{background:rgba(192,57,43,.2);color:#f19c92}

/* ---------- detail: body ---------- */
.hdv-detail{display:grid;grid-template-columns:minmax(0,1fr) 430px;gap:48px;align-items:start}
.hdv-gallery,.hdv-main,.hdv-side{min-width:0}
.hdv-stage{position:relative;aspect-ratio:3/2;border-radius:22px;overflow:hidden;background:var(--hdv-navy);box-shadow:0 30px 60px -40px rgba(7,31,57,.7)}
.hdv-gallery.is-empty .hdv-stage{background:var(--hdv-pale)}
.hdv-slide{position:absolute;inset:0;margin:0;opacity:0;transition:opacity .5s ease;cursor:zoom-in}
.hdv-slide.on{opacity:1;z-index:1}
.hdv-slide img{width:100%;height:100%;object-fit:cover;display:block}
.hdv-nav{position:absolute;top:50%;z-index:3;transform:translateY(-50%);width:50px;height:50px;border-radius:50%;border:0;background:#fff;color:var(--hdv-navy);display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 24px -10px rgba(0,0,0,.5);transition:background .25s,color .25s,transform .25s;padding:0}
.hdv-nav svg{width:22px;height:22px}
.hdv-nav:hover,.hdv-nav:focus{background:var(--hdv-blue);color:#fff}
.hdv-prev{left:16px}.hdv-next{right:16px}
.hdv-counter{position:absolute;left:16px;bottom:16px;z-index:3;background:rgba(7,31,57,.8);color:#fff;font-weight:700;font-size:14px;padding:6px 12px;border-radius:999px}
.hdv-zoom{position:absolute;right:16px;bottom:16px;z-index:3;width:42px;height:42px;border-radius:12px;border:0;background:rgba(7,31,57,.8);color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
.hdv-zoom svg{width:20px;height:20px}
.hdv-zoom:hover,.hdv-zoom:focus{background:var(--hdv-blue)}
.hdv-stage .hdv-badge{z-index:3;right:16px;top:16px;font-size:14px;padding:8px 16px}
.hdv-thumbs{display:flex;gap:12px;margin-top:14px;overflow-x:auto;padding:4px 2px 6px;scrollbar-width:thin}
.hdv-thumb{flex:0 0 112px;height:80px;border-radius:12px;overflow:hidden;border:0;padding:0;cursor:pointer;background:var(--hdv-pale);opacity:.65;outline:3px solid transparent;outline-offset:-3px;transition:opacity .25s,outline-color .25s}
.hdv-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.hdv-thumb.on,.hdv-thumb:hover{opacity:1;outline-color:var(--hdv-blue)}
.hdv-thumbs-ph{overflow:hidden}
.hdv-thumbs-ph .hdv-thumb{flex:1 1 0;min-width:0;display:grid;place-items:center;cursor:default;opacity:1;color:#9cc3dc;background:linear-gradient(160deg,#eef6fb,#dcebf5)}
.hdv-thumbs-ph .hdv-thumb svg{width:24px;height:24px}

.hdv-about{margin-top:44px}
.hdv-about .kicker svg{width:30px;height:12px}
.hdv-about h2{font-family:var(--hdv-head);font-size:clamp(28px,2.6vw,38px);font-weight:800;color:var(--hdv-navy);margin:0 0 14px}
.hdv-desc{font-size:17px;line-height:1.75;color:var(--hdv-ink)}
.hdv-desc p{margin:0}
.hdv-desc p+p{margin-top:14px}
.hdv-desc ul{margin:12px 0 0 20px}
.hdv-about h3{font-family:var(--hdv-head);font-size:20px;font-weight:800;color:var(--hdv-navy);margin:30px 0 14px}
.hdv-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin:0;padding:0;list-style:none}
.hdv-features li{display:flex;align-items:center;gap:12px;margin:0;padding:14px 16px;border-radius:14px;background:var(--hdv-pale);font-weight:600;color:var(--hdv-navy)}
.hdv-features li svg{width:26px;height:26px;padding:5px;border-radius:50%;background:var(--hdv-blue);color:#fff}

/* buy card */
.hdv-side{position:sticky;top:150px}
.hdv-buy{position:relative;overflow:hidden;background:var(--hdv-navy);color:#fff;border-radius:22px;padding:30px;box-shadow:0 30px 60px -36px rgba(7,31,57,.8)}
.hdv-buy::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,var(--hdv-blue),var(--hdv-light))}
.hdv-buy::after{content:"";position:absolute;right:-70px;top:-70px;width:200px;height:200px;border-radius:50%;border:2px solid rgba(110,196,240,.14);pointer-events:none}
.hdv-buy-label{display:block;font-family:var(--hdv-head);font-weight:700;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--hdv-light)}
.hdv-buy-price{display:block;font-family:var(--hdv-head);font-size:44px;font-weight:900;line-height:1.05;margin-top:6px}
.hdv-specs{margin:22px 0 0;padding:0}
.hdv-specs div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid rgba(255,255,255,.1)}
.hdv-specs dt{display:inline-flex;align-items:center;gap:10px;color:#a9bdd1;font-weight:600;font-size:15px;margin:0}
.hdv-specs dt svg{width:18px;height:18px;color:var(--hdv-light)}
.hdv-specs dd{margin:0;font-weight:700;font-size:15.5px;text-align:right;color:#fff}
.hdv-buy-btns{display:flex;flex-direction:column;gap:12px;margin-top:24px}
.hdv-buy-btns .btn{width:100%;padding:14px 22px}
.hdv-wa-btn{background:#fff;color:var(--hdv-navy)!important;border-color:#fff}
.hdv-wa-btn svg{color:#25a244}
.hdv-wa-btn:hover{background:#eef6fb;transform:translateY(-2px)}
.hdv-buy-note{display:flex;gap:10px;align-items:flex-start;margin:20px 0 0;font-size:14.5px;line-height:1.5;color:#c3d1e1}
.hdv-buy-note svg{width:18px;height:18px;margin-top:2px;color:var(--hdv-light)}
.hdv-buy-link{display:inline-flex;align-items:center;gap:9px;margin-top:14px;font-weight:700;font-size:15px;color:#fff!important;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.3);padding-bottom:2px}
.hdv-buy-link svg{width:18px;height:18px;color:var(--hdv-light)}
.hdv-buy-link:hover{border-color:var(--hdv-light);color:var(--hdv-light)!important}

/* related */
.hdv-related-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}
.hdv-related-head h2{font-family:var(--hdv-head);font-size:clamp(28px,2.8vw,40px);font-weight:800;color:var(--hdv-navy);margin:0}
.hdv-related-wrap:not(:has(.hdv-related)){display:none!important}

/* fallback when no Elementor template is set */
.hdv-fallback .hdv-hero{background:var(--hdv-navy);padding:40px;border-radius:22px;margin-bottom:40px}
.hdv-fallback .hdv-related{margin-top:60px}

/* lightbox */
.hdv-lightbox{position:fixed;inset:0;z-index:100000;background:rgba(4,18,34,.96);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}
.hdv-lightbox.open{opacity:1;visibility:visible}
.hdv-lightbox img{max-width:min(92vw,1600px);max-height:84vh;object-fit:contain;border-radius:10px;box-shadow:0 30px 80px -20px rgba(0,0,0,.8)}
.hdv-lightbox button{position:absolute;border:0;background:rgba(255,255,255,.1);color:#fff;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;cursor:pointer;padding:0;transition:background .25s}
.hdv-lightbox button:hover,.hdv-lightbox button:focus{background:var(--hdv-blue)}
.hdv-lightbox button svg{width:24px;height:24px}
.hdv-lb-close{top:22px;right:22px}
.hdv-lb-prev{left:22px;top:50%;transform:translateY(-50%)}
.hdv-lb-next{right:22px;top:50%;transform:translateY(-50%)}
.hdv-lb-n{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);color:#fff;font-weight:700;font-size:15px;background:rgba(255,255,255,.1);padding:7px 14px;border-radius:999px}

/* ---------- responsive ---------- */
@media (max-width:1200px){
  .hdv-grid,.hdv-grid.hdv-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hdv-detail{grid-template-columns:minmax(0,1fr) 380px;gap:36px}
}
@media (max-width:960px){
  .hdv-detail{grid-template-columns:minmax(0,1fr)}
  .hdv-side{position:static}
  .hdv-hero-row{flex-direction:column;align-items:flex-start;gap:22px}
  .hdv-hero-price{align-items:flex-start;text-align:left}
}
@media (max-width:700px){
  .hdv-grid,.hdv-grid.hdv-cols-2,.hdv-grid.hdv-cols-4{grid-template-columns:1fr;gap:20px}
  .hdv-empty{flex-direction:column;align-items:flex-start;padding:24px;gap:18px}
  .hdv-features{grid-template-columns:1fr}
  .hdv-buy{padding:24px}
  .hdv-buy-price{font-size:38px}
  .hdv-thumb{flex-basis:88px;height:64px}
  .hdv-nav{width:42px;height:42px}
  .hdv-related-head{flex-direction:column;align-items:flex-start}
  .hdv-lb-prev,.hdv-lb-next{top:auto;bottom:16px;transform:none}
  .hdv-lb-n{bottom:28px}
}
