/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

:root { --db-tabs-offset: 350px; }

::placeholder {
    color: #8f8f8f;
}

html {
    overflow-x: hidden;
}

.brxe-woocommerce-mini-cart:hover i {
    color:#5570e8;
}

.woocommerce main.site-main {
    width: 100%;
}

.woocommerce-error {
    margin-top: 48px;
    border-radius: 14px;
}

.woocommerce-notices-wrapper .woocommerce-message {
    border-radius: 14px;
}

.cart-empty.woocommerce-info {
    margin-bottom: 48px;
    border-radius: 14px;
}

.woocommerce .button {
    padding: 14px 24px 14px 24px;
    border-radius: 14px;
}
.woocommerce .button:hover {
    background-color: #081989;
    color: #ffffff;
}

.woocommerce-notices-wrapper {
    margin-top: 48px;
}


.single-product .woocommerce-notices-wrapper {
    display: none !important;
}


a.added_to_cart.wc-forward {
    display: none;
}

.woocommerce-cart .woocommerce-message a {
    color: #fff !important;
}

.woocommerce-checkout .woocommerce-message a {
    color: #fff !important;
}

/* ------------------------------------------------------------
   Product search results (match design from Zoeken.pdf)
------------------------------------------------------------ */

.af-sres__container {
    width: min(1280px, 92%);
    margin: 0 auto;
    padding: 80px 0 70px;
}

.af-sres__header {
    margin-bottom: 30px;
}

.af-sres__title {
    margin: 0;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.1;
    font-weight: 700;
}

.af-sres__term {
    color: #5570e8;
}

.af-sres__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

@media (max-width: 1100px) {
    .af-sres__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .af-sres__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .af-sres__container { padding-top: 50px; }
}

@media (max-width: 520px) {
    .af-sres__grid { grid-template-columns: 1fr; }
}

.af-sres-card {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    background: #fff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.af-sres-card:hover {
    border-color: rgba(85, 112, 232, .55);
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

.af-sres-card__img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    margin-bottom: 10px;
}

.af-sres-card__imgtag {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.af-sres-card__body {
    flex: 1;
}

.af-sres-card__cat {
    font-size: 12px;
    font-weight: 600;
    color: #5570e8;
    margin-bottom: 8px;
}

.af-sres-card__title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: #0b0f2e;
    text-decoration: none;
}

.af-sres-card__footer {
    margin-top: 14px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.af-sres-card__price {
    font-size: 18px;
    font-weight: 800;
}

.af-sres-card__price .woocommerce-Price-amount {
    font-weight: 800;
}

.af-sres-card__price .woocommerce-Price-currencySymbol {
    font-weight: 800;
}

.af-sres-atc {
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #1ecb5c !important;
    border: 0 !important;
    color: #fff !important;
}

.af-sres-atc:hover {
    background: #16b04e !important;
    color: #fff !important;
}

.af-sres-atc__ico {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.af-sres__actions {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.af-sres__continue {
    color: #0b0f2e;
    text-decoration: none;
    font-weight: 600;
}

.af-sres__loadmore {
    border: 1.5px solid #5570e8;
    background: #fff;
    color: #0b0f2e;
    border-radius: 12px;
    padding: 12px 22px;
    font-weight: 700;
    cursor: pointer;
}

.af-sres__loadmore:hover {
    background: rgba(85, 112, 232, .08);
}

.af-sres__loadmore.is-loading {
    opacity: .6;
    cursor: wait;
}

.af-sres__empty {
    padding: 20px 0 10px;
}

@media (max-width: 991.98px) {

    .wa__btn_popup {
        bottom: 230px !important;
    }

}

