/*
 * Stoevelaar Machinery — Equipment Detail Page
 * File:    stoevelaar-equipment-detail.css
 * Upload:  public_html/wp-content/themes/base-child/stoevelaar-equipment-detail.css
 *
 * Scoped under .equipment-detail-page to avoid conflicts with existing CSS.
 * Stoevelaar red: #E4002B  |  Background: #F2F1EE  |  Font: Cera Pro
 */

/* =====================================================
   WRAPPER + BREADCRUMB
   ===================================================== */

.equipment-detail-page {
    background: #F2F1EE;
    min-height: 60vh;
    padding-top: 100px;
}
body.occasions-template-default {
    background: #F2F1EE;
}
.admin-bar .equipment-detail-page {
    padding-top: 132px;
}

.equipment-detail-page .edp-breadcrumb {
    padding: 10px 0;
    font-size: 12px;
    color: #999;
}
.equipment-detail-page .edp-breadcrumb a {
    color: #999;
    text-decoration: none;
}
.equipment-detail-page .edp-breadcrumb a:hover { color: #E4002B; }
.equipment-detail-page .edp-breadcrumb .edp-bc-current { color: #E4002B; }

/* =====================================================
   OUTER GRID
   ===================================================== */

.equipment-detail-page .edp-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.equipment-detail-page .edp-grid {
    display: grid;
    grid-template-columns: 1fr 356px;
    gap: 24px;
    padding: 8px 0 48px;
    align-items: start;
}

.equipment-detail-page .edp-left { min-width: 0; }


/* =====================================================
   TITLE
   ===================================================== */

.equipment-detail-page h1.edp-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.15;
    margin: 0 0 8px;
    padding: 0;
}
.equipment-detail-page .edp-ref-line {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}
.equipment-detail-page .edp-ref-line strong { color: #666; font-weight: 600; }

/* =====================================================
   MAIN PHOTO
   ===================================================== */

.equipment-detail-page .edp-main-photo {
    width: 100%;
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #c8c4bc;
    display: block;
}
.equipment-detail-page .edp-main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.equipment-detail-page .edp-photo-counter {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    pointer-events: none;
}
.equipment-detail-page .edp-photo-hint {
    position: absolute;
    bottom: 10px;
    left: 12px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    pointer-events: none;
}

/* =====================================================
   MEDIA STRIP — video + 2×2 thumbnails
   ===================================================== */

.equipment-detail-page .edp-media-strip {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 8px;
    margin-top: 8px;
}

/* When no video: full-width thumb row */
.equipment-detail-page .edp-media-strip.no-video {
    grid-template-columns: 1fr;
}
.equipment-detail-page .edp-media-strip.no-video .edp-thumbs-grid {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
}
.equipment-detail-page .edp-media-strip.no-video .edp-thumb {
    flex: 1 1 0;
    height: 74px;
}
.equipment-detail-page .edp-media-strip.no-video .edp-thumb-more {
    flex: 0 0 74px;
    height: 74px;
}

/* Inline video embed */
.equipment-detail-page .edp-main-wrap { position: relative; }
.equipment-detail-page .edp-video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
.equipment-detail-page .edp-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.equipment-detail-page .edp-video-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
    z-index: 10;
}
.equipment-detail-page .edp-video-close:hover { background: rgba(0,0,0,0.9); }
.equipment-detail-page .edp-video-box.active { opacity: 0.6; }

/* Video box */
.equipment-detail-page .edp-video-box {
    border-radius: 6px;
    overflow: hidden;
    height: 148px;
    cursor: pointer;
    position: relative;
    background: #111;
    display: block;
    text-decoration: none;
}
.equipment-detail-page .edp-video-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.equipment-detail-page .edp-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(228,0,43,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.equipment-detail-page .edp-video-play svg { margin-left: 3px; }
.equipment-detail-page .edp-video-label {
    position: absolute;
    bottom: 8px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
}

/* Thumbnails grid (2×2) */
.equipment-detail-page .edp-thumbs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
}
.equipment-detail-page .edp-thumb {
    border-radius: 5px;
    overflow: hidden;
    height: 71px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.15s;
    background: #c8c4bc;
    display: block;
}
.equipment-detail-page .edp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.equipment-detail-page .edp-thumb:hover,
.equipment-detail-page .edp-thumb.active { border-color: #E4002B; }

.equipment-detail-page .edp-thumb-more {
    background: #1a1a1a;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    font-weight: 700;
    border-radius: 5px;
    height: 71px;
    cursor: pointer;
    transition: background 0.15s;
}
.equipment-detail-page .edp-thumb-more:hover { background: #E4002B; }

/* =====================================================
   DOWNLOADS
   ===================================================== */

.equipment-detail-page .edp-downloads {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.equipment-detail-page .edp-dl-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1px solid #e0ddd8;
    border-radius: 6px;
    padding: 7px 13px;
    font-size: 12px;
    color: #444;
    cursor: pointer;
    flex: 1;
    min-width: 140px;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}
.equipment-detail-page .edp-dl-pill:hover { border-color: #E4002B; color: #E4002B; }
.equipment-detail-page .edp-dl-pill svg { flex-shrink: 0; }
.equipment-detail-page .edp-dl-zip { justify-content: center; }

/* =====================================================
   CONTENT SECTIONS
   ===================================================== */

.equipment-detail-page .edp-sections { margin-top: 14px; }

.equipment-detail-page .edp-sec {
    background: #fff;
    border: 1px solid #e0ddd8;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}
.equipment-detail-page .edp-sec:last-child { margin-bottom: 0; }

.equipment-detail-page .edp-sec-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    border-bottom: 1px solid #f0ede8;
    cursor: pointer;
    user-select: none;
}
.equipment-detail-page .edp-sec-hdr.always { cursor: default; }
.equipment-detail-page .edp-sec-hdr-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.equipment-detail-page .edp-red-bar {
    width: 3px;
    height: 16px;
    background: #E4002B;
    border-radius: 2px;
    flex-shrink: 0;
}
.equipment-detail-page .edp-sec-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #1a1a1a;
}
.equipment-detail-page .edp-chevron {
    font-size: 11px;
    color: #bbb;
    transition: transform 0.2s;
    display: inline-block;
}
.equipment-detail-page .edp-chevron.open { transform: rotate(180deg); }

.equipment-detail-page .edp-sec-body { padding: 8px 16px 14px; }
.equipment-detail-page .edp-sec-body.collapsed { display: none; }

/* Description text */
.equipment-detail-page .edp-sec-body p,
.equipment-detail-page .edp-sec-body .edp-desc-text {
    font-size: 13px;
    line-height: 1.75;
    color: #333;
    margin-bottom: 10px;
}
.equipment-detail-page .edp-sec-body p:last-child { margin-bottom: 0; }

/* Koppen in de sec-body normaliseren (voorkomt grote headings uit WP editor) */
.equipment-detail-page .edp-sec-body h1,
.equipment-detail-page .edp-sec-body h2,
.equipment-detail-page .edp-sec-body h3,
.equipment-detail-page .edp-sec-body h4,
.equipment-detail-page .edp-sec-body h5,
.equipment-detail-page .edp-sec-body h6 {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
    margin-top: 12px;
    margin-bottom: 6px;
}

/* Spec table (full) */
.equipment-detail-page .edp-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.equipment-detail-page .edp-spec-table tr:nth-child(even) td { background: #F8F7F4; }
.equipment-detail-page .edp-spec-table td {
    padding: 7px 12px;
    border-bottom: 1px solid #f0ede8;
    vertical-align: top;
}
.equipment-detail-page .edp-spec-table td:first-child:not(.edp-spec-full) { color: #888; width: 42%; }
.equipment-detail-page .edp-spec-table td:last-child { font-weight: 400; color: #1a1a1a; }
.equipment-detail-page .edp-spec-table .edp-spec-full { color: #1a1a1a; font-weight: 400; }

/* =====================================================
   SIDEBAR
   ===================================================== */

/*
 * WP sticky header breakdown (no admin bar):
 *   Elementor header 1: 62px
 *   Elementor header 2: 62px
 *   Total: 124px
 * Sidebar top = 124px + 16px gap = 140px
 *
 * With WP admin bar (logged in): add 32px → top: 172px
 */
.equipment-detail-page .edp-sidebar {
    position: sticky;
    top: 140px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.admin-bar .equipment-detail-page .edp-sidebar {
    top: 172px;
}

/* Specs card */
.equipment-detail-page .edp-specs-card {
    background: #fff;
    border: 1px solid #e0ddd8;
    border-radius: 8px;
    overflow: hidden;
}
.equipment-detail-page .edp-specs-header {
    background: #E4002B;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.equipment-detail-page .edp-specs-header-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.equipment-detail-page .edp-specs-header-ref {
    font-size: 12px;
    color: #fff;
}
.equipment-detail-page .edp-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 14px;
    border-bottom: 1px solid #f0ede8;
    font-size: 13px;
}
.equipment-detail-page .edp-spec-row:last-child { border-bottom: none; }
.equipment-detail-page .edp-sl { color: #888; }
.equipment-detail-page .edp-sv { font-weight: 700; color: #1a1a1a; text-align: right; }


/* CTA card — red agent header, white body */
.equipment-detail-page .edp-cta-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.equipment-detail-page .edp-cta-agent {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 14px 14px;
    background: #1a1a1a;
}
.equipment-detail-page .edp-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.equipment-detail-page .edp-seller-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.equipment-detail-page .edp-seller-role {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}
.equipment-detail-page .edp-cta-title {
    font-size: 16px;
    font-weight: 800;
    color: #111;
    margin-bottom: 4px;
    padding: 14px 14px 0;
}
.equipment-detail-page .edp-cta-sub {
    font-size: 13px;
    color: #888;
    margin-bottom: 14px;
    padding: 0 14px;
}
.equipment-detail-page .edp-cta-btns {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    padding: 0 14px;
}
.equipment-detail-page .edp-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 8px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.15s;
}
.equipment-detail-page .edp-cta-btn:hover { opacity: 0.88; }
.equipment-detail-page .edp-cta-btn-mail {
    background: #1a1a1a;
    color: #fff;
}
.equipment-detail-page .edp-cta-btn-wa {
    background: #25D366;
    color: #fff;
}
.equipment-detail-page .edp-cta-tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    text-decoration: none;
    padding: 9px 14px 14px;
    border-top: 1px solid #f0f0f0;
    margin-top: 2px;
}
.equipment-detail-page .edp-cta-tel:hover { color: #E4002B; }
.equipment-detail-page .edp-cta-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 0 14px;
}
.equipment-detail-page .edp-cta-not-found-title {
    color: #E4002B;
    padding-top: 12px;
}

/* Deel deze machine */
.equipment-detail-page .edp-share-card {
    background: #fff;
    border: 1px solid #e0ddd8;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}
.equipment-detail-page .edp-share-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    user-select: none;
    background: #F8F7F4;
    border-bottom: 1px solid #e0ddd8;
    transition: background 0.15s;
}
.equipment-detail-page .edp-share-header:hover { background: #f0eeea; }
.equipment-detail-page .edp-share-header .edp-chevron {
    margin-left: auto;
    transition: transform 0.2s;
}
.equipment-detail-page .edp-share-header .edp-chevron.open {
    transform: rotate(180deg);
}
.equipment-detail-page .edp-share-body {
    padding: 14px;
    border-top: 1px solid #e0ddd8;
}
.equipment-detail-page .edp-share-body.collapsed {
    display: none;
}
/* Copy link button */
.equipment-detail-page .edp-share-copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 12px;
    background: #F2F1EE;
    border: 1px solid #e0ddd8;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-family: 'Cera Pro', sans-serif;
}
.equipment-detail-page .edp-share-copy-btn:hover { background: #e8e6e2; }
.equipment-detail-page .edp-share-copy-btn.copied {
    background: #e8f5e9;
    border-color: #81c784;
    color: #2e7d32;
}
/* Divider */
.equipment-detail-page .edp-share-divider {
    font-size: 11px;
    color: #999;
    margin: 10px 0 8px;
}
/* Email form */
.equipment-detail-page .edp-share-form {
    display: flex;
    gap: 6px;
}
.equipment-detail-page .edp-share-input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #e0ddd8;
    border-radius: 6px;
    font-size: 12px;
    font-family: 'Cera Pro', sans-serif;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
}
.equipment-detail-page .edp-share-input:focus { border-color: #E4002B; }
.equipment-detail-page .edp-share-send-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Cera Pro', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}
.equipment-detail-page .edp-share-send-btn:hover { background: #1a1a1a; }
.equipment-detail-page .edp-share-send-btn:disabled { opacity: 0.6; cursor: default; }
/* Feedback */
.equipment-detail-page .edp-share-feedback {
    font-size: 11px;
    margin-top: 7px;
    min-height: 16px;
}
.equipment-detail-page .edp-share-feedback.success { color: #2e7d32; }
.equipment-detail-page .edp-share-feedback.error { color: #E4002B; }

/* Why Stoevelaar */
.equipment-detail-page .edp-why-card {
    background: #fff;
    border: 1px solid #e0ddd8;
    border-radius: 8px;
    overflow: hidden;
}
.equipment-detail-page .edp-why-header {
    padding: 9px 14px;
    background: #F8F7F4;
    border-bottom: 1px solid #e0ddd8;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.equipment-detail-page .edp-why-body { padding: 8px 14px 10px; }
.equipment-detail-page .edp-why-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #333;
    padding: 4px 0;
}
.equipment-detail-page .edp-why-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #E4002B;
    flex-shrink: 0;
    margin-top: 5px;
}

/* =====================================================
   SIMILAR MACHINES
   ===================================================== */

.equipment-detail-page .edp-similar { padding: 8px 0 0; }
.equipment-detail-page .edp-section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #555;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.equipment-detail-page .edp-section-title-bar {
    width: 3px;
    height: 15px;
    background: #E4002B;
    border-radius: 2px;
    flex-shrink: 0;
}
.equipment-detail-page .edp-sim-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.equipment-detail-page .edp-sim-card {
    background: #fff;
    border: 1px solid #e0ddd8;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: box-shadow 0.15s;
}
.equipment-detail-page .edp-sim-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.1); }
.equipment-detail-page .edp-sim-photo { height: 110px; overflow: hidden; background: #c8c4bc; }
.equipment-detail-page .edp-sim-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.equipment-detail-page .edp-sim-info { padding: 10px 12px; }
.equipment-detail-page .edp-sim-name {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2px;
}
.equipment-detail-page .edp-sim-meta { font-size: 11px; color: #888; margin-bottom: 5px; }
.equipment-detail-page .edp-sim-cta { font-size: 11px; color: #E4002B; font-weight: 700; }

/* =====================================================
   KEY FEATURES CHECKLIST
   ===================================================== */

.equipment-detail-page .edp-kf-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.equipment-detail-page .edp-kf-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    color: #333;
    line-height: 1.4;
}
.equipment-detail-page .edp-chk {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #E4002B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.equipment-detail-page .edp-chk svg {
    display: block;
}

/* =====================================================
   FLOATING ACTION BUTTON (FAB)
   ===================================================== */

.edp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

@keyframes edpFabPulse {
    0%   { box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 0 0 0 rgba(245,166,35,0.65); }
    70%  { box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 0 0 16px rgba(245,166,35,0); }
    100% { box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 0 0 0 rgba(245,166,35,0); }
}

.edp-fab-toggle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #F5A623;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: transform 0.2s, background 0.2s;
    flex-shrink: 0;
    position: relative;
    /* Puls 2× na 1.5s — trekt aandacht zonder te irriteren */
    animation: edpFabPulse 0.9s ease-out 1.5s 2;
}
.edp-fab-toggle:hover { background: #e09510; }
.edp-fab-toggle:focus,
.edp-fab-toggle:focus-visible { outline: none; }
.edp-fab.open .edp-fab-toggle { transform: scale(1.08); }

/* "Contact" tooltip bij hover (desktop only) */
.edp-fab-toggle::before {
    content: 'Contact';
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26,26,26,0.88);
    color: #fff;
    padding: 6px 13px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Cera Pro', sans-serif;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s;
}
.edp-fab-toggle:hover::before { opacity: 1; }
/* Tooltip verbergen als het menu al open is */
.edp-fab.open .edp-fab-toggle::before,
.edp-fab.fab-open .edp-fab-toggle::before { opacity: 0; }

@media (max-width: 768px) {
    .edp-fab-toggle::before { display: none; }
}

.edp-fab-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease;
}
.edp-fab.open .edp-fab-actions {
    max-height: 200px;
    opacity: 1;
}

.edp-fab-action {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: transform 0.15s;
    flex-shrink: 0;
}
.edp-fab-action:hover { transform: scale(1.1); }
.edp-fab-tel  { background: #E8472A; }
.edp-fab-mail { background: #2196F3; }
.edp-fab-wa   { background: #25D366; }

/* =====================================================
   SPECIALIST CONTACT CARD
   ===================================================== */

.edp-specialist-card {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    background: #1A1A1A;
    border-radius: 10px;
    padding: 24px 28px;
    margin: 48px 0 80px;
    overflow: visible;
}

.edp-spec-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.edp-spec-photo img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    border: 3px solid #E4002B;
    display: block;
}

.edp-spec-content { flex: 1; }

.edp-spec-tag {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #E4002B;
    font-weight: 700;
    margin-bottom: 6px;
}

.edp-spec-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    line-height: 1.2;
}

.edp-spec-role {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.edp-spec-specialisms {
    font-size: 11px;
    color: #E4002B;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}

.edp-spec-text {
    font-size: 13px;
    color: #ccc;
    line-height: 1.6;
    margin: 0 0 10px;
}
.edp-spec-text--cta {
    color: #fff;
    font-style: italic;
    margin-bottom: 0;
}

.edp-spec-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.edp-spec-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
}
.edp-spec-icon:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.08);
}
.edp-spec-icon svg { display: block; }

/* =====================================================
   MOBILE — max 768px
   ===================================================== */

@media (max-width: 768px) {
    /* FAB: standaard dichtgeklapt op mobiel — .open telt niet, alleen .fab-open */
    .edp-fab.open .edp-fab-actions {
        max-height: 0;
        opacity: 0;
    }
    .edp-fab.fab-open .edp-fab-actions {
        max-height: 200px;
        opacity: 1;
    }

    .equipment-detail-page .edp-wrap { padding: 0 16px; }

    .equipment-detail-page .edp-grid {
        grid-template-columns: 1fr;
        padding: 16px 0 32px;
        gap: 16px;
    }
    .equipment-detail-page .edp-sidebar {
        position: static;
        top: auto;
    }
    .admin-bar .equipment-detail-page .edp-sidebar {
        top: auto;
    }

    .equipment-detail-page h1.edp-title { font-size: 21px; }
    .equipment-detail-page .edp-main-photo { height: 260px; }

    .equipment-detail-page .edp-media-strip {
        grid-template-columns: 1fr;
    }
    .equipment-detail-page .edp-video-box { height: 180px; }
    .equipment-detail-page .edp-thumbs-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
    }
    .equipment-detail-page .edp-thumb { height: 60px; }
    .equipment-detail-page .edp-thumb-more { height: 60px; }

    .equipment-detail-page .edp-sim-grid { grid-template-columns: 1fr; }

    .edp-specialist-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
        gap: 20px;
    }
    .edp-spec-actions { justify-content: center; }
}

/* ── Ask a question card ──────────────────────────────────────────── */
.equipment-detail-page .edp-ask-card {
    background: #fff;
    border: 1px solid #E0DFDC;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}
.equipment-detail-page .edp-ask-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #F8F7F4;
    border-bottom: 1px solid #E0DFDC;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    user-select: none;
}
.equipment-detail-page .edp-ask-header .edp-chevron {
    margin-left: auto;
    transition: transform 0.2s;
}
.equipment-detail-page .edp-ask-header .edp-chevron.open {
    transform: rotate(180deg);
}
.equipment-detail-page .edp-ask-body {
    padding: 14px;
}
.equipment-detail-page .edp-ask-body.collapsed {
    display: none;
}
.equipment-detail-page .edp-ask-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.equipment-detail-page .edp-ask-input,
.equipment-detail-page .edp-ask-textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #D8D7D4;
    border-radius: 3px;
    font-size: 13px;
    font-family: inherit;
    color: #1A1A1A;
    background: #FAFAFA;
    transition: border-color .15s;
    box-sizing: border-box;
}
.equipment-detail-page .edp-ask-input:focus,
.equipment-detail-page .edp-ask-textarea:focus {
    outline: none;
    border-color: #E4002B;
    background: #fff;
}
.equipment-detail-page .edp-ask-textarea {
    resize: vertical;
    min-height: 72px;
}
.equipment-detail-page .edp-ask-submit {
    width: 100%;
    padding: 9px 14px;
    background: #E4002B;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
    font-family: inherit;
}
.equipment-detail-page .edp-ask-submit:hover  { background: #c8001e; }
.equipment-detail-page .edp-ask-submit:disabled { background: #aaa; cursor: not-allowed; }
.equipment-detail-page .edp-ask-feedback {
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 1.4;
}
.equipment-detail-page .edp-ask-feedback.success { color: #1A8A2E; }
.equipment-detail-page .edp-ask-feedback.error   { color: #E4002B; }

/* =====================================================
   VIEW ALL BAR (sidebar dark bar above ask card)
   ===================================================== */
.equipment-detail-page .edp-view-all-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1A1A1A;
    border-radius: 4px;
    padding: 13px 14px;
    margin-bottom: 12px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    transition: background 0.15s;
}
.equipment-detail-page .edp-view-all-bar:hover {
    background: #2d2d2d;
}
.equipment-detail-page .edp-view-all-bar-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.equipment-detail-page .edp-view-all-bar-text {
    flex: 1;
    line-height: 1.3;
}
.equipment-detail-page .edp-view-all-bar-text strong {
    color: #fff;
    font-weight: 700;
}

