.posts-navigation h2 {
    display: none;
}

.sf-bootstrap .heading2.heading2--darkblue {
    text-transform: uppercase;
    margin-bottom: 8rem;
    color: #002d6e;
    font-size: 4.8rem;
    line-height: 6rem;
    font-weight: 700;
}

.sf-blog-list {
    line-height: 3rem;
    font-size: 2rem;
}

.sf-blog-list h1 a.h3 {
    line-height: 6rem;
    float: right;
    text-decoration: none;
}

.sf-blog-list h1 a.h3:hover {
    opacity: 0.8;
}

.sf-blog-list .border-bottom {
    border-bottom: 1px solid #ccc!important;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.sf-blog-list .btn-lg {
    background-color: #002D6E;
    font-size: 2rem;
}

.sf-blog-list .btn-lg:hover, .sf-blog-list .nav-previous a:hover, .sf-blog-list .nav-next a:hover {
    background-color: #002D6E;
    opacity: 0.8;
}

.sf-blog-list .nav-previous {
    float: right;
}

.sf-blog-list .nav-next {
    float: left;
}

.sf-blog-list .nav-previous a, .sf-blog-list .nav-next a {
    display: block;
    text-decoration: none;
    background-color: #002D6E;
    font-size: 2rem;
    padding: 10px;
    color: #fff;
    margin-bottom: 20px;
}

.blog-single-main-photo img{
    margin: auto;
    width: 100%;
    height: auto;
}

body.single-post .blog-content h2 {
    font-size: 3rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #002D6E!important;
}

body.single-post .blog-content h3 {
    font-size: 2.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #002D6E!important;
}

body.single-post .blog-content h4 {
    font-size: 2.25rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #002D6E!important;
}

body.single-post .blog-content h5 {
    font-size: 2rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #002D6E!important;
}

body.single-post .blog-content h6 {
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #002D6E!important;
}

body.single-post .blog-content ul {
    list-style-type: square;
    padding-left: 1.5em;
}

body.single-post .blog-content ul li::marker {
    color: #002D6E;
}

body.single-post .blog-content ol {
    list-style-type: decimal;    
}

/*
    WooCommerce
*/
body.woocommerce-page .lhb-contact {
    display: none;
}	

@media screen and (max-width: 992px) {
    body.woocommerce-page .l-header__box.wc-header-box {
        display: flex!important;
    }
}

.sf-woocommerce {
    line-height: 3rem;
    font-size: 2rem;
}

.sf-woocommerce .page-description h1, .sf-woocommerce .page-description h2, .sf-woocommerce .page-description h3, .sf-woocommerce .page-description h4, .sf-woocommerce .page-description h5, .sf-woocommerce .page-description h6 {
    color: #002D6E!important;
}

.sf-woocommerce .page-description ul {
    list-style-type: square;
    padding-left: 1.5em;
}

.sf-woocommerce .page-description ul li::marker {
    color: #002D6E;
}

.woocommerce-products-header {
    margin-bottom: 9rem;
}

.woocommerce li.product h2 {
    font-size: 1.25em;
}

.woocommerce li.product .price {
    color: #002D6E!important;
    font-size: 1em;
}

.woocommerce li.product .button {
    display: block!important;
    font-weight: 600!important;
    background-color: #002D6E!important;
    color: #fff!important;
    text-align: center;
}

.woocommerce li.product ins {
    text-decoration: none!important;
}

.woocommerce ul.products li:hover {
    opacity: 0.8;
}

.woocommerce span.onsale {
    font-weight: 600!important;
    background-color: #002D6E!important;
    color: #fff!important;
    text-align: center;
    border-radius: 0!important;
}

body.woocommerce-page main > div.l-container, body.woocommerce-account main > div.l-container {
    padding: 0px!important;
}

body.woocommerce-page section.related.products h2 {
    font-size: 1.25em;
    margin-bottom: 20px;   
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border-radius: 0;
    background-color: #fafafa;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-weight: 500;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::after, .woocommerce div.product .woocommerce-tabs ul.tabs li::before {
    box-shadow: none!important;
    border: 0px none!important;
}

.woocommerce table.shop_attributes th {
    font-weight: 600;
}

/* Domyślnie zostaje WooCommerce'owy układ */
.woocommerce .products.columns-4 {
    display: block;
  }
  
 /* Tylko gdy jest jeden produkt – wyśrodkuj */
 .woocommerce .products.columns-4:has(> li.product:only-child) {
   display: flex;
   justify-content: center;
 }

body.single-product .product_meta {
    display: none;
}

body.single-product h1.product_title {
    font-size: 3.5rem;
    margin-bottom: 5rem;
}

