/* =========================================
   1. HEADER OVERRIDE FOR INNER PAGES
========================================= */
.eq-header-v6:not(.is-sticky) {
    position: relative !important;
    background: #080d1a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 14px 0 !important;
    top: auto !important;
    left: auto !important;
}

.eq-header-v6.is-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-color: rgba(8, 13, 26, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    padding: 10px 0 !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5) !important;
    z-index: 1000 !important;
}

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

/* =========================================
   2. PAGE BASE & TYPOGRAPHY
========================================= */
.eq-equipment-page {
    background: #080d1a !important;
    color: #f8fafc !important;
    min-height: calc(100vh - 80px) !important;
    padding: 24px 0 60px !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
}

/* Breadcrumb */
.eq-page-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.eq-page-breadcrumbs a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.eq-page-breadcrumbs a:hover {
    color: #f59e0b;
}

.eq-page-breadcrumbs .divider {
    color: #475569;
}

.eq-page-breadcrumbs .active {
    color: #f59e0b;
    font-weight: 600;
}

/* Top Directory Header Row */
.eq-page-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.eq-page-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 6px 0 !important;
    letter-spacing: -0.3px !important;
}

.eq-page-subtitle {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
}

.eq-page-subtitle .highlight-count {
    color: #f59e0b;
    font-weight: 700;
}

/* Top Action Buttons (Compare Matrix & View Switchers) */
.eq-top-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.eq-matrix-btn {
    background: #101726;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.eq-matrix-btn:hover {
    background: #1e293b;
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.4);
}

.eq-view-tabs {
    display: inline-flex;
    background: #101726;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    padding: 4px;
    gap: 4px;
}

.eq-view-tab-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.eq-view-tab-btn:hover {
    color: #ffffff;
}

.eq-view-tab-btn.active {
    background: #f59e0b;
    color: #0b0f19;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
}

/* =========================================
   3. SLEEK FILTER PANEL (4-COL PILL INPUTS)
========================================= */
.eq-filter-panel {
    background: #0d1424;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.eq-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 0 !important;
}

.eq-filter-input-wrap {
    position: relative;
    background: #111a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 14px 0 38px;
    transition: all 0.2s ease;
}

.eq-filter-input-wrap:focus-within {
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

.eq-filter-input-wrap .eq-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #f59e0b;
    font-size: 14px;
    pointer-events: none;
}

.eq-filter-input-wrap input,
.eq-filter-input-wrap select {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #f8fafc;
    font-size: 13.5px;
    padding: 0;
    cursor: pointer;
}

.eq-filter-input-wrap input::placeholder {
    color: #94a3b8;
}

.eq-filter-input-wrap select option {
    background: #0d1424;
    color: #f8fafc;
}

/* Secondary Filter Bar (Slider & Availability) */
.eq-filter-subbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 16px;
}

/* Slider */
.eq-slider-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eq-slider-label {
    font-size: 12.5px;
    color: #94a3b8;
    font-weight: 500;
    white-space: nowrap;
}

.eq-range-slider {
    -webkit-appearance: none;
    width: 160px;
    height: 5px;
    border-radius: 5px;
    background: #1e293b;
    outline: none;
    cursor: pointer;
}

.eq-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #f59e0b;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.eq-slider-badge {
    color: #f59e0b;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

/* Availability Pills */
.eq-avail-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.eq-avail-label {
    font-size: 12.5px;
    color: #94a3b8;
    font-weight: 500;
}

.eq-avail-pills {
    display: inline-flex;
    gap: 6px;
}

.eq-avail-pill {
    background: #111a2e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.eq-avail-pill:hover {
    background: #23314e;
    color: #ffffff;
}

.eq-avail-pill.active {
    background: #f59e0b;
    color: #0b0f19;
    border-color: #f59e0b;
    font-weight: 700;
}

/* =========================================
   4. EQUIPMENT LISTING CARDS (MOCKUP EXACT)
========================================= */
.eq-cards-col {
    max-height: calc(100vh - 165px);
    overflow-y: auto;
    padding-right: 12px;
    scrollbar-width: thin;
    scrollbar-color: #23314e transparent;
}

.eq-cards-col::-webkit-scrollbar {
    width: 6px;
}

.eq-cards-col::-webkit-scrollbar-thumb {
    background: #23314e;
    border-radius: 10px;
}

