/* 
Theme Name: WijverkopenTweedehandsFietsen.nl
Theme URI: https://github.com/sembogaarts/wijverkopentweedehandsfietsen-nl
Author: Let's Deploy
Author URI: https://letsdeploy.nl/
Template: hello-elementor
Version: 2.0.0
Text Domain: wijverkopentweedehandsfietsen
*/

:root {
    --primary: #1E73BE;
}

/* WooCommerce overrides */

.woocommerce span.onsale {
    min-height: auto;
    min-width: auto;
    line-height: inherit;
    padding: 8px !important;
}

.woocommerce span.price ins,
p.price ins {
    text-decoration: none;
}

.woocommerce-breadcrumb {
    padding: 0 !important;
    margin: 0 !important;
}

/* Product card */

.product-card {
    display: grid;
    max-width: 100%;
    grid: 200px auto / 1fr;
    gap: 1rem;
}

.product-card__image {
    align-items: center;
    justify-items: center;
    display: flex;
}

.product-card img {
    width: auto;
    max-height: 100%;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.product-card__title {
    color: var(--primary);
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.product-card__title:hover {
    text-decoration: underline;
}

.product__state {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: black;
    font-weight: 500;
}

.product__state-stars {
    display: flex;
    gap: .125rem;
}

.product__state svg {
    width: 1rem;
    height: 1rem;
    fill: #F0AD4E;
}

.product__state p {
    margin: 0;
    padding: 0;
}

.product__state-stars {
    display: flex;
}

.product_card__property-label {
    font-weight: 500;
}

.product_card__property-label,
.product_card__property-value {
    color: black;
    font-size: .875rem;
}

.product-card__price {
    font-weight: 500;
    color: black;
}

@media screen and (max-width: 768px) {
    .product-card {
        grid: 1fr / 40% 1fr;
    }

    .product-card__image {
        align-items: start;
    }
}

/* Mobile: 1 product per row */
@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .woocommerce li {
        width: 100%;
    }
}