.catalog-product-view {
    .old-price .price {
        display: inline-block;
    }
}

.minicart-wrapper .block-minicart {
    width: 380px;

    @media only screen and (max-width: 479px) {
        width: 290px;

        .subtotal {
            .amount.price-container {
                text-align: right;
            }

            .side-price {
                display: block;

                .side-price-separator {
                    display: none;
                }
            }
        }
    }
}

.checkout-cart-index {
    @media only screen and (min-width: 992px) and (max-width: 1200px) {
        #shopping-cart-table, .cart-summary {
            .side-price {
                display: block;

                .side-price-separator {
                    display: none;
                }
            }
        }
    }
    .cart-summary {
        .grand.totals {
            th.mark {
                width: 29%;
                padding: 18px 10px;
            }
            td.amount {
                padding: 10px 0px;
            }
        }

        @media only screen and (max-width: 430px) {
            .side-price {
                display: block;

                .side-price-separator {
                    display: none;
                }
            }
        }
    }
}

.opc-block-summary {
    .product-item {
        border-bottom: 1px solid #e7e7e7;

        .product {
            padding-top: 8px;
        }
        .product-item-name-block, .subtotal {
            display: block;
        }
    }

    @media only screen and (max-width: 1200px) {
        .grand.totals {
            th.mark {
                width: 29%;
            }
            td.amount {
                padding-bottom: inherit;
                vertical-align: middle;
            }
        }
    }
    @media only screen and (min-width: 769px) and (max-width: 915px) {
        .table-totals {
            .side-price {
                display: block;

                .side-price-separator {
                    display: none;
                }
            }
        }
    }
    @media only screen and (max-width: 313px) {
        .table-totals {
            .side-price {
                display: block;

                .side-price-separator {
                    display: none;
                }
            }
        }
    }
}

.minicart-items {
    strong.product-item-name {
        white-space: normal;

        a {
            white-space: normal;
        }
    }
}

.ampromo-item-wrapper .product-info-price .price {
    font-size: 20px;
}

.catalog-category-view,
.catalog-product-view,
.catalogsearch-result-index {
    @media (max-width: 991px) {
        .mobile-sidebar:has(.side-price) {
            width: 295px;
        }
    }
}

.products-grid .product-item .price {
    @media (max-width: 330px) {
        display: block;
        text-align: center;

        .side-price-separator {
            display: none;
        }
    }
}

#checkout-shipping-method-load .row .col-price {
    white-space: nowrap;

    @media (max-width: 650px) {
        .side-price {
            display: block;

            .side-price-separator {
                display: none;
            }
        }
    }
}

.table-order-items {
    @media only screen and (min-width: 640px) and (max-width: 1440px) {
        .side-price {
            display: block;

            .side-price-separator {
                display: none;
            }
        }
    }
    @media print {
        .side-price {
            display: block;

            .side-price-separator {
                display: none;
            }
        }
    }
}

.sales-order-view {
    .col.name .product-item-name {
        white-space: normal;
    }

    @media only screen and (max-width: 639px) {
        .table-wrapper .table:not(.totals):not(.table-comparison) tfoot {
            .mark, .amount {
                width: 50%;
            }
        }
    }
    @media only screen and (max-width: 380px) {
        .table-wrapper .table:not(.totals):not(.table-comparison) tfoot {
            .side-price {
                display: block;

                .side-price-separator {
                    display: none;
                }
            }
        }
    }
}

.slick-slide .product-item {
    @media only screen and (max-width: 400px) {
        .special-price {
            display: block;
        }
        .price {
            display: block;
            text-align: center;

            .side-price-separator {
                display: none;
            }
        }
    }
}
