/* =========================================================
   BIKE VIEW (CLEAN)
   ========================================================= */

.bike-view-page{
  max-width:1100px;
  margin:0 auto;
  padding:32px 0 60px;
}

/* HEADER */
.bike-view-header{
  display:grid;
  grid-template-columns:minmax(0,2.5fr) minmax(0,1.1fr);
  align-items:flex-start;
  gap:32px;
  margin-bottom:18px;
}

.bike-view-breadcrumbs{ font-size:12px; color:#9ca3af; margin-bottom:8px; }
.bike-view-breadcrumbs a{ color:#9ca3af; text-decoration:none; }
.bike-view-breadcrumbs a:hover{ text-decoration:underline; }

.bike-view-title{ font-size:26px; font-weight:700; color:#111827; margin:0 0 8px; }

.bike-view-submeta{
  display:flex; flex-wrap:wrap; gap:6px;
  font-size:13px; color:#6b7280;
}
.bike-view-submeta span{ position:relative; padding-right:10px; }
.bike-view-submeta span::after{ content:"•"; position:absolute; right:2px; color:#d1d5db; }
.bike-view-submeta span:last-child::after{ content:""; }

.bike-view-header-price{ justify-self:end; text-align:right; }
.bike-view-price-label{
  font-size:11px; text-transform:uppercase; letter-spacing:.06em;
  color:#9ca3af; margin-bottom:4px;
}
.bike-view-price-main{ font-size:24px; font-weight:700; color:#111827; }
.bike-view-featured-pill{
  display:inline-flex; margin-top:6px;
  padding:4px 10px; border-radius:999px;
  font-size:11px; font-weight:600; letter-spacing:.05em;
  text-transform:uppercase;
  background:linear-gradient(90deg,#dc2626,#f97316);
  color:#fff;
}

/* LAYOUT */
.bike-view-layout{
  display:grid;
  grid-template-columns:minmax(0,2.5fr) minmax(0,1.1fr);
  gap:28px;
  align-items:start;
}

.bike-view-main{ display:flex; flex-direction:column; gap:18px; }
.bike-view-sidebar{ display:flex; flex-direction:column; gap:14px; }

/* CARD BASE */
.bike-gallery-card,
.bike-info-card,
.bike-description-card,
.bike-price-card,
.bike-contact-card,
.bike-dealer-card{
  background:#fff;
  border-radius:22px;
  box-shadow:0 18px 45px rgba(15,23,42,.08);
}

.bike-gallery-card{ padding:14px 14px 16px; }
.bike-info-card,.bike-description-card{ padding:16px 18px 18px; }
.bike-price-card{ padding:14px 18px; text-align:right; }
.bike-contact-card{ padding:16px 18px 18px; }
.bike-dealer-card{ padding:14px 18px 16px; font-size:13px; color:#4b5563; }

/* GALLERY */
.bike-gallery-placeholder{
  height:260px; display:flex; align-items:center; justify-content:center;
  color:#9ca3af; font-size:14px;
}

.bike-gallery-main{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  height:320px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px 24px;
}

.bike-gallery-main-img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
}

/* arrows */
.bike-gallery-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px; height:44px;
  border-radius:999px;
  border:0;
  background:rgba(0,0,0,.35);
  color:#fff;
  font-size:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.bike-gallery-prev{ left:12px; }
.bike-gallery-next{ right:12px; }

/* thumbs */
.bike-gallery-thumbs{
  display:flex;
  gap:10px;
  margin-top:10px;
  overflow-x:auto;
  padding:10px 0 4px;
}
.bike-thumb-btn{
  border:0;
  padding:0;
  background:transparent;
  border-radius:12px;
  overflow:hidden;
  flex:0 0 80px;
  cursor:pointer;
}
.bike-thumb-img{
  width:80px;
  height:60px;
  object-fit:cover;
  display:block;
}

/* INFO */
.bike-info-title{ font-size:18px; font-weight:600; margin:0 0 10px; color:#111827; }
.bike-spec-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px 18px; }
.bike-spec-item{ font-size:13px; }
.bike-spec-label{
  font-size:11px; text-transform:uppercase; letter-spacing:.06em;
  color:#9ca3af; margin-bottom:2px;
}
.bike-spec-value{ font-size:14px; color:#111827; }
.bike-description-text{ font-size:14px; color:#4b5563; line-height:1.6; margin:0; }

/* SIDEBAR price duplicate (keep for desktop sidebar) */
.bike-price-label{ font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:#9ca3af; margin-bottom:4px; }
.bike-price-main{ font-size:22px; font-weight:700; color:#111827; }
.bike-price-featured-pill{
  display:inline-flex; margin-top:6px;
  padding:4px 10px; border-radius:999px;
  font-size:11px; font-weight:600; letter-spacing:.05em;
  text-transform:uppercase;
  background:linear-gradient(90deg,#dc2626,#f97316);
  color:#fff;
}

/* CONTACT */
.bike-contact-title{ font-size:18px; font-weight:600; margin:0 0 8px; color:#111827; }
.bike-contact-text{ font-size:14px; color:#4b5563; margin:0 0 12px; }
.bike-contact-note{ font-size:13px; color:#6b7280; margin-bottom:10px; }

.bike-contact-btn{
  width:100%;
  border-radius:999px;
  border:0;
  padding:10px 16px;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  background:#dc2626;
  color:#fff;
  box-shadow:0 14px 35px rgba(220,38,38,.5);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  text-decoration:none;
}
.bike-contact-btn:hover{
  background:#b91c1c;
  box-shadow:0 18px 45px rgba(185,28,28,.55);
  transform:translateY(-1px);
}

.bike-enquiry-btn{
  width:100%;
  border-radius:999px;
  border:1px solid #e5e7eb;
  padding:9px 16px;
  margin-top:10px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  background:#fff;
  color:#111827;
}
.bike-enquiry-btn:hover{
  border-color:#f97316;
  background:#fef2f2;
}

/* DEALER mini card */
.bike-dealer-top{ display:flex; gap:12px; align-items:center; }
.bike-dealer-logo{
  width:96px; height:48px;
  display:block;
  object-fit:contain;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:8px;
  flex:0 0 auto;
}
.bike-dealer-title{ font-size:15px; font-weight:600; color:#111827; }
.bike-dealer-city{ font-size:12px; color:#6b7280; margin-top:2px; }
.bike-dealer-meta{ font-size:12px; color:#6b7280; margin:6px 0 4px; }
.bike-dealer-phone{ font-size:13px; font-weight:500; margin:0 0 10px; }

.bike-dealer-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  border-radius:999px;
  padding:8px 16px;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  background:#111827;
  color:#fff;
  transition:transform .1s ease, box-shadow .15s ease;
}
.bike-dealer-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 30px rgba(15,23,42,.35);
}

/* MODAL (prevent invisible overlay blocking clicks) */
.bike-lead-modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.45);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:40;
}
.bike-lead-modal-backdrop.hidden,
.bike-lead-modal-backdrop[hidden]{
  display:none !important;
  pointer-events:none !important;
}
.bike-lead-modal{
  width:100%;
  max-width:420px;
  background:#fff;
  border-radius:20px;
  box-shadow:0 24px 60px rgba(15,23,42,.4);
  padding:16px 18px 18px;
}

/* MOBILE STICKY BAR (2 -> 3 buttons) */
.bike-stickybar{
  position:fixed;
  left:0; right:0; bottom:0;
  padding:12px 14px calc(12px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(8px);
  border-top:1px solid #eee;
  z-index:999999;
}
.bike-stickybar-inner{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr; /* before reveal */
  gap:10px;
}
.bike-stickybar.has-wa .bike-stickybar-inner{
  grid-template-columns:1fr 1fr 1fr; /* after reveal */
}
.bike-sticky-btn{
  width:100%;
  border-radius:999px;
  padding:12px 14px;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
}
.bike-sticky-call{ border:0; background:#dc2626; color:#fff; }
.bike-sticky-enquiry,.bike-sticky-wa{ border:1px solid #e5e7eb; background:#fff; color:#111827; }

/* give room so bar doesn't cover content */
.bike-view-page{ padding-bottom:120px; }

/* show stickybar only on mobile + hide sidebar buttons on mobile */
@media (min-width:900px){
  .bike-stickybar{ display:none; }
  .bike-view-page{ padding-bottom:60px; }
}

@media (max-width:900px){
  .bike-contact-card .bike-contact-btn,
  .bike-contact-card .bike-enquiry-btn{ display:none; }
}

@media (max-width:1024px){ .bike-gallery-main{ height:260px; } }
@media (max-width:768px){
  .bike-view-page{ padding:20px 0 40px; }
  .bike-view-header{ grid-template-columns:1fr; gap:8px; margin-bottom:14px; }
  .bike-view-header-price{ justify-self:start; text-align:left; }
  .bike-view-layout{ grid-template-columns:1fr; gap:14px; }
  .bike-spec-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bike-gallery-main{ height:240px; }
}
@media (max-width:480px){
  .bike-view-title{ font-size:22px; }
  .bike-spec-grid{ grid-template-columns:1fr; }
  .bike-gallery-main{ height:210px; }
  .bike-dealer-logo{ width:88px; height:44px; }
}
/* Bigger revealed phone on desktop */
.pv-phone-number{
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #111827;
}

.pv-phone-number a{
  color: #dc2626;
  text-decoration: none;
  font-weight: 900;
}
.pv-phone-number a:hover{ text-decoration: underline; }
#pvPhoneBox{
  margin-top:12px;
  padding:14px 16px;
  border-radius:16px;
  background:#f3f4f6;
  border:1px solid #e5e7eb;
  text-align:center;
}
.pv-phone-link{
  font-size:22px;
  font-weight:900;
  color:#dc2626;
  text-decoration:none;
}
.pv-phone-link:hover{ text-decoration:underline; }
.bike-thumb.is-active{outline:2px solid #111827; outline-offset:2px}
