/* ============================================================
   PRODUCT DETAIL PAGES — COMMON STYLES
   Shared across all /product/ pages (equipment-detail + vm-* blocks)
   Link AFTER main.css so these rules win the cascade.
   Breakpoints: <=991px tablets, <=767px phones, <=480px small phones
   ============================================================ */
.section-title {
    margin-bottom: 0px;
}
.vm-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 10px !important;
}
/* ---------- TABLETS AND BELOW ---------- */
@media (max-width: 991px) {

  .uk-section-large {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
  .uk-section-large.uk-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Section headings (override inline font-size:40px) */
  .section-title .uk-h2 span {
    font-size: 24px !important;
  }
}

/* ---------- PHONES ---------- */
@media (max-width: 767px) {

  html, body {
    overflow-x: hidden;
  }

  /* --- Gallery / banner --- */
  .equipment-detail__gallery img {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
  }

  /* --- Title + subtitle --- */
  .equipment-detail__title {
    font-size: 24px !important;
    line-height: 1.3;
    margin-top: 14px;
  }
  .equipment-detail__location,
  h1.equipment-detail__location {
    font-size: 14px !important;
    line-height: 1.5;
  }

  /* --- Action buttons: stack full width --- */
  .equipment-detail__btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
  }
  .equipment-detail__btns .vs-btn,
  .specication-btn .vs-btn {
    width: 100%;
    max-width: 340px;
    text-align: center;
    justify-content: center;
  }
  .specication-btn {
    text-align: center;
    margin-top: 18px;
  }

  /* --- Highlight strip: 2 per row --- */
  .vm-highlights {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
    margin: 24px 0 6px;
  }
  .vm-highlight {
    padding: 16px 10px;
  }
  .vm-highlight .num {
    font-size: 22px;
  }
  .vm-highlight .lbl {
    font-size: 12px;
    margin-top: 6px;
  }

  /* --- Intro paragraphs --- */
  .vm-intro p {
    font-size: 15px !important;
    line-height: 1.7;
  }

  /* --- Feature cards: single column --- */
  .vm-features {
    grid-template-columns: 1fr !important;
    gap: 16px;
    margin-top: 15px;
  }
  .vm-feature-card {
    padding: 20px 18px;
  }
  .vm-feature-card:hover {
    transform: none; /* disable lift on touch devices */
  }
  .vm-feature-card .vm-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
    margin-bottom: 12px;
  }
  .vm-feature-card h3 {
    font-size: 17px;
  }
  .vm-feature-card p {
    font-size: 14px;
  }

  /* --- Section headings --- */
  .section-title .uk-h2 span {
    font-size: 26px !important;
  }
  .section-title .uk-h2 span[style*="26px"] {
    font-size: 18px !important;
  }

  /* --- Specifications table: horizontal scroll, no squishing --- */
  .table-responsive {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
  }
  .table-responsive .uk-table {
    min-width: 520px;
  }
  .table-responsive .uk-table th {
    font-size: 14px !important;
    padding: 10px 8px;
    white-space: nowrap;
  }
  .table-responsive .uk-table td {
    font-size: 13px;
    padding: 10px 8px;
  }

  /* --- CTA section: stack image / text / support --- */
  .section-cta__box {
    flex-direction: column !important;
    text-align: center;
    gap: 18px;
    padding: 20px 15px;
  }
  .section-cta__img img {
    max-width: 200px;
    height: auto;
  }
  .section-cta__title {
    font-size: 20px !important;
    line-height: 1.4;
  }
  .section-cta__title span {
    margin-right: 0 !important;
  }
  .section-cta__support .support {
    justify-content: center;
    display: flex;
  }
  .section-cta__btn {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* --- Bottom "Download Costing" block --- */
  .offer-pricing img {
    width: 100%;
    height: auto;
  }
}

/* ---------- SMALL PHONES ---------- */
@media (max-width: 480px) {

  .equipment-detail__title {
    font-size: 21px !important;
  }
  .section-title .uk-h2 span {
    font-size: 22px !important;
  }

  .vm-highlights {
    grid-template-columns: 1fr !important;
  }
  .vm-highlight .num {
    font-size: 26px;
  }
}