/*
    Theme Name: PatrykSiuta.pl
    Version:    1.0.13
    Created on: 2024-09-21
    Author:     Patryk Siuta
    Author URI: http://www.paptryksiuta.pl
    E-mail:     kontakt@nikograf.pl
*/

@import url(https://fonts.bunny.net/css?family=montserrat:300,300i,500,500i,700,700i&display:swap;);
:root {
    --font:         'Montserrat', sans-serif;

    --container:    1280;

    --white:        #FCFCFE;
    --accent:       #c48f56;
    --grey:         #7C7C7C;
    --dark-grey:    #101010;
    --dark-grey-2:  #151515;
    --dark-grey-3:  #272727;

    --green:        #8fae1b;
    --red:          #b81c23;
    --blue:         #1e85be;
}
* {
    box-sizing: border-box;
    font-family: var(--font);
    color: var(--white);
}
html,
body {
    margin: 0;
    padding: 0;
}
body {
    background-color: var(--dark-grey);
}
p {
    font-family: var(--font);
    font-size: 18px;
    line-height: 30px;
    color: var(--white);
    font-weight: 300;
}
a {
    text-decoration : none;
}
h1 {
    font-size: 48px;
    &.posts-page-title,
    &.post-title,
    &.page-title,
    &.product_title {
        border-left: 3px solid var(--accent);
        padding: 8px 15px 0;
        margin-top: 0;
    }
}
h3 {
    font-size: 36px;
    line-height: 43px;
    display: block;
    width: fit-content;
    padding-left: 15px;
    margin-bottom: 40px;
    border-left: 3px solid var(--accent);
    margin-block-end: auto;
}
label{
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
}
input {
    &[type="text"],
    &[type="password"],
    &[type="tel"],
    &[type="email"],
    &[type="number"] {
        background-color: var(--dark-grey-2);
        border-bottom: 1px solid var(--white);
        border-top: none;
        border-left: none;
        border-right: none;
        font-size: 18px;
        padding:  8px 10px;
        margin-bottom: 15px;
        width: 100%;
        transition: all .4s;
        font-weight: 300;
        &:focus {
            border-bottom-color: var(--accent);
        }
        &:focus-visible {
            outline: none;
        }
    }
    &[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
    &[type="submit"] {
        border: 1px solid var(--accent);
        font-size: 18px;
        border-radius: 5px;
        padding:  8px 10px;
        background-color: transparent;
        transition: all .4s;
        width: 35%;
        cursor: pointer;
        &:hover {
            background-color: var(--accent);
        }
    }
    accent-color: var(--accent);
}
select {
    background-color: var(--dark-grey-2);
    border-bottom: 1px solid var(--white);
    border-top: none;
    border-left: none;
    border-right: none;
    padding:  8px 10px;
    margin-bottom: 15px;
    width: 100%;
    transition: all .4s;
    font-weight: 300;
    accent-color: var(--accent);
    option {
        font-size: 16px;
        font-weight: 300;
    }
}
.select2-container--default {
    .select2-selection--single {
        background-color: var(--dark-grey-2);
        border-radius: 0;
        border-top: none;
        border-left: none;
        border-right: none;
        border-bottom: 1px solid #FFF;
        height: 39px;
        .select2-selection__rendered {
            color: #FFF;
            line-height: 39px;
        }
    }
    .select2-dropdown {
        background-color: var(--dark-grey-2);
        border: none;
        font-weight: 300;
    }
    .select2-results__option[data-selected=true] {
        background-color: var(--accent);
        color: var(--dark-grey);
    }
    .select2-results__option--highlighted[data-selected] {
        background-color: var(--dark-grey-3);
        color: var(--accent);
    }
}

textarea {
    font-weight: 300;
    background-color: var(--dark-grey-2);
    border-bottom: 1px solid var(--white);
    border-top: none;
    border-left: none;
    border-right: none;
    width: 100%;
    font-size: 18px;
    padding:  8px 10px;
    margin-bottom: 15px;
    &:focus {
        border-bottom-color: var(--accent);
        font-size: 18px;
    }
    &:focus-visible {
        outline: none;
    }
}
form {
    &.wpcf7-form {
        .wpcf7-list-item {
            margin-left: 1.4em;
            input[type="checkbox"] {
                margin-left: -26px;
            }
        }
        input[type="submit"] {
            margin-top: 35px;
        }
    }
}
ul {
    &.posts-list {
        padding: 0;
        list-style-type: none;
        gap: 30px;
        display: flex;
        flex-wrap: wrap;
        li {
            background-color: var(--dark-grey-2);
            padding-bottom: 25px;
            position: relative;
            border-radius: 5px;
            img {
                aspect-ratio: 18 / 11;
                object-fit: cover;
                width: 100%;
                height: auto;
                border-radius: 5px;
            }
            h2 {
                font-weight: 500;
                margin: 20px;
            }
            small {
                font-size: 12px;
                color: var(--accent);
                display: block;
                margin: 0 20px 20px;
            }
            a {
                display: block;
                width: 100%;
                height: 100%;
            }
            svg {
                position: absolute;
                fill: var(--accent);
                width: 24px;
                height: 24px;
                bottom: 40px;
                right: 20px;
                opacity: 0;
                visibility: hidden;
                transition: all .4s;
            }
        }
    }
    &.ps-v-items {
        display: flex;
        list-style-type: none;
        padding-left: 0;
        gap: 20px;
        li {
            border-radius: 5px;
            background-color: var(--dark-grey-3);
            text-align: center;
            cursor: pointer;
            border: 1px solid var(--dark-grey-3);
            position: relative;
            overflow: hidden;
            display: flex;
            transition: border .4s;
            span {
                display: block;
                &.set_price {
                    color: var(--accent);
                }
            }
            &.selected {
                border: 1px solid var(--accent);
                &:before {
                    display: block;
                    width: 20px;
                    height: 20px;
                    background-color: var(--accent);
                    position: absolute;
                    top: 0;
                    left: 0;
                    content: "";
                    border-bottom-right-radius: 5px;
                }
                &:after {
                    content: "";
                    position: absolute;
                    display: block;
                    left: 3px;
                    top: 3px;
                    width:10px;
                    height: 7px;
                    border-bottom: 3px solid #000;
                    border-left: 3px solid #000;
                    transform: rotate(-45deg);
                }
            }
            &:hover {
                border: 1px solid var(--accent);
            }
        }
    }
    &.wp-block-latest-posts__list {
        margin-top: 30px;
        li {
            position: relative;
            top: 0;
            transition: all .4s;
            background-color: var(--dark-grey-2);
            padding-bottom: 30px;
            border-radius: 5px;
            &:hover {
                top: -10px;
            }
            img {
                border-radius: 5px;
                margin-bottom: 15px;
            }
            a {
                &.wp-block-latest-posts__post-title {
                    font-weight: 300;
                    font-size: 24px;
                    display: block;
                    padding: 0 15px;
                    margin-bottom: 10px;
                }
            }
            time {
                color: var(--accent);
                padding: 0 15px;
                font-size: 12px;
            }

        }
    }
    &.wc-block-grid__products {
        gap: 20px;
        margin-bottom: 80px;
        li {
            flex-grow: 1;
            background-color: var(--dark-grey-2);
            border-radius: 5px;
            position: relative;
            top: 0;
            transition: top .4s;
            border: 0;
            img {
                border-radius: 5px;
            }
            .wc-block-grid__product-title {
                font-weight: 500;
                font-size: 18px;
                padding-left: 10px;
                padding-right: 10px;
            }
            .wc-block-grid__product-price.price {
                color: var(--accent);
                font-size: 13px;
                span {
                    color: inherit;
                    font-size: inherit;
                }
            }
            &:hover {
                top: -10px;
            }
            .star-rating {
                margin: 10px auto;
            }
        }
    }
    &.products {
        li.product {
            .star-rating {
                margin: 5px auto 15px;
            }
        }
    }
}
ol, ul {
    &.wp-block-list {
        color: var(--white);
        font-size: 18px;
        font-weight: 300;
        line-height: 30px;
        margin-top: 20px;
        margin-bottom: 20px;
        li {
            margin-bottom: 10px;
        }
    }
    &.woocommerce-mini-cart {
        list-style-type: none;
        padding: 0;
        margin: 20px 0 0;
        width: 100%;
        flex-direction: column;
        li {
            position: relative;
            width: 100%;
            padding-right: 40px;
            &:not(:last-of-type) {
                margin-bottom: 15px;
            }
            img {
                aspect-ratio: 1 / 1;
                object-fit: cover;
                width: 50px;
                height: auto;
                float: left;
                margin-right: 15px;
            }
            span {
                &.quantity {
                    display: block;
                    margin-top: 6px;
                }
            }
            a {
                padding: 0;
                &.remove {
                    position: absolute;
                    right: 0;
                    top: 50%;
                    transform: translateY(-50%);
                    font-size: 2.5em;
                    height: 1em;
                    width: 1em;
                    text-align: center;
                    line-height: 1;
                    border-radius: 100%;
                    color: var(--wc-red);
                    font-weight: 700;
                    border: 0;
                    transition: all .4s;
                    &:hover {
                        color: #FFF;
                        background-color: var(--wc-red);
                        border-radius: 50%;
                    }
                }
            }
        }
    }
}

header {
    display: flex;
    align-items: center;
    ul {
        display: flex;
        list-style-type: none;
        li {
            text-transform: uppercase;
            a {
                color: var(--white);
                transition: all .4s;
                &:hover {
                    color: var(--accent);
                }
            }
            &.current_page_item,
            &.current_page_parent {
                a {
                    color: var(--accent);
                }
            }
        }
    }
    &.woocommerce-products-header {
        padding: 0;
    }
    div {
        &.mini-cart {
            width: fit-content;
            padding-right: 10px;
            .wc-mini-cart {
                display: block;
                visibility: hidden;
                opacity: 0;
                position: absolute;
                transition: all .4s;
                background-color: var(--dark-grey-2);
                z-index: 20;
                border-radius: 5px;
                padding: 20px;
                &.active {
                    opacity: 1;
                    visibility: visible;
                    top: calc(100% + 10px);
                }
                h3{
                    border-left: none;
                    padding: 0 0 10px;
                    font-size: 20px;
                    text-align: center;
                    margin: 0 auto 10px;
                    position: relative;
                    &:after {
                        height: 3px;
                        width: 33%;
                        position: absolute;
                        bottom: 0;
                        left: 50%;
                        transform: translateX(-50%);
                        display: block;
                        content: "";
                        background-color: var(--accent);
                    }
                }
                .woocommerce-mini-cart__empty-message {
                    font-size: 16px;
                    text-align: center;
                }
                .woocommerce-mini-cart__buttons {
                    display: flex;
                    justify-content: space-around;
                    flex-wrap: nowrap;
                    a {
                        display: block;
                        border: 1px solid var(--accent);
                        font-size: 16px;
                        border-radius: 5px;
                        padding:  8px 10px;
                        background-color: transparent;
                        transition: all .4s;
                        width: 47%;
                        text-align: center;
                        color: #FFF;
                        font-weight: 300;
                        line-height: 30px;
                        &:hover {
                            background-color: var(--accent);
                        }
                    }
                }
                .woocommerce-mini-cart__total {
                    font-size: 14px;
                    span {
                        float: right;
                        position: relative;
                        font-size: 16px;
                        color: var(--accent);
                        font-weight: 700;
                        bdi {
                            color: var(--accent);
                        }
                    }
                }
            }
        }
    }
    & > div:last-of-type {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }
    svg {
        &.cart-icon {
            fill: var(--accent);
            height: auto;
        }
    }
    span {
        &.cart-quantity-items {
            background-color: var(--accent);
            display: block;
            font-size: 12px;
            color: var(--dark-grey);
            text-align: center;
            position: absolute;
            width: 15px;
            height: 15px;
            font-weight: 700;
            border-radius: 50%;
            top:-5px;
            right: 0;
            transition: all .4s;
        }
    }
}
section {
    &.front-page {
        #slider {
            h2, span {
                color: var(--white);
                width: fit-content;
            }
            h2 {
                font-weight: 300;
                bottom: 5%;
                text-transform: uppercase;
                margin: 0;
            }
            .splide__arrows {
                button {
                    position: absolute;
                    top: 50%;
                    transform: translateY(-50%);
                    z-index: 10;
                    border: none;
                    background: transparent;
                    padding: 20px;
                    svg {
                        fill: white;
                        width: 25px;
                    }
                    &.splide__arrow--prev {
                        svg {
                            transform: rotate(180deg);
                        }
                    }
                }
            }
            picture {
                img {
                    border-radius: 25px;
                    overflow: hidden;
                    height: calc(100vh - 125px);
                    object-fit: cover;
                    display: block;
                }
            }
            li {
                position: relative;
                background-position: center;
                background-repeat: no-repeat;
                background-size: cover;
                border-radius: 25px;
                overflow: hidden;
                & > div {
                    position: absolute;
                    bottom: 10%;
                    left: 0;
                }
                a {
                    display: block;
                    padding: 15px 20px;
                    border: 1px solid var(--accent);
                    margin-top: 20px;
                    width: fit-content;
                    border-radius: 5px;
                    text-transform: uppercase;
                    font-size: 13px;
                    background-color: transparent;
                    transition: all .4s;
                    &:hover {
                        background-color: var(--accent);
                    }
                }
            }
        }
        h2 {
            text-transform: uppercase;
            font-weight: 300;
            border-left: 3px solid var(--accent);
            padding-left: 15px;
        }
        .shop-usp {
            margin-bottom: 100px;
            svg {
                display: block;
            }
            span {
                display: block;
            }
        }
        .homepage-products {
            margin-top: 40px;
            li {
                background-color: var(--dark-grey-2);
                border-radius: 5px;
                padding-bottom: 15px;
                position: relative;
                top: 0;
                transition: all .4s;
                h3 {
                    font-weight: 500;
                    padding-left: 10px;
                    padding-right: 10px;
                    border-left: 0;
                    font-size: 18px !important;
                    line-height: 1.6;
                }
                img {
                    aspect-ratio: 1 / 1 !important;
                    border-radius: 5px;
                }
                .wp-block-woocommerce-product-price {
                    color: var(--accent);
                    & > div {
                        color: inherit;
                        span {
                            color: inherit;
                            bdi {
                                color: inherit;
                            }
                        }
                    }
                }
                &:hover {
                    top: -10px;
                }
            }
        }
    }
    &.post {
        .post-navigation {
            border-top: 1px solid var(--grey);
            padding-top: 30px;
            text-align: center;
            font-size: 12px;
            color: var(--accent);
            margin-top: 40px;
            a {
                color: var(--white);
                &:first-of-type {
                    margin-right: 20px;
                }
                &:last-of-type {
                    margin-left: 20px;
                }
                span {
                    transition: all .4s;
                }
                &:hover {
                    span {
                        color: var(--accent);
                    }
                    svg {
                        fill: var(--accent);
                    }
                }
            }
            svg {
                height: auto;
                fill: var(--white);
                vertical-align: middle;
                transition: all .4s;
            }
        }
        h1 {
            & + small {
                color: var(--accent);
                font-size: 13px;
                font-weight: 700;
                & + img {
                    border-radius: 5px;
                    width: 100%;
                    height: auto;
                    aspect-ratio: 18 / 11;
                    object-fit: cover;
                    margin-bottom: 30px;
                    margin-top: 20px;
                }
            }
        }
        figure {
            figcaption {
                color: var(--grey);
            }
        }
        .comments {
            padding-top: 30px;
            margin-top: 30px;
            border-top: 1px solid var(--grey);
            h3 {
                font-size: 25px;
            }
            label[for="wp-comment-cookies-consent"] {
                display: inline-block;
                margin-left: 10px;
                position: relative;
                top: -5px;
                font-size: 13px;
            }
            ul, ol {
                list-style-type: none;
                li {
                    margin-top: 20px;
                }
            }
            ol {
                margin-top: 35px;
                margin-bottom: 45px;
                li {
                    img.avatar {
                        aspect-ratio: 1 / 1;
                        border-radius: 50px;
                        vertical-align: middle;
                        margin-right: 15px;
                    }
                    cite {
                        color: var(--accent);
                        a {
                            color: var(--accent);
                        }
                    }
                    .comment-meta {
                        font-size: 12px;
                        & + p {
                            display: block;
                            padding: 15px;
                            border-radius: 10px;
                            border: 1px solid var(--accent);
                            position: relative;
                            background-color: var(--dark-grey-2);
                            font-size: 16px;
                            line-height: 27px;
                            &:after {
                                position: absolute;
                                content: "";
                                display: block;
                                width: 10px;
                                height: 10px;
                                transform: rotate(-45deg);
                                border-top: 1px solid var(--accent);
                                border-right: 1px solid var(--accent);
                                left: 50px;
                                background-color: var(--dark-grey-2);
                                top: -6px;
                            }
                        }
                    }
                    .reply {
                        width: fit-content;
                        display: block;
                        margin-left: auto;
                        font-size: 12px;
                        text-transform: uppercase;
                        margin-right: 15px;
                    }
                }
            }
            form {
                textarea {
                    font-size: 16px;
                }
                input[type="submit"] {
                    margin: auto;
                    display: block;
                    width: fit-content;
                    padding-left: 20px;
                    padding-right: 20px;
                    font-size: 12px;
                    text-transform: uppercase;
                }
            }
        }
    }
    &.page-404 {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        span {
            border-left: 3px solid var(--accent);
            color: var(--white);
            font-weight: 700;
            display: block;
            width: fit-content;
            margin-bottom: 40px;
        }
        h2 {
            font-weight: 300;
        }
    }
    &.page {
        .woocommerce {
            a {
                &.button {
                    &.wc-backward {
                        border: 1px solid var(--accent);
                        font-size: 18px;
                        border-radius: 5px;
                        padding:  8px 30px;
                        background-color: transparent;
                        transition: all .4s;
                        margin: 10% auto 0;
                        color: var(--white);
                        font-weight: 400;
                        display: block;
                        width: fit-content;
                        &:hover {
                            background-color: var(--accent);
                        }
                    }
                }
            }
        }
    }
    &.shop-archive {
        .woocommerce-result-count {
            font-size: 16px;
        }
        .shop-description {
            margin-top: 50px;
            h2 {
                font-size: 22px;
            }
            p {
                font-size: 16px;
            }
        }
    }
    &.shop-product {
        table {
            &.variations {
                tbody {
                    tr {
                        display: flex;
                        flex-direction: column;
                    }
                }
                a {
                    &.reset_variations {
                        color: var(--red);
                        display: block;
                        padding: 3px 8px;
                        border: 1px solid var(--red);
                        width: fit-content;
                    }
                }
            }
        }
        input {
            &[type="number"] {
                font-size: 16px;
                color: var(--accent);
                font-weight: 700;
                background-color: var(--dark-grey-3);
                margin-bottom: 0;
                height: 38px;
            }
        }
        .product_meta {
            font-size: 12px;
            color: var(--grey);
            .tagged_as,
            .posted_in {
                color: var(--grey);
            }
            a {
                transition: color .4s;
                &:hover {
                    color: var(--accent);
                }
            }
        }
        .summary.entry-summary {
            .product-delivery-payment-icons {
                padding-left: 0;
                list-style-type: none;
                display: flex;
                flex-direction: row;
                justify-content: space-around;
                li {
                    margin: 3px;
                    width: 50px;
                    display: block;
                    img {
                        max-width: 50px;
                        aspect-ratio: 50 / 32;
                        object-fit: cover;
                        object-position: top;
                        transition: all 0.4s;
                        &:hover {
                            object-position: bottom;
                        }
                    }
                }
            }
            button {
                &.minus,
                &.plus {
                    background-color: var(--dark-grey-3);
                    border: 1px solid var(--accent);
                    border-radius: 5px;
                    font-size: 22px;
                    line-height: 34px;
                    font-weight: 300;
                    width: 38px;
                    text-align: center;
                    cursor: pointer;
                    transition: all .4s;
                    position: relative;
                    top: 2px;
                    &:hover {
                        background-color: var(--accent);
                    }
                }
            }
            .summary-details-list {
                margin-top: 20px;
                details {
                    border-top: 1px solid var(--dark-grey-3);
                    border-bottom: 1px solid var(--dark-grey-3);
                    padding-bottom: 15px;
                    ul {
                        font-size: 14px;
                        font-weight: 400;
                        li {
                            margin: 8px 0;
                            font-weight: 300;
                            line-height: 1.5;
                            span {
                                font-weight: 700;
                                color: var(--accent);
                            }
                        }
                    }
                    p {
                        font-size: 14px;
                        &:last-of-type {
                            margin-bottom: 0;
                        }
                    }
                    &[open] {
                        &>summary {
                            &:after {
                                transform: rotate(225deg);
                                top: 25px;
                            }
                        }
                    }
                }
                summary {
                    font-size: 16px;
                    padding: 15px 0 0;
                    cursor: pointer;
                    position: relative;
                    svg {
                        fill: var(--accent);
                        display: inline-block;
                        margin-right: 10px;
                        width: 28px;
                        height: auto;
                        vertical-align: middle;
                        position: relative;
                        top: -2px;
                    }
                    &::-webkit-details-marker,
                    &::marker {
                        display: none;
                        content: "";
                    }
                    &:after {
                        content: "";
                        display: block;
                        border-bottom: 2px solid var(--accent);
                        border-right: 2px solid var(--accent);
                        transform: rotate(45deg);
                        width: 7px;
                        height: 7px;
                        position: absolute;
                        top: 21px;
                        right: 20px;
                        transition: all .4s;
                    }
                }
            }
        }
        .woocommerce-tabs {
            h3 {
                font-size: 22px;
            }
            ul {
                line-height: 1.5;
            }
            summary {
                font-size: 16px;
                padding: 10px 0 10px 20px;
                margin-bottom: 20px;
                cursor: pointer;
                position: relative;
                border-left: 3px solid var(--accent);
                background-color: var(--dark-grey-2);
                h2 {
                    margin: 0;
                }
                &::-webkit-details-marker,
                &::marker {
                    display: none;
                    content: "";
                }
                &:after {
                    content: "";
                    display: block;
                    border-bottom: 2px solid var(--accent);
                    border-right: 2px solid var(--accent);
                    transform: rotate(45deg);
                    width: 7px;
                    height: 7px;
                    position: absolute;
                    top: 18px;
                    right: 20px;
                    transition: all .4s;
                }
            }
            details {
                .details-content {
                    padding: 0 20px 20px;
                }
                &[open] {
                    &>summary {
                        &:after {
                            transform: rotate(225deg);
                            top: 22px;
                        }
                    }
                }
            }
        }
        div {
            &.product {
                div {
                    &.images {
                        .flex-control-thumbs {
                            li {
                                img {
                                    border-radius: 5px;
                                }
                            }
                        }
                    }
                }
                .woocommerce-product-gallery__wrapper {
                    img {
                        border-radius: 5px;
                    }
                }
            }
        }
    }
    &.posts {
        span {
            &.post-pagination {
                display: block;
                width: fit-content;
                margin: auto;
                span, a {
                    display: inline-block;
                    padding: 7px 15px;
                    border: 1px solid var(--grey);
                    margin: 0 3px;
                    font-size: 14px;
                    border-radius: 4px;
                }
                a {
                    transition: all .4s;
                    background-color: transparent;
                    &:hover {
                        color: var(--dark-grey);
                        background-color: var(--accent);
                        border-color: var(--accent);
                    }
                }
                span {
                    &.current {
                        color: var(--grey);
                    }
                }
            }
        }
    }
    &.newsletter-box {
        padding: 30px 2%;
        margin-top: 80px;
        position: relative;
        overflow: hidden;
        &:before {
            background-image: url('https://www.patryksiuta.pl/wp-content/uploads/2024/12/jwst-bg.jpg');
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            background-attachment: fixed;
            transition: all .4s;
            content: "";
            display: block;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            position: absolute;
            opacity: .5;
        }
        h2 {
            display: block;
            text-align: center;
            color: var(--accent);
            text-transform: uppercase;
        }
        p {
            text-align: center;
            font-size: 16px;
            strong {
                color: var(--accent);
            }
        }
        .container {
            position: relative;
            z-index: 10;
        }
        input[type="email"] {
            transition: all .4s;
            &:focus {
                outline: none !important;
                border-color: var(--accent) !important;
            }
        }
    }
}
figure {
    img {
        border-radius: 15px;
    }
}
footer {
    font-size: 12px;
    text-align: center;
    padding: 30px 15px;
    display: flex;
    flex-wrap: wrap;
    div {
        color: var(--grey);

        &.recaptcha-info {
            width: 100%;
            margin-top: 15px;
        }
    }
    ul {
        list-style-type: none;
        width: fit-content;
        display: flex;
        padding-left: 0;
        margin: 0;
        li {
            a {
                color: var(--grey);
                transition: all .4s;
                padding:  0 10px;
                &:hover {
                    color: var(--accent);
                }
            }
        }
    }
}

.woocommerce {
    .woocommerce-product-rating {
        &:before {
            font-family: WooCommerce;
            color: var(--accent);
        }
    }
    .star-rating {
        & > span {
            &:before {
                font-family: WooCommerce;
                color: var(--accent);
            }
            .rating {
                font-family: WooCommerce;
                &:before {
                    font-family: WooCommerce;
                    color: var(--accent);
                }
            }
        }
    }
    .woocommerce-info,
    .woocommerce-message,
    .woocommerce-error {
        background-color: var(--dark-grey-2);
        color: var(--white);
        font-size: 14px;
        &:focus-visible {
            outline: none;
        }
        a {
            &.button {
                border: 1px solid var(--accent);
                border-radius: 5px;
                padding: 8px 10px;
                background-color: transparent;
                transition: all .4s;
                color: var(--white);
                font-size: 14px;
                &:hover {
                    background-color: var(--accent);
                }
            }
        }
    }
    .woocommerce-error {
        li {
            margin-bottom: 10px;
        }
    }
    .woocommerce-breadcrumb {
        font-size: 12px;
    }
    &:where(body:not(.woocommerce-uses-block-theme)) {
        div {
            &.product {
                form {
                    &.cart {
                        .variations {
                            select {
                                margin-right: 0;
                            }
                        }
                    }
                }
                p {
                    &.price {
                        color: var(--accent);
                        font-weight: 500;
                        span {
                            color: var(--accent);
                            bdi {
                                color: var(--accent);
                            }
                        }
                    }
                    &.stock {
                        &.in-stock {
                            color: var(--green);
                            font-size: .8em;
                        }
                    }
                }
            }
        }
    }
    &:where(body:not(.woocommerce-block-theme-has-button-styles)) {
        button {
            &.button {
                &.alt {
                    background-color: transparent;
                    border: 1px solid var(--accent);
                    border-radius: 0;
                    text-transform: uppercase;
                    font-size: 12px;
                    font-weight: 500;
                    padding: 12px 16px;
                    transition: all .4s;
                    position: relative;
                    top: 0;
                    &:hover {
                        top: -5px;
                        background-color: var(--accent);
                        -webkit-box-shadow: 0px 5px 24px 0px rgba(196, 143, 86, .6);
                        -moz-box-shadow: 0px 5px 24px 0px rgba(196, 143, 86, .6);
                        box-shadow: 0px 5px 24px 0px rgba(196, 143, 86, .6);
                    }
                    &.disabled {
                        background-color: transparent !important;
                        padding: 12px 16px !important;
                    }
                }
            }
        }
        #respond {
            input {
                &#submit {
                    border: 1px solid var(--accent);
                    border-radius: 5px;
                    padding:  8px 20px;
                    background-color: transparent;
                    transition: all .4s;
                    width: fit-content;
                    cursor: pointer;
                    color: #FFF;
                    text-transform: uppercase;
                    font-size: 12px;
                    font-weight: 400;
                    margin-right: auto;
                    margin-left: auto;
                    display: block;
                    &:hover {
                        background-color: var(--accent);
                        color: #FFF;
                    }
                }
            }
        }
    }
    #reviews {
        #comments {
            h2 {
                display: none;
            }
            p {
                &.woocommerce-noreviews {
                    margin-top: 25px;
                    margin-bottom: 25px;
                    text-align: center;
                    font-style: italic;
                }
            }
        }
        span {
            &#reply-title {
                font-weight: 400;
            }
        }
        #commentform {
            margin-top: 20px;

        }
        p {
            &.stars {
                &.selected {
                    a {
                        &.active {
                            &:before {
                                color: var(--accent);
                            }
                        }
                        &:not(.active) {
                            &:before {
                                color: var(--accent);
                            }
                        }
                    }
                }
            }
            label {
                &[for="wp-comment-cookies-consent"] {
                    display: inline-block;
                }
            }
            input {
                &#wp-comment-cookies-consent {
                    position: relative;
                    bottom: -3px;
                }
            }
        }
    }
    form {
        &.woocommerce-form-register,
        &.woocommerce-form-login {
            border-radius: 0;
            border: none;
            background-color: var(--dark-grey-2);
            span {
                &.show-password-input {
                    top: calc(50% - 15px);
                }
            }
            button {
                &[type="submit"] {
                    border: 1px solid var(--accent);
                    font-size: 14px;
                    border-radius: 5px;
                    padding:  8px 10px;
                    background-color: transparent;
                    transition: all .4s;
                    color: #FFF;
                    font-weight: 400;
                    text-transform: uppercase;
                    width: 35%;
                    cursor: pointer;
                    display: block;
                    margin: auto;
                    float: none;
                    &:hover {
                        background-color: var(--accent);
                    }
                }
            }
            input {
                &#rememberme {
                    position: relative;
                    top: 4px;
                }
            }
            p {
                &.lost_password {
                    a {
                        font-size: 16px;
                        color: var(--accent);
                        transition: all .4s;
                        &:hover {
                            color: #FFF;
                        }
                    }
                }
            }
        }
        &.woocommerce-cart-form {
            tbody {
                tr:not(.cart-action-row) {
                    background-color: var(--dark-grey-2);
                    margin-bottom: 10px;
                }
            }
            button {
                &[name="update_cart"] {
                    display: none;
                }
                &[name="apply_coupon"] {
                    border: 1px solid var(--accent);
                    border-radius: 5px;
                    padding:  10px 14px;
                    background-color: transparent;
                    transition: all .4s;
                    cursor: pointer;
                    color: #FFF;
                    text-transform: uppercase;
                    font-size: 14px;
                    font-weight: 400;
                    &:hover {
                        background-color: var(--accent);
                    }
                }
                &.minus,
                &.plus {
                    background-color: var(--dark-grey-3);
                    border: 1px solid var(--accent);
                    border-radius: 5px;
                    font-size: 22px;
                    line-height: 34px;
                    font-weight: 300;
                    width: 38px;
                    text-align: center;
                    cursor: pointer;
                    transition: all .4s;
                    position: relative;
                    top: 3px;
                    &:hover {
                        background-color: var(--accent);
                    }
                }
            }
            input {
                &#coupon_code {
                    background-color: var(--dark-grey-2);
                    border-bottom: 1px solid var(--white);
                    border-top: none;
                    border-left: none;
                    border-right: none;
                    font-size: 16px;
                    min-width: 200px;
                    padding:  8px 10px;
                    transition: all .4s;
                    font-weight: 300;
                    &:focus {
                        border-bottom-color: var(--accent);
                    }
                    &:focus-visible {
                        outline: none;
                    }
                }
            }
            .product-thumbnail {
                width: 94px;
            }
            .product-name {
                a {
                    font-weight: 700;
                }
                span {
                    &.cart-product-subtotal {
                        display: block;
                        margin-top: 10px;
                        color: var(--accent);
                    }
                }
            }
            .product-quantity {
                input {
                    background-color: var(--dark-grey-3);
                    color: var(--accent);
                    font-size: 16px;
                    font-weight: 700;
                }
            }
            a {
                &.remove {
                    margin: auto;
                    transition: all .4s;
                    width: 32px;
                    height: 32px;
                    svg {
                        fill: var(--red);
                        display: block;
                        width: 22px;
                        height: auto;
                        margin: auto;
                        transition: fill .4s;
                        position: relative;
                        top: 3px;
                    }
                    &:hover {
                        background-color: var(--red);
                        svg {
                            fill:#FFF;
                        }
                    }
                }
            }
        }
        &[name="checkout"] {
            display: block;
        }
        &.checkout_coupon {
            border: none;
            background-color: var(--dark-grey-2);
            border-radius: 5px;
            p {
                margin-top: 0;
                &.form-row-last {
                    margin-bottom: 0;
                }
            }
            button {
                border: 1px solid var(--accent);
                font-size: 14px;
                text-transform: uppercase;
                border-radius: 5px;
                padding:  11px 20px;
                background-color: transparent;
                transition: all .4s;
                cursor: pointer;
                color: #FFF;
                font-weight: 400;
                &:hover {
                    background-color: var(--accent);
                    color: #FFF;
                }
            }
        }
    }
    div {
        &.product {
            div {
                &.images {
                    .woocommerce-product-gallery__image--placeholder {
                        border: none;
                    }
                    .woocommerce-product-gallery__trigger {
                        background-color: transparent;
                        &:before {
                            border-color: #FFF;
                        }
                        &:after {
                            background-color: #FFF;
                        }
                    }
                }
                label.variation-label {
                    font-weight: 700;
                }
                &.variation-attribute {
                    display: flex;
                    gap: 15px;
                    .variation-tile {
                        border-radius: 5px;
                        background-color: var(--dark-grey-3);
                        text-align: center;
                        cursor: pointer;
                        border: 1px solid var(--dark-grey-3);
                        position: relative;
                        overflow: hidden;
                        display: block;
                        transition: border .4s;
                        &.selected {
                            border: 1px solid var(--accent);
                            &:before {
                                display: block;
                                width: 20px;
                                height: 20px;
                                background-color: var(--accent);
                                position: absolute;
                                top: 0;
                                left: 0;
                                content: "";
                                border-bottom-right-radius: 5px;
                            }
                            &:after {
                                content: "";
                                position: absolute;
                                display: block;
                                left: 3px;
                                top: 3px;
                                width:10px;
                                height: 7px;
                                border-bottom: 3px solid #000;
                                border-left: 3px solid #000;
                                transform: rotate(-45deg);
                            }
                        }
                        &:hover {
                            border: 1px solid var(--accent);
                        }
                    }
                }
            }
            form {
                &.cart {
                    div {
                        &.quantity {
                            display: inline-block;
                            float: none;
                            position: relative;
                            top: -2px;
                            margin-right: 5px;
                            margin-left: 0;
                        }
                    }
                    button {
                        &[type="submit"] {
                            float: right;
                            border-radius: 5px;
                        }
                    }
                }
            }
        }
    }
    ul {
        &.products {
            li {
                &.product {
                    background-color: var(--dark-grey-2);
                    padding-bottom: 24px;
                    transition: all .4s;
                    position: relative;
                    top: 0;
                    &:before {
                        opacity: 0;
                        visibility: hidden;
                        display: block;
                        border-radius: 5px;
                        background-color: var(--accent);
                        position: absolute;
                        left: 50%;
                        bottom: 5px;
                        transition: all .4s;
                        transform: translateX( -50% );
                        content: "zobacz";
                        padding: 5px 15px;
                        font-size: 12px;
                        color: var(--dark-grey);
                        font-weight: 600;
                        text-transform: uppercase;
                    }
                    img {
                        border-radius: 5px;
                        aspect-ratio: 1 / 1;
                        object-fit: cover;
                        transition: all .4s;
                        width: 100%;
                        height: auto;
                        overflow: hidden;
                    }
                    .price {
                        font-size: 16px;
                        color: var(--accent);
                        font-weight: 700;
                        padding: 0 10px;
                        margin: auto;
                        text-align: center;
                        bdi {
                            color: var(--accent);
                            .woocommerce-Price-currencySymbol {
                                color: var(--accent);
                            }
                        }
                    }
                    h2.woocommerce-loop-product__title {
                        padding: 0 10px 10px;
                        text-align: center;
                        font-weight: 500;
                    }
                    a.button {
                        border: 1px solid var(--accent);
                        font-size: 12px;
                        border-radius: 5px;
                        padding:  8px 10px;
                        background-color: transparent;
                        transition: all .4s;
                        width: fit-content;
                        color: var(--white);
                        display: block;
                        margin: 20px auto;
                        font-weight: 500;
                        text-transform: uppercase;
                        &:hover {
                            background-color: var(--accent);
                        }
                    }
                    &:hover {
                        top: -10px;
                        &:before {
                            bottom: -15px;
                            opacity: 1;
                            visibility: visible;
                        }
                    }
                }
            }
        }
        &.cart_list {
            margin-top: 20px;
            li {
                padding: 0 40px 0 0;
                &:not(:last-of-type) {
                    margin-bottom: 15px;
                }
                img {
                    float: left;
                    margin-left: 0;
                    margin-right: 15px;
                    width: 50px;
                }
                a {
                    &:not(.remove) {
                        font-weight: 500;
                    }
                }
            }
        }
        &#shipping_method {
            display: flex;
            margin-top: 20px;
            li {
                padding: 10px;
                width: 100%;
                display: flex;
                background-color: var(--dark-grey-3);
                &:has(input:checked) {
                    border: 1px solid var(--accent);
                }
                border: 1px solid var(--dark-grey-3);
                transition: all .4s;
                flex-direction: row;
                flex-wrap: wrap;
                align-items: center;
                label {
                    margin-bottom: 0;
                    flex-grow: 2;
                }
                &:has(label:hover) {
                    border: 1px solid var(--accent);
                }
                input[type="radio"] {
                    position: relative;
                    margin: 0 10px 0 0;
                    max-width: 15px;
                    flex-grow: 1;
                }
                p#select-point-container {
                    margin-bottom: 0;
                    margin-block-end: 0;
                    text-align: center;
                    width: 100%;
                    flex-grow: 2;
                }
            }
        }
    }
    nav {
        &.woocommerce-breadcrumb {
            a {
                transition: color .4s;
                color: #FFF;
                &:hover {
                    color: var(--accent);
                }
            }
        }
        &.woocommerce-pagination {
            ul.page-numbers {
                border: none;
                margin: 0;
                li {
                    border: 1px solid var(--grey);
                    margin: 0 5px;
                    border-radius: 4px;
                    font-size: 14px;
                    transition: all .4s;
                    span {
                        &.current {
                            background-color: transparent;
                            color: var(--grey);
                            padding: 10px 16px;
                        }
                    }
                    a {
                        padding: 10px 16px;
                        transition: all .4s;
                    }
                    &:has(a):hover {
                        border-color: var(--accent);

                        a {
                            color: var(--dark-grey);
                            background-color: var(--accent);
                        }
                    }
                }
            }
        }
    }
    table {
        &.shop_table {
            td {
                &:not(.product-name):not(.shipping__inner) {
                    text-align: right;
                    li label {
                        text-align: left;
                    }
                }
                small.includes_tax {
                    display: block;
                }
            }
            th.product-total {
                text-align: right;
            }
        }
        &.variations {
            display: none;
        }
    }
}
.woocommerce-cart {
    ul {
        &.cart_list {
            li {
                img {
                    float: left;
                }
            }
        }
        &#shipping_method {
            li {
                label {
                    cursor: pointer;
                    display: inline-block;
                    flex-grow: 2;
                    & > span {
                        float: right;
                    }
                }
            }
        }
    }
    .cart_totals {
        background-color: var(--dark-grey-2);
        padding: 32px;
        a {
            &.checkout-button {
                background-color: var(--accent);
                text-transform: uppercase;
                position: relative;
                top: 0;
                transition: all .4s;
                font-size: 18px;
                &:hover {
                    background-color: var(--accent);
                    top: -5px;
                    -webkit-box-shadow: 0px 5px 24px 0px rgba(196, 143, 86, .6);
                    -moz-box-shadow: 0px 5px 24px 0px rgba(196, 143, 86, .6);
                    box-shadow: 0px 5px 24px 0px rgba(196, 143, 86, .6);
                }
            }
        }
        p {
            &.woocommerce-shipping-destination {
                font-size: 16px;
            }
        }
        tr {
            &.order-total {
                th, td {
                    padding-top: 35px;
                }
                span {
                    font-size: 22px;
                    &.woocommerce-Price-amount bdi {
                        color: var(--accent);
                        .woocommerce-Price-currencySymbol {
                            color: var(--accent);
                        }
                    }
                }
                small.includes_tax {
                    font-size: 14px;
                    display: block;
                    .woocommerce-Price-amount,
                    .woocommerce-Price-currencySymbol {
                        font-size: 14px;
                    }
                }
            }
        }
    }
    .blockUI.blockOverlay {
        background-color: rgba(16, 16, 16, 0.85) !important;
    }
}
.woocommerce-checkout {
    .checkout-custom-wrapper {
        display: flex;
        aside{
            &.checkout-aside {
                display: block;
                position: relative;
            }
        }
    }
    .woocommerce-billing-fields,
    .woocommerce-shipping-fields {
        h3 {
            &:first-of-type {
                margin-bottom: 30px;
            }
            &#ship-to-different-address {
                input {
                    position: relative;
                    top: 5px;
                }
            }
        }
    }
    h3 {
        &#order_review_heading {
            margin-bottom: 30px;
        }
    }
    #payment {
        background-color: var(--dark-grey-3);
        .woocommerce-privacy-policy-text {
            p {
                font-size: 16px;
                a {
                    color: var(--accent);
                    font-weight: 500;
                    &:hover {
                        text-decoration: underline;
                    }
                }
            }
        }
        .woocommerce-terms-and-conditions-checkbox-text {
            a {
                color: var(--accent);
                font-weight: 500;
                &:hover {
                    text-decoration: underline;
                }
            }
        }
        li {
            &.wc_payment_method {
                padding: 10px;
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
                align-items: center;
                transition: all .4s;
                border: 1px solid transparent;
                label {
                    max-width: calc(100% - 30px);
                    width: 100%;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    flex-wrap: nowrap;
                    img {
                        display: block;
                        max-height: 30px;
                    }
                }
                &:has(input:checked) {
                    border: 1px solid var(--accent);
                }
                &:hover {
                    background-color: var(--dark-grey);
                }
                &:not(:last-of-type) {
                    margin-bottom: 10px;
                }
            }
        }
        button {
            &[type="submit"] {
                &#place_order {
                    background-color: var(--accent);
                    text-transform: uppercase;
                    font-size: 18px;
                    padding: 18px;
                    position: relative;
                    top: 0;
                    transition: all .4s;
                    border: none;
                    cursor: pointer;
                    &:hover {
                        background-color: var(--accent);
                        top: -5px;
                        -webkit-box-shadow: 0px 5px 24px 0px rgba(196, 143, 86, .6);
                        -moz-box-shadow: 0px 5px 24px 0px rgba(196, 143, 86, .6);
                        box-shadow: 0px 5px 24px 0px rgba(196, 143, 86, .6);
                    }
                }
            }
        }
    }
    table {
        tr {
            &.order-total {
                td {
                    span {
                        &.woocommerce-Price-amount.amount {
                            color: var(--accent);
                            bdi {
                                color: var(--accent);
                                font-size: 1.3em;
                                .woocommerce-Price-currencySymbol {
                                    color: var(--accent);
                                }
                            }
                        }
                    }
                }
            }
            &.woocommerce-shipping-totals.shipping {
                a {
                    &#select-point {
                        text-transform: uppercase;
                        font-size: 14px;
                        border: 1px solid var(--accent);
                        padding: 8px 10px;
                        border-radius: 5px;
                        transition: all .4s;
                        &:hover {
                            background-color: var(--accent);
                        }
                    }
                }
                span#selected-point {
                    display: block;
                    margin-top: 20px;
                    background-color: transparent;
                    font-size: 14px;
                }
            }
        }
    }
    .blockUI.blockOverlay {
        background-color: rgba(16, 16, 16, 0.85) !important;
    }
    .woocommerce {
        ul {
            &#shipping_method {
                li {
                    label {
                        display: inline-block;
                        & > span {
                            float: right;
                        }
                    }
                }
            }
        }
    }
    ul {
        &.cart_list {
            li {
                img {
                    float: left;
                }
            }
        }
    }
}
.wp-block-embed__wrapper {
    iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}
