.cart-page-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--black);
}

.cart-page-wrapper .woocommerce-Price-amount bdi {
    font-weight: 500;
    font-size: 12px;
}

.cart-page-wrapper .woocommerce-cart-form {
    width: 65%;
    background-color: #fff;
}

.cart-page-wrapper .cart-collaterals {
    width: 30%;
    background-color: #fff;
}

.cart-page-wrapper .cart-collaterals .woocommerce-Price-amount bdi {
    font-weight: 700;
    font-size: 16px;
}

body.woocommerce-cart  #primary  .cart-collaterals h2 {
    font-family: "Montserrat", serif;
    font-size: 22px!important;
    font-weight: 700;
    color: var(--black);
}

.cart-page-wrapper .cart-collaterals .cart_totals {
    width: 100%;
}

body.woocommerce-cart  .order-total > th,
body.woocommerce-cart  .cart-subtotal > th {
    font-size: 12px;
}


#shipping_country_field {
    display: none !important;
}

.woocommerce-shipping-fields__field-wrapper,
.woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}


#shipping_first_name_field,
#billing_first_name_field,
.woocommerce-shipping-fields__field-wrapper .form-row-wide,
.woocommerce-billing-fields__field-wrapper .form-row-wide {
    width: 100%;
}

.woocommerce-billing-fields__field-wrapper #billing_email_field,
.woocommerce-billing-fields__field-wrapper #billing_phone_field,
.woocommerce-billing-fields__field-wrapper #billing_postcode_field {
    width: 47%;
}

.woocommerce-billing-fields__field-wrapper #billing_email_field {
    margin-bottom: 6px;
}

#shipping_delivery_date_field,
#shipping_phone_field,
.woocommerce-shipping-fields__field-wrapper #shipping_email_field,
.woocommerce-shipping-fields__field-wrapper #shipping_phone_field,
.woocommerce-shipping-fields__field-wrapper #shipping_postcode_field,
.woocommerce-shipping-fields__field-wrapper #shipping_city_field,
.woocommerce-shipping-fields__field-wrapper #shipping_google_address_field,
.woocommerce-shipping-fields__field-wrapper #shipping_address_2_field {
    width: 47%;
}

#shipping_google_address,
#shipping_address_2 {
    border-color: var(--ast-border-color) !important;
}

#shipping_address_1_field {
    display: none !important;
}

#shipping_city_field,
#shipping_postcode_field {
    display: none;
    pointer-events: none;
    cursor: not-allowed;
}

#shipping_city_field input,
#shipping_postcode_field input {
    background-color: var(--border);
    border: none !important;
}

#shipping_city_field abbr,
#shipping_postcode_field abbr {
    display: none;
}

.js-check {
    display: block;
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 1.6;
    font-weight: 700;
    font-size: .9rem;
    width: 100%;
}


#billing_as_company,
.js-check input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
}


.js-check:hover .checkmark,
.js-check:hover input ~ .checkmark {
    background-color: #ccc;
}

.js-check.checked .checkmark,
.js-check input:checked ~ .checkmark {
    background-color: var(--main);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.js-check.checked .checkmark:after,
.js-check input:checked ~ .checkmark:after {
    display: block;
}

.js-check .checkmark:after {
    left: 8px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.woocommerce-cart .ast-container,
.woocommerce-checkout .ast-container {
    padding: 0 35px;
}

#shipping_pickup_time_field,
#shipping_pickup_date_field,
#shipping_address_field {
    display: none;
}


.js-open-delivery-modal {
    margin-top: 10px;
    margin-bottom: 5px;
    text-decoration: underline;
    cursor: pointer;
}

.google-map-info-wrapper {
    width: 100%;
}

ul#shipping_method label {
    text-wrap: nowrap;
}

#card_text_field {
    display: none;
}

.woocommerce-additional-fields {
    margin-top: 15px;
}

#order_comments {
    min-height: 8em;
    margin-top: 5px;
    resize: vertical;
}

a.checkout-button.disabled {
    pointer-events: none;
    cursor: not-allowed;
}

.additional-products-modal-wrapper {
    position: fixed;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-left: 15%;
    right: 0;
    top: 0;
    z-index: 1000;
    height: 100%;
    background-color: rgba(0,0,0,0.75);
}

