/**
Theme Name: Storefront Child
Version: 1.0.0
Author: Wojciech Pochroń
License: GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: storefront-child
Template: storefront
*/

body{
    font-family: 'Montserrat', sans-serif;
    color: #00172F;
    background-color: #fff;
    font-size: 14px;
    line-height: 18px;
}

a:focus{
    outline: none;
}

select:focus-visible{
    outline: none;
}

h1{
    font-size: 24px;
    color: #00172F;
    font-weight: 700;
}

h2{
    font-size: 24px;
    color: #00172F;
    font-weight: 700;
}

header{
    position: relative;
}

header .col-full{
    max-width: unset;
    display: flex;
    align-items: center;
}

/* Max Mega Menu Desktop Styles */
#mega-menu-wrap-primary{
    background: transparent !important;
}

#mega-menu-wrap-primary #mega-menu-primary{
    background: transparent !important;
    display: flex;
    justify-content: center;
    gap: 5px;
}

#mega-menu-wrap-primary #mega-menu-primary li{
    background: transparent !important;
}

#mega-menu-wrap-primary #mega-menu-primary li a{
    background: transparent !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link{
    font-weight: 500 !important;
    font-size: 13px;
    transition: all 0.25s ease;
    color: #2c3238 !important;
    line-height: 18px;
    height: auto;
    padding: 18px 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link::after{
    content: '';
    position: absolute;
    bottom: 12px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #00172F;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover{
    color: #00172F !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover::after{
    transform: scaleX(1);
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus{
    background: transparent !important;
}

/* Submenu dropdown */
.mega-sub-menu{
    background: #fff !important;
    border: none !important;
    box-shadow: 0 10px 40px rgba(0, 23, 47, 0.12) !important;
    border-radius: 8px !important;
    margin-top: 0 !important;
    padding: 15px 0 !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link{
    font-size: 13px;
    color: #3d4852 !important;
    text-transform: none;
    padding: 10px 24px !important;
    font-weight: 400;
    transition: all 0.2s ease;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover{
    color: #00172F !important;
    background: #f8f9fb !important;
    padding-left: 28px !important;
}

.site-header-cart .cart-contents{
    display: flex;
    justify-content: end;
    align-items: baseline;
    min-width: fit-content;
}


/* ========================================
   MINI CART DROPDOWN STYLES
   ======================================== */

#site-header-cart:hover .widget.woocommerce.widget_shopping_cart{
    right: 0;
    min-width: 300px;
    left: unset;
}

/* Mini cart container */
.widget_shopping_cart_content{
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 23, 47, 0.18);
    overflow: hidden;
    padding: 0;
}

/* Products list */
.widget_shopping_cart_content ul.woocommerce-mini-cart{
    padding: 0;
    margin: 0;
    max-height: 280px;
    overflow-y: auto;
    list-style: none;
}

/* Single product */
.widget_shopping_cart_content ul.woocommerce-mini-cart li.mini_cart_item{
    padding: 16px 20px !important;
    margin: 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    position: relative !important;
    overflow: hidden;
}

.widget_shopping_cart_content ul.woocommerce-mini-cart li.mini_cart_item:last-child{
    border-bottom: none !important;
}

/* Remove button */
.widget_shopping_cart_content ul.woocommerce-mini-cart li a.remove{
    position: absolute !important;
    top: 50% !important;
    left: 16px !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    font-size: 0 !important;
    color: transparent !important;
    background: none !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.widget_shopping_cart_content ul.woocommerce-mini-cart li a.remove::before{
    content: '×' !important;
    font-size: 20px !important;
    font-weight: 300 !important;
    color: #00172F !important;
    line-height: 1 !important;
}

.widget_shopping_cart_content ul.woocommerce-mini-cart li a.remove:hover::before{
    color: #e53935 !important;
}

/* Product image */
.widget_shopping_cart_content ul.woocommerce-mini-cart li img{
    width: 55px !important;
    height: 55px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    float: right !important;
    margin-left: 12px !important;
    border: 1px solid #eee !important;
}

/* Product name */
.widget_shopping_cart_content ul.woocommerce-mini-cart li a:not(.remove){
    display: block !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #00172F !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    margin-left: 32px !important;
    margin-bottom: 4px !important;
    padding-right: 0 !important;
}

.site-header-cart .widget_shopping_cart .product_list_widget li a.remove{
    width: 20px !important;
    height: 20px !important;
}

.widget_shopping_cart_content ul.woocommerce-mini-cart li a:not(.remove):hover{
    color: #2c3238 !important;
}

/* Variation attributes in mini cart */
.widget_shopping_cart_content ul.woocommerce-mini-cart li .variation,
.widget_shopping_cart_content ul.woocommerce-mini-cart li dl.variation{
    display: block !important;
    font-size: 12px !important;
    color: #666 !important;
    margin-left: 32px !important;
    margin-top: 4px !important;
    margin-bottom: 4px !important;
}

.widget_shopping_cart_content ul.woocommerce-mini-cart li .variation dt,
.widget_shopping_cart_content ul.woocommerce-mini-cart li .variation dd,
.widget_shopping_cart_content ul.woocommerce-mini-cart li dl.variation dt,
.widget_shopping_cart_content ul.woocommerce-mini-cart li dl.variation dd{
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: normal !important;
    float: none !important;
}

.widget_shopping_cart_content ul.woocommerce-mini-cart li .variation dt,
.widget_shopping_cart_content ul.woocommerce-mini-cart li dl.variation dt{
    font-weight: 600 !important;
    margin-right: 4px !important;
}

.widget_shopping_cart_content ul.woocommerce-mini-cart li .variation dd p,
.widget_shopping_cart_content ul.woocommerce-mini-cart li dl.variation dd p{
    display: inline !important;
    margin: 0 !important;
}

/* Quantity & price */
.widget_shopping_cart_content ul.woocommerce-mini-cart li .quantity{
    display: block !important;
    font-size: 13px !important;
    color: #666 !important;
    margin-left: 32px !important;
}

.widget_shopping_cart_content ul.woocommerce-mini-cart li .quantity .amount{
    font-weight: 600 !important;
    color: #00172F !important;
}

/* Total */
.widget_shopping_cart_content .woocommerce-mini-cart__total{
    padding: 16px 20px !important;
    margin: 0 !important;
    background: #f8f9fb !important;
    border-top: 1px solid #eee !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.widget_shopping_cart_content .woocommerce-mini-cart__total strong{
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #666 !important;
}

.widget_shopping_cart_content .woocommerce-mini-cart__total .woocommerce-Price-amount{
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #00172F !important;
}

/* Buttons */
.widget_shopping_cart_content .woocommerce-mini-cart__buttons{
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 16px 20px !important;
    margin: 0 !important;
}

.widget_shopping_cart_content .woocommerce-mini-cart__buttons a{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 46px !important;
    padding: 0 16px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

/* View cart button */
.widget_shopping_cart_content .woocommerce-mini-cart__buttons a:first-child{
    background: #fff !important;
    color: #00172F !important;
    border: 2px solid #e0e0e0 !important;
}

.widget_shopping_cart_content .woocommerce-mini-cart__buttons a:first-child:hover{
    background: #f8f9fb !important;
    border-color: #00172F !important;
    color: #00172F !important;
}

/* Checkout button */
.widget_shopping_cart_content .woocommerce-mini-cart__buttons a.checkout,
.widget_shopping_cart_content .woocommerce-mini-cart__buttons a:last-child{
    background: #00172F !important;
    color: #fff !important;
    border: 2px solid #00172F !important;
}

.widget_shopping_cart_content .woocommerce-mini-cart__buttons a.checkout:hover,
.widget_shopping_cart_content .woocommerce-mini-cart__buttons a:last-child:hover{
    background: #002a4a !important;
    border-color: #002a4a !important;
}

/* Empty cart */
.widget_shopping_cart_content .woocommerce-mini-cart__empty-message{
    padding: 40px 20px !important;
    text-align: center !important;
    color: #888 !important;
    font-size: 14px !important;
}


#mega-menu-wrap-primary .mega-menu-toggle{
    background: #fff !important;
}

.site-header-cart .cart-contents::after {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    line-height: inherit;
    vertical-align: baseline;
    content: "" !important;
    height: 1em;
    float: right;
    line-height: 1.618;
}

a.account{
    margin-left: 30px;
}

a.account img{
    width: 20px;
    min-width: 20px;
}

.site-header-cart .cart-contents::after{
    font-size: 20px;
}

/* ========================================
   DESKTOP NAVIGATION STYLES
   ======================================== */

.navigation{
    padding: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 23, 47, 0.06);
    position: relative;
    z-index: 1000;
    margin-bottom: 0;
}

body:not(.home) .navigation{
    margin-bottom: 60px;
}

.navigation__top{
    padding: 20px 0;
    border-bottom: 1px solid #f0f2f5;
}

.navigation__top .logo-link{
    display: inline-block;
    transition: opacity 0.2s ease;
}

.navigation__top .logo-link:hover{
    opacity: 0.8;
}

.navigation__top .logo-link img{
    height: auto;
    width: 200px;
    max-width: none;
}

/* Desktop Search */
@media(min-width: 992px){
    .navigation__top .dgwt-wcas-search-wrapp{
        max-width: 500px;
        margin: 0 auto;
    }

    .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{
        border-radius: 25px !important;
        background-color: #f8f9fb !important;
        border: 1px solid #e8eaed !important;
        padding: 12px 24px 12px 50px !important;
        font-size: 14px !important;
        transition: all 0.2s ease !important;
    }

    .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:focus{
        background-color: #fff !important;
        border-color: #00172F !important;
        box-shadow: 0 0 0 3px rgba(0, 23, 47, 0.08) !important;
    }

    .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input::placeholder{
        color: #9ca3af;
    }

    .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{
        top: 50% !important;
        transform: translateY(-50%) !important;
        left: 15px !important;
    }
}

/* Desktop Cart & Account */
.navigation__top .site-header-cart{
    display: inline-flex;
    align-items: center;
}

.navigation__top .site-header-cart .cart-contents{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8f9fb;
    border-radius: 25px;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    color: #00172F;
    white-space: nowrap;
}

.navigation__top .site-header-cart .cart-contents:hover{
    background: #00172F;
    color: #fff;
}

.navigation__top .site-header-cart .cart-contents:hover::after{
    color: #fff;
}

.navigation__top .site-header-cart .cart-contents .amount{
    font-weight: 600;
}

/* Cart button responsive */
@media(max-width: 1399px){
    .navigation__top .site-header-cart .cart-contents{
        padding: 8px 12px;
        font-size: 12px;
        gap: 6px;
    }
}

a.account{
    margin-left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #f8f9fb;
    border-radius: 50%;
    transition: all 0.2s ease;
}

a.account:hover{
    background: #00172F;
}

a.account:hover img{
    filter: brightness(0) invert(1);
}

a.account img{
    width: 18px;
    min-width: 18px;
    transition: filter 0.2s ease;
}

/* Navigation Bottom - Menu Bar */
.navigation__bottom{
    background: #fff;
    border-bottom: none;
}

/* Space after navigation */
.navigation + #page,
.navigation + .site-content,
.navigation ~ .site-content{
    margin-top: 0;
}

#page{
    padding-top: 0;
}

@media(max-width: 991.98px){
    .logo-link img{
        margin: 0 auto;
    }

    a.account-mobile{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    a.account-mobile img{
        width: 20px;
        min-width: 20px;
    }

    .site-header-cart .cart-contents{
        display: flex;
        justify-content: end;
        align-items: baseline;
        min-width: inherit;
    }
}

/* ========================================
   FOOTER STYLES
   ======================================== */

footer#colophon{
    background: linear-gradient(to bottom, #f8f9fb, #fff) !important;
    padding: 60px 0 0 0 !important;
    margin-top: 60px;
    border-top: 1px solid #eee;
}

footer h3{
    font-size: 13px;
    text-transform: uppercase;
    color: #00172F !important;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

footer h3::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #00172F;
}

footer ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

footer ul li{
    margin-bottom: 10px;
}

footer ul li:last-child{
    margin-bottom: 0;
}

footer ul a{
    text-decoration: none !important;
    color: #555;
    font-size: 13px;
    line-height: 1.6;
    transition: all 0.2s ease;
    display: inline-block;
}

footer ul a:hover{
    color: #00172F;
    transform: translateX(3px);
}

/* Footer images */
footer img{
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Footer bottom */
.footer__bottom{
    background: #00172F;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    margin-top: 50px;
    padding: 20px 0;
}

.footer__bottom .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__bottom .row{
    width: 100%;
}

.footer__bottom .col-12,
.footer__bottom .col-12 *,
footer .footer__bottom .col-12{
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer__bottom .right{
    text-align: right;
}

.footer__bottom .right a,
footer .footer__bottom .right a,
.site-footer .footer__bottom .right a{
    color: #fff !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    transition: opacity 0.2s ease !important;
}

.footer__bottom .right a:hover,
footer .footer__bottom .right a:hover{
    opacity: 0.8 !important;
    color: #fff !important;
}

/* Footer responsive */
@media(max-width: 991.98px){
    footer#colophon{
        padding: 40px 0 0 0 !important;
        margin-top: 40px;
    }

    footer .col-12{
        margin-bottom: 30px;
    }

    footer .col-12:last-child{
        margin-bottom: 0;
    }

    .footer__bottom{
        margin-top: 30px;
    }
}

@media(max-width: 767.98px){
    footer h3{
        text-align: center;
    }

    footer h3::after{
        left: 50%;
        transform: translateX(-50%);
    }

    footer ul{
        text-align: center;
    }

    footer ul a:hover{
        transform: none;
    }

    footer .col-12:last-child{
        text-align: center;
    }

    footer .col-12:last-child img{
        display: inline-block;
    }

    .footer__bottom .col-12{
        text-align: center !important;
        margin-bottom: 8px;
    }

    .footer__bottom .col-12:last-child{
        margin-bottom: 0;
    }

    .footer__bottom .right{
        text-align: center !important;
    }
}

@media (min-width: 992px){
    .right-sidebar .content-area {
        width: 100%;
        float: left;
        margin-right: 0;
    }
}

/* ========================================
   POJEDYNCZY PRODUKT - STYLE
   ======================================== */

/* Galeria produktu */
.single-product div.product .woocommerce-product-gallery{
    margin-bottom: 30px;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image{
    border-radius: 8px;
    overflow: hidden;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs{
    margin-top: 15px;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li{
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:hover,
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li.flex-active{
    border-color: #00172F;
}

/* Tytuł produktu */
h1.product_title.entry-title{
    font-size: 28px;
    line-height: 1.3;
    color: #00172F;
    margin: 0 0 20px 0;
    letter-spacing: 0.5px;
    font-weight: 700;
}

/* Cena */
.single-product p.price,
.single-product span.price{
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 26px;
    color: #00172F;
    margin: 0 0 25px 0 !important;
    display: block;
}

.single-product p.price del,
.single-product span.price del{
    color: #999;
    font-size: 18px;
    font-weight: 400;
    margin-right: 10px;
}

.single-product p.price ins,
.single-product span.price ins{
    text-decoration: none;
    color: #00172F;
}

/* Badge promocja */
.single-product .onsale{
    background: #00172F;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Krótki opis */
.single-product .woocommerce-product-details__short-description{
    color: #2c3238;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

/* Warianty */
.variations{
    margin-bottom: 20px;
}

.variations label{
    display: block;
    margin-bottom: 8px !important;
    font-weight: 600;
    font-size: 13px;
    color: #00172F;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.variations select{
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 14px;
    color: #00172F;
    background-color: #fff;
    transition: border-color 0.2s ease;
    width: 100%;
    max-width: 300px;
}

.variations select:focus{
    border-color: #00172F;
    outline: none;
}

.variable-items-wrapper li{
    padding: 8px 16px !important;
    font-size: 13px !important;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.variable-items-wrapper li:hover,
.variable-items-wrapper li.selected{
    border-color: #00172F;
    background-color: #00172F;
    color: #fff;
}

.reset_variations{
    color: #00172F;
    margin-top: 15px;
    font-size: 13px;
    text-decoration: underline;
}

.reset_variations:hover{
    color: #2c3238;
}

/* Ilość */
.single-product .quantity{
    margin-right: 15px;
}

.quantity .input-text{
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #00172F;
    background-color: #fff;
    box-shadow: none;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 600;
    width: 80px;
    text-align: center;
}

.quantity .input-text:focus{
    border-color: #00172F;
    outline: none;
}

/* Przycisk dodaj do koszyka */
button[name="add-to-cart"],
.single_add_to_cart_button{
    background-color: #00172F !important;
    border: none !important;
    color: #fff !important;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.25s ease;
}

button[name="add-to-cart"]:hover,
.single_add_to_cart_button:hover{
    background-color: #002a4a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 23, 47, 0.25);
}

/* Meta produktu (SKU, kategorie) */
.product_meta{
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: #666;
}

.product_meta > span{
    display: block;
    margin-bottom: 8px;
}

.product_meta a{
    color: #00172F;
    text-decoration: none;
}

.product_meta a:hover{
    text-decoration: underline;
}

/* Tabs */
.single-product .woocommerce-tabs{
    margin-top: 50px;
}

.single-product .woocommerce-tabs ul.tabs{
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
    justify-content: flex-start;
    border-top: none;
    margin: 0 0 30px 0;
    padding: 0;
    gap: 10px;
}

.single-product .woocommerce-tabs ul.tabs li{
    margin: 0;
    min-width: fit-content;
    background: none;
    border: none;
    padding: 0;
}

.single-product .woocommerce-tabs ul.tabs li a{
    display: block;
    padding: 15px 25px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.single-product .woocommerce-tabs ul.tabs li a:hover{
    color: #00172F;
}

.single-product .woocommerce-tabs ul.tabs li.active a{
    color: #00172F;
    border-bottom-color: #00172F;
}

.woocommerce-tabs ul.tabs li::after{
    content: none;
}

.tabs li.active{
    border-bottom: none !important;
}

.woocommerce-tabs .panel{
    width: 100%;
    padding: 0;
}

.woocommerce-tabs .panel h2{
    font-size: 20px;
    margin-bottom: 20px;
    color: #00172F;
}

.storefront-full-width-content .woocommerce-tabs .panel{
    width: 100%;
}

/* Related / Upsells */
.related, .upsells{
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
}

.related>h2:first-child, .upsells>h2:first-child{
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
    color: #00172F;
}

/* Karty produktów w Related/Upsells - takie same jak na listingu */
.related ul.products li.product,
.upsells ul.products li.product{
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.25s ease;
    border: 1px solid #f0f0f0;
}

.related ul.products li.product:hover,
.upsells ul.products li.product:hover{
    box-shadow: 0 5px 25px rgba(0, 23, 47, 0.08);
    border-color: #e0e0e0;
}

.related ul.products li.product:hover .woocommerce-LoopProduct-link img,
.upsells ul.products li.product:hover .woocommerce-LoopProduct-link img{
    transform: scale(1.02);
}

/* Karta produktu */
ul.products li.product{
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.25s ease;
    border: 1px solid #f0f0f0;
    text-align: center;
}

ul.products li.product:hover{
    box-shadow: 0 5px 25px rgba(0, 23, 47, 0.08);
    border-color: #e0e0e0;
}

.woocommerce-loop-product__title{
    text-align: center;
    font-size: 13px;
    line-height: 1.4;
    color: #00172F;
    text-transform: uppercase;
    overflow: hidden;
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.woocommerce-LoopProduct-link{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.woocommerce-LoopProduct-link img{
    transition: transform 0.25s ease;
    border-radius: 4px;
}

ul.products li.product:hover .woocommerce-LoopProduct-link img{
    transform: scale(1.02);
}

/* Ceny na listingu i w podobnych produktach */
ul.products li.product .price,
.woocommerce-LoopProduct-link .price,
.related ul.products li.product .price,
.upsells ul.products li.product .price{
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    color: #00172F !important;
    font-family: 'Montserrat', sans-serif !important;
    line-height: 1.4 !important;
}

ul.products li.product .price del,
.woocommerce-LoopProduct-link .price del,
.related ul.products li.product .price del,
.upsells ul.products li.product .price del{
    color: #999 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    opacity: 0.7 !important;
    display: inline !important;
}

ul.products li.product .price ins,
.woocommerce-LoopProduct-link .price ins,
.related ul.products li.product .price ins,
.upsells ul.products li.product .price ins{
    text-decoration: none !important;
    color: #00172F !important;
    background: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    display: inline !important;
}

/* Badge PROMOCJA na listingu */
ul.products li.product .onsale,
.woocommerce ul.products li.product span.onsale,
span.onsale{
    background: #00172F !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin: 10px 0 !important;
    display: inline-block !important;
    line-height: 1 !important;
}

.products.columns-3 .add_to_cart_button,
.add_to_cart_button,
.products.columns-3 a.button,
.products.columns-4 .product_type_simple,
ul.products li.product .button,
ul.products li.product a.button{
    border: 1px solid #00172F;
    padding: 10px 24px;
    background-color: #fff;
    color: #00172F;
    font-size: 11px;
    margin: 15px auto 0 auto !important;
    display: block !important;
    width: fit-content;
    transition: all 0.2s ease;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
}

.added_to_cart{
    border: 1px solid #00172F;
    padding: 10px 24px;
    background-color: #00172F;
    color: #fff;
    font-size: 11px;
    margin: 10px auto 0 auto;
    display: block;
    width: fit-content;
    transition: all 0.2s ease;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.products.columns-3 .add_to_cart_button:hover,
.add_to_cart_button:hover{
    background-color: #00172F;
    color: #fff;
    border: 1px solid #00172F;
}

/* ========================================
   KOSZYK I CHECKOUT - PRZYCISKI
   ======================================== */

/* Główne przyciski w koszyku i checkout */
.woocommerce .cart .button,
.woocommerce .cart input.button,
.woocommerce #respond input#submit,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button,
.woocommerce #payment #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce .checkout_coupon .button,
.woocommerce .woocommerce-shipping-calculator .button{
    background-color: #00172F !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 15px 30px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    display: inline-block !important;
}

.woocommerce .cart .button:hover,
.woocommerce .cart input.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover,
.woocommerce #payment #place_order:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{
    background-color: #002a4a !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 23, 47, 0.25) !important;
}

/* Przycisk "Przejdź do kasy" */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
    display: block !important;
    text-align: center !important;
    margin-top: 20px !important;
    padding: 18px 30px !important;
    font-size: 14px !important;
}

/* Przycisk "Złóż zamówienie" */
.woocommerce #payment #place_order{
    width: 100% !important;
    padding: 18px 30px !important;
    font-size: 14px !important;
    margin-top: 20px !important;
}

/* Przycisk aktualizacji koszyka */
.woocommerce .cart .button[name="update_cart"]{
    background-color: transparent !important;
    color: #00172F !important;
    border: 2px solid #00172F !important;
    padding: 12px 25px !important;
}

.woocommerce .cart .button[name="update_cart"]:hover{
    background-color: #00172F !important;
    color: #fff !important;
}

/* Przycisk kuponu */
.woocommerce .cart .coupon .button,
.woocommerce .checkout_coupon .button{
    background-color: transparent !important;
    color: #00172F !important;
    border: 2px solid #00172F !important;
    padding: 12px 20px !important;
}

.woocommerce .cart .coupon .button:hover,
.woocommerce .checkout_coupon .button:hover{
    background-color: #00172F !important;
    color: #fff !important;
}

/* Input pola w koszyku i checkout */
.woocommerce .cart input[type="text"],
.woocommerce .cart input[type="number"],
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select,
.woocommerce-checkout textarea{
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
    transition: border-color 0.2s ease !important;
}

.woocommerce .cart input[type="text"]:focus,
.woocommerce .cart input[type="number"]:focus,
.woocommerce-checkout input[type="text"]:focus,
.woocommerce-checkout input[type="email"]:focus,
.woocommerce-checkout input[type="tel"]:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus{
    border-color: #00172F !important;
    outline: none !important;
}

/* Tabela koszyka */
.woocommerce-cart table.cart{
    border-collapse: collapse;
}

.woocommerce-cart table.cart th{
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #00172F;
    font-weight: 600;
    padding: 15px 10px;
    border-bottom: 2px solid #00172F;
}

.woocommerce-cart table.cart td{
    padding: 20px 10px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.woocommerce-cart table.cart .product-name a{
    color: #00172F;
    font-weight: 600;
    text-decoration: none;
}

.woocommerce-cart table.cart .product-name a:hover{
    text-decoration: underline;
}

/* Podsumowanie koszyka */
.woocommerce-cart .cart_totals h2,
.woocommerce-checkout #content h3,
.woocommerce-checkout .entry-content h3,
.woocommerce-checkout .wp-block-woocommerce-checkout h3{
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00172F;
    margin-bottom: 20px;
    font-weight: 700;
}

.woocommerce-cart .cart_totals table{
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td{
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-cart .cart_totals table tr:last-child th,
.woocommerce-cart .cart_totals table tr:last-child td{
    border-bottom: none;
}

/* Usuń produkt z koszyka */
.woocommerce-cart table.cart .product-remove a{
    color: #999 !important;
    font-size: 20px;
    transition: color 0.2s ease;
}

.woocommerce-cart table.cart .product-remove a:hover{
    color: #e53935 !important;
}

/* ========================================
   WOOCOMMERCE BLOCKS - KOSZYK I CHECKOUT
   ======================================== */

/* Główny przycisk "Przejdź do płatności" */
.wc-block-cart__submit-container .wc-block-cart__submit-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-checkout__actions_row .wc-block-components-button,
.wc-block-cart__submit-container a,
.wc-block-cart__submit-container .wc-block-components-button{
    background-color: #00172F !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 16px 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    width: 100% !important;
    text-align: center !important;
    display: block !important;
    text-decoration: none !important;
}

.wc-block-cart__submit-container .wc-block-cart__submit-button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-checkout__actions_row .wc-block-components-button:hover,
.wc-block-cart__submit-container a:hover{
    background-color: #002a4a !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 23, 47, 0.25) !important;
}

/* Tekst wewnątrz przycisku */
.wc-block-cart__submit-button span,
.wc-block-cart__submit-container a span,
.wc-block-components-button span,
.wc-block-components-button__text{
    color: #ffffff !important;
}

/* Link "Edytuj" w koszyku */
.wc-block-cart .wc-block-components-totals-coupon-link,
.wc-block-cart a.wc-block-components-button{
    color: #00172F !important;
    text-decoration: underline !important;
}

/* Przycisk kuponu */
.wc-block-components-totals-coupon__button,
.wc-block-components-form .wc-block-components-button{
    background-color: #00172F !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 12px 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.wc-block-components-totals-coupon__button:hover{
    background-color: #002a4a !important;
}

/* Pola formularzy w blocks */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-select select,
.wc-block-components-combobox input{
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    padding: 14px 15px !important;
    font-size: 14px !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-select select:focus{
    border-color: #00172F !important;
    box-shadow: 0 0 0 1px #00172F !important;
}

/* Nagłówki sekcji */
.wc-block-cart .wc-block-components-totals-wrapper h2,
.wc-block-checkout .wc-block-components-title{
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #00172F !important;
    font-weight: 700 !important;
}

/* Tabela produktów w koszyku blocks */
.wc-block-cart-items th{
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #00172F !important;
    font-weight: 600 !important;
}

/* Nazwa produktu */
.wc-block-cart-item__product-name,
.wc-block-components-product-name{
    color: #00172F !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* Cena w koszyku */
.wc-block-cart-item__prices,
.wc-block-components-product-price{
    color: #00172F !important;
    font-weight: 700 !important;
}

/* Ilość - przyciski +/- */
.wc-block-components-quantity-selector{
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

.wc-block-components-quantity-selector__button{
    background: #f8f8f8 !important;
    color: #00172F !important;
    border: none !important;
    padding: 8px 12px !important;
}

.wc-block-components-quantity-selector__button:hover{
    background: #00172F !important;
    color: #fff !important;
}

.wc-block-components-quantity-selector__input{
    border: none !important;
    font-weight: 600 !important;
    color: #00172F !important;
}

/* Link "Usuń" */
.wc-block-cart-item__remove-link{
    color: #999 !important;
    font-size: 12px !important;
}

.wc-block-cart-item__remove-link:hover{
    color: #e53935 !important;
}

/* Podsumowanie */
.wc-block-components-totals-item__label{
    color: #2c3238 !important;
}

.wc-block-components-totals-item__value{
    color: #00172F !important;
    font-weight: 600 !important;
}

/* Suma całkowita */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #00172F !important;
}

/* Badge oszczędności */
.wc-block-components-sale-badge{
    background: #00172F !important;
    color: #fff !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    padding: 4px 8px !important;
}

/* Metody płatności */
.wc-block-components-radio-control__option{
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    margin-bottom: 10px !important;
    padding: 15px !important;
}

.wc-block-components-radio-control__option:hover{
    border-color: #00172F !important;
}

.wc-block-components-radio-control__input:checked + .wc-block-components-radio-control__label{
    color: #00172F !important;
}

/* Express checkout */
.wc-block-components-express-payment{
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
}

/* Podsumowanie zamówienia - nazwy produktów mniejsze */
.wc-block-components-order-summary-item__description .wc-block-components-product-name{
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

.wc-block-components-order-summary-item{
    padding: 12px 0 !important;
}

.wc-block-components-order-summary-item__image{
    width: 50px !important;
    min-width: 50px !important;
}

/* Labele formularza - fix overlapping */
.wc-block-components-text-input label,
.wc-block-components-address-form .wc-block-components-text-input label{
    position: absolute !important;
    top: 0 !important;
    left: 12px !important;
    transform: translateY(-50%) !important;
    background: #fff !important;
    padding: 0 5px !important;
    font-size: 11px !important;
    color: #666 !important;
    z-index: 1 !important;
}

.wc-block-components-text-input.is-active label{
    top: 0 !important;
    transform: translateY(-50%) !important;
}

.wc-block-components-text-input input{
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

/* Fix dla inputów z wartością */
.wc-block-components-text-input.is-active input,
.wc-block-components-text-input input:not(:placeholder-shown){
    padding-top: 14px !important;
}

/* Select Kraj/region - fix label overlap */
.wc-block-components-country-input label,
.wc-block-components-state-input label,
.wc-block-components-combobox label{
    position: absolute !important;
    top: 0 !important;
    left: 12px !important;
    transform: translateY(-50%) !important;
    background: #fff !important;
    padding: 0 5px !important;
    font-size: 11px !important;
    color: #666 !important;
    z-index: 1 !important;
}

.wc-block-components-combobox .wc-block-components-combobox__control,
.wc-block-components-country-input .wc-block-components-combobox__control{
    padding-top: 16px !important;
    padding-bottom: 12px !important;
}

.wc-block-components-combobox .wc-block-components-combobox__control input{
    padding-top: 0 !important;
}

/* Przycisk "Kupuję i płacę" - tekst na środku */
.wc-block-components-checkout-place-order-button,
.wc-block-checkout__actions_row .wc-block-components-button,
button.wc-block-components-checkout-place-order-button{
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
}

.wc-block-components-checkout-place-order-button span,
.wc-block-components-checkout-place-order-button .wc-block-components-button__text,
button.wc-block-components-checkout-place-order-button span{
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Force center na przycisk */
.wc-block-checkout__actions_row button{
    justify-content: center !important;
}

.wc-block-checkout__actions_row button span{
    flex: none !important;
    text-align: center !important;
}

/* ========================================
   POLE NIP - CHECKOUT
   ======================================== */

#polnoc_company_fields{
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
}

#polnoc_company_fields .form-row{
    margin-bottom: 15px;
}

#polnoc_company_fields label{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #00172F;
    cursor: pointer;
}

#polnoc_company_fields input[type="checkbox"]{
    width: 20px;
    height: 20px;
    accent-color: #00172F;
}

#polnoc_nip_field_wrapper{
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fb;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

#polnoc_nip_field_wrapper .form-row{
    margin-bottom: 15px;
}

#polnoc_nip_field_wrapper .form-row:last-child{
    margin-bottom: 0;
}

#polnoc_nip_field_wrapper label{
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #00172F;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#polnoc_nip_field_wrapper input[type="text"]{
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

#polnoc_nip_field_wrapper input[type="text"]:focus{
    border-color: #00172F;
    outline: none;
}

.storefront-sorting:nth-of-type(2) {
    display: none;
}

.right-sidebar .content-area{
    width: 100% !important;
}

.storefront-sorting:not(.top-header .storefront-sorting) {
    display: none;
}

.top-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.top-header *{
    margin: 0px;
}

.top-header .woocommerce-result-count{
    display: none;
}

.top-header h1{
    font-size: 24px;
    color: #00172F;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

select.orderby{
    text-indent: 0.01px;
    text-overflow: '';
    width: 100%;
    clear: both;
    min-height: 40px;
    border: 1px solid #d8d8d8;
    padding: 0.6em 1.4em 0.6em 0.4em;
    font-size: 16px;
}

.products .col-12{
    margin-bottom: 20px;
    position: relative;
}

.title-box{
    position: relative;
    /*min-height: 3.2em;*/
    width: 100%;
    margin-bottom: 10px;
    margin-top: 10px;
}

.title-box h2{
    /*white-space: normal;*/
    /*text-overflow: unset;*/
    /*!*height: 3.2em;*!*/
    /*position: absolute;*/
    /*bottom: 0;*/
    /*background: #ffffff75;*/
    /*padding-top: 0;*/
    /*width: 100%;*/
    /*letter-spacing: 0.2px;*/
    /*line-height: 1.6;*/
    /*margin-bottom: 0px;*/
    /*transition: .2s ease-in-out;*/
}

/*.woocommerce-LoopProduct-link:hover .woocommerce-loop-product__title{*/
/*    height: fit-content;*/
/*}*/

@media (max-width: 576.98px){
    .top-header{
        flex-direction: column;
    }

    .top-header h1{
        margin-bottom: 20px;
    }
}

.single-product div.product .woocommerce-product-gallery img{
    width: 100%;
}

.container.products{
    padding: 0px !important;
}

.woocommerce-LoopProduct-link img{
    width: 100%;
}

.home-products h1{
    text-align: center;
    margin-top: 18px;
}

.social{
    margin-top: 50px;
    margin-bottom: 20px;
}

.social h2{
    text-align: center;
}

.social a,
.social i{
    color: #00172F;
    font-size: 40px;
}

.social a{
    margin: 0 10px;
}

.social__box{
    display: flex;
    justify-content: center;
}

article{
    max-width: 1000px;
    margin: 0 auto !important;
}

.entry-header span:not(.posted-on){
    display: none;
}

.entry-header{
    display: flex;
    flex-direction: column;
    border-bottom: none !important;
    color: #00172F;
}

.entry-header h1{
    order: 1;
}

.entry-header span{
    order: 2;
}

.entry-header h1{
    font-weight: 300;
    font-size: 22px;
    line-height: 26px;
}

.entry-header span a{
    position: absolute;
    left: 0;
    background-color: #fff;
    width: 100%;
    font-size: 14px;
    color: #aaa !important;
    text-decoration: none !important;
    font-weight: 300 !important;
}

article h2, article h3{
    font-weight: 600;
    color: #00172F;
    font-size: 20px;
    margin-top: 20px;
}

p, li{
    color: #2c3238;
    line-height: 18px;
    font-size: 14px;
}

.entry-taxonomy{
    display: none;
}

section.home .blog-listing__box{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
}

section.home.blog-listing{
    margin-top: 50px;
    margin-bottom: 20px;
}

section.home.blog-listing h2{
    text-align: center;
}

section:not(.home) .blog-listing__box{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

section:not(.home) .blog-listing__box{
    max-width: 1000px;
    margin: 0 auto;
}

.blog-listing__box *{
    color: #2c3238 !important;
}

.blog-listing__box h3{
    font-size: 18px;
    margin: 10px 0;
    letter-spacing: 1px;
}

.blog-listing__box .date{
    font-size: 12px;
    margin-bottom: 10px;
}

.blog-listing__box p{
    color: #00172F;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 1px;
}

.nav-links{
    display: none;
}

.woocommerce-MyAccount-navigation a{
    color: #00172F;
}

a{
    color: #00172F;
    transition: .2s ease-in-out;
    text-decoration: none;
}

a:hover{
    color: #00172F;
}

.woocommerce-MyAccount-content button{
    border: 1px solid #2c3238 !important;
    padding: 7px 20px !important;
    background-color: #fff !important;
    color: #2c3238 !important;
    font-size: 12px !important;
    display: block !important;
    width: fit-content !important;
    transition: .2s ease-in-out !important;
}

.woocommerce-MyAccount-content button:hover{
    background-color: rgba(44,50,56,0.8) !important;
    color: #fff !important;
    border: 1px solid rgba(44,50,56,0.8) !important;
}

.woocommerce-form.woocommerce-form-login button{
    border: 1px solid #2c3238 !important;
    padding: 7px 20px !important;
    background-color: #fff !important;
    color: #2c3238 !important;
    font-size: 12px !important;
    display: block !important;
    width: fit-content !important;
    transition: .2s ease-in-out !important;
    margin-top: 20px;
}

.woocommerce-form.woocommerce-form-login button:hover{
    background-color: rgba(44,50,56,0.8) !important;
    color: #fff !important;
    border: 1px solid rgba(44,50,56,0.8) !important;
}

.woocommerce-form-register button{
    border: 1px solid #2c3238 !important;
    padding: 7px 20px !important;
    background-color: #fff !important;
    color: #2c3238 !important;
    font-size: 12px !important;
    display: block !important;
    width: fit-content !important;
    transition: .2s ease-in-out !important;
}

.woocommerce-form-register button:hover{
    background-color: rgba(44,50,56,0.8) !important;
    color: #fff !important;
    border: 1px solid rgba(44,50,56,0.8) !important;
}

.woocommerce-ResetPassword button{
    border: 1px solid #2c3238 !important;
    padding: 7px 20px !important;
    background-color: #fff !important;
    color: #2c3238 !important;
    font-size: 12px !important;
    display: block !important;
    width: fit-content !important;
    transition: .2s ease-in-out !important;
}

.woocommerce-ResetPassword button:hover{
    background-color: rgba(44,50,56,0.8) !important;
    color: #fff !important;
    border: 1px solid rgba(44,50,56,0.8) !important;
}

input:focus{
    outline: none;
}

.u-column1,
.u-column2{
    width: 100%;
}

.woocommerce-Price-amount{
    margin-right: 5px;
}


fieldset{
    padding: 0px;
}

.wc-block-cart-item__prices{
    display: none;
}

.wc-block-components-product-name{
    font-weight: 600;
    color: #00172F;
    text-decoration: none !important;
}

.wc-block-components-product-metadata__description p,
.wc-block-components-product-metadata__description p strong{
    font-weight: 300;
}

.wc-block-components-order-summary-item__individual-prices{
    display: none !important;
}

.wc-block-components-product-metadata{
    display: none !important;
}

.wc-block-components-formatted-money-amount{
    font-size: 16px !important;
}

@media (max-width: 991.98px) {
    .blog-listing__box{  grid-template-columns: auto !important;}
}

@media(max-width: 767.98px){
    .woocommerce-EditAccountForm.edit-account{
        margin-top: 40px;
    }
}

/* Fibosearch icon position fix */
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp .dgwt-wcas-ico-magnifier,
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp .dgwt-wcas-search-icon{
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.woocommerce-mini-cart__buttons{
    padding-bottom: 0px !important;
}

.hentry .entry-content .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link a{
    color: #00172F;
}

.storefront-sorting .woocommerce-pagination{
    display: none;
}

img.for-company{
    position: absolute;
    top: 0;
    left: 15px;
    z-index: 9;
    width: 150px;
}

.woocommerce-product-gallery img.for-company{
    left: 0px;
    width: 150px !important;
}

.skontaktuj-sie{
    width: 300px;
    background-color: #00172F;
    padding: 10px 20px;
    color: #fff;
    font-size: 20px;
    border: 1px solid #00172F;
    box-shadow: 0 3px 8px rgba(0,0,0,.1);
    border-radius: 5px;
    margin-bottom: 15px;
    display: inline-block;
    width: fit-content;
    font-weight: 500;
}

.skontaktuj-sie:hover{
    color: #00172F;
    background-color: #fff;
}

.skontaktuj-sie:active{
    transform: translateY(4px);
}

/* ========================================
   MOBILE MENU STYLES - START
   (można usunąć cały blok żeby wrócić do poprzedniego stanu)
   ======================================== */

/* Hamburger Button */
.mobile-menu-toggle{
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.mobile-menu-toggle:hover{
    background: #f5f6f8;
}

.mobile-menu-toggle .hamburger-line{
    display: block;
    width: 22px;
    height: 2px;
    background-color: #00172F;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle .hamburger-line:nth-child(2){
    width: 16px;
}

/* Mobile icons row */
.mobile-icons{
    gap: 15px;
}

.mobile-icons .account-mobile{
    display: flex;
    align-items: center;
}

.mobile-icons .site-header-cart .cart-contents{
    min-width: auto;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 23, 47, 0.6);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.mobile-menu-overlay.active{
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Container */
.mobile-menu-container{
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    max-width: 380px;
    height: 100%;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
}

.mobile-menu-overlay.active .mobile-menu-container{
    transform: translateX(0);
}

/* Mobile Menu Header */
.mobile-menu-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eef0f2;
    background: #fff;
}

.mobile-menu-logo{
    max-width: 110px;
    height: auto;
}

.mobile-menu-close{
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #00172F;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.mobile-menu-close:hover{
    background: #f5f6f8;
    color: #2c3238;
}

/* Mobile Menu Search */
.mobile-menu-search{
    padding: 20px 24px;
    border-bottom: 1px solid #eef0f2;
    background: #fafbfc;
}

.mobile-menu-search .dgwt-wcas-search-wrapp{
    width: 100%;
}

.mobile-menu-search input[type="search"]{
    width: 100%;
    border-radius: 8px !important;
    border: 1px solid #e0e3e6 !important;
    padding: 12px 20px 12px 45px !important;
    font-size: 14px !important;
    background: #fff !important;
}

.mobile-menu-search input[type="search"]:focus{
    border-color: #00172F !important;
    box-shadow: 0 0 0 3px rgba(0, 23, 47, 0.1) !important;
}

.mobile-menu-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: 12px !important;
}

.mobile-menu-search .dgwt-wcas-ico-magnifier-handler{
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: 15px !important;
}

.mobile-menu-search .dgwt-wcas-style-pirx .dgwt-wcas-ico-magnifier{
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Mobile Menu Navigation */
.mobile-menu-nav{
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.mobile-menu-list{
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-list > li{
    border-bottom: 1px solid #eef0f2;
}

.mobile-menu-list > li:last-child{
    border-bottom: none;
}

.mobile-menu-list > li > a{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    font-size: 13px;
    font-weight: 600;
    color: #00172F;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.25s ease;
    background: #fff;
}

.mobile-menu-list > li > a:hover,
.mobile-menu-list > li > a:active{
    background: #f8f9fb;
    color: #2c3238;
}

/* Submenu arrow */
.mobile-menu-list > li.menu-item-has-children > a::after{
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid #00172F;
    border-bottom: 2px solid #00172F;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.mobile-menu-list > li.menu-item-has-children.submenu-open > a::after{
    transform: rotate(45deg);
}

/* Submenu */
.mobile-menu-list li ul.sub-menu{
    list-style: none;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #f5f6f8, #fafbfc);
    display: none;
    border-top: 1px solid #eee;
}

.mobile-menu-list li.submenu-open > ul.sub-menu{
    display: block;
}

.mobile-menu-list li ul.sub-menu > li{
    border-bottom: 1px solid #e8eaed;
}

.mobile-menu-list li ul.sub-menu > li:last-child{
    border-bottom: none;
}

.mobile-menu-list li ul.sub-menu > li > a{
    display: flex;
    align-items: center;
    padding: 14px 24px 14px 40px;
    font-size: 13px;
    font-weight: 500;
    color: #3d4852;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    position: relative;
}

.mobile-menu-list li ul.sub-menu > li > a::before{
    content: '';
    position: absolute;
    left: 24px;
    width: 6px;
    height: 1px;
    background: #adb5bd;
    transition: all 0.2s ease;
}

.mobile-menu-list li ul.sub-menu > li > a:hover{
    background: rgba(0, 23, 47, 0.04);
    color: #00172F;
}

.mobile-menu-list li ul.sub-menu > li > a:hover::before{
    width: 10px;
    background: #00172F;
}

/* Third level */
.mobile-menu-list li ul.sub-menu li ul.sub-menu{
    background: linear-gradient(to bottom, #eef0f2, #f5f6f8);
    border-top: 1px solid #e0e3e6;
}

.mobile-menu-list li ul.sub-menu li ul.sub-menu > li > a{
    padding-left: 56px;
    font-size: 12px;
    font-weight: 400;
    color: #5a6572;
}

.mobile-menu-list li ul.sub-menu li ul.sub-menu > li > a::before{
    left: 40px;
    width: 4px;
}

.mobile-menu-list li ul.sub-menu li ul.sub-menu > li > a:hover{
    color: #00172F;
}

.mobile-menu-list li ul.sub-menu li ul.sub-menu > li > a:hover::before{
    width: 8px;
}

/* Mobile Menu Footer */
.mobile-menu-footer{
    padding: 20px 24px;
    border-top: 1px solid #eef0f2;
    background: linear-gradient(to bottom, #f8f9fb, #fff);
}

.mobile-menu-account{
    display: flex;
    align-items: center;
    gap: 12px;
    color: #00172F;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-menu-account:hover{
    color: #00172F;
    background: #f8f9fb;
    border-color: #00172F;
}

.mobile-menu-account img{
    opacity: 0.8;
}

/* Mobile adjustments */
@media(max-width: 991.98px){
    .navigation__top{
        padding: 12px 0;
    }

    .navigation__top .logo-link{
        display: flex;
        justify-content: center;
    }

    .navigation__top .logo-link img{
        margin: 0;
    }

    /* Ukryj tekst w koszyku mobile */
    .mobile-icons .cart-contents .woocommerce-Price-amount,
    .mobile-icons .cart-contents .amount,
    .mobile-icons .cart-contents .count{
        display: none !important;
    }
}

/* ========================================
   MOBILE MENU STYLES - END
   ======================================== */

/* Notice banner - link "Zobacz koszyk" */
.wc-block-components-notice-banner .wc-block-components-notice-banner__content{
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

.wc-block-components-notice-banner a.wc-forward,
.wc-block-components-notice-banner a.button{
    all: unset !important;
    color: #00172F !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    margin-left: auto !important;
}

.wc-block-components-notice-banner a.wc-forward:hover,
.wc-block-components-notice-banner a.button:hover{
    text-decoration: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #00172F !important;
}

/* ========================================
   UKRYJ ELEMENTY DLA NIEZALOGOWANYCH
   ======================================== */
body:not(.logged-in) .navigation__bottom,
body:not(.logged-in) .site-header-cart,
body:not(.logged-in) .dgwt-wcas-search-wrapp,
body:not(.logged-in) .fibosearch-wrapper,
body:not(.logged-in) .account,
body:not(.logged-in) .account-mobile,
body:not(.logged-in) .mobile-menu-toggle,
body:not(.logged-in) .mobile-icons,
body:not(.logged-in).woocommerce-account .entry-header{
    display: none !important;
}

body:not(.logged-in) .navigation__top .row{
    justify-content: center !important;
}

body:not(.logged-in) .navigation__top .col-6.col-lg-3{
    flex: 0 0 100% !important;
    max-width: 100% !important;
    text-align: center !important;
}

body:not(.logged-in) .navigation__top .logo-link{
    display: inline-flex;
    justify-content: center;
}

/* ========================================
   FORMULARZ LOGOWANIA - STYLE
   ======================================== */

/* Kontener strony logowania - tylko dla niezalogowanych */
body:not(.logged-in).woocommerce-account .woocommerce{
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Nagłówek formularza - tylko dla niezalogowanych */
body:not(.logged-in).woocommerce-account #customer_login h2,
body:not(.logged-in).woocommerce-account .woocommerce h2:first-of-type{
    font-size: 28px;
    font-weight: 700;
    color: #00172F;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Formularz logowania */
.woocommerce-form.woocommerce-form-login{
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 23, 47, 0.08);
    border: 1px solid #f0f2f5;
}

/* Etykiety */
.woocommerce-form.woocommerce-form-login label{
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #00172F;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-form.woocommerce-form-login label .required{
    color: #e53935;
}

/* Pola input */
.woocommerce-form.woocommerce-form-login input[type="text"],
.woocommerce-form.woocommerce-form-login input[type="email"],
.woocommerce-form.woocommerce-form-login input[type="password"]{
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #00172F;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    margin-bottom: 20px;
}

.woocommerce-form.woocommerce-form-login input[type="text"]:focus,
.woocommerce-form.woocommerce-form-login input[type="email"]:focus,
.woocommerce-form.woocommerce-form-login input[type="password"]:focus{
    border-color: #00172F;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 23, 47, 0.1);
}

.woocommerce-form.woocommerce-form-login input::placeholder{
    color: #999;
}

/* Checkbox "Zapamiętaj mnie" */
.woocommerce-form.woocommerce-form-login .woocommerce-form-login__rememberme{
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.woocommerce-form.woocommerce-form-login .woocommerce-form-login__rememberme input[type="checkbox"]{
    width: 18px;
    height: 18px;
    accent-color: #00172F;
    cursor: pointer;
}

.woocommerce-form.woocommerce-form-login .woocommerce-form-login__rememberme span{
    font-size: 14px;
    color: #666;
    text-transform: none;
    font-weight: normal;
    letter-spacing: 0;
}

/* Przycisk logowania */
.woocommerce-form.woocommerce-form-login button.woocommerce-button,
.woocommerce-form.woocommerce-form-login button[type="submit"]{
    width: 100% !important;
    padding: 16px 24px !important;
    background: #00172F !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
    margin-top: 10px !important;
}

.woocommerce-form.woocommerce-form-login button.woocommerce-button:hover,
.woocommerce-form.woocommerce-form-login button[type="submit"]:hover{
    background: #002a4a !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
}

/* Link "Zapomniałeś hasła?" */
.woocommerce-form.woocommerce-form-login .woocommerce-LostPassword{
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f2f5;
}

.woocommerce-form.woocommerce-form-login .woocommerce-LostPassword a{
    color: #00172F;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.woocommerce-form.woocommerce-form-login .woocommerce-LostPassword a:hover{
    text-decoration: underline;
}

/* Komunikaty błędów */
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info{
    max-width: 480px;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    padding: 15px 20px;
}

.woocommerce-account .woocommerce-error{
    background: #ffebee;
    border-color: #e53935;
    color: #c62828;
}

.woocommerce-account .woocommerce-message{
    background: #e8f5e9;
    border-color: #4caf50;
    color: #2e7d32;
}

.woocommerce-account .woocommerce-info{
    background: #e3f2fd;
    border-color: #2196f3;
    color: #1565c0;
}

/* Logo nad formularzem (opcjonalne) */
.woocommerce-account:not(.logged-in) .entry-header{
    text-align: center;
    margin-bottom: 20px;
}

/* Ikona oka (pokaż hasło) */
.woocommerce-form.woocommerce-form-login .woocommerce-form-row{
    position: relative;
}

.woocommerce-form.woocommerce-form-login .password-input{
    position: relative;
    display: flex;
    align-items: center;
}

.woocommerce-form.woocommerce-form-login .show-password-input{
    position: absolute !important;
    right: 12px !important;
    top: 12px !important;
    cursor: pointer !important;
    color: #999 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 5px !important;
    margin: 0 !important;
    outline: none !important;
}

.woocommerce-form.woocommerce-form-login .show-password-input:hover,
.woocommerce-form.woocommerce-form-login .show-password-input:focus,
.woocommerce-form.woocommerce-form-login .show-password-input:active{
    color: #00172F !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Responsive - tylko dla niezalogowanych */
@media (max-width: 576px) {
    body:not(.logged-in).woocommerce-account .woocommerce{
        padding: 20px 15px;
    }

    .woocommerce-form.woocommerce-form-login{
        padding: 25px 20px;
    }

    body:not(.logged-in).woocommerce-account #customer_login h2{
        font-size: 22px;
    }
}

.btn-view-all{
    display: inline-block;
    padding: 16px 40px;
    background: #00172F;
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.2s ease;
    margin-top: 30px;
    margin-bottom: 40px;
}

.btn-view-all:hover{
    background: #002a4a;
    color: #fff !important;
    transform: translateY(-2px);
    text-decoration: none;
}


/* ========================================
   PAGINACJA - STYLE
   ======================================== */

/* Ukryj paginację w sortowaniu (góra strony) */
.storefront-sorting .woocommerce-pagination{
    display: none;
}

/* Kontener paginacji na dole */
.woocommerce-pagination{
    text-align: center;
    margin: 40px 0 20px;
    padding: 20px 0;
}

.woocommerce-pagination ul.page-numbers{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-pagination ul.page-numbers li{
    margin: 0;
    padding: 0;
}

/* Pojedynczy element paginacji */
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span{
    display: flex  !important;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 500;
    color: #00172F !important;
    background-color: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Hover na linkach */
.woocommerce-pagination ul.page-numbers li a:hover{
    background-color: #f8f9fb !important;
    border-color: #00172F !important;
    color: #00172F !important;
}

/* Aktywna strona */
.woocommerce-pagination ul.page-numbers li span.current{
    background-color: #00172F !important;
    border-color: #00172F !important;
    color: #fff !important;
}

/* Strzałki poprzednia/następna */
.woocommerce-pagination ul.page-numbers li a.prev,
.woocommerce-pagination ul.page-numbers li a.next{
    font-size: 18px;
    font-weight: 400;
}

.woocommerce-pagination ul.page-numbers li a.prev:hover,
.woocommerce-pagination ul.page-numbers li a.next:hover{
    background-color: #00172F !important;
    border-color: #00172F !important;
    color: #fff !important;
}

/* Kropki (wielokropek) */
.woocommerce-pagination ul.page-numbers li span.dots{
    border: none;
    background: transparent;
    min-width: auto;
    padding: 0 5px;
    color: #9ca3af;
}


/* Pokaż storefront-sorting ale ukryj wszystko oprócz paginacji */
.storefront-sorting:not(.top-header .storefront-sorting){
    display: flex !important;
    justify-content: center;
}

/* Ukryj sortowanie i licznik wyników */
.storefront-sorting .woocommerce-ordering,
.storefront-sorting .woocommerce-result-count{
    display: none !important;
}

/* Style paginacji */
.storefront-sorting .woocommerce-pagination{
    display: block !important;
}