/*
Theme Name: Silveco New
Theme URI: 
Author: Incographic
Author URI: 
Description: Nowy szablon dla silveco
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: silveco-new
Tags: 
*/
header:not(.woocommerce-products-header){
    position: sticky;
    z-index: 9999;
    top: 0;
    background: white;
}


header.scrolled {
    box-shadow: 0 0 65px rgba(0, 0, 0, 0.07);
}

strong {
    font-weight: 700;
}

.benefits-section figure img {
    height: 228px;
    width: auto;
}

.benefits-section .wp-block-media-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.benefits-section .wp-block-media-text p {
    font-size: 16px;
    line-height: 18px;
    font-weight: 700;
    text-align: center;
}

.tabs.wc-tabs,
#tab-description>h2:first-child {
    display: none;
}

ul li {
    line-height: 1.7;
}

ul.decorated-list {
    list-style: none;
}

ul.decorated-list li {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    align-items: center;
}

ul.decorated-list li::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDIyLjVDNi4yMDEwMSAyMi41IDEuNSAxNy43OTkgMS41IDEyQzEuNSA2LjIwMTAxIDYuMjAxMDEgMS41IDEyIDEuNUMxNy43OTkgMS41IDIyLjUgNi4yMDEwMSAyMi41IDEyQzIyLjUgMTcuNzk5IDE3Ljc5OSAyMi41IDEyIDIyLjVaTTEyIDI0QzE4LjYyNzQgMjQgMjQgMTguNjI3NCAyNCAxMkMyNCA1LjM3MjU4IDE4LjYyNzQgMCAxMiAwQzUuMzcyNTggMCAwIDUuMzcyNTggMCAxMkMwIDE4LjYyNzQgNS4zNzI1OCAyNCAxMiAyNFoiIGZpbGw9IiMzOEFBNDUiLz4KPHBhdGggZD0iTTE2LjQ1NDUgNy40NTQ1QzE2LjQ0MzkgNy40NjUxMSAxNi40MzM5IDcuNDc2MzUgMTYuNDI0NyA3LjQ4ODE2TDExLjIxNjEgMTQuMTI1MUw4LjA3NTgxIDEwLjk4NDhDNy42MzY0NyAxMC41NDU1IDYuOTI0MTYgMTAuNTQ1NSA2LjQ4NDgyIDEwLjk4NDhDNi4wNDU0OCAxMS40MjQyIDYuMDQ1NDggMTIuMTM2NSA2LjQ4NDgyIDEyLjU3NThMMTAuNDU0NSAxNi41NDU1QzEwLjg5MzggMTYuOTg0OCAxMS42MDYxIDE2Ljk4NDggMTIuMDQ1NSAxNi41NDU1QzEyLjA1NTMgMTYuNTM1NyAxMi4wNjQ1IDE2LjUyNTQgMTIuMDczMSAxNi41MTQ2TDE4LjA2MTUgOS4wMjkyMUMxOC40ODQ4IDguNTg4NzIgMTguNDc5NCA3Ljg4ODQ2IDE4LjA0NTUgNy40NTQ1QzE3LjYwNjEgNy4wMTUxNiAxNi44OTM4IDcuMDE1MTYgMTYuNDU0NSA3LjQ1NDVaIiBmaWxsPSIjMzhBQTQ1Ii8+Cjwvc3ZnPgo=);
}


.contact-infos__icon-boxes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.contact-infos__icon-boxes figure.wp-block-media-text__media,
.contact-infos__icon-boxes div.wp-block-media-text__content {
    margin: 0 auto;
}

.read-more-btn {}

.products-section {}

.btn.btn-white {}

.wp-block-columns {
    margin-bottom: 0 !important;
}

.wp-block-buttons>.wp-block-button {
    margin: 0 !important;
}

.wp-block-cover,
.wp-block-cover-image {
    min-height: auto;
}

.header--content {
    display: none;
}

body {
    background: white;
}

/* Podstawowy styl dla przycisków .wp-block-button i .wp-element-button z odpowiednim paddingiem */
.wp-block-button .wp-block-button__link,
.wp-element-button {
    padding: 0.6em 1.2em 0.6em 2.5em !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    transition: all 0.3s ease, color 0.3s ease;
    position: relative;
}

/* Strzałka ::before tylko dla .wp-element-button */
.wp-element-button::before {
    content: '→';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    font-size: 1em;
    color: currentColor;
    transition: transform 0.3s ease;
    pointer-events: none;
}

/* Animacja przesunięcia strzałki na hover */
.wp-element-button:hover::before {
    transform: translateY(-50%) translateX(8px);
}

/* Zielone tło na hover dla .wp-element-button i .wp-block-button__link */
.wp-element-button:hover,
.wp-block-button .wp-block-button__link:hover {
    background-color: #073F16;
    color: white;
}

/* Styl dla przycisku z klasą is-style-outline przy hover (przycisk i link potomny) */
.wp-block-button.is-style-outline:hover,
.wp-block-button.is-style-outline:hover .wp-block-button__link {
    border-radius: 4px;
    background-color: white !important;
    color: #073F16 !important;
    border-color: white;
}



