/**
 * EquipRent - Featured Equipment Showcase Stylesheet
 * Matching the AI Studio Heavy Machinery Design System
 */

:root {
  --eq-feat-amber: #f59e0b;
  --eq-feat-amber-hover: #d97706;
  --eq-feat-dark-bg: #0b0f19;
  --eq-feat-card-bg: #0f1523;
  --eq-feat-card-border: rgba(255, 255, 255, 0.08);
  --eq-feat-text-white: #ffffff;
  --eq-feat-text-muted: #94a3b8;
  --eq-feat-text-sub: #64748b;
  --eq-feat-emerald: #10b981;
  --eq-feat-mint: #34d399;
  --eq-feat-rose: #f43f5e;
}

/* =========================================
   1. SECTION CONTAINER
========================================= */
.eq-featured-showcase-section {
  position: relative;
  background-color: var(--eq-feat-dark-bg);
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.035) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(59, 130, 246, 0.03) 0%, transparent 45%);
  padding: 80px 0 95px 0;
  overflow: hidden;
  color: #ffffff;
}

.eq-featured-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .eq-featured-container {
    padding: 0 20px;
  }
  .eq-featured-showcase-section {
    padding: 60px 0 70px 0;
  }
}

/* =========================================
   2. HEADER ROW (TITLE, SUBTITLE, FILTERS)
========================================= */
.eq-featured-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 38px;
  gap: 24px;
  flex-wrap: wrap;
}

.eq-featured-header-left {
  flex: 1 1 540px;
  max-width: 680px;
}

.eq-featured-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: var(--eq-feat-amber);
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eq-featured-top-badge i {
  font-size: 12px;
}

.eq-featured-title {
  font-family: 'Playfair Display', 'Outfit', -apple-system, sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.18;
  margin: 0 0 12px 0;
}

@media (max-width: 768px) {
  .eq-featured-title {
    font-size: 30px;
  }
}

.eq-featured-desc {
  font-size: 15px;
  color: var(--eq-feat-text-muted);
  line-height: 1.55;
  margin: 0;
  max-width: 600px;
}

/* Header Right: Category Filter Pills */
.eq-featured-header-right {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.eq-featured-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 100%;
}

@media (max-width: 991px) {
  .eq-featured-header-right {
    justify-content: flex-start;
    width: 100%;
  }
  .eq-featured-filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .eq-featured-filter-tabs::-webkit-scrollbar {
    display: none;
  }
}

.eq-featured-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--eq-feat-text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 9999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  user-select: none;
}

.eq-featured-filter-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.eq-featured-filter-btn.active {
  background: var(--eq-feat-amber) !important;
  color: #0b0f19 !important;
  border-color: var(--eq-feat-amber) !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

/* =========================================
   3. EQUIPMENT CARDS GRID
========================================= */
.eq-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  width: 100%;
}

@media (max-width: 1024px) {
  .eq-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 680px) {
  .eq-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .eq-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

/* =========================================
   4. CARD ARCHITECTURE
========================================= */
.eq-feat-card {
  background: var(--eq-feat-card-bg);
  border: 1px solid var(--eq-feat-card-border);
  border-radius: 20px;
  padding: 12px 12px 20px 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  opacity: 1;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.eq-feat-card.is-hidden {
  display: none !important;
}

/* Latest Equipment Grid: 4 columns on large screens */
.eq-latest-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.eq-latest-showcase .eq-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--eq-feat-amber);
  color: #0b0f19;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
  white-space: nowrap;
}

.eq-latest-showcase .eq-view-all-btn:hover {
  background: var(--eq-feat-amber-hover);
  color: #0b0f19;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4);
}

@media (max-width: 1240px) {
  .eq-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 680px) {
  .eq-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .eq-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

.eq-feat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 20px 42px -12px rgba(0, 0, 0, 0.75), 0 0 24px rgba(245, 158, 11, 0.08);
}

/* Image Container */
.eq-feat-img-wrapper {
  position: relative;
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  background: #141c2e;
}

