/* Native price semantics do not need link underlines. */
body.woocommerce .price ins,
body .woocommerce .price ins {
    text-decoration: none !important;
}

/* A clearly visible next step, with no extra fixed panels. */
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 420px;
    min-height: 50px;
    margin-inline-start: auto;
    padding: 13px 20px;
    font-size: 18px;
    line-height: 1.35;
    text-align: center;
}

@media (max-width: 767px) {
    /* The legacy small-screen table hid TH without a replacement label. */
    body.woocommerce-cart .cart_totals table.shop_table,
    body.woocommerce-cart .cart_totals table.shop_table > tbody {
        display: block;
        width: 100%;
    }
    body.woocommerce-cart .cart_totals table.shop_table tr:not(.shipping):not(.woocommerce-shipping-totals) {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: baseline;
        gap: 8px 14px;
        padding: 12px;
        border-bottom: 1px solid #e5e8e2;
    }
    body.woocommerce-cart .cart_totals table.shop_table tr > th {
        display: block !important;
        float: none !important;
        width: auto !important;
        padding: 0 !important;
        border: 0 !important;
        text-align: start !important;
        font-size: 14px;
        line-height: 1.5;
    }
    body.woocommerce-cart .cart_totals table.shop_table tr > td {
        display: block !important;
        float: none !important;
        min-width: 0;
        width: auto !important;
        padding: 0 !important;
        border: 0 !important;
        text-align: end !important;
        overflow-wrap: anywhere;
    }
    body.woocommerce-cart .cart_totals table.shop_table tr > td::before {
        display: none !important;
        content: none !important;
    }
    body.woocommerce-cart .cart_totals table.shop_table tr.oak-shipping-price-list {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    body.woocommerce-cart .cart_totals table.shop_table tr.oak-shipping-price-list > td {
        text-align: start !important;
    }
    body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
        max-width: none;
    }

    /* Keep 3:4 photography and swipe/dots; remove the redundant thumbnail row. */
    body.single-product .ql_thumbnail_column {
        display: none !important;
    }
    body.single-product .ql_main_image_column_wrap {
        float: none;
        width: 100%;
        padding-inline: 10px;
    }
    body.single-product .ql_main_image_column_wrap > .images,
    body.single-product .ql_main_images {
        width: 100%;
        margin-inline: 0;
    }
    body.single-product .ql_main_images .owl-item img {
        display: block;
        max-height: 50vh;
        max-height: 50svh;
        width: 100%;
        height: auto;
        object-fit: contain;
        margin-inline: auto;
    }
}