.wp-lightbox-overlay {
    .scrim {
        background-color: var(--dark-grey) !important;
        opacity: .8;
    }
}
.wp-block-table {
    &.is-style-stripes {
        tbody {
            tr {
                &:nth-child(odd) {
                    background-color: var(--dark-grey-3);
                }
            }
        }
    }
}
.theme-patryksiuta-pl {
    #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonCustomize,
    #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection,
    #CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton,
    #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonAccept,
    #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonAccept,
    #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll,
    #CybotCookiebotDialog a:hover:after {
        border-color: var(--accent);
    }
    #CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyEdgeMoreDetails a {
        color: var(--accent);
    }
    #CybotCookiebotDialog input:checked+.CybotCookiebotDialogBodyLevelButtonSlider {
        background-color: var(--accent);
    }

    .wc-block-grid.has-4-columns .wc-block-grid__products {
        margin: 0 0 16px;
    }
}
#omnisend-embedded-v2-67733c8dcd0025e6905db1f6 {
    label {
        width: fit-content;
        margin: auto;
        & + div {
            margin: auto;
            a svg {
                fill: var(--accent);
            }
        }
    }
    div[aria-live="polite"] {
        text-align: center;
    }
    p {
        color: white;
        font-size: 14px;
    }
}
.grecaptcha-badge { visibility: hidden; opacity: 0; }
@media screen and (min-width: 992px) {
    ul {
        &.posts-list {
            flex-direction: row;
            align-items: stretch;
            justify-content: start;
            margin-top: 60px;
            li {
                max-width: 33%;
                width: calc((100% - 60px)/3);
                &:hover svg {
                    opacity: 1;
                    visibility: visible;
                    bottom: 20px;
                }
            }
        }
        &.woocommerce-thankyou-order-details {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            justify-content: flex-start;
            border-radius: 4px;
            border: 1px solid var(--accent);
            padding: 20px;
            background-color: var(--dark-grey-2);
            li {
                strong {
                    margin-top: 15px;
                }
            }
        }
        &.ps-v-items {
            li {
                padding: 15px;
                flex-grow: 1;
                flex-direction: column;
            }
        }
    }
    header {
        padding: 0 60px;
        height: 80px;
        justify-content: space-between;
        img {
            &.custom-logo {
                max-width: 200px;
                height: auto;
            }
        }
        & > div {
            width: 50%;
            &:first-of-type {
                width: 100%;
                max-width: 200px;
            }
            &:last-of-type {
                width: fit-content;
            }
        }
        svg {
            &.bars-icon,
            &.x-icon {
                display: none;
            }
            &.cart-icon {
                width: 20px;
            }
        }
        ul {
            margin-left: auto;
            width: fit-content;
            li {
                font-size: 12px;
                a {
                    padding: 2px 10px;
                }
            }
        }
        div {
            &.mini-cart {
                margin-left: 20px;
                cursor: pointer;
                position: relative;
                &:hover {
                    span.cart-quantity-items {
                        background-color: var(--white);
                    }
                }
                .wc-mini-cart {
                    width: 400px;
                    right: 0;
                    top: calc(100% + 30px);
                }
            }
        }
    }
    section {
        &.front-page,
        &.posts,
        &.post,
        &.page,
        &.shop-archive,
        &.page-404,
        &.shop-product {
            min-height: calc(100vh - 564px);
        }
        &.page {
            width: 100%;
            max-width: calc(var(--container) * 1px);
            margin: 0 auto;
            padding-top: 40px;
        }
        &.front-page {
            padding: 0;
            #slider {
                width: 100%;
                height: auto;
                margin-bottom: 100px;
                .splide__arrows {
                    button {
                        opacity: 0;
                        cursor: pointer;
                        transition: all .4s;
                        &.splide__arrow--prev {
                            left: 30px;
                        }
                        &.splide__arrow--next {
                            right: 30px;
                        }
                    }
                }
                li {
                    width: 100%;
                    max-width: 1500px;
                    aspect-ratio: 16 / 9;
                    height: auto;
                    display: block;
                    margin-right: 2%;
                    & > div {
                        left: 3%;
                    }
                }
                h2 {
                    font-size: 45px;
                }
                &:hover {
                    .splide__arrows {
                        button {
                            opacity: 1;
                            &.splide__arrow--prev {
                                left: 0;
                            }
                            &.splide__arrow--next {
                                right: 0;
                            }
                        }
                    }
                }
                picture {
                    display: block;
                    margin-left: auto;
                    margin-right: 0;
                    img {
                        width: 100%;
                        margin: auto;
                        aspect-ratio: 16 / 9;
                        object-fit: cover;
                        object-position: center;
                        height: auto;
                    }
                }
            }
            .shop-usp {
                svg {
                    margin: 0 auto 20px;
                }
                span {
                    margin: auto;
                    text-align: center;
                    font-size: 16px;
                }
            }
        }
        &.post {
            padding-bottom: 30px;
            .post-navigation {
                svg {
                    width: 8px;
                }
                a {
                    &[rel="next"] svg {
                        margin-left: 10px;
                    }
                    &[rel="prev"] svg {
                        margin-right: 10px;
                    }
                }
            }
            .comments {
                ol {
                    li {
                        .comment-author {
                            max-width: 70%;
                            display: inline-block;
                            width: fit-content;
                        }
                        .comment-meta {
                            max-width: 28%;
                            display: inline-block;
                            width: fit-content;
                            float: right;
                        }
                        img.avatar {
                            margin-right: 15px;
                        }
                    }
                }
            }
        }
        &.shop-archive {
            padding-top: 30px;

        }
        &.shop-product {
            div{
                &.product {
                    div {
                        &.images {
                            width: 58%;
                        }
                        &.summary {
                            width: 38%;
                            h1.product_title {
                                font-size: 28px;
                                padding-left: 15px;
                            }
                        }
                        &.details-content {
                            padding-top: 50px;
                            padding-bottom: 50px;
                        }
                    }
                }
            }
            .product_meta {
                & > span {
                    display: block;
                    margin-bottom: 10px;
                }
            }
        }
        &.page-404 {
            span {
                font-size: 80px;
                padding-left: 40px;
            }
        }
    }
    .container {
        max-width: calc(var(--container) * 1px);
        margin: auto;
    }
    .woocommerce {
        .woocommerce-breadcrumb {
            margin: 0 0 40px;
        }
        ul {
            &.products {
                li {
                    &.product {
                        h2.woocommerce-loop-product__title {
                            font-size: 18px;
                        }
                    }
                }
            }
        }
        div {
            &.product {
                form {
                    &.cart {
                        button {
                            &[type="submit"] {
                                width: calc( 100% - 180px );
                            }
                        }
                    }
                }
            }
            &.variation-attribute {
                flex-wrap: wrap;
                margin: 15px 0 25px;
                .variation-tile {
                    padding: 15px;
                    flex-grow: 1;
                }
            }

        }
        form {
            &.woocommerce-cart-form {
                max-width: 100%;
                width: calc(100% - 450px);
                .product-name {
                    width: calc(100% - 330px);
                }
            }
            &.woocommerce-form-register,
            &.woocommerce-form-login {
                button {
                    &[type="submit"] {
                        width: 35%;
                    }
                }
            }
            /*&[name="checkout"] {
                width: 64%;
            }*/
        }
    }
    .woocommerce-cart {
        .woocommerce {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: space-between;
            .woocommerce-notices-wrapper {
                width: 100%;
            }
            .cart-collaterals {
                width: fit-content;
            }
            .cart_totals {
                width: 410px;
            }
            ul {
                &#shipping_method {
                    flex-wrap: wrap;
                    flex-direction: column;
                    li {
                        width: 100%;
                    }
                }
            }
        }
        table {
            &.cart {
                thead {
                    display: none;
                }
                img {
                    width: 70px;
                }
            }
        }
    }
    .woocommerce-checkout {
        .checkout-custom-wrapper {
            flex-direction: row;
            flex-wrap: nowrap;
            justify-content: space-between;
            align-items: stretch;
            aside{
                &.checkout-aside {
                    width: 32%;
                }
            }
        }
        .woocommerce {
            ul {
                &#shipping_method {
                    flex-wrap: nowrap;
                    flex-direction: row;
                    align-items: stretch;
                    justify-content: space-between;
                    li {
                        max-width: 32%;
                    }
                }
            }
        }
    }
    footer {
        padding: 20px 60px 10px;
        justify-content: space-between;
        ul {
            flex-direction: row;
        }
        .recaptcha-info {
            margin-bottom: 30px;
        }
    }
    .theme-patryksiuta-pl {
        .wc-block-grid.has-4-columns .wc-block-grid__product {
            flex: 1 0 calc( (100% - 60px) / 4 );
        }
    }
}
@media screen and (max-width: 991px) {
    ul {
        &.posts-list {
            flex-direction: column;
            li {
                width: 100%;
                h2 {
                    font-size: 18px;
                }
            }
        }
        &.wp-block-latest-posts__list {
            li {
                margin-right: auto !important;
                margin-left: auto !important;
            }
        }
        &.ps-v-items {
            flex-wrap: wrap;
            li {
                padding: 10px 10px 10px 30px;
                width: 100%;
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
            }
        }
    }
    ol, ul {
        &.woocommerce-mini-cart {
            z-index: 20;
            li {
                a {
                    font-size: .8em;
                }
                span {
                    &.quantity {
                        font-size: .8em;
                    }
                }
            }
        }
    }
    header {
        padding: 10px 3%;
        justify-content: space-between;
        img {
            &.custom-logo {
                width: 150px;
                max-width: 150px;
                height: auto;
            }
        }
        nav {
            position: absolute;
            top: 30px;
            right: 0;
            opacity: 0;
            visibility: hidden;
            background-color: var(--dark-grey);
            padding: 80px 20px 30px 20px;
            z-index: 20;
            border-bottom-left-radius: 15px;
            transition: all .4s;
            &.active {
                top: 0;
                opacity: 1;
                visibility: visible;
            }
            ul {
                flex-direction: column;
                padding-right: 0;
                li {
                    font-size: 17px;
                    line-height: 40px;
                    text-align: right;
                }
            }
        }
        svg {
            &.bars-icon,
            &.x-icon {
                height: 24px;
                fill: var(--accent);
                z-index: 20;
                position: relative;
                &.hide {
                    display: none;
                }
            }
            &.cart-icon {
                width: 24px;
            }
        }
        div {
            &.mini-cart {
                position: relative;
                margin-right: 20px;
                cursor: pointer;
                .wc-mini-cart {
                    width: 90vw;
                    top: 100%;
                    right: -126%;
                    .woocommerce-mini-cart__buttons {
                        a {
                            font-size: 14px;
                        }
                    }
                }
            }
        }
    }
    section {
        &.front-page,
        &.posts,
        &.post,
        &.page,
        &.shop-archive,
        &.page-404,
        &.shop-product {
            div.summary {
                &.entry-summary {
                    h1 {
                        font-size: 24px;
                        padding-left: 10px;
                    }
                }
                button {
                    &.button {
                        &.alt {
                            width: calc( 100% - 180px );
                        }
                    }
                }
            }
            .product_meta {
                .tagged_as,
                .posted_in {
                    display: block;
                }
                .tagged_as {
                    margin-top: 10px;
                }
            }
        }
        &.front-page {
            #slider {
                margin-bottom: 50px;
                h2 {
                    font-size: 35px;
                }
                li {
                    aspect-ratio: 1 / 1;
                    background-repeat: no-repeat;
                    background-size: cover;
                    background-position: center;
                    & > div {
                        padding-left: 10px;
                        padding-right: 10px;
                    }
                }
                picture {
                    img {
                        aspect-ratio: 1 / 1.35;
                        width: 100%;
                        object-fit: cover;
                        object-position: center;
                        display: block;
                        height: auto;
                    }
                }
                .splide__arrows {
                    button {
                        &.splide__arrow--prev {
                            left: 0;
                        }
                        &.splide__arrow--next {
                            right: 0;
                        }
                    }
                }
            }
            .shop-usp {
                svg {
                    margin: 0 auto 0 0;
                }
                span {
                    text-align: left;
                    font-size: 14px;
                }
                .wp-block-column {
                    margin-bottom: 20px;
                    max-width: 46%;
                }
            }
        }
        &.post {
            .post-navigation {
                margin-bottom: 20px;
                a {
                    span {
                        display: none;
                    }
                    svg {
                        width: 10px;
                    }
                }
            }
            .wp-block-image figure img {
                height: auto !important;
            }
            .comments {
                ol {
                    padding-left: 2%;
                    li {
                        .comment-author {
                            display: block;
                        }
                        .comment-meta {
                            display: block;
                            margin-top:10px;
                            padding-left: 40px;
                        }
                        img.avatar {
                            margin-right: 7px;
                        }
                    }
                }
            }
        }
        &.posts,
        &.page,
        &.post,
        &.shop-archive {
            h1 {
                font-size: 32px;
            }
        }
        &.page-404 {
            span {
                font-size: 40px;
                padding-left: 20px;
            }
            h2 {
                text-align: center;
                font-size: 19px;
            }
        }
    }
    .woocommerce {
        .woocommerce-info,
        .woocommerce-message {
            a {
                &.button {
                    float: none;
                    display: block;
                    width: fit-content;
                    margin: 10px auto 0;
                }
            }
        }
        .woocommerce-breadcrumb {
            margin: 0 0 1.1em;
        }
        ul {
            &.products {
                li {
                    &.product {
                        h2.woocommerce-loop-product__title {
                            font-size: 13px;
                        }
                    }
                }
            }
            &#shipping_method {
                flex-direction: column;
                flex-wrap: nowrap;
                li {
                    text-align: left;
                    margin-bottom: 15px;
                }
            }
        }
        form {
            &.woocommerce-ordering {
                float: none;
                width: fit-content;
            }
            &.woocommerce-form-register,
            &.woocommerce-form-login {
                button {
                    &[type="submit"] {
                        margin-top: 15px;
                        width: 75%;
                    }
                }
            }

        }
        nav {
            &.woocommerce-breadcrumb {
                display: flex;
                flex-direction: row;
                flex-wrap: nowrap;
                overflow: hidden;
                position: relative;
                &:after {
                    display: block;
                    content: "";
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    right: 0;
                    width: 40px;
                    background: rgb(16,16,16);
                    background: linear-gradient(270deg, rgba(16,16,16,1) 0%, rgba(16,16,16,1) 100%);
                }
            }
        }
        table {
            &.cart {
                td {
                    &.actions {
                        input {
                            &#coupon_code {
                                width: 100%;
                            }
                        }
                        .button {
                            &[name="update_cart"] {
                                display: none;
                            }
                            &[name="apply_coupon"] {
                                margin-top: 20px;
                                width: 100%;
                            }
                        }
                    }
                }
            }
        }
        .cart_totals {
            padding: 25px;
            h2 {
                margin-top: 10px;
                margin-bottom: 30px;
                font-size: 20px;
            }
            p {
                &.woocommerce-shipping-destination {
                    line-height: 25px;
                }
            }
            tr {
                &.woocommerce-shipping-totals {
                    display: flex;
                    flex-direction: column;
                    th {
                        display: block;
                        width: 100%;
                    }
                    td {
                        border-top: none;
                        text-align: left !important;
                        &:before {
                            display: none;
                        }
                    }
                }
            }
        }
        div {
            &.product {
                form {
                    &.cart {
                        div {
                            &.quantity {
                                margin-left: 0;
                            }
                        }
                    }
                }
            }
            &.variation-attribute {
                margin: 15px 0 25px;
                flex-direction: row;
                .variation-tile {
                    padding: 20px 15px;
                    flex-grow: 1;
                    font-size: .9em;
                }
            }
        }
    }
    .woocommerce-cart {
        table {
            &.cart {
                tr {
                    display: flex;
                    flex-wrap: wrap;
                    flex-direction: row;
                    align-items: stretch;
                }
                .product-name {
                    width: calc(100% - 124px);
                    text-align: left !important;
                    order: 1;
                    &:before {
                        display: none;
                    }
                }
                .product-thumbnail {
                    order: 0;
                    display: block;
                    width: 124px;
                    &:before {
                        display: none;
                    }
                    img {
                        width: 100px;
                    }
                }
                .product-remove {
                    order: 2;
                    width: 124px;
                    padding-top: 0;
                }
                .product-quantity {
                    order: 3;
                    width: calc(100% - 124px);
                    padding-top: 0;
                    &:before {
                        display: none;
                    }
                }
            }
        }
    }
    .woocommerce-checkout {
        h3 {
            font-size: 28px;
        }
    }
    footer {
        flex-direction: column;
        & > div {
            &:first-of-type {
                order: 1;
            }
            &:nth-of-type(2) {
                order: 0;
            }
            &.recaptcha-info {
                order: 2;
                line-height: 1.6;
            }
        }
        ul {
            margin: 0 auto 10px;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
            li {
                margin: 5px;
            }
        }
    }
    .theme-patryksiuta-pl {
        .wc-block-grid.has-4-columns {
            .wc-block-grid__products {
                display: flex;
            }
            .wc-block-grid__product {
                flex: 1 0 23%;
            }
        }
    }
}