.eq-feat-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.eq-feat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.eq-feat-card:hover .eq-feat-img {
  transform: scale(1.05);
}

/* Gradients over image for high contrast badges */
.eq-feat-img-top-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.8) 0%, rgba(11, 15, 25, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.eq-feat-img-bot-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(0deg, rgba(11, 15, 25, 0.88) 0%, rgba(11, 15, 25, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Top Floating Actions & Badges */
.eq-feat-top-actions {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  pointer-events: none;
}

/* Left badges row (category + year) - top left */
.eq-feat-badges-left {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
  max-width: calc(100% - 110px);
}

/* Right actions row (compare + heart) - top right */
.eq-feat-actions-right {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: nowrap;
  min-height: 32px;
  pointer-events: auto;
}

.eq-feat-cat-badge {
  background: var(--eq-feat-amber);
  color: #0b0f19;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  white-space: nowrap;
}

.eq-feat-year-badge {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f1f5f9;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
}



.eq-feat-compare-btn {
  flex: 0 0 32px;
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  padding: 0;
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.eq-feat-compare-btn:hover {
  background: var(--eq-feat-amber);
  border-color: var(--eq-feat-amber);
  color: #0b0f19;
  transform: translateY(-1px);
}

.eq-feat-card .eq-feat-cta-btn:hover {
  background: var(--eq-feat-amber);
  color: #0b0f19;
  border-color: var(--eq-feat-amber);
}

.eq-feat-compare-btn i {
  font-size: 11px;
}

/* Wishlist Heart Icon Styled as Circular Glass Button */
.eq-feat-fav-icon {
  flex: 0 0 32px;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  z-index: 2;
  width: 32px;
  height: 32px;
  padding: 0 !important;
  box-sizing: border-box;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.eq-feat-fav-icon:hover {
  transform: scale(1.08);
  background: var(--eq-feat-rose) !important;
  color: #ffffff;
  border-color: var(--eq-feat-rose);
}

.eq-feat-fav-icon.filled,
.eq-feat-fav-icon.bi-heart-fill {
  background: var(--eq-feat-rose) !important;
  border-color: var(--eq-feat-rose) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.45);
}

/* Bottom Badges on Image (Location, Availability) */
.eq-feat-bottom-badges {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 4;
}

.eq-feat-loc-badge {
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.eq-feat-loc-badge i {
  color: var(--eq-feat-amber);
  font-size: 11.5px;
}

.eq-feat-avail-badge {
  background: rgba(6, 78, 59, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--eq-feat-mint);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

/* =========================================
   5. CARD CONTENT BODY
========================================= */
.eq-feat-card-body {
  padding: 16px 6px 4px 6px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Subrow: Brand Tag & Rating */
.eq-feat-subrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.eq-feat-brand-tag {
  color: var(--eq-feat-amber);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 72%;
}

.eq-feat-rating {
  color: var(--eq-feat-emerald);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.eq-feat-rating i {
  font-size: 11px;
}

/* Title */
.eq-feat-card-title {
  font-size: 18.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.32;
  margin: 0 0 8px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.eq-feat-card-title a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.eq-feat-card-title a:hover {
  color: var(--eq-feat-amber);
}

/* Description (2 lines clamp) */
.eq-feat-card-desc {
  font-size: 12.5px;
  color: var(--eq-feat-text-muted);
  line-height: 1.5;
  margin: 0 0 14px 0;
  height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Specifications Grid Box */
.eq-feat-specs-grid {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.eq-feat-spec-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.eq-feat-spec-key {
  font-size: 9px;
  text-transform: uppercase;
  color: var(--eq-feat-text-sub);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eq-feat-spec-val {
  font-size: 12px;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Footer: Price & CTA Button */
.eq-feat-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 4px;
}

.eq-feat-price-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.eq-feat-price-main {
  display: flex;
  align-items: baseline;
  gap: 3px;
  white-space: nowrap;
}

.eq-feat-price-val {
  font-size: 25px;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
  line-height: 1;
}

.eq-feat-price-unit {
  font-size: 12px;
  color: var(--eq-feat-text-muted);
  font-weight: 500;
}

.eq-feat-price-sub {
  font-size: 11px;
  color: var(--eq-feat-text-sub);
  font-weight: 500;
  margin-top: 3px;
}

/* CTA Button */
.eq-feat-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}

/* =========================================
   6. LATEST EQUIPMENT CARD OVERRIDES (4-COL)
========================================= */
.eq-latest-card {
  padding: 12px 12px 18px 12px;
}

.eq-latest-card .eq-feat-img-wrapper {
  height: 215px;
}

.eq-latest-card .eq-feat-card-title {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.eq-latest-card .eq-feat-card-desc {
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 12px;
  height: 35px;
}

.eq-latest-card .eq-feat-price-val {
  font-size: 21px;
}

.eq-latest-card .eq-feat-cta-btn {
  padding: 8px 13px;
  font-size: 12px;
  gap: 6px;
}

.eq-latest-card .eq-feat-bottom-badges {
  gap: 6px;
  bottom: 10px;
  left: 10px;
  right: 10px;
}

.eq-latest-card .eq-feat-loc-badge,
.eq-latest-card .eq-feat-avail-badge {
  font-size: 10.5px;
  padding: 3px 8px;
  white-space: nowrap;
}

.eq-feat-cta-btn:hover {
  background: var(--eq-feat-amber);
  color: #0b0f19;
  border-color: var(--eq-feat-amber);
}

.eq-feat-cta-btn i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.eq-feat-cta-btn:hover i {
  transform: translateX(4px);
}

/* =========================================
   6.1. RESPONSIVE: 2-COLUMN MOBILE CARDS OPTIMIZATION
========================================= */
@media (max-width: 768px) {
  .eq-featured-container {
    padding: 0 14px;
  }
  .eq-featured-header-row {
    margin-bottom: 22px;
    gap: 16px;
  }
  .eq-featured-title {
    font-size: 26px;
    margin-bottom: 8px;
  }
  .eq-featured-top-badge {
    font-size: 10px;
    padding: 4px 10px;
    margin-bottom: 10px;
  }
  .eq-featured-desc {
    font-size: 13px;
  }
}

@media (max-width: 680px) {
  .eq-featured-container {
    padding: 0 10px;
  }

  .eq-featured-showcase-section {
    padding: 38px 0 46px 0;
  }

  .eq-featured-title {
    font-size: 21px;
    letter-spacing: -0.3px;
  }

  .eq-featured-desc {
    font-size: 12px;
    line-height: 1.45;
  }

  .eq-featured-filter-btn {
    font-size: 11px;
    padding: 5px 12px;
  }

  /* 2-Column Mobile Card Sizing */
  .eq-feat-card,
  .eq-latest-card {
    padding: 7px 7px 10px 7px !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.45) !important;
  }

  /* Image Wrapper */
  .eq-feat-img-wrapper,
  .eq-latest-card .eq-feat-img-wrapper {
    height: 122px !important;
    border-radius: 10px !important;
  }

  /* Top Badges & Actions */
  .eq-feat-top-actions {
    top: 0;
    left: 0;
    right: 0;
  }

  .eq-feat-badges-left {
    top: 6px !important;
    left: 6px !important;
    gap: 3px !important;
    max-width: calc(100% - 62px) !important;
  }

  .eq-feat-cat-badge {
    font-size: 7.5px !important;
    font-weight: 800 !important;
    padding: 2px 5px !important;
    letter-spacing: 0.2px !important;
    line-height: 1.2 !important;
  }

  .eq-feat-year-badge {
    font-size: 7.5px !important;
    padding: 2px 5px !important;
    line-height: 1.2 !important;
  }

  .eq-feat-actions-right {
    top: 6px !important;
    right: 6px !important;
    gap: 4px !important;
    min-height: 24px !important;
  }

  .eq-feat-compare-btn,
  .eq-feat-fav-icon {
    width: 25px !important;
    height: 25px !important;
    flex: 0 0 25px !important;
    font-size: 10px !important;
  }

  .eq-feat-compare-btn i,
  .eq-feat-fav-icon i {
    font-size: 9.5px !important;
  }

  /* Bottom Badges */
  .eq-feat-bottom-badges,
  .eq-latest-card .eq-feat-bottom-badges {
    bottom: 5px !important;
    left: 5px !important;
    right: 5px !important;
    gap: 3px !important;
  }

  .eq-feat-loc-badge,
  .eq-latest-card .eq-feat-loc-badge,
  .eq-feat-avail-badge,
  .eq-latest-card .eq-feat-avail-badge {
    font-size: 7.5px !important;
    padding: 2px 5px !important;
    border-radius: 4px !important;
    max-width: 100% !important;
  }

  .eq-feat-loc-badge span {
    max-width: 80px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .eq-feat-loc-badge i {
    font-size: 8px !important;
  }

  /* Card Body */
  .eq-feat-card-body {
    padding: 6px 2px 0 2px !important;
  }

  .eq-feat-subrow {
    margin-bottom: 2px !important;
  }

  .eq-feat-brand-tag {
    font-size: 8px !important;
    letter-spacing: 0.2px !important;
    max-width: 60% !important;
  }

  .eq-feat-rating {
    font-size: 9px !important;
    gap: 2px !important;
  }

  .eq-feat-rating i {
    font-size: 8px !important;
  }

  .eq-feat-rating span:last-child {
    display: none !important;
  }

  /* Title */
  .eq-feat-card-title,
  .eq-latest-card .eq-feat-card-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin: 0 0 4px 0 !important;
    height: 30px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .eq-feat-card-title a {
    white-space: normal !important;
    font-size: 12px !important;
  }

  /* Hide verbose description in 2-card mobile grid */
  .eq-feat-card-desc,
  .eq-latest-card .eq-feat-card-desc {
    display: none !important;
  }

  /* Specs Grid */
  .eq-feat-specs-grid {
    padding: 4px 5px !important;
    margin-bottom: 6px !important;
    border-radius: 6px !important;
    gap: 4px !important;
  }

  .eq-feat-spec-key {
    font-size: 6.5px !important;
    margin-bottom: 1px !important;
    letter-spacing: 0.1px !important;
  }

  .eq-feat-spec-val {
    font-size: 8.5px !important;
    font-weight: 700 !important;
  }

  /* Footer */
  .eq-feat-card-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 5px !important;
    padding-top: 2px !important;
    margin-top: auto !important;
  }

  .eq-feat-price-col {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: space-between !important;
  }

  .eq-feat-price-main {
    display: flex !important;
    align-items: baseline !important;
    gap: 2px !important;
  }

  .eq-feat-price-val,
  .eq-latest-card .eq-feat-price-val {
    font-size: 14px !important;
    font-weight: 800 !important;
  }

  .eq-feat-price-unit {
    font-size: 9px !important;
  }

  .eq-feat-price-sub {
    display: none !important;
  }

  /* CTA Button */
  .eq-feat-cta-btn,
  .eq-latest-card .eq-feat-cta-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 5px 4px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    border-radius: 7px !important;
    gap: 4px !important;
    box-sizing: border-box !important;
  }

  .eq-feat-cta-btn i {
    font-size: 9px !important;
  }
}

@media (max-width: 380px) {
  .eq-featured-container {
    padding: 0 8px;
  }

  .eq-feat-img-wrapper,
  .eq-latest-card .eq-feat-img-wrapper {
    height: 105px !important;
  }

  .eq-feat-card-title,
  .eq-latest-card .eq-feat-card-title {
    font-size: 11px !important;
    height: 28px !important;
  }

  .eq-feat-price-val,
  .eq-latest-card .eq-feat-price-val {
    font-size: 13px !important;
  }
}

/* Empty filter state */
.eq-feat-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  display: none;
}

.eq-feat-empty-state.is-visible {
  display: block;
}

.eq-feat-empty-icon {
  font-size: 42px;
  color: var(--eq-feat-amber);
  margin-bottom: 12px;
}

.eq-feat-empty-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.eq-feat-empty-text {
  font-size: 14px;
  color: var(--eq-feat-text-muted);
  margin-bottom: 18px;
}

.eq-feat-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--eq-feat-amber);
  color: #0b0f19;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.eq-feat-empty-btn:hover {
  background: var(--eq-feat-amber-hover);
  color: #0b0f19;
}

/* =========================================
   HOW EQUIPMENT RENTAL WORKS (DARK CARDS SHOWCASE)
========================================= */
.er-how-section {
  position: relative;
  background-color: #0b0f19;
  background-image: 
    radial-gradient(circle at 50% 10%, rgba(245, 158, 11, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 45%);
  padding: 85px 0 95px 0;
  color: #ffffff;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.er-how-header {
  margin-bottom: 45px;
}

.er-how-main-title {
  font-family: 'Playfair Display', 'Outfit', -apple-system, sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.6px;
  line-height: 1.18;
  margin: 0 0 12px 0;
}

.er-how-subtitle {
  font-size: 15px;
  color: var(--eq-feat-text-muted, #94a3b8);
  margin: 0 0 28px 0;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

/* Toggle Tabs (For Contractors & Renters / For Fleet Owners) */
.er-how-tabs {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 21, 35, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px;
  border-radius: 9999px;
  gap: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.er-how-tab {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  user-select: none;
}

.er-how-tab:hover {
  color: #ffffff;
}

.er-how-tab.active {
  background: var(--eq-feat-amber, #f59e0b);
  color: #0b0f19;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

/* Cards Grid */
.er-how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
}

@media (min-width: 1280px) {
  .er-how-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1279px) and (min-width: 992px) {
  .er-how-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) and (min-width: 640px) {
  .er-how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .er-how-grid {
    grid-template-columns: 1fr;
  }
}

/* Step Card Architecture */
.er-how-card {
  background: var(--eq-feat-card-bg, #0f1523);
  border: 1px solid var(--eq-feat-card-border, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  padding: 12px 12px 20px 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.er-how-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 20px 42px -12px rgba(0, 0, 0, 0.75), 0 0 24px rgba(245, 158, 11, 0.08);
}

/* Image Box */
.er-how-img-box {
  position: relative;
  height: 135px;
  border-radius: 14px;
  overflow: hidden;
  background: #141c2e;
}

.er-how-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.er-how-card:hover .er-how-img {
  transform: scale(1.06);
}

.er-how-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.4) 0%, rgba(11, 15, 25, 0.65) 100%);
  pointer-events: none;
}

/* Top Left Step Badge (01, 02, 03...) */
.er-how-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f59e0b;
  color: #0b0f19;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
  letter-spacing: 0.5px;
}

/* Icon Badge Overlapping Image and Body */
.er-how-icon-wrapper {
  position: relative;
  z-index: 2;
  margin-top: -20px;
  margin-left: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.er-how-card:hover .er-how-icon-wrapper {
  background: #f59e0b;
  color: #0b0f19;
  border-color: #f59e0b;
  transform: scale(1.1);
}

/* Card Body */
.er-how-card-body {
  padding: 12px 6px 0 6px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.er-how-card-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 8px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.er-how-card-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 72px;
}

.er-how-card-footer {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.er-how-step-tag {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.4px;
}

/* =========================================
   HEADER BADGE & TAB TRANSITIONS
========================================= */
.er-how-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 9999px;
  padding: 6px 18px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #f59e0b;
  margin-bottom: 16px;
}

.er-fade-in {
  animation: erFadeAnimation 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes erFadeAnimation {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   FOR FLEET OWNERS SHOWCASE CARD
========================================= */
.er-how-fleet-card {
  background: linear-gradient(145deg, #0d1424 0%, #080d18 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  padding: 44px 44px;
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

.er-how-fleet-card::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.er-fleet-content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.er-fleet-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 6px;
  margin-bottom: 18px;
}

.er-fleet-title {
  font-family: 'Playfair Display', 'Outfit', -apple-system, sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.24;
  margin-bottom: 14px;
  letter-spacing: -0.4px;
}

.er-fleet-desc {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 28px;
}

.er-fleet-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.er-fleet-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.er-fleet-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.er-fleet-item:hover .er-fleet-icon {
  transform: scale(1.08);
  background: rgba(245, 158, 11, 0.22);
}

.er-fleet-text-wrap {
  flex: 1;
}

.er-fleet-item-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 3px 0;
}

.er-fleet-item-desc {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

.er-fleet-cta-wrap {
  margin-top: 10px;
}

.er-fleet-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f59e0b;
  color: #0b0f19 !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 30px;
  border-radius: 9999px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}

.er-fleet-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  background: #fbbf24;
  color: #0b0f19 !important;
}

.er-fleet-img-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  background: #141c2e;
}

.er-fleet-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.er-how-fleet-card:hover .er-fleet-img {
  transform: scale(1.04);
}

.er-fleet-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 20, 36, 0.1) 0%, rgba(13, 20, 36, 0.7) 100%);
  pointer-events: none;
}

.er-fleet-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 21, 35, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.er-fleet-floating-badge i {
  font-size: 24px;
  color: #f59e0b;
}

.er-fleet-fbadge-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.er-fleet-fbadge-sub {
  font-size: 11.5px;
  color: #94a3b8;
}

@media (max-width: 991px) {
  .er-how-fleet-card {
    padding: 30px 22px;
  }
  .er-fleet-title {
    font-size: 26px;
  }
  .er-fleet-img-box {
    height: 280px;
  }
}

/* =========================================
   EQUIPMENT SEARCH & LIVE MAP LISTING PAGE (DARK DESIGN)
========================================= */
.eq-equipment-page {
  background-color: #0b0f19;
  padding: 115px 0 60px 0 !important;
  color: #ffffff;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

@media (max-width: 991px) {
  .eq-equipment-page {
    padding: 95px 0 40px 0 !important;
  }
}

/* Search Wrapper Floating Pill Bar */
.er-search-wrapper {
  background: rgba(15, 21, 35, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  flex-wrap: wrap;
}

.er-search-field {
  position: relative;
  flex: 1 1 180px;
  display: flex;
  align-items: center;
}

.er-search-field input,
.er-search-field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  padding: 10px 14px 10px 38px !important;
  border-radius: 10px !important;
  font-size: 13.5px !important;
  outline: none !important;
}

.er-search-field select option {
  background: #0f1523;
  color: #ffffff;
}

.er-search-field i {
  position: absolute;
  left: 12px;
  color: var(--eq-feat-amber, #f59e0b);
  font-size: 15px;
  pointer-events: none;
}

.er-filter-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.er-filter-btn:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
  color: #f59e0b;
}

.er-search-btn {
  background: var(--eq-feat-amber, #f59e0b);
  border: none;
  color: #0b0f19;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 22px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.er-search-btn:hover {
  background: #d97706;
  transform: translateY(-1px);
}

/* Results Top Bar & View Switchers */
.er-results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
}

.er-view-switchers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.eq-view-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.eq-view-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.eq-view-btn.active {
  background: var(--eq-feat-amber, #f59e0b) !important;
  color: #0b0f19 !important;
  border-color: var(--eq-feat-amber, #f59e0b) !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3) !important;
}

/* Card Item Wrapper Default (List View) */
.eq-card-item-wrap {
  width: 100% !important;
  flex: 0 0 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin-bottom: 18px !important;
}

/* Horizontal List Result Card */
.eq-equipment-result-card {
  background: linear-gradient(145deg, #111827 0%, #0b0f19 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 18px !important;
  padding: 16px !important;
  margin-bottom: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 18px !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.eq-equipment-result-card:hover,
.eq-equipment-result-card.card-active {
  transform: translateY(-3px) !important;
  border-color: rgba(245, 158, 11, 0.45) !important;
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.15) !important;
}

/* Left Image Box - 240x160 Modern Landscape */
.eq-result-image {
  flex: 0 0 240px !important;
  width: 240px !important;
  height: 160px !important;
  min-height: 160px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  position: relative !important;
  background: #0f172a !important;
  margin: 0 !important;
}

.eq-result-image a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.eq-result-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  display: block !important;
  border-radius: 14px !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.eq-equipment-result-card:hover .eq-result-image img {
  transform: scale(1.05) !important;
}

/* Category Badge over Image (Modern Vibrant Amber Pill) */
.eq-result-cat-badge {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  color: #0b0f19 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  padding: 3px 10px !important;
  border-radius: 9999px !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35) !important;
  z-index: 2 !important;
}

/* Right Details Column */
.eq-result-details {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 2px 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  min-width: 0 !important;
}

/* Subrow (Category Tag + Rating & Wishlist) */
.eq-result-subrow {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 4px !important;
}

.eq-result-brand-tag {
  color: #f59e0b !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
}

.eq-result-top-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.eq-result-rating {
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  color: #10b981 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.eq-result-fav-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  position: static !important;
  padding: 0 !important;
}

.eq-result-fav-icon:hover {
  background: rgba(244, 63, 94, 0.18) !important;
  color: #f43f5e !important;
  border-color: rgba(244, 63, 94, 0.4) !important;
  transform: scale(1.08) !important;
}

/* Title */
.eq-result-title {
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.2px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.eq-result-title a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.eq-result-title a:hover {
  color: #fbbf24 !important;
}

/* Description (2 lines clamp) */
.eq-result-desc {
  font-size: 12.5px !important;
  color: #94a3b8 !important;
  line-height: 1.5 !important;
  margin: 0 0 10px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  height: 38px !important;
}

/* Location & Availability */
.eq-result-loc-avail {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 8px !important;
}

.eq-result-loc-badge {
  color: #cbd5e1 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.eq-result-loc-badge i {
  color: #f59e0b !important;
  font-size: 13px !important;
}

.eq-result-avail-badge {
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  color: #34d399 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

/* Footer Row */
.eq-result-footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: auto !important;
  padding-top: 8px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.eq-result-price-val {
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 3px !important;
}

.eq-result-price-unit {
  font-size: 12px !important;
  color: #94a3b8 !important;
  font-weight: 500 !important;
}

.eq-result-action-btns {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.eq-result-compare-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #e2e8f0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.eq-result-compare-btn:hover {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: #f59e0b !important;
  color: #f59e0b !important;
}

.eq-result-details-btn {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  color: #0b0f19 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 8px 20px !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.eq-result-details-btn:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #000000 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5) !important;
}

/* =========================================
   GRID VIEW SPECIFIC OVERRIDES
========================================= */
.eq-equipment-results.is-grid-view .eq-card-item-wrap {
  width: 50% !important;
  flex: 0 0 50% !important;
  max-width: 50% !important;
  padding: 0 8px 16px 8px !important;
  margin-bottom: 0 !important;
}

@media (max-width: 640px) {
  .eq-equipment-results.is-grid-view .eq-card-item-wrap {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 0 4px 10px 4px !important;
  }
}

.eq-equipment-results.is-grid-view .eq-equipment-result-card {
  flex-direction: column !important;
  height: 100% !important;
  padding: 14px !important;
  gap: 10px !important;
  border-radius: 16px !important;
}

.eq-equipment-results.is-grid-view .eq-result-image {
  width: 100% !important;
  flex: 0 0 160px !important;
  height: 160px !important;
  min-height: 160px !important;
  border-radius: 12px !important;
}

.eq-equipment-results.is-grid-view .eq-result-details {
  padding: 2px 0 !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.eq-equipment-results.is-grid-view .eq-result-title {
  font-size: 15px !important;
  margin: 0 0 2px 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.eq-equipment-results.is-grid-view .eq-result-desc {
  font-size: 11.5px !important;
  line-height: 1.4 !important;
  height: 17px !important;
  -webkit-line-clamp: 1 !important;
  margin: 0 0 6px 0 !important;
}

.eq-equipment-results.is-grid-view .eq-result-loc-avail {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 4px !important;
  margin-bottom: 8px !important;
}

.eq-equipment-results.is-grid-view .eq-result-loc-badge {
  font-size: 11px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 120px !important;
}

.eq-equipment-results.is-grid-view .eq-result-avail-badge {
  font-size: 10.5px !important;
  padding: 2px 8px !important;
  white-space: nowrap !important;
}

.eq-equipment-results.is-grid-view .eq-result-footer {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  margin-top: auto !important;
  padding-top: 8px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.eq-equipment-results.is-grid-view .eq-result-price-val {
  font-size: 18px !important;
}

.eq-equipment-results.is-grid-view .eq-result-action-btns {
  width: 100% !important;
  display: flex !important;
  gap: 6px !important;
}

.eq-equipment-results.is-grid-view .eq-result-details-btn {
  flex: 1 1 50% !important;
  padding: 6px 8px !important;
  font-size: 11.5px !important;
  text-align: center !important;
  justify-content: center !important;
  border-radius: 9999px !important;
}

.eq-equipment-results.is-grid-view .eq-result-compare-btn {
  flex: 1 1 50% !important;
  padding: 6px 8px !important;
  font-size: 11px !important;
  text-align: center !important;
  justify-content: center !important;
  border-radius: 9999px !important;
}

/* Map Column Sticky Layout */
.eq-result-map-column {
  position: sticky !important;
  top: 90px !important;
  height: calc(100vh - 120px) !important;
}

.eq-result-map {
  width: 100% !important;
  height: 100% !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

/* Custom Price Badge Map Marker */
.custom-map-price-marker {
  background: transparent !important;
  border: none !important;
}

.map-price-badge {
  background: rgba(15, 21, 35, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #ffffff;
  font-weight: 700;
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.map-price-badge i {
  color: #f59e0b;
}

.custom-map-price-marker:hover .map-price-badge {
  background: #f59e0b;
  color: #0b0f19;
  transform: scale(1.08);
}

.custom-map-price-marker:hover .map-price-badge i {
  color: #0b0f19;
}

@media (max-width: 991px) {
  .eq-equipment-result-card {
    flex-direction: column !important;
  }
  .eq-result-image {
    width: 100% !important;
    flex: 0 0 180px !important;
    height: 180px !important;
    border-radius: 18px 18px 0 0 !important;
  }
  .eq-result-details {
    padding: 14px 16px 16px 16px !important;
  }
  .eq-result-map-column {
    position: relative !important;
    top: 0 !important;
    height: 400px !important;
    margin-top: 30px !important;
  }
}

/* Floating Map Toggle Button for Mobile */
.eq-mobile-map-toggle-wrap {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
  pointer-events: auto;
}

@media (max-width: 991px) {
  .eq-mobile-map-toggle-wrap {
    display: block;
  }
}

.eq-floating-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0f172a;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.45);
  padding: 10px 22px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 18px rgba(245, 158, 11, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
  outline: none;
}

.eq-floating-map-btn i {
  color: #f59e0b;
  font-size: 15px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.eq-floating-map-btn:hover,
.eq-floating-map-btn:active {
  transform: scale(1.04);
  background: #f59e0b;
  color: #0b0f19;
  border-color: #f59e0b;
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.45);
}

.eq-floating-map-btn:hover i,
.eq-floating-map-btn:active i {
  color: #0b0f19;
}

.eq-floating-map-btn.is-map-active {
  background: #f59e0b;
  color: #0b0f19;
  border-color: #f59e0b;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.45);
}

.eq-floating-map-btn.is-map-active i {
  color: #0b0f19;
}
