/* ═══════════════════════════════════════════════
   Products pages — shared styles
   /products   and   /products/{slug}
═══════════════════════════════════════════════ */

/* ── Catalog hero (lower-profile than city pages) ── */
.products-hub-hero {
  background: var(--dark);
  color: #fff;
  padding: 44px 0 38px;
  text-align: center;
}
.products-hub-hero .section-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(197,211,0,0.12);
  border: 1px solid rgba(197,211,0,0.3);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.products-hub-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}
.products-hub-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Product detail hero ── */
.product-detail-hero {
  background: var(--dark);
  padding: 52px 0 48px;
}
.product-detail-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.product-detail-media {
  min-width: 0;
}
.product-detail-img-wrap {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.product-detail-img-wrap img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  display: block;
}
.product-image-gallery {
  margin-top: 12px;
}
.product-image-thumbnails {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: thin;
}
.product-image-thumbnail {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  opacity: 0.82;
  transition: border-color 0.2s, opacity 0.2s, transform 0.2s;
}
.product-image-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-image-thumbnail:hover,
.product-image-thumbnail:focus-visible,
.product-image-thumbnail.is-active {
  border-color: var(--lime);
  opacity: 1;
}
.product-image-thumbnail:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.product-detail-info .section-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(197,211,0,0.12);
  border: 1px solid rgba(197,211,0,0.3);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.product-detail-info h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.25;
}
.product-detail-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--lime);
  margin-bottom: 4px;
}
.product-detail-pricing {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--lime);
  background: rgba(197,211,0,0.1);
  border: 1px solid rgba(197,211,0,0.3);
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 6px;
}
.product-detail-price-note {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.product-detail-intro {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 28px;
}
.product-detail-dimensions {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin: 0 0 24px;
  padding: 12px 14px;
  background: rgba(197,211,0,0.08);
  border: 1px solid rgba(197,211,0,0.28);
  border-radius: 10px;
}
.product-detail-dimensions-label {
  color: var(--lime);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.product-detail-dimensions-value {
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  font-weight: 600;
}
.product-detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.product-detail-actions .btn-book {
  display: inline-block;
  font-size: 15px;
  padding: 14px 22px;
  white-space: nowrap;
}
.product-detail-actions .btn-video,
.product-image-gallery .btn-video {
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.55);
  font-size: 15px;
  padding: 14px 20px;
  height: 50px;
  box-sizing: border-box;
}
.product-image-gallery .btn-video {
  width: auto;
  flex: 0 0 auto;
  justify-content: center;
}
.product-detail-actions .btn-video:hover,
.product-detail-actions .btn-video:focus-visible,
.product-image-gallery .btn-video:hover,
.product-image-gallery .btn-video:focus-visible {
  color: var(--dark);
  background: var(--lime);
  border-color: var(--lime);
}
.product-detail-actions .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.product-detail-actions .btn-back:hover {
  border-color: rgba(255,255,255,0.65);
  color: #fff;
}

/* ── Body ── */
.product-detail-body {
  padding: 72px 0;
  background: #fff;
}
.product-detail-body .container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}
.product-detail-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin: 36px 0 12px;
}
.product-detail-content h2:first-child { margin-top: 0; }
.product-detail-content p {
  font-size: 15px;
  color: #444;
  line-height: 1.75;
  margin-bottom: 14px;
}
.product-detail-content a { color: var(--dark); }
.product-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.product-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}
.product-feature-list li::before {
  content: '✓';
  color: #5a7a00;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Sidebar ── */
.product-detail-sidebar { position: sticky; top: 24px; }
.product-sidebar-card {
  background: #f4f6f8;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.product-sidebar-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
}
.sidebar-spec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 13.5px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-spec:last-of-type { border-bottom: none; margin-bottom: 4px; }
.sidebar-spec-label { color: var(--muted); flex-shrink: 0; }
.sidebar-spec-value { color: var(--dark); font-weight: 600; text-align: right; }
.delivery-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.delivery-cta-row .btn-book { flex: 1 1 auto; text-align: center; }
.delivery-cta-row .btn-view-product { flex: 1 1 auto; text-align: center; }
@media (max-width: 540px) {
  .delivery-cta-row { flex-direction: column; }
}

.product-sidebar-cta {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-sidebar-cta .btn-book { font-size: 14px; padding: 13px 16px; }
.product-sidebar-cta .btn-view-product { font-size: 14px; padding: 13px 16px; }

/* ── Landing page: hero trust bar ── */
.product-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}
.product-trust-bar li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.product-trust-bar li::before {
  content: '✓';
  color: var(--lime);
  font-weight: 800;
}

/* ── Landing page: phone CTA in hero ── */
.product-detail-actions .btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: var(--radius);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s;
  white-space: nowrap;
}
.product-detail-actions .btn-phone:hover { border-color: var(--lime); }

