/* How to Be His – pickup/delivery block on checkout */
.ps-how-to-be-pickup-location {
    padding: 1em;
    background: #f5f5f5;
    border-radius: 4px;
}
.ps-how-to-be-pickup-location .ps-how-to-be-pickup-name,
.ps-how-to-be-pickup-location .ps-how-to-be-pickup-address,
.ps-how-to-be-pickup-location .ps-how-to-be-pickup-contact {
    display: block;
    font-size: 14px;
    line-height: 18px;
}
.ps-how-to-be-pickup-location .ps-how-to-be-pickup-name{
    margin-top: 5px;
}
.ps-how-to-be-pickup-location .ps-how-to-be-pickup-address,
.ps-how-to-be-pickup-location .ps-how-to-be-pickup-contact {
    margin-top: 0.25em;
}

.yumpu-close-button {
    position: absolute;
    left: auto;
    right: 0;
}

.woocommerce.single-product div.product form.variations_form.cart {
    position: relative !important;
}

.ps-magazine-yumpu-container {
    min-width: 1143px;
    height: 80vh;
}

.woocommerce .cart-empty.woocommerce-info a.ps-empty-cart-link:after {
    content:"→";
    position:absolute;
    top: 5px;
    font-size:30px;
}
div.woocommerce-info .ps-empty-cart-link {
    color: var(--contrast-2);
    font-weight: 500;
    text-decoration: underline;
}
div.woocommerce-info .ps-empty-cart-link:hover {
    color: var(--accent-2);
}
.woocommerce form.woocommerce-cart-form table td.product-thumbnail img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    min-width: 55px;
}

.checkout-backorder-note {
    order: 2;
    margin-top: 8px;
    font-size: 0.875rem;
    color: #D63638;
    font-weight: 500;
    line-height: 18px;
}
#cfw-shipping-packages-container .shipping-note {
    margin-top: 5px;
}
.gb-overlay .ps-yumpu-popup-wrapper {
    display:block !important;
}

@media (max-width: 1200px) {
    .ps-magazine-yumpu-container {
        min-width: 950px;
    }
}

@media (max-width: 1024px) {
    .ps-magazine-yumpu-container {
        min-width: 750px;
    }
    .woocommerce .cart-collaterals .wc-proceed-to-checkout a.checkout-button{
        padding: 16px ;
        font-size: 18px;
    }

    .woocommerce .cart-collaterals{
        padding:16px;
    }
    .woocommerce table.shop_table td{
        padding:10px;
    }
    .woocommerce table.shop_table td a.remove {
        line-height:19px;
    }
    .woocommerce table.shop_table tbody bdi,
    .woocommerce-page table.shop_table td.product-name a,
    .woocommerce table.shop_table span.subscription-details,
    .woocommerce table.shop_table dl.variation{
        font-size:14px;
    }
}

@media screen and (max-width:991px){
    .woocommerce-page .cart-collaterals,
    .woocommerce form.woocommerce-cart-form{
        width:100% !important;
    }
    .ps-how-to-be-pickup-location {
        margin: 1em 0;
    }
}

@media (max-width: 840px) {
    .woocommerce-page table.cart td.actions .button[name=update_cart] {
        width: 100%;
        margin-top: 10px;
    }

    .woocommerce table.cart td.actions .coupon {
        display: flex;
        gap: 10px;
        width: 100%;
    }

    .woocommerce table.cart td.actions .coupon::before,
    .woocommerce table.cart td.actions .coupon::after {
        content: none !important;
    }

    .woocommerce table.cart td.actions .coupon input#coupon_code {
        border-width: 1px;
        width: 100% !important;
    }

    .woocommerce table.cart td.actions .coupon button[name="apply_coupon"],
    .woocommerce .cart-collaterals{
        width: 100% !important;
    }
}

@media only screen and (max-width:768px) {
    .woocommerce form.woocommerce-cart-form table.shop_table.cart td.product-remove {
        display: flex;
        align-items: center;
        justify-content: end;
    }
    .woocommerce table.cart .product-quantity {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .woocommerce table.shop_table tbody bdi,
    .woocommerce-page table.shop_table td.product-name a,
    .woocommerce table.shop_table span.subscription-details,
    .woocommerce table.shop_table dl.variation{
        font-size:18px;
    }
}

@media (max-width: 767px) {
    .ps-magazine-yumpu-container {
        min-width: 500px;
    }
}

@media (max-width: 540px) {
    .ps-magazine-yumpu-container {
        min-width: 350px;
    }
}

@media (max-width: 480px) {
    .woocommerce table.cart td.actions .coupon {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media only screen and (max-width:436px) {
    .woocommerce .cart-empty.woocommerce-info a.ps-empty-cart-link:after {
        top: 34px;
    }
}