.myshop-view-history {
    padding: 20px 12px 28px;
}

.myshop-view-history[hidden] {
    display: none !important;
}

.myshop-view-history-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 4px 14px;
}

.myshop-view-history-heading h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
}

.myshop-view-history-clear {
    border: 0;
    padding: 8px 0;
    background: transparent;
    color: #e56f13;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.myshop-view-history-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.myshop-view-history-item {
    position: relative;
    min-width: 0;
}

.myshop-view-history-remove {
    position: absolute;
    z-index: 6;
    top: 8px;
    left: 8px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .18);
    color: #333;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

@media (min-width: 700px) {
    .myshop-view-history-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
