body {
    font-family: "Roboto Condensed", sans-serif;
}

body:has(.absolute-app-logo) header.main-header {
    margin-bottom: 15rem;
}

body:has(.big-sign-in) header.main-header,
body.woocommerce-page header.main-header {
    margin-bottom: 12rem;
}

ul,
.sidebar-content .page__content ul.sik-cat__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: #000;
}

img {
    max-width: 100%;
}

body:has(.big-sign-in) .absolute-app-logo,
body.woocommerce-page .absolute-app-logo,
.error404 .absolute-app-logo {
    display: none;
}

.container,
.woocommerce-notices-wrapper {
    width: 100%;
    max-width: min(1400px, 100% - 2rem);
    margin-inline: auto;
}

.bg-gray {
    background-color: #cccccc;
}

.bg-green {
    background-color: #bdc0b2;
}

.bg-dark-green {
    background-color: #142b03;
}

.border-16 {
    border-width: 16px !important;
}

.h-0 {
    height: 0 !important;
}

.fs-6 {
    font-size: 1rem !important;
}

.g-6, .gx-6 {
    --bs-gutter-x: 3.5rem;
}

.g-6, .gy-6 {
    --bs-gutter-y: 3.5rem;
}

.g-7, .gx-7 {
    --bs-gutter-x: 4rem;
}

.g-7, .gy-7 {
    --bs-gutter-y: 4rem;
}

.mw-fit-content {
    max-width: fit-content !important;
}

.ps-15 {
    padding-left: 1.5rem;
}


/* ================= */

.header-baner {
    background: center / cover no-repeat url('../img/zamek-wsparcia-baner-1.webp');
    min-height: 400px;
}

.menu-menu-header-2-container {
    display: flex;
    align-items: center;
}

.main-menu li a,
#menu-menu-header-1 li a,
#menu-menu-header-2 li a,
.desktop-sidebar li a {
    position: relative;
    transition: all 0.2s;
}

.main-menu li a:hover,
#menu-menu-header-1 li a:hover,
#menu-menu-header-2 li a:hover,
.desktop-sidebar li a:hover {
    color: #142b03;
}

.main-menu li a::before,
#menu-menu-header-1 li a::before,
#menu-menu-header-2 li a::before,
.desktop-sidebar li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: center;
    background-color: #142b03;
    transition: all 0.2s ease-in-out;
}

.main-menu li a:hover::before,
#menu-menu-header-1 li a:hover::before,
#menu-menu-header-2 li a:hover::before,
.desktop-sidebar li a:hover::before {
    transform: scaleX(1);
}

.shop-link:hover svg path {
    fill: #142b03;
}

.shop-link:hover {
    color: #142b03;
}

.facebook-icon:hover svg path {
    fill: #3b5998;
}

.bg-body-tertiary {
    background-color: transparent !important;
}

.menus-wrapper div img {
    transform: translateY(-50%);
}

.absolute-app-logo {
    max-width: 350px;
    top: 105%;
    right: 0;
}

.absolute-app-logo img {
    max-width: 225px;
}

.slick-slide img {
    aspect-ratio: 2/1;
    object-fit: contain;
}

.news {
    max-width: 90%;
    margin-inline: auto;
}

.news-slider__dots .slick-dots,
.quotes-slider__dots .slick-dots,
.sik-slider__dots .slick-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    list-style: none !important;
    padding-left: 0 !important;
}

.news-slider__dots .slick-dots li button,
.quotes-slider__dots .slick-dots li button,
.sik-slider__dots .slick-dots li button {
    display: block;
    font-size: 0;
    width: 15px;
    height: 15px;
    background-color: #bdc0b2;
    border: 1px solid black;
    border-radius: 15px;
    transition: all 0.2s;
}

.news-slider__dots .slick-dots li.slick-active button,
.quotes-slider__dots .slick-dots li.slick-active button,
.sik-slider__dots .slick-dots li.slick-active button {
    width: 60px;
    background-color: #142b03;
}

.sik-slider {
    margin: 0 -14px;
}

.sik-slider .slick-slide {
    padding: 0 14px;
    box-sizing: border-box;
}

.single-post > img {
    height: auto;
    max-width: 150px;
    object-fit: cover;
    aspect-ratio: 1;
}

.featured-products .product img {
    width: 100%;
    object-fit: contain;
    aspect-ratio: 1;
    padding: 1rem;
}

.sidebar-content ul:not(.products) {
    list-style: circle;
    padding-left: 1.25rem;
}

.sidebar-content ul:not(.products) li {
    margin-block: 0.75rem;
}

.sidebar-content .desktop-sidebar ul,
.sidebar-content .mobile-sidebar ul {
    text-transform: uppercase;
}

.sidebar-content a.h3 {
    max-width: fit-content;
}