.additional-products-modal {
    flex-grow: 1;
    background-color: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 35px 35px 10px;
    overflow-y: auto;
}

.additional-products-modal::-webkit-scrollbar {
    width: 6px;
}

.additional-products-modal::-webkit-scrollbar-track {
    background: rgba(218, 218, 218, 0.1);
}

.additional-products-modal::-webkit-scrollbar-thumb {
    background: var(--main);
}

.additional-products-modal {
    display: flex;
    flex-direction: column;
}

.additional-products-modal ul.products {
    display: flex!important;
    flex-direction: column;
}

.additional-products-modal ul.products .category-wrapper {
    width: 100%;
}

.additional-products-modal ul.products .category-wrapper .products-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.additional-products-modal li.product {
    width: calc(20% - 70px) !important;
    margin-bottom: 15px !important;
}

.additional-products-modal .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
    display: none;
}

.additional-products-modal .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image:first-child {
    display: flex;
}

#content .additional-products-modal img.wp-post-image,
#content .additional-products-modal .woocommerce-product-gallery__image img {
    height: auto !important;
    width: 100% !important;
    max-height: 240px !important;
}

#content .additional-products-modal .woocommerce-product-gallery__image > a,
#content .additional-products-modal .woocommerce-product-gallery__image,
#content .additional-products-modal .woocommerce-product-gallery__wrapper {
    width: 100%;
}

#content .additional-products-modal .top-wrapper h2 {
    margin-bottom: 15px;
    margin-top: 15px;
}

#content .additional-products-modal .top-wrapper p {
    margin-bottom: 35px !important;
}


.additional-products-modal .category-separator {
    width: 100%;
    margin-bottom: 15px;
    margin-top: 15px;
}

.additional-products-footer {
    bottom: 0;
    right: 0;
    background-color: #fff;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1000;
    padding: 15px 35px;
    border-top: 1px solid var(--border);
}

.additional-products-footer .buttons-wrapper button {
    border: 1px solid #efefef;
    text-decoration: none;
    background-color: transparent;
    border: 1px solid var(--main);
    font-weight: 500;
    color: var(--main);
    letter-spacing: 1.75px;
    padding: 20px 60px 20px 25px;
    border-radius: 0;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.additional-products-footer .buttons-wrapper button.go-to-checkout {
    color: #fff;
    background-color: var(--main);
}

.additional-products-footer .buttons-wrapper button.go-to-checkout.mobile-button {
    display: none;
}

.additional-products-footer .buttons-wrapper button:first-child {
    margin-right: 25px;
}

.additional-products-footer .buttons-wrapper button.return-to-cart:hover {
    text-decoration: underline;
}

.additional-products-footer .buttons-wrapper button.go-to-checkout:hover {
    background-color: #520055;
}

.additional-products-footer .buttons-wrapper button:hover i {
    margin-right: 0;
}

.additional-products-footer .buttons-wrapper button:hover .fa-long-arrow-alt-right,
.buttons-wrapper .fa-long-arrow-alt-right {
    margin-left: 25px;
}

.additional-products-footer .buttons-wrapper button:hover .fa-long-arrow-alt-left,
.buttons-wrapper .fa-long-arrow-alt-left {
    margin-right: 25px;
}

.additional-products-footer .information-wrapper {
    flex-grow: 1;
}

.additional-product-add {
    display: none !important;
}

.woocommerce-cart .additional-product-add {
    display: flex !important;
    width: 60px;
    height: 60px;
    border-left: 1px solid var(--border);
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0.45;
}

.woocommerce-cart .additional-product-add.hidden {
    display: none !important;
}

.woocommerce-cart .additional-product-add:hover {
    opacity: 1;
}

.woocommerce-cart .additional-product-add i {
    font-size: 24px;
    color: var(--main);
}

.woocommerce-cart .product-like,
.woocommerce-cart .product-cart {
    display: none !important;
}

.information-wrapper .info-title {
    display: flex;
    color: var(--black);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.75;
    letter-spacing: 1.2px;
}

.information-wrapper .info-title .accent {
    color: var(--main);
    font-weight: 700;
}

.additional-products-modal .delivery-info-alert {
    margin-bottom: 10px !important;
    display: flex;
    width: calc(100% - 10px);
}

.information-wrapper .info-title .value {
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
}

.product-price .quantity-field {
    font-weight: 700;
    font-size: 12px;
    opacity: 0.6;
}

.additional-products-modal li.product .product-top {
    pointer-events: none;
}

.additional-products-modal li.product.active {
    box-shadow: rgba(133, 42, 136, 0.4) 0px 2px 4px, rgba(133, 42, 136, 0.3) 0px 7px 13px -3px !important;
    opacity: 1 !important;
}

.additional-products-modal li.product.active .additional-product-add {
    opacity: 1;
}

 li.product:hover {
    opacity: 1!important;
}

.additional-products-modal. .alert {
    letter-spacing: initial;
}

.additional-product-text-wrapper {
    padding: 5px 20px;
    border-top: 1px solid var(--border);
}

.additional-product-text-wrapper .text-wrapper-heading {
    margin-bottom: 10px;
    font-size: 14px;
}

.additional-product-text {
    margin-top: 5px;
    resize: none;
    font-size: 12px;
}

.additional-product-text.invalid {
    border: 1px solid var(--alert);
}

.note-text-in-cart {
    display: block;
    font-size: 12px;
    font-weight: 500;
}

.note-text-in-cart .note-text-title {
    display: flex;
    color: var(--main);
    font-weight: 700;
}


.woocommerce-cart-form__contents .woocommerce-cart-form__cart-item[data-is-text-item="1"] .product-quantity .minus,
.woocommerce-cart-form__contents .woocommerce-cart-form__cart-item[data-is-text-item="1"] .product-quantity .plus {
display: none !important;
}

.woocommerce-cart-form__contents .woocommerce-cart-form__cart-item[data-is-text-item="1"] input.qty {
    pointer-events: none !important;
}

.color__text {
    color: var(--main) !important;
    font-weight: 700 !important;
}

.wc-empty-cart-message {
    margin-bottom: 15px;
}

/**
Hide required for checkout validation fields, but don't need for user
 */
#billing_country_field {
    display: none !important;
}