.eq-card-item-wrap {
    width: 100%;
    margin-bottom: 14px;
}

.eq-equipment-result-card {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 14px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 16px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.eq-equipment-result-card:hover,
.eq-equipment-result-card.card-active {
    transform: translateY(-2px) !important;
    border-color: rgba(245, 158, 11, 0.45) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 16px rgba(245, 158, 11, 0.1) !important;
}

/* 200x132 Landscape Image Box */
.eq-result-image {
    flex: 0 0 200px !important;
    width: 200px !important;
    height: 132px !important;
    min-height: 132px !important;
    max-height: 132px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    position: relative !important;
    background: #1e293b !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;
    display: block !important;
    border-radius: 12px !important;
    transition: transform 0.35s ease !important;
}

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

/* Category Badge on Image */
.eq-result-cat-badge {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    background: #f59e0b !important;
    color: #000000 !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    padding: 2.5px 8px !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    z-index: 2 !important;
}

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

/* Top Subrow */
.eq-result-subrow {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 2px !important;
}

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

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

.eq-result-fav-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f43f5e !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;
}

.eq-result-fav-icon:hover,
.eq-result-fav-icon.filled {
    background: rgba(244, 63, 94, 0.15) !important;
    color: #f43f5e !important;
    border-color: rgba(244, 63, 94, 0.3) !important;
}

/* Card Title */
.eq-result-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0 0 3px 0 !important;
    line-height: 1.25 !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: #f59e0b !important;
}

/* Card Description */
.eq-result-desc {
    font-size: 11.5px !important;
    color: #94a3b8 !important;
    line-height: 1.35 !important;
    margin: 0 0 4px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    max-height: 32px !important;
}

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

.eq-result-loc-badge {
    color: #94a3b8 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

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

.eq-result-avail-badge {
    color: #10b981 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

/* Card Footer */
.eq-result-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: auto !important;
    padding-top: 4px !important;
}

.eq-result-price-val {
    font-family: 'Outfit', -apple-system, sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #f59e0b !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: 8px !important;
}

.eq-result-compare-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #e2e8f0 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 3px 10px !important;
    height: 27px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !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: #f59e0b !important;
    color: #000000 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 12px !important;
    height: 27px !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3) !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.eq-result-details-btn:hover {
    background: #fbbf24 !important;
    color: #000000 !important;
    box-shadow: 0 5px 14px rgba(245, 158, 11, 0.45) !important;
    transform: translateY(-1px) !important;
}

/* =========================================
   5. VIEW MODES: CARDS (1 ROW 4 CARDS) & FULL MAP
========================================= */
/* Cards Only Mode (4 Cards Per Row) */
.is-cards-mode .eq-cards-col {
    max-height: none !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.is-cards-mode .eq-cards-container {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin: 0 !important;
    width: 100% !important;
}

.is-cards-mode .eq-card-item-wrap {
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
}

@media (max-width: 1100px) {
    .is-cards-mode .eq-cards-container {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 860px) {
    .is-cards-mode .eq-cards-container {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 540px) {
    .is-cards-mode .eq-cards-container {
        grid-template-columns: 1fr !important;
    }
}

.is-cards-mode .eq-equipment-result-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.25s ease !important;
}

.is-cards-mode .eq-equipment-result-card:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 0 15px rgba(245, 158, 11, 0.1) !important;
}

.is-cards-mode .eq-result-image {
    width: 100% !important;
    flex: 0 0 180px !important;
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
    border-radius: 14px 14px 0 0 !important;
    position: relative !important;
    background: #1e293b !important;
    overflow: hidden !important;
}

.is-cards-mode .eq-result-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 14px 14px 0 0 !important;
}

/* Image Overlay Actions (Hidden in Split, Shown in Cards Mode) */
.eq-img-overlay-actions {
    display: none;
    position: absolute;
    top: 8px;
    right: 8px;
    align-items: center;
    gap: 6px;
    z-index: 4;
}

.is-cards-mode .eq-img-overlay-actions {
    display: flex !important;
}

.eq-img-overlay-btn,
.eq-img-overlay-fav {
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    background: rgba(15, 23, 42, 0.78) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #cbd5e1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.eq-img-overlay-btn:hover {
    background: rgba(245, 158, 11, 0.25) !important;
    border-color: #f59e0b !important;
    color: #f59e0b !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35) !important;
}

