/*
 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
*/


/* Global */
body {
    background-color: var(--primary-ultra-light) !important;
}

.open-chaty .chaty-svg svg {
    display: none !important;
}

.open-chaty .chaty-svg {
    display: block;
    width: 100% !important;
    height: 100% !important;
    background-image: url('/wp-content/uploads/2026/09/holspa_chat.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
    
#chaty-widget-0 .chaty-i-trigger .chaty-cta-button button {
    background-color: #c3a36c !important;
}

#chaty-widget-0 .chaty-i-trigger .chaty-channel button {
    width: 84px !important;
    height: 84px !important;
}

/* Pływające widżety na telefonie: mniejsze i bliżej krawędzi (WPC Fly Cart i Chaty nie mają ustawień mobilnych) */
@media (max-width: 767px) {
    .woofc-count.woofc-count-bottom-left {
        bottom: 12px !important;
        left: 12px !important;
        width: 48px !important;
        height: 48px !important;
        line-height: 48px !important;
        font-size: 20px !important;
    }

    #chaty-widget-0 .chaty-widget {
        bottom: 12px !important;
        right: 12px !important;
    }

    /* body: Chaty drukuje własne reguły (84px) później w stronie */
    body #chaty-widget-0 .chaty-i-trigger .chaty-channel,
    body #chaty-widget-0 .chaty-i-trigger .chaty-channel button,
    body #chaty-widget-0 .chaty-i-trigger .chaty-channel .chaty-svg,
    body #chaty-widget-0 .chaty-i-trigger .chaty-channel .chaty-svg svg {
        width: 60px !important;
        height: 60px !important;
    }

    /* Dymek „Skontaktuj się z nami!” zachodzi na koszyk */
    #chaty-widget-0 .on-hover-text {
        display: none !important;
    }
}

#chaty-widget-0 .chaty-i-trigger .chaty-channel {
  width: 84px !important;
  height: 84px !important;
}

#chaty-widget-0 .chaty-i-trigger .chaty-cta-button {
  background-color: transparent !important;
}

.chaty-channel-list {
  bottom: 25px !important;
  right: 15px !important;
}

#chaty-widget-0 .chaty-i-trigger .chaty-channel .chaty-svg {
  width: 84px !important;
  height: 84px !important;
}


/* Header */

.header .menu-item {
    border-radius: 50px;
    transition: background-color 0.2s ease;
}

.header .menu-item a {
    padding: 2px 10px;
}
    
.header .current_page_item {
    background-color: #EDE7DD;
}
    
.header .menu-item:hover {
    background-color: #EDE7DD;
}
    
.header .menu-featured {
    border: 1px solid #4a3f35;
}


/* Produkt */
.wpcvt-add-to-cart .single_add_to_cart_button {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50px;
}

/* Voucher kwotowy: bez tabeli i przycisku wyboru wariantu (układ pól odbiorcy: klasa single-product__add-to-cart) */
.post-31021 .single-product__variation-button {
    display: none;
}

.post-31021 #variations {
    display: none;
}


/* GTranslate */
#gt_float_wrapper {
    bottom: 120px !important;
    left: 40px !important;
}

@media (max-width: 767px) {
    #gt_float_wrapper {
        bottom: 80px !important;
        left: 12px !important;
    }
}

/* WooCommerce*/

.woocommerce-checkout h3 {
    margin-bottom: 10px;
}

.woocommerce-checkout input, .woocommerce-checkout .select2-selection {
    height: 50px;
}

.woocommerce .button {
	background-color: var(--primary);
	color: var(--white);
}

.woocommerce-info {
    background-color: var(--primary-light) !important;
    color: var(--primary-dark) !important;
}

.woocommerce-info a {
	color: var(--primary-dark) !important;
}

.woocommerce-checkout form.checkout_coupon {
    background-color: var(--primary-light);
}

.woocommerce-cart-form .coupon input {
    height: 40px;
}

.woocommerce-checkout #payment:not(.brx-payment-options__container) .payment_methods .payment_box {
    background-color: var(--primary-light);
}

/* Cookie */
#cookie-notice {
    z-index: 10000 !important;
}