/**
TEMP FIXES BEFORE BACKEND VALIDATION DONE
 */
#shipping_pickup_date_field .optional,
#shipping_pickup_time_field .optional,
#shipping_first_name_field .optional,
#shipping_phone_field .optional,
#shipping_delivery_date_field .optional,
#shipping_google_address_field .optional {
    display: none!important;
}

@media only screen and (max-width: 1280px) {
    .cart-page-wrapper .cart-collaterals,
    .cart-page-wrapper .woocommerce-cart-form {
        width: 100% !important;
    }

    .cart-page-wrapper {
        flex-wrap: wrap!important;
    }

    .cart-steps-wrapper > a, .cart-steps-wrapper > span {
        font-size: 14px!important;
    }

    .cart-steps-wrapper > a::after, .cart-steps-wrapper > span:after {
        width: 30px !important;
        height: 30px !important;
        font-size: 12px !important;
    }

    .cart-steps-wrapper::after {
        bottom: 118px !important;
    }

    .additional-products-modal-wrapper {
        padding-left: 0;
        padding-top: 80px;
    }

    .additional-products-modal li.product {
        width: 20% !important;
    }

    .woocommerce-cart #main .additional-products-modal h3,
    .woocommerce-cart #main .additional-products-modal h2 {
        font-size: 18px !important;
        font-weight: 500 !important;
    }

    .additional-products-footer .buttons-wrapper button,
    .information-wrapper .info-title,
    .woocommerce-cart #main .additional-products-modal h3.product-name,
    .woocommerce-cart #main .additional-products-modal li.product .product-price,
    .additional-products-modal .delivery-info-alert {
        font-size: 14px !important;
    }

    .woocommerce-cart #main .additional-products-modal h3.product-name
    {
        padding: 10px 15px 10px 20px;
    }

    .additional-products-modal li.product .product-bottom {
        height: 50px!important;

    }

    .additional-products-modal li.product .product-bottom > span:not(.product-price) {
        width: 50px !important;
        height: 50px !important;
    }

    .woocommerce-cart .additional-product-add i {
        font-size: 22px;
    }
}

