/*
Theme Name: Phlox Pro Child
Theme URI: https://www.phlox.pro/
Description: Motyw potomny dla Phlox Pro. Miejsce na własne style i modyfikacje, które pozostają po aktualizacji motywu nadrzędnego.
Author: Frontel
Template: phlox-pro
Version: 1.0.0
Text Domain: phlox-pro-child
*/

/* Dodaj własne style CSS poniżej. */
/* === Globalna czcionka Montserrat === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* Czcionka tylko dla body – bez wymuszania koloru wszędzie */
body, html {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400;
    color: rgb(33, 44, 52); /* możesz zostawić, bo dotyczy tylko treści strony */
}

/* Nagłówki */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600;
    color: inherit; /* dziedziczy kolor, zamiast narzucać */
}

/* Linki i menu – przywracamy kontrolę Elementorowi/motywowi */
a, .menu a, nav a {
    color: inherit;
}

/* Przyciski – bez narzucania koloru tekstu */
button, input[type="submit"], .button, .wp-block-button__link {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600;
    color: inherit; /* Elementor/motyw ustawi kolor */
}

.power-icon > a::before {
    content: "";
    display: inline-block;
    width: 70px;
    height: 70px;
    margin-right: 8px;
    background-image: url("https://buzzupwithme.com/wp-content/uploads/2026/05/POWER-1.svg");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
.luz-icon > a::before {
    content: "";
    display: inline-block;
    width: 150px;
    height: 150px;
    margin-right: 8px;
    background-image: url("https://buzzupwithme.com/wp-content/uploads/2025/09/Luz-BuzzUp-v1.png");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
.deep-icon > a::before {
    content: "";
    display: inline-block;
    width: 150px;
    height: 150px;
    margin-right: 8px;
    background-image: url("https://buzzupwithme.com/wp-content/uploads/2025/08/Deep-BuzzUp-v1.png");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
.focus-icon > a::before {
    content: "";
    display: inline-block;
    width: 150px;
    height: 150px;
    margin-right: 8px;
    background-image: url("https://buzzupwithme.com/wp-content/uploads/2025/10/Focus-BuzzUp-v1.png");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
.spark-icon > a::before {
    content: "";
    display: inline-block;
    width: 150px;
    height: 150px;
    margin-right: 8px;
    background-image: url("https://buzzupwithme.com/wp-content/uploads/2025/08/Spark-BuzzUp-v1.png");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
.blog-icon > a::before {
    content: "";
    display: inline-block;
    width: 70px;
    height: 70px;
    margin-right: 8px;
    background-image: url("https://buzzupwithme.com/wp-content/uploads/2026/05/KNOWLEDGE-1.svg");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
.a1i0s0 > a::before {
    content: "";
    display: inline-block;
    width: 70px;
    height: 70px;
    margin-right: 8px;
    background-image: url("https://buzzupwithme.com/wp-content/uploads/2026/05/brain_icon_v2.svg");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
.kontakt-icon > a::before {
    content: "";
    display: inline-block;
    width: 70px;
    height: 70px;
    margin-right: 8px;
    background-image: url("https://buzzupwithme.com/wp-content/uploads/2026/05/CONTACT-1.svg");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
.me-icon > a::before {
    content: "";
    display: inline-block;
    width: 70px;
    height: 70px;
    margin-right: 8px;
    background-image: url("https://buzzupwithme.com/wp-content/uploads/2026/05/ME-1.svg");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
.faq-icon > a::before {
    content: "";
    display: inline-block;
    width: 70px;
    height: 70px;
    margin-right: 8px;
    background-image: url("https://buzzupwithme.com/wp-content/uploads/2026/05/FAQ-1.svg");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
.offer-icon > a::before {
    content: "";
    display: inline-block;
    width: 70px;
    height: 70px;
    margin-right: 8px;
    background-image: url("https://buzzupwithme.com/wp-content/uploads/2026/05/OFFER-1.svg");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
/* Checkout – odsunięcie treści spod sticky headera */
.woocommerce-checkout .wc-block-checkout {
    margin-top: 120px;
}

/* Mobile */
@media (max-width: 768px) {
    .woocommerce-checkout .wc-block-checkout {
        margin-top: 120px;
    }
}
/* WooCommerce Blocks – przycisk "Kontynuuję i płacę" */
.wc-block-components-button:not(.is-link) {
    background-color: #8A5827 !important;
    color: #FDEFDB !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    padding: 14px 22px !important;
    border: none !important;
}

/* Tekst w środku */
.wc-block-components-button:not(.is-link) span {
    color: #FDEFDB !important;
}

/* Hover */
.wc-block-components-button:not(.is-link):hover {
    background-color: #212C34 !important;
}

/* Disabled */
.wc-block-components-button.is-disabled,
.wc-block-components-button[disabled] {
    background-color: #8A5827 !important;
    opacity: 0.6 !important;
}/* Checkout – przycisk full width */
.wc-block-components-button:not(.is-link) {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 56px !important; /* wysokość – możesz zwiększyć */
    font-size: 16px !important;
}

/* Tekst w środku – żeby był wyśrodkowany */
.wc-block-components-button:not(.is-link) span {
    width: 100%;
    text-align: center;
}
.toggle-content {
    display: none;
}
/* FINALNE USUNIĘCIE BIAŁEJ RAMKI NA STRONIE KONTAKT */
.page-id-491 .wrap,
.page-id-491 .container,
.page-id-491 .page-wrap,
.page-id-491 .site-content,
.page-id-491 .content-area,
.page-id-491 main {
    background: #FCF7F3 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
html {
    scroll-padding-top: 165px !important;
}

.fluentform {
    scroll-margin-top: 165px !important;
}

/* ===== DESKTOP – OBRAZEK + TEKST BLISKO SIEBIE ===== */

.buzz-radio .ff-el-form-check {
    display: grid !important;
    grid-template-columns: 1fr !important;
    row-gap: 28px !important;
}

/* Jedna opcja */
.buzz-radio .ff-el-form-check .ff-item {
    display: grid !important;
    grid-template-columns: 120px 1fr !important;  /* obrazek | tekst */
    align-items: center !important;
    column-gap: 14px !important;
}

/* Obrazek */
.buzz-radio .ff-choice-image {
    width: 120px !important;
    flex: none !important;
}

/* Tekst po prawej */
.buzz-radio .ff-el-form-check-label {
    text-align: left !important;
    margin: 0 !important;
}

/* Radio */
.buzz-radio input[type="radio"] {
    margin-bottom: 6px !important;
}

/* Link */
.buzz-radio a {
    margin: 4px 0 6px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

/* Opis */
.buzz-radio .ff-el-form-check-label p,
.buzz-radio .ff-el-form-check-label span {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}


/* ===== MOBILE – OBRAZEK NAD TEKSTEM ===== */

@media (max-width: 768px) {

    .buzz-radio .ff-el-form-check {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .buzz-radio .ff-el-form-check .ff-item {
        grid-template-columns: 1fr !important;   /* ZAMIAST FLEX */
        text-align: center !important;
    }

    .buzz-radio .ff-choice-image {
        margin: 0 auto 12px !important;
    }

    .buzz-radio .ff-el-form-check-label {
        text-align: center !important;
    }

    .buzz-radio .ff-el-form-check-label span,
    .buzz-radio .ff-el-form-check-label p,
    .buzz-radio .ff-el-form-check-label a {
        text-align: center !important;
    }
}@media (max-width: 768px) {

    .buzz-radio .ff-el-form-check-label,
    .buzz-radio .ff-el-form-check-label span,
    .buzz-radio .ff-el-form-check-label p,
    .buzz-radio .ff-el-form-check-label a {
        text-align: left !important;
    }

    .buzz-radio .ff-el-form-check .ff-item {
        align-items: flex-start !important;
    }

}/* === NAPRAWA: wymuszenie widoczności ostatniej opcji === */

.buzz-radio .ff-el-form-check .ff-item {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
}

.buzz-radio .ff-el-form-check .ff-item:last-child {
    display: grid !important;
    grid-template-columns: 120px 1fr !important;
    align-items: center !important;
    column-gap: 14px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Mobile – też wymuszamy pokazanie ostatniej opcji */
@media (max-width: 768px) {
    .buzz-radio .ff-el-form-check .ff-item:last-child {
        grid-template-columns: 1fr !important;
    }
}/* === USUNIĘCIE DUŻEJ PRZERWY DLA OSTATNIEJ OPCJI "INNE" === */

.buzz-radio .ff-el-form-check .ff-item:last-child {
    grid-template-columns: 1fr !important; /* usuwa kolumnę na obrazek */
}

.buzz-radio .ff-el-form-check .ff-item:last-child .ff-choice-image {
    display: none !important; /* całkowicie ukrywa obrazek */
}

.buzz-radio .ff-el-form-check .ff-item:last-child .ff-el-form-check-label {
    padding-left: 0 !important;
}/* === NAPRAWA DUŻEJ PUSTKI POD "Luz BuzzUp" === */

.buzz-radio .ff-el-form-check .ff-item:last-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
    min-height: 0 !important;
    height: auto !important;
}

/* kasujemy rezerwację miejsca po obrazku */
.buzz-radio .ff-el-form-check .ff-item:nth-last-child(2) {
    margin-bottom: 8px !important;
    padding-bottom: 0 !important;
}

/* awaryjnie – jeśli coś nadal trzyma wysokość */
.buzz-radio .ff-el-form-check {
    align-items: flex-start !important;
}/* USUWA OBRAZEK TYLKO DLA OSTATNIEJ OPCJI */
.buzz-radio .ff-el-form-check .ff-item:last-child .ff-choice-image {
    display: none !important;
}

/* USUWA PUSTĄ PRZESTRZEŃ PO OBRAZKU */
.buzz-radio .ff-el-form-check .ff-item:last-child {
    grid-template-columns: 1fr !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* DOPINA TEKST DO LEWEJ */
.buzz-radio .ff-el-form-check .ff-item:last-child .ff-el-form-check-label {
    margin-left: 0 !important;
    text-align: left !important;
}

/* Ustawienie czcionki Montserrat we Fluent Forms */
.fluentform,
.fluentform * {
    font-family: 'Montserrat', sans-serif !important;
}

/* Kolor tekstu formularza */
.fluentform {
    color: #031E31 !important; /* Twój granat */
}
/* Ustaw kolor nagłówków (H1–H6) w Edytorze Tekstu Elementor */
.elementor-widget-text-editor h1,
.elementor-widget-text-editor h2,
.elementor-widget-text-editor h3,
.elementor-widget-text-editor h4,
.elementor-widget-text-editor h5,
.elementor-widget-text-editor h6 {
    color: #031E31 !important;
}
@media (max-width: 767px) {
    .elementor-nav-menu--dropdown,
    .elementor-nav-menu__container,
    .elementor-menu-toggle + .elementor-nav-menu--dropdown {
        width: 90vw !important;
        max-width: 90vw !important;
    }

    .elementor-nav-menu--dropdown a {
        white-space: nowrap !important;
    }
}

/* === Sekcja "Sprawdź też" w popupie YITH === */

/* Nazwy produktów */
.yith-wacp-related-products .product h3,
.yith-wacp-related-products .product .woocommerce-loop-product__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #0b2239; /* granat */
    text-align: center;
    text-transform: none;
    margin: 10px 0 5px;
    line-height: 1.4em;
}

/* Styl nagłówka koszyka "Your cart" */
.woocommerce-mini-cart__title,
.widget_shopping_cart_content h2,
.woocommerce-cart h1,
.woocommerce-cart h2 {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 600;
    color: rgb(33, 44, 52) !important;
}

/* Styl nagłówka sekcji "Sprawdź też.." */
.related.products h2,
.cross-sells h2,
.woocommerce .cart-collaterals h2 {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 500;
    color: rgb(33, 44, 52) !important;
    letter-spacing: 0.5px;
}

/* Dodatkowo: teksty w mini-koszyku */
.woocommerce-mini-cart__empty-message,
.woocommerce-mini-cart__total,
.woocommerce-mini-cart__buttons a {
    font-family: "Montserrat", sans-serif !important;
    color: rgb(33, 44, 52) !important;
}

/* Cena produktu */
.yith-wacp-related-products .price {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #CDB899; /* nowy złoty odcień */
    text-align: center;
    display: block;
    margin-bottom: 10px;
}

/* Uporządkowanie kart produktów */
.yith-wacp-related-products .product {
    text-align: center;
    padding: 10px;
}

/* Wyrównanie nazw i cen */
.yith-wacp-related-products .product a {
    text-decoration: none;
}
.single-post #primary {
    width: 100% !important;
    max-width: 100% !important;
}
.single-post #secondary,
.single-post .sidebar {
    display: none !important;
}