/**
 * Theme Name:     Reclaimit
 * Author:         Nick
 * Template:       astra
 * Text Domain:    reclaimit
 * Description:    We hebben méér dan 45.000 verschillende producten van automatiserings- en industriële onderdelen, zoals HMI's, PLC’s, Frequentieregelaars, Hydrauliek en Elektromotoren in onze eigen voorraad van verschillende merken.
 * Theme URI:      https://reclaimit.nl
 * Author URI:     https://reclaimit.nl
 * Version:        1.0.1
 */

/* Producttitels in winkelpagina: min hoogte en gecentreerd */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Container voor knoppen onder elkaar met ruimte */
.custom-btn-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
    margin-top: 20px !important;
}

/* Basis styling voor beide knoppen */
.custom-btn-wrapper .single_add_to_cart_button,
.custom-btn-wrapper .offer_your_price_button {
    width: 220px !important;            /* vaste breedte */
    min-height: 44px !important;        /* vaste minimale hoogte */
    padding: 12px 0 !important;         /* verticale padding */
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 24px !important;     /* meer afgerond */
    cursor: pointer !important;
    text-align: center !important;
    box-sizing: border-box !important;  /* padding en border tellen mee in de grootte */
    transition: all 0.3s ease !important;
    user-select: none !important;
    text-decoration: none !important;
    border: 2px solid transparent !important;
    display: inline-flex !important;     /* flex voor centreren van tekst */
    align-items: center !important;
    justify-content: center !important;
    line-height: normal !important;
}

/* Bestel knop: achtergrond en border blauwigroen */
.custom-btn-wrapper .single_add_to_cart_button {
    background-color: #3AA6B9 !important;
    color: #fff !important;
    border-color: #3AA6B9 !important;
}

/* Hover bestel knop */
.custom-btn-wrapper .single_add_to_cart_button:hover {
    background-color: #2d8293 !important;
    border-color: #2d8293 !important;
    color: #fff !important;
}

/* Onderhandel knop: wit met blauwigroene rand en tekst */
.custom-btn-wrapper .offer_your_price_button {
    background-color: #fff !important;
    color: #3AA6B9 !important;
    border-color: #3AA6B9 !important;
    margin-bottom: 20px !important;  /* extra ruimte onder de knop */
}

/* Hover onderhandel knop */
.custom-btn-wrapper .offer_your_price_button:hover {
    background-color: #3AA6B9 !important;
    color: #fff !important;
    border-color: #3AA6B9 !important;
    text-decoration: none !important;
}

/* Product titel grootte op single product pagina */
.single-product .product_title {
    font-size: 20px !important;
}

@media only screen and (max-width: 768px) {
    .single-product .product_title {
        font-size: 16px !important;
    }
}

/* Productafbeeldingen: breedte aanpassen */
img.woocommerce-product-gallery__image {
    width: 200px;
    height: auto;
}

/* Voorkom horizontale scroll */
html, body,
footer,
.site-footer,
.ast-footer,
#colophon {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
}

/* Verklein hoofdafbeelding op single productpagina */
.single-product .woocommerce-product-gallery__image img {
    max-width: 55%;   /* Pas dit percentage aan naar wens, bv. 50% of 70% */
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Optioneel: centreren van de hele gallery wrapper */
.single-product .woocommerce-product-gallery {
    text-align: center;
}

/* Verklein thumbnails onder hoofdafbeelding */
.single-product .woocommerce-product-gallery__image--thumbnail img {
    max-width: 60px;
    height: auto;
}