/* ═══════════════════════════════════════════════
   Plant Feature Module — v1.4.0
   ═══════════════════════════════════════════════ */

/* ── GRID ── */
.pfm-wrap {
    width: 100%;
}

.pfm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* ── KNOP ── */
.pfm-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 4px 12px 8px !important;
    background: #ffffff;
    border: 1px solid #F7F3EE;
    cursor: default;
    text-align: left;
    width: 100%;
    min-width: 0;
    transition: background 0.15s;
}

.pfm-btn--has-popup {
    cursor: pointer;
}

.pfm-btn--has-popup:hover {
    background: #faf9f6;
}

.pfm-btn__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a3a3a;
}

.pfm-btn__icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.pfm-btn__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
}

.pfm-btn__title {
    color: var(--gcid-body-color);
    font-family: 'Kollektif', Helvetica, Arial, Lucida, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pfm-btn__value {
    font-size: 16px;
    font-family: 'Kollektif', Helvetica, Arial, Lucida, sans-serif;
    color: var(--gcid-heading-color);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pfm-btn__arrow {
	padding: 6px;
	border-radius: 54px;
	box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.12)!important;
    font-weight: 400;
    flex-shrink: 0;
    margin-left: auto;
	max-height: 24px;
	max-width: 24px;
	margin-right:8px;
}

/* ── OVERLAY ── */
.pfm-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pfm-overlay--open {
    display: flex;
}

.pfm-body-lock {
    overflow: hidden;
}

/* ── POPUP — DESKTOP ── */
.pfm-popup {
    background: #ffffff;
    padding: 32px!important;
    max-width: 60vw;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
    animation: pfm-in 0.25s ease;
	transition: 0.2s!important;
}

@keyframes pfm-in {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── SLUITKNOP ── */
.pfm-close {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #5A5A5A;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background 0.15s;
	box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.12);

}

.pfm-close:hover {
    background: #f5f3ef;
}

/* ── SLIDES — DESKTOP ── */
.pfm-slide {
    display: none;
    flex-direction: row;
    min-height: 360px;
}

.pfm-slide--active {
    display: flex;
}

.pfm-slide__media {
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #F7F3EE!important;
}

.pfm-video,
.pfm-gif {
    width: 100%;
    height: 100%;
	max-width: 500px;
	max-height: 500px;
    object-fit: contain;
}

/* Content rechts — nav zit erin, dus flex column met space-between */
.pfm-slide__content {
    flex: 1;
	padding-left: 40px;
	display: flex;
    flex-direction: column;
	justify-content: space-between;
}

.pfm-slide__title {
    color: #353535;
	font-family: Kollektif;
	font-size: 24px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	padding-bottom: 8px!important;
}

.pfm-slide__desc {
    color: #5A5A5A;
	font-family: Kollektif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 22px; /* 137.5% */

    flex: 1;
}

/* ── NAVIGATIE — binnen pfm-slide__content ── */
.pfm-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    gap: 12px;
}

.pfm-nav__btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
	border: none!important;
    border-radius: 40px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    color: #353535;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.15s, transform 0.1s;
    max-width: 46%;
    min-width: 0;
    overflow: hidden;
}

.pfm-nav__btn--prev {
	padding: 8px 16px 8px 8px;
}

.pfm-nav__btn--next {
	padding: 8px 8px 8px 16px;
}

.pfm-nav__btn:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.pfm-nav__icon {
    color: #b8935a;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
	height: 24px;
}

.pfm-nav__btn--prev .pfm-nav__icon { order: -1; }
.pfm-nav__btn--next .pfm-nav__icon { order: 1; }

.pfm-nav__label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── MOBIEL ── */
@media (max-width: 640px) {
    .pfm-grid {
        gap: 8px;
    }
	
	.pfm-btn {
	gap: 8px;	
	}
	
	.pfm-btn__icon:has(img) {
	width: 24px;
    height: 24px;
	}
	
	.pfm-btn__icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

    .pfm-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .pfm-popup {
		padding: 28px 20px!important;
        border-radius: 20px 20px 0 0;
        max-height: 92vh;
        max-width: 100%;
    }

    .pfm-close {
        top: 14px;
        right: 14px;
    }

    .pfm-slide {
        flex-direction: column;
        min-height: unset;
    }

    .pfm-slide__media {
        width: auto;
        height: 260px;
        border-radius: 20px 20px 0 0;
        border: none!important;
        margin: 0;    }

    .pfm-slide__content {
        padding: 28px 0px 0px 0px;
    }

    .pfm-slide__title {
        font-size: 20px;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .pfm-slide__desc {
        font-size: 16px;
        line-height: 22px;
    }

    .pfm-nav {
        padding-top: 28px;
    }

    .pfm-nav__btn {
        padding: 10px 16px;
        font-size: 13px;
        max-width: 48%;
    }
}