.eq-img-overlay-fav:hover,
.eq-img-overlay-fav.filled,
.eq-img-overlay-fav.bi-heart-fill {
    background: rgba(244, 63, 94, 0.25) !important;
    border-color: #f43f5e !important;
    color: #f43f5e !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.35) !important;
}

/* Category Badge: Compact & Small only in Cards View */
.is-cards-mode .eq-result-cat-badge {
    top: 8px !important;
    left: 8px !important;
    font-size: 8px !important;
    font-weight: 800 !important;
    letter-spacing: 0.35px !important;
    padding: 2px 6.5px !important;
    border-radius: 4px !important;
    line-height: 1.2 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}

.is-cards-mode .eq-result-details {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 1 auto !important;
    padding: 14px 16px 16px 16px !important;
    background: transparent !important;
    width: 100% !important;
}

.is-cards-mode .eq-result-subrow {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 4px !important;
}

/* Hide in-body heart in Cards Mode */
.is-cards-mode .eq-result-top-actions {
    display: none !important;
}

.is-cards-mode .eq-result-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 4px 0 6px 0 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.is-cards-mode .eq-result-desc {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 12px !important;
    color: #94a3b8 !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
}

.is-cards-mode .eq-result-location-pin {
    font-size: 11.5px !important;
    color: #cbd5e1 !important;
    margin-bottom: 12px !important;
}

.is-cards-mode .eq-result-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.is-cards-mode .eq-result-action-btns {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
}

/* Hide footer compare in Cards Mode (already on image top-right) */
.is-cards-mode .eq-result-compare-btn {
    display: none !important;
}

.is-cards-mode .eq-result-details-btn {
    padding: 4px 14px !important;
    height: 29px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3) !important;
}

/* Full Map Mode */
.is-fullmap-mode .eq-map-col {
    width: 100% !important;
    height: calc(100vh - 180px) !important;
}

/* =========================================
   6. STICKY INTERACTIVE MAP
========================================= */
.eq-map-col {
    height: calc(100vh - 165px);
    position: sticky;
    top: 85px;
}

.eq-result-map {
    height: 100%;
    min-height: 520px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.map-price-badge {
    background: #0b0f19;
    border: 1px solid rgba(245, 158, 11, 0.6);
    color: #ffffff;
    font-weight: 800;
    font-size: 11.5px;
    padding: 3px 8px;
    border-radius: 9999px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.map-price-badge i {
    color: #f59e0b;
    font-size: 11px;
}

.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;
}

.leaflet-popup-content-wrapper {
    background: #0f1523 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6) !important;
}

.leaflet-popup-content {
    margin: 0 !important;
    width: 250px !important;
}

.leaflet-popup-tip {
    background: #0f1523 !important;
}

/* =========================================
   7. FLOATING MAP TOGGLE BUTTON (CENTERED ON MOBILE)
========================================= */
.eq-mobile-map-toggle-wrap {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    pointer-events: auto;
}

.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;
}

