/*
Theme Name:     Neve Child
Template:       neve
*/

/* ------------------------------------------------------- */
/* PRIJS OPMAAK                                           */
/* ------------------------------------------------------- */
.sl-price-prefix,
.sl-price-unit {
    font-size: 16px !important;
    color: #000 !important;
    font-weight: 400;
}

.sl-price-amount {
    font-size: 22px !important;
    color: #c00000 !important;
    font-weight: 600 !important;
}

.sl-price-excl {
    font-size: 12px !important;
    color: #000 !important;
    opacity: 0.8;
}

/* ------------------------------------------------------- */
/* ICOON BLOK (Inleg / Uitvoering)                         */
/* ------------------------------------------------------- */
.product-card-uitvoering {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #f3f3f3;
    border-radius: 6px;
    margin: 8px 0;
}
.product-card-uitvoering img {
    max-width: 100%;
    max-height: 100%;
}

/* ------------------------------------------------------- */
/* PRODUCT CARD – BASIS                                    */
/* ------------------------------------------------------- */
.woocommerce ul.products li.product .nv-card-content-wrapper {
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 12px 12px 16px;
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.woocommerce ul.products li.product .nv-card-content-wrapper:hover {
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}

/* Afbeelding */
.woocommerce ul.products li.product .sp-product-image {
    margin-bottom: 10px;
}

/* ------------------------------------------------------- */
/* TITEL – gelijke hoogte                                  */
/* ------------------------------------------------------- */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 100px;
    line-height: 1.25;
    margin-bottom: 6px;
}

/* ------------------------------------------------------- */
/* PRICE / VOORRAAD / KNOP IN ÉÉN KOLOM                    */
/* ------------------------------------------------------- */
.woocommerce ul.products li.product .nv-product-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.woocommerce ul.products li.product .nv-product-content .price {
    margin: 4px 0;
}

/* ------------------------------------------------------- */
/* VOORRAAD – 2 tinten kleiner + netjes op 1 regel         */
/* ------------------------------------------------------- */
.woocommerce ul.products li.product .sp-loop-stock p.stock {
    font-size: 12px !important;
    line-height: 1.25 !important;
    margin: 2px 0 6px 0 !important;
    display: flex;
    align-items: center;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

/* ------------------------------------------------------- */
/* BOLLETJES VOOR ALLE STATUSSEN                          */
/* ------------------------------------------------------- */

/* OP VOORRAAD — groen */
.woocommerce ul.products li.product p.stock.in-stock::before {
    content: "● ";
    color: #6bbb3d;
    font-size: 14px;
    margin-right: 4px;
}

/* NABESTELLING — oranje */
.woocommerce ul.products li.product p.stock.on-backorder::before {
    content: "● ";
    color: #f4a100;
    font-size: 14px;
    margin-right: 4px;
}

/* GEEN VOORRAAD — rood */
.woocommerce ul.products li.product p.stock.out-of-stock::before {
    content: "● ";
    color: #cc0000;
    font-size: 14px;
    margin-right: 4px;
}

/* ------------------------------------------------------- */
/* LANGERE LEVERTIJD NETJES CENTREREN                     */
/* ------------------------------------------------------- */
.woocommerce ul.products li.product p.stock:not(.in-stock) {
    justify-content: center;
    text-align: center;
}

/* ------------------------------------------------------- */
/* KNOP – netjes gecentreerd                              */
/* ------------------------------------------------------- */
.woocommerce ul.products li.product a.button {
    margin-top: 8px;
    width: 80%;
    max-width: 220px;
    align-self: center;
}

/* ------------------------------------------------------- */
/* CATEGORY TITLE                                          */
/* ------------------------------------------------------- */
.sp-category-title-wrap {
    margin: 20px 0;
}
.sp-category-title {
    font-size: 30px;
    font-weight: 700;
}

/* ------------------------------------------------------- */
/* MOBILE – 1 kaart per rij                                */
/* ------------------------------------------------------- */
@media (max-width: 768px) {
    .woocommerce ul.products li.product {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
}
