/* PREMIUM DARK HEXON OCCASION STYLES */

body {
    background: #1a1a1a !important;
}

.hexon-occasions-container {
    max-width: 1300px;
    margin: 50px auto;
    padding: 0 20px;
}

.hexon-occasions-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.hexon-occasion-card {
    flex: 0 1 calc(33.333% - 30px);
    margin: 15px;
    background: #141414;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 28px rgba(0,0,0,0.5);
    transition: transform .25s ease, box-shadow .25s ease;
}
.hexon-occasion-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px #c3e942;
}

/* IMAGE */
.hexon-slider {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}
.hexon-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TAGS */
.hexon-tags {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 8px;
    z-index: 2;
}
.hexon-tag {
    background: rgba(0,0,0,0.7);
    padding: 5px 12px;
    border-radius: 14px;
    font-size: .8rem;
    font-weight: 600;
    color: #c3e942;
    border: 1px solid rgba(195,233,66,0.4);
}

/* TITLE */
.hexon-occasion-title {
    font-size: 1.35rem;
    font-weight: 700;
    padding: 20px;
    color: #ccc;
    margin: 0;
}
.hexon-title-link {
    color: inherit;
    text-decoration: none;
}

/* PRICE */
.hexon-card-price {
    font-size: 1.35rem;
    font-weight: 700;
    padding: 0 20px 10px;
    color: #ccc;
}

/* META GRID */
.hexon-card-meta {
    padding: 15px 20px 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    font-size: .95rem;
    color: #ccc;
}
.hexon-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hexon-meta-item svg {
    width: 22px;
    height: 22px;
    stroke: #c3e942;
    flex-shrink: 0;
}

/* BUTTONS */
.hexon-card-actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hexon-btn-primary,
.hexon-btn-secondary {
    border-radius: 14px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 0;
    display: block;
    transition: background .2s ease, opacity .2s ease;
}

.hexon-btn-primary {
    background: #1a1a1a;
    color: #ccc;
    border: 1px solid rgba(195,233,66,0.4);
}
.hexon-btn-primary:hover { opacity: .9;
     background: #383838;
}

.hexon-btn-secondary {
    background: #c3e942;
    color: #1a1a1a;
}
.hexon-btn-secondary:hover {opacity: .9;}

.hexon-icon {
    width: 20px;
    height: 20px;
    stroke: #c3e942;
    flex-shrink: 0;
}

.hexon-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Forceer dat Font Awesome iconen verdwijnen */
.hexon-card-meta i[class^="fa"],
.hexon-card-meta i[class*=" fa"] {
    display: none !important;
}


/* RESPONSIVE */
@media (max-width: 1024px) {
    .hexon-occasion-card { flex: 0 1 calc(50% - 30px); }
}

@media (max-width: 700px) {
    .hexon-occasion-card { flex: 0 1 100%; }
    .hexon-card-meta { grid-template-columns: 1fr; }
}
/* Container voor de afbeelding */
.hexon-slider {
    position: relative;
    overflow: hidden;
}

/* De badges */
.hexon-badge {
    position: absolute;
    top: 20px;
    left: -35px; /* Schuif naar links voor de hoek */
    width: 150px;
    text-align: center;
    padding: 8px 0;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    color: #fff;
    transform: rotate(-45deg);
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Kleuren per status */
.hexon-badge.status-sold {
    background-color: #d9534f; /* Rood */
}

.hexon-badge.status-reserved {
    background-color: #f0ad4e; /* Oranje/Geel */
}

.hexon-badge.status-expected {
    background-color: #5bc0de; /* Blauw */
}

/* Styling voor de foto als de auto verkocht is */
.hexon-occasion-card.status-sold img {
    filter: grayscale(80%);
    opacity: 0.7;
}

/* Prijs tekst als de auto verkocht is */
.price-sold {
    color: #d9534f;
    font-weight: bold;
    text-transform: uppercase;
}