.fs-24 {
    font-size: 24px;
    margin-bottom: 0;
    line-height: 1.5 !important;
}

@media (max-width: 499px) {
    .fs-24 {
        font-size: 20px;
    }
}

.fs-14 {
    font-size: 14px;
    line-height: 24px !important;
}

.fs-48 {
    font-size: 48px;
    line-height: 1 !important;
}

@media (max-width: 991px) {
    .fs-48 {
        font-size: 32px;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 499px) {
    .fs-48 {
        font-size: 28px;
        margin-bottom: 1.5rem;
    }
}

.fs-64 {
    font-size: 64px;
    line-height: 1;
}

@media (max-width: 767px) {
    .fs-64 {
        font-size: 40px;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 499px) {
    .fs-64 {
        font-size: 32px;
    }
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.mt-40 {
    margin-top: 40px;
}

.flew-wrap {
    flex-wrap: wrap !important;
}

.mb-40,
.wp-block-buttons>.wp-block-button.mb-40 {
    margin-bottom: 40px !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.font-poppins {
    font-family: "Poppins";
}

.d-inline-block {
    display: inline-block;
}

.mapster-wp-maps-container {
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.mapster-wp-maps-container .mapboxgl-canvas {
    filter: saturate(0);
}

.mapster-wp-maps-container li {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.mapster-wp-maps-container li input {
    width: auto;
}

.mapster-wp-maps-container li label {
    font-family: "Roboto";
    font-weight: 300;
    color: #073F16;
}

input[type=checkbox] {
    accent-color: #073F16;
}

.w-100 {
    width: 100%;
}

.text-center {
    text-align: center;
}

.rounded-img img {
    border-radius: 28px;
}

.taxonomy-category a {
    color: #073F16;
    font-weight: 400;
}

.wp-block-post-excerpt__more-text {
    display: flex;
}

.d-block {
    display: block;
}

.d-none {
    display: none;
}

.categories-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.categories-section .categories-section__left {
    width: calc(50% - 0.75rem);
}

.categories-section .categories-section__left img {
    display: none;
}

.categories-section .categories-section__left img.active {
    display: block;
}

.categories-section .categories-section__right {
    width: calc(50% - 0.75rem);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.categories-section .categories-section__right .categories-section__text {
    font-weight: 300;
    text-align: center;
    margin-top: 40px;
}

.categories-section .categories-section__right .categories-section__text p {
    margin-bottom: 0;
}

.categories-section .categories-section__right .hex__container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-left: 80px;
}

.categories-section .categories-section__right .hex {
    background-size: contain;
    width: 175px;
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.categories-section .categories-section__right .hex:nth-child(1),
.categories-section .categories-section__right .hex:nth-child(2),
.categories-section .categories-section__right .hex:nth-child(3) {
    margin-left: -80px;
}

.categories-section .categories-section__right .hex:nth-child(4),
.categories-section .categories-section__right .hex:nth-child(5),
.categories-section .categories-section__right .hex:nth-child(6) {
    margin-top: -20px;
}

.categories-section .categories-section__right .hex:nth-child(7),
.categories-section .categories-section__right .hex:nth-child(8),
.categories-section .categories-section__right .hex:nth-child(9) {
    margin-left: -80px;
    margin-top: -20px;
}

@media (min-width: 768px) and (max-width: 1360px) {
    .categories-section .categories-section__right .hex {
        width: 13vw;
        height: 13vw;
    }

    .categories-section .categories-section__right .hex:nth-child(1),
    .categories-section .categories-section__right .hex:nth-child(2),
    .categories-section .categories-section__right .hex:nth-child(3) {
        margin-left: -5.88vw;
    }

    .categories-section .categories-section__right .hex:nth-child(4),
    .categories-section .categories-section__right .hex:nth-child(5),
    .categories-section .categories-section__right .hex:nth-child(6) {
        margin-top: -2.6vw;
    }

    .categories-section .categories-section__right .hex:nth-child(7),
    .categories-section .categories-section__right .hex:nth-child(8),
    .categories-section .categories-section__right .hex:nth-child(9) {
        margin-left: -5.88vw;
        margin-top: -2.6vw;
    }
}

.categories-section .categories-section__right a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 11px;
    text-align: center;
    background-image: url(/wp-content/uploads/2023/04/Polygon-1-2.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 175px;
    height: 175px;
    color: white;
    transition: 300ms background-color;
    line-height: 16px;
    font-size: 1rem;
    font-family: "Poppins";
}

@media (min-width: 768px) and (max-width: 1360px) {
    .categories-section .categories-section__right a {
        font-size: 1.18vw;
        width: 13vw;
        height: 13vw;
    }
}

.categories-section .categories-section__right a.active {
    background-image: url(/wp-content/uploads/2023/04/Polygon-1-1.svg);
}

.categories-section .categories-section__right a:hover {
    text-decoration: none;
}

@media (max-width: 767px) {
    .categories-section {
        flex-wrap: wrap;
    }

    .categories-section .categories-section__left {
        width: 100%;
    }

    .categories-section .categories-section__right {
        width: 100%;
    }

    .categories-section .categories-section__right .hex__container {
        margin-left: 80px;
    }
}

@media (max-width: 600px) {
    .categories-section .categories-section__right .hex__container {
        margin-left: 13.33vw;
    }

    .categories-section .categories-section__right .hex {
        width: 28.166vw;
        height: 28.166vw;
    }

    .categories-section .categories-section__right .hex:nth-child(1),
    .categories-section .categories-section__right .hex:nth-child(2),
    .categories-section .categories-section__right .hex:nth-child(3) {
        margin-left: -13.33vw;
    }

    .categories-section .categories-section__right .hex:nth-child(4),
    .categories-section .categories-section__right .hex:nth-child(5),
    .categories-section .categories-section__right .hex:nth-child(6) {
        margin-top: -3.33vw;
    }

    .categories-section .categories-section__right .hex:nth-child(7),
    .categories-section .categories-section__right .hex:nth-child(8),
    .categories-section .categories-section__right .hex:nth-child(9) {
        margin-left: -13.33vw;
        margin-top: -3.33vw;
    }

    .categories-section .categories-section__right a {
        font-size: 2.6vw;
        width: 28.166vw;
        height: 28.166vw;
    }
}

@media (min-width: 992px) {
    .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container.header__menu-products {
        min-width: 550px;
    }

    .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container.header__menu-products li {
        position: static;
    }

    .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container.header__menu-products li::after {
        background-size: contain;
        background-repeat: no-repeat;
        position: absolute;
        right: 24px;
        top: 50%;
        transform: translateY(-50%);
    }

    .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container.header__menu-products li.active::after {
        content: "";
        display: block;
    }

    .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container.header__menu-products .dezynfekcja::after {
        width: 160px;
        height: 160px;
        background-image: url(/wp-content/uploads/2024/02/dezynfekcja.png);
    }

    .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container.header__menu-products .profilaktyka::after {
        width: 160px;
        height: 160px;
        background-image: url(/wp-content/uploads/2025/06/uduj.png);
    }

    .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container.header__menu-products .pielegnacja::after {
        width: 160px;
        height: 160px;
        background-image: url(/wp-content/uploads/2024/02/konie.png);
    }

    .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container.header__menu-products .zwierzeta::after {
        width: 160px;
        height: 160px;
        background-image: url(/wp-content/uploads/2024/02/skora.png);
    }

    .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container.header__menu-products .korekcja::after {
        width: 160px;
        height: 160px;
        background-image: url(/wp-content/uploads/2024/02/racice.png);
    }

    .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container.header__menu-products .higiena::after {
        width: 160px;
        height: 160px;
        background-image: url(/wp-content/uploads/2024/04/pet-pl.jpg);
    }
}

.silver-section {
    color: white;
}

.silver-section .silver-section-column {
    background-image: url(/wp-content/uploads/2023/04/Group-82.jpg);
    border-radius: 28px;
    height: 100%;
    background-repeat: no-repeat;
    min-height: 560px;
    display: grid;
    grid-template-columns: 600px;
    background-size: auto 100%;
}

.silver-section .silver-section--left {
    padding: 2.5rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 28px;
}

.silver-section .silver-section__img {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.silver-section h2 {
    font-weight: 400;
    margin-bottom: 2rem !important;
}

.silver-section h2,
.silver-section h3 {
    font-family: "Poppins";
    color: white;
    margin-bottom: 0 !important;
}

.silver-section h3 {
    font-size: 48px;
    line-height: 1;
}

@media (max-width: 991px) {

    .silver-section .silver-section__img,
    .silver-section h2 {
        margin-bottom: 1.5rem !important;
    }

    .silver-section h3 {
        font-size: 32px;
    }
}

@media (max-width: 781px) {
    .silver-section-wrapper>img {
        display: none;
    }

    .silver-section {
        margin-top: 32px;
    }

    .silver-section .silver-section-column {
        background-image: unset;
        min-height: unset;
        display: flex;
    }

    .silver-section .silver-section--left {
        background: linear-gradient(90deg, #0a823b, #33a448);
    }

    .superblockslider__slide_inner {
        position: absolute;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        overflow: hidden;
        box-sizing: border-box;
        padding: 8px 8px;
    }

    .wp-block-superblockslider-slider {
        min-width: 100vw !important;
        margin-left: -16px;
        line-height: 1.2;
    }

    .superblockslider__slide_inner img {
        height: 160px;
        width: auto;
        object-fit: cover;
    }

    .superblockslider__slide_inner h2 {
        font-size: 32px !important;
    }

    .superblockslider__slide_inner .revert-order {
        flex-direction: column-reverse;
    }
.hide-on-mobile{
    display: none;
}
}

@media (max-width: 499px) {
    .silver-section h3 {
        font-size: 24px;
    }
}

.wc-block-grid__product-title {font-size: 20px;}