/* ─── Campers grid ──────────────────────────────────────────────────────── */

.ct-campers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    padding: 0;
}

/* ─── Camper card ───────────────────────────────────────────────────────── */

.ct-camper-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s ease, transform .25s ease;
}

.ct-camper-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
    transform: translateY(-3px);
}

/* ─── Afbeelding ────────────────────────────────────────────────────────── */

.ct-camper-card__img-link {
    display: block;
    text-decoration: none;
}

.ct-camper-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #e5e5ea;
}

.ct-camper-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.ct-camper-card:hover .ct-camper-card__img img {
    transform: scale(1.05);
}

.ct-camper-card__no-img {
    width: 100%;
    height: 100%;
    background: #e5e5ea;
}

/* ─── Badge ─────────────────────────────────────────────────────────────── */

.ct-camper-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #8A190F;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

/* ─── Body ──────────────────────────────────────────────────────────────── */

.ct-camper-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.ct-camper-card__type {
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #8A190F;
}

.ct-camper-card__title {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1C1C1E;
    line-height: 1.2;
    margin: 0;
}

.ct-camper-card__title a,
.ct-camper-card__title a:visited {
    color: #1C1C1E !important;
    text-decoration: none !important;
}

.ct-camper-card__title a:hover {
    color: #8A190F !important;
}

/* ─── Meta (personen / lengte / bed) ────────────────────────────────────── */

.ct-camper-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.ct-camper-card__meta-item {
    font-size: 13px;
    color: #3A3A3D;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ct-camper-card__meta-item i {
    color: #8A190F;
}

/* ─── Kenmerken ─────────────────────────────────────────────────────────── */

.ct-camper-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ct-camper-card__feature {
    background: #F3EFE6;
    border-radius: 4px;
    padding: 3px 9px;
    font-size: 12px;
    color: #3A3A3D;
}

/* ─── Divider ───────────────────────────────────────────────────────────── */

.ct-camper-card__divider {
    border: none;
    border-top: 1px solid #E5E5EA;
    margin: 4px 0 0;
}

/* ─── Footer (prijs / rating / knop) ───────────────────────────────────── */

.ct-camper-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.ct-camper-card__footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ct-camper-card__price {
    font-size: 14px;
    color: #3A3A3D;
}

.ct-camper-card__price strong {
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1C1C1E;
}

.ct-camper-card__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #3A3A3D;
}

.ct-camper-card__rating i {
    color: #E8A23A;
    font-size: 12px;
}

/* ─── Knop ──────────────────────────────────────────────────────────────── */

.ct-btn {
    display: inline-flex;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 13px;
    border-radius: 8px;
    padding: 10px 18px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease;
}

.ct-btn--primary {
    background: #8A190F;
    color: #fff;
}

.ct-btn--primary:hover {
    background: #6d1209;
    box-shadow: 0 4px 16px rgba(138, 25, 15, .3);
    transform: translateY(-1px);
    color: #fff;
}

/* ─── Geen campers melding ──────────────────────────────────────────────── */

.ct-no-campers {
    color: #666;
    font-style: italic;
}

/* ─── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
    .ct-campers-grid {
        grid-template-columns: 1fr;
    }
}
