/* ==========================================================
   ALLE KENMERKEN — knop + decoratieve lijnen
   ========================================================== */

.whv-kenmerken-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px 0;
}

.whv-kenmerken-line {
    flex: 1;
    height: 1px;
    background-color: #c8b99a;
}

.whv-kenmerken-trigger {
    flex-shrink: 0;
    background: transparent;
    border: 1px solid var(--e-global-color-uicore_headline);
    color: var(--e-global-color-uicore_headline);
    font-family: var(--uicore-typography--p-f, 'Averta', sans-serif);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 32px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.whv-kenmerken-trigger:hover {
    background: var(--e-global-color-uicore_headline);
    color:  var(--e-global-color-4mz95ds);
}


/* ==========================================================
   BACKDROP
   ========================================================== */

.whv-slideover-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 99998;
}

.whv-slideover-backdrop.is-open {
    display: block;
}


/* ==========================================================
   SLIDE-OVER PANEEL
   ========================================================== */

.whv-slideover-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 480px;
    max-width: 100vw;
    height: 100vh;
    background: #faf7f2;
    z-index: 99999;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    display: flex;
    flex-direction: column;
}

.whv-slideover-panel.is-open {
    transform: translateX(0);
}

/* Body scroll vergrendelen als paneel open is */
body.whv-panel-open {
    overflow: hidden;
}


/* ==========================================================
   SLUITKNOP
   ========================================================== */

.whv-slideover-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #070707;
    cursor: pointer;
    padding: 4px 8px;
    z-index: 1;
    transition: opacity 0.2s ease;
}

.whv-slideover-close:hover {
    opacity: 0.6;
}


/* ==========================================================
   SCROLLBARE INHOUD
   ========================================================== */

.whv-slideover-body {
    overflow-y: auto;
    flex: 1;
    padding: 64px 40px 48px;
}


/* ==========================================================
   SECTIES IN HET PANEEL
   ========================================================== */

.whv-section {
    margin-bottom: 36px;
}

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

.whv-section-title {
    font-family: var(--uicore-typography--h3-f, 'Frank Ruhl Libre', serif);
    font-size: 22px;
    font-weight: 400;
    color: #c8b99a;
    margin: 0 0 16px;
    padding: 0;
    border: none;
}


/* ==========================================================
   RIJEN (hergebruikt uit bestaande CSS — geen wijziging nodig)
   .omni-row, .omni-label, .omni-val, .omni-floor-header,
   .omni-floor-title, .omni-row-comment, .omni-comment,
   .omni-doc-row — die CSS blijft ongewijzigd staan
   ========================================================== */

/* Enkel een kleine override voor het paneel zodat rijen
   niet botsen met de bredere padding van .whv-slideover-body */
.whv-slideover-body .omni-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid #e8e0d5;
    gap: 16px;
}

.whv-slideover-body .omni-label {
    color: #666;
    font-size: 14px;
    flex-shrink: 0;
}

.whv-slideover-body .omni-val {
    color: #070707;
    font-size: 14px;
    text-align: right;
}

.whv-slideover-body .omni-val img {
    max-height: 25px;
    width: auto;
    vertical-align: middle;
}

/* Verdieping titels */
.whv-slideover-body .omni-floor-header {
    margin-top: 20px;
    border-bottom: 2px solid #070707;
}

.whv-slideover-body .omni-floor-header:first-child {
    margin-top: 0;
}

.whv-slideover-body .omni-floor-title {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #070707;
}

/* Comments */
.whv-slideover-body .omni-comment {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

/* Document links */
.whv-slideover-body .omni-doc-row a {
    color: #070707;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s ease;
}

.whv-slideover-body .omni-doc-row a:hover {
    opacity: 0.6;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 768px) {
    .whv-slideover-panel {
        width: 100vw;
    }

    .whv-slideover-body {
        padding: 56px 24px 40px;
    }

    .whv-kenmerken-trigger {
        padding: 12px 24px;
        font-size: 12px;
    }
}
