/* CHECKOUT */
.wc-payment-form,
fieldset {
    border: none;
}

abbr.required[title] {
    text-decoration: none; /* Прибирає підкреслення у вигляді крапок */
    cursor: default; /* Змінює курсор на звичайний */
}
.woocommerce-error {
    display: none;
}



#billing_company_field::before {
    display: block;
    font-weight: 700;
    color: #000;
    font-size: calc(18px + (24 - 18) * ((100vw - 375px) / (1920 - 375)));
    content: 'Shipping';
    margin-bottom: calc(20px + (40 - 20) * ((100vw - 375px) / (1920 - 375)));
    margin-top: calc(15px + (41 - 15) * ((100vw - 375px) / (1920 - 375)));
}

form.woocommerce-checkout {
    padding-top: 60px;
    display: flex;
    flex-direction: column-reverse;
}

.checkout__content {
    display: flex;
    justify-content: space-between;
    gap: calc(50px + (100 - 50) * ((100vw - 1024px) / (1920 - 1024)));
}

.checkout ul {
    list-style: none;
    padding-left: 0;
}

.woocommerce-checkout__cart {
    flex-basis: 583px;
    flex-grow: 1;
}

.woocommerce-SavedPaymentMethods {
    margin-bottom: calc(20px + (50 - 20) * ((100vw - 1024px) / (1920 - 375)));
}

.woocommerce-NoticeGroup-checkout {
    margin-top: calc(40px + (100 - 40) * ((100vw - 375px) / (1920 - 375)));
}

.woocommerce-checkout__cart-wrapper {
    height: 100%;
    max-height: 977px;
    padding: calc(30px + (60 - 30) * ((100vw - 375px) / (1920 - 375))) calc(20px + (50 - 20) * ((100vw - 375px) / (1920 - 375)));
    background: #f8f8ff;
    border-radius: calc(30px + (42 - 30) * ((100vw - 375px) / (1920 - 375)));
}

.woocommerce-checkout__cart .shop_table_heading {
    font-weight: 700;
    font-size: calc(18px + (24 - 18) * ((100vw - 375px) / (1920 - 375)));
    padding-bottom: calc(20px + (50 - 20) * ((100vw - 375px) / (1920 - 375)));
}

.woocommerce-shipping-totals {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.shop_table {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.shop_table .cart_item {
    display: flex;
    justify-content: space-between;
}

.shop_table .cart_item:not(:last-child) {
    margin-bottom: calc(10px + (20 - 10) * ((100vw - 375px) / (1920 - 375)));
}

.shop_table_body {
    margin-bottom: calc(30px + (90 - 30) * ((100vw - 375px) / (1920 - 375)));
}

body .woocommerce-checkout-review-order-table {
    margin-bottom: 0;
}

.product-name {
    font-weight: 400;
    color: #000;
    font-size: calc(18px + (24 - 18) * ((100vw - 375px) / (1920 - 375)));
}

.product-total {
    font-weight: 700;
    font-size: calc(18px + (24 - 18) * ((100vw - 375px) / (1920 - 375)));
    color: #2f27ce;
}

.shop_table  .order-total {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
    padding-top: calc(20px + (38 - 20) * ((100vw - 375px) / (1920 - 375)));
    border-top: 1px solid #2f27ce;
}

.order-total .amount {
    font-weight: 700;
    font-size: calc(18px + (24 - 18) * ((100vw - 375px) / (1920 - 375)));
    color: #2f27ce;
}

.woocommerce-checkout__wrapper {
    padding-top: 30px;
    flex-basis: 811px;
    flex-grow: 1;
}

.woocommerce-billing-fields {
    color: #000;
}

.woocommerce-checkout__heading {
    font-weight: 700;
    font-size: calc(20px + (40 - 20) * ((100vw - 375px) / (1920 - 375)));
    margin-bottom: calc(20px + (50 - 20) * ((100vw - 375px) / (1920 - 375)));
}

.woocommerce-checkout__contact-heading {
    margin-bottom: 36px;
}

.woocommerce-checkout-review-order-table {
    margin-bottom: 75px;
}

.woocommerce-checkout-review-order-table th {
    text-align: start;
}

.woocommerce-checkout  label {
    font-weight: 400;
    font-size: calc(14px + (16 - 14) * ((100vw - 375px) / (1920 - 375)));
    color: #adadad;
}

.woocommerce-checkout input {
    font-weight: 400;
    font-size: calc(18px + (24 - 18) * ((100vw - 375px) / (1920 - 375)));
    color: #525151;
    padding-left: 7px;
}

.woocommerce-checkout h3 {
    font-weight: 700;
    color: #000;
    margin-bottom: calc(20px + (40 - 20) * ((100vw - 375px) / (1920 - 375)));;
}

.woocommerce-checkout {
    margin-bottom: calc(60px + (140 - 60) * ((100vw - 375px) / (1920 - 375)))!important;
}

.ywsbs-recurring-totals-items,
.cart-subtotal {
    display: none;
}


.woocommerce-billing-fields__field-wrapper .form-row {
    display: inline-block;
    margin-bottom: calc(15px + (34 - 15) * ((100vw - 375px) / (1920 - 375)));
}

#order_review_heading {
    display: none;
}

#customer_details {
    margin-bottom: calc(25px + (75 - 25) * ((100vw - 375px) / (1920 - 375)));
}