/* ── Product video modal ── */
.product-video-modal[hidden] { display: none; }
.product-video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 12, 20, 0.84);
}
.product-video-focus-sentinel {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.product-video-modal-panel {
  width: min(900px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.4);
}
.product-video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
}
.product-video-modal-header h2 {
  margin: 0;
  color: var(--dark);
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  line-height: 1.35;
}
.product-video-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--dark);
  background: #fff;
  font-size: 26px;
  line-height: 1;
}
.product-video-modal-close:hover,
.product-video-modal-close:focus-visible {
  color: #fff;
  background: var(--dark);
  border-color: var(--dark);
}
.product-video-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
}
.product-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Landing page: specs table ── */
.product-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 24px;
  font-size: 14.5px;
}
.product-specs-table th,
.product-specs-table td {
  text-align: left;
  padding: 11px 14px;
  border: 1px solid var(--border);
  vertical-align: top;
}
.product-specs-table th {
  background: #f4f6f8;
  color: var(--dark);
  font-weight: 700;
  width: 38%;
}
.product-specs-table td { color: #444; }

/* ── Landing page: "who rents this" intent cards ── */
.intent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 8px 0 24px;
}
.intent-card {
  background: #f7f9fa;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.intent-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 6px;
}
.intent-card p {
  font-size: 13.5px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* ── Landing page: what's included (icon tile grid) ── */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 8px 0 24px;
}
.included-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: #f7f9fa;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 15px;
}
.included-icon-wrap {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
}
.included-item-text strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
  line-height: 1.3;
}
.included-item-text span {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  display: block;
}

/* ── Landing page: FAQ ── */
.product-faq { margin: 8px 0 24px; }
.product-faq details {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  background: #fff;
}
.product-faq summary {
  cursor: pointer;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  font-family: 'Poppins', sans-serif;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.product-faq summary::-webkit-details-marker { display: none; }
.product-faq summary::after {
  content: '+';
  font-size: 20px;
  color: var(--muted);
  flex-shrink: 0;
}
.product-faq details[open] summary::after { content: '−'; }
.product-faq details p {
  padding: 0 18px 15px;
  font-size: 14.5px;
  color: #444;
  line-height: 1.7;
  margin: 0;
}

/* ── Landing page: review snippet ── */
.product-review-card {
  background: #f7f9fa;
  border-left: 4px solid var(--lime);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 8px 0 24px;
}
.product-review-card .review-stars {
  color: #f5a623;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.product-review-card blockquote {
  margin: 0 0 8px;
  font-size: 15px;
  color: #333;
  line-height: 1.7;
  font-style: italic;
}
.product-review-card cite {
  font-size: 13px;
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
}

/* ── Landing page: related units ── */
.related-units {
  padding: 56px 0;
  background: #f4f6f8;
}
.related-units h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 28px;
}
.related-units-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.related-unit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.related-unit-card:hover {
  border-color: var(--lime);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.related-unit-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 6px;
}
.related-unit-card p {
  font-size: 13.5px;
  color: #555;
  line-height: 1.55;
  margin: 0 0 10px;
}
.related-unit-card .related-link {
  font-size: 13.5px;
  font-weight: 700;
  color: #5a7a00;
}

/* ── Landing page: sticky mobile CTA ── */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--dark);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
}
.mobile-sticky-cta a {
  width: 100%;
  text-align: center;
  padding: 12px 10px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.mobile-sticky-cta .sticky-book { background: var(--lime); color: var(--dark); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .product-detail-hero .container { grid-template-columns: 1fr; gap: 28px; }
  .intent-grid { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: 1fr; }
  .related-units-grid { grid-template-columns: 1fr; }
  .mobile-sticky-cta { display: flex; }
  body { padding-bottom: 64px; }
  .product-detail-img-wrap { min-height: 200px; }
  .product-detail-body .container { grid-template-columns: 1fr; }
  .product-detail-sidebar { position: static; }
}

@media (max-width: 600px) {
  .product-detail-hero { padding: 28px 0 24px; }
  .products-hub-hero { padding: 32px 0 28px; }

  /* Stack hero action buttons full-width */
  .product-detail-actions {
    flex-direction: column;
    gap: 10px;
  }
  .product-detail-actions .btn,
  .product-detail-actions .btn-video,
  .product-detail-actions .btn-back,
  .product-detail-actions .btn-phone {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(12px, 3.6vw, 15px);
    padding: 13px 16px;
  }

  /* Catalog grid single column */
  .products-hub-hero h1 { font-size: 1.5rem; }

  /* Sidebar card compact */
  .product-sidebar-card { padding: 20px 16px; }
  .product-detail-body { padding: 40px 0; }

  /* Prevent specs table from overflowing on narrow screens */
  .product-specs-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .product-video-modal { padding: 14px; }
  .product-video-modal-panel { max-height: calc(100vh - 28px); }
}