.sidebar-content .desktop-sidebar ul li,
.sidebar-content .mobile-sidebar ul li {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.single-person img {
    width: 100%;
    max-width: clamp(170px, 50%, 380px);
    shape-outside: circle();
    padding: 1rem;
    border-radius: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.tax-product_cat ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 2rem;
    gap: 1rem;
}

.tax-product_cat ul.products .product .add_to_cart_button {
    display: none;
}

.tax-product_cat .rank-math-breadcrumbs {
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 1rem;
}

li:has(.dla-rodzicow) { 
    order: 1;
    background-color: #ff704a;
}

li:has(.dla-specjalistow) {
    order: 2;
    background-color: #ff0091;
}

li:has(.dla-dzieci-i-mlodziezy) {
    order: 3;
    background-color: #ffd600;
}

li:has(.dla-placowek-edukacyjnych-i-fundacji) {
    order: 4;
    background-color: #8ae3ff;
}

.sik-event .thumbnail__wrapper > img {
    width: 100%;
    aspect-ratio: 70/99;
    object-fit: cover;
}

.sik-event.dla-rodzicow .sik-event__content > h3,
.single__sik-event.dla-rodzicow .sik-event__content > h3 {
    background-color: #ff704a;
}

.sik-event.dla-specjalistow .sik-event__content > h3,
.single__sik-event.dla-specjalistow .sik-event__content > h3 {
    background-color: #ff0091;
}

.sik-event.dla-dzieci-i-mlodziezy .sik-event__content > h3,
.single__sik-event.dla-dzieci-i-mlodziezy .sik-event__content > h3 {
    background-color: #ffd600;
}

.sik-event.dla-placowek-edukacyjnych-i-fundacji .sik-event__content > h3,
.single__sik-event.dla-placowek-edukacyjnych-i-fundacji .sik-event__content > h3 {
    background-color: #8ae3ff;
}

.single__sik-event .sik-event__content > h3 {
    font-size: 1.5rem;
}

.sik-content > img {
    float: left;
    margin-right: 1rem;
}

.accordion-button {
    font-size: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: transparent !important;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-item:not(:has(.accordion-collapse)) .accordion-button::after {
    display: none;
}

.gallery-images img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
}

.contact-icon {
    width: 32px;
    height: 32px;
    margin-right: 0.5rem;
}

.page-template-page-contact iframe {
    width: 100%;
}

.post-type-archive-product .products {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem 1rem;
    padding: 0;
    margin-block: 3rem;
}

.post-type-archive-product .add_to_cart_button,
.post-type-archive-product .woocommerce-products-header {
    display: none;
}

.product-content img {
    aspect-ratio: 1;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.product-content .title-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem;
    background-color: #cccccc;
}

.product-content .title-price * {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.single-product-content .product {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.single-product-content .product .entry-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.single-product-content .product .entry-summary > * {
    margin: 0;
}

.single-product-content .product .entry-summary .price {
    font-size: 2rem;
    font-weight: 700;
}

.single-product-content .product .entry-summary form.cart,
.single-product-content .product .entry-summary .price {
    align-self: end;
}

.single-product-content .product .entry-summary > .entry-title {
    order: 1;
}

.single-product-content .product .entry-summary > .price {
    order: 3;
}

.single-product-content .product .entry-summary > .woocommerce-product-details__short-description {
    order: 2;
}

.single-product-content .product .entry-summary > .cart {
    order: 4;    
}

.single_add_to_cart_button {
    font-size: 1.25rem;
    text-transform: uppercase;
    background-color: #cccccc;
    border: 0;
    outline: 0;
    padding: 0.4rem 0.8rem;
}

.product .product-content {
    display: block;
}

.related {
    margin-block: 2rem;
}

.related ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.related .add_to_cart_button {
    display: none;
}

footer {
    clear: both;
}

.footer__wrapper li {
    text-align: center;
}

form.cart .quantity {
    display: none;
}

.accordion-body {
    padding-top: 0;
}

.rank-math-breadcrumb p {
    margin: 0;
}

.rank-math-breadcrumb p :is(a, .separator, .last) {
    font-size: 1.15rem;
    font-weight: 700;
}

.related > h2 {
    font-weight: 400;
    background-color: #bdc0b2;
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    max-width: fit-content;
    margin-bottom: 2rem;
}

.single-product-content .product .entry-summary form.cart .single_add_to_cart_button {
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease-in-out;
}

.single-product-content .product .entry-summary form.cart .single_add_to_cart_button:hover {
    background-color: #bdc0b2;
}

.single-product-content .product .entry-summary form.cart .single_add_to_cart_button::before {
    content: '';
    display: block;
    width: 32px;
    height: 32px;
    margin-right: 1rem;
    background: center / contain no-repeat url('../img/add-to-cart-icon.svg');
}

.woocommerce-notices-wrapper {
    padding-inline: 0.5rem;
}

.woocommerce-message {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border: 2px solid black;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.woocommerce-message > .button {
    font-weight: 700;
    padding: 0.5rem 1rem;
    background-color: #bdc0b2;
    border-radius: 4px;
    transition: all 0.2s;
}

.woocommerce-message > .button:hover {
    background-color: #142b03;
    color: white;
}

.wc-block-cart__submit-container,
body.woocommerce-checkout:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
    background-color: #bdc0b2;
    transition: all 0.2s;
    border-radius: 4px;
    border: 1px solid black;
}

.wc-block-cart__submit-container:hover,
body.woocommerce-checkout:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link):hover {
    background-color: #142b03;
}

.wc-block-cart__submit-container a,
body.woocommerce-checkout:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) span div {
    font-weight: 700;
    transition: all 0.2s; 
}

.wc-block-cart__submit-container:hover a,
body.woocommerce-checkout:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link):hover span div {
    color: white !important; 
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
    font-weight: 700 !important;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link:hover {
    color: #8f0f0f !important;
}

.footer-menu > .menu-item:nth-child(1) {
    font-weight: 700;
}

.footer-menu > .menu-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.footer-menu > .menu-item a:hover {
    transform: translateX(0.5rem);
    color: #142b03;
}


.footer-menu .menu-item a::before {
    content: '';
    display: block;
    width: 1rem;
    height: 2px;
    background-color: #142b03;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.2s;
}

.footer-menu .menu-item:hover a::before {
    transform: scaleX(1);
}


/* MOJE KONTO */

.page-id-14 .woocommerce {
    display: grid;
    grid-template-columns: minmax(150px, auto) minmax(0, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.33rem 0.66rem;
    background-color: #bdc0b2;
    border-radius: 4px;
    transition: 0.2s ease-in;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    color: #fff;
    background-color: #142b03;
}

.woocommerce-MyAccount-navigation ul li:last-child a {
    background-color: #bd9c9c;
}

.woocommerce-MyAccount-navigation ul li:last-child a:hover {
    color: #fff;
    background-color: #8f0f0f;
}

.woocommerce-MyAccount-content a {
    font-weight: 700;
    color: #142b03;
}

.woocommerce-dashboard .woocommerce-MyAccount-content p:first-of-type a {
    color: #8f0f0f;
}

.woocommerce-edit-address .woocommerce-MyAccount-content :is(.col-1, .col-2) {
    width: 100%;
}

.woocommerce-edit-address .woocommerce-MyAccount-content a {
    display: block;
    font-weight: 700;
    max-width: fit-content;
    color: #000;
    background-color: #cccccc;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-block: 0.5rem;
    transition: all 0.2s;
}

.woocommerce-edit-address .woocommerce-MyAccount-content a:hover {
    background-color: #bdc0b2;
}

.woocommerce-edit-address p .button,
.woocommerce-edit-account p .button {
    font-size: 1.1rem;
    font-weight: 700;
    border: 0;
    outline: 0;
    padding: 0.33rem 0.66rem;
    background-color: #bdc0b2;
    border-radius: 2px;
    transition: all 0.2s;
}

.woocommerce-edit-address p .button:hover,
.woocommerce-edit-account p .button:hover {
    color: #fff;
    background-color: #142b03;
}


/* STRONA 404 */

.error-404__wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.error-content :is(p, a) {
    font-size: 1.25rem;
}

.error-content a {
    transition: all 0.2s;
}

.error-content a:hover {
    color: #fff;
    background-color: #142b03;
}


/* RESPONSIVE */

@media(min-width: 992px) {
    .news {
        max-width: 65%;
        min-width: 800px;
    }
}

@media(max-width: 1199.98px){
    #menu-menu-header-1 li {
        text-align: center;
    }
}

@media(max-width: 991.98px) {
    #menu-menu-header-2 li {
        text-align: center;
    }

    .news-tittle {
        left: 13% !important;
    }

    .menu-menu-header-2-container {
        justify-content: center;
    }

    .menus-wrapper .border-bottom {
        border: none !important;
    }

    .absolute-app-logo {
        top: 104%;
        right: 50%;
        transform: translateX(50%);
    }

    body:has(.big-sign-in) header.main-header,
    body.woocommerce-page header.main-header,
    body.error404 header.main-header {
        margin-bottom: 4rem;
    }

    .related ul.products {
        grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    }

    .tax-product_cat ul.products {
        grid-template-columns: repeat(auto-fit, minmax(min(225px, 100%), 1fr));
    }
}

@media(max-width: 767.98px) {

    .product .slick-track,
    .product .slick-track .woocommerce-product-gallery__image {
        width: 100% !important;
    }

    .single-product-content .product,
    .page-id-14 .woocommerce,
    .error-404__wrapper {
        grid-template-columns: 1fr;
    }

    .wc-block-cart .wc-block-cart__submit-container--sticky {
        position: static !important;
        padding: inherit !important;
        background-color: #bdc0b2 !important;
    }

    .sik-content > img {
        width: 250px;
    }
}

@media(max-width: 575.98px) {
    .news {
        width: 100%;
    }

    .header-baner {
        background-position: right;
    }

    .sik-content > img {
        width: 175px;
    }
}

@media(max-width: 419.98px) {
    .single-post {
        flex-direction: column !important;
    }

    .sik-content > img {
        width: 100%;
        float: none;
    }
}