.wc_payment_methods {
    padding-left: 0;
}

.wc_payment_method label{
    font-weight: 400;
    color: #404040;
    font-size: calc(18px + (24 - 18) * ((100vw - 375px) / (1920 - 375)));
    display: inline-block;
    margin-bottom: calc(5px + (15 - 5) * ((100vw - 375px) / (1920 - 375)));
}

button#place_order {
    min-width: 194px;
}

.address-field .woocommerce-input-wrapper input::placeholder {
    display: none;
}

.payment__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment__return-btn {
    font-weight: 600;
    font-size: calc(16px + (20 - 16) * ((100vw - 375px) / (1920 - 375)));
    color: #2f27ce;
    display: flex;
    align-items: center;
    gap: calc(8px + (16 - 8) * ((100vw - 375px) / (1920 - 375)));
}

#wc-stripe-payment-request-wrapper {
    margin-top: 0!important;
}

@media screen and (min-width: 1920px) {
    #billing_company_field::before {
        font-size: 24px;
        margin-bottom: 40px;
        margin-top: 41px;
    }

    .woocommerce-SavedPaymentMethods {
        margin-bottom: 50px;
    }
    
    .checkout__content {
        gap: 100px;
    }


    .woocommerce-NoticeGroup-checkout {
        margin-top: 100px;
    }

    .woocommerce-checkout__cart-wrapper {
        padding: 60px 50px;
        border-radius: 42px;
    }

    .woocommerce-checkout__cart .shop_table_heading {
        font-size: 24px;
        padding-bottom: 50px;
    }

    .shop_table .cart_item:not(:last-child) {
        margin-bottom: 20px;
    }

    .shop_table_body {
        margin-bottom: 90px;
    }

    .product-name {
        font-size: 24px;
    }

    .product-total {
        font-size: 24px;
    }

    .shop_table  .order-total {
        padding-top: 38px;
    }

    .order-total .amount {
        font-size: 24px;
    }

    .woocommerce-checkout__heading {
        font-size: 40px;
        margin-bottom: 50px;
    }

    .woocommerce-checkout  label {
        font-size: 16px;
    }

    .woocommerce-checkout input {
        font-size: 24px;
    }

    .woocommerce-checkout h3 {
        margin-bottom: 40px;
    }

    .woocommerce-checkout {
        margin-bottom: 140px!important;
    }

    .woocommerce-billing-fields__field-wrapper .form-row {
        margin-bottom: 34px;
    }

    #customer_details {
        margin-bottom: 75px;
    }

    .wc_payment_method label{
        font-size: 24px;
        margin-bottom: 15px;
    }

    .payment__return-btn {
        font-size: 20px;
        gap: 16px;
    }
}

@media screen and (max-width: 1023.98px) {
    .checkout__content {
        flex-direction: column;
        gap: 50px;
    }

    .woocommerce-checkout__cart,
    .woocommerce-checkout__wrapper {
        flex-basis: fit-content;
    }

    .woocommerce-checkout__wrapper {
        padding-top: 0;
    }
}

@media screen and (max-width: 374.98px) {
    #billing_company_field::before {
        font-size: 18px;
        margin-bottom: 20px;
        margin-top: 15px;
    }

    .woocommerce-SavedPaymentMethods {
        margin-bottom: 20px;
    }

    .checkout__content {
        gap: 50px;
    }
    .woocommerce-NoticeGroup-checkout {
        margin-top: 40px;
    }

    .woocommerce-checkout__cart-wrapper {
        padding: 30px 20px;
        border-radius: 30px;
    }

    .woocommerce-checkout__cart .shop_table_heading {
        font-size: 18px;
        padding-bottom: 20px;
    }

    .shop_table .cart_item:not(:last-child) {
        margin-bottom: 10px;
    }

    .shop_table_body {
        margin-bottom: 30px;
    }

    .product-name {
        font-size: 18px;
    }

    .product-total {
        font-size: 18px;
    }

    .shop_table  .order-total {
        padding-top: 20px;
    }

    .order-total .amount {
        font-size: 18px;
    }

    .woocommerce-checkout__heading {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .woocommerce-checkout  label {
        font-size: 14px;
    }

    .woocommerce-checkout input {
        font-size: 18px;
    }

    .woocommerce-checkout h3 {
        margin-bottom: 20px;
    }

    .woocommerce-checkout {
        margin-bottom: 60px!important;
    }


    .woocommerce-billing-fields__field-wrapper .form-row {
        margin-bottom: 15px;
    }

    #customer_details {
        margin-bottom: 25px;
    }

    .wc_payment_method label{
        font-size: 18px;
        margin-bottom: 5px;
    }
    .payment__return-btn {
        font-size: 16px;
        gap: 8px;
    }
}
