/* CARD WRAPPER */
.lfcc-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
}

/* CARD IMAGE */
.lfcc-card-image img {
    width: 100%;
    display: block;
    transition: transform .6s ease, opacity .6s ease;
    aspect-ratio: 5/4;
}

/* Hover image zoom + fade */
.lfcc-card:hover .lfcc-card-image img {
    transform: scale(1.06);
    opacity: 0.35;
}

/* OVERLAY CONTENT */
.lfcc-card-overlay {
    position: absolute;
    inset: 0;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s ease, transform .4s ease;
    color: #fff;
}
.lfcc-card:hover .lfcc-card-overlay {
    opacity: 1;
    transform: translateY(0);
    background: #B8000000;
}

.lfcc-card-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 12px;
    letter-spacing: .05em;
}
.lfcc-card-short {
    font-size: 13px;
    line-height: 1.4;
}

/* EXPAND BUTTON */
.lfcc-card-expand {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    display: flex;
    justify-content: center;
    cursor: pointer;
    transition: transform .2s ease;
    padding: 0;
    box-shadow: none;
    opacity: 0;
}
.lfcc-card:hover .lfcc-card-expand {
    transform: translateY(-3px); background: none;
    opacity: 1;
}

/* =========================
         POPUP
========================= */
.lfcc-popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.84);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center; /* important */
    overflow-y: auto;        /* allow scroll */
    padding: 20px 12px;      /* safe mobile spacing */
    z-index: 999999;
}


.lfcc-popup {
    width: 88%;
    max-width: 1120px;
    background: #d9cdbf;
    border-radius: 18px;
    display: flex;
    gap: 32px;
    padding: 38px 42px;
    position: relative;
    animation: lfccFadeUp .35s ease-out;
}

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

/* LEFT */
.lfcc-popup-left {
    width: 63%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.lfcc-popup-title {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}
.lfcc-popup-desc {
    font-size: 14px;
    line-height: 1.55;
    color: #2e2a24;
}

/* FEATURES */
.lfcc-popup-features {
    display: flex;
    gap: 40px;
    margin-top: 18px;
}
.lfcc-feature {
    width: 50%;
    font-size: 13px;
    color: #252018;
}
.lfcc-feature-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
}
.lfcc-feature-title {
    font-weight: 600;
    letter-spacing: .08em;
    margin-bottom: 6px;
}

/* RIGHT IMAGE */
.lfcc-popup-right {
    width: 37%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lfcc-popup-right img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* CLOSE BUTTON */
.lfcc-popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    box-shadow: none;
}
.lfcc-popup-close:hover {
    background: transparent;
}


/* RESPONSIVE */
@media (max-width: 900px) {
    .lfcc-popup {
        flex-direction: column-reverse;
        padding: 26px 22px;
    }
    .lfcc-popup-left,
    .lfcc-popup-right {
        width: 100%;
    }
    .lfcc-popup-features {
        flex-direction: column;
        gap: 18px;
    }
     .lfcc-popup {
        max-height: 100vh;
        overflow-y: auto;
        border-radius: 14px;
    }
     .lfcc-popup-close {
        position: fixed;
        top: 0;
        margin-left: auto;
        z-index: 2;
    }
}
@media (max-width: 600px) {
    
    .lfcc-feature{
        width:100%;
    }
    h2.lfcc-popup-title{
        font-size: 36px !important;
}
.lfcc-card-image img {
    aspect-ratio: 5/6;
}
}
@media (max-width:425px){
	.lfcc-card-title, .lfcc-popup-title {
		font-size: 24px !important;
	}
	.lfcc-card-short {
		font-size: 12px !important;
	}
}