/* I-Materac: wlasne reguly sklepu, ktore w Favou lezaly w style.css motywu (wpisy bloga, pola firmy, lista metod
 * platnosci w kasie w trzech sekcjach, uklad kasy, strzalki galerii). Przeniesione BEZ ZMIAN (zapis zagniezdzony zostaje).
 * Ladowane przed regulami wycietymi z Favou (css/favou-*.css), w tej samej kolejnosci co w starym motywie. */

.bypostauthor {
    font-style: italic;
    font-size: 12px;
    color: #757575;
}
.entry-title {
    text-transform: unset;
}

article.post p {
    color:#000;
    font-family: Poppins,sans-serif;
    font-size: 18px;
}

article.post h2, article.post h3, article.post h4{
    font-weight: 700;
    line-height: 1.3;
    margin: 15px 0;
}
@media (min-width: 1200px) {
    .single-post-content.full .post-single .comments-area, .single-post-content.full .post-single .post-content {
        width: 100%!important;
    }
    .bwp-sidebar.short_cats {
        display:none;
    }
}
@media (min-width: 600px) {
    .bwp-sidebar.short_cats {
        display:none;
    }
}
@media (max-width: 600px) {
    .bwp-sidebar.short_cats {
        margin-bottom: 20px;
    }
    #woocommerce_product_categories-1 {
        display: none;
    }
}

#billing_company_field,#vat_number_field {
    display:none;
}
.payment-method-list {
    #place_order {
        width:100%;
    }
    ul {
        padding:0;
        border:1px solid #ddd;
        border-radius: 0;
        li {
            list-style-type: none;
            border-bottom:1px solid #ddd;
            padding:10px;
            min-height: 50px;
            margin-bottom: 0!important;
            width:100%;

            input[type=radio] {
                width:24px;
                height:24px;
                vertical-align: top;
                margin-right: 10px;
            }
            label {
                width:80%;
                width: calc(100% - 40px);
                width: -webkit-calc(100% - 40px);
                width: -moz-calc(100% - 40px);
                margin-top:3px;
                position: relative;
                min-width: 300px;
                img {
                    float:right;
                    position:absolute;
                    right:0px;
                    top:0px;
                    max-width:50px!important;
                    max-height: 24px!important;
                }

            }

        }
        li:has(input[type="radio"]:checked) {
            border:2px solid #212529;

        }
         li:last-child {
            border-bottom: 0px!important;
          
        }




    }

}
/*
@media (max-width: 600px) {

    .woocommerce-checkout {
        #customer_details {
            order:2;
        }
        .order-review-wrapper {
            order:1;
            margin-bottom:20px;
        }
    }
}*/



.cart-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

@media screen and (min-width: 700px) {
  .hide_desktop {
        display: none;
    }
}

@media screen and (min-width: 1200px) {
  .cart-wrapper {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-flow: row wrap;
        flex-flow: row wrap;
  }
  .cart-wrapper .woocommerce-cart-form, .cart-wrapper #customer_details {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
  .cart-wrapper .cart-collaterals {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 50rem;
            flex: 0 0 50rem;
    max-width: 50rem;
    margin-left: 1.875rem;
  }
  .cart-wrapper .order-review-wrapper {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 50rem;
            flex: 0 0 50rem;
    max-width: 50rem;
    margin-left: 1.875rem;
  }
  
  .price-last-30 {
      float:right;
  }
  

}




.payment-section {
    margin-bottom: 32px;


    .section-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 16px;
        padding-bottom: 10px;
        border-bottom: 2px solid #e0e0e0;
    }

    .section-title {
        font-size: 15px;
        font-weight: 600;
        color: #333;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .section-badge {
        background: #4CAF50;
        color: white;
        padding: 2px 8px;
        border-radius: 12px;
        font-size: 11px;
        font-weight: 600;
    }

    .section-badge.installment {
        background: #2196F3;
    }

    .payment-option {
        background: #fafafa;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        padding: 16px 20px;
        margin-bottom: 12px;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .payment-option:hover {
        border-color: #bdbdbd;
        background: #fff;
    }

    .payment-option.selected {
        border-color: #e53935;
        background: #fff;
        box-shadow: 0 0 0 1px #e53935;
    }

    .payment-option.recommended {
        border-color: #4CAF50;
        background: #f1f8f4;
    }

    .payment-option.recommended:hover {
        background: #e8f5e9;
    }

    .payment-option.recommended.selected {
        border-color: #4CAF50;
        background: #e8f5e9;
        box-shadow: 0 0 0 1px #4CAF50;
    }

    .radio-input {
        width: 20px;
        height: 20px;
        min-width: 20px;
        cursor: pointer;
        accent-color: #e53935;
    }

    .payment-content {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .payment-info {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width:100%;
    }

    .payment-name {
        font-size: 15px;
        font-weight: 600;
        color: #1a1a1a;
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: space-between;
        width:100%;
    }

    .payment-name img {
        height: 24px;
        object-fit: contain;
    }

    .payment-description {
        font-size: 13px;
        color: #666;
        font-weight: 400;
    }

    .payment-description p {
        margin: 0;
        line-height: 1.5;
         font-weight: 400;
    }

    .payment_box {
        margin: 0;
    }

    .payment-logo {
        height: 24px;
        object-fit: contain;
    }

    .recommended-badge {
        background: #4CAF50;
        color: white;
        padding: 3px 10px;
        border-radius: 4px;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        margin-left: 8px;
    }

 

  


}

@media (max-width: 640px) {
    .payment-section {


        .payment-option {
            padding: 14px 16px;
        }

        .payment-content {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }

        .payment-logo {
            align-self: flex-end;
        }
    }
    
    .hide_mobile {
        display: none;
    }
    
}

.bwp-single-image {
    position: relative;
}
.bwp-single-image .arrow-prev,
.bwp-single-image .arrow-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    cursor: pointer;
    background: rgba(255,255,255,0.8);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.bwp-single-image .arrow-prev { left: 10px; }
.bwp-single-image .arrow-next { right: 10px; }

@media (min-width: 768px) and (max-width: 1024px) {
    .bwp-single-image .arrow-prev,
    .bwp-single-image .arrow-next {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
}