body.single-product p.stock {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

body.single-product p.stock.in-stock {
    color: #0a0;
}

body.single-product p.stock.out-of-stock {
    color: #a00;
}

body.single-product p.price .amount, body.single-product p.price del, body.single-product p.price ins {
    color: #002D6E!important;
    font-size: 1em;
}

body.single-product button.single_add_to_cart_button {    
    font-weight: 600!important;
    background-color: #002D6E!important;
    color: #fff!important;
    text-align: center;
    border-radius: 0px;
}

body.single-product button.single_add_to_cart_button:hover {
    opacity: 0.8;
}

body.single-product .quantity input {
    border: 1px solid #002D6E;
    height: 41px;
    padding: 0px 3px 0px 15px;
}

.product-slider-container {
    float: left;
    width: 48%
}

.swiper-button-prev, .swiper-button-next {
    color: #002D6E !important;
    background: rgba(0, 45, 110, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.swiper-button-prev:hover, .swiper-button-next:hover {
    background: rgba(0, 45, 110, 0.3);
}
.swiper-pagination-bullet {
    background: #002D6E !important;
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

.woocommerce-Tabs-panel--description ul {
    list-style-type: square;
    padding-left: 1.5em;
}

.woocommerce-Tabs-panel--description ul li::marker {
    color: #002D6E;
}

/*
    Login, register, my-account
*/
.wc-login-register-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin: 0 auto;
}

.wc-login, .wc-register {
    flex: 1 1 48%;
    min-width: 320px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

@media (max-width: 768px) {
    .wc-login-register-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .wc-login, .wc-register {
        width: 100%;
    }
}

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

.woocommerce-form-row input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.woocommerce-form__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.woocommerce-form__rememberme input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #002D6E;
    cursor: pointer;
    vertical-align: -6px;
    margin-right: 10px;
}

.woocommerce-button {
    font-weight: 600!important;
    background-color: #002D6E!important;
    color: #fff!important;
    text-align: center;
    border-radius: 0px;
}
.woocommerce-button:hover {
    opacity: 0.8;
}

button.woocommerce-Button {
    font-weight: 600!important;
    background-color: #002D6E!important;
    color: #fff!important;
    text-align: center;
    border-radius: 0px;
}

button.woocommerce-Button:hover {
    opacity: 0.8;
}

h2.with-empty-cart-icon {
    text-align: center;
}

/*
    My Account
*/
body.woocommerce-account main {
    padding-bottom: 50px;
}

.woocommerce-MyAccount-navigation {
    background: #f8f9fa; /* Jasne tło */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 30px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation li {
    margin-bottom: 10px;
}

.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 12px 15px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #002D6E;
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation .is-active a {
    background: #002D6E;
    color: #ffffff;
    border-color: #002D6E;
}

.woocommerce-MyAccount-content p {
    margin-bottom: 3rem;
}

/*
    Cart
*/
.wc-block-cart__submit-button {
    font-weight: 600!important;
    background-color: #002D6E!important;
    color: #fff!important;
    text-align: center;
    border-radius: 0px;
    text-decoration: none!important;
}

.wc-block-cart__submit-button:hover {
    opacity: 0.8;
}

/*
    Checkout
*/

.woocommerce-checkout .wc-block-components-product-metadata__description {
    display: none;
}

.wc-block-components-checkout-place-order-button {
    font-weight: 600!important;
    background-color: #002D6E!important;
    color: #fff!important;
    text-align: center;
    border-radius: 0px;
    text-decoration: none!important;
}

.wc-block-components-checkout-place-order-button:hover {
    opacity: 0.8;
}

/*
    Thankyou page
*/
.woocommerce-notice--success {
    background-color: #e6f7ec;
    border: 1px solid #28a745;
    color: #155724;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 16px;
    margin-bottom: 20px;
}

.woocommerce-notice--error {
    background-color: #fdecea;
    border: 1px solid #dc3545;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 16px;
    margin-bottom: 20px;
}

/*
    Single product / variations select
*/
table.variations {
    margin-top: 30px;
}
.variations select {
    appearance: none; /* usuwa domyślny wygląd */
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 60px!important;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 0.75em 2.5em 0.75em 1em;
    font-size: 1.5rem;
    border-radius: 0px;
    width: 100%;
    max-width: 100%;
    cursor: pointer;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20,50 70,100 120,50' fill='none' stroke='%23999' stroke-width='15' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1em center;
    background-size: 1em;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  
  .variations select:focus {
    border-color: #666;
    box-shadow: 0 0 0 2px rgba(100, 100, 100, 0.2);
    outline: none;
  }
  
  .variations .reset_variations {
    margin-top: 0.5em;
    display: inline-block;
    font-size: 0.9rem;
    color: #999;
    text-decoration: underline;
    cursor: pointer;
  }
  
  .variations .reset_variations:hover {
    color: #333;
  }

  .variations th.label {
    padding-top: 15px;
  }
  
  /*
    Home page top-bar P -> H1
  */
  .sf-homepage-h1 {
    font-size: 3rem;
    line-height: 4.5rem;
    color: white;
    letter-spacing: 4px;
    font-weight: 400;
  }
  