/* =========================================
   8. COMPREHENSIVE RESPONSIVE STYLING
========================================= */
@media (max-width: 992px) {
    .eq-mobile-map-toggle-wrap {
        display: block;
    }
    .eq-equipment-page {
        padding: 16px 0 85px !important;
    }
    .eq-page-title {
        font-size: 26px !important;
    }
    .eq-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .eq-cards-col {
        max-height: none;
        padding-right: 0;
        margin-bottom: 24px;
    }
    .eq-map-col {
        position: relative;
        top: 0;
        height: 460px;
    }
    .is-fullmap-mode .eq-map-col {
        height: calc(100vh - 140px) !important;
        min-height: 480px;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .eq-equipment-page {
        padding: 14px 0 85px !important;
    }
    .eq-page-breadcrumbs,
    .eq-page-title-block,
    .eq-page-title,
    .eq-page-subtitle {
        display: none !important;
    }
    .eq-page-header-row {
        margin: 0 0 14px 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 0 !important;
    }
    .eq-top-controls {
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
        flex-wrap: nowrap !important;
    }
    .eq-matrix-btn {
        flex: 0 0 auto !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        padding: 6px 12px !important;
        font-size: 11.5px !important;
        height: 34px !important;
        border-radius: 9999px !important;
        white-space: nowrap !important;
    }
    .eq-view-tabs {
        flex: 0 0 auto !important;
        display: inline-flex !important;
        align-items: center !important;
        padding: 3px !important;
        gap: 2px !important;
        border-radius: 9999px !important;
        height: 34px !important;
        background: #101726 !important;
    }
    .eq-view-tab-btn {
        padding: 4px 8px !important;
        font-size: 11px !important;
        height: 28px !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
    }

    /* Filter Form */
    .eq-filter-panel {
        padding: 10px 12px;
        border-radius: 14px;
        margin-bottom: 16px;
    }
    .eq-filter-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .eq-filter-input-wrap {
        height: 38px;
        padding: 0 12px 0 34px;
    }
    .eq-filter-input-wrap .eq-input-icon {
        left: 11px;
        font-size: 13px;
    }
    .eq-filter-input-wrap input,
    .eq-filter-input-wrap select {
        font-size: 12.5px;
    }

    /* Equipment Result Cards in Split / Default View */
    .eq-equipment-result-card {
        flex-direction: column !important;
        padding: 10px !important;
        gap: 10px !important;
        border-radius: 14px !important;
    }
    .eq-result-image {
        width: 100% !important;
        flex: 0 0 145px !important;
        height: 145px !important;
        min-height: 145px !important;
        max-height: 145px !important;
        border-radius: 10px !important;
    }
    .eq-result-details {
        padding: 2px 2px !important;
    }
    .eq-result-title {
        font-size: 14px !important;
        margin: 2px 0 4px 0 !important;
    }
    .eq-result-desc {
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }
    .eq-result-price-val {
        font-size: 17px !important;
    }
    .eq-result-action-btns {
        gap: 6px !important;
    }
    .eq-result-compare-btn,
    .eq-result-details-btn {
        height: 26px !important;
        padding: 3px 10px !important;
        font-size: 10.5px !important;
    }

    /* 2 Cards Grid mode in Mobile */
    .is-cards-mode .eq-cards-container {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    .is-cards-mode .eq-card-item-wrap {
        width: 100% !important;
        flex: 1 1 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    .is-cards-mode .eq-equipment-result-card {
        padding: 7px 7px 10px 7px !important;
        border-radius: 12px !important;
    }
    .is-cards-mode .eq-result-image {
        height: 115px !important;
        min-height: 115px !important;
        max-height: 115px !important;
        border-radius: 9px 9px 0 0 !important;
    }
    .is-cards-mode .eq-result-details {
        padding: 7px 3px 2px 3px !important;
    }
    .is-cards-mode .eq-result-brand-tag {
        font-size: 8px !important;
    }
    .is-cards-mode .eq-result-title {
        font-size: 11.5px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        white-space: normal !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        height: 29px !important;
        margin: 2px 0 4px 0 !important;
    }
    .is-cards-mode .eq-result-title a {
        font-size: 11.5px !important;
        white-space: normal !important;
    }
    .is-cards-mode .eq-result-desc {
        display: none !important;
    }
    .is-cards-mode .eq-result-loc-avail {
        margin-bottom: 4px !important;
    }
    .is-cards-mode .eq-result-loc-badge {
        font-size: 9px !important;
    }
    .is-cards-mode .eq-result-footer {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 5px !important;
        padding-top: 4px !important;
        margin-top: auto !important;
    }
    .is-cards-mode .eq-result-price-val {
        font-size: 14px !important;
    }
    .is-cards-mode .eq-result-price-unit {
        font-size: 9px !important;
    }
    .is-cards-mode .eq-result-details-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 4px 6px !important;
        height: 26px !important;
        font-size: 10px !important;
    }

    /* Map column in mobile full-map mode */
    .is-fullmap-mode .eq-map-col {
        height: calc(100vh - 120px) !important;
        min-height: 420px;
    }
    .eq-result-map {
        min-height: 420px;
        border-radius: 12px;
    }
}

@media (max-width: 420px) {
    .eq-matrix-btn {
        padding: 5px 8px !important;
        font-size: 11px !important;
        gap: 4px !important;
    }
    .eq-view-tabs {
        padding: 2px !important;
        gap: 1px !important;
    }
    .eq-view-tab-btn {
        padding: 4px 6px !important;
        font-size: 10.5px !important;
        gap: 3px !important;
    }
}

@media (max-width: 380px) {
    .eq-floating-map-btn {
        padding: 9px 18px;
        font-size: 12.5px;
    }
}
