/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */
@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Lato-Black';
    src: url('fonts/Lato-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}
body,
body p,
.f-lato-regular,
.f-lato-regular p,
p.f-lato-regular,
.main-navigation .primary-menu-container > ul > li.menu-item > a {
    font-family: 'Lato', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.cta-button a,
.f-lato-black,
.f-lato-black p,
p.f-lato-black {
    font-family: 'Lato-Black', sans-serif;
}
.f-c-white,
.f-c-white p,
.f-c-white h2 {
    color: #FFF;
}
.f-s-24 {
    font-size: 24px;
    line-height: 32px;
}
.f-s-30 {
    font-size: 30px;
    line-height: 38px;
}
.f-s-32 {
    font-size: 32px;
    line-height: 40px;
}
.f-s-36,
.f-s-36 h2 {
    font-size: 36px;
    line-height: 44px;
}
.f-s-48 {
    font-size: 48px;
    line-height: 56px;
}
.h-390 {
    height: 390px;
}
.h-734 {
    height: 734px;
}
.d-flex {
    display: flex;
}
.mb-40 {
    margin-bottom: 40px;
}
.mt-50 {
    margin-top: 50px;
}
.cta-button a {
    color: #FFF !important;
    background: #FF0000 !important;
    border-radius: 16px !important;
    transition: all .3s ease-in-out;
    /* text-transform: uppercase; */
    font-size: 20px !important;
    line-height: 26px !important;
    background-image: none !important;
    text-decoration: none;
}
.cta-button a:hover,
.cta-button a:focus,
.cta-button a:active {
    background: #880112 !important;
}
.contact-section .contact-row {
    margin-bottom: 16px;
}
.contact-section .contact-row a {
    color: #FFF;
    text-decoration: none;
}
.contact-section .contact-row a:hover,
.contact-section .contact-row a:focus,
.contact-section .contact-row a:active {
    text-decoration: underline;
}
.contact-section .contact-row,
footer .footer-contact-row {
    gap: 20px;
    align-items: center;
}
.contact-section .contact-row div,
footer .footer-contact-row div {
    max-width: 42px;
    width: 100%;
}
.contact-section .contact-row img,
footer .footer-contact-row img {
    margin: 0 auto;
}
footer .footer-title {
    font-size: 22px;
    line-height: 28px;
    margin: 0;
}
footer .widget_nav_menu a:hover,
footer .widget_nav_menu a:focus,
footer .widget_nav_menu a:active {
    text-decoration: underline;
}
footer .site-top-footer-inner-wrap .widget {
    margin-bottom: 20px;
}
footer .site-bottom-footer-inner-wrap {
    padding-top: 0;
}
div.homepage-slider > .wpb_column > .vc_column-inner {
    padding-top: 0;
}
.homepage-slider-button {
    padding: 16px 40px;
    display: inline-block;
    border: 1px solid #FFF;
}
.text-with-background {
    background: #FFF;
    padding: 20px;
    border-radius: 36px;
}
.right-line {
    position: relative;
}
.right-line:after {
    content: "";
    position: absolute;
    height: 2px;
    width: 86%;
    background: #FF0000;
    transform: translateY(-50%);
    top: 55%;
    right: 0;
}
.right-line h2 {
    background: #000;
    padding-right: 20px;
    display: inline-block;
    z-index: 1;
    position: relative;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(345px, 1fr));
    gap: 90px;
    grid-row-gap: 40px;
}
.product-item {
    background: #FFF;
    border-radius: 16px;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}
.product-item-content {
    text-align: left;
    width: 100%;
    padding: 0 20px;
    margin-top: 10px;
}
.product-item-image {
    width: 255px;
    height: 340px;
}
.product-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-baner {
    margin-bottom: 60px;
}
.page-baner-title {
    padding-left: 10px;
    padding-right: 10px;
}
.blog main .content-wrap article {
    background: #FFF;
}
.blog main,
.single-post main {
    margin-top: 40px;
    margin-bottom: 40px;
}
.blog main section.error,
.blog main h1 {
    color: #FFF;
}
.blog main .content-wrap article .entry-content-wrap a:hover,
.blog main .content-wrap article .entry-content-wrap a:focus,
.blog main .content-wrap article .entry-content-wrap a:active {
    text-decoration: underline;
    color: #880112;
}
.single-post main h1 {
    color: #FFF !important;
}
.single-post main:has(h2, h3, h4, h5, h6, p, li, span) {
    color: #FFF;
}
.contact-form-wrapper label {
    color: #FFF;
}
.contact-form-wrapper .contact-form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    justify-content: space-between;
}
.contact-form-wrapper .contact-form-col {
    width: 49%;
}
.contact-form-wrapper .contact-form-col input {
    width: 100%;
}
.contact-form-wrapper .full-width-row input {
    width: 100%;
    margin-bottom: 10px;
}
.contact-form-wrapper .contact-button {
    margin-top: 20px;
}
.contact-form-wrapper .contact-button input[type="submit"] {
    background: #ff0000;
}
.contact-form-wrapper .contact-button input[type="submit"]:hover,
.contact-form-wrapper .contact-button input[type="submit"]:focus,
.contact-form-wrapper .contact-button input[type="submit"]:active {
    background: #880112 !important;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .f-s-48 {
        font-size: 36px;
        line-height: 44px;
    }
}
@media screen and (max-width: 991px) {
    .change-cols-position,
    .change-elements-position > .vc_column-inner > .wpb_wrapper {
        display: flex;
        flex-direction: column;
    }
    .change-cols-position .change-position-col-left,
    .change-elements-position .wpb_text_column {
        order: 2;
    }
    .change-cols-position .change-position-col-right,
    .change-elements-position .wpb_single_image {
        order: 1;
    }
    .f-s-24 {
        font-size: 22px;
        line-height: 28px;
    }
    .f-s-48 {
        font-size: 30px;
        line-height: 38px;
    }
    .page-baner {
        height: 250px;
    }
}
@media screen and (min-width: 992px) {
    div.about-us-section {
        padding-top: 40px;
        padding-bottom: 60px;
        position: relative;
        background-position: right !important;
    }
    .about-us-section:before {
        content: "";
        background-image: url("http://rozanyraj.local/wp-content/uploads/2025/04/pracownia-florystyczna-zdjecie.webp");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: right;
        width: 100%;
        height: 80%;
        position: absolute;
        bottom: 0;
        right: 0;
    }
    .mt-40 {
        margin-top: 40px;
    }
}
@media screen and (min-width: 1024px) and (max-width: 1253px) {
    .homepage-slider {
        height: 604px;
    }
}
@media screen and (min-width: 768px) and (max-width: 1299px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(305px, 1fr));
    }
}
@media screen and (max-width: 1023px) {
    body:not(.home) div.content-area {
        margin-top: 0;
        margin-bottom: 0;
    }
    body:not(.home) div.entry-content-wrap {
        padding-top: 0;
        padding-bottom: 0;
    }
}
@media screen and (min-width: 850px) and (max-width: 1024px) {
    .home div.content-area {
        margin-top: 0;
        margin-bottom: 0;
    }
    .home div.entry-content-wrap {
        padding-top: 0;
        padding-bottom: 0;
    }
}
@media screen and (min-width: 850px) {
    .homepage-slider-text p {
        max-width: 380px;
        width: 100%;
        margin-right: 60px;
        margin-left: auto;
    }
}
@media screen and (max-width: 849px) {
    .homepage-slider .cta-button {
        text-align: left !important;
    }
    .homepage-slider-text p {
        max-width: 450px;
        width: 100%;
    }
    .cta-button .homepage-slider-button {
        padding: 6px 30px;
        font-size: 16px !important;
    }
}
@media screen and (min-width: 768px) and (max-width: 849px) {
    .homepage-slider .f-s-32,
    .f-s-32 {
        font-size: 26px;
        line-height: 32px;
    }
}
@media screen and (max-width: 767px) {
    .homepage-slider .f-s-32 {
        font-size: 20px;
        line-height: 26px;
    }
    .f-s-32 {
        font-size: 22px;
        line-height: 28px;
    }
    .f-s-30 {
        font-size: 22px;
        line-height: 28px;
    }
    .cta-button a {
        font-size: 16px !important;
        line-height: 22px !important;
    }
    .page-baner-image-bg {
        display: none !important;
    }
    .products-grid {
        display: block;
    }
    .product-item {
        margin-bottom: 40px;
    }
    .product-item-image {
        width: 225px;
        height: 280px;
    }
}
@media screen and (min-width: 850px) and (max-width: 1023px) {
    .homepage-slider {
        height: 464px;
    }
}
@media screen and (max-width: 849px) {
    .homepage-slider {
        height: 414px;
    }
}
@media screen and (max-width: 579px) {
    .contact-form-wrapper .contact-form-row {
        flex-direction: column;
    }
    .contact-form-wrapper .contact-form-col {
        width: 100%;
    }
}