/* PUSTY KOSZYK */

.button-primary.button.wc-backward {
    color: black !important;
}

.cart-empty.woocommerce-info {
    text-align: center;
    background-color: transparent !important;
    font-weight: bold;
}

.empty-cart-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.empty-cart-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
    border-radius: 120px;
    background-color: #FFC207;

}

.empty-cart-icon svg {
    width: 60px;
    flex: 0 0 60px;
    height: auto;
}

.woocommerce-cart .return-to-shop {
    display: flex;
    justify-content: center;
}



/* KOSZYK */

.cart-page-wrapper .woocommerce-cart-form .woocommerce-cart-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 50px;
}

@media only screen and (max-width: 1250px) {
    .cart-page-wrapper .woocommerce-cart-form .woocommerce-cart-form-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}



.woocommerce-cart-form__cart-item.cart_item {
    background-color: #F4F4F4;
    border-radius: 16px;
}

.woocommerce-cart-form__cart-item.cart_item td:first-child {
    border-radius: 16px 0px 0px 16px;
    padding: 10px;
}

.woocommerce-cart-form__cart-item.cart_item td:last-child {
    border-radius: 0px 16px 16px 0px;
    padding: 10px;
}

.woocommerce-cart-form__cart-item.cart_item td:not(:first-child) {
    padding-top: 10px;
    padding-bottom: 10px;
}

.woocommerce-cart-form__cart-item.cart_item td:not(:last-child) {
    padding-top: 10px;
    padding-bottom: 10px;
}

