/* BIOBEY COMMERCE / PRODUCT CARDS */
/* 5. WOOCOMMERCE ALGEMEEN
--------------------------------------- */

.woocommerce-cart .woocommerce-shipping-destination {
    display: none;
}

.woocommerce-error {
    background: #fff !important;
    color: #e2401c !important;
}
.woocommerce div.product div.summary p.in-stock {
    color: #327a09;
}

@media (max-width: 1025px) {
    body.archive.tax-product_cat .widget-area.sidebar-primary {
        display: none;
    }
}


/* 6. TASJE / ICONEN NAAST ADD TO CART WEG
--------------------------------------- */

.woocommerce ul.products li.product a.added_to_cart::before,
.woocommerce ul.products li.product a.added_to_cart::after,
a.added_to_cart.wc-forward::before,
a.added_to_cart.wc-forward::after {
    display: none !important;
    content: none !important;
}


/* 7. PRIJZEN DOORGESTREEPT
--------------------------------------- */

.woocommerce .price del,
.woocommerce del .amount,
.woocommerce del .woocommerce-Price-amount,
.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
    color: #333 !important;
    opacity: 1 !important;
}


/* 8. STERREN
--------------------------------------- */

.woocommerce .star-rating,
.woocommerce .star-rating span:before,
.woocommerce .star-rating:before {
    font-size: 17px !important;
    line-height: 1.2 !important;
}

.woocommerce .star-rating span:before {
    color: #E3B341 !important;
}

.woocommerce .star-rating:before {
    color: #8C8C8C !important;
    opacity: 1 !important;
}

.woocommerce p.stars a:hover:before,
.woocommerce p.stars a:focus:before {
    color: #F58220 !important;
}


/* 10. PRODUCTGRID
--------------------------------------- */

.woocommerce ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
}

.woocommerce ul.products li.product .product-inner,
.woocommerce ul.products li.product .woo-entry-inner {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.woocommerce ul.products li.product li.title h2 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.4 !important;
    max-height: 2.8em !important;
}

.woocommerce ul.products li.product li.title h2 a {
    display: block !important;
}

.woocommerce ul.products li.product [itemprop="description"] p {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.5 !important;
    max-height: 4.5em !important;
}

.woocommerce ul.products li.product li.btn-wrap {
    margin-top: auto !important;
}

.archive .outofstock-badge,
.post-type-archive-product .outofstock-badge,
.tax-product_cat .outofstock-badge,
.woocommerce-shop .outofstock-badge,
.upsells .outofstock-badge,
.up-sells .outofstock-badge,
.related .outofstock-badge,
.cross-sells .outofstock-badge {
    display: none !important;
}



/* SALE BADGE VERBERGEN */
/* OceanWP / WooCommerce - sale badge verbergen */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale,
.single-product span.onsale,
.product span.onsale {
    display: none !important;
}

/* PRODUCTKAART TYPOGRAFIE EN CTA */
/* =========================================================
   PRODUCTKAARTEN
   ========================================================= */

.woocommerce ul.products li.product {
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}


/* Producttitel */

.woocommerce ul.products li.product .woo-entry-inner li.title {
    margin-top: 10px;
    margin-bottom: 0;
}

.woocommerce ul.products li.product .woo-entry-inner li.title a {
    display: -webkit-box;

    overflow: hidden;

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;

    letter-spacing: 0;
    text-transform: none;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    line-clamp: 2;
}


/* Korte beschrijving */

.woocommerce ul.products li.product .archive-product-short-desc {
    display: -webkit-box;

    overflow: hidden;

    margin: 7px 0 9px;

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;

    letter-spacing: 0;
    text-transform: none;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    line-clamp: 3;
}


/* Prijs */

.woocommerce ul.products li.product .price {
    margin-top: 6px;
    margin-bottom: 10px;

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
}

.woocommerce ul.products li.product .price .amount {
    font-size: inherit;
    font-weight: inherit;
}


/* Winkelmandknop */

.woocommerce ul.products li.product .button {
    border-radius: 0;

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;

    letter-spacing: 0;
    text-transform: none;
}


/* Productkaarten mobiel */

@media (max-width: 600px) {

    h1 {
        line-height: 1.08;
    }

    h2 {
        line-height: 1.12;
    }

    .woocommerce ul.products li.product .woo-entry-inner li.title {
        margin-top: 8px;
    }

    .woocommerce ul.products li.product .woo-entry-inner li.title a {
        font-size: 15px;
        line-height: 1.3;
    }

    .woocommerce ul.products li.product .archive-product-short-desc {
        margin: 6px 0 8px;
        font-size: 12.5px;
        line-height: 1.4;
    }

    .woocommerce ul.products li.product .price {
        margin-top: 5px;
        margin-bottom: 9px;
        font-size: 15px;
    }

    .woocommerce ul.products li.product .button {
        font-size: 13px;
    }
}