@media only screen and (max-width: 920px) {
    .woocommerce-js table.shop_table .product-thumbnail img,
    .woocommerce-page table.shop_table .product-thumbnail img {
        width: 100% !important;
        max-width: 100% !important;
    }

    .additional-products-footer {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .additional-products-footer .buttons-wrapper {
        margin-top: 15px;
        display: flex;
        width: 100% !important;
    }

    .additional-products-footer .buttons-wrapper button {
        width: 50% !important;
        padding: 10px !important;
    }

    .additional-products-footer .buttons-wrapper button.return-to-cart {
        padding-left: 40px !important;
    }

    .additional-products-footer .buttons-wrapper button.go-to-checkout{
        padding-left: 20px !important;
    }

 }

@media only screen and (max-width: 680px) {

    .cart-steps-wrapper {
        display: none !important;
    }

    .cart-steps-wrapper > a, .cart-steps-wrapper > span {
        font-size: 9px!important;
    }

    .cart-steps-wrapper > a::after, .cart-steps-wrapper > span:after {
        font-size: 8px !important;
    }

    .woocommerce-cart .ast-container, .woocommerce-checkout .ast-container {
        padding: 0 15px !important;
    }

    .cart-steps-wrapper {
        padding-top: 15px !important;
        padding-bottom: 100px !important;
    }

    .cart-steps-wrapper::after {
        bottom: 54px !important;
    }

    .woocommerce-page #content table.cart .product-thumbnail{
        text-align: left!important;
    }

    .woocommerce table.shop_table_responsive tr, .woocommerce-page table.shop_table_responsive tr {
        margin-bottom: 25px !important;
    }

    .woocommerce-js #content table.cart {
        border: none !important;
    }

    .woocommerce table.shop_table_responsive tr, .woocommerce-page table.shop_table_responsive td {
        border: none !important;
        font-size: 12px!important;
    }

    .woocommerce-page table.shop_table_responsive .cart_item {
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    }

    .woocommerce-page table.shop_table_responsive .cart_item  .product-remove {
        position: absolute!important;
        right: 20px !important;
    }

    .woocommerce-page table.shop_table_responsive .cart_item .quantity {
        transform: scale(0.75) !important;
        left: 25px !important;
        position: relative;
    }

    .cart-page-wrapper .cart-collaterals .woocommerce-Price-amount bdi {
        font-size: 12px !important;
    }

    .cart-page-wrapper .cart-collaterals {
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    }

    .cart-page-wrapper .cart-collaterals .cart_totals {
        border: none!important;

    }

    body.woocommerce-cart  #primary  .cart-collaterals h2 {
        font-size: 18px !important;
        border:  none !important;
    }

    .cart-page-wrapper .cart-collaterals  .shop_table {
        border:  none !important;
    }

    .woocommerce-cart.woocommerce-page #main {
        padding: 0 !important;
        box-shadow:  none !important;
    }

    .woocommerce-cart.woocommerce-page .vc_row > .wpb_column > .vc_column-inner {
        padding: 0 !important;
    }

    .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
    .woocommerce-js #content table.cart .button,
    .woocommerce-page #content table.cart .button {
        font-size: 12px !important;
        padding: 12px !important;
        line-height: 1.1 !important;
    }

    .additional-products-modal li.product {
        width: calc(50% - 8px) !important;
    }

    .additional-products-modal {
        padding: 0 16px 16px!important;
    }

    .additional-products-modal-wrapper {
        z-index: 10000000 !important;
        padding-top: 0 !important;
    }

    .additional-products-footer .buttons-wrapper button,
    .information-wrapper .info-title,
    .woocommerce-cart #main .additional-products-modal h3.product-name,
    .woocommerce-cart #main .additional-products-modal li.product .product-price,
    .additional-products-modal .delivery-info-alert {
        font-size: 12px !important;
    }

    .additional-products-footer .buttons-wrapper button.go-to-checkout {
        display: none !important;
    }

    .additional-products-footer .buttons-wrapper button.go-to-checkout.mobile-button {
        display: flex !important;
    }
}


@media only screen and (max-width: 480px) {

    .wc-block-components-notice-banner__content {
        display: flex!important;
        flex-direction: column!important;
    }

    .wc-block-components-notice-banner__content .button {
        margin-top: 15px !important;
    }

    .wc-block-components-notice-banner svg {
        display: none !important;
    }
}

.woocommerce-js table.shop_table td.actions {
    display: none !important;
}