.product-remove a {
    background-color: white;
    width: 34px;
    height: 34px;
    border-radius: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-remove a svg {
    width: 16px;
    height: auto;
    fill: #9A9A9A;
    transition: all 0.2s;
}

.product-remove a:hover svg {
    fill: red;
}

.cart-items-wrapper {
    border-collapse: separate !important;
    border-spacing: 0 10px;
    margin-bottom: 0px;
}

.cart-items-wrapper .product-thumbnail a {
    width: 90px;
    height: 90px;
    display: flex;
}

.cart-items-wrapper .product-thumbnail img {
    width: 90px;
    height: 90px;
    border-radius: 8px;
}

.cart-items-wrapper .product-name a {
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    color: #000000;
    text-decoration: none;
}

.cart-items-wrapper dt {
    font-size: 12px;
    line-height: 16px;
}

.cart-items-wrapper dd {
    margin: 0px;
}

.cart-items-wrapper dd p {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 16px;
}


.cart-page-wrapper button[name="update_cart"] {
    display: none;
}


.shop_table_cart_wrapper .product-quantity .quantity .qty {

    background-color: white;
    border-radius: 8px;
    font-size: 16px;
    line-height: 22px;
    max-width: 46px;
    outline: none;
    transition: all 0.2s;
    border: 1px solid transparent;
    padding: 5px;
}

.shop_table_cart_wrapper .product-quantity .quantity .qty:hover {
    border-color: #FFC207;
}

.shop_table_cart_wrapper .product-quantity .quantity .qty:focus {
    border-color: #FFC207;
}

/* Podsumowanie koszyka */
.cart_collaterals-wrapper {}

.cart-collaterals {
    background-color: #F4F4F4;
    border-radius: 16px;
    padding: 20px;
}

.wc-proceed-to-checkout .button-primary {
    text-transform: uppercase;
    color: black !important;
}

.cart_collaterals-wrapper .order-total th {
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

.cart_collaterals-wrapper .order-total td * {
    font-size: 16px;
    line-height: 22px;
    font-weight: bold !important;
}

.cart_collaterals-wrapper .order-total .includes_tax,
.cart_collaterals-wrapper .order-total .includes_tax * {
    font-size: 14px !important;
    line-height: 16px !important;
    font-weight: 400 !important;
}

.cart_collaterals-wrapper .order-total .includes_tax {
    display: block;
}

.cart_collaterals-wrapper .order-total .includes_tax .woocommerce-Price-amount.amount,
.woocommerce-checkout-review-order-table .includes_tax .woocommerce-Price-amount.amount {
    white-space: nowrap;
}

.cart_totals table {
    margin-bottom: 10px;
}

/* KOD RABATOWY */

.coupon-input-wrapper {
    background-color: #F4F4F4;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 10px;

}

.coupon-input-wrapper .coupon-input-header svg {
    width: 20px;
    height: auto;
    flex: 0 0 20px;
}

.coupon-input-wrapper.is-open svg {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.coupon-input-wrapper .coupon-input-header {
    cursor: pointer;
}

.coupon-input-wrapper .coupon-input-header p {
    margin: 0px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.coupon-input-wrapper p {
    font-size: 14px;
    line-height: 19px;
    color: black;

}

.coupon-input-wrapper .coupon {
    margin-top: 20px;
    display: none;
}


.coupon-relative {
    display: flex;
    position: relative;
}

.coupon-relative input {
    width: 100%;
    max-width: 100%;
    border: 1px solid #FFC207;
    border-radius: 27px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    padding: 14px 20px;
    padding-right: 175px;
    transition: all 0.2s;
    outline: none;
}

.coupon-relative .button-primary {
    position: absolute;
    right: 0;
}


.cart-items-wrapper {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
}




.cart-items-wrapper .cart_item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px;
    padding-right: 20px;


}

.cart-items-wrapper .cart-item__body {
    display: flex;
    flex: 1;
    gap: 40px;
    align-items: center;
    position: relative;

}

.cart-item__bottom-row {
    display: flex;
    gap: 15px;
    margin-left: auto;
    align-items: center;
}

.cart-item__remove.product-remove {
    /* margin-left: auto; */
    display: flex;
    align-items: center;
}

.cart-item__price.product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.cart-item__bottom-row .woocommerce-Price-amount.amount,
.woocommerce-Price-amount.amount {
    white-space: nowrap !important;
}

.cart-item__saving {
    /* margin-bottom: 4px; */
}

.cart-item__price-regular {
    font-size: 14px;
    line-height: 1.2;
    color: #707070;
    text-decoration: line-through;
}

.cart-item__price-current {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.25;
}

.cart-item__price-saving {
    font-size: 14px;

    color: #4B7620;
    background-color: #DCF0D8;
    border-radius: 2px;
    font-weight: 600;
    padding-left: 2px;
    padding-right: 2px;
}

.cart-item__price-note {
    font-size: 12px;
    line-height: 1.2;
    color: #707070;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cart-item-price-and-remove {
    display: flex;
    gap: 40px;
    margin-left: auto;
}

.woocommerce-cart-form__cart-item.cart_item .variation {
    display: none !important;
}

@media only screen and (max-width: 768px) {

    .cart-item__body {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0px !important;
    }

    .cart-item__bottom-row {
        margin-right: auto;
        margin-left: initial;
        margin-top: 10px;
    }

    .cart-item-price-and-remove {
        margin-right: auto;
        margin-left: initial;
        flex: 1;
        gap: 15px;
        justify-content: space-between;
        width: 100%;
    }
}

.cart-banner {
    width: 100%;
    margin-top: 30px;
}

.cart-banner img {
    width: 100%;
    display: block;
}

.cart-empty-wrapper {
    background-color: #F4F4F4;
    padding: 35px 50px;
    border-radius: 16px;
    position: relative;
    margin-top: 85px;
}

.empty-cart-icon {
    position: absolute;
    bottom: 100%;
    transform: translate(0, 50%);
}

.cart-empty-title .cart-empty{
    color: black !important;
    font-size: 32px;
    line-height: 38px;
    font-weight: 400;
    margin-top: 40px;
    padding: 0px;
}
.cart-empty-desc{
    max-width: 400px;
    text-align: center;
    margin: 0px;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;

}
.cart-empty-desc{
    font-weight: 500;
}

.woocommerce-cart .return-to-shop{
    margin-bottom: 0px;
    margin-top: 25px;
}

@media only screen and (max-width: 768px) {

    .cart-empty-wrapper{
        padding-left: 25px;
        padding-right: 25px;
    }
    .empty-cart-icon{
        width: 80px;
        height: 80px;
        border-radius: 80px;
    }
    .empty-cart-icon svg{
        width: 40px;
        flex: 0 0 40px;
    }
    .cart-empty-title{
        margin-top: 0px;
    }
    .cart-empty-title .cart-empty{
        margin-top: 25px;
    }
}