/* Second-hand equipment listings page */
.used-hero {
  padding: 72px 5% 68px;
  min-height: 330px;
  background:
    linear-gradient(90deg, rgba(2, 10, 21, .97), rgba(2, 12, 27, .72)),
    url("https://images.unsplash.com/photo-1598488035139-bdbb2231ce04?auto=format&fit=crop&w=1900&q=85") center 50% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.used-hero h1 { max-width: 800px; }
.used-hero > p:not(.eyebrow) { max-width: 690px; color: #d8e5f2; font-size: 1.08rem; margin: 0 0 23px; }
.used-intro { padding: 45px 5% 24px; display: flex; justify-content: space-between; align-items: end; gap: 30px; background: #f5f7fa; color: #08172d; }
.used-intro h2, .sell-cta h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 3vw, 2.25rem); line-height: 1.2; letter-spacing: -.03em; }
.used-intro > div:first-child { max-width: 680px; }
.used-intro > div:first-child > p:last-child { margin: 0; color: #536174; }
.used-intro .eyebrow { margin-bottom: 8px; }
.listing-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 10px; min-width: min(100%, 360px); }
.search-label { color: #263a50; font-size: .8rem; font-weight: 700; }
.listing-tools input, .listing-tools select { min-width: 0; width: 100%; border: 1px solid #cbd5df; border-radius: 5px; background: white; padding: 10px 11px; color: #0b1a2c; font: inherit; font-size: .9rem; }
.listing-tools input { grid-column: 1 / -1; }
.listing-tools label[for="equipment-search"] { grid-column: 1 / -1; }
.used-listings { padding: 20px 5% 65px; background: #f5f7fa; color: #08172d; min-height: 240px; }
.listing-count { color: #536174; font-size: .9rem; margin-bottom: 17px; }
.equipment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.equipment-card { overflow: hidden; border: 1px solid #dce3ea; border-radius: 8px; background: #fff; box-shadow: 0 5px 20px rgba(10, 30, 50, .07); display: flex; flex-direction: column; }
.equipment-photo { position: relative; height: 230px; overflow: hidden; background: linear-gradient(135deg, #0a2036, #153c5d); display: flex; align-items: center; justify-content: center; }
.equipment-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.photo-placeholder { color: #a8c6de; font-size: 1rem; text-align: center; line-height: 1.6; }
.photo-placeholder small { font-size: .78rem; }
.equipment-photo:not(.no-photo) .photo-placeholder { display: none; }
.category-tag { position: absolute; left: 12px; top: 12px; padding: 5px 9px; border-radius: 4px; color: white; background: rgba(2, 14, 27, .82); font-size: .72rem; font-weight: 700; }
.extra-photos { display: flex; gap: 5px; padding: 8px 10px 0; }
.extra-photos img { width: 58px; height: 48px; object-fit: cover; border-radius: 3px; border: 1px solid #dce3ea; }
.equipment-details { padding: 18px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.equipment-details h3 { margin: 0 0 5px; font-size: 1.12rem; line-height: 1.35; }
.equipment-condition { margin: 0 0 10px; color: #0878bd; font-size: .8rem; font-weight: 800; }
.equipment-description { color: #526174; font-size: .9rem; margin: 0 0 13px; white-space: pre-line; }
.equipment-price { font-size: 1.15rem; font-weight: 800; margin: auto 0 15px; color: #08172d; }
.equipment-enquire { width: 100%; justify-content: space-between; margin-top: auto; font-size: .85rem; }
.empty-state { padding: 50px 20px; text-align: center; }
.empty-state h2 { margin: 0 0 7px; }
.empty-state p { margin: 0; color: #536174; }
.sell-cta { padding: 55px 8%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; background: #07192c; }
.sell-cta > div { max-width: 760px; min-width: 0; flex: 1 1 420px; }
.sell-cta p:not(.eyebrow) { color: var(--muted); margin: 0; }
.sell-cta .button { flex: 0 1 auto; max-width: 100%; white-space: normal; }
@media (max-width: 1000px) {
  .equipment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .used-intro { align-items: flex-start; flex-direction: column; }
  .listing-tools { width: 100%; max-width: 480px; }
}
@media (max-width: 700px) {
  .used-hero { padding: 50px 6%; }
  .used-intro { padding: 38px 6% 20px; }
  .used-listings { padding: 18px 6% 45px; }
  .equipment-grid { grid-template-columns: 1fr; }
  .equipment-photo { height: 250px; }
  .sell-cta { padding: 42px 6%; align-items: flex-start; flex-direction: column; }
}
/* Refurbished equipment warranty section */
.warranty-section {
  padding: 55px 5%;
  background: #07192c;
  color: #e8f0f8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.warranty-content {
  max-width: 900px;
  margin: 0 auto;
}

.warranty-section .eyebrow {
  margin-bottom: 8px;
  color: #8fc7ff;
}

.warranty-section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.warranty-section h3 {
  margin: 24px 0 8px;
  color: #ffffff;
}

.warranty-section p {
  line-height: 1.7;
  color: #d8e5f2;
}

.warranty-section p:last-child {
  margin-bottom: 0;
}
/* Refurbished equipment warranty section */
.warranty-section {
  padding: 55px 5%;
  background: #07192c;
  color: #e8f0f8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.warranty-content {
  max-width: 900px;
  margin: 0 auto;
}

.warranty-section .eyebrow {
  margin-bottom: 8px;
  color: #8fc7ff;
}

.warranty-section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.warranty-section h3 {
  margin: 24px 0 8px;
  color: #ffffff;
}

.warranty-section p {
  line-height: 1.7;
  color: #d8e5f2;
}

.warranty-section p:last-child {
  margin-bottom: 0;
}
