@media (max-width: 991px) {
    body {
        padding-bottom: 84px !important;
        overflow-x: hidden;
    }

    img,
    video,
    iframe {
        max-width: 100%;
    }

    .tf-toolbar-bottom {
        z-index: 1030;
        background: #fff;
        box-shadow: 0 -1px 0 rgba(0, 0, 0, .08);
    }

    .tf-product-media-wrap .row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .tf-product-media-wrap .col-auto {
        width: auto;
        flex: 0 0 auto;
        padding: 0;
    }

    .thumb-img {
        width: 72px !important;
        height: 96px !important;
        object-fit: cover;
        border-radius: 8px;
    }

    .modal-order-detail .modal-dialog {
        max-width: calc(100vw - 24px);
        margin: 12px auto;
    }

    .modal-order-detail .list-infor {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .tb-order-detail .top {
        display: none;
    }

    .tb-order-detail .order-detail-item {
        display: flex !important;
        flex-wrap: wrap;
        gap: 6px 14px;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

    .tb-order-detail .order-detail-item .item {
        display: block !important;
        width: auto !important;
    }

    .tb-order-detail .order-detail-item .item:first-child {
        flex: 1 0 100%;
    }

    .tb-order-detail .item[data-title]::before {
        content: attr(data-title) ": ";
        color: #777;
        font-size: 12px;
    }

    .my-account-nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        margin-bottom: 16px;
        padding-bottom: 4px;
    }

    .my-account-nav li {
        flex: 0 0 auto;
    }

    .my-account-nav a,
    .my-account-nav button {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
    }

    .my-account-nav button.dropdown-item {
        background: transparent;
        border: 0;
        padding: 0;
        color: inherit;
        font: inherit;
    }

    .box-check-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .box-check-list > li,
    .box-check {
        width: 100%;
    }

    .wd-form-address .cols {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .wd-form-address input,
    .wd-form-address select,
    .wd-form-address textarea {
        width: 100%;
        min-height: 46px;
        font-size: 16px;
    }

    .wrap-account-order {
        overflow: visible;
    }

    .wrap-account-order table,
    .wrap-account-order tbody {
        display: block;
        width: 100%;
    }

    .wrap-account-order thead {
        display: none;
    }

    .wrap-account-order tr.tf-order-item {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 12px;
        border: 1px solid #ece7e1;
        border-radius: 14px;
        padding: 14px;
        margin: 0 0 12px;
        background: #fff;
    }

    .wrap-account-order td {
        display: block;
        border: 0;
        padding: 0;
        width: auto;
    }

    .wrap-account-order td::before {
        display: block;
        margin-bottom: 2px;
        color: #888;
        font-size: 11px;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    .wrap-account-order td:nth-child(1)::before { content: "Order"; }
    .wrap-account-order td:nth-child(2)::before { content: "Date"; }
    .wrap-account-order td:nth-child(3)::before { content: "Status"; }
    .wrap-account-order td:nth-child(4)::before { content: "Total"; }
    .wrap-account-order td:nth-child(5) { grid-column: 1 / -1; }
    .wrap-account-order td:nth-child(5)::before { content: none; }

    .wrap-account-order .view-detail {
        display: inline-flex;
        min-height: 40px;
        align-items: center;
        justify-content: center;
        border: 1px solid #111;
        border-radius: 999px;
        padding: 0 16px